/* ========================================
   DESIGN TOKENS & CSS VARIABLES
   ======================================== */
:root {
    /* Colors */
    --bg-primary: #0a0e1a;
    --bg-secondary: #0f1525;
    --bg-tertiary: #151c30;
    --bg-card: rgba(15, 21, 37, 0.6);

    --accent-primary: #6c63ff;
    --accent-secondary: #00d4ff;
    --accent-tertiary: #ff6b9d;
    --accent-gradient: linear-gradient(135deg, #6c63ff 0%, #00d4ff 50%, #ff6b9d 100%);
    --accent-gradient-soft: linear-gradient(135deg, rgba(108, 99, 255, 0.15), rgba(0, 212, 255, 0.15));

    --text-primary: #e8eaf6;
    --text-secondary: #9da5b4;
    --text-muted: #5c6370;
    --text-accent: #6c63ff;

    --glass-bg: rgba(15, 21, 37, 0.65);
    --glass-border: rgba(108, 99, 255, 0.15);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);

    /* Spacing */
    --section-padding: 120px 0;
    --container-width: 1200px;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

/* ========================================
   LIGHT THEME OVERRIDES
   ======================================== */
[data-theme="light"] {
    --bg-primary: #f5f7fb;
    --bg-secondary: #eaecf2;
    --bg-tertiary: #dfe2ea;
    --bg-card: rgba(255, 255, 255, 0.7);

    --accent-primary: #5b52e0;
    --accent-secondary: #0099cc;
    --accent-tertiary: #e05585;
    --accent-gradient: linear-gradient(135deg, #5b52e0 0%, #0099cc 50%, #e05585 100%);
    --accent-gradient-soft: linear-gradient(135deg, rgba(91, 82, 224, 0.1), rgba(0, 153, 204, 0.1));

    --text-primary: #1a1e2e;
    --text-secondary: #4a5068;
    --text-muted: #7f8598;
    --text-accent: #5b52e0;

    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(91, 82, 224, 0.15);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* Light theme — specific overrides */
[data-theme="light"] #particles-canvas {
    opacity: 0.35;
}

[data-theme="light"] .navbar.scrolled {
    background: rgba(245, 247, 251, 0.88);
    border-bottom-color: rgba(91, 82, 224, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .hero-bg-image {
    opacity: 0.12;
}

[data-theme="light"] .hero::after {
    background: linear-gradient(transparent, var(--bg-primary));
}

[data-theme="light"] .section--dark {
    background: var(--bg-secondary);
}

[data-theme="light"] .skill-tag {
    background: rgba(91, 82, 224, 0.06);
    border-color: rgba(91, 82, 224, 0.18);
}

[data-theme="light"] .skill-tag[data-level="expert"] {
    background: rgba(91, 82, 224, 0.1);
    border-color: rgba(91, 82, 224, 0.35);
}

[data-theme="light"] .skill-tag[data-level="certified"] {
    background: rgba(0, 153, 204, 0.08);
    border-color: rgba(0, 153, 204, 0.3);
}

[data-theme="light"] .timeline::before {
    background: linear-gradient(180deg, var(--accent-primary), rgba(91, 82, 224, 0.15));
}

[data-theme="light"] .timeline-tech span {
    background: rgba(91, 82, 224, 0.07);
    border-color: rgba(91, 82, 224, 0.2);
}

[data-theme="light"] .timeline-badge.current {
    background: rgba(0, 153, 204, 0.1);
    border-color: rgba(0, 153, 204, 0.25);
}

[data-theme="light"] .timeline-badge:not(.current) {
    background: rgba(91, 82, 224, 0.06);
    border-color: rgba(91, 82, 224, 0.12);
}

[data-theme="light"] .project-tags span {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.08);
    color: var(--text-muted);
}

[data-theme="light"] .project-badge {
    background: rgba(255, 193, 7, 0.12);
    border-color: rgba(255, 193, 7, 0.35);
    color: #b8860b;
}

[data-theme="light"] .award-item:hover {
    border-color: rgba(255, 193, 7, 0.35);
    box-shadow: 0 8px 30px rgba(255, 193, 7, 0.06);
}

[data-theme="light"] .award-icon {
    background: rgba(255, 193, 7, 0.12);
    border-color: rgba(255, 193, 7, 0.3);
    color: #d4a017;
}

[data-theme="light"] .social-icon {
    border-color: rgba(91, 82, 224, 0.2);
    color: var(--text-secondary);
}

[data-theme="light"] .social-icon:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: rgba(91, 82, 224, 0.08);
}

[data-theme="light"] .project-links a {
    border-color: rgba(91, 82, 224, 0.2);
}

[data-theme="light"] .project-links a:hover {
    border-color: var(--accent-primary);
    background: rgba(91, 82, 224, 0.08);
}

[data-theme="light"] .footer {
    border-top-color: rgba(91, 82, 224, 0.1);
}

[data-theme="light"] .nav-link:hover {
    background: rgba(91, 82, 224, 0.06);
}

[data-theme="light"] .btn-outline {
    border-color: rgba(91, 82, 224, 0.35);
}

[data-theme="light"] .btn-outline:hover {
    border-color: var(--accent-primary);
    background: rgba(91, 82, 224, 0.06);
}

[data-theme="light"] .mouse {
    border-color: rgba(91, 82, 224, 0.35);
}

[data-theme="light"] ::selection {
    background: rgba(91, 82, 224, 0.2);
}

/* Light theme — mobile nav panel */
@media (max-width: 768px) {
    [data-theme="light"] .nav-links {
        background: rgba(245, 247, 251, 0.97);
        border-left-color: rgba(91, 82, 224, 0.1);
    }
}

/* ========================================
   THEME TOGGLE BUTTON
   ======================================== */
.theme-toggle {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(108, 99, 255, 0.1);
    border: 1.5px solid rgba(108, 99, 255, 0.25);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    color: var(--text-secondary);
    font-size: 1.1rem;
    flex-shrink: 0;
    overflow: hidden;
    z-index: 1001;
}

.theme-toggle:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: rgba(108, 99, 255, 0.15);
    transform: rotate(15deg);
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.2);
}

/* Icon transitions */
.theme-toggle #theme-icon-moon,
.theme-toggle #theme-icon-sun {
    position: absolute;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Default state (dark theme) — show moon, hide sun */
.theme-toggle #theme-icon-moon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.theme-toggle #theme-icon-sun {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

/* Light theme — show sun, hide moon */
[data-theme="light"] .theme-toggle #theme-icon-moon {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

[data-theme="light"] .theme-toggle #theme-icon-sun {
    opacity: 1;
    transform: rotate(0deg) scale(1);
    color: #f59e0b;
}

[data-theme="light"] .theme-toggle {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
}

[data-theme="light"] .theme-toggle:hover {
    background: rgba(245, 158, 11, 0.18);
    border-color: rgba(245, 158, 11, 0.5);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.2);
}

/* ========================================
   RESET & BASE
   ======================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: none;
}

::selection {
    background: rgba(108, 99, 255, 0.3);
    color: var(--text-primary);
}

a {
    text-decoration: none;
    color: inherit;
    cursor: none;
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   CUSTOM CURSOR
   ======================================== */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

.cursor-follower {
    width: 36px;
    height: 36px;
    border: 2px solid rgba(108, 99, 255, 0.5);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
}

/* ========================================
   PARTICLE CANVAS
   ======================================== */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-base);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(108, 99, 255, 0.1);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
    font-family: var(--font-mono);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.logo-bracket {
    color: var(--accent-primary);
}

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

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(108, 99, 255, 0.08);
}

.nav-link--cta {
    background: var(--accent-primary);
    color: white !important;
    margin-left: 8px;
}

.nav-link--cta:hover {
    background: #5a52e0 !important;
    transform: translateY(-1px);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: none;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all var(--transition-base);
}

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

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

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

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 100px 24px 60px;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    background: url('assets/hero-bg.png') center/cover no-repeat;
    opacity: 0.25;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(transparent, var(--bg-primary));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: var(--container-width);
    width: 100%;
}

.hero-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.hero-avatar {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    border: 3px solid rgba(108, 99, 255, 0.3);
}

.avatar-glow {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.25) 0%, transparent 70%);
    z-index: 0;
    animation: pulse-glow 3s ease-in-out infinite;
}

.avatar-ring {
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    border: 2px dashed rgba(0, 212, 255, 0.3);
    z-index: 1;
    animation: spin-slow 20s linear infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero-text {
    flex: 1;
}

.hero-greeting {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--accent-secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.hero-name {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

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

.hero-titles {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.hero-title-static {
    color: var(--text-secondary);
}

.typewriter {
    color: var(--accent-primary);
    font-family: var(--font-mono);
    font-weight: 600;
}

.typewriter-cursor {
    color: var(--accent-primary);
    animation: blink 0.7s step-end infinite;
    font-weight: 300;
    font-size: 1.4rem;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 580px;
    margin-bottom: 36px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-xl);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all var(--transition-base);
    cursor: none;
    border: none;
    font-family: var(--font-primary);
}

.btn-primary {
    background: var(--accent-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(108, 99, 255, 0.35);
}

.btn-primary:hover {
    background: #5a52e0;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(108, 99, 255, 0.5);
}

.btn-primary i {
    transition: transform var(--transition-base);
}

.btn-primary:hover i {
    transform: translateX(4px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(108, 99, 255, 0.4);
}

.btn-outline:hover {
    border-color: var(--accent-primary);
    background: rgba(108, 99, 255, 0.08);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 18px 44px;
    font-size: 1.05rem;
}

.hero-socials {
    display: flex;
    gap: 14px;
}

.social-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1.5px solid rgba(108, 99, 255, 0.25);
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: all var(--transition-base);
}

.social-icon:hover {
    color: var(--accent-primary);
    border-color: var(--accent-primary);
    background: rgba(108, 99, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.25);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    animation: float 2.5s ease-in-out infinite;
}

.scroll-indicator p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 8px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(108, 99, 255, 0.4);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

.mouse-wheel {
    width: 3px;
    height: 10px;
    background: var(--accent-primary);
    border-radius: 3px;
    margin-top: 8px;
    animation: scroll-wheel 1.5s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(12px);
        opacity: 0;
    }
}

@keyframes float {

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

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ========================================
   SECTION COMMON
   ======================================== */
.section {
    padding: var(--section-padding);
    position: relative;
    z-index: 1;
}

.section--dark {
    background: var(--bg-secondary);
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(108, 99, 255, 0.3), transparent);
    max-width: 300px;
}

.section-number {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--accent-primary);
    font-weight: 500;
}

/* ========================================
   GLASS CARD
   ======================================== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    transition: all var(--transition-base);
}

.glass-card:hover {
    border-color: rgba(108, 99, 255, 0.3);
    box-shadow: 0 12px 40px rgba(108, 99, 255, 0.12);
    transform: translateY(-4px);
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.85;
}

.about-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.about-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.detail-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all var(--transition-base);
}

.detail-card:hover {
    border-color: rgba(108, 99, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.1);
}

.detail-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--accent-gradient-soft);
    color: var(--accent-primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.detail-info h4 {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.detail-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ========================================
   SKILLS SECTION
   ======================================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.skill-category {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition-base);
}

.skill-category:hover {
    border-color: rgba(108, 99, 255, 0.3);
    box-shadow: 0 8px 30px rgba(108, 99, 255, 0.1);
}

.skill-category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.skill-category-header i {
    color: var(--accent-primary);
    font-size: 1.3rem;
}

.skill-category-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
}

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

.skill-tag {
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(108, 99, 255, 0.2);
    background: rgba(108, 99, 255, 0.06);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.skill-tag:hover {
    border-color: var(--accent-primary);
    color: var(--text-primary);
    background: rgba(108, 99, 255, 0.12);
    transform: translateY(-2px);
}

.skill-tag[data-level="expert"] {
    border-color: rgba(108, 99, 255, 0.4);
    background: rgba(108, 99, 255, 0.1);
    color: var(--accent-primary);
}

.skill-tag[data-level="certified"] {
    border-color: rgba(0, 212, 255, 0.4);
    background: rgba(0, 212, 255, 0.08);
    color: var(--accent-secondary);
}

/* ========================================
   EXPERIENCE / TIMELINE
   ======================================== */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-primary), rgba(108, 99, 255, 0.1));
}

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

.timeline-marker {
    position: absolute;
    left: -40px;
    top: 28px;
}

.timeline-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 3px solid var(--accent-primary);
    background: var(--bg-primary);
    position: relative;
}

.timeline-dot::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: var(--accent-primary);
    animation: pulse-glow 2s ease-in-out infinite;
}

.timeline-content {
    padding: 32px;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 12px;
}

.timeline-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

.timeline-company {
    font-size: 1rem;
    color: var(--accent-primary);
    font-weight: 500;
    margin-top: 4px;
}

.timeline-company i {
    margin-right: 6px;
    font-size: 0.85rem;
}

.timeline-badge {
    padding: 4px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-badge.current {
    background: rgba(0, 212, 255, 0.12);
    color: var(--accent-secondary);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.timeline-badge:not(.current) {
    background: rgba(108, 99, 255, 0.08);
    color: var(--text-muted);
    border: 1px solid rgba(108, 99, 255, 0.15);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
}

.timeline-location {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.timeline-location i {
    margin-right: 6px;
}

.timeline-responsibilities {
    list-style: none;
    margin-bottom: 20px;
}

.timeline-responsibilities li {
    padding-left: 24px;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 10px;
    line-height: 1.7;
}

.timeline-responsibilities li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: 700;
}

.timeline-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.timeline-tech span {
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    background: rgba(108, 99, 255, 0.08);
    color: var(--accent-primary);
    border: 1px solid rgba(108, 99, 255, 0.2);
}

/* ========================================
   PROJECTS
   ======================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    padding: 32px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.project-card:hover::before {
    opacity: 1;
}

.project-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--accent-gradient-soft);
    color: var(--accent-primary);
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.project-content {
    flex: 1;
}

.project-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    transition: color var(--transition-fast);
}

.project-card:hover .project-content h3 {
    color: var(--accent-primary);
}

.project-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tags span {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    padding: 3px 10px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.project-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffc107;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.project-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.project-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(108, 99, 255, 0.2);
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: all var(--transition-base);
}

.project-links a:hover {
    color: var(--accent-primary);
    border-color: var(--accent-primary);
    background: rgba(108, 99, 255, 0.1);
    transform: translateY(-2px);
}

/* ========================================
   CERTIFICATIONS
   ======================================== */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.cert-card {
    padding: 28px;
    text-align: center;
}

.cert-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.4rem;
}

.cert-icon.oracle {
    background: rgba(255, 0, 0, 0.1);
    color: #ff4444;
    border: 1px solid rgba(255, 0, 0, 0.2);
}

.cert-icon.azure {
    background: rgba(0, 120, 212, 0.1);
    color: #0078d4;
    border: 1px solid rgba(0, 120, 212, 0.2);
}

.cert-icon.gcp {
    background: rgba(66, 133, 244, 0.1);
    color: #4285f4;
    border: 1px solid rgba(66, 133, 244, 0.2);
}

.cert-icon.ibm {
    background: rgba(0, 98, 255, 0.1);
    color: #0062ff;
    border: 1px solid rgba(0, 98, 255, 0.2);
}

.cert-icon.pm {
    background: rgba(255, 107, 157, 0.1);
    color: var(--accent-tertiary);
    border: 1px solid rgba(255, 107, 157, 0.2);
}

.cert-icon.python {
    background: rgba(55, 118, 171, 0.1);
    color: #3776ab;
    border: 1px solid rgba(55, 118, 171, 0.2);
}

.cert-icon.cisco {
    background: rgba(0, 188, 235, 0.1);
    color: #00bceb;
    border: 1px solid rgba(0, 188, 235, 0.2);
}

.cert-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.cert-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.cert-date {
    display: inline-block;
    margin-top: 10px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-primary);
    opacity: 0.7;
}

/* ========================================
   AWARDS
   ======================================== */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.award-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 28px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.award-item:hover {
    border-color: rgba(255, 193, 7, 0.3);
    box-shadow: 0 8px 30px rgba(255, 193, 7, 0.08);
    transform: translateY(-3px);
}

.award-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
    font-size: 1.3rem;
    flex-shrink: 0;
    border: 1px solid rgba(255, 193, 7, 0.25);
}

.award-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.award-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ========================================
   CONTACT
   ======================================== */
.contact-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.contact-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 48px;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.contact-card {
    padding: 28px 20px;
    text-align: center;
    display: block;
}

.contact-card i {
    font-size: 1.6rem;
    color: var(--accent-primary);
    margin-bottom: 12px;
}

.contact-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    word-break: break-all;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(108, 99, 255, 0.08);
    position: relative;
    z-index: 1;
}

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

.footer strong {
    color: var(--text-secondary);
}

.footer-sub {
    margin-top: 4px;
    font-size: 0.78rem !important;
}

/* ========================================
   REVEAL ANIMATIONS
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.animate-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fade-up 0.8s ease forwards;
}

.animate-text:nth-child(1) {
    animation-delay: 0.1s;
}

.animate-text:nth-child(2) {
    animation-delay: 0.25s;
}

.animate-text:nth-child(3) {
    animation-delay: 0.4s;
}

.animate-text:nth-child(4) {
    animation-delay: 0.55s;
}

.animate-text:nth-child(5) {
    animation-delay: 0.7s;
}

@keyframes fade-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   RESPONSIVE — Tablet landscape
   ======================================== */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .certs-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 36px;
    }

    .hero-avatar {
        width: 200px;
        height: 200px;
    }

    .hero-cta,
    .hero-socials {
        justify-content: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-titles {
        justify-content: center;
    }

    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   RESPONSIVE — Tablet portrait & small devices
   ======================================== */
@media (max-width: 768px) {
    :root {
        --section-padding: 72px 0;
    }

    /* Hide custom cursor on touch devices */
    body {
        cursor: auto;
    }

    a,
    .btn,
    button {
        cursor: pointer;
    }

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

    /* ── Navbar mobile ── */
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(300px, 80vw);
        height: 100vh;
        height: 100dvh;
        background: rgba(10, 14, 26, 0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        align-items: stretch;
        padding: 100px 28px 40px;
        gap: 4px;
        transition: right var(--transition-slow);
        border-left: 1px solid rgba(108, 99, 255, 0.12);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
        overflow-y: auto;
        z-index: 1000;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-link {
        font-size: 1.05rem;
        width: 100%;
        padding: 12px 16px;
    }

    .nav-link--cta {
        margin-left: 0;
        margin-top: 16px;
        text-align: center;
        display: flex;
        justify-content: center;
    }

    /* ── Hero mobile ── */
    .hero {
        padding: 90px 20px 60px;
        min-height: 100vh;
        min-height: 100dvh;
    }

    .hero-content {
        gap: 28px;
    }

    .hero-avatar-wrapper {
        order: -1;
    }

    .hero-avatar {
        width: 180px;
        height: 180px;
    }

    .avatar-glow {
        inset: -15px;
    }

    .avatar-ring {
        inset: -8px;
    }

    .hero-greeting {
        font-size: 0.9rem;
    }

    .hero-titles {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 28px;
        line-height: 1.75;
    }

    .hero-cta {
        gap: 12px;
        margin-bottom: 32px;
    }

    .hero-socials {
        gap: 12px;
    }

    .social-icon {
        width: 42px;
        height: 42px;
    }

    /* Hide scroll indicator on mobile to prevent overlap */
    .scroll-indicator {
        display: none;
    }

    /* ── Section common ── */
    .container {
        padding: 0 20px;
    }

    .section-title {
        margin-bottom: 36px;
        font-size: clamp(1.5rem, 5vw, 2rem);
        gap: 12px;
    }

    .section-title::after {
        max-width: 120px;
    }

    .section-number {
        font-size: 0.9rem;
    }

    /* ── About ── */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .about-text p {
        font-size: 0.98rem;
        line-height: 1.8;
    }

    .about-details {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .detail-card {
        padding: 20px;
        gap: 12px;
    }

    .detail-icon {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .detail-info h4 {
        font-size: 1.5rem;
    }

    .detail-info p {
        font-size: 0.8rem;
    }

    /* ── Skills ── */
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .skill-category {
        padding: 24px;
    }

    .skill-tag {
        padding: 6px 14px;
        font-size: 0.82rem;
    }

    /* ── Timeline / Experience ── */
    .timeline {
        padding-left: 32px;
    }

    .timeline::before {
        left: 8px;
    }

    .timeline-marker {
        left: -32px;
    }

    .timeline-dot {
        width: 20px;
        height: 20px;
    }

    .timeline-content {
        padding: 24px;
    }

    .timeline-header {
        flex-direction: column;
        gap: 8px;
    }

    .timeline-header h3 {
        font-size: 1.15rem;
    }

    .timeline-badge {
        font-size: 0.75rem;
        align-self: flex-start;
    }

    .timeline-responsibilities li {
        font-size: 0.9rem;
        padding-left: 20px;
    }

    .timeline-tech span {
        font-size: 0.75rem;
        padding: 3px 12px;
    }

    /* ── Projects ── */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-card {
        padding: 24px;
    }

    .project-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
        margin-bottom: 16px;
    }

    .project-content h3 {
        font-size: 1.08rem;
    }

    .project-content p {
        font-size: 0.88rem;
    }

    /* ── Awards ── */
    .awards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .award-item {
        padding: 24px;
        gap: 16px;
    }

    .award-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    .award-info h4 {
        font-size: 0.98rem;
    }

    .award-info p {
        font-size: 0.85rem;
    }

    /* ── Certifications ── */
    .certs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .cert-card {
        padding: 24px 16px;
    }

    .cert-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .cert-card h4 {
        font-size: 0.88rem;
    }

    .cert-card p {
        font-size: 0.78rem;
    }

    /* ── Contact ── */
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .contact-card {
        padding: 24px 16px;
    }

    .contact-card i {
        font-size: 1.4rem;
    }

    .contact-desc {
        font-size: 1rem;
        margin-bottom: 36px;
    }

    .btn-lg {
        padding: 16px 36px;
        font-size: 1rem;
    }

    /* ── Glass card hover — disable transform on touch ── */
    .glass-card:hover {
        transform: none;
    }

    /* ── Footer ── */
    .footer {
        padding: 32px 0;
    }

    .footer p {
        font-size: 0.82rem;
    }
}

/* ========================================
   RESPONSIVE — Mobile
   ======================================== */
@media (max-width: 480px) {
    :root {
        --section-padding: 60px 0;
    }

    .hero {
        padding: 80px 16px 40px;
    }

    .hero-avatar {
        width: 140px;
        height: 140px;
    }

    .hero-name {
        font-size: clamp(1.8rem, 8vw, 2.2rem);
    }

    .hero-titles {
        font-size: 1rem;
        flex-direction: column;
        gap: 4px;
    }

    .hero-title-static {
        display: block;
    }

    .hero-description {
        font-size: 0.92rem;
        margin-bottom: 24px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

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

    .hero-socials {
        justify-content: center;
    }

    /* About */
    .about-details {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .detail-card {
        padding: 16px;
        gap: 10px;
    }

    .detail-icon {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }

    .detail-info h4 {
        font-size: 1.3rem;
    }

    /* Skills */
    .skill-category {
        padding: 20px;
    }

    .skill-category-header h3 {
        font-size: 1rem;
    }

    .skill-tag {
        padding: 5px 12px;
        font-size: 0.78rem;
    }

    /* Timeline */
    .timeline {
        padding-left: 28px;
    }

    .timeline::before {
        left: 6px;
    }

    .timeline-marker {
        left: -28px;
    }

    .timeline-dot {
        width: 18px;
        height: 18px;
    }

    .timeline-content {
        padding: 20px;
    }

    .timeline-header h3 {
        font-size: 1.05rem;
    }

    .timeline-company {
        font-size: 0.9rem;
    }

    .timeline-item {
        margin-bottom: 28px;
    }

    /* Projects */
    .project-card {
        padding: 20px;
    }

    /* Certifications */
    .certs-grid {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .contact-desc {
        font-size: 0.92rem;
        margin-bottom: 28px;
    }

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

    .btn-lg {
        padding: 14px 32px;
        font-size: 0.95rem;
    }

    /* Section title */
    .section-title {
        margin-bottom: 28px;
    }

    .section-title::after {
        max-width: 80px;
    }

    /* Container */
    .container {
        padding: 0 16px;
    }
}

/* ========================================
   RESPONSIVE — Ultra-narrow (320px)
   ======================================== */
@media (max-width: 360px) {
    .hero-avatar {
        width: 120px;
        height: 120px;
    }

    .hero-name {
        font-size: 1.6rem;
    }

    .hero-titles {
        font-size: 0.9rem;
    }

    .hero-description {
        font-size: 0.85rem;
    }

    .about-details {
        grid-template-columns: 1fr;
    }

    .detail-card {
        justify-content: center;
    }

    .nav-links {
        width: 100vw;
    }

    .timeline {
        padding-left: 24px;
    }

    .timeline::before {
        left: 4px;
    }

    .timeline-marker {
        left: -24px;
    }

    .timeline-dot {
        width: 16px;
        height: 16px;
    }

    .timeline-content {
        padding: 16px;
    }

    .award-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }
}

/* ========================================
   TOUCH DEVICE ENHANCEMENTS
   ======================================== */
@media (hover: none) and (pointer: coarse) {

    /* Disable custom cursor on all touch devices */
    body {
        cursor: auto;
    }

    a,
    button,
    .btn {
        cursor: pointer;
    }

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

    /* Disable hover transform effects that feel janky on mobile */
    .glass-card:hover,
    .detail-card:hover,
    .award-item:hover,
    .skill-tag:hover,
    .social-icon:hover,
    .project-links a:hover {
        transform: none;
    }

    /* Ensure comfortable touch targets (min 44px) */
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .btn {
        min-height: 48px;
    }

    .social-icon {
        min-width: 44px;
        min-height: 44px;
    }
}
/* ========================================
   IMAGE CAROUSEL
   ======================================== */
.gallery-section {
    padding: var(--section-padding);
}

.carousel-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.carousel {
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
    background: var(--bg-tertiary);
    aspect-ratio: 9 / 5;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    flex-shrink: 0;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 22px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 100%);
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.02em;
    pointer-events: none;
}

/* Arrows */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(108, 99, 255, 0.4);
    background: rgba(10, 14, 26, 0.75);
    backdrop-filter: blur(8px);
    color: #e8eaf6;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    opacity: 0.7;
}

.carousel-btn:hover {
    opacity: 1;
    background: rgba(108, 99, 255, 0.25);
    border-color: var(--accent-primary);
    box-shadow: 0 0 16px rgba(108, 99, 255, 0.4);
    color: #fff;
}

.carousel-btn--prev { left: -22px; }
.carousel-btn--next { right: -22px; }

/* Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all var(--transition-base);
    padding: 0;
}

.carousel-dot.active {
    background: var(--accent-primary);
    box-shadow: 0 0 8px rgba(108, 99, 255, 0.6);
    transform: scale(1.3);
}

.carousel-dot:hover:not(.active) {
    background: rgba(108, 99, 255, 0.5);
}

/* Light theme adjustments */
[data-theme="light"] .carousel {
    border-color: rgba(108, 99, 255, 0.2);
}

[data-theme="light"] .carousel-btn {
    background: rgba(255, 255, 255, 0.85);
    color: #333;
    border-color: rgba(108, 99, 255, 0.3);
}

[data-theme="light"] .carousel-btn:hover {
    background: rgba(108, 99, 255, 0.15);
    color: var(--accent-primary);
}

/* Responsive — Tablet */
@media (max-width: 768px) {
    .carousel-wrapper {
        max-width: 100%;
    }

    .carousel {
        aspect-ratio: 16 / 10;
        border-radius: var(--radius-md);
    }

    .carousel-btn--prev { left: 8px; }
    .carousel-btn--next { right: 8px; }

    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
        opacity: 0.85;
        background: rgba(10, 14, 26, 0.65);
    }

    .carousel-caption {
        font-size: 0.8rem;
        padding: 10px 14px;
    }

    .carousel-dots {
        gap: 8px;
        margin-top: 14px;
    }

    .carousel-dot {
        width: 8px;
        height: 8px;
    }
}

/* Responsive — Mobile */
@media (max-width: 480px) {
    .carousel {
        aspect-ratio: 4 / 3;
        border-radius: var(--radius-sm);
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
    }

    .carousel-btn {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
        opacity: 0.9;
    }

    .carousel-btn--prev { left: 6px; }
    .carousel-btn--next { right: 6px; }

    .carousel-caption {
        font-size: 0.72rem;
        padding: 8px 10px;
        letter-spacing: 0;
    }

    .carousel-dots {
        gap: 6px;
        margin-top: 10px;
    }

    .carousel-dot {
        width: 7px;
        height: 7px;
    }

    .carousel-dot.active {
        transform: scale(1.25);
    }
}

/* Responsive — Ultra-narrow */
@media (max-width: 360px) {
    .carousel {
        aspect-ratio: 3 / 2.5;
    }

    .carousel-btn {
        width: 28px;
        height: 28px;
        font-size: 0.65rem;
    }

    .carousel-caption {
        font-size: 0.65rem;
        padding: 6px 8px;
    }
}
