/* ============================================
   DENTAL PORTFOLIO - UNIQUE DESIGN
   Maninderdeep Kaur - Doctor of Dental Surgery
   ============================================ */

/* CSS Variables */
:root {
    --bg-dark: #0a0a0a;
    --bg-darker: #000000;
    --bg-card: #111111;
    --text-light: #ffffff;
    --text-muted: #666666;
    --accent: #00d9a5;
    --accent-glow: rgba(0, 217, 165, 0.15);
    --accent-secondary: #00b388;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Timing variables */
    --transition-fast: 0.3s;
    --transition-normal: 0.5s;
    --transition-slow: 0.8s;
}

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-smooth iframe {
    pointer-events: none;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    cursor: none;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Animated Gradient Background */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, var(--accent-glow), transparent),
        radial-gradient(ellipse 60% 40% at 100% 100%, rgba(0, 179, 136, 0.08), transparent);
    pointer-events: none;
    z-index: -1;
}

/* Subtle Grid Pattern */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: -1;
}

/* Hide Scrollbar (WebKit) */
::-webkit-scrollbar {
    display: none;
}

/* Skip Link (Accessibility) */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--bg-dark);
    padding: 1rem 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    z-index: 10000;
    border-radius: 0 0 4px 4px;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: none;
}

/* Focus Visible States (Accessibility) */
*:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
.cta-button:focus-visible,
.nav-link:focus-visible,
.contact-email:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

/* Scroll Progress - Vertical Line on Right */
.scroll-progress {
    position: fixed;
    top: 0;
    right: 0;
    width: 3px;
    height: 0%;
    background: linear-gradient(180deg, var(--accent), var(--accent-secondary));
    z-index: 10001;
    transition: height 0.1s ease-out;
}

/* Dark Mode Toggle */
.theme-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    backdrop-filter: blur(20px);
}

.theme-toggle:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.1) rotate(180deg);
}

.theme-toggle .sun-icon {
    display: none;
    color: var(--text-light);
}

.theme-toggle .moon-icon {
    display: block;
    color: var(--text-light);
}

/* Light Theme */
body.light-mode {
    --bg-dark: #ffffff;
    --bg-darker: #f5f5f5;
    --bg-card: #ffffff;
    --text-light: #111111;
    --text-muted: #555555;
}

body.light-mode::before {
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 217, 165, 0.08), transparent),
        radial-gradient(ellipse 60% 40% at 100% 100%, rgba(0, 179, 136, 0.05), transparent);
}

body.light-mode::after {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
}

body.light-mode .nav {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .theme-toggle .sun-icon {
    display: block;
}

body.light-mode .theme-toggle .moon-icon {
    display: none;
}

body.light-mode .theme-toggle {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

body.light-mode .cursor {
    filter: invert(1);
}

body.light-mode .marquee-content span {
    color: rgba(0, 0, 0, 0.06);
}

body.light-mode .stat-item,
body.light-mode .expertise-card,
body.light-mode .intro-quote {
    background: #f8f8f8;
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .hero-image {
    filter: grayscale(50%) contrast(1.05);
}

body.light-mode .image-overlay {
    background: radial-gradient(ellipse at center,
            transparent 20%,
            #ffffff 80%);
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-muted);
    transition: all 0.4s var(--ease-out-expo);
}

.social-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-dark);
    transform: translateY(-4px);
}

/* Custom Cursor - Morphing Blob */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

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

.cursor-follower.hovering {
    width: 70px;
    height: 70px;
    opacity: 0.8;
    border-radius: 20px;
    background: var(--accent-glow);
}

/* Fixed Name - Vertical on Right */
.fixed-name {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    transform-origin: center center;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.name-text {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.name-title {
    font-size: 0.7rem;
    color: var(--accent);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* Navigation - Centered Pill */
.nav {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.6rem 1.5rem;
    z-index: 100;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: fit-content;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-decoration: none;
    position: relative;
    padding: 0.25rem 0.25rem;
    display: inline-block;
    line-height: 1;
    transition: color 0.3s ease;
}

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

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

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

/* ============================================
   HERO SECTION - CENTERED OVERLAY DESIGN
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 8rem 4rem;
    overflow: hidden;
}

.hero-split {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Hero Image - Large Background */
.hero-right {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50vw;
    max-width: 700px;
    z-index: 1;
    opacity: 0.35;
    will-change: transform;
}

.hero-image-wrapper {
    position: relative;
    overflow: visible;
    border-radius: 20px;
}

.hero-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 2s var(--ease-out-expo), filter 1s ease;
    filter: grayscale(100%) contrast(1.1);
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.02);
    filter: grayscale(50%) contrast(1.1);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center,
            transparent 20%,
            var(--bg-dark) 80%);
    pointer-events: none;
}

/* Hero Content - Overlaid */
.hero-left {
    position: relative;
    z-index: 3;
}

.hero-label {
    font-size: 0.8rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.hero-label::before,
.hero-label::after {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--accent);
}

.hero-name {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 12vw, 10rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 2rem;
}

.line-wrapper {
    display: block;
    overflow: hidden;
    position: relative;
}

.line {
    display: block;
    transform: translateY(120%);
    will-change: transform;
}

.hero-tagline {
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-tagline p {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    position: relative;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
}

.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    will-change: transform, opacity;
}

/* Hero Stats - Horizontal Badges */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    position: relative;
    z-index: 3;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 2rem;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* CTA Button - Pill with Glow */
.hero-cta {
    margin-top: 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--bg-dark);
    background: var(--accent);
    text-decoration: none;
    border: none;
    border-radius: 100px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
    box-shadow: 0 0 40px var(--accent-glow);
}

.cta-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.cta-button:hover::before {
    transform: translateX(100%);
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 60px var(--accent-glow);
}

.cta-button span,
.cta-button svg {
    position: relative;
    z-index: 1;
}

/* Scroll Indicator - Side Dot */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.scroll-indicator span {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.scroll-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    animation: scrollPulseH 2s ease-in-out infinite;
}

@keyframes scrollPulseH {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleX(1);
    }

    50% {
        opacity: 1;
        transform: scaleX(1.3);
    }
}

/* ============================================
   INTRO SECTION - FULL WIDTH ASYMMETRIC
   ============================================ */
.intro {
    padding: 12rem 4rem;
    scroll-margin-top: 80px;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6rem;
    max-width: 900px;
    margin: 0 auto;
}

.intro-left {
    display: none;
    /* Hidden - stats moved to hero */
}

.section-label {
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--accent), transparent);
}

.intro-stats {
    display: flex;
    gap: 4rem;
    margin-top: 4rem;
}

.intro-stat {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.intro-stat-number {
    font-family: var(--font-display);
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 600;
    color: var(--text-light);
    line-height: 1;
}

.intro-stat-label {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.intro-headline {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 3rem;
}

.intro-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 1.5rem;
}

/* Intro Quote - Large Feature */
.intro-quote {
    position: relative;
    margin-top: 4rem;
    padding: 3rem;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.intro-quote .quote-mark {
    position: absolute;
    left: 2rem;
    top: 1rem;
    font-family: var(--font-display);
    font-size: 6rem;
    color: var(--accent);
    opacity: 0.2;
    line-height: 1;
    pointer-events: none;
}

.intro-quote p {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-style: italic;
    color: var(--text-light);
    line-height: 1.5;
    padding-left: 3rem;
}

.bio-subtitle {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.bio-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin: 4rem 0;
}

/* ============================================
   HORIZONTAL IMAGES - STAGGERED GALLERY
   ============================================ */
.horizontal-images {
    padding: 8rem 0;
    overflow: hidden;
}

.image-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.track-image {
    position: relative;
    will-change: transform;
    border-radius: 20px;
    overflow: hidden;
}

.track-image:nth-child(2) {
    transform: translateY(4rem);
}

.track-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    filter: grayscale(60%) contrast(1.1);
    transition: all 0.8s var(--ease-out-expo);
}

.track-image:hover img {
    filter: grayscale(0%) contrast(1.05);
    transform: scale(1.05);
}

.image-label {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    backdrop-filter: blur(10px);
}

/* ============================================
   BIOGRAPHY SECTION - SIDE BY SIDE REVERSE
   ============================================ */
.biography {
    padding: 10rem 4rem;
    background: var(--bg-darker);
}

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

.bio-header {
    margin-bottom: 6rem;
    max-width: 800px;
}

.bio-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.15;
    margin-top: 2rem;
}

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

.bio-image-wrapper {
    position: relative;
    overflow: hidden;
    will-change: transform;
    border-radius: 30px;
    order: 2;
    /* Image on right */
}

.bio-image-wrapper::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: conic-gradient(from 0deg, var(--accent), transparent, var(--accent));
    animation: borderRotate 8s linear infinite;
    opacity: 0.3;
    z-index: -1;
}

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

.bio-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 30px;
    filter: grayscale(30%);
    transition: filter 0.6s ease;
}

.bio-image-wrapper:hover .bio-image {
    filter: grayscale(0%);
}

.bio-text-content {
    order: 1;
    /* Text on left */
}

.bio-text {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* ============================================
   EXPERTISE SECTION - HORIZONTAL CARDS
   ============================================ */
.expertise {
    padding: 10rem 4rem;
    scroll-margin-top: 80px;
}

.expertise-header {
    max-width: 600px;
    margin-bottom: 5rem;
}

.expertise-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.15;
    margin-top: 2rem;
}

.expertise-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1200px;
}

.expertise-card {
    display: grid;
    grid-template-columns: auto 1fr 2fr;
    gap: 3rem;
    align-items: start;
    padding: 3rem;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: all 0.5s var(--ease-out-expo);
}

.expertise-card:hover {
    border-color: var(--accent);
    transform: translateX(1rem);
    box-shadow: -20px 0 60px var(--accent-glow);
}

.card-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.3;
    line-height: 1;
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-description {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.card-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.card-list li {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding-left: 1.5rem;
    position: relative;
}

.card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

/* ============================================
   CREDENTIALS SECTION - TIMELINE
   ============================================ */
.credentials {
    padding: 10rem 4rem;
    background: var(--bg-darker);
    scroll-margin-top: 80px;
}

.credentials-container {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    max-width: 900px;
    margin: 0 auto;
}

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

.credentials-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.15;
    margin-top: 2rem;
}

.credentials-right {
    position: relative;
    padding-left: 3rem;
}

.credentials-right::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent), transparent);
}

.credential-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem 0;
    position: relative;
}

.credential-item::before {
    content: '';
    position: absolute;
    left: -3rem;
    top: 2.5rem;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    transform: translateX(-50%);
}

.credential-year {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--accent);
    min-width: 100px;
}

.credential-info h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.credential-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.credential-item.license .credential-year {
    background: var(--accent);
    color: var(--bg-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
}

/* ============================================
   MARQUEE SECTION
   ============================================ */
.marquee-section {
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.marquee {
    overflow: hidden;
}

.marquee-content {
    display: flex;
    gap: 4rem;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.marquee-content span {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.05);
    white-space: nowrap;
    text-transform: uppercase;
}

.marquee-divider {
    color: var(--accent) !important;
    opacity: 0.3;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: 12rem 4rem;
    scroll-margin-top: 80px;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-header {
    margin-bottom: 4rem;
}

.contact-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1;
    margin-top: 2rem;
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.contact-text {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 500px;
}

.contact-email {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: var(--text-light);
    text-decoration: none;
    padding: 1rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    transition: all 0.4s var(--ease-out-expo);
}

.contact-email:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-dark);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 4rem;
    background: var(--bg-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
}

.footer-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.footer-location {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-year {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ============================================
   PRELOADER
   ============================================ */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--bg-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.preloader-name {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    display: flex;
}

.preloader-char {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
}

.preloader-space {
    width: 0.5em;
}

.preloader-progress {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    opacity: 0;
}

.preloader-counter {
    font-family: var(--font-body);
    font-size: 4rem;
    font-weight: 300;
    color: var(--accent);
}

.preloader-percent {
    font-size: 1rem;
    color: var(--text-muted);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero-split {
        padding: 0 2rem;
    }

    .hero-right {
        width: 60vw;
        opacity: 0.3;
    }

    .hero-stats {
        flex-wrap: wrap;
    }

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

    .card-list {
        grid-column: 1 / -1;
        grid-template-columns: 1fr;
    }

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

    .bio-image-wrapper {
        order: 1;
        max-width: 500px;
        margin: 0 auto;
    }

    .bio-text-content {
        order: 2;
    }

    .image-track {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .track-image:nth-child(2) {
        transform: none;
    }
}

@media (max-width: 768px) {
    .nav {
        top: auto;
        bottom: 2rem;
        padding: 0.5rem 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.65rem;
    }

    .fixed-name {
        display: none;
    }

    .hero {
        padding: 6rem 2rem;
    }

    .hero-right {
        width: 90vw;
        opacity: 0.2;
    }

    .hero-tagline {
        flex-direction: column;
        gap: 1rem;
    }

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

    .stat-item {
        width: 100%;
    }

    .intro,
    .biography,
    .expertise,
    .credentials,
    .contact {
        padding: 6rem 2rem;
    }

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

    .card-number {
        font-size: 2rem;
    }

    .scroll-indicator {
        display: none;
    }

    .cursor,
    .cursor-follower {
        display: none;
    }

    body {
        cursor: auto;
    }

    .theme-toggle {
        bottom: 5rem;
    }
}

@media (max-width: 480px) {
    .hero-name {
        font-size: clamp(2.5rem, 15vw, 4rem);
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }

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

    .footer-right {
        align-items: center;
    }
}