/* ============================================
   Dr. Prince Jain - Portfolio Styles
   Premium Modern Design with Animations
   ============================================ */

/* CSS Variables */
:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --text-color: #2d3436;
    --text-light: #636e72;
    --white: #ffffff;
    --black: #000000;
    --bg-dark: #0a0a0a;
    --bg-light: #f8f9fa;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --shadow-soft: 0 10px 40px rgba(102, 126, 234, 0.15);
    --shadow-hard: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --border-radius: 20px;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: none;
}

::selection {
    background: var(--primary-color);
    color: var(--white);
}

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

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

ul {
    list-style: none;
}

/* ============================================
   Preloader
   ============================================ */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader-inner {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.loader-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gradient-1);
    animation: loaderBounce 1.4s ease-in-out infinite both;
}

.loader-circle:nth-child(1) {
    animation-delay: -0.32s;
}

.loader-circle:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes loaderBounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

.loader-text {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 2s ease-in-out infinite;
}

/* Signature Style for Loader Text */
.loader-text.signature-text {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 2.2rem;
    letter-spacing: 4px;
    text-transform: none;
    background: linear-gradient(135deg, #c9a0dc 0%, #f093fb 50%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    animation: signaturePulse 2.5s ease-in-out infinite;
}

@keyframes signaturePulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.02);
    }
}

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

/* ============================================
   Expertise Tags Below Image (Home Page)
   ============================================ */
.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 25px;
    max-width: 400px;
}

.expertise-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--white);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    animation: tagFloat 3s ease-in-out infinite;
}

.expertise-tag:nth-child(1) {
    animation-delay: 0s;
}

.expertise-tag:nth-child(2) {
    animation-delay: 0.5s;
}

.expertise-tag:nth-child(3) {
    animation-delay: 1s;
}

.expertise-tag:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    border-color: rgba(240, 147, 251, 0.5);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.expertise-tag i {
    color: var(--accent-color);
    font-size: 0.9rem;
}

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

/* ============================================
   Image Typing Effect (Below Profile Image)
   ============================================ */
.image-typing-container {
    margin-top: 25px;
    text-align: center;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 25px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.15) 100%);
    border: 1px solid rgba(240, 147, 251, 0.3);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.2);
    animation: containerGlow 3s ease-in-out infinite;
}

@keyframes containerGlow {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(102, 126, 234, 0.2);
        border-color: rgba(240, 147, 251, 0.3);
    }
    50% {
        box-shadow: 0 8px 40px rgba(240, 147, 251, 0.3);
        border-color: rgba(240, 147, 251, 0.5);
    }
}

.image-typing-text {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 50%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.image-typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1.2em;
    background: linear-gradient(135deg, #f093fb 0%, #667eea 100%);
    margin-left: 3px;
    animation: imageCursorBlink 0.8s ease-in-out infinite;
    vertical-align: middle;
}

/* ============================================
   Top 2% Scientist Badge Below Name
   ============================================ */
.name-badge-container {
    margin: 15px 0 20px;
    display: flex;
    justify-content: flex-start;
}

.top-scientist-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 165, 0, 0.2) 100%);
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffd700;
    backdrop-filter: blur(10px);
    animation: badgeGlow 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

.top-scientist-badge i {
    font-size: 1.1rem;
    color: #ffd700;
    animation: starPulse 1.5s ease-in-out infinite;
}

.top-scientist-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
    border-color: rgba(255, 215, 0, 0.8);
}

@keyframes badgeGlow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
    }
    50% {
        box-shadow: 0 0 25px rgba(255, 215, 0, 0.4);
    }
}

@keyframes starPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.2) rotate(10deg);
    }
}

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

/* ============================================
   Custom Cursor
   ============================================ */
.cursor {
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease;
    mix-blend-mode: difference;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
    opacity: 0.5;
}

.cursor.active {
    transform: scale(2);
}

.cursor-follower.active {
    width: 60px;
    height: 60px;
    opacity: 0.3;
}

/* ============================================
   Particles Background
   ============================================ */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-soft);
    padding: 15px 0;
}

.navbar.scrolled .nav-link {
    color: var(--text-color);
}

.navbar.scrolled .nav-logo .logo-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-logo .logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    font-family: 'Playfair Display', serif;
}

.nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    list-style: none;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    width: 30px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition);
    display: block;
}

.navbar.scrolled .nav-toggle span {
    background: var(--primary-color);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 30px 80px;
    overflow: hidden;
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.floating-shapes span {
    position: absolute;
    display: block;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.05);
    animation: floatUp 25s linear infinite;
    bottom: -150px;
}

.floating-shapes span:nth-child(1) {
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
    animation-duration: 20s;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.floating-shapes span:nth-child(2) {
    left: 10%;
    width: 30px;
    height: 30px;
    animation-delay: 2s;
    animation-duration: 25s;
    border-radius: 10px;
}

.floating-shapes span:nth-child(3) {
    left: 70%;
    width: 50px;
    height: 50px;
    animation-delay: 4s;
    animation-duration: 22s;
    border-radius: 50%;
}

.floating-shapes span:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.1) 0%, rgba(245, 87, 108, 0.1) 100%);
}

.floating-shapes span:nth-child(5) {
    left: 65%;
    width: 25px;
    height: 25px;
    animation-delay: 0s;
    animation-duration: 30s;
    border-radius: 50%;
}

.floating-shapes span:nth-child(6) {
    left: 75%;
    width: 100px;
    height: 100px;
    animation-delay: 3s;
    animation-duration: 20s;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.05) 0%, rgba(0, 242, 254, 0.05) 100%);
}

.floating-shapes span:nth-child(7) {
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
    animation-duration: 35s;
    border-radius: 50%;
}

.floating-shapes span:nth-child(8) {
    left: 50%;
    width: 35px;
    height: 35px;
    animation-delay: 15s;
    animation-duration: 28s;
    border-radius: 10px;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }
    100% {
        transform: translateY(-1200px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-image-container {
    flex-shrink: 0;
}

.hero-image-wrapper {
    position: relative;
    width: 350px;
    height: 350px;
}

@keyframes morphBlob {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
}

.image-border {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 3px solid transparent;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: var(--gradient-1) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: morphBlob 8s ease-in-out infinite, rotateBorder 10s linear infinite;
    z-index: 1;
}

@keyframes rotateBorder {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    filter: blur(60px);
    opacity: 0.4;
    transform: translate(-50%, -50%);
    z-index: 0;
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

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

.hero-greeting {
    color: var(--accent-color);
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--white);
}

.title-line {
    display: block;
    color: var(--white);
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 500;
}

.typing-text {
    color: var(--accent-color);
}

.typing-cursor {
    color: var(--accent-color);
    animation: blink 1s step-end infinite;
    font-weight: 300;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.hero-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-badges {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 0.9rem;
    transition: var(--transition);
}

.badge:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

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

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

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

.btn-primary {
    background: var(--gradient-1);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

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

.btn-outline:hover {
    background: var(--accent-color);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

.hero-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gradient-1);
    border-color: transparent;
    transform: translateY(-5px) rotate(360deg);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-indicator a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    margin: 0 auto 10px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

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

/* ============================================
   Section Styles
   ============================================ */
.section {
    padding: 120px 30px;
    position: relative;
}

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

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 20px;
}

.title-decoration {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.title-decoration::before,
.title-decoration::after {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--gradient-1);
    border-radius: 50%;
}

.title-decoration::before {
    width: 40px;
    border-radius: 5px;
}

/* ============================================
   About Section
   ============================================ */
.about {
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-image {
    position: relative;
}

.about-img-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-hard);
}

.about-img-wrapper img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

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

.about-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.about-img-wrapper:hover .about-img-overlay {
    opacity: 0.2;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

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

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.about-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border-left: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

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

.about-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hard);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 20px;
    overflow: hidden;
}

.card-icon .university-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    background: white;
    border-radius: 12px;
}

.about-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.about-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ============================================
   Experience Timeline
   ============================================ */
.experience {
    background: var(--white);
}

.timeline-container {
    position: relative;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--gradient-1);
    border-radius: 2px;
}

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

.timeline-item:nth-child(odd) {
    padding-right: 60px;
    text-align: right;
}

.timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-left: 60px;
}

.timeline-dot {
    position: absolute;
    top: 0;
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    box-shadow: 0 0 0 5px var(--bg-light);
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -25px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -25px;
}

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

.timeline-content:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hard);
}

.timeline-date {
    display: inline-block;
    padding: 5px 15px;
    background: var(--gradient-1);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.timeline-content h3 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 5px;
}

.timeline-content h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 500;
}

.timeline-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ============================================
   Research Section
   ============================================ */
.research {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
}

.research .section-subtitle {
    color: var(--accent-color);
}

.research .section-title {
    color: var(--white);
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.research-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.research-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.research-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary-color);
}

.research-card:hover::before {
    opacity: 0.1;
}

.research-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--white);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

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

.research-card h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.research-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: var(--gradient-1);
    filter: blur(100px);
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.5s ease;
}

.research-card:hover .card-glow {
    opacity: 0.3;
}

/* ============================================
   Publications Section
   ============================================ */
.publications {
    background: var(--bg-light);
}

.publications-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.pub-stat-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 25px;
    transition: var(--transition);
}

.pub-stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hard);
}

.pub-stat-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    flex-shrink: 0;
}

.pub-stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.pub-stat-label {
    font-size: 1rem;
    color: var(--text-light);
}

.reviewer-section {
    background: var(--white);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    margin-bottom: 40px;
}

.reviewer-section h3 {
    text-align: center;
    color: var(--text-color);
    margin-bottom: 40px;
    font-size: 1.5rem;
}

.reviewer-section h3 i {
    color: var(--primary-color);
    margin-right: 10px;
}

.publisher-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.publisher-item {
    padding: 15px 30px;
    background: var(--bg-light);
    border-radius: 10px;
    font-weight: 600;
    color: var(--text-color);
    transition: var(--transition);
    border: 2px solid transparent;
}

.publisher-item:hover {
    background: var(--gradient-1);
    color: var(--white);
    transform: translateY(-5px);
}

.research-profiles {
    background: var(--white);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

.research-profiles h3 {
    text-align: center;
    color: var(--text-color);
    margin-bottom: 40px;
    font-size: 1.5rem;
}

.research-profiles h3 i {
    color: var(--primary-color);
    margin-right: 10px;
}

.profile-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.profile-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 35px;
    background: var(--bg-light);
    border-radius: 15px;
    transition: var(--transition);
    text-align: center;
    min-width: 150px;
}

.profile-link:hover {
    background: var(--gradient-1);
    transform: translateY(-10px);
    box-shadow: var(--shadow-hard);
}

.profile-link i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.profile-link:hover i {
    color: var(--white);
}

.profile-link span {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.profile-link:hover span {
    color: var(--white);
}

.profile-link small {
    color: var(--text-light);
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.profile-link:hover small {
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   Skills Section
   ============================================ */
.skills {
    background: var(--white);
}

.skills-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.skills-category {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

.skills-category h3 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.skills-category h3 i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.skill-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.skill-item {
    background: var(--white);
    padding: 25px 20px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.skill-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

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

.skill-item:hover .skill-icon {
    transform: rotateY(180deg);
}

.skill-item span {
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.9rem;
}

/* ============================================
   Gallery Section
   ============================================ */
.gallery {
    background: var(--bg-light);
    padding: 100px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.gallery-overlay i {
    font-size: 2.5rem;
    color: var(--white);
    transform: scale(0.5);
    transition: transform 0.4s ease;
}

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

.gallery-overlay span {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.gallery-note {
    text-align: center;
    margin-top: 40px;
    color: var(--text-light);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.gallery-note i {
    color: var(--primary-color);
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
}

.contact .section-subtitle {
    color: var(--accent-color);
}

.contact .section-title {
    color: var(--white);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-card {
    display: flex;
    gap: 25px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

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

.contact-details h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.contact-details p,
.contact-details a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.8;
}

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

.contact-form-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    padding: 50px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 20px 18px 55px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: var(--white);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

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

.form-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.1rem;
}

.form-group textarea + .form-icon {
    top: 25px;
    transform: none;
}

.btn-submit {
    align-self: flex-start;
    padding: 18px 45px;
}

/* ============================================
   Edited Books Section
   ============================================ */
.books {
    background: linear-gradient(180deg, #0d0d1a 0%, var(--bg-dark) 100%);
}

.books-content {
    max-width: 900px;
    margin: 0 auto;
}

.book-card {
    display: block;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 50px;
    text-align: center;
}

.book-image {
    position: relative;
    height: 100%;
    min-height: 300px;
}

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

.book-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
}

.book-status {
    background: var(--gradient-1);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.book-info {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.book-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 15px;
    line-height: 1.3;
}

.book-publisher {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.book-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 700px;
}

.book-meta {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
}

.book-meta span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.btn-sm {
    padding: 12px 25px;
    font-size: 0.9rem;
    width: fit-content;
}

@media (max-width: 768px) {
    .book-card {
        grid-template-columns: 1fr;
    }
    
    .book-info {
        padding: 30px;
    }
    
    .book-image {
        min-height: 200px;
    }
}

/* ============================================
   Qualifications Section
   ============================================ */
.qualifications {
    background: var(--white);
}

.qualifications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.qualification-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

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

.qualification-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hard);
    border-color: rgba(102, 126, 234, 0.2);
}

.qual-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--white);
}

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

.qual-year {
    display: inline-block;
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.qualification-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ============================================
   Courses Section
   ============================================ */
.courses {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0d0d1a 100%);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.course-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.course-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.course-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    display: block;
}

.course-card h4 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 500;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: linear-gradient(180deg, #0d0d1a 0%, #0a0a0a 100%);
    padding: 80px 30px 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    margin-bottom: 15px;
}

.footer-logo span {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: var(--transition);
}

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

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

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gradient-1);
    transform: translateY(-5px);
}

.footer-bottom {
    padding: 30px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    cursor: pointer;
}

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

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1200px) {
    .hero-content {
        gap: 50px;
    }
    
    .hero-image-wrapper {
        width: 300px;
        height: 300px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    body {
        cursor: auto;
    }
    
    .cursor,
    .cursor-follower {
        display: none;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 0.5s ease;
    }
    
    .nav-menu.active {
        right: 0;
        flex-direction: column;
    }
    
    .nav-menu {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .nav-link {
        font-size: 1.5rem;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-badges,
    .hero-buttons,
    .hero-social {
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }
    
    .timeline-item:nth-child(even) {
        margin-left: 0;
    }
    
    .timeline-dot {
        left: -5px !important;
        right: auto !important;
    }
    
    .research-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .publications-stats {
        grid-template-columns: 1fr;
    }
    
    .skill-items {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .section {
        padding: 80px 20px;
    }
    
    .hero-image-wrapper {
        width: 250px;
        height: 250px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .profile-links {
        gap: 15px;
    }
    
    .profile-link {
        padding: 20px 25px;
        min-width: 130px;
    }
    
    /* Responsive Expertise Tags */
    .expertise-tags {
        gap: 8px;
    }
    
    .expertise-tag {
        padding: 8px 14px;
        font-size: 0.75rem;
    }
    
    /* Responsive Image Typing */
    .image-typing-container {
        padding: 12px 20px;
        max-width: 320px;
    }
    
    .image-typing-text {
        font-size: 0.85rem;
    }
    
    /* Responsive Top Scientist Badge */
    .top-scientist-badge {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    
    .name-badge-container {
        justify-content: center;
    }
    
    /* Responsive Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .research-grid {
        grid-template-columns: 1fr;
    }
    
    .skill-items {
        grid-template-columns: 1fr;
    }
    
    .publisher-logos {
        gap: 10px;
    }
    
    .publisher-item {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
    
    /* Responsive Expertise Tags on Small Screens */
    .expertise-tags {
        flex-direction: column;
        align-items: center;
    }
    
    .expertise-tag {
        width: auto;
        max-width: 100%;
    }
    
    /* Responsive Image Typing on Small Screens */
    .image-typing-container {
        padding: 10px 15px;
        max-width: 280px;
    }
    
    .image-typing-text {
        font-size: 0.8rem;
        letter-spacing: 0.5px;
    }
    
    /* Responsive Badge on Small Screens */
    .top-scientist-badge {
        font-size: 0.75rem;
        padding: 8px 15px;
        text-align: center;
    }
    
    /* Responsive Gallery on Small Screens */
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    /* Signature text on small screens */
    .loader-text.signature-text {
        font-size: 1.6rem;
        letter-spacing: 2px;
    }
}

/* ============================================
   Animation Classes
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Glassmorphism Effect */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Gradient Animations */
@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.animated-gradient {
    background: linear-gradient(-45deg, #667eea, #764ba2, #f093fb, #f5576c);
    background-size: 400% 400%;
    animation: gradientMove 15s ease infinite;
}

/* ============================================
   Additional Section Styles
   ============================================ */

/* Section Dark Theme */
.section-dark {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
}

.section-dark .section-subtitle {
    color: var(--accent-color);
}

.section-dark .section-title {
    color: var(--white);
}

/* Hero Gradient */
.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
    z-index: -1;
}

/* Hero Particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Hero Image Styles */
.hero-image {
    position: relative;
    flex-shrink: 0;
}

.image-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-border {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
    z-index: 1;
}

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

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: var(--gradient-1);
    filter: blur(80px);
    opacity: 0.4;
    transform: translate(-50%, -50%);
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    position: relative;
    z-index: 2;
    border: 5px solid rgba(102, 126, 234, 0.5);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4),
                0 0 100px rgba(102, 126, 234, 0.2);
    background: var(--bg-dark);
}

.badge-container {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.achievement-badge {
    background: var(--gradient-1);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

/* Hero Designation */
.hero-designation {
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    min-height: 35px;
    font-weight: 500;
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.hero-stats .stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stats .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 5px;
}

.hero-stats .stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-arrow {
    animation: scrollArrow 1.5s infinite;
}

@keyframes scrollArrow {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(10px);
        opacity: 0.5;
    }
}

/* About Section Enhancements */
.about-heading {
    font-size: 1.8rem;
    margin-bottom: 20px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-description {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.8;
}

.about-description strong {
    color: var(--text-color);
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.highlight-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 15px;
    align-items: flex-start;
}

.highlight-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.highlight-item h4 {
    color: var(--text-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.highlight-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Research IDs */
.research-ids {
    margin-top: 30px;
    margin-bottom: 30px;
}

.ids-title {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.ids-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.id-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-light);
    border-radius: 50px;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid transparent;
}

.id-badge i {
    color: var(--primary-color);
}

.id-badge:hover {
    background: var(--gradient-1);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-light);
}

.id-badge:hover i {
    color: var(--white);
}

.download-cv {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Image Card */
.image-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-hard);
}

.image-card img {
    width: 100%;
    display: block;
}

.card-decoration {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background: var(--gradient-1);
    border-radius: 50%;
    opacity: 0.3;
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--gradient-1);
    border-radius: 2px;
}

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

.timeline-item:nth-child(odd) {
    padding-right: 60px;
    text-align: right;
}

.timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-left: 60px;
}

.timeline-marker {
    position: absolute;
    top: 0;
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    box-shadow: 0 0 0 5px var(--bg-dark);
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-marker {
    right: -25px;
}

.timeline-item:nth-child(even) .timeline-marker {
    left: -25px;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.timeline-date {
    display: inline-block;
    padding: 5px 15px;
    background: var(--gradient-1);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.timeline-content h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.timeline-content h4 {
    color: var(--accent-color);
    font-size: 1rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* Experience Card Styles */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.experience-card {
    background: var(--white);
    padding: 35px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

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

.experience-card .card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.experience-card .card-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.exp-duration {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
}

.experience-card h3 {
    font-size: 1.2rem;
    color: var(--text-color);
}

.experience-card h4 {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

.experience-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.exp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.exp-tags span {
    padding: 5px 15px;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* Research Card Icon Wrapper */
.card-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--white);
    transition: var(--transition);
}

.research-card:hover .card-icon-wrapper {
    transform: scale(1.1) rotate(10deg);
}

/* Projects Section */
.projects-section {
    margin-top: 80px;
}

.projects-title {
    text-align: center;
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 40px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.project-badge {
    display: inline-block;
    padding: 5px 15px;
    background: var(--gradient-1);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.project-card h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.project-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.project-amount {
    display: inline-block;
    color: var(--accent-color);
    font-size: 1.2rem;
    font-weight: 700;
}

/* Publications Stats */
.publications-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.pub-stat-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: var(--transition);
}

.pub-stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hard);
}

.pub-stat-card .stat-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--white);
    font-size: 1.5rem;
}

.pub-stat-card .stat-info {
    display: flex;
    flex-direction: column;
}

.pub-stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pub-stat-card .stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Publications Breakdown */
.publications-breakdown {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.breakdown-item {
    text-align: center;
    padding: 20px 30px;
    background: var(--bg-light);
    border-radius: 15px;
}

.breakdown-count {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.breakdown-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Recent Publications */
.recent-publications {
    margin-bottom: 40px;
}

.publications-subtitle {
    text-align: center;
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 40px;
}

.publication-item {
    display: flex;
    gap: 25px;
    padding: 25px;
    background: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    align-items: flex-start;
}

.publication-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hard);
}

.pub-year {
    background: var(--gradient-1);
    color: var(--white);
    padding: 10px 15px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.pub-content h4 {
    color: var(--text-color);
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.5;
}

.pub-authors {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.pub-journal {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 500;
}

.pub-journal i {
    margin-right: 8px;
}

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

/* Editorial Section */
.editorial-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

.editorial-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.editorial-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

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

/* Editorial Logo Wrapper for Journal Logos */
.editorial-logo-link {
    display: block;
    margin-bottom: 20px;
}

.editorial-logo-wrapper {
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.editorial-card:hover .editorial-logo-wrapper {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.editorial-logo {
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
    filter: none;
    transition: all 0.3s ease;
}

.editorial-card:hover .editorial-logo {
    filter: brightness(1.1);
}

.editorial-card h3 {
    color: var(--accent-color);
    font-size: 1rem;
    margin-bottom: 10px;
}

.editorial-card h4 {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.journal-if {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

/* Reviewer Section */
.reviewer-section {
    text-align: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.2) 100%);
    padding: 50px;
    border-radius: var(--border-radius);
    margin-top: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.reviewer-title {
    color: #f093fb;
    font-size: 1.6rem;
    margin-bottom: 10px;
    font-weight: 600;
    text-shadow: 0 0 20px rgba(240, 147, 251, 0.3);
}

.reviewer-title.clickable {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.15) 0%, rgba(102, 126, 234, 0.15) 100%);
    border: 2px solid rgba(240, 147, 251, 0.4);
    border-radius: 50px;
    transition: all 0.4s ease;
}

.reviewer-title.clickable:hover {
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.3) 0%, rgba(102, 126, 234, 0.3) 100%);
    border-color: #f093fb;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(240, 147, 251, 0.3);
}

.reviewer-title.clickable i {
    transition: transform 0.3s ease;
}

.reviewer-title.clickable:hover i {
    transform: translateX(5px);
}

.reviewer-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-bottom: 30px;
    font-style: italic;
}

.reviewer-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.publisher-tag {
    padding: 12px 28px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    border: 1px solid rgba(240, 147, 251, 0.4);
    border-radius: 25px;
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.publisher-tag:hover {
    background: var(--gradient-1);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    border-color: transparent;
}

/* Patents Section */
.patents {
    background: var(--bg-light);
}

.patents .section-title {
    color: var(--text-color);
}

.patents .section-subtitle {
    color: var(--primary-color);
}

.patents-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.patent-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

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

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

.patent-card h4 {
    color: var(--text-color);
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.patent-number {
    display: block;
    color: var(--text-light);
    font-size: 0.8rem;
    margin-bottom: 5px;
}

.patent-date {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
}

/* Awards Section */
.awards {
    background: var(--white);
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.award-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: var(--transition);
    position: relative;
}

.award-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hard);
    border-color: var(--primary-color);
}

.award-card.featured {
    background: var(--gradient-1);
    border: none;
}

.award-card.featured .award-icon {
    background: rgba(255, 255, 255, 0.2);
}

.award-card.featured h3,
.award-card.featured p {
    color: var(--white);
}

.award-ribbon {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 40px;
    height: 40px;
    background: gold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-size: 1rem;
}

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

.award-card h3 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

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

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.skill-category {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

.skill-category h3 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.skill-category h3 i {
    color: var(--primary-color);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tags span {
    padding: 8px 18px;
    background: var(--white);
    border-radius: 25px;
    font-size: 0.9rem;
    color: var(--text-color);
    transition: var(--transition);
    border: 2px solid transparent;
}

.skill-tags span:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

.contact-info h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-info > p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

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

.contact-details h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 5px;
}

.contact-details p,
.contact-details a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
}

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

.contact-social {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--gradient-1);
    transform: translateY(-5px);
}

/* Contact Form */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form .form-group {
    position: relative;
    margin-bottom: 25px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--white);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

.contact-form label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    transition: var(--transition);
}

.contact-form textarea + label {
    top: 20px;
    transform: none;
}

.contact-form input:focus + label,
.contact-form input:valid + label,
.contact-form textarea:focus + label,
.contact-form textarea:valid + label {
    top: -10px;
    left: 15px;
    font-size: 0.8rem;
    background: #16213e;
    padding: 0 8px;
    color: var(--primary-color);
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.contact-form input:focus ~ .form-line,
.contact-form textarea:focus ~ .form-line {
    width: 100%;
}

.btn-submit {
    width: 100%;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

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

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
}

/* Additional Responsive Styles */
@media (max-width: 1200px) {
    .experience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .publications-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .editorial-grid,
    .patents-grid,
    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .experience-grid,
    .editorial-grid,
    .patents-grid,
    .awards-grid,
    .skills-grid,
    .projects-grid,
    .qualifications-grid {
        grid-template-columns: 1fr;
    }
    
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .publications-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }
    
    .timeline-item:nth-child(even) {
        margin-left: 0;
    }
    
    .timeline-marker {
        left: -5px !important;
        right: auto !important;
    }
    
    .image-wrapper {
        width: 250px;
        height: 250px;
        margin: 0 auto;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-links {
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .publications-stats {
        grid-template-columns: 1fr;
    }
    
    .publications-breakdown {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Publications Modal
   ============================================ */
.publications-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    overflow-y: auto;
    backdrop-filter: blur(10px);
    cursor: auto !important;
}

.publications-modal * {
    cursor: auto !important;
}

.publications-modal .modal-close,
.publications-modal .pub-item,
.publications-modal a {
    cursor: pointer !important;
}

.publications-modal.active {
    display: block;
}

.modal-content {
    max-width: 1000px;
    margin: 30px auto;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(102, 126, 234, 0.3);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: var(--gradient-1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h2 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--gradient-1);
    border-radius: 10px;
}

.pub-category {
    margin-bottom: 40px;
}

.pub-category-title {
    color: var(--accent-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(240, 147, 251, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pub-note {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pub-note i {
    color: var(--primary-color);
}

.pub-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pub-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px 20px;
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    line-height: 1.7;
    transition: all 0.3s ease;
    cursor: pointer !important;
}

.pub-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-left-color: var(--accent-color);
    transform: translateX(5px);
}

.pub-item a {
    color: inherit;
    text-decoration: none;
    display: block;
    cursor: pointer !important;
}

.pub-item a:hover {
    color: inherit;
}

.pub-link-icon {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 10px;
    padding: 3px 10px;
    background: var(--gradient-1);
    border-radius: 15px;
    font-size: 0.75rem;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pub-item:hover .pub-link-icon {
    opacity: 1;
}

.pub-item strong {
    color: #ffd700;
}

.pub-item em {
    color: var(--accent-color);
}

.pub-num {
    color: var(--primary-color);
    font-weight: 700;
    margin-right: 8px;
}

/* ============================================
   Book Chapter Styling
   ============================================ */
.book-chapter-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-1);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.book-authors {
    color: #ffd700;
    font-size: 1rem;
    margin-bottom: 15px;
}

.book-isbn {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.book-isbn i,
.book-publisher i {
    color: var(--accent-color);
    margin-right: 8px;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        margin: 15px;
        border-radius: 15px;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-header h2 {
        font-size: 1.2rem;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .pub-item {
        font-size: 0.85rem;
        padding: 12px 15px;
    }
}
/* make modal content a positioning context */
.image-modal-content {
    position: relative;
}

/* navigation arrows */
.image-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 2rem;
    padding: 8px 14px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    transition: background 0.3s ease, transform 0.3s ease;
}

.image-modal-nav.prev {
    left: 10px;
}

.image-modal-nav.next {
    right: 10px;
}

.image-modal-nav:hover {
    background: rgba(240, 147, 251, 0.8);
    transform: translateY(-50%) scale(1.05);
}

/* image counter */
.modal-counter {
    display: inline-block;
    margin-left: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

