/* =================================
   CSS VARIABLES & RESET
   ================================= */
:root {
    /* Premium Color Palette - Sophisticated & Modern */
    --primary-color: #0F766E;        /* Deep Teal - Professional & Trustworthy */
    --primary-light: #14B8A6;        /* Bright Teal - Energetic accent */
    --primary-dark: #134E4A;         /* Dark Teal - Deep sophistication */
    
    --secondary-color: #7C3AED;      /* Rich Purple - Premium & Creative */
    --secondary-light: #A78BFA;      /* Soft Purple - Gentle accent */
    --secondary-dark: #5B21B6;       /* Deep Purple - Luxury */
    
    --accent-color: #F59E0B;         /* Amber Gold - Attention & Success */
    --accent-light: #FCD34D;         /* Light Gold - Highlights */
    --accent-dark: #D97706;          /* Deep Amber - Rich accent */
    
    --dark-color: #1E293B;           /* Slate Gray - Modern dark */
    --darker-color: #0F172A;         /* Deep Slate - Premium depth */
    --light-color: #F8FAFC;          /* Cool White - Clean background */
    --white-color: #FFFFFF;          /* Pure White */
    
    --gray-color: #64748B;           /* Slate - Premium gray */
    --gray-light: #CBD5E1;           /* Light Slate */
    --gray-dark: #475569;            /* Dark Slate */
    
    /* Premium Gradients */
    --gradient-primary: linear-gradient(135deg, #0F766E 0%, #14B8A6 100%);
    --gradient-secondary: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%);
    --gradient-accent: linear-gradient(135deg, #F59E0B 0%, #FCD34D 100%);
    --gradient-premium: linear-gradient(135deg, #0F766E 0%, #7C3AED 50%, #F59E0B 100%);
    --gradient-dark: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(15, 118, 110, 0.08);
    --shadow-md: 0 4px 16px rgba(15, 118, 110, 0.12);
    --shadow-lg: 0 8px 32px rgba(15, 118, 110, 0.16);
    --shadow-xl: 0 16px 48px rgba(15, 118, 110, 0.2);
    
    /* Premium shadow with color tints */
    --shadow-teal: 0 8px 32px rgba(15, 118, 110, 0.15);
    --shadow-purple: 0 8px 32px rgba(124, 58, 237, 0.15);
    --shadow-gold: 0 8px 32px rgba(245, 158, 11, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: var(--dark-color);
    background-color: var(--white-color);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* Section Styles */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-title.reveal.active::after {
    animation: expandWidth 1s ease-out forwards;
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 80px;
    }
}

.gradient-text {
    background: var(--gradient-premium);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    font-weight: 800;
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-xl);
    filter: brightness(1.1);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.4s ease;
    z-index: -1;
}

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

.btn-secondary:hover::before {
    left: 0;
}

/* =================================
   NAVIGATION BAR
   ================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(45, 80, 22, 0.08);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(45, 80, 22, 0.06);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo a {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    transition: transform 0.3s ease;
}

.logo a:hover {
    transform: translateY(-2px);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.3px;
}

.logo-subtitle {
    font-size: 0.65rem;
    color: var(--gray-color);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
    opacity: 0.75;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.4rem 0;
    letter-spacing: 0.2px;
}

.nav-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.nav-link::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -12px;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-link.active::after {
    opacity: 1;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.hamburger:hover {
    transform: scale(1.1);
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger:hover span {
    background: var(--primary-color);
}

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

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

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

/* =================================
   HERO SECTION
   ================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    background: linear-gradient(135deg, #F0FDFA 0%, #E0F2FE 50%, #FAF5FF 100%);
    overflow: hidden;
    transition: transform 0.1s ease-out;
    will-change: transform;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="%230F766E" opacity="0.15"/></svg>');
    opacity: 0.4;
    animation: backgroundMove 20s linear infinite;
}

@keyframes backgroundMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 1;
    opacity: 1;
    transform: translateY(0);
}

.hero-text {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--white-color);
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    font-size: 0.875rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
}

.title-line {
    display: block;
}

.title-line:first-child {
    animation: fadeInLeft 0.8s ease-out;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--gray-color);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item {
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.1);
}

.stat-item:hover .stat-number {
    color: var(--primary-color);
}

.stat-item h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-item p {
    color: var(--gray-color);
    font-size: 0.875rem;
}

.hero-image {
    position: relative;
    margin-left: 3rem;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    animation: slideInRight 1s ease-out, floatSlow 6s ease-in-out 1s infinite;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    z-index: -1;
    opacity: 0.5;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-color);
    font-size: 0.875rem;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--gray-color);
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 8px solid var(--gray-color);
}

/* =================================
   ABOUT SECTION
   ================================= */
.about-section {
    background: var(--white-color);
}

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

.about-text h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.expertise-item {
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: 15px;
    transition: var(--transition);
}

.expertise-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-md);
    background: var(--white-color);
}

.expertise-item:hover i {
    transform: scale(1.1) rotate(5deg);
    transition: all 0.3s ease;
}

.expertise-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.expertise-item h4 {
    font-size: 1.25rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.expertise-item p {
    font-size: 0.875rem;
    color: var(--gray-color);
    margin: 0;
}

.education-timeline {
    margin-top: 3rem;
}

.education-timeline h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-light);
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.timeline-content h4 {
    font-size: 1.25rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.institution {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.timeline-date {
    color: var(--gray-color);
    font-size: 0.875rem;
}

.about-image-section {
    position: relative;
}

.about-image-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.about-image-wrapper:hover img {
    transform: scale(1.05);
}

.skills-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 2rem;
    border-radius: 20px;
    color: var(--white-color);
    box-shadow: var(--shadow-lg);
}

.skills-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* =================================
   RESEARCH SECTION
   ================================= */
.research-section {
    background: var(--light-color);
}

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

.publication-card {
    background: var(--white-color);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.publication-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    animation: expandHeight 2s ease-out forwards;
}

@keyframes expandHeight {
    from {
        height: 0;
    }
    to {
        height: 100%;
    }
}

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

.publication-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary-color);
    color: var(--white-color);
}

.publication-card.featured {
    border: 2px solid var(--primary-color);
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    animation: floatSlow 4s ease-in-out infinite;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--light-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.publication-card h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.card-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.card-description {
    color: var(--gray-color);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.card-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: var(--gray-color);
}

.card-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-meta i {
    color: var(--primary-color);
}

/* =================================
   ACHIEVEMENTS SECTION
   ================================= */
.achievements-section {
    background: var(--white-color);
}

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

.achievement-card {
    background: var(--white-color);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    position: relative;
    border: 2px solid var(--light-color);
}

.achievement-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.achievement-card:hover .achievement-icon {
    transform: scale(1.1) rotate(360deg);
    transition: all 0.5s ease;
}

.achievement-card.highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
}

.achievement-card.highlight .achievement-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white-color);
}

.achievement-card.highlight h3,
.achievement-card.highlight p {
    color: var(--white-color);
}

.achievement-icon {
    width: 80px;
    height: 80px;
    background: var(--light-color);
    border-radius: 50%;
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0 auto 1.5rem;
}

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

.achievement-card p {
    color: var(--gray-color);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.achievement-year {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--light-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
}

.achievement-card.highlight .achievement-year {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white-color);
}

.leadership-section {
    margin-top: 4rem;
}

.leadership-section h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

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

.leadership-card {
    background: var(--white-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.leadership-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(10px) scale(1.02);
    border-left-width: 6px;
}

.leadership-card:hover .leadership-header i {
    transform: scale(1.2) rotate(10deg);
    transition: all 0.3s ease;
}

.leadership-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.leadership-header i {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.leadership-header h4 {
    font-size: 1.125rem;
    color: var(--dark-color);
}

.leadership-card p {
    color: var(--gray-color);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.duration {
    display: inline-block;
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* =================================
   GALLERY SLIDESHOW SECTION
   ================================= */
.gallery-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.slideshow-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white-color);
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.slideshow-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    transform: scale(0.95);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

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

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.7), transparent);
    padding: 3rem 2rem 2rem;
    color: var(--white-color);
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out 0.3s;
}

.slide.active .slide-caption {
    transform: translateY(0);
}

.slide-caption h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--white-color);
}

.slide-caption p {
    font-size: 1rem;
    color: var(--light-color);
    line-height: 1.6;
}

/* Navigation Arrows */
.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(46, 204, 113, 0.9);
    border: none;
    color: var(--white-color);
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-nav:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.slide-nav.prev {
    left: 20px;
}

.slide-nav.next {
    right: 20px;
}

/* Slide Indicators */
.slide-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.indicator.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

/* Autoplay Toggle */
.autoplay-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: var(--white-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.autoplay-toggle:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

/* Thumbnail Preview */
.thumbnail-preview {
    display: flex;
    gap: 10px;
    margin-top: 2rem;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--light-color);
}

.thumbnail-preview::-webkit-scrollbar {
    height: 8px;
}

.thumbnail-preview::-webkit-scrollbar-track {
    background: var(--light-color);
    border-radius: 10px;
}

.thumbnail-preview::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.thumbnail {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    border: 3px solid transparent;
    transition: var(--transition);
}

.thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.thumbnail:hover {
    transform: scale(1.05);
}

.thumbnail:hover::after {
    background: rgba(0, 0, 0, 0.1);
}

.thumbnail.active {
    border-color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.thumbnail.active::after {
    background: transparent;
}

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

/* Slide Animation Variants */
@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100%) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100%) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* =================================
   CONTACT SECTION
   ================================= */
.contact-section {
    background: var(--light-color);
}

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

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

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

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: start;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-item p {
    color: var(--gray-color);
}

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

.social-link {
    width: 50px;
    height: 50px;
    background: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.25rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.social-link:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper {
    background: var(--white-color);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

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

.form-group label {
    display: block;
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--light-color);
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

/* =================================
   FOOTER
   ================================= */
.footer {
    background: var(--darker-color);
    color: var(--white-color);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 1.5rem;
}

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--gray-light);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--gray-light);
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-light);
    font-size: 0.875rem;
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

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

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

/* New animations for alive feeling */
@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 scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(52, 168, 83, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(52, 168, 83, 0.6), 0 0 30px rgba(52, 168, 83, 0.3);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Scroll reveal animation classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s ease-out; /* Reduced from 0.6s to 0.4s */
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =================================
   RESPONSIVE DESIGN
   ================================= */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 3rem;
    }

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

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

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    section {
        padding: 4rem 0;
    }

    .hamburger {
        display: flex;
    }
    
    .nav-container {
        padding: 0.7rem 1.5rem;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo-subtitle {
        font-size: 0.6rem;
        letter-spacing: 1.2px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 75px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 40px rgba(45, 80, 22, 0.15);
        padding: 2.5rem 0;
        gap: 1.2rem;
        border-top: 2px solid rgba(45, 80, 22, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 0.8rem 2rem;
        width: 100%;
    }
    
    .nav-link::before {
        bottom: 0.3rem;
        height: 2px;
    }
    
    .nav-link::after {
        display: none;
    }

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

    .hero-image {
        order: -1;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        gap: 2rem;
    }

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

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

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

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

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

    .slideshow-wrapper {
        height: 400px;
    }

    .slide-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .slide-nav.prev {
        left: 10px;
    }

    .slide-nav.next {
        right: 10px;
    }

    .slide-caption {
        padding: 2rem 1.5rem 1.5rem;
    }

    .slide-caption h3 {
        font-size: 1.25rem;
    }

    .slide-caption p {
        font-size: 0.875rem;
    }

    .thumbnail {
        width: 100px;
        height: 70px;
    }

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

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }
}
