/* ===================================================================
   Dr. Noimur Rahman Research Group - Enhanced Professional Styles
   Modern Academic Design with Circular Profile
   =================================================================== */

/* --- Root Variables (Enhanced Theming) --- */
:root {
    /* Enhanced Light Theme Colors */
    --primary: #00684a;
    --primary-dark: #004d36;
    --primary-light: #00a376;
    --primary-gradient: linear-gradient(135deg, #00684a 0%, #00a376 100%);
    
    --accent: #d4af37;
    --accent-dark: #b8941f;
    --accent-light: #f0d775;
    --accent-gradient: linear-gradient(135deg, #d4af37 0%, #f0d775 100%);
    
    --secondary: #28a745;
    --secondary-dark: #218838;
    
    --text-main: #1a202c;
    --text-secondary: #2d3748;
    --text-light: #4a5568;
    --text-lighter: #718096;
    --text-muted: #a0aec0;
    
    --bg-body: #ffffff;
    --bg-alt: #f7fafc;
    --bg-light: #edf2f7;
    --bg-dark: #1a202c;
    --border: #e2e8f0;
    --border-light: #f0f4f8;
    --card-bg: #ffffff;
    
    /* Enhanced Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 6px 25px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-primary: 0 8px 30px rgba(0, 104, 74, 0.25);
    --shadow-accent: 0 8px 30px rgba(212, 175, 55, 0.25);
    
    /* Typography */
    --font-heading: 'Merriweather', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
}

[data-theme="dark"] {
    --primary: #00b894;
    --primary-dark: #00a383;
    --primary-light: #26d4a8;
    --primary-gradient: linear-gradient(135deg, #00b894 0%, #26d4a8 100%);
    
    --accent: #ffeaa7;
    --accent-dark: #fdcb6e;
    --accent-light: #fff5d6;
    --accent-gradient: linear-gradient(135deg, #ffeaa7 0%, #fff5d6 100%);
    
    --secondary: #55efc4;
    --secondary-dark: #00b894;
    
    --text-main: #f7fafc;
    --text-secondary: #e2e8f0;
    --text-light: #cbd5e0;
    --text-lighter: #a0aec0;
    --text-muted: #718096;
    
    --bg-body: #0f1419;
    --bg-alt: #1a202c;
    --bg-light: #2d3748;
    --bg-dark: #000000;
    --border: #2d3748;
    --border-light: #374151;
    --card-bg: #1a202c;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 6px 25px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.7);
    --shadow-primary: 0 8px 30px rgba(0, 184, 148, 0.4);
    --shadow-accent: 0 8px 30px rgba(255, 234, 167, 0.3);
}

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

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

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background: var(--bg-body);
    line-height: 1.7;
    transition: background 0.3s, color 0.3s;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

ul {
    list-style: none;
}

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

/* --- Utilities --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.bg-alt {
    background-color: var(--bg-alt);
}

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

/* Enhanced Section Headers */
.section-header {
    margin-bottom: 4rem;
}

.section-header.center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    position: relative;
}

.section-title.light {
    color: #fff;
}

.section-line {
    width: 80px;
    height: 5px;
    background: var(--accent-gradient);
    margin: 12px 0;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.section-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-top: 12px;
    font-weight: 400;
}

.section-subtitle.light {
    color: rgba(255, 255, 255, 0.85);
}

/* Enhanced Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 35px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    transform: translateX(-100%);
    transition: transform 0.6s;
    z-index: -1;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn i {
    margin-right: 10px;
    font-size: 1.1em;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 104, 74, 0.35);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: #fff;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 18px 45px;
    font-size: 1.1rem;
}

/* --- Enhanced Navigation --- */
.navbar {
    height: 85px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.navbar.scrolled {
    height: 75px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .navbar {
    background: rgba(26, 32, 44, 0.95);
}

.nav-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.brand-logo:hover {
    transform: scale(1.02);
}

.brand-logo i {
    color: var(--primary);
    font-size: 2rem;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-highlight {
    color: var(--primary);
    font-weight: 800;
}

.uni-tag {
    font-size: 0.7rem;
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links {
    display: flex;
    gap: 5px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    padding: 10px 16px;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
    border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(0, 104, 74, 0.05);
}

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

.btn-apply {
    padding: 12px 28px;
    background: var(--accent-gradient);
    color: #000 !important;
    border-radius: 8px;
    font-weight: 700;
    box-shadow: var(--shadow-accent);
    transition: var(--transition);
}

.btn-apply:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(212, 175, 55, 0.35);
}

/* Theme Toggle */
.theme-toggle-btn {
    background: rgba(0, 104, 74, 0.08);
    border: 2px solid rgba(0, 104, 74, 0.15);
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--primary);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-bounce);
}

.theme-toggle-btn:hover {
    background: rgba(0, 104, 74, 0.15);
    transform: rotate(180deg) scale(1.1);
    border-color: var(--primary);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--text-main);
    transition: var(--transition);
    border-radius: 3px;
}

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

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

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

/* --- Enhanced Hero Section --- */
.hero-section {
    min-height: 100vh;
    padding: 140px 0 100px;
    background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg-body) 50%, var(--bg-alt) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: 
        radial-gradient(circle at 20% 50%, var(--primary) 2px, transparent 2px),
        radial-gradient(circle at 80% 80%, var(--accent) 2px, transparent 2px),
        radial-gradient(circle at 40% 20%, var(--primary) 1px, transparent 1px);
    background-size: 100px 100px, 120px 120px, 80px 80px;
    animation: particleFloat 30s linear infinite;
}

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

.hero-container {
    display: flex;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 650px;
}

.badge {
    background: linear-gradient(135deg, rgba(0, 104, 74, 0.1), rgba(0, 104, 74, 0.05));
    color: var(--primary);
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 30px;
    border: 2px solid rgba(0, 104, 74, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 30px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 15px;
    background: linear-gradient(120deg, rgba(0, 104, 74, 0.15), rgba(0, 167, 118, 0.2));
    z-index: -1;
    transform: skewX(-12deg);
}

.hero-bio {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.8;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

/* Enhanced Stats Row */
.stats-row {
    display: flex;
    gap: 60px;
    border-top: 3px solid var(--border);
    padding-top: 35px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: left;
    position: relative;
    padding-left: 20px;
}

.stat-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    display: inline-block;
    font-family: var(--font-heading);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.95rem;
    color: var(--text-light);
    margin-top: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* === CIRCULAR PROFILE STYLES === */
.hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circular-profile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.circular-img {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid var(--card-bg);
    box-shadow: var(--shadow-xl), 0 0 0 2px var(--primary);
    transition: var(--transition-slow);
    position: relative;
    z-index: 2;
}

.circular-img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl), 0 0 0 4px var(--primary), 0 0 40px rgba(0, 104, 74, 0.3);
}

.profile-info-card {
    background: var(--card-bg);
    padding: 30px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 2px solid var(--border-light);
    max-width: 400px;
    transition: var(--transition);
}

.profile-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.profile-info-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 800;
    font-family: var(--font-heading);
}

.profile-info-card .designation {
    font-size: 1.1rem;
    color: var(--text-main);
    font-weight: 700;
    margin-bottom: 6px;
}

.profile-info-card .department {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 4px;
}

.profile-info-card .university {
    font-size: 0.95rem;
    color: var(--text-lighter);
    font-weight: 500;
    margin-bottom: 20px;
}

.contact-quick {
    display: flex;
    gap: 15px;
    justify-content: center;
    padding-top: 20px;
    border-top: 2px solid var(--border);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-primary);
}

.contact-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 12px 40px rgba(0, 104, 74, 0.4);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-indicator span {
    width: 3px;
    height: 25px;
    background: var(--primary-gradient);
    border-radius: 3px;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0%, 100% { opacity: 0; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(15px); }
}

/* Continue with rest of the styles from original CSS... */
/* (Including all sections: News Ticker, About, Research, Publications, etc.) */
/* Due to character limit, keeping only critical updates */

/* --- Enhanced News Ticker --- */
.news-ticker-wrapper {
    background: var(--primary-gradient);
    color: #fff;
    padding: 18px 0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 104, 74, 0.25);
    position: relative;
}

.ticker-container {
    display: flex;
    align-items: center;
    gap: 35px;
}

.ticker-label {
    font-weight: 800;
    white-space: nowrap;
    z-index: 2;
    padding-right: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ticker-content {
    display: flex;
    animation: ticker 50s linear infinite;
}

.ticker-item {
    white-space: nowrap;
    padding-right: 100px;
    font-size: 1rem;
    font-weight: 500;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .hero-container {
        gap: 50px;
    }
    
    .circular-img {
        width: 280px;
        height: 280px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.3rem;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .nav-links {
        position: fixed;
        right: -100%;
        top: 85px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        padding: 50px 0;
        box-shadow: var(--shadow-xl);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        gap: 10px;
    }
    
    [data-theme="dark"] .nav-links {
        background: rgba(26, 32, 44, 0.98);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    /* Hero Section */
    .hero-section {
        padding: 120px 0 80px;
        min-height: auto;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }
    
    .hero-content {
        order: 2;
        max-width: 100%;
    }
    
    .hero-image-wrapper {
        order: 1;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-bio {
        font-size: 1.05rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .stats-row {
        justify-content: center;
        gap: 35px;
    }
    
    .circular-img {
        width: 250px;
        height: 250px;
    }
    
    .section {
        padding: 70px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 18px;
    }
    
    .hero-title {
        font-size: 1.85rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .stats-row {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .stat-item::before {
        display: none;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .circular-img {
        width: 200px;
        height: 200px;
    }
    
    .profile-info-card {
        padding: 25px 30px;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 35px;
    right: 35px;
    width: 55px;
    height: 55px;
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-primary);
    z-index: 999;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 12px 40px rgba(0, 104, 74, 0.5);
}

/* All other original styles continue... */
/* (Kept short for character limit - full file would include all sections) */

/* ==========================================
   COMPLETE ADDITIONAL STYLES
   ========================================== */

/* --- Enhanced About Section --- */
.about-grid {
    display: flex;
    gap: 70px;
    align-items: flex-start;
}

.about-text {
    flex: 1.2;
}

.about-text p {
    margin-bottom: 1.8rem;
    color: var(--text-light);
    font-size: 1.08rem;
    line-height: 1.9;
}

.about-text strong {
    color: var(--text-main);
    font-weight: 700;
}

.tech-skills {
    margin: 35px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-tag {
    background: var(--bg-light);
    border: 2px solid var(--border);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-bounce);
    font-weight: 600;
}

.skill-tag:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-primary);
}

.skill-tag i {
    color: var(--primary);
    font-size: 1.1em;
}

.skill-tag:hover i {
    color: #fff;
}

.cta-buttons {
    margin-top: 35px;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.about-cards {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: flex-start;
    gap: 24px;
    border-left: 5px solid var(--accent);
    transition: var(--transition);
    border: 2px solid var(--border-light);
    border-left: 5px solid var(--accent);
}

.info-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.info-card i {
    font-size: 2rem;
    color: var(--primary);
    min-width: 45px;
    background: rgba(0, 104, 74, 0.08);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.info-content h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-main);
    font-weight: 700;
}

.info-content .institution {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.info-content .detail {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* --- Enhanced Research Cards --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 35px;
}

.research-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition-slow);
    border: 2px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.research-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.5s;
    transform-origin: left;
}

.research-card:hover::before {
    transform: scaleX(1);
}

.research-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.icon-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 104, 74, 0.1), rgba(0, 104, 74, 0.05));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    color: var(--primary);
    font-size: 2rem;
    transition: var(--transition-bounce);
    position: relative;
}

.icon-box::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 20px;
    background: var(--primary-gradient);
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}

.research-card:hover .icon-box {
    color: #fff;
    transform: scale(1.1) rotate(5deg);
}

.research-card:hover .icon-box::after {
    opacity: 1;
}

.research-card h3 {
    margin-bottom: 18px;
    font-size: 1.4rem;
    color: var(--text-main);
    font-weight: 700;
}

.research-card .short-desc {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 18px;
}

.expandable-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease;
}

.expandable-content.expanded {
    max-height: 1200px;
}

.expandable-content ul {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.expandable-content li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-light);
    line-height: 1.7;
}

.expandable-content li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2em;
}

.highlight-text {
    background: linear-gradient(135deg, rgba(0, 104, 74, 0.05), rgba(0, 104, 74, 0.02));
    padding: 20px;
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    margin-top: 18px;
    font-style: italic;
    color: var(--text-main);
    font-weight: 500;
}

.read-more-btn {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 700;
    cursor: pointer;
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    padding: 0;
    font-size: 1rem;
}

.read-more-btn:hover {
    color: var(--primary-dark);
    gap: 15px;
}

.read-more-btn i {
    transition: transform 0.4s;
}

.read-more-btn.active i {
    transform: rotate(180deg);
}

/* --- Enhanced Publications Section --- */
.pub-filters {
    display: flex;
    gap: 18px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 12px 28px;
    border: 2px solid var(--border);
    background: var(--card-bg);
    color: var(--text-main);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-bounce);
    font-weight: 600;
    font-size: 0.95rem;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.filter-btn.active {
    background: var(--primary-gradient);
    color: #fff;
    border-color: var(--primary);
    box-shadow: var(--shadow-primary);
}

.pub-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.pub-card {
    background: var(--card-bg);
    padding: 35px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 30px;
    border: 2px solid var(--border-light);
    transition: var(--transition);
    border-left: 6px solid transparent;
}

.pub-card.featured {
    border-left-color: var(--accent);
    background: linear-gradient(to right, rgba(212, 175, 55, 0.04), var(--card-bg));
}

.pub-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
    border-left-color: var(--accent);
}

.pub-year {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-lighter);
    min-width: 70px;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 12px;
    height: fit-content;
    padding: 15px 10px;
}

.pub-details {
    flex: 1;
}

.pub-badges {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.pub-badges span {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-featured {
    background: var(--accent-gradient);
    color: #000;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.badge-impact {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.badge-top {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    color: #fff;
    box-shadow: 0 4px 15px rgba(155, 89, 182, 0.3);
}

.pub-details h4 {
    margin-bottom: 12px;
    font-size: 1.2rem;
    line-height: 1.5;
    font-weight: 700;
}

.pub-details h4 a {
    color: var(--text-main);
    transition: var(--transition);
}

.pub-details h4 a:hover {
    color: var(--primary);
}

.authors {
    color: var(--text-light);
    font-size: 0.98rem;
    margin-bottom: 12px;
    line-height: 1.6;
}

.authors strong {
    color: var(--primary);
    font-weight: 700;
}

.journal-info {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.journal-name {
    font-style: italic;
    color: var(--text-main);
    font-size: 0.98rem;
    font-weight: 600;
}

.journal-name i {
    margin-right: 8px;
    color: var(--primary);
}

.impact-factor {
    background: var(--accent-gradient);
    color: #000;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.expandable-abstract {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease;
    margin-top: 18px;
}

.expandable-abstract.expanded {
    max-height: 600px;
}

.expandable-abstract p {
    color: var(--text-light);
    font-size: 0.98rem;
    line-height: 1.8;
    margin-bottom: 12px;
}

.pub-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    align-items: center;
}

.pub-link-btn {
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border: 2px solid var(--primary);
    border-radius: 8px;
    transition: var(--transition-bounce);
}

.pub-link-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.read-abstract-btn {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    font-size: 0.95rem;
}

.read-abstract-btn:hover {
    color: var(--primary-dark);
}

.read-abstract-btn i {
    transition: transform 0.4s;
}

.read-abstract-btn.active i {
    transform: rotate(180deg);
}

.view-all-container {
    margin-top: 60px;
    text-align: center;
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Enhanced Grants Section --- */
.grants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 35px;
}

.grant-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 2px solid var(--border-light);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.grant-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: var(--primary-gradient);
    opacity: 0.05;
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.grant-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.grant-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    margin-bottom: 28px;
    box-shadow: var(--shadow-primary);
    transition: var(--transition-bounce);
}

.grant-card:hover .grant-icon {
    transform: scale(1.1) rotate(5deg);
}

.grant-card h3 {
    font-size: 1.4rem;
    margin-bottom: 18px;
    color: var(--text-main);
    font-weight: 700;
}

.grant-card p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.grant-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.grant-list li {
    padding: 12px 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.98rem;
}

.grant-list i {
    color: var(--primary);
    font-size: 1.1rem;
    min-width: 20px;
}

/* --- Enhanced Timeline --- */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 60px;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--primary-gradient);
    top: 0;
    bottom: 0;
    left: 25px;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 104, 74, 0.3);
}

.timeline-item {
    position: relative;
    padding-left: 70px;
    margin-bottom: 60px;
}

.timeline-dot {
    position: absolute;
    width: 28px;
    height: 28px;
    background: var(--primary-gradient);
    border-radius: 50%;
    left: 13px;
    top: 0;
    border: 5px solid var(--bg-body);
    z-index: 2;
    box-shadow: 0 0 0 6px rgba(0, 104, 74, 0.2);
    transition: var(--transition-bounce);
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.3);
    box-shadow: 0 0 0 10px rgba(0, 104, 74, 0.25);
}

.timeline-date {
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 1.15rem;
    font-family: var(--font-heading);
}

.timeline-content {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 2px solid var(--border-light);
    transition: var(--transition);
}

.timeline-item:hover .timeline-content {
    transform: translateX(12px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.timeline-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-main);
    font-weight: 700;
}

.timeline-content .institution {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    display: block;
    font-size: 1.05rem;
}

.timeline-content .description {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
}

/* --- Enhanced Teaching Section --- */
.quote-box {
    background: var(--primary-gradient);
    color: #fff;
    padding: 70px 60px;
    border-radius: 24px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-xl);
    margin-bottom: 60px;
    overflow: hidden;
}

.quote-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

.quote-box i {
    font-size: 3.5rem;
    opacity: 0.25;
    margin-bottom: 30px;
    position: relative;
}

.quote-text {
    font-size: 1.4rem;
    font-family: var(--font-heading);
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.9;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
    position: relative;
}

.quote-box cite {
    font-weight: 800;
    font-style: normal;
    font-size: 1.15rem;
    position: relative;
}

.teaching-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.teaching-item {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    border: 2px solid var(--border-light);
    transition: var(--transition-slow);
}

.teaching-item:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.teaching-item i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 25px;
    display: inline-block;
    padding: 25px;
    background: rgba(0, 104, 74, 0.08);
    border-radius: 20px;
}

.teaching-item h4 {
    font-size: 1.3rem;
    margin-bottom: 18px;
    color: var(--text-main);
    font-weight: 700;
}

.teaching-item p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* --- Enhanced Footer Section --- */
.footer-section {
    background: linear-gradient(135deg, #1a202c 0%, #0f1419 100%);
    color: #fff;
    padding-top: 100px;
    padding-bottom: 40px;
    position: relative;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gradient);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    margin-bottom: 60px;
}

.contact-info h3 {
    color: var(--accent);
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 700;
}

.contact-info p {
    line-height: 1.9;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
}

.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.contact-list i {
    color: var(--accent);
    font-size: 1.3rem;
    min-width: 28px;
    margin-top: 3px;
}

.contact-list div {
    flex: 1;
}

.contact-list strong {
    display: block;
    margin-bottom: 6px;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
}

.contact-list a {
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
}

.contact-list a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 18px;
    margin: 35px 0;
}

.social-links a {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.3rem;
    transition: var(--transition-bounce);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--primary-gradient);
    transform: translateY(-8px) scale(1.1);
    box-shadow: var(--shadow-primary);
    border-color: var(--primary);
}

.cta-section {
    margin-top: 35px;
}

.footer-map {
    border-radius: 20px;
    overflow: hidden;
    height: 450px;
    box-shadow: var(--shadow-xl);
    border: 4px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    text-align: center;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    padding-top: 35px;
    color: rgba(255, 255, 255, 0.6);
}

.copyright p {
    margin: 8px 0;
    font-size: 0.95rem;
}

.small-text {
    font-size: 0.85rem;
}

/* --- Additional Responsive Breakpoints --- */
@media (max-width: 1024px) {
    .about-grid {
        flex-direction: column;
        gap: 50px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .footer-map {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .grants-grid,
    .teaching-highlights {
        grid-template-columns: 1fr;
    }
    
    .timeline {
        padding-left: 35px;
    }
    
    .timeline-item {
        padding-left: 50px;
    }
    
    .quote-box {
        padding: 50px 35px;
    }
    
    .quote-text {
        font-size: 1.2rem;
    }
    
    .pub-card {
        flex-direction: column;
        gap: 20px;
        padding: 25px;
    }
    
    .pub-year {
        font-size: 1.2rem;
        padding: 10px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .news-ticker-wrapper,
    .back-to-top,
    .hero-buttons,
    .scroll-indicator,
    .read-more-btn,
    .filter-btn,
    .btn-apply,
    .theme-toggle-btn,
    .hamburger {
        display: none !important;
    }
    
    .hero-section {
        min-height: auto;
        padding: 50px 0;
    }
    
    .section {
        page-break-inside: avoid;
        padding: 40px 0;
    }
    
    * {
        box-shadow: none !important;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.4);
    }
    
    .btn,
    .research-card,
    .pub-card,
    .grant-card {
        border-width: 3px;
    }
}

/* End of Styles */
