:root {
    --primary-color: #646cff;
    --secondary-color: #535bf2;
    --background-color: #ffffff;
    --text-color: #213547;
    --card-background: #f9f9f9;
    --header-gradient: linear-gradient(135deg, #646cff 0%, #535bf2 100%);
    --primary-color: #6a1b9a;
    --footer-bg: #6a1b9a;
    --footer-link: #ffffff;
    --footer-link-hover: #e1bee7;
    --footer-text: #ffffff;
    --card-background: #ffffff;
    --border-color: #ddd;
    --font-family: 'Roboto', sans-serif;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    color: var(--text-color);
    background-color: var(--background-color);
}
.skill-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: var(--primary-color);
    color: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.navbar {
    background: var(--header-gradient);
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-brand {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: white;
    margin: 6px 0;
    transition: 0.3s;
}

.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: var(--header-gradient);
    padding: 4rem 2rem;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: white;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button.primary {
    background-color: white;
    color: var(--primary-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button.secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.about-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    margin-top: 2rem;
}
.about-container {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 0 2rem;
}
.profile-section {
    text-align: center;
}

.profile-image {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.projects-header {
    text-align: center;
    margin-bottom: 3rem;
}

.projects-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.projects-header p {
    color: #666;
    font-size: 1.1rem;
}

.project-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}
.filter-btn {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 4px;
    background-color: var(--card-background);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.project-grid {
    display: flex;
    overflow: hidden;
    width: 100%;
    position: relative;
    transition: transform 0.5s ease;
  }
  

.project-group {
    display: flex;
    gap: 2rem;
    width: 100%;
    transition: transform 0.5s ease, opacity 0.3s ease;
    flex-shrink: 0;
}

.project-card {
    flex: 0 0 calc(33.3333% - 20px);
    background-color: var(--card-background);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    min-width: 250px; 
    max-width: 400px;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.project-content p {
    color: #666;
    margin-bottom: 1rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.tech-stack span {
    background-color: rgba(100, 108, 255, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.mobile-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: white;
    margin: 6px 0;
    transition: 0.3s;
}

.project-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.project-link:hover {
    color: var(--secondary-color);
}

.project-card.active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
}

.project-card.prev {
    transform: translateX(-100%);
    opacity: 0;
}

.project-card.next {
    transform: translateX(100%);
    opacity: 0;
}

.about-section {
    max-width: 1000px;
    margin: 0 auto;
}
.about-wrapper {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.about-header {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #6a1b9a 0%, #8e24aa 100%);
    color: white;
}

.about-header h1 {
    margin: 1.5rem 0;
    font-size: 2.5rem;
    font-weight: 700;
}
.skills-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0;
}
.about-body {
    padding: 3rem 2rem;
}
.about-section, .skills-section, .experience-section {
    margin-bottom: 3rem;
}

.about-section h2, .skills-section h2, .experience-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.about-section h2::after, .skills-section h2::after, .experience-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}
.experience-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

.experience-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.experience-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.experience-description {
    color: #555;
    line-height: 1.6;
}
.skills-list li {
    background-color: var(--card-background);
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.featured-section {
    padding: 6rem 0;
    background-color: var(--background-color);
}
.about-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.featured-card {
    background-color: var(--card-background);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.featured-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    background-color: var(--card-hover-background, #f0f0f0);
}

footer {
    background: var(--header-gradient);
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    position: relative;
    z-index: 1;
    font-family: var(--font-family);
    color: white;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: rgba(130, 111, 111, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    color: white;
}

.footer-social a:hover {
    background-color: white;
    transform: translateY(-3px);
}

.footer-social a svg {
    width: 24px;
    height: 24px;
    color: white;
    transition: color 0.3s;
}

.footer-social a:hover svg {
    color: var(--primary-color);
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    color: white;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
}

.footer-links a:hover {
    color: var(--footer-link-hover);
    text-decoration: underline;
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.6;
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 2rem;
}

.footer-section h3 {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 40%;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-section:hover h3::after {
    width: 100%;
}

.footer-nav {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    position: relative;
}

.footer-nav a:hover {
    color: var(--footer-link-hover);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.footer-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--footer-link-hover);
    transition: width 0.3s ease;
}

.footer-nav a:hover::after {
    width: 100%;
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.copyright a {
    color: white;
    text-decoration: none;
}

.copyright a:hover {
    text-decoration: underline;
}

.contact-section {
    max-width: 800px;
    margin: 4rem auto;
    padding: 3rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.contact-section:hover {
    transform: translateY(-5px);
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    fill: var(--primary-color);
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(106, 27, 154, 0.2));
}

.contact-section h1 {
    color: #2d3436;
    font-size: 2.75rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(45deg, var(--primary-color), #6c5ce7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-subtitle {
    color: #636e72;
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: #636e72;
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.25rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group input:valid,
.form-group textarea:valid {
    outline: none;
    box-shadow: 0 4px 12px rgba(106, 27, 154, 0.15);
}

.form-group input:focus~label,
.form-group input:valid~label,
.form-group textarea:focus~label,
.form-group textarea:valid~label {
    transform: translateY(-140%);
    font-size: 0.9rem;
    color: var(--primary-color);
}

.input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.form-group input:focus~.input-border,
.form-group textarea:focus~.input-border {
    width: 100%;
}

.message-group textarea {
    min-height: 180px;
}

.submit-button {
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(135deg, var(--primary-color), #6c5ce7);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 6px rgba(106, 27, 154, 0.2);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(106, 27, 154, 0.3);
    background: linear-gradient(135deg, #6c5ce7, var(--primary-color));
}

.send-icon {
    width: 20px;
    height: 20px;
    fill: white;
    transition: transform 0.3s ease;
}

.submit-button:hover .send-icon {
    transform: translateX(3px);
}

.contact-info {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid #eee;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(106, 27, 154, 0.05);
    transform: translateX(5px);
}

.contact-item svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-color);
    flex-shrink: 0;
}

.slider-nav {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-bottom: 2rem;
}

.nav-arrow {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.nav-arrow.prev {
    color: var(--primary-color);
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-arrow.next {
    color: white;
    background-color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-arrow:hover {
    transform: scale(1.1);
}

.nav-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.contact-item span {
    font-size: 1.1rem;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }
    .about-container {
        margin: 2rem auto;
    }

    .about-header {
        padding: 2rem 1rem;
    }

    .profile-image {
        width: 150px;
        height: 150px;
    }

    .about-body {
        padding: 2rem 1rem;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nav-links a {
        color: white;
        padding: 10px;
        text-decoration: none;
        display: block;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: #535bf2;
        padding: 10px;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .footer-wave {
        top: -60px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .footer-social {
        justify-content: center;
        margin-top: 1rem;
    }

    .footer-social a {
        width: 35px;
        height: 35px;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-links a:hover {
        transform: translateX(0) scale(1.05);
    }

    .contact-content {
        flex-direction: column;
    }

    .contact-section {
        margin: 2rem;
        padding: 1.5rem;
    }

    .slider-nav {
        justify-content: center;
    }
}