/* ===========================
   CSS RESET & ROOT VARIABLES
   =========================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* ---- DARK THEME (default) ---- */
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-glass: rgba(255, 255, 255, 0.04);
    --border-glass: rgba(255, 255, 255, 0.08);

    /* Accent — monochrome whites/greys */
    --accent-primary: #ffffff;
    --accent-secondary: #cccccc;
    --accent-gradient: linear-gradient(135deg, #ffffff 0%, #999999 100%);
    --accent-glow: rgba(255, 255, 255, 0.08);

    /* Text Colors */
    --text-primary: #f0f0f0;
    --text-secondary: #999999;
    --text-muted: #5a5a5a;
    --text-accent: #cccccc;

    /* Card Hover */
    --card-hover-border: rgba(255, 255, 255, 0.15);
    --card-hover-bg: rgba(255, 255, 255, 0.06);
    --card-hover-shadow: rgba(255, 255, 255, 0.03);

    /* Buttons */
    --btn-primary-bg: #ffffff;
    --btn-primary-text: #0a0a0a;
    --btn-primary-shadow: rgba(255, 255, 255, 0.15);
    --btn-primary-hover-shadow: rgba(255, 255, 255, 0.25);

    /* Tags */
    --tag-bg: rgba(255, 255, 255, 0.06);
    --tag-border: rgba(255, 255, 255, 0.1);
    --tag-text: #bbbbbb;

    /* Misc */
    --highlight-icon-bg: rgba(255, 255, 255, 0.06);
    --highlight-icon-border: rgba(255, 255, 255, 0.1);
    --ring-color: rgba(255, 255, 255, 0.15);
    --ring-dot: #ffffff;
    --ring2-color: rgba(150, 150, 150, 0.1);
    --ring2-dot: #999999;
    --image-glow: rgba(255, 255, 255, 0.08);
    --badge-bg: rgba(10, 10, 10, 0.9);
    --scroll-thumb: rgba(255, 255, 255, 0.15);
    --scroll-thumb-hover: rgba(255, 255, 255, 0.3);
    --selection-bg: rgba(255, 255, 255, 0.15);
    --timeline-gradient: linear-gradient(to bottom, #ffffff, #666666, transparent);
    --timeline-dot-border: var(--bg-secondary);
    --project-category-bg: rgba(0, 0, 0, 0.6);
    --social-hover-bg: rgba(255, 255, 255, 0.1);
    --social-hover-border: rgba(255, 255, 255, 0.2);
    --form-focus-bg: rgba(255, 255, 255, 0.04);
    --form-focus-ring: rgba(255, 255, 255, 0.08);
    --form-label-bg: var(--bg-primary);
    --green-dot: #4ade80;

    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
    --font-heading: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;

    /* Spacing */
    --section-padding: 120px 0;
    --container-max: 1200px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
}

/* ---- LIGHT THEME ---- */
[data-theme="light"] {
    --bg-primary: #fafafa;
    --bg-secondary: #f0f0f0;
    --bg-tertiary: #e8e8e8;
    --bg-card: rgba(0, 0, 0, 0.02);
    --bg-glass: rgba(0, 0, 0, 0.03);
    --border-glass: rgba(0, 0, 0, 0.08);

    --accent-primary: #111111;
    --accent-secondary: #444444;
    --accent-gradient: linear-gradient(135deg, #111111 0%, #555555 100%);
    --accent-glow: rgba(0, 0, 0, 0.04);

    --text-primary: #111111;
    --text-secondary: #555555;
    --text-muted: #999999;
    --text-accent: #444444;

    --card-hover-border: rgba(0, 0, 0, 0.12);
    --card-hover-bg: rgba(0, 0, 0, 0.03);
    --card-hover-shadow: rgba(0, 0, 0, 0.06);

    --btn-primary-bg: #111111;
    --btn-primary-text: #ffffff;
    --btn-primary-shadow: rgba(0, 0, 0, 0.15);
    --btn-primary-hover-shadow: rgba(0, 0, 0, 0.3);

    --tag-bg: rgba(0, 0, 0, 0.04);
    --tag-border: rgba(0, 0, 0, 0.08);
    --tag-text: #555555;

    --highlight-icon-bg: rgba(0, 0, 0, 0.04);
    --highlight-icon-border: rgba(0, 0, 0, 0.08);
    --ring-color: rgba(0, 0, 0, 0.1);
    --ring-dot: #333333;
    --ring2-color: rgba(0, 0, 0, 0.06);
    --ring2-dot: #888888;
    --image-glow: rgba(0, 0, 0, 0.05);
    --badge-bg: rgba(255, 255, 255, 0.95);
    --scroll-thumb: rgba(0, 0, 0, 0.15);
    --scroll-thumb-hover: rgba(0, 0, 0, 0.3);
    --selection-bg: rgba(0, 0, 0, 0.12);
    --timeline-gradient: linear-gradient(to bottom, #333333, #aaaaaa, transparent);
    --timeline-dot-border: var(--bg-secondary);
    --project-category-bg: rgba(255, 255, 255, 0.85);
    --social-hover-bg: rgba(0, 0, 0, 0.06);
    --social-hover-border: rgba(0, 0, 0, 0.15);
    --form-focus-bg: rgba(0, 0, 0, 0.02);
    --form-focus-ring: rgba(0, 0, 0, 0.06);
    --form-label-bg: var(--bg-primary);
    --green-dot: #16a34a;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* ===========================
   CURSOR GLOW EFFECT
   =========================== */
.cursor-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

[data-theme="light"] .cursor-glow {
    display: none;
}

/* ===========================
   PARTICLE CANVAS
   =========================== */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ===========================
   UTILITY CLASSES
   =========================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.glass-card:hover {
    border-color: var(--card-hover-border);
    background: var(--card-hover-bg);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px var(--card-hover-shadow);
}

.section {
    padding: var(--section-padding);
    position: relative;
}

/* ===========================
   SECTION HEADERS
   =========================== */
.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

/* ===========================
   THEME TOGGLE
   =========================== */
.theme-toggle {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid var(--border-glass);
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    color: var(--text-primary);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.theme-toggle:hover {
    transform: scale(1.1);
    border-color: var(--card-hover-border);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
    position: absolute;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.theme-toggle .icon-sun {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

.theme-toggle .icon-moon {
    opacity: 1;
    transform: rotate(0) scale(1);
}

[data-theme="light"] .theme-toggle .icon-sun {
    opacity: 1;
    transform: rotate(0) scale(1);
}

[data-theme="light"] .theme-toggle .icon-moon {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

/* ===========================
   NAVIGATION
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-base);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
}

[data-theme="light"] .navbar.scrolled {
    background: rgba(250, 250, 250, 0.88);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.logo-accent {
    background: linear-gradient(135deg, #ffffff 0%, #a8a8a8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

[data-theme="light"] .logo-accent {
    background: linear-gradient(135deg, #111111 0%, #666666 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: var(--highlight-icon-bg);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, -30px);
    }
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--tag-bg);
    border: 1px solid var(--tag-border);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green-dot);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4);
    }

    50% {
        opacity: 0.7;
        box-shadow: 0 0 0 8px rgba(74, 222, 128, 0);
    }
}

.hero-title {
    font-family: var(--font-heading);
    margin-bottom: 20px;
}

.hero-greeting {
    display: block;
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.hero-name {
    display: block;
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    color: var(--text-primary);
}

.name-accent {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-role {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    font-family: var(--font-heading);
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 500;
    color: var(--text-secondary);
    min-height: 36px;
}

.role-line {
    width: 40px;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

.typewriter-cursor {
    animation: blink 1s step-end infinite;
    color: var(--text-muted);
    font-weight: 300;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.hero-description {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-description strong {
    color: var(--text-primary);
    font-weight: 600;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    box-shadow: 0 8px 32px var(--btn-primary-shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px var(--btn-primary-hover-shadow);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
}

.btn-outline:hover {
    border-color: var(--text-muted);
    background: var(--highlight-icon-bg);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-plus {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-secondary);
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-glass);
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-container {
    position: relative;
    width: 380px;
    height: 380px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 300px;
    height: 300px;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    border: 3px solid var(--ring-color);
}

.hero-image-ring {
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    border: 1px solid var(--ring-color);
    animation: rotate-ring 20s linear infinite;
}

.hero-image-ring::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ring-dot);
    box-shadow: 0 0 15px var(--ring-dot);
}

.ring-2 {
    width: 370px;
    height: 370px;
    border-color: var(--ring2-color);
    animation-direction: reverse;
    animation-duration: 25s;
}

.ring-2::before {
    background: var(--ring2-dot);
    box-shadow: 0 0 15px var(--ring2-dot);
}

@keyframes rotate-ring {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero-image-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--image-glow) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 1;
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--badge-bg);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    z-index: 3;
    animation: float-badge 4s ease-in-out infinite;
    white-space: nowrap;
}

.badge-ai {
    top: 40px;
    right: -10px;
    animation-delay: 0s;
}

.badge-ai svg {
    stroke: var(--text-secondary);
}

.badge-ceo {
    bottom: 40px;
    left: -10px;
    animation-delay: 2s;
}

.badge-ceo svg {
    stroke: var(--text-secondary);
}

@keyframes float-badge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 2;
}

.scroll-indicator span {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--text-muted), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {

    0%,
    100% {
        opacity: 0.3;
        height: 50px;
    }

    50% {
        opacity: 1;
        height: 60px;
    }
}

/* ===========================
   ABOUT SECTION
   =========================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.about-highlights {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.highlight-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.highlight-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--highlight-icon-bg);
    border: 1px solid var(--highlight-icon-border);
    color: var(--text-secondary);
}

.highlight-item h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.highlight-item p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Info Card */
.info-card {
    padding: 36px;
    position: sticky;
    top: 100px;
}

.info-card-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-glass);
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(128, 128, 128, 0.08);
}

.info-item:last-of-type {
    margin-bottom: 28px;
}

.info-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.info-value {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 600;
}

/* ===========================
   EXPERTISE SECTION
   =========================== */
.expertise {
    background: var(--bg-secondary);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.expertise-card {
    padding: 36px;
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: var(--transition-base);
}

.expertise-card:hover::before {
    opacity: 1;
}

.expertise-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--highlight-icon-bg);
    color: var(--text-secondary);
    margin-bottom: 24px;
    transition: var(--transition-base);
}

.expertise-card:hover .expertise-icon {
    transform: scale(1.1);
    background: var(--card-hover-bg);
}

.expertise-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.expertise-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.expertise-tags span {
    padding: 5px 14px;
    border-radius: var(--radius-full);
    background: var(--tag-bg);
    border: 1px solid var(--tag-border);
    font-size: 12px;
    font-weight: 500;
    color: var(--tag-text);
}

/* ===========================
   PROJECTS SECTION
   =========================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.project-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    transition: var(--transition-base);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--card-hover-border);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15), 0 0 40px var(--card-hover-shadow);
}

.project-image {
    height: 220px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-icon-large {
    position: relative;
    z-index: 1;
    opacity: 0.6;
    transition: var(--transition-base);
}

.project-card:hover .project-icon-large {
    opacity: 1;
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
}

.project-category {
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: var(--project-category-bg);
    backdrop-filter: blur(10px);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

[data-theme="light"] .project-category {
    color: #333;
}

.project-content {
    padding: 28px;
}

.project-content h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
}

.project-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.project-tech span {
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: var(--tag-bg);
    font-size: 12px;
    font-weight: 500;
    color: var(--tag-text);
}

.project-links {
    display: flex;
    gap: 16px;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.project-link:hover {
    color: var(--text-secondary);
}

/* ========================
   INTERVIEWS (VIDEO) SECTION
   ======================== */
.interviews {
    background: var(--bg-secondary);
}

.interviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.video-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    background: #000;
    cursor: pointer;
    overflow: hidden;
}

.video-container img.video-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.5s ease;
}

.video-card:hover .video-thumb {
    opacity: 1;
    transform: scale(1.05);
}

.youtube-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background-color: rgba(33, 33, 33, 0.8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    z-index: 2;
}

.video-card:hover .youtube-play-btn,
.achieve-card:hover .youtube-play-btn {
    background-color: #ff0000;
}

.youtube-play-btn svg {
    width: 32px;
    height: 32px;
    fill: #fff;
}

.instagram-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(33, 33, 33, 0.8);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.achieve-card:hover .instagram-play-btn {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    transform: translate(-50%, -50%) scale(1.05);
}

.instagram-play-btn svg {
    width: 32px;
    height: 32px;
    stroke: #fff;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-info {
    padding: 24px;
}

.video-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.video-title {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.video-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===========================
   ACHIEVEMENTS GALLERY
   =========================== */
.achievements {
    background: var(--bg-primary);
}

/* Hidden wrapper for toggle */
.achieve-hidden-wrap {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.8s cubic-bezier(0.23, 1, 0.32, 1),
        opacity 0.6s ease;
}

.achieve-hidden-wrap.active {
    max-height: 20000px;
    opacity: 1;
}

.achieve-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.achieve-toggle-btn.hidden {
    display: none;
}

.achieve-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Base Card */
.achieve-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
        box-shadow 0.5s ease;
}

.achieve-card:hover {
    transform: translateY(-8px);
}

.achieve-img-wrap {
    position: relative;
    overflow: hidden;
}

.achieve-img-wrap img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1),
        filter 0.6s ease;
}

.achieve-overlay {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

/* ---------- EFFECT 1: Glow Pulse ---------- */
.achieve-effect-glow:hover {
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.08),
        0 20px 60px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .achieve-effect-glow:hover {
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.06),
        0 20px 60px rgba(0, 0, 0, 0.12);
}

.achieve-effect-glow:hover img {
    transform: scale(1.06);
}

.achieve-effect-glow .achieve-overlay {
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
}

.achieve-effect-glow:hover .achieve-overlay {
    opacity: 1;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* ---------- EFFECT 2: Grayscale to Color Reveal ---------- */
.achieve-effect-reveal img {
    filter: grayscale(80%) contrast(1.1);
}

.achieve-effect-reveal:hover img {
    filter: grayscale(0%) contrast(1);
    transform: scale(1.04);
}

.achieve-effect-reveal .achieve-overlay {
    background: linear-gradient(180deg, transparent 50%, var(--bg-primary) 100%);
    opacity: 0.4;
}

.achieve-effect-reveal:hover .achieve-overlay {
    opacity: 0;
}

/* ---------- EFFECT 3: 3D Tilt with Shine ---------- */
.achieve-effect-tilt {
    perspective: 800px;
}

.achieve-effect-tilt:hover img {
    transform: scale(1.05) rotateY(-3deg);
}

.achieve-effect-tilt .achieve-overlay {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 50%, transparent 100%);
}

.achieve-effect-tilt:hover .achieve-overlay {
    opacity: 1;
}

.achieve-effect-tilt:hover {
    box-shadow: -8px 12px 40px rgba(0, 0, 0, 0.3);
}

/* ---------- EFFECT 4: Animated Border Trace ---------- */
.achieve-effect-border {
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.achieve-effect-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    padding: 2px;
    background: conic-gradient(from 0deg, var(--text-primary), transparent 30%, transparent 70%, var(--text-primary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.achieve-effect-border:hover::before {
    opacity: 0.6;
    animation: borderSpin 3s linear infinite;
}

@keyframes borderSpin {
    to {
        background: conic-gradient(from 360deg, var(--text-primary), transparent 30%, transparent 70%, var(--text-primary));
    }
}

.achieve-effect-border:hover img {
    transform: scale(1.04);
}

/* ---------- EFFECT 5: Zoom Rotate ---------- */
.achieve-effect-zoom:hover img {
    transform: scale(1.12) rotate(1.5deg);
}

.achieve-effect-zoom .achieve-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 50%);
    opacity: 0.3;
}

.achieve-effect-zoom:hover .achieve-overlay {
    opacity: 0.7;
}

.achieve-effect-zoom:hover {
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

/* ===========================
   ACHIEVEMENT QUOTE STYLES
   =========================== */
.achieve-quote {
    padding: 24px 28px;
}

.achieve-quote p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    font-style: italic;
}

/* Style 1: Large floating quote mark */
.achieve-quote-style-1 {
    position: relative;
    padding-top: 36px;
}

.achieve-quote-icon {
    position: absolute;
    top: 8px;
    left: 24px;
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 800;
    color: var(--text-muted);
    opacity: 0.2;
    line-height: 1;
}

.achieve-quote-style-1 p {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 500;
}

/* Style 2: Side accent bar */
.achieve-quote-style-2 {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.achieve-quote-bar {
    width: 3px;
    min-height: 40px;
    background: linear-gradient(to bottom, var(--text-primary), transparent);
    border-radius: 2px;
    flex-shrink: 0;
    margin-top: 4px;
}

.achieve-quote-style-2 p {
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* Style 3: Bold highlight opening */
.achieve-quote-style-3 {
    text-align: center;
    padding: 20px 28px 24px;
}

.achieve-quote-highlight {
    font-family: var(--font-heading);
    font-weight: 700;
    font-style: normal;
    color: var(--text-primary);
    font-size: 18px;
    display: block;
    margin-bottom: 6px;
}

.achieve-quote-style-3 p {
    font-size: 14px;
    font-style: normal;
    color: var(--text-muted);
}

/* Style 4: Centered with dash */
.achieve-quote-style-4 {
    text-align: center;
    padding: 20px 28px 24px;
}

.achieve-quote-style-4 p {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 500;
    font-style: normal;
    line-height: 1.8;
    color: var(--text-secondary);
}

.achieve-quote-dash {
    display: block;
    font-size: 24px;
    color: var(--text-muted);
    margin-top: 8px;
    opacity: 0.5;
}

/* Style 5: Monogram initial */
.achieve-quote-style-5 {
    position: relative;
    padding-left: 56px;
}

.achieve-quote-num {
    position: absolute;
    top: 16px;
    left: 20px;
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 900;
    color: var(--text-muted);
    opacity: 0.12;
    line-height: 1;
}

.achieve-quote-style-5 p {
    font-size: 15px;
    font-weight: 500;
}

/* Responsive Achievements */
@media (max-width: 768px) {
    .achieve-gallery {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .achieve-img-wrap img {
        height: 280px;
    }
}

/* ===========================
   JOURNEY STORY
   =========================== */
.journey {
    background: var(--bg-secondary);
}

/* Teaser Card */
.journey-teaser-content {
    padding: 48px;
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
}

.journey-quote {
    font-family: var(--font-heading);
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 600;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 20px;
}

.journey-teaser-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 28px;
}

.journey-toggle-btn svg {
    transition: transform 0.3s ease;
}

.journey-toggle-btn.active svg {
    transform: rotate(180deg);
}

/* Story Container — hidden by default */
.journey-story {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.5s ease 0.1s,
        margin-top 0.4s ease;
    margin-top: 0;
}

.journey-story.open {
    max-height: 6000px;
    opacity: 1;
    margin-top: 48px;
}

/* Story Sections */
.journey-story-section {
    margin-bottom: 48px;
}

.journey-story-section:last-of-type {
    margin-bottom: 36px;
}

/* CEO Photo */
.journey-photo-hero {
    text-align: center;
    margin-bottom: 16px;
}

.journey-ceo-image {
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-glass);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* Team Photo */
.journey-team-image {
    width: 100%;
    max-width: 600px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-glass);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.team-photo-caption {
    display: block;
    text-align: center;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Chapter Titles */
.journey-chapter-title {
    font-family: var(--font-heading);
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.chapter-number {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 2px;
    padding: 6px 14px;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

/* Story Text */
.journey-story-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 16px;
}

.journey-story-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.journey-story-text em {
    color: var(--text-accent);
}

.journey-highlight-text {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    padding: 24px 0;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    margin: 28px 0;
}

/* Inline Quotes */
.journey-inline-quote {
    font-family: var(--font-heading);
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: 500;
    font-style: italic;
    color: var(--text-primary);
    padding: 24px 32px;
    margin: 20px 0 24px;
    border-left: 3px solid var(--text-muted);
    background: var(--bg-glass);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* Story Quotes Block */
.journey-story-quotes {
    padding: 20px 0 8px 24px;
    border-left: 2px solid var(--border-glass);
    margin: 16px 0 24px;
}

.journey-story-quotes .journey-story-text {
    margin-bottom: 8px;
    font-size: 17px;
}

/* Parents Gallery */
.journey-parents-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 32px 0;
}

.journey-parent-photo {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-glass);
}

.journey-parent-photo img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.journey-parent-photo:hover img {
    transform: scale(1.05);
}

.photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

[data-theme="light"] .photo-caption {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
}

/* Journey Closing */
.journey-closing {
    text-align: center;
    padding: 40px;
    margin-top: 28px;
}

.journey-closing-text {
    font-family: var(--font-heading);
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 500;
    line-height: 1.6;
    color: var(--text-primary);
}

.journey-closing-text strong {
    font-weight: 700;
}

/* Collapse Button */
.journey-collapse-wrap {
    text-align: center;
    margin-top: 24px;
}

/* Responsive Journey */
@media (max-width: 768px) {
    .journey-teaser-content {
        padding: 32px 20px;
    }

    .journey-parents-gallery {
        grid-template-columns: 1fr;
    }

    .journey-parent-photo img {
        height: 280px;
    }

    .journey-inline-quote {
        padding: 16px 20px;
    }
}

/* ===========================
   CONTACT SECTION
   =========================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px;
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--highlight-icon-bg);
    color: var(--text-secondary);
}

.contact-item h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 14px;
    color: var(--text-secondary);
}

.contact-socials {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-base);
}

.social-link:hover {
    background: var(--social-hover-bg);
    border-color: var(--social-hover-border);
    color: var(--text-primary);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 15px;
    color: var(--text-primary);
    transition: var(--transition-base);
    outline: none;
}

.form-input:focus {
    border-color: var(--text-muted);
    background: var(--form-focus-bg);
    box-shadow: 0 0 0 3px var(--form-focus-ring);
}

.form-label {
    position: absolute;
    top: 16px;
    left: 20px;
    font-size: 15px;
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition-base);
}

.form-input:focus~.form-label,
.form-input:not(:placeholder-shown)~.form-label {
    top: -10px;
    left: 16px;
    font-size: 12px;
    color: var(--text-secondary);
    background: var(--form-label-bg);
    padding: 0 6px;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    padding: 60px 0 30px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-glass);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-glass);
    margin-bottom: 30px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 8px;
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ===========================
   SCROLL ANIMATIONS
   =========================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays */
.expertise-grid .animate-on-scroll:nth-child(1) {
    transition-delay: 0.05s;
}

.expertise-grid .animate-on-scroll:nth-child(2) {
    transition-delay: 0.1s;
}

.expertise-grid .animate-on-scroll:nth-child(3) {
    transition-delay: 0.15s;
}

.expertise-grid .animate-on-scroll:nth-child(4) {
    transition-delay: 0.2s;
}

.expertise-grid .animate-on-scroll:nth-child(5) {
    transition-delay: 0.25s;
}

.expertise-grid .animate-on-scroll:nth-child(6) {
    transition-delay: 0.3s;
}

.projects-grid .animate-on-scroll:nth-child(1) {
    transition-delay: 0.05s;
}

.projects-grid .animate-on-scroll:nth-child(2) {
    transition-delay: 0.15s;
}

.projects-grid .animate-on-scroll:nth-child(3) {
    transition-delay: 0.25s;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-description {
        max-width: 600px;
        margin: 0 auto 36px;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image-container {
        width: 320px;
        height: 320px;
    }

    .hero-image {
        width: 260px;
        height: 260px;
    }

    .hero-image-ring {
        width: 290px;
        height: 290px;
    }

    .ring-2 {
        width: 310px;
        height: 310px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .info-card {
        position: static;
    }

    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(30px);
        padding: 100px 32px 32px;
        gap: 4px;
        transition: var(--transition-smooth);
        border-left: 1px solid var(--border-glass);
    }

    [data-theme="light"] .nav-links {
        background: rgba(250, 250, 250, 0.98);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-link {
        width: 100%;
        padding: 14px 20px;
        text-align: left;
        border-radius: var(--radius-md);
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-name {
        letter-spacing: -1px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .floating-badge {
        display: none;
    }

    .cursor-glow {
        display: none;
    }

    .theme-toggle {
        bottom: 20px;
        right: 20px;
        width: 46px;
        height: 46px;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .contact-form {
        padding: 24px;
    }
}

/* ===========================
   SELECTION STYLES
   =========================== */
::selection {
    background: var(--selection-bg);
    color: var(--text-primary);
}

/* ===========================
   SCROLLBAR STYLES
   =========================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--scroll-thumb);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--scroll-thumb-hover);
}