/* CSS Variables - Default Light Mode */
:root {
    /* Default Light Mode */
    --bg-color: #ffffff;
    --bg-color-alt: #f0f4f8;
    --text-main: #1e293b;
    --text-muted: #64748b;

    /* Vibrant Academic Colors - More Colorful */
    --primary-color: #2563eb;
    --primary-gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #ec4899 100%);
    /* Blue to Purple to Pink */
    --accent-color: #f59e0b;
    --accent-gradient: linear-gradient(135deg, #f59e0b 0%, #ea580c 50%, #dc2626 100%);
    --success-color: #10b981;
    --success-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --info-color: #06b6d4;
    --info-gradient: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    --warning-color: #f59e0b;
    --warning-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);

    --card-bg: rgba(255, 255, 255, 0.9);
    --glass-border: 1px solid rgba(0, 0, 0, 0.08);
    --nav-bg: rgba(255, 255, 255, 0.85);

    --shadow-default: 0 15px 35px -5px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 25px 50px -12px rgba(37, 99, 235, 0.25);

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Dark Mode Overrides */
[data-theme="dark"] {
    --bg-color: #0f172a;
    --bg-color-alt: #1e293b;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;

    --card-bg: rgba(30, 41, 59, 0.6);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --nav-bg: rgba(15, 23, 42, 0.9);

    --shadow-default: 0 15px 35px -5px rgba(0, 0, 0, 0.3);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

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

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

ul {
    list-style: none;
}

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

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: var(--nav-bg);
    backdrop-filter: blur(15px);
    border-bottom: var(--glass-border);
    padding: 15px 0;
    transition: opacity 0.5s ease;
}


.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

.logo-image-wrapper {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.2);
}

.logo:hover .logo-image-wrapper {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: var(--transition);
    display: block;
}

.logo:hover .logo-image {
    transform: scale(1.05);
}

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

.logo-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2px;
    font-family: var(--font-body);
}

.logo-name {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    line-height: 1.1;
    display: inline-block;
    min-height: 1.5rem;
}

.typing-text {
    display: inline-block;
}

.typing-cursor {
    display: inline-block;
    background: var(--primary-color);
    width: 3px;
    height: 1.5rem;
    margin-left: 3px;
    animation: blink 1s infinite;
    vertical-align: middle;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.highlight {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

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

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-gradient);
    transition: var(--transition);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}

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

.nav-link.active {
    font-weight: 600;
}

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

/* Theme Toggle */
.theme-toggle {
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-muted);
    background: transparent;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    position: relative;
}

.theme-toggle:hover {
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.1);
    transform: rotate(15deg);
}

.theme-toggle i {
    position: absolute;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.theme-toggle .fa-moon {
    opacity: 1;
    transform: rotate(0deg);
}

.theme-toggle .fa-sun {
    opacity: 0;
    transform: rotate(90deg);
}

[data-theme="dark"] .theme-toggle .fa-moon {
    opacity: 0;
    transform: rotate(-90deg);
}

[data-theme="dark"] .theme-toggle .fa-sun {
    opacity: 1;
    transform: rotate(0deg);
}

.theme-toggle:hover .fa-moon,
.theme-toggle:hover .fa-sun {
    transform: rotate(0deg) !important;
}

/* Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-main);
    margin: 5px 0;
    transition: var(--transition);
}

/* Sidebar */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 101;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background: var(--bg-color);
    z-index: 102;
    padding: 30px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-sidebar.active {
    right: 0;
}

.close-sidebar {
    align-self: flex-end;
    font-size: 1.5rem;
    cursor: pointer;
}

.sidebar-link {
    font-size: 1.2rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Full Screen Hero Slider */
.hero-slider-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    margin-top: 0;
    padding-top: 0;
}

/* Desktop: Add margin for navbar */
@media (min-width: 769px) {
    .hero-slider-section {
        margin-top: 0;
    }
}


/* Tablet Responsive */
@media (max-width: 992px) {
    .hero-content-grid.container {
        gap: 40px;
        padding-top: 80px;
        padding-bottom: 60px;
    }
    
    .hero-feature-image {
        max-width: 450px;
        height: 450px;
    }
    
    .hero-text-column .slide-title {
        font-size: 3.5rem;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-slider-section {
        height: auto !important;
        min-height: calc(100vh - 80px);
        margin-top: 80px;
        padding-top: 0;
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 0;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        overflow: visible;
    }
    
    .slider-container {
        height: auto !important;
        min-height: calc(100vh - 80px);
        padding: 0;
        margin: 0;
    }
    
    .hero-base-bg,
    .hero-black-overlay,
    .hero-feature-overlay {
        background-attachment: scroll;
        min-height: 100%;
    }
    
    .hero-content-grid.container {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding-top: 30px !important;
        padding-bottom: 120px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        text-align: center;
        min-height: auto !important;
        height: auto !important;
        align-items: flex-start;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box;
    }
    
    .hero-image-column {
        order: -1;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    
    .hero-feature-image {
        max-width: 100%;
        width: 100%;
        height: 250px;
        border-width: 3px;
        border-radius: 15px;
        margin: 0;
    }
    
    .hero-text-column {
        text-align: center;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    
    .hero-text-column .slide-title {
        font-size: 1.9rem;
        margin-bottom: 12px;
        line-height: 1.2;
        padding: 0 5px;
    }
    
    .hero-text-column .slide-desc {
        text-align: center;
        font-size: 0.9rem;
        margin-bottom: 20px;
        line-height: 1.5;
        padding: 0 5px;
    }
    
    .hero-text-column .slide-subtitle {
        font-size: 0.8rem;
        padding: 5px 12px;
        margin-bottom: 12px;
    }
    
    .hero-text-column .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 12px 25px;
        font-size: 0.85rem;
        margin: 0 auto;
    }
    
    .slider-dots {
        bottom: 25px;
        position: absolute;
        z-index: 10;
    }
}

/* Small Mobile Responsive */
@media (max-width: 480px) {
    .hero-slider-section {
        min-height: calc(100vh - 80px);
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 0;
        margin-left: 0;
        margin-right: 0;
        margin-top: 80px;
    }
    
    .slider-container {
        min-height: calc(100vh - 80px);
    }
    
    .hero-content-grid.container {
        padding-top: 25px !important;
        padding-bottom: 110px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        gap: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    
    .hero-feature-image {
        height: 220px;
        border-width: 2px;
        border-radius: 12px;
        width: 100%;
        margin: 0;
    }
    
    .hero-text-column {
        padding: 0;
        margin: 0;
    }
    
    .hero-text-column .slide-title {
        font-size: 1.6rem;
        margin-bottom: 10px;
        padding: 0 5px;
        line-height: 1.2;
    }
    
    .hero-text-column .slide-desc {
        font-size: 0.85rem;
        margin-bottom: 15px;
        padding: 0 5px;
        line-height: 1.4;
    }
    
    .hero-text-column .slide-subtitle {
        font-size: 0.7rem;
        padding: 4px 10px;
        margin-bottom: 10px;
    }
    
    .hero-text-column .btn {
        padding: 10px 20px;
        font-size: 0.75rem;
        max-width: 100%;
        width: calc(100% - 20px);
    }
    
    .slider-dots {
        bottom: 20px;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-slider-section {
        min-height: auto;
        height: 100vh;
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
    }
    
    .hero-content-grid.container {
        padding-top: 40px !important;
        padding-bottom: 80px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        gap: 25px !important;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    
    .hero-image-column {
        order: 0;
        padding: 0;
        margin: 0;
    }
    
    .hero-feature-image {
        height: 280px;
        width: 100%;
        margin: 0;
    }
    
    .hero-text-column {
        text-align: left;
        padding: 0;
        margin: 0;
    }
    
    .hero-text-column .slide-title {
        font-size: 1.8rem;
        padding: 0;
    }
    
    .hero-text-column .btn {
        width: auto;
        max-width: none;
    }
}

.slider-container {
    height: 100%;
    width: 100%;
    position: relative;
    min-height: 100vh;
    padding: 0;
    margin: 0;
    overflow: visible;
}

@media (max-width: 768px) {
    .slider-container {
        height: auto !important;
        min-height: calc(100vh - 60px);
        padding: 0;
        margin: 0;
        width: 100%;
        overflow: visible;
    }
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

@media (max-width: 768px) {
    .slide {
        padding: 0;
        margin: 0;
    }
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

/* Layer 1: Base Background Image/Video */
.hero-base-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}

/* Layer 2: Black Overlay (Only shown when feature image exists) */
.hero-black-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

/* Layer 2: Overlay Feature Image (Legacy - kept for backward compatibility) */
.hero-feature-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.5;
    z-index: 2;
    mix-blend-mode: multiply;
}

.hero-feature-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.3) 0%, rgba(124, 58, 237, 0.3) 50%, rgba(236, 72, 153, 0.3) 100%);
    z-index: 1;
}

.hero-feature-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.3);
    z-index: 2;
}

/* Layer 3: Content Grid */
.hero-content-grid {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    height: 100%;
    padding: 0;
    margin: 0;
}

/* Auto-adjust grid when only one column exists */
.hero-content-grid:has(.hero-image-column:only-child),
.hero-content-grid:has(.hero-text-column:only-child) {
    grid-template-columns: 1fr;
    justify-items: center;
}

/* Fallback for browsers that don't support :has() */
.hero-content-grid.hero-single-column {
    grid-template-columns: 1fr;
    justify-items: center;
}

/* Override container padding for hero section */
.hero-content-grid.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    align-items: center;
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 100px;
    box-sizing: border-box;
}

@media (max-width: 1200px) {
    .hero-content-grid.container {
        width: 95%;
    }
}

@media (max-width: 768px) {
    .hero-content-grid.container {
        width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        padding-top: 40px !important;
        padding-bottom: 40px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

.hero-image-column {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-feature-image {
    width: 100%;
    max-width: 500px;
    height: 500px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 5px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.hero-feature-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    z-index: 1;
    opacity: 0;
    transition: var(--transition);
}

.hero-feature-image:hover::before {
    opacity: 1;
}

.hero-feature-image:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 80px rgba(37, 99, 235, 0.5);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-text-column {
    color: white;
    text-align: left;
    position: relative;
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.slide-subtitle {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.slide-title {
    font-family: var(--font-heading);
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 30px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-text-column .slide-title {
    font-size: 4rem;
    text-align: left;
}

.slide-desc {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #e2e8f0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-text-column .slide-desc {
    text-align: left;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .slide-title {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }
    
    .slide-desc {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .slide-subtitle {
        font-size: 0.9rem;
        padding: 6px 15px;
        margin-bottom: 15px;
    }
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

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

.dot.active {
    background: white;
    transform: scale(1.3);
}

/* Breadcrumb */
.breadcrumb {
    padding: 120px 0 80px;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.breadcrumb-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}

.breadcrumb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Fallback gradient overlay if no image */
.breadcrumb:not(:has(.breadcrumb-bg-image))::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.75) 0%, rgba(124, 58, 237, 0.75) 50%, rgba(236, 72, 153, 0.75) 100%);
    z-index: 1;
}


.breadcrumb-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.breadcrumb-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: white;
    margin-bottom: 15px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.breadcrumb-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb-nav a {
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    color: white;
    text-decoration: underline;
}

.breadcrumb-nav i {
    font-size: 0.7rem;
    margin: 0 5px;
    opacity: 0.7;
}

.breadcrumb-nav span {
    color: white;
    font-weight: 600;
}

/* Section after breadcrumb - reduced padding */
.breadcrumb ~ section.container {
    padding-top: 40px;
}

/* Breadcrumb Responsive */
@media (max-width: 768px) {
    .breadcrumb {
        padding: 80px 0 50px;
        margin-top: 60px;
        margin-bottom: 30px;
    }
    
    .breadcrumb-bg-image {
        background-attachment: scroll;
    }
    
    .breadcrumb-title {
        font-size: 2.5rem;
    }
    
    .breadcrumb-nav {
        font-size: 0.85rem;
    }
    
    .breadcrumb + section.container {
        padding-top: 30px;
    }
}

/* Common Page Header (Legacy - for backward compatibility) */
.page-header {
    height: 50vh;
    background: linear-gradient(135deg, var(--bg-color-alt) 0%, rgba(37, 99, 235, 0.05) 50%, rgba(124, 58, 237, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-bottom: 80px;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    animation: gradientShift 10s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20%;
    background: linear-gradient(to top, var(--bg-color), transparent);
}

.page-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    position: relative;
    z-index: 2;
}

/* Sections */
section {
    padding: 100px 0;
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .section-alt {
        padding: 60px 0;
    }
    
    .section-padding {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

/* Section after breadcrumb - reduced padding */
.breadcrumb ~ section.container {
    padding-top: 40px;
}

.section-padding {
    padding-top: 80px;
    padding-bottom: 80px;
}

.section-spacing {
    margin-top: 50px;
}

.section-spacing-bottom {
    margin-bottom: 50px;
}

.section-spacing-bottom-small {
    margin-bottom: 40px;
}

.section-inner-spacing {
    margin-top: 60px;
}

.section-cta {
    text-align: center;
    margin-top: 40px;
}

.section-cta-wrapper {
    text-align: center;
    padding: 80px 20px;
}

.section-cta-text {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Flip Card Animation Classes */
.flip-card-wrapper {
    perspective: 1000px;
}

/* Flip card inner - no animations */
.flip-card-inner {
    opacity: 1;
    transform: none;
}

/* Specific Card Styling */
.info-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    border: var(--glass-border);
    box-shadow: var(--shadow-default);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-gradient);
}

.info-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.info-card:hover::after {
    opacity: 1;
}

.info-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.4), 0 0 30px rgba(124, 58, 237, 0.2);
    border-color: rgba(37, 99, 235, 0.3);
}

.card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.8rem;
    transition: var(--transition);
    border: 2px solid rgba(37, 99, 235, 0.2);
    position: relative;
    overflow: hidden;
}

.card-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition);
    border-radius: 50%;
}

.card-icon i {
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.info-card:hover .card-icon {
    border-color: transparent;
    transform: rotateY(360deg) scale(1.1);
}

.info-card:hover .card-icon::before {
    opacity: 1;
}

.info-card:hover .card-icon i {
    color: white;
    transform: scale(1.2);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.4), 0 0 40px rgba(124, 58, 237, 0.3);
    filter: brightness(1.1);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

/* --- NEW STYLES --- */

/* Grid Helpers */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

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

.section-alt {
    background: linear-gradient(135deg, var(--bg-color-alt) 0%, rgba(37, 99, 235, 0.03) 50%, rgba(124, 58, 237, 0.03) 100%);
    padding: 100px 0;
    position: relative;
}

@media (max-width: 768px) {
    .section-alt {
        padding: 60px 0;
    }
}

.section-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(124, 58, 237, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.center-text {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 30px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    display: inline-block;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.section-header {
    margin-bottom: 50px;
}

/* Feature List */
.feature-list {
    margin: 25px 0 40px;
}

.feature-list li {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 1.1rem;
    color: var(--text-main);
}

.feature-list i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 5px;
    /* Align icon with first line of text */
    min-width: 25px;
    /* Ensure icon has space */
}

.text-muted {
    color: var(--text-muted);
}

/* Profile Image Frame */
.profile-image-frame {
    position: relative;
    padding: 20px;
    border: 3px solid;
    border-image: var(--primary-gradient) 1;
    border-radius: 20px;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.1);
}

.profile-image-frame::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: var(--primary-gradient);
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.profile-image-frame:hover::before {
    opacity: 0.3;
    filter: blur(10px);
}

.profile-placeholder-large {
    background: #e2e8f0;
    border-radius: 15px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: #cbd5e1;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

/* Research Card */
.research-card {
    background: var(--card-bg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    padding: 35px;
    box-shadow: var(--shadow-default);
    transition: var(--transition);
}

.research-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.4), 0 0 30px rgba(124, 58, 237, 0.2);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(37, 99, 235, 0.02) 100%);
}

.badge {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(124, 58, 237, 0.15) 100%);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(37, 99, 235, 0.2);
    display: inline-block;
}

.research-card h3 {
    font-size: 1.5rem;
    margin: 15px 0 10px;
    color: var(--text-main);
}

.research-card p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.read-more {
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.read-more:hover {
    gap: 12px;
}

.btn-outline-dark {
    border: 2px solid var(--text-main);
    color: var(--text-main);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.btn-outline-dark:hover {
    background: var(--text-main);
    color: var(--bg-color);
}

/* Biography Timeline */
.timeline {
    position: relative;
    border-left: 3px solid;
    border-image: linear-gradient(180deg, var(--primary-color) 0%, var(--accent-color) 100%) 1;
    margin-left: 20px;
    padding-left: 30px;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -39px;
    top: 5px;
    width: 15px;
    height: 15px;
    background: var(--primary-gradient);
    border-radius: 50%;
    border: 4px solid var(--bg-color);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.3), 0 0 15px rgba(124, 58, 237, 0.4);
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.3), 0 0 15px rgba(124, 58, 237, 0.4); }
    50% { box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2), 0 0 25px rgba(124, 58, 237, 0.6); }
}

.timeline-year {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
    display: block;
}

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

.timeline-item p {
    color: var(--text-muted);
}

/* Contact Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info-card {
    background: var(--primary-gradient);
    color: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-default);
    position: relative;
    overflow: hidden;
}

.contact-info-card::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 20s linear infinite;
}

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

.contact-detail {
    margin-bottom: 30px;
    display: flex;
    gap: 15px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.contact-detail i {
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.25);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.contact-detail:hover i {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.form-box {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-default);
    border: var(--glass-border);
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-main);
}

.input-field {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: var(--bg-color);
    color: var(--text-main);
    font-family: inherit;
    transition: var(--transition);
}

.input-field:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1), 0 0 20px rgba(124, 58, 237, 0.2);
    transform: translateY(-2px);
}

/* Footer Styling */
footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    padding: 80px 0 30px;
    border-top: 3px solid;
    border-image: var(--primary-gradient) 1;
    position: relative;
    overflow: hidden;
    color: #f1f5f9;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    z-index: 1;
}

footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(124, 58, 237, 0.15) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.footer-section {
    position: relative;
    z-index: 2;
}

.footer-section {
    position: relative;
}

.footer-brand {
    max-width: 100%;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-profile-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
    transition: var(--transition);
}

.footer-profile-img:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4);
}

.footer-title h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: #ffffff;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.footer-designation {
    color: #60a5fa;
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
}

.footer-university {
    color: #cbd5e1;
    font-size: 0.95rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.footer-description {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: #ffffff;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.footer-contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.footer-contact-item i {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
    transition: var(--transition);
}

.footer-contact-item:hover i {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.footer-contact-item div {
    flex: 1;
}

.footer-contact-item span {
    display: block;
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-contact-item a {
    color: #e2e8f0;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
}

.footer-contact-item a:hover {
    color: #60a5fa;
    transform: translateX(5px);
}

.footer-contact-item p {
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 12px;
}

.footer-nav a {
    color: #cbd5e1;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    padding: 8px 0;
}

.footer-nav a i {
    width: 20px;
    color: var(--primary-color);
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-nav a:hover i {
    transform: scale(1.2);
}

.footer-social-section {
    display: flex;
    flex-direction: column;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
}

.footer-social-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e2e8f0;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(37, 99, 235, 0.3);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.footer-social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition);
    border-radius: 50%;
}

.footer-social-btn i {
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.footer-social-btn span {
    position: relative;
    z-index: 1;
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: 8px;
}

.footer-social-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
    border-color: transparent;
    color: white;
}

.footer-social-btn:hover::before {
    opacity: 1;
}

.footer-email-btn {
    width: auto;
    padding: 0 20px;
    border-radius: 50px;
    background: var(--primary-gradient);
    color: white;
    border: none;
}

.footer-email-btn::before {
    display: none;
}

.footer-email-btn:hover {
    background: var(--accent-gradient);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4);
}

.footer-social-btn:nth-child(2):hover::before {
    background: linear-gradient(135deg, #0077b5 0%, #005885 100%);
}

.footer-social-btn:nth-child(3):hover::before {
    background: linear-gradient(135deg, #1da1f2 0%, #0d8bd9 100%);
}

.footer-social-btn:nth-child(4):hover::before {
    background: linear-gradient(135deg, #00d4aa 0%, #00a085 100%);
}

.footer-social-btn:nth-child(5):hover::before {
    background: linear-gradient(135deg, #4285f4 0%, #1a73e8 100%);
}

.footer-achievements {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.footer-achievement-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: rgba(37, 99, 235, 0.15);
    border-radius: 10px;
    border-left: 3px solid #60a5fa;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.footer-achievement-item:hover {
    background: rgba(37, 99, 235, 0.25);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.footer-achievement-item i {
    color: #60a5fa;
    font-size: 1.2rem;
}

.footer-achievement-item span {
    color: #e2e8f0;
    font-size: 0.9rem;
    font-weight: 600;
}

.footer-bottom {
    text-align: center;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-bottom p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 0;
}

.footer-powered {
    color: #94a3b8;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Split Layout */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Reveal Animations */
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.section-header {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section-header.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Publication Timeline Styles */
.publication-timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.publication-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-gradient);
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
    z-index: 0;
}

.publications-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.year-group {
    margin-bottom: 60px;
    position: relative;
    width: 50%;
    padding: 0 40px;
    z-index: 1;
    overflow: hidden;
}

.year-group .flip-card-inner {
    position: relative;
    width: 100%;
}

.year-group:nth-child(odd) {
    left: 0;
    text-align: right;
    padding-right: 60px;
}

.year-group:nth-child(even) {
    left: 50%;
    text-align: left;
    padding-left: 60px;
}

.year-group::before {
    content: '';
    position: absolute;
    top: 30px;
    width: 20px;
    height: 20px;
    background: var(--primary-gradient);
    border-radius: 50%;
    border: 4px solid var(--bg-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3), 0 0 20px rgba(37, 99, 235, 0.5);
    z-index: 10;
    transition: var(--transition);
}

.year-group::after {
    content: '';
    display: table;
    clear: both;
}

.year-group:nth-child(odd)::before {
    right: -10px;
}

.year-group:nth-child(even)::before {
    left: -10px;
}

.year-group:nth-child(even)::before {
    background: var(--accent-gradient);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.3), 0 0 20px rgba(245, 158, 11, 0.5);
}

.year-group:nth-child(3n)::before {
    background: var(--success-gradient);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3), 0 0 20px rgba(16, 185, 129, 0.5);
}

.year-group:hover::before {
    transform: scale(1.3);
    box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.4), 0 0 30px rgba(37, 99, 235, 0.7);
}

.year-group:nth-child(odd)::after {
    right: -10px;
}

.year-group:nth-child(even)::after {
    left: -10px;
}

.year-group:nth-child(even)::after {
    background: var(--accent-gradient);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.3), 0 0 20px rgba(245, 158, 11, 0.5);
}

.year-group:nth-child(3n)::after {
    background: var(--success-gradient);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3), 0 0 20px rgba(16, 185, 129, 0.5);
}

.year-group:hover::after {
    transform: scale(1.3);
    box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.4), 0 0 30px rgba(37, 99, 235, 0.7);
    }

    .year-title {
        font-family: var(--font-heading);
        font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 25px;
    padding: 15px 25px;
        background: var(--primary-gradient);
    color: white;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: inline-block;
    transition: var(--transition);
}

.year-group:nth-child(odd) .year-title {
    float: right;
}

.year-group:nth-child(even) .year-title {
    float: left;
}

.year-group:nth-child(even) .year-title {
    background: var(--accent-gradient);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.year-group:nth-child(3n) .year-title {
    background: var(--success-gradient);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.year-group:hover .year-title {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4);
}

.year-title::before {
    content: '';
        position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: var(--transition);
}

.year-group:hover .year-title::before {
    left: 100%;
    }

    .paper-item {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(255, 255, 255, 0.95) 100%);
    padding: 25px 30px;
        margin-bottom: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
        position: relative;
        z-index: 1;
        transition: var(--transition);
    overflow: hidden;
    border: 2px solid rgba(37, 99, 235, 0.1);
    clear: both;
}

.year-group:nth-child(odd) .paper-item {
    border-right: 5px solid var(--primary-color);
    border-left: 2px solid rgba(37, 99, 235, 0.1);
}

.year-group:nth-child(even) .paper-item {
    border-left: 5px solid var(--accent-color);
    border-right: 2px solid rgba(245, 158, 11, 0.1);
}

.year-group:nth-child(3n) .paper-item {
    border-left: 5px solid var(--success-color);
    border-right: 2px solid rgba(16, 185, 129, 0.1);
}

.year-group:nth-child(odd) .paper-item::before {
    right: 0;
    left: auto;
    border-radius: 0 15px 15px 0;
}

.year-group:nth-child(even) .paper-item::before {
    left: 0;
    right: auto;
    border-radius: 15px 0 0 15px;
    }

    .paper-item::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
    width: 5px;
        background: var(--primary-gradient);
    border-radius: 15px 0 0 15px;
        opacity: 1;
        z-index: -1;
    transition: var(--transition);
}

.year-group:nth-child(odd) .paper-item::before {
    background: var(--primary-gradient);
    right: 0;
    left: auto;
    border-radius: 0 15px 15px 0;
}

.year-group:nth-child(even) .paper-item::before {
    background: var(--accent-gradient);
}

.year-group:nth-child(3n) .paper-item::before {
    background: var(--success-gradient);
}

.paper-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    transition: var(--transition);
    z-index: 0;
}

.paper-item:hover::after {
    left: 100%;
    transition-duration: 0.6s;
    }

    .paper-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.3), 0 0 40px rgba(124, 58, 237, 0.2);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(124, 58, 237, 0.05) 50%, rgba(236, 72, 153, 0.05) 100%);
    border-top-color: rgba(37, 99, 235, 0.2);
    border-bottom-color: rgba(37, 99, 235, 0.2);
}

.year-group:nth-child(odd) .paper-item:hover {
    border-right-width: 6px;
    border-right-color: var(--primary-color);
    border-left-color: rgba(37, 99, 235, 0.2);
}

.year-group:nth-child(even) .paper-item:hover {
    box-shadow: 0 20px 50px rgba(245, 158, 11, 0.3), 0 0 40px rgba(234, 88, 12, 0.2);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(234, 88, 12, 0.05) 50%, rgba(220, 38, 38, 0.05) 100%);
    border-left-width: 6px;
    border-left-color: var(--accent-color);
    border-right-color: rgba(245, 158, 11, 0.2);
    border-top-color: rgba(245, 158, 11, 0.2);
    border-bottom-color: rgba(245, 158, 11, 0.2);
}

.year-group:nth-child(3n) .paper-item:hover {
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.3), 0 0 40px rgba(5, 150, 105, 0.2);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(5, 150, 105, 0.05) 100%);
    border-left-width: 6px;
    border-left-color: var(--success-color);
    border-right-color: rgba(16, 185, 129, 0.2);
    border-top-color: rgba(16, 185, 129, 0.2);
    border-bottom-color: rgba(16, 185, 129, 0.2);
    }

    .paper-item:hover::before {
    width: 8px;
    box-shadow: 0 0 25px rgba(37, 99, 235, 0.7);
        z-index: 0;
    background: var(--primary-gradient);
}

.paper-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 18px;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
    position: relative;
    z-index: 2;
    transition: var(--transition);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.paper-item:nth-child(even) .paper-number {
    background: var(--accent-gradient);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
}

.paper-item:nth-child(3n) .paper-number {
    background: var(--success-gradient);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.paper-item:hover .paper-number {
    transform: scale(1.2) rotate(360deg);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.6);
    border-color: rgba(255, 255, 255, 0.5);
    }

    .paper-item h4 {
    font-size: 1.15rem;
    margin-bottom: 12px;
        color: var(--text-main);
    line-height: 1.6;
    font-weight: 600;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.paper-item:hover h4 {
    color: var(--primary-color);
    }

    .journal-name {
        font-style: italic;
        color: var(--text-muted);
    font-size: 0.95rem;
        margin-bottom: 15px;
    line-height: 1.6;
    position: relative;
    z-index: 2;
    padding: 12px;
    background: rgba(37, 99, 235, 0.03);
    border-radius: 8px;
    border-left: 3px solid rgba(37, 99, 235, 0.2);
    transition: var(--transition);
}

.paper-item:hover .journal-name {
    background: rgba(37, 99, 235, 0.06);
    border-left-color: var(--primary-color);
    color: var(--text-main);
    }

    .paper-link {
    font-size: 0.9rem;
        font-weight: 600;
        color: var(--primary-color);
        display: inline-flex;
        align-items: center;
    gap: 8px;
    transition: var(--transition);
    position: relative;
    z-index: 2;
    }

    .paper-link:hover {
    gap: 12px;
    color: var(--accent-color);
    transform: translateX(5px);
}

.paper-link i {
    transition: var(--transition);
}

.paper-link:hover i {
    transform: translateX(3px);
}

.book-section {
    margin-top: 80px;
    width: 100%;
            position: relative;
    z-index: 2;
    padding: 0 20px;
}

.book-card {
    background: var(--card-bg);
    border-radius: 25px;
    padding: 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(37, 99, 235, 0.1);
    overflow: hidden;
    position: relative;
}

.book-card::before {
    content: '';
    position: absolute;
            top: 0;
            left: 0;
    right: 0;
    height: 5px;
    background: var(--primary-gradient);
    z-index: 1;
}

.book-header {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    padding: 40px 40px 30px;
    text-align: center;
    border-bottom: 2px solid rgba(37, 99, 235, 0.1);
    position: relative;
}

.book-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
    position: relative;
}

.book-icon-wrapper i {
    font-size: 2.5rem;
    color: white;
    z-index: 2;
    position: relative;
}

.book-icon-wrapper::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: var(--primary-gradient);
    opacity: 0.3;
    z-index: 1;
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.book-section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin: 0;
    font-weight: 700;
}

.book-content {
    padding: 40px;
}

.book-item {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, rgba(124, 58, 237, 0.03) 100%);
    padding: 30px;
    border-radius: 20px;
    border: 2px solid rgba(37, 99, 235, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.book-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 5px 0 0 5px;
}

.book-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.2);
    border-color: rgba(37, 99, 235, 0.3);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
}

.book-number {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
    position: relative;
    z-index: 2;
}

.book-details {
    flex: 1;
    position: relative;
    z-index: 2;
}

.book-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
    line-height: 1.3;
    font-family: var(--font-heading);
}

.book-info {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.6;
}

.book-label {
    font-weight: 600;
    color: var(--primary-color);
    display: inline-block;
    min-width: 120px;
}

.book-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 12px 25px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
    text-decoration: none;
}

.book-link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
    gap: 15px;
}

.book-link i {
    transition: var(--transition);
}

.book-link:hover i {
    transform: translateX(5px);
}

/* Responsive Book Section */
@media (max-width: 768px) {
    .book-section {
        padding: 0 10px;
        margin-top: 60px;
    }

    .book-header {
        padding: 30px 20px 25px;
    }

    .book-icon-wrapper {
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
    }

    .book-icon-wrapper i {
        font-size: 2rem;
    }

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

    .book-content {
        padding: 25px 20px;
    }

    .book-item {
        flex-direction: column;
        gap: 20px;
        padding: 25px 20px;
    }

    .book-number {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 1.3rem;
        align-self: flex-start;
    }

    .book-title {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    .book-info {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }

    .book-label {
        min-width: 100px;
            display: block;
        margin-bottom: 5px;
    }

    .book-link {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

/* Responsive Timeline Layout */
@media (max-width: 992px) {
    .publication-timeline::before {
        left: 30px;
        }

        .year-group {
        width: 100%;
        left: 0 !important;
        padding-left: 80px !important;
        padding-right: 20px !important;
        text-align: left !important;
    }
    
    .year-group::before {
        left: 20px !important;
        right: auto !important;
    }
    
    .year-group:nth-child(odd) .year-title,
    .year-group:nth-child(even) .year-title {
        float: none;
    }
    
    .year-group:nth-child(odd) .paper-item,
    .year-group:nth-child(even) .paper-item {
        border-left: 5px solid var(--primary-color);
        border-right: 2px solid rgba(37, 99, 235, 0.1);
    }
    
    .year-group:nth-child(odd) .paper-item::before,
    .year-group:nth-child(even) .paper-item::before {
        left: 0 !important;
        right: auto !important;
        border-radius: 15px 0 0 15px !important;
        background: var(--primary-gradient);
    }
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

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

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

    .info-card {
        margin-bottom: 20px;
    }

    .split-layout {
        grid-template-columns: 1fr;
    }

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

    /* Simple Fade In Animation */
    .fade-in-section {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }

    .fade-in-section.visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Flip Card Styles for mobile - no animations */
    .flip-card-inner {
        transform: none !important;
        opacity: 1 !important;
    }
}

/* Comprehensive Mobile Responsive Styles */
@media (max-width: 768px) {
    /* Navbar adjustments - extra height for animation */
    .navbar {
        padding: 12px 0;
        height: auto;
        min-height: 70px;
        max-height: 80px;
        transition: all 0.3s ease;
    }
    
    /* Navbar mobile - extra height for animation */
    .navbar {
        min-height: 70px;
        max-height: 80px;
        transition: all 0.3s ease;
    }
    
    /* Hero section gap for mobile - extra space for header animation */
    .hero-slider-section {
        margin-top: 80px;
        height: auto !important;
        min-height: calc(100vh - 80px);
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-bottom: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        overflow: visible !important;
    }
    
    .slider-container {
        height: auto !important;
        min-height: calc(100vh - 80px);
    }
    
    /* Hero content grid mobile */
    .hero-content-grid.container {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding-top: 30px !important;
        padding-bottom: 120px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        min-height: auto !important;
        height: auto !important;
    }
    
    .hero-image-column {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .hero-feature-image {
        width: 100% !important;
        height: 250px !important;
        margin: 0 !important;
    }
    
    .hero-text-column {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .hero-text-column .slide-title {
        font-size: 1.9rem !important;
        margin-bottom: 12px !important;
    }
    
    .hero-text-column .slide-desc {
        font-size: 0.9rem !important;
        margin-bottom: 20px !important;
    }
    
    .slider-dots {
        bottom: 20px !important;
    }
    
    .hero-image-column {
        order: -1 !important;
    }
    
    .hero-feature-image {
        height: 280px !important;
        max-width: 100% !important;
    }
    
    .hero-text-column {
        text-align: center !important;
    }
    
    .hero-text-column .slide-title {
        font-size: 2.2rem !important;
    }
    
    .hero-text-column .slide-desc {
        font-size: 0.95rem !important;
    }
    
    .hero-text-column .btn {
        width: 100% !important;
        max-width: 280px !important;
    }
    
    .logo {
        font-size: 1.4rem;
        gap: 12px;
    }
    
    .logo-image-wrapper {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }
    
    .logo-title {
        font-size: 0.7rem;
        margin-bottom: 1px;
    }
    
    .logo-name {
        font-size: 1.1rem;
        min-height: 1.1rem;
    }
    
    .typing-cursor {
        height: 1.1rem;
        width: 2px;
    }
    
    .nav-right {
        gap: 12px;
    }
    
    .theme-toggle {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    /* Mobile sidebar adjustments */
    .mobile-sidebar {
        width: 260px;
        padding: 25px 20px;
    }
    
    .sidebar-link {
        font-size: 1.1rem;
        padding: 12px 0;
    }
    
    /* Section padding adjustments */
    section {
        padding: 60px 0;
    }
    
    .section-padding {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    
    /* Section spacing adjustments */
    .section-spacing {
        margin-top: 30px;
    }
    
    .section-spacing-bottom {
        margin-bottom: 30px;
    }
    
    .section-spacing-bottom-small {
        margin-bottom: 25px;
    }
    
    .section-inner-spacing {
        margin-top: 40px;
    }
    
    .center-text {
        margin-bottom: 40px;
    }
    
    /* Grid adjustments */
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    /* For very small screens, make it single column */
    @media (max-width: 480px) {
        .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
            gap: 15px;
        }
    }
    
    /* Section header adjustments */
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    /* Card adjustments */
    .info-card,
    .research-card {
        padding: 20px 15px;
        margin-bottom: 0;
    }
    
    .info-card h3,
    .research-card h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
        line-height: 1.3;
    }
    
    .info-card p,
    .research-card p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    /* For very small screens, adjust card padding */
    @media (max-width: 480px) {
        .info-card,
        .research-card {
            padding: 25px 20px;
        }
        
        .info-card h3,
        .research-card h3 {
            font-size: 1.2rem;
        }
        
        .info-card p,
        .research-card p {
            font-size: 0.9rem;
        }
    }
    
    /* Split layout adjustments */
    .split-layout {
        gap: 40px;
        grid-template-columns: 1fr;
    }
    
    /* Text content adjustments */
    .text-content {
        text-align: center;
    }
    
    .text-content h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
        line-height: 1.3;
    }
    
    .text-content h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
        line-height: 1.4;
    }
    
    .text-content p {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 15px;
        text-align: left;
    }
    
    .text-content .feature-list {
        text-align: left;
        margin: 20px 0;
    }
    
    .text-content .btn {
        width: 100%;
        justify-content: center;
        margin-top: 20px;
    }
    
    .image-content {
        order: -1;
        margin-bottom: 30px;
    }
    
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
    }
    
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
    }
    
    /* Profile image adjustments */
    .profile-image-frame {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .profile-placeholder-large {
        height: 300px;
    }
    
    /* Timeline adjustments */
    .timeline {
        margin-left: 15px;
        padding-left: 20px;
    }
    
    .timeline-item {
        padding-left: 25px;
        margin-bottom: 30px;
    }
    
    .timeline-year {
        font-size: 0.85rem;
    }
    
    .timeline-item h3 {
        font-size: 1.2rem;
    }
    
    /* Contact grid adjustments */
    .contact-grid {
        gap: 30px;
        grid-template-columns: 1fr;
    }
    
    .contact-info-card {
        padding: 30px 20px;
    }
    
    .contact-info-card h2 {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }
    
    .contact-detail {
        margin-bottom: 25px;
    }
    
    .contact-detail i {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .form-box {
        padding: 30px 20px;
    }
    
    .input-group {
        margin-bottom: 18px;
    }
    
    .input-field {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    /* Button adjustments */
    .btn {
        padding: 12px 25px;
        font-size: 0.85rem;
    }
    
    /* CTA section adjustments */
    .section-cta {
        margin-top: 30px;
    }
    
    .section-cta-wrapper {
        padding: 50px 15px;
    }
    
    .section-cta-wrapper h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .section-cta-text {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .section-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Feature list adjustments */
    .feature-list {
        margin: 20px 0 30px;
        padding-left: 0;
    }
    
    .feature-list li {
        font-size: 0.95rem;
        margin-bottom: 15px;
        padding-left: 35px;
        line-height: 1.6;
    }
    
    .feature-list li i {
        font-size: 1rem;
        left: 0;
        width: 25px;
        height: 25px;
    }
    
    /* Publication timeline adjustments */
    .publication-timeline::before {
        left: 20px;
        width: 3px;
    }
    
    .year-group {
        width: 100%;
        left: 0 !important;
        padding-left: 60px !important;
        padding-right: 15px !important;
        text-align: left !important;
        margin-bottom: 40px;
    }
    
    .year-group::before {
        left: 8px !important;
        right: auto !important;
        width: 16px;
        height: 16px;
        border-width: 3px;
    }

    .year-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
        padding: 12px 20px;
        float: none !important;
    }

    .paper-item {
        padding: 20px 18px;
        margin-bottom: 18px;
        border-radius: 12px;
    }

    .paper-number {
        width: 42px;
        height: 42px;
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .paper-item h4 {
        font-size: 1.05rem;
        margin-bottom: 10px;
        line-height: 1.5;
    }
    
    .journal-name {
        font-size: 0.9rem;
        margin-bottom: 12px;
        line-height: 1.5;
    }
    
    .paper-link {
        font-size: 0.85rem;
    }
    
    /* Badge adjustments */
    .badge {
        font-size: 0.75rem;
        padding: 5px 12px;
    }
    
    /* Read more link adjustments */
    .read-more {
        font-size: 0.9rem;
    }
    
    /* Footer adjustments */
    footer {
        padding: 50px 0 25px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
        margin-bottom: 35px;
    }
    
    .footer-logo {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-profile-img {
        width: 70px;
        height: 70px;
        margin: 0 auto;
    }
    
    .footer-title h3 {
        font-size: 1.3rem;
        text-align: center;
    }
    
    .footer-designation {
        text-align: center;
        font-size: 0.95rem;
    }
    
    .footer-university {
        text-align: center;
        font-size: 0.9rem;
    }
    
    .footer-description {
        text-align: center;
        font-size: 0.85rem;
    }
    
    .footer-heading {
        font-size: 1.2rem;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .footer-contact-item i {
        margin: 0 auto;
    }
    
    .footer-contact-item div {
        text-align: center;
    }
    
    .footer-nav {
        text-align: center;
    }
    
    .footer-nav a {
        justify-content: center;
    }
    
    .footer-social-section {
        align-items: center;
    }
    
    .footer-social {
        justify-content: center;
        gap: 10px;
    }
    
    .footer-social-btn {
        width: 45px;
        height: 45px;
    }
    
    .footer-email-btn {
        width: auto;
        padding: 0 18px;
    }
    
    .footer-achievements {
        align-items: center;
    }
    
    .footer-achievement-item {
        width: 100%;
        justify-content: center;
    }
    
    .footer-bottom-content {
        gap: 8px;
    }
    
    .footer-bottom {
        font-size: 0.85rem;
        padding-top: 25px;
        margin-top: 30px;
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
    }
    
    .footer-powered {
        font-size: 0.8rem;
    }
    
    /* Page title adjustments */
    .page-title {
        font-size: 2rem;
    }
    
    /* Breadcrumb nav adjustments */
    .breadcrumb-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    /* Slider dots adjustments */
    .slider-dots {
        bottom: 30px;
        gap: 12px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    /* Mobile flip card - no animations */
    .flip-card-inner {
        transform: none !important;
        opacity: 1 !important;
    }
    
    /* Publication year title adjustments */
    .year-title {
        font-size: 1.8rem;
    }
    
    /* Ensure all sections have proper spacing */
    section.container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Hero slider content adjustments */
    .slide-content {
        padding: 0 20px;
    }
}

/* Gallery Styles */
.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 12px 30px;
    background: var(--card-bg);
    border: var(--glass-border);
    color: var(--text-main);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.95rem;
    box-shadow: var(--shadow-default);
}

.filter-btn:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.filter-btn.active {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 5px 20px rgba(37, 99, 235, 0.4);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: var(--shadow-default);
    border: var(--glass-border);
    background: var(--card-bg);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3);
}

.gallery-image {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 aspect ratio */
    overflow: hidden;
}

.gallery-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.85) 0%, rgba(124, 58, 237, 0.85) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 3rem;
    color: white;
    margin-bottom: 15px;
    transform: scale(0.8);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

.gallery-overlay p {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    padding: 0 20px;
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: lightboxFadeIn 0.3s ease-out;
}

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

.lightbox-caption {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px 30px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg) scale(1.1);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 3rem;
    cursor: pointer;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    backdrop-filter: blur(10px);
    user-select: none;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

/* Gallery Pagination */
.gallery-pagination-wrapper {
    margin-top: 40px;
    margin-bottom: 60px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 0;
}

.gallery-pagination {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    background: var(--card-bg);
    padding: 18px 28px;
    border-radius: 15px;
    box-shadow: var(--shadow-default);
    border: var(--glass-border);
}

.pagination-btn {
    padding: 12px 18px;
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    min-width: 48px;
    height: 48px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
}

.pagination-btn.pagination-nav {
    min-width: 48px;
    padding: 12px;
    font-size: 1.1rem;
}

.pagination-btn.pagination-number {
    min-width: 48px;
    font-size: 1.05rem;
}

.pagination-btn:hover:not(.disabled):not(.active) {
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    border-color: transparent;
}

.pagination-btn.active {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
    cursor: default;
    font-weight: 600;
}

.pagination-btn.disabled {
    background: transparent;
    color: #cbd5e1;
    cursor: not-allowed;
    opacity: 0.5;
    border-color: #e2e8f0;
}

.pagination-btn.disabled:hover {
    transform: none;
    box-shadow: none;
    background: transparent;
    color: #cbd5e1;
}

.pagination-dots {
    padding: 12px 8px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    min-width: 24px;
    height: 48px;
}

/* Gallery Responsive */
@media (max-width: 768px) {
    .gallery-filter {
        gap: 10px;
        margin-bottom: 30px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
        margin-top: 30px;
    }

    .gallery-pagination-wrapper {
        margin-top: 50px;
        margin-bottom: 40px;
        padding: 20px 10px;
    }

    .gallery-pagination {
        padding: 15px 20px;
        gap: 8px;
    }

    .pagination-btn {
        padding: 10px 14px;
        font-size: 0.95rem;
        min-width: 42px;
        height: 42px;
    }

    .pagination-btn.pagination-nav {
        min-width: 42px;
        padding: 10px;
        font-size: 1rem;
    }

    .pagination-btn.pagination-number {
        min-width: 42px;
        font-size: 1rem;
    }

    .pagination-dots {
        padding: 10px 6px;
        font-size: 1rem;
    }

    .lightbox-image {
        max-width: 95%;
        max-height: 80vh;
    }

    .lightbox-close {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

    .lightbox-prev {
        left: 15px;
    }

    .lightbox-next {
        right: 15px;
    }

    .lightbox-caption {
        bottom: 20px;
        font-size: 1rem;
        padding: 12px 20px;
    }
}