/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4F46E5;
    --secondary-color: #10B981;
    --accent-color: #F59E0B;
    --dark-color: #1F2937;
    --light-color: #F9FAFB;
    --text-color: #374151;
    --text-light: #6B7280;
    --white: #FFFFFF;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
    padding-top: 80px; /* Account for fixed navbar */
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px; /* Explicit height */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-logo {
    z-index: 1001;
}

.logo-design {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.logo-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.2);
}

.logo-image:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    z-index: 1001;
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

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

.nav-link:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1002;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    min-height: 35vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    position: relative;
    padding: 30px 0 20px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,197.3C1248,203,1344,149,1392,122.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 1rem;
    }

    .hero-image {
        order: -1; /* Profile photo comes first on mobile */
        margin-top: -20px;
        margin-bottom: 2rem;
        position: relative;
        z-index: 10;
    }

    .hero-text {
        order: 1; /* Text comes second on mobile */
        margin-bottom: 1rem;
    }
}

.hero-text {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.greeting {
    display: block;
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    opacity: 1;
}

.name {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    opacity: 1;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    opacity: 1;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
    margin-bottom: 2rem;
    opacity: 1;
}

.hero-buttons .btn {
    flex: 0 0 auto;
}

@media (max-width: 768px) {
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.8rem;
    }
    
    .hero-buttons .btn {
        flex: 1 1 auto;
        min-width: 140px;
        max-width: 180px;
    }
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.hero-social {
    display: flex;
    gap: 1rem;
    opacity: 1;
    margin-bottom: 3rem;
    position: relative;
    z-index: 10;
    justify-content: center;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease-out;
    margin-top: -60px;
}

.profile-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: perspective(1000px) rotateY(0deg);
    transition: transform 0.6s;
}

.profile-card:hover {
    transform: perspective(1000px) rotateY(10deg);
}

.profile-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.3);
    position: relative;
}

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

.profile-info h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.profile-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 3px solid rgba(255, 255, 255, 0.8);
    border-bottom: 3px solid rgba(255, 255, 255, 0.8);
    transform: rotate(45deg);
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-2);
    border-radius: 2px;
}

/* About Section */
.about {
    padding: 60px 0;
    background: var(--light-color);
}

.about-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text {
    max-width: 700px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    text-align: left;
}

.about-highlights {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.highlights-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 400px;
}

.highlight-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(79, 70, 229, 0.08);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    transition: all 0.3s ease;
    border: 1px solid rgba(79, 70, 229, 0.1);
}

.highlight-card:hover {
    transform: scale(1.05);
    background: rgba(79, 70, 229, 0.15);
    border-color: rgba(79, 70, 229, 0.2);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.1);
}

.highlight-card i {
    font-size: 16px;
    flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 968px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-text {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .about-text p {
        text-align: center;
    }
    
    .highlights-grid {
        justify-content: center;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .about-container {
        gap: 1.5rem;
    }
    
    .highlights-grid {
        gap: 8px;
    }
    
    .highlight-card {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .highlight-card i {
        font-size: 14px;
    }
}

.about-highlights .highlight-item:hover {
    background: rgba(79, 70, 229, 0.2);
    transform: translateY(-2px);
}

.about-highlights .highlight-item i {
    font-size: 1.2rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
}

/* Skills Section */
.skills {
    padding: 40px 0;
    background: var(--white);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.skill-category h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.skill-list ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.skill-list li {
    color: var(--text-color);
    padding: 0.3rem 0;
    position: relative;
    padding-left: 0;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(79, 70, 229, 0.3);
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.skill-list li::before {
    display: none; /* Hide bullet points */
}

/* Projects Section */
.projects {
    padding: 40px 0;
    background: var(--light-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    opacity: 1;
    transform: none;
}

.project-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.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.1);
}

.project-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
    flex: 1;
}

.company-logo {
    text-align: center;
    margin-bottom: 1rem;
}

.company-logo-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 4px;
    vertical-align: middle;
    margin-right: 8px;
    transition: all 0.3s ease;
}

.company-logo-img:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.project-content h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: left;
}

.project-content h4 {
    color: var(--dark-color);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-align: left;
}

.project-content .experience-date {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 1rem;
    text-align: left;
}

.project-content p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    text-align: left;
}

.project-content ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.project-content li {
    color: var(--text-light);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    text-align: left;
}

.project-content li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 0.8rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
    text-align: left;
}

.project-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.project-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

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

.project-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.project-link:hover {
    color: var(--secondary-color);
    transform: translateX(3px);
}

/* Experience Section */
.experience {
    padding: 40px 0;
    background: var(--light-color);
}

.experience-grid {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: nowrap;
}

.experience-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(79, 70, 229, 0.1);
    width: 380px;
    min-height: 450px;
    height: auto;
    flex: none;
    display: flex;
    flex-direction: column;
}

.experience-card:first-child {
    margin-right: 0;
}

.experience-card:last-child {
    margin-left: 0;
    order: 2;
}

.experience-date {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 1rem;
    text-align: left;
    white-space: nowrap;
    width: fit-content;
}

/* Ensure second card (X-Trans) appears to the right */
.experience-card:last-child {
    order: 2;
}

@media (min-width: 768px) {
    .experience-grid {
        align-items: center;
    }
    
    .experience-card:last-child {
        order: 1;
    }
}

.experience-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.4rem;
    box-shadow: 0 8px 16px rgba(79, 70, 229, 0.2);
    transition: all 0.3s ease;
}

.experience-card:hover .experience-icon {
    transform: rotate(360deg) scale(1.1);
    background: var(--gradient-1);
    box-shadow: 0 12px 24px rgba(79, 70, 229, 0.3);
}

.experience-date {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(79, 70, 229, 0.3);
    transition: all 0.3s ease;
}

.experience-card:hover .experience-date {
    background: var(--secondary-color);
    transform: scale(1.05);
}

.experience-content h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.experience-content h4 {
    color: var(--dark-color);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.experience-content h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--gradient-2);
    border-radius: 1px;
    transition: width 0.3s ease;
}

.experience-card:hover .experience-content h4::after {
    width: 100px;
}

.experience-content p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.experience-card:hover .experience-content p {
    color: var(--dark-color);
}

.experience-content ul {
    list-style: none;
    padding: 0;
}

.experience-content li {
    color: var(--text-light);
    padding: 0.6rem 0;
    padding-left: 1.8rem;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin-bottom: 0.3rem;
}

.experience-content li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.experience-card:hover .experience-content li {
    background: rgba(79, 70, 229, 0.05);
    padding-left: 2rem;
    transform: translateX(5px);
}

.experience-card:hover .experience-content li::before {
    color: var(--secondary-color);
    transform: scale(1.2);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-2);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateX(-30px);
}

.timeline-item:nth-child(even) {
    transform: translateX(30px);
}

.timeline-item.animate {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item:nth-child(even).animate {
    transform: translateX(0);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translateX(-50%);
    border: 4px solid var(--white);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.timeline-content {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    width: calc(50% - 30px);
    margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: auto;
}

.timeline-date {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.timeline-content h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.timeline-content p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.timeline-content ul {
    list-style: none;
    padding-left: 0;
}

.timeline-content li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.timeline-content li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 0.8rem;
}

/* Section Spacing */
section {
    padding: 40px 0;
    scroll-margin-top: 80px; /* Prevent sections from hiding behind navbar */
}

/* Education Section */
.education {
    background: var(--light-color);
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.education-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    display: flex;
    gap: 1.5rem;
    transition: var(--transition);
    opacity: 1;
    transform: none;
}

.education-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.education-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.education-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.education-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.institution {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.duration {
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 1rem;
}

.education-details p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

/* Achievements Section */
.achievements {
    padding: 40px 0;
    background: var(--white);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.achievement-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    opacity: 1;
    transform: none;
}

.achievement-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.achievement-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
}

.achievement-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.achievement-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 40px 0;
    background: var(--light-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.contact-info > p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--dark-color);
}

.contact-item a,
.contact-item p {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary-color);
}

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

.contact-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.contact-buttons .btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
    cursor: pointer;
    border: none;
    min-width: 180px;
    justify-content: center;
}

.btn-secondary {
    background: var(--gradient-2);
    color: var(--white);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

.btn-resume {
    background: linear-gradient(135deg, #10b981, #059669);
    color: var(--white);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
    border: none;
}

.btn-resume:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
    background: linear-gradient(135deg, #059669, #047857);
}

@media (max-width: 768px) {
    .hero-buttons {
        justify-content: center;
    }
    
    .btn-resume {
        width: 100%;
        justify-content: center;
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    .contact-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(79, 70, 229, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Certificates Section */
.certificates {
    padding: 40px 0;
    background: var(--light-color);
}

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

@media (max-width: 768px) {
    .certificates-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.certificate-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    opacity: 1;
    transform: none;
    position: relative;
    overflow: hidden;
    padding-bottom: 1rem;
}

.certificate-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.certificate-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.certificate-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
}

.certificate-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.certificate-card .issuer {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.certificate-card .date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.certificate-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.certificate-link:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.3);
    border-color: var(--secondary-color);
}

.certificate-link:hover i {
    transform: translateX(2px);
}

.certificate-link i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.certificate-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.certificate-card:hover .certificate-link {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(79, 70, 229, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(79, 70, 229, 0);
    }
}

/* Languages Section */
.languages {
    padding: 40px 0;
    background: var(--white);
}

.languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.language-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    opacity: 1;
    transform: none;
}

.language-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.language-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.language-flag {
    width: 60px;
    height: 60px;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
}

.language-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.language-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.language-level {
    margin-top: 1rem;
}

.level-bar {
    width: 100%;
    height: 8px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.level-progress {
    height: 100%;
    background: var(--gradient-2);
    border-radius: 4px;
    transition: width 2s ease-out;
}

/* Enhanced Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(79, 70, 229, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(79, 70, 229, 0.6);
    }
}

/* Section Title Animations */
.section-title {
    animation: fadeInUp 0.8s ease-out;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gradient-2);
    border-radius: 2px;
    animation: scaleIn 1s ease-out 0.3s both;
}

/* Hero Content Animations */
.hero-text {
    animation: slideInLeft 1s ease-out;
}

.hero-image {
    animation: slideInRight 1s ease-out;
}

/* Card Animations */
.project-card {
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }

.education-card {
    animation: slideInLeft 0.8s ease-out;
    animation-fill-mode: both;
}

.achievement-card {
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.achievement-card:nth-child(1) { animation-delay: 0.1s; }
.achievement-card:nth-child(2) { animation-delay: 0.2s; }
.achievement-card:nth-child(3) { animation-delay: 0.3s; }

.certificate-card {
    animation: scaleIn 0.8s ease-out;
    animation-fill-mode: both;
}

.certificate-card:nth-child(1) { animation-delay: 0.1s; }
.certificate-card:nth-child(2) { animation-delay: 0.2s; }
.certificate-card:nth-child(3) { animation-delay: 0.3s; }
.certificate-card:nth-child(4) { animation-delay: 0.4s; }

.language-card {
    animation: slideInRight 0.8s ease-out;
    animation-fill-mode: both;
}

.language-card:nth-child(1) { animation-delay: 0.1s; }
.language-card:nth-child(2) { animation-delay: 0.2s; }
.language-card:nth-child(3) { animation-delay: 0.3s; }

.interest-card {
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.interest-card:nth-child(1) { animation-delay: 0.1s; }
.interest-card:nth-child(2) { animation-delay: 0.2s; }
.interest-card:nth-child(3) { animation-delay: 0.3s; }

/* Skill Category Animations */
.skill-category {
    animation: scaleIn 0.8s ease-out;
    animation-fill-mode: both;
}

.skill-category:nth-child(1) { animation-delay: 0.1s; }
.skill-category:nth-child(2) { animation-delay: 0.2s; }
.skill-category:nth-child(3) { animation-delay: 0.3s; }

/* Highlight Card Animations */
.highlight-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.highlight-card:nth-child(1) { animation-delay: 0.1s; }
.highlight-card:nth-child(2) { animation-delay: 0.2s; }
.highlight-card:nth-child(3) { animation-delay: 0.3s; }
.highlight-card:nth-child(4) { animation-delay: 0.4s; }
.highlight-card:nth-child(5) { animation-delay: 0.5s; }
.highlight-card:nth-child(6) { animation-delay: 0.6s; }

/* Button Hover Animations */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Social Link Animations */
.social-link {
    transition: all 0.3s ease;
}

.social-link:hover {
    animation: glow 1.5s ease-in-out infinite;
}

/* Navigation Link Animations */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

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

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

/* Logo Animation */
.logo-text {
    transition: all 0.3s ease;
}

.logo-design:hover .logo-text {
    transform: scale(1.1);
    color: var(--secondary-color);
}

/* Footer Animation */
.footer {
    animation: fadeInUp 1s ease-out;
    animation-fill-mode: both;
    animation-delay: 0.8s;
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.loading-shimmer {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Interests Section */
.interests {
    padding: 40px 0;
    background: var(--light-color);
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.interest-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    opacity: 1;
    transform: none;
}

.interest-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.interest-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-xl);
}

.interest-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.interest-card:hover .interest-icon {
    transform: scale(1.1);
    background: var(--gradient-1);
}

.interest-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
}

/* Additional Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(79, 70, 229, 0.2);
}

.project-tech .tech-tag:hover {
    transform: translateY(-2px) scale(1.05);
    background: var(--primary-color);
    color: var(--white);
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.2);
    background: var(--secondary-color);
}

.education-card:hover .education-icon {
    transform: rotate(360deg) scale(1.1);
    background: var(--gradient-1);
}

.achievement-card:hover .achievement-icon {
    transform: rotate(360deg) scale(1.1);
    background: var(--gradient-1);
}

.contact-item:hover i {
    transform: scale(1.2);
    color: var(--secondary-color);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(79, 70, 229, 0.3);
}

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

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

/* Scroll animations */
.scroll-indicator {
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

.footer-content p {
    margin-bottom: 0.5rem;
}

.footer-content i {
    color: var(--accent-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 70px; /* Smaller navbar height on mobile */
    }
    
    .navbar {
        height: 70px; /* Reduced height on mobile */
    }
    
    section {
        scroll-margin-top: 70px; /* Adjust for mobile navbar height */
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 70px);
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        z-index: 999;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu .nav-item {
        margin: 1rem 0;
        width: 100%;
    }

    .nav-menu .nav-link {
        display: block;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        color: var(--dark-color);
        border-radius: 8px;
        transition: var(--transition);
        background: var(--light-color);
        margin: 0.5rem 0;
    }

    .nav-menu .nav-link:hover {
        background: var(--gradient-2);
        color: white;
        transform: translateX(5px);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 1rem;
    }

    .hero-text {
        margin-bottom: 1rem;
    }

    .hero-image {
        margin-top: -20px;
        margin-bottom: 2rem;
        position: relative;
        z-index: 10;
    }

    .hero-social {
        margin-bottom: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        opacity: 1;
        transform: none;
        animation: none;
    }

    .about-highlights {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        transform: none;
        opacity: 1;
        animation: none;
    }

    .experience-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .experience-card {
        padding: 1.5rem;
    }

    .experience-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

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

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 1rem 15px;
    }

    .name {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
        text-align: center;
    }

    .profile-card {
        padding: 1.5rem;
    }

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

    .about-highlights {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .about-stats {
        flex-direction: column;
        align-items: center;
    }

    .stat-item {
        width: 100%;
        max-width: 300px;
    }

    .skill-category {
        padding: 1.5rem;
    }

    .project-content {
        padding: 1.5rem;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .education-card {
        padding: 1.5rem;
    }

    .achievement-card {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}
