/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    /* Colors */
    --primary: #ffffff;
    --secondary: #afafaf;
    --bg-paper: #F4F4F2;
    --card-bg: #9c9c9c;
    --text-light: #f1f5f9;
    --text-gray: #94a3b8;

    /* Navbar Theme - Professional Dark Theme */
    --navbar-bg: rgba(0, 0, 0, 0.65);
    --navbar-bg-solid: #000000;
    --navbar-text: #ffffff;
    --navbar-text-muted: #a0a0a0;
    --navbar-accent: #ffffff;
    --navbar-border: rgba(255, 255, 255, 0.1);
    --navbar-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    --navbar-backdrop: blur(20px);
    --dropdown-bg: #0a0a0a;
    --dropdown-hover: #1a1a1a;
    --dropdown-border: rgba(255, 255, 255, 0.08);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --navbar-height: 70px;
    --mobile-nav-height: 70px;

    /* Light Theme Colors (for light backgrounds) */
    --light-text: #121212;
    --light-text-muted: #64748b;
    --light-border: rgba(18, 18, 18, 0.2);
    --light-bg: rgba(18, 18, 18, 0.05);
    --light-accent: #bababa;

    /* Gradients */
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-hover: linear-gradient(135deg, var(--secondary), var(--primary));

    /* Button */
    --btn-bg: #222222;
    --btn-text: #ffffff;
    --btn-hover-bg: #404040;
    --btn-hover-text: #ffffff;
    --btn-active-bg: #555555;
    --btn-active-text: #ffffff;
    --btn-border: transparent;
    --btn-radius: 6px;
    --btn-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    --btn-secondary-bg: transparent;
    --btn-secondary-text: #222222;
    --btn-secondary-border: #222222;
    --btn-secondary-hover-bg: #222222;
    --btn-secondary-hover-text: #ffffff;

    /* Shadows */
    --shadow-glow: 0 0 25px rgba(255, 255, 255, 0.15);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-light: 0 4px 20px rgba(18, 18, 18, 0.1);
    --shadow-light-hover: 0 8px 30px rgba(18, 18, 18, 0.15);

    /* Badge Specific */
    --badge-bg: rgba(18, 18, 18, 0.05);
    --badge-border: rgba(18, 18, 18, 0.2);
    --badge-text: #121212;
    --badge-dot: #121212;
    --badge-dot-glow: rgba(18, 18, 18, 0.5);

    /* Border */
    --border-light: white;
    --border-bg: rgb(24, 24, 24);
    --border: rgb(35, 35, 35);

    /* Reflection Opacity */
    --reflection-opacity-start: 0.4;
    --reflection-opacity-end: 0;
    --reflection-falloff: 70%;

    /* Fonts */
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    --font-serif: 'Plus Jakarta Sans', sans-serif;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-carousel-top: 'Plus Jakarta Sans', sans-serif;
    --font-carousel-bottom: 'Plus Jakarta Sans', sans-serif;

    /* Carousel Missing Variables - Fix invisible carousel */
    --bg: var(--bg-paper);
    --text: #121212;
    --sep: #121212;

    /* Grid Layouts Costum */
    --grid-gap: 2rem;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* Icon */
    --icon-size: 64px;
    --gap-size: 40px;
    --hover-lift: -8px;
    --tooltip-bg: #333;
    --tooltip-text: #fff;
}

/* ============================================
   Global Base Style
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    min-height: 100vh;
    background-color: var(--bg-paper);
    color: var(--text-charcoal);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
}

body {
    width: 100%;
    min-height: 100vh;
    background-color: var(--bg-paper);
    color: var(--text-charcoal);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: black;
}

::-webkit-scrollbar-thumb {
    background: var(--bg-paper);
    border-radius: 4px;
}

/* ============================================
   Page Transition Effect - With Background Animation Theme
   ============================================ */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow: hidden;
}

.page-transition.active {
    pointer-events: all;
    opacity: 1;
    visibility: visible;
}

/* Transition Grid Canvas - Shows animated grid during transition */
.transition-grid-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.page-transition.active .transition-grid-canvas {
    opacity: 1;
}

/* Transition Layer - Curtain Effect with Grid Theme */
.transition-layer {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    transform: scaleY(0);
    transform-origin: center;
    overflow: hidden;
}

/* Grid lines within transition layers - matches background theme */
.transition-layer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: gridPulse 2s ease-in-out infinite;
}

@keyframes gridPulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.6;
    }
}

.transition-top {
    top: 0;
    transform-origin: top center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.transition-bottom {
    bottom: 0;
    transform-origin: bottom center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-transition.active .transition-top {
    transform: scaleY(1);
}

.page-transition.active .transition-bottom {
    transform: scaleY(1);
}

/* Transition Content */
.transition-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}

.transition-text {
    font-family: var(--font-carousel-top);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease 0.2s, transform 0.4s ease 0.2s;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.page-transition.active .transition-text {
    opacity: 1;
    transform: translateY(0);
}

/* Transition Loading Indicator */
.transition-loader {
    width: 60px;
    height: 60px;
    margin: 20px auto 0;
    opacity: 0;
    transition: opacity 0.3s ease 0.3s;
}

.page-transition.active .transition-loader {
    opacity: 1;
}

.transition-loader-dot {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    display: inline-block;
    animation: loaderBounce 1.4s ease-in-out infinite both;
}

.transition-loader-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.transition-loader-dot:nth-child(2) {
    animation-delay: -0.16s;
    margin: 0 5px;
}

.transition-loader-dot:nth-child(3) {
    animation-delay: 0s;
}

@keyframes loaderBounce {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

/* Particle Effects During Transition - matches background theme */
.transition-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: particleFloat 3s ease-in-out infinite;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    left: 20%;
    animation-delay: 0.5s;
}

.particle:nth-child(3) {
    left: 30%;
    animation-delay: 1s;
}

.particle:nth-child(4) {
    left: 40%;
    animation-delay: 1.5s;
}

.particle:nth-child(5) {
    left: 50%;
    animation-delay: 2s;
}

.particle:nth-child(6) {
    left: 60%;
    animation-delay: 0.3s;
}

.particle:nth-child(7) {
    left: 70%;
    animation-delay: 0.8s;
}

.particle:nth-child(8) {
    left: 80%;
    animation-delay: 1.3s;
}

.particle:nth-child(9) {
    left: 90%;
    animation-delay: 1.8s;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }
}

/* Diagonal Lines Animation - matches background grid theme */
.transition-diagonal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow: hidden;
}

.page-transition.active .transition-diagonal {
    opacity: 1;
}

.transition-diagonal::before,
.transition-diagonal::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.transition-diagonal::before {
    top: 20%;
    left: -100%;
    animation: diagonalMove 3s linear infinite;
}

.transition-diagonal::after {
    bottom: 20%;
    right: -100%;
    animation: diagonalMove 3s linear infinite reverse;
}

@keyframes diagonalMove {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(50%);
    }
}

/* Transition exit animation */
.page-transition.exit .transition-top {
    transform: scaleY(0);
    transition-delay: 0.3s;
}

.page-transition.exit .transition-bottom {
    transform: scaleY(0);
    transition-delay: 0.3s;
}

.page-transition.exit .transition-text {
    opacity: 0;
    transform: translateY(-20px);
    transition-delay: 0s;
}

.page-transition.exit .transition-loader {
    opacity: 0;
    transition-delay: 0s;
}

.page-transition.exit .transition-grid-canvas {
    opacity: 0;
    transition-delay: 0.2s;
}

.page-transition.exit .transition-diagonal {
    opacity: 0;
    transition-delay: 0.1s;
}

/* Page Enter Animation - New page fade in */
.page-enter {
    animation: pageEnter 0.6s ease forwards;
}

@keyframes pageEnter {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Fade In Animation */
.section-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Animation Delays for Child Elements */
.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

.stagger-5 {
    transition-delay: 0.5s;
}

/* ============================================
   Cursor Costum
   ============================================ */
*,
*::before,
*::after {
    cursor: none;
}

:root {
    --cursor-accent: #000000;
    --cursor-paper: #000000;
}

#cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    width: 10px;
    height: 10px;
    background: var(--cursor-accent);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width .15s ease, height .15s ease, background .2s ease,
        border-radius .15s ease, opacity .2s ease;
}

#cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9998;
    width: 36px;
    height: 36px;
    border: 2px solid rgba(0, 0, 0, 0.45);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width .35s cubic-bezier(.25, .46, .45, .94),
        height .35s cubic-bezier(.25, .46, .45, .94),
        border-color .25s ease, opacity .2s ease;
}

#cursor-label {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9997;
    pointer-events: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 9px;
    letter-spacing: .12em;
    color: var(--cursor-accent);
    text-transform: uppercase;
    opacity: 0;
    transform: translate(14px, 14px);
    transition: opacity .2s ease;
    white-space: nowrap;
}

/* Hover state */
body.cursor-hover #cursor-dot {
    width: 6px;
    height: 6px;
}

body.cursor-hover #cursor-ring {
    width: 58px;
    height: 58px;
    border-color: rgba(0, 0, 0, 0.7);
}

body.cursor-hover #cursor-label {
    opacity: 1;
}

/* Click state */
body.cursor-click #cursor-dot {
    width: 4px;
    height: 4px;
}

body.cursor-click #cursor-ring {
    width: 28px;
    height: 28px;
    border-color: var(--cursor-accent);
}

/* Text cursor state */
body.cursor-text #cursor-dot {
    width: 2px;
    height: 22px;
    border-radius: 1px;
    background: var(--cursor-paper);
}

body.cursor-text #cursor-ring {
    opacity: 0;
}

/* Cursor Effects */
.trail-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--secondary);
    pointer-events: none;
    z-index: 9999;
    opacity: 0.8;
    transform: translate(-50%, -50%);
    filter: blur(8px);
    -webkit-filter: blur(8px);
    animation: trailFade 0.4s forwards;
}

@keyframes trailFade {
    0% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.5);
    }
}

/* ============================================
   Main Background Animations
   ============================================ */
#grid-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* ============================================
   UI Components
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 16px 32px;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--btn-bg);
    color: var(--btn-text);
    border: 1px solid var(--btn-bg);
    padding: 16px 32px;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: var(--btn-shadow);
    transition: all 0.4s var(--ease-out-expo);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.875rem;
    border-radius: var(--btn-radius);
    cursor: pointer;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--btn-text);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease-out-expo);
    z-index: 0;
}

.btn-primary span {
    position: relative;
    z-index: 1;
    transition: color 0.4s var(--ease-out-expo);
    color: var(--btn-text);
}

.btn-primary:hover span {
    color: var(--btn-bg);
}

.btn-primary:hover {
    background-color: var(--btn-hover-bg);
    transform: translateY(-2px);
    border-color: var(--btn-text);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.btn-primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: var(--btn-secondary-bg);
    color: var(--btn-secondary-text);
    border: 1px solid var(--btn-secondary-border);
    padding: 16px 32px;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.4s var(--ease-out-expo);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.875rem;
    border-radius: var(--btn-radius);
    cursor: pointer;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--btn-secondary-border);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s var(--ease-out-expo);
    z-index: 0;
}

.btn-secondary span {
    position: relative;
    z-index: 1;
    transition: color 0.4s var(--ease-out-expo);
    color: var(--btn-secondary-text);
}

.btn-secondary:hover span {
    color: var(--btn-secondary-hover-text);
}

.btn-secondary:hover {
    color: var(--btn-secondary-hover-text);
    border-color: var(--btn-secondary-hover-bg);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.btn-secondary:hover::before {
    transform: scaleY(1);
    transform-origin: top;
}

.btn-secondary:active {
    transform: translateY(0);
}

.btn-hero {
    padding: 18px 40px;
    font-size: 0.813rem;
    letter-spacing: 0.08em;
    font-weight: 600;
    color: white;
}

.btn-more {
    background: transparent;
    border: 1px solid var(--light-border);
    color: var(--light-text-muted);
    padding: 14px 28px;
    font-weight: 500;
    font-size: 0.813rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.4s var(--ease-out-expo);
    text-decoration: none;
    cursor: pointer;
    border-radius: var(--btn-radius);
}

.btn-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light-bg);
    opacity: 0;
    transition: opacity 0.4s var(--ease-out-expo);
    z-index: 0;
}

.btn-more span {
    position: relative;
    z-index: 1;
    transition: color 0.4s var(--ease-out-expo);
}

.btn-more:hover {
    border-color: var(--light-text);
    color: var(--light-text);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(18, 18, 18, 0.1);
}

.btn-more:hover::before {
    opacity: 1;
}

.btn-more:active {
    transform: translateY(0);
}

.btn-load-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 4rem auto 0;
    background: transparent;
    border: 1px solid var(--light-border);
    color: var(--text-gray);
    padding: 14px 32px;
    font-weight: 500;
    font-size: 0.813rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    border-radius: var(--btn-radius);
}

.btn-load-more::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--light-bg);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s var(--ease-out-expo), height 0.6s var(--ease-out-expo);
    z-index: 0;
}

.btn-load-more span {
    position: relative;
    z-index: 1;
    transition: color 0.4s var(--ease-out-expo);
}

.btn-load-more:hover {
    border-color: var(--light-text);
    color: var(--light-text);
    box-shadow: 0 4px 15px rgba(18, 18, 18, 0.1);
}

.btn-load-more:hover::before {
    width: 300%;
    height: 300%;
}

.btn-load-more:active {
    transform: translateY(0);
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--btn-bg);
    color: var(--btn-text);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid var(--btn-bg);
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: var(--btn-radius);
    text-decoration: none;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--btn-text);
    transform: translateY(100%);
    transition: transform 0.4s var(--ease-out-expo);
    z-index: 0;
}

.btn-submit span {
    position: relative;
    z-index: 1;
    transition: color 0.4s var(--ease-out-expo);
}

.btn-submit:hover {
    color: var(--btn-bg);
    border-color: var(--btn-text);
    box-shadow: 0 8px 30px rgba(18, 18, 18, 0.25);
}

.btn-submit:hover::before {
    transform: translateY(0);
}

.btn-submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(18, 18, 18, 0.2);
}

.btn-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

/* ============================================
   Section Components
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--light-text);
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    font-family: var(--font-serif);
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.section-title span {
    background: linear-gradient(180deg, var(--light-text), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
    box-shadow: 0 0 30px rgba(var(--primary-rgb, 255, 255, 255), 0.4), 0 0 60px rgba(var(--primary-rgb, 255, 255, 255), 0.2);
}

.section-subtitle {
    text-align: center;
    color: var(--light-text-muted);
    max-width: 700px;
    margin: 2rem auto 0;
    line-height: 1.8;
    font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
    font-weight: 400;
    font-size: clamp(1rem, 2vw, 1.125rem);
    opacity: 0.9;
}

section {
    padding: clamp(80px, 12vw, 140px) 0;
    position: relative;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb, 255, 255, 255), 0.15), transparent);
}

section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb, 255, 255, 255), 0.08), transparent);
}

@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================================
   PROFESSIONAL RESPONSIVE NAVBAR
   ================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--navbar-height);
    background: var(--navbar-bg);
    backdrop-filter: var(--navbar-backdrop);
    -webkit-backdrop-filter: var(--navbar-backdrop);
    border-bottom: 1px solid var(--navbar-border);
    z-index: 9999;
    transform: translateY(0);
    will-change: transform;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease, opacity 0.3s ease;
    /* animation: navbarSlideDown removed — it was freezing transform via `forwards` fill-mode */
}

#navbar.nav-visible {
    transform: translateY(0) !important;
}

#navbar.nav-hidden {
    transform: translateY(-110%) !important;
}

.navbar-container {
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Left Section: Brand */
.navbar-left {
    flex: 0 0 auto;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--navbar-text);
    letter-spacing: -0.02em;
    transition: var(--transition-smooth);
}

.navbar-brand:hover {
    color: var(--navbar-accent);
}

.brand-text {
    position: relative;
}

.brand-dot {
    color: var(--navbar-accent);
    font-weight: 300;
    margin-left: 2px;
}

/* Center Section: Navigation */
.navbar-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--navbar-text-muted);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.nav-link i:first-child {
    font-size: 1.1rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--navbar-text);
    background: rgba(255, 255, 255, 0.08);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--navbar-accent);
    border-radius: 2px;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-item.dropdown:hover .dropdown-arrow,
.nav-item.dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 180px;
    background: var(--dropdown-bg);
    border: 1px solid var(--dropdown-border);
    border-radius: 12px;
    padding: 8px;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--navbar-shadow);
}

.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    margin: 2px 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--navbar-text-muted);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.dropdown-item i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.dropdown-item:hover {
    color: var(--navbar-text);
    background: var(--dropdown-hover);
}

/* Right Section: Social Icons */
.navbar-right {
    flex: 0 0 auto;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 4px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    color: var(--navbar-text-muted);
    text-decoration: none;
    border-radius: 10px;
    transition: var(--transition-smooth);
}

.social-link:hover {
    color: var(--navbar-text);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.social-link i {
    transition: var(--transition-smooth);
}

.social-link:hover i {
    transform: scale(1.1);
}

/* ================================================
   MOBILE BOTTOM NAVBAR
   ================================================ */

.mobile-navbar {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    z-index: 9999;
    will-change: transform;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-navbar.nav-hidden {
    transform: translateX(-50%) translateY(150%) !important;
}

.mobile-navbar.nav-visible {
    transform: translateX(-50%) translateY(0) !important;
}

.mobile-nav-container {
    background: var(--navbar-bg);
    backdrop-filter: var(--navbar-backdrop);
    -webkit-backdrop-filter: var(--navbar-backdrop);
    border: 1px solid var(--navbar-border);
    border-radius: 50px;
    padding: 8px 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.mobile-nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-item {
    position: relative;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
    color: var(--navbar-text-muted);
    text-decoration: none;
    border-radius: 50%;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--navbar-text);
    background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-link.active {
    background: rgba(255, 255, 255, 0.15);
}

/* Mobile Dropdown */
.mobile-dropdown-menu {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 160px;
    background: var(--dropdown-bg);
    border: 1px solid var(--dropdown-border);
    border-radius: 16px;
    padding: 10px;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.mobile-dropdown-menu::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: var(--dropdown-bg);
    border-right: 1px solid var(--dropdown-border);
    border-bottom: 1px solid var(--dropdown-border);
}

.mobile-nav-item.dropdown.active .mobile-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mobile-dropdown-menu li {
    margin: 4px 0;
}

.mobile-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--navbar-text-muted);
    text-decoration: none;
    border-radius: 10px;
    transition: var(--transition-smooth);
}

.mobile-dropdown-item i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.mobile-dropdown-item:hover {
    color: var(--navbar-text);
    background: var(--dropdown-hover);
}

/* ================================================
   ANIMATIONS
   ================================================ */

/* navbarSlideDown intentionally removed from .navbar —
   using forwards fill-mode was overriding JS transform classes */

/* Dropdown stagger animation */
.dropdown-menu li {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-item.dropdown:hover .dropdown-menu li,
.nav-item.dropdown.active .dropdown-menu li {
    opacity: 1;
    transform: translateY(0);
}

.nav-item.dropdown:hover .dropdown-menu li:nth-child(1),
.nav-item.dropdown.active .dropdown-menu li:nth-child(1) {
    transition-delay: 0s;
}

.nav-item.dropdown:hover .dropdown-menu li:nth-child(2),
.nav-item.dropdown.active .dropdown-menu li:nth-child(2) {
    transition-delay: 0.05s;
}

.nav-item.dropdown:hover .dropdown-menu li:nth-child(3),
.nav-item.dropdown.active .dropdown-menu li:nth-child(3) {
    transition-delay: 0.1s;
}

/* Mobile dropdown stagger */
.mobile-dropdown-menu li {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.mobile-nav-item.dropdown.active .mobile-dropdown-menu li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-item.dropdown.active .mobile-dropdown-menu li:nth-child(1) {
    transition-delay: 0s;
}

.mobile-nav-item.dropdown.active .mobile-dropdown-menu li:nth-child(2) {
    transition-delay: 0.05s;
}

.mobile-nav-item.dropdown.active .mobile-dropdown-menu li:nth-child(3) {
    transition-delay: 0.1s;
}

/* Hover underline */
.nav-link::before {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--navbar-accent);
    transition: width 0.3s ease, left 0.3s ease;
    border-radius: 2px;
}

.nav-item.dropdown:hover .nav-link::before {
    width: calc(100% - 36px);
    left: 18px;
}

.nav-menu,
.mobile-nav-menu {
    user-select: none;
}

.nav-link:focus-visible,
.social-link:focus-visible,
.mobile-nav-link:focus-visible {
    outline: 2px solid var(--navbar-accent);
    outline-offset: 2px;
}

body {
    padding-top: 0;
}

/* ==============================
    HERO SECTION
==================================*/
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: var(--white);
    color: var(--black);
    margin-top: -4rem;
}

.hero-circle {
    position: absolute;
    bottom: -20rem;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    z-index: 1;
}

.hero-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-avatar {
    position: absolute;
    bottom: -2rem;
    left: 47%;
    transform: translateX(-50%);
    width: 660px;
    height: 660px;
    z-index: 4;
    transition: all 0.4s ease-in-out;
    cursor: pointer;
}

.hero-avatar img {
    width: 115%;
    height: 120%;
    border-radius: 50%;
    box-shadow: rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease-in-out;
}

.hero-avatar:hover {
    transform: translateX(-50%) translateY(-10px);
}

.hero-avatar:hover img {
    box-shadow: rgba(0, 0, 0, 0.25);
}

.hero-heading {
    font-family: 'Plus Jakarta Sans', sans-serif;
    position: absolute;
    top: 80px;
    left: 14.5%;
    transform: translateX(-50%);
    font-size: 150px;
    font-weight: 1500;
    color: black;
    text-align: center;
    z-index: 3;
    white-space: nowrap;
}

.hero-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    position: absolute;
    top: 250px;
    left: 26%;
    transform: translateX(-50%);
    font-size: 30px;
    font-weight: 500;
    color: black;
    text-align: center;
    z-index: 3;
}

.hero-cta-left,
.hero-cta-right {
    position: absolute;
    bottom: 3rem;
    display: flex;
    gap: 20px;
    z-index: 5;
}

.hero-cta-left {
    left: 12rem;
    transform: translateX(-50%);
}

.hero-cta-right {
    right: -4rem;
    transform: translateX(-50%);
}

/* ── Button Core ── */
.hero-cta-left .btn-hero-primary,
.hero-cta-right .btn-hero-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 44px 16px 36px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    background: #0a0a0a;
    border: 1.5px solid #0a0a0a;
    border-radius: 2px;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    transition: color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

/* Sliding fill layer */
.hero-cta-left .btn-hero-primary::before,
.hero-cta-right .btn-hero-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #fff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
    z-index: 0;
}

/* Arrow icon */
.btn-icon {
    font-size: 15px;
    display: inline-block;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.btn-text {
    position: relative;
    z-index: 1;
}

/* ── Hover ── */
.hero-cta-left .btn-hero-primary:hover,
.hero-cta-right .btn-hero-primary:hover {
    color: #0a0a0a;
    border-color: #0a0a0a;
    box-shadow: 6px 6px 0px #0a0a0a;
    transform: translate(-3px, -3px);
}

.hero-cta-left .btn-hero-primary:hover::before,
.hero-cta-right .btn-hero-primary:hover::before {
    transform: scaleX(1);
}

.hero-cta-left .btn-hero-primary:hover .btn-icon,
.hero-cta-right .btn-hero-primary:hover .btn-icon {
    transform: rotate(45deg) scale(1.2);
}

/* ── Active ── */
.hero-cta-left .btn-hero-primary:active,
.hero-cta-right .btn-hero-primary:active {
    transform: translate(0px, 0px);
    box-shadow: 2px 2px 0px #0a0a0a;
}

/* ── Focus ── */
.hero-cta-left .btn-hero-primary:focus-visible,
.hero-cta-right .btn-hero-primary:focus-visible {
    outline: 2px solid #0a0a0a;
    outline-offset: 4px;
}

.hero-description {
    position: absolute;
    top: 60%;
    left: 80px;
    transform: translateY(-50%);
    max-width: 280px;
    z-index: 3;
}

.hero-description p {
    font-size: 16px;
    font-weight: 400;
    color: var(--black);
    line-height: 1.6;
    margin-bottom: 20px;
}

.hero-description .clients-label {
    font-size: 18px;
    font-weight: 700;
    color: var(--black);
}

.age-card {
    position: absolute;
    top: 52%;
    right: 15rem;
    z-index: 10;
    width: 120px;
    height: 120px;
    background: transparent;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.progress-ring {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
}

.progress-ring-svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.progress-ring-bg {
    stroke: #b5b5b5;
    transition: stroke 0.3s ease;
}

.progress-ring-circle {
    stroke: #454545;
    stroke-linecap: round;
    transition: stroke-dashoffset 1.5s ease-out;
    stroke-dashoffset: 55;
}

.age-content {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.age-label {
    font-size: 0.65rem;
    color: var(--light-text-muted);
    margin-bottom: 2px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.age-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--light-text);
    line-height: 1;
}

@keyframes fillProgress {
    to {
        stroke-dashoffset: 55;
    }
}

.progress-ring-circle {
    stroke-dashoffset: 326.72;
    animation: fillProgress 1.5s ease-out forwards;
}

.hero-experience {
    position: absolute;
    top: 55%;
    right: -150px;
    transform: translateY(-50%);
    text-align: right;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.hero-experience {
    position: absolute;
    top: 60%;
    right: 80px;
    transform: translateY(-50%);
    text-align: right;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.hero-experience .exp-number {
    font-size: 64px;
    font-weight: 700;
    color: rgb(0, 0, 0);
    line-height: 1;
}

.hero-experience .exp-label {
    font-size: 18px;
    font-weight: 500;
    color: rgb(0, 0, 0);
    line-height: 1.4;
    margin-top: 4px;
}

.hero-education {
    position: absolute;
    left: 70px;
    bottom: 25%;
    z-index: 10;
    max-width: 380px;
}

.hero-education .education-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.hero-education .education-icon {
    width: 28px;
    height: 28px;
    stroke: rgb(0, 0, 0);
    flex-shrink: 0;
}

.hero-education .education-title {
    font-size: 1.5rem;
    /* sebelumnya 1.1rem */
    font-weight: 800;
    color: rgb(0, 0, 0);
    letter-spacing: -0.5px;
    margin: 0;
}

.hero-education .education-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hero-education .education-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding-left: 16px;
    border-left: 3px solid rgb(0, 0, 0);
}

.hero-education .education-date {
    min-width: 65px;
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
    /* sebelumnya 0.7rem */
    font-weight: 700;
    color: rgb(120, 120, 120);
    line-height: 1.4;
}

.hero-education .education-content h3 {
    font-size: 1rem;
    /* sebelumnya 0.85rem */
    font-weight: 700;
    color: rgb(0, 0, 0);
    margin-bottom: 5px;
    line-height: 1.3;
}

.hero-education .education-content p {
    font-size: 0.9rem;
    /* sebelumnya 0.75rem */
    color: rgb(120, 120, 120);
    font-weight: 400;
    margin: 0;
}

/* Hero Signature Decorative Element */
.hero-signature {
    position: absolute;
    bottom: 2%;
    right: 32%;
    width: 200px;
    height: auto;
    opacity: 0.9;
    pointer-events: none;
    z-index: 5;
}

/* ============================================
   About Section
   ============================================ */
.about {
    background: black;
    background-clip: cover;
    margin: 2rem;
    margin-top: 0;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    padding-top: 5rem;
    padding-bottom: 3rem;
}

.about::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(18, 18, 18, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.about-container {
    position: relative;
    z-index: 2;
}

/* About Content Layout */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
    margin-bottom: 5rem;
}

/* ---- Image Side ---- */
.about-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s var(--ease-out-expo);
    display: block;
}

.about-image-frame:hover .about-img {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.15) saturate(1) hue-rotate(5deg);
    transition:
        transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
        filter 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Floating Badge */
.about-badge-float {
    position: absolute;
    bottom: 24px;
    right: -20px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-paper);
    color: #000000;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    box-shadow: 0 8px 24px rgba(18, 18, 18, 0.25);
    z-index: 3;
    white-space: nowrap;
}

.about-badge-float i {
    font-size: 1rem;
    color: #007bff;
}

/* ---- Info Side ---- */
.about-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.about-greeting {
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--badge-bg);
    border: 1px solid var(--badge-border);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--badge-text);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.about-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--badge-dot);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.about-name {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: -0.02em;
    line-height: 1.1;
    font-family: var(--font-serif);
    margin: 0;
}

.about-name span {
    color: rgb(255, 255, 255);
}

.about-role {
    font-size: 1rem;
    color: var(--light-text-muted);
    font-weight: 500;
    letter-spacing: 0.02em;
    margin: 0;
}

.about-bio {
    font-size: 0.95rem;
    color: white;
    line-height: 1.8;
    margin: 0;
}

.about-bio strong {
    font-weight: 600;
}

/* Skill Tech Icon */
.icon-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--gap-size, 40px);
}

.skill-item {
    position: relative;
    width: var(--icon-size);
    height: var(--icon-size);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.skill-item img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.3s ease;
}

.skill-item:hover {
    transform: translateY(var(--hover-lift));
}

.skill-item:hover img {
    filter: grayscale(0%) opacity(1);
}

.tooltip {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--tooltip-bg);
    color: var(--tooltip-text);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.tooltip::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 5px 5px 5px;
    border-style: solid;
    border-color: transparent transparent var(--tooltip-bg) transparent;
}

.skill-item:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Personal Details Grid */
.about-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(18, 18, 18, 0.03);
    border: 1px solid var(--light-border);
    border-radius: 16px;
}

.about-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-detail-item i {
    font-size: 1.1rem;
    color: var(--light-text-muted);
    margin-top: 2px;
    flex-shrink: 0;
}

.about-detail-item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.detail-label {
    font-size: 0.72rem;
    color: var(--text-gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.detail-value {
    font-size: 0.875rem;
    color: white;
    font-weight: 600;
}

.detail-value.available {
    color: #16a34a;
    display: flex;
    align-items: center;
    gap: 6px;
}

.detail-value.available::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #16a34a;
    border-radius: 50%;
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

/* About Actions */
.about-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

/* ── Trigger Button ── */
.demo-wrapper {
    position: relative;
    z-index: 1;
    text-align: center;
}

.download-cv-btn {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 16px 32px;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.4s var(--ease-out-expo);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.875rem;
    border-radius: var(--btn-radius);
    cursor: pointer;
}

/* hover background fill animation */
.download-cv-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: white;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out-expo);
    z-index: 0;
}

.download-cv-btn span {
    position: relative;
    z-index: 1;
    transition: color 0.4s var(--ease-out-expo);
}

/* hover state */
.download-cv-btn:hover {
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
}

.download-cv-btn:hover::before {
    transform: scaleX(1);
}

.download-cv-btn:hover span {
    color: black;
}

/* active click */
.download-cv-btn:active {
    transform: translateY(0);
}

/* ── Overlay ── */
.cv-modal-overlay {
    position: fixed;
    inset: 0;
    background: var(--overlay-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;

    /* Hidden state */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.cv-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Noise texture overlay */
.cv-modal-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.4;
}

/* ── Modal Card ── */
.cv-modal {
    background: var(--glass-bg);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 22px;
    padding: 44px 40px 40px;
    width: 100%;
    max-width: 420px;
    position: relative;
    box-shadow: var(--shadow);
    color: var(--white);

    /* Hidden state */
    transform: scale(0.88) translateY(16px);
    transition: transform 0.42s cubic-bezier(0.34, 1.48, 0.64, 1), opacity 0.35s ease;
    opacity: 0;
}

/* Glowing top edge */
.cv-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    border-radius: 50%;
}

.cv-modal-overlay.active .cv-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* ── Close Button ── */
.cv-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s, color 0.2s;
    font-size: 0;
    line-height: 1;
}

.cv-modal-close svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.cv-modal-close:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    transform: rotate(90deg) scale(1.1);
}

/* ── Header ── */
.cv-modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 5px 12px;
    margin-bottom: 22px;
}

.cv-modal-badge span.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    opacity: 0.7;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 0.7;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.4);
    }
}

.cv-modal-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 10px;
}

.cv-modal-desc {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 32px;
}

/* ── Divider ── */
.cv-modal-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    margin-bottom: 28px;
}

/* ── Download Options ── */
.cv-download-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cv-download-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 13px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-decoration: none;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.cv-download-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #fff;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.cv-download-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.9);
    color: #0a0a0a;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.cv-download-btn:active {
    transform: translateY(0);
}

/* Icon wrapper */
.btn-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.25s, border-color 0.25s;
}

.cv-download-btn:hover .btn-icon {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.12);
}

.btn-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    flex: 1;
}

.btn-label {
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1;
}

.btn-meta {
    font-size: 0.75rem;
    opacity: 0.55;
    line-height: 1;
}

.btn-arrow {
    margin-left: auto;
    opacity: 0.35;
    transition: opacity 0.2s, transform 0.2s;
}

.cv-download-btn:hover .btn-arrow {
    opacity: 0.7;
    transform: translateX(3px);
}

.btn-arrow svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* ── Footer note ── */
.cv-modal-footer {
    margin-top: 24px;
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.04em;
}

/* ---- Stats Row ---- */
.about-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.about-stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2.5rem 1.5rem;
    background: linear-gradient(145deg, #111217 0%, #0d0d12 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.about-stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.about-stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.about-stat-card:hover {
    transform: translateY(-8px);
    border-color: #ffffff;
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.about-stat-card:hover::after {
    opacity: 1;
}

.about-stat-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ffffff;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.about-stat-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 20px;
    background: radial-gradient(80px circle at center, rgba(255, 255, 255, 0.2), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-stat-card:hover .about-stat-icon {
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    color: #000000;
    transform: scale(1.1) rotate(3deg);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.4);
}

.about-stat-card:hover .about-stat-icon::after {
    opacity: 1;
}

.about-stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -2px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: color 0.3s ease;
}

.about-stat-card:hover .about-stat-label {
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   Infinity Carousel Icon
   ============================================ */
.carousel-wrapper-icon {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
    background: var(--bg-paper);
}

.carousel-wrapper-icon::before,
.carousel-wrapper-icon::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 10;
    pointer-events: none;
}

.carousel-wrapper-icon::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-paper) 0%, transparent 100%);
}

.carousel-wrapper-icon::after {
    right: 0;
    background: linear-gradient(-90deg, var(--bg-paper) 0%, transparent 100%);
}

.carousel-track-icon {
    display: flex;
    width: max-content;
    gap: 2rem;
}

.carousel-track-icon.animate {
    animation: scroll-left 30s linear infinite;
}

.carousel-track-icon.reverse.animate {
    animation: scroll-right 35s linear infinite;
}

.carousel-card-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: var(--primary);
    border: 1px solid var(--light-border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.carousel-card-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--light-text-muted);
    transition: all 0.3s ease;
}

.carousel-card-icon:hover {
    transform: scale(1.15) translateY(-4px);
    border-color: var(--light-accent);
    background: linear-gradient(135deg, var(--primary) 0%, var(--light-bg) 100%);
    box-shadow: var(--shadow-light-hover);
}

.carousel-card-icon:hover svg {
    fill: var(--light-text);
}

.carousel-card-icon:focus-visible {
    outline: 2px solid var(--light-accent);
    outline-offset: 3px;
}

/* Data Brand Icon */
.carousel-card-icon[data-brand="x"]:hover {
    border-color: #000000;
}

.carousel-card-icon[data-brand="x"]:hover img {
    filter: brightness(0) saturate(100%) invert(0%);
}

.carousel-card-icon[data-brand="instagram"]:hover {
    border-color: #8134af;
}

.carousel-card-icon[data-brand="instagram"]:hover img {
    filter: brightness(0) saturate(100%) invert(31%) sepia(92%) saturate(2800%) hue-rotate(250deg) brightness(95%) contrast(100%);
}

.carousel-card-icon[data-brand="github"]:hover {
    border-color: #181717;
}

.carousel-card-icon[data-brand="github"]:hover img {
    filter: none;
}

.carousel-card-icon[data-brand="linkedin"]:hover {
    border-color: #0A66C2;
}

.carousel-card-icon[data-brand="linkedin"]:hover img {
    filter: brightness(0) saturate(100%) invert(40%) sepia(95%) saturate(450%) hue-rotate(190deg) brightness(96%) contrast(96%);
}

.carousel-card-icon[data-brand="youtube"]:hover {
    border-color: #ff0000;
}

.carousel-card-icon[data-brand="youtube"]:hover img {
    filter: brightness(0) saturate(100%) invert(29%) sepia(97%) saturate(4352%) hue-rotate(357deg) brightness(95%) contrast(101%);
}

.carousel-card-icon[data-brand="facebook"]:hover {
    border-color: #1877f2;
}

.carousel-card-icon[data-brand="facebook"]:hover img {
    filter: brightness(0) saturate(100%) invert(45%) sepia(96%) saturate(454%) hue-rotate(193deg) brightness(97%) contrast(97%);
}

.carousel-card-icon[data-brand="tiktok"]:hover {
    border-color: #FE2C55;
}

.carousel-card-icon[data-brand="tiktok"]:hover img {
    filter: brightness(0) saturate(100%) invert(21%) sepia(98%) saturate(3500%) hue-rotate(320deg) brightness(102%) contrast(100%);
}

.carousel-card-icon[data-brand="threads"]:hover {
    border-color: #000000;
}

.carousel-card-icon[data-brand="threads"]:hover img {
    filter: brightness(0) saturate(100%) invert(0%);
}

.carousel-card-icon[data-brand="pinterest"]:hover {
    border-color: #E60023;
}

.carousel-card-icon[data-brand="pinterest"]:hover img {
    filter: brightness(0) saturate(100%) invert(13%) sepia(98%) saturate(5929%) hue-rotate(352deg) brightness(97%) contrast(103%);
}

.carousel-card-icon[data-brand="whatsapp"]:hover {
    border-color: #25D366;
}

.carousel-card-icon[data-brand="whatsapp"]:hover img {
    filter: brightness(0) saturate(100%) invert(68%) sepia(94%) saturate(436%) hue-rotate(89deg) brightness(96%) contrast(92%);
}

.carousel-card-icon[data-brand="jobstreet"]:hover {
    border-color: #032F8C;
}

.carousel-card-icon[data-brand="jobstreet"]:hover img {
    filter: brightness(0) saturate(100%) invert(30%) sepia(95%) saturate(450%) hue-rotate(190deg) brightness(96%) contrast(96%);
}

.carousel-card-icon[data-brand="lynk-id"]:hover {
    border-color: #067633;
}

.carousel-card-icon[data-brand="lynk-id"]:hover img {
    filter: brightness(0) saturate(100%) invert(38%) sepia(60%) saturate(400%) hue-rotate(110deg) brightness(90%) contrast(95%);
}

.carousel-wrapper-icon:hover .carousel-track-icon.animate {
    animation-play-state: paused;
}

.carousel-fade-up-icon {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Projects Section
   ============================================ */
.projects {
    background: var(--bg-paper);
    position: relative;
    overflow: hidden;
    padding-top: 6rem;
}

.projects::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(18, 18, 18, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.projects-container {
    position: relative;
    z-index: 2;
}

/* Filter Tabs */
.projects-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    background: transparent;
    border: 1px solid var(--light-border);
    color: var(--light-text-muted);
    font-size: 0.813rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    font-family: var(--font-sans);
}

.filter-btn:hover {
    border-color: var(--light-text);
    color: var(--light-text);
    background: rgba(18, 18, 18, 0.05);
}

.filter-btn.active {
    background: #121212;
    color: #ffffff;
    border-color: #121212;
    box-shadow: 0 4px 15px rgba(18, 18, 18, 0.2);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Project Card */
.project-card {
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--light-border);
    box-shadow: var(--shadow-light);
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-light-hover);
    border-color: rgba(18, 18, 18, 0.15);
}

.project-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Project Image */
.project-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

/* Project Overlay */
.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(18, 18, 18, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s var(--ease-out-expo);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s var(--ease-out-expo);
    transform: translateY(10px);
    opacity: 0;
}

.project-card:hover .project-link {
    transform: translateY(0);
    opacity: 1;
}

.project-card:hover .project-link:nth-child(1) {
    transition-delay: 0.05s;
}

.project-card:hover .project-link:nth-child(2) {
    transition-delay: 0.1s;
}

.project-link:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px) scale(1.1);
}

/* Project View Image Icon */
.project-view {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    font-size: 1.1rem;
}

/* Project Info */
.project-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tag {
    padding: 4px 12px;
    background: rgba(18, 18, 18, 0.06);
    border: 1px solid var(--light-border);
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--light-text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.project-card:hover .project-tag {
    background: rgba(18, 18, 18, 0.1);
    border-color: rgba(18, 18, 18, 0.2);
}

.project-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--light-text);
    letter-spacing: -0.01em;
    line-height: 1.3;
    font-family: var(--font-serif);
    margin: 0;
    transition: color 0.3s ease;
}

.project-card:hover .project-title {
    color: #121212;
}

.project-desc {
    font-size: 0.875rem;
    color: var(--light-text-muted);
    line-height: 1.7;
    margin: 0;
}

.project-go {
    text-decoration: none;
    color: #5b5b5b;
    font-weight: 400;
}

/* Projects CTA */
.projects-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.typedash {
    color: rgb(0, 153, 112);
    text-decoration: none;
}

/* Hidden cards for filter */
.project-card.hidden {
    display: none;
}

/* ============================================
   Services Section
   ============================================ */

/* Services Section - Modern SaaS Design */
.services {
    background: #0c0c0c;
    position: relative;
    overflow: hidden;
    padding: 50px 20px;
}

.services-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Services Grid */
/* ========================================
   PREMIUM DARK THEME SERVICE CARDS
   ======================================== */

/* Services Section - Dark Theme Background */
.services {
    background: #0b0b0b;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

/* Subtle grid texture overlay */
.services::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* Noise texture overlay */
.services::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

.services .container {
    position: relative;
    z-index: 1;
}

/* Subtle grid texture overlay */
.services::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* Noise texture overlay */
.services::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

.services .container {
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-bottom: 4rem;
}

/* Premium Service Card - Dark Theme */
.service-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border-radius: 22px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding-bottom: 5px;
}

/* Card colored accent borders */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--card-accent, #4f46e5);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

/* Web Developer - White/Silver */
.service-card.web-developer {
    --card-accent: linear-gradient(90deg, #ffffff, #a0a0a0);
}

/* Graphic Design - White/Silver */
.service-card.graphic-design {
    --card-accent: linear-gradient(90deg, #ffffff, #a0a0a0);
}

/* Calligraphy - White/Silver */
.service-card.calligraphy {
    --card-accent: linear-gradient(90deg, #ffffff, #a0a0a0);
}

/* Windows Support - White/Silver */
.service-card.windows-support {
    --card-accent: linear-gradient(90deg, #ffffff, #a0a0a0);
}

.service-card:hover {
    transform: translateY(-8px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(var(--glow-color-rgb, 79, 70, 229), 0.15);
}

/* Card glow effect on hover */
.service-card:hover::before {
    opacity: 1;
}

.service-card.web-developer:hover {
    --glow-color-rgb: 255, 255, 255;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(255, 255, 255, 0.2);
}

.service-card.graphic-design:hover {
    --glow-color-rgb: 255, 255, 255;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(255, 255, 255, 0.2);
}

.service-card.calligraphy:hover {
    --glow-color-rgb: 255, 255, 255;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(255, 255, 255, 0.2);
}

.service-card.windows-support:hover {
    --glow-color-rgb: 255, 255, 255;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(255, 255, 255, 0.2);
}

/* Service Icon - Colored background */
.service-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
}

/* Icon colors - Black and White theme */
.service-card.web-developer .service-icon-wrap {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    color: #ffffff;
}

.service-card.graphic-design .service-icon-wrap {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    color: #ffffff;
}

.service-card.calligraphy .service-icon-wrap {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    color: #ffffff;
}

.service-card.windows-support .service-icon-wrap {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    color: #ffffff;
}

.service-card:hover .service-icon-wrap {
    transform: scale(1.05);
}

.service-card:hover .service-icon-wrap i {
    transform: scale(1.1);
}

/* Service Title - White for dark theme */
.service-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin-top: 0.5rem;
}

/* Service Description - Light gray */
.service-desc {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    flex-grow: 1;
}

/* Feature Tags - Pill Style */
.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0.5rem 0;
}

.service-tag {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 50px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

/* Tag colors - Black and White theme */
.service-card.web-developer .service-tag {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card.graphic-design .service-tag {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card.calligraphy .service-tag {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card.windows-support .service-tag {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-tag:hover {
    transform: translateY(-2px);
}

.service-card.web-developer .service-tag:hover {
    background: rgba(255, 255, 255, 0.2);
}

.service-card.graphic-design .service-tag:hover {
    background: rgba(255, 255, 255, 0.2);
}

.service-card.calligraphy .service-tag:hover {
    background: rgba(255, 255, 255, 0.2);
}

.service-card.windows-support .service-tag:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Service CTA Link - Explore */
.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    margin-top: auto;
    padding-top: 1rem;
    position: relative;
    width: fit-content;
}

.service-cta::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.service-cta:hover::after {
    width: calc(100% - 24px);
}

.service-cta i {
    transition: transform 0.3s ease;
    font-size: 1rem;
}

.service-cta:hover i {
    transform: translateX(6px);
}

/* CTA Button Style */
.cta-button {
    background: #ffffff;
    color: #0c0c0c;
    border: none;
    padding: 18px 36px;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.02em;
    font-size: 1rem;
    border-radius: 12px;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.25);
}

.cta-button:active {
    transform: translateY(0);
}

/* Services CTA Banner - Black and White Theme */
.services-cta-banner {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 50%, #000000 100%);
    border-radius: 24px;
    padding: 3.5rem 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gradient glow effect - White */
.services-cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.services-cta-banner::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.services-cta-content {
    position: relative;
    z-index: 1;
    max-width: 560px;
}

.services-cta-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.services-cta-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 480px;
    line-height: 1.6;
}

.services-cta-banner .cta-button {
    position: relative;
    z-index: 1;
    background: #ffffff;
    color: #0c0c0c;
}

.services-cta-banner .cta-button:hover {
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

/* Section Header */
.services .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services .section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.services .section-subtitle {
    font-size: 1.125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   Carousel Text
   ============================================ */
.carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 1.5rem 0;
    background: var(--bg-paper);
    border-top: 1px solid var(--light-border);
    border-bottom: 1px solid var(--light-border);
}

.carousel-wrapper::before,
.carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 10;
    pointer-events: none;
}

.carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-paper), transparent);
}

.carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-paper), transparent);
}

.carousel-track {
    display: flex;
    gap: 3rem;
    width: max-content;
}

.carousel-track.row-1 {
    animation: scroll-left 40s linear infinite;
}

.carousel-track.row-2 {
    animation: scroll-right 50s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-right {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.carousel-wrapper:hover .carousel-track {
    animation-play-state: paused;
}

.carousel-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0.75rem 2rem;
    border-radius: 100px;
    border: 1px solid var(--light-border);
    background: var(--light-bg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    white-space: nowrap;
}

.carousel-item:hover {
    background: rgba(18, 18, 18, 0.08);
    border-color: var(--light-text-muted);
    transform: scale(1.05);
}

.carousel-item .text {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--light-text);
}

.carousel-item .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--light-accent);
    flex-shrink: 0;
}

.carousel-item.accent .dot {
    background: var(--secondary);
}

.carousel-track.row-2 .carousel-item {
    border-color: transparent;
    background: transparent;
    padding: 0.5rem 1.5rem;
}

.carousel-track.row-2 .carousel-item .text {
    font-family: var(--font-carousel-bottom);
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--light-text) 0%, var(--light-text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.carousel-track.row-2 .carousel-item:hover .text {
    background: linear-gradient(135deg, var(--light-accent) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.carousel-track.row-2 .carousel-item .separator {
    width: 12px;
    height: 12px;
    border: 2px solid var(--light-text-muted);
    transform: rotate(45deg);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.carousel-track.row-2 .carousel-item:hover .separator {
    border-color: var(--light-accent);
    transform: rotate(45deg) scale(1.2);
}

.controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.control-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    border: 1px solid var(--light-border);
    background: var(--bg-paper);
    color: var(--light-text);
    font-family: var(--font-carousel-top);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: rgba(18, 18, 18, 0.1);
    border-color: var(--light-text-muted);
}

.control-btn.active {
    background: var(--light-accent);
    border-color: var(--light-accent);
    color: var(--light-text);
}

.control-btn:focus-visible {
    outline: 2px solid var(--light-accent);
    outline-offset: 2px;
}

/* ============================================
   CERTIFICATE GALLERY STYLES
   ============================================ */

.certificates {
    position: relative;
    padding: 100px 0;
    background: transparent;
    overflow: hidden;
    padding-bottom: 4rem;
}

.bg-image-certificates {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    max-width: 600px;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.bg-image-certificates img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.certificates-container {
    position: relative;
    z-index: 1;
}

.certificates .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.certificate-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.certificate-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.certificate-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    cursor: pointer;
}

.certificate-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.certificate-card:hover .certificate-img {
    transform: scale(1.1);
}

.certificate-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.certificate-card:hover .certificate-overlay {
    opacity: 1;
}

.certificate-zoom {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(25, 25, 25, 0.85);
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    transform: scale(0);
}

.certificate-card:hover .certificate-zoom {
    transform: scale(1);
}

.certificate-zoom:hover {
    background: var(--secondary-color);
    transform: scale(1.1) !important;
    color: #000000;
}

.certificate-info {
    padding: 20px;
}

.certificate-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 8px;
}

.certificate-desc {
    font-size: 14px;
    color: var(--light-text);
    line-height: 1.6;
}

.certificates-cta {
    text-align: center;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
}

.load-more-btn i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.load-more-btn:hover i {
    transform: translateY(3px);
}

/* Certificate Hidden Items (for load more) */
.certificate-card.hidden {
    display: none;
}

.certificate-card.visible {
    display: block;
    animation: fadeInUp 0.5s ease;
}

/* ============================================
   CERTIFICATE LIGHTBOX STYLES
   ============================================ */

.certificate-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.certificate-lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10000;
}

.lightbox-close:hover {
    background: var(--primary-color);
    transform: rotate(90deg);
    color: white;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10000;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-nav:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
    color: white;
}

.lightbox-content {
    max-width: 80%;
    max-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--white);
    max-width: 600px;
}

.lightbox-caption h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.lightbox-caption p {
    font-size: 14px;
    opacity: 0.8;
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 14px;
    opacity: 0.7;
}

/* Lightbox Animation */
@keyframes lightboxIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.certificate-lightbox.active .lightbox-content {
    animation: lightboxIn 0.3s ease;
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonial-section {
    width: 100%;
    height: 110vh;
    background: transparent;
    padding: 120px 20px;
    position: relative;
    overflow: hidden;
    z-index: 2;
    padding-top: 2.5rem;
}

.testimonial-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

/* Phone Mockup */
.phone-mockup {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: auto;
    z-index: 1;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
    transition: all 0.4s ease;
}

.phone-mockup img {
    width: 100%;
    height: auto;
    display: block;
}

/* Testimonial Card */
.testimonial-card-1 {
    position: absolute;
    top: 35%;
    left: 36%;
    z-index: 2;
    transition: all 0.4s ease;
}

.testimonial-card-1 img {
    width: 220px;
    height: auto;
    display: block;
}

.testimonial-card-2 {
    position: absolute;
    top: 50%;
    right: 36%;
    z-index: 2;
    transition: all 0.4s ease;
}

.testimonial-card-2 img {
    width: 220px;
    height: auto;
    display: block;
}

.testimonial-card-3 {
    position: absolute;
    top: 65%;
    left: 36%;
    z-index: 2;
    transition: all 0.4s ease;
}

.testimonial-card-3 img {
    width: 220px;
    height: auto;
    display: block;
}

/* Client Card */
.client-card-1 {
    position: absolute;
    top: 25%;
    left: 5%;
    z-index: 2;
    transition: all 0.4s ease;
}

.client-card-1 img {
    width: 330px;
    height: auto;
    display: block;
}

.client-card-2 {
    position: absolute;
    top: 50%;
    left: 5%;
    z-index: 2;
    transition: all 0.4s ease;
}

.client-card-2 img {
    width: 330px;
    height: auto;
    display: block;
}

.client-card-3 {
    position: absolute;
    top: 25%;
    right: 5%;
    z-index: 2;
    transition: all 0.4s ease;
}

.client-card-3 img {
    width: 330px;
    height: auto;
    display: block;
}

.client-card-4 {
    position: absolute;
    top: 50%;
    right: 5%;
    z-index: 2;
    transition: all 0.4s ease;
}

.client-card-4 img {
    width: 330px;
    height: auto;
    display: block;
}

/* Smooth transition */
.testimonial-card-1,
.testimonial-card-2,
.testimonial-card-3,
.client-card-1,
.client-card-2,
.client-card-3,
.client-card-4 {
    transition: transform 0.3s ease;
}

.testimonial-card-1:hover,
.testimonial-card-2:hover,
.testimonial-card-3:hover,
.client-card-1:hover,
.client-card-2:hover,
.client-card-3:hover,
.client-card-4:hover {
    transform: translateY(-12px);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
    background: #000000;
    position: relative;
    overflow: hidden;
    padding: 4.5rem;
    margin: 2rem;
    background-clip: cover;
    border-radius: 55px;
}

.faq-container {
    position: relative;
    z-index: 1;
}

/* FAQ Section Header - Black & White Theme */
.faq .section-title {
    color: var(--text-light);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.faq .section-title span {
    background: linear-gradient(180deg, var(--text-light), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.faq .section-title::after {
    background: linear-gradient(135deg, var(--text-light), var(--secondary));
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3), 0 0 60px rgba(255, 255, 255, 0.1);
}

.faq .section-subtitle {
    color: var(--text-gray);
}

/* FAQ Grid */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.faq-item {
    background: #1a1a1a;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: box-shadow 0.3s ease;
    border: 1px solid #333333;
}

.faq-item:hover {
    box-shadow: var(--shadow-light-hover);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #2a2a2a;
}

.faq-question-text {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.4;
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #2a2a2a;
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-icon i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    background: var(--btn-text);
    color: var(--btn-bg);
}

.faq-item.active .faq-icon i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
}

.faq-answer-content p {
    font-size: 0.9rem;
    color: #cccccc;
    line-height: 1.7;
}

.faq-cta-banner {
    background: #111111;
    border-radius: 20px;
    padding: 2.5rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 4rem;
    box-shadow: var(--shadow-light);
    border: 1px solid #333333;
}

.faq-cta-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.faq-cta-content p {
    font-size: 0.95rem;
    color: #cccccc;
    max-width: 500px;
}

.faq-cta-banner .btn-hero {
    flex-shrink: 0;
    background: #ffffff;
    color: #000000;
}

.faq-cta-banner .btn-hero:hover {
    background: #cccccc;
}

.faq-cta-banner .btn-hero:hover span {
    color: black;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
    padding: 100px 20px;
    border-radius: 60px 60px 0 0;
}

/* Background Effects */
.contact-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

/* Grid Pattern */
.contact-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
}

/* Spotlight */
.contact-spotlight {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Contact Header */
.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

/* Label - Uppercase small text */
.contact-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 20px;
}

.contact-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.contact-title span {
    background: linear-gradient(180deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.contact-subtitle {
    font-size: 1.125rem;
    color: #9ca3af;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Contact Grid - 2 Column Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: start;
}

/* Left Column: Contact Form */
.contact-form-wrapper {
    position: relative;
}

/* Glass Effect Container */
.contact-form-glass {
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.9) 0%, rgba(15, 15, 16, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset;
    position: relative;
    overflow: hidden;
}

/* Gradient overlay */
.contact-form-glass::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #d4d4d8;
    letter-spacing: 0.02em;
}

.form-input {
    background: #161616;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px 18px;
    font-size: 1rem;
    color: #ffffff;
    font-family: var(--font-sans);
    transition: all 0.25s ease;
    outline: none;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.form-input::placeholder {
    color: #8a8a8a;
}

.form-input:focus {
    border-color: rgba(255, 255, 255, 0.25);
    background: #1a1a1a;
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        0 0 0 4px rgba(255, 255, 255, 0.03),
        0 0 30px rgba(255, 255, 255, 0.06);
}

.form-textarea {
    resize: none;
    min-height: 150px;
    line-height: 1.6;
}

/* Contact Button - Modern SaaS Style */
.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    color: #0a0a0a;
    border: none;
    border-radius: 999px;
    padding: 18px 36px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.contact-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow:
        0 8px 30px rgba(255, 255, 255, 0.25),
        0 0 40px rgba(255, 255, 255, 0.1);
}

.contact-btn:hover::before {
    opacity: 1;
}

.contact-btn-send {
    transition: transform 0.25s ease;
}

.contact-btn:hover .contact-btn-send {
    transform: translateX(4px);
}

.contact-btn:active {
    transform: translateY(-1px);
}

/* Right Column: Contact Information */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Contact Info Cards */
.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-info-card:hover {
    background: #151515;
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(255, 255, 255, 0.03);
}

.contact-info-card:hover::before {
    opacity: 1;
}

.contact-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    color: #ffffff;
}

.contact-info-card:hover .contact-info-icon {
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.05);
}

.contact-info-content {
    flex: 1;
    min-width: 0;
}

.contact-info-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
}

.contact-info-value {
    font-size: 1rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
}

.contact-info-content a.contact-info-value:hover {
    color: #e5e5e5;
}

/* Social Links */
.contact-social-links {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.social-link svg {
    transition: transform 0.3s ease;
}

.social-link:hover svg {
    transform: scale(1.1);
}

/* ============================================
   CTA SECTION - Modern SaaS Style
   ============================================ */
.cta-section {
    position: relative;
    padding: 80px 20px 100px;
    z-index: 10;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
}

.cta-card {
    position: relative;
    background: linear-gradient(135deg, #dddddd 0%, #c3c3c3 50%, #bbbbbb 100%);
    border-radius: 28px;
    padding: 60px 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.08),
        0 8px 24px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    overflow: visible;
}

/* Decorative blob behind CTA content */
.cta-blob {
    position: absolute;
    top: -100px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 560px;
    flex-shrink: 0;
}

.cta-heading {
    font-family: 'Plus Jakarta Sans', 'Plus Jakarta Sans', sans-serif;
    font-size: 35px;
    font-weight: 700;
    line-height: 1.2;
    color: #000000;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cta-heading em {
    font-style: italic;
    font-weight: 600;
    color: #4d4d4d;
}

.cta-description {
    font-family: 'Plus Jakarta Sans', 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #404040;
    margin-bottom: 32px;
    font-weight: 400;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: #000000;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(36, 36, 36, 0.3);
}

.store-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(50, 50, 50, 0.4);
}

.store-btn i {
    font-size: 28px;
    color: #ffffff;
}

.store-btn-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.store-btn-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
}

.store-btn-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
}

/* Phone wrapper and mockup */
.cta-phone-wrapper {
    position: absolute;
    right: 30px;
    top: -35%;
    transform: translateY(-50%);
    z-index: 3;
}

.cta-phone-blob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.3) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.cta-phone-mockup {
    position: relative;
    width: 420px;
    height: auto;
    z-index: 2;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.25));
    animation: floatPhone 6s ease-in-out infinite;
}

@keyframes floatPhone {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Play Store button alternative style */
.store-btn.play-store {
    background: linear-gradient(135deg, #000000 0%, #373737 100%);
}

.store-btn.app-store {
    background: linear-gradient(135deg, #000000 0%, #373737 100%);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #0d0d0d;
    color: #afafaf;
    padding: 4rem 0 0;
    font-family: var(--font-sans);
    position: relative;
    overflow: hidden;
    z-index: 10;
    border-radius: 60px 60px 0 0;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Footer Top Grid */
.footer-top {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

/* Brand Column */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding-right: 5rem;
}

.jobstreet-brand-icon {
    width: 32px;
    height: 32px;
    background: transparent;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.footer-logo img {
    height: 44px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-logo:hover img {
    opacity: 1;
}

.footer-tagline {
    font-size: 0.875rem;
    line-height: 1.7;
    color: #7a7a7a;
    max-width: 280px;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.footer-social-link {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--border-bg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease-out-expo);
    flex-shrink: 0;
}

.footer-social-link i {
    font-size: 18px;
    color: var(--text-light);
    opacity: 0.7;
    transition: opacity 0.3s var(--ease-out-expo);
}

.footer-social-link:hover {
    background: var(--light-accent);
    border-color: var(--primary);
    transform: translateY(var(--hover-lift));
    box-shadow: var(--shadow-light-hover);
}

.footer-social-link:hover i {
    opacity: 1;
    color: var(--light-text);
}

.footer-social-link .upscrolled-brand-icon {
    width: 18px;
    height: 18px;
    opacity: 0.7;
    transition: opacity 0.3s var(--ease-out-expo);
    object-fit: contain;
    flex-shrink: 0;
    filter: grayscale(100%);
}

.footer-social-link:hover .upscrolled-brand-icon {
    opacity: 1;
}

/* Footer Columns */
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-col-title {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    color: #7a7a7a;
    text-decoration: none;
    transition: color 0.25s ease, gap 0.25s ease;
}

.footer-link i {
    font-size: 0.7rem;
    opacity: 0.5;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.footer-link:hover {
    color: #ffffff;
    gap: 0.65rem;
}

.footer-link:hover i {
    opacity: 1;
    transform: translateX(2px);
}

/* Visitor Flag Counter */
.flag-counter-container {
    background: var(--light-text);
    border-radius: var(--btn-radius);
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s var(--ease-out-expo);
    border: 1px solid var(--light-border);
}

.flag-counter-container:hover {
    transform: translateY(var(--hover-lift)) scale(1.02);
    box-shadow: var(--shadow-light-hover);
    border-color: var(--primary);
}

.flag-counter-container img {
    max-width: 100%;
    height: auto;
    border-radius: calc(var(--btn-radius) - 2px);
    transition: opacity 0.3s var(--ease-out-expo);
}

.flag-counter-container:hover img {
    opacity: 0.9;
}

.view-count {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.2s var(--ease-out-expo);
}

.view-count:hover {
    color: var(--text-light);
}

.view-count-label {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* Divider */
.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 0;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-copy {
    font-size: 0.82rem;
    color: #555;
}

.footer-copy strong {
    color: #afafaf;
}

.footer-made {
    font-size: 0.82rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.footer-heart {
    color: #e05252;
    font-size: 0.75rem;
    animation: heartbeat 1.4s ease-in-out infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    14% {
        transform: scale(1.25);
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.15);
    }

    56% {
        transform: scale(1);
    }
}

/* ========================================
   CV Download Modal Overlay Styles
======================================== */


/* =================================
    CV Download Modal Overlay Styles
   ======================================== */

/* CV Modal Overlay */
.cv-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cv-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Glassmorphism Modal Container */
.cv-modal {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    padding: 32px;
    width: 400px;
    max-width: 90%;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cv-modal-overlay.active .cv-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Modal Content */
.cv-modal-content {
    text-align: center;
}

/* Modal Title */
.cv-modal-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

/* Modal Description */
.cv-modal-desc {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 28px;
    line-height: 1.5;
}

/* Download Options Container */
.cv-download-options {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Download Buttons */
.cv-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.cv-download-btn:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
}

.cv-download-btn svg {
    flex-shrink: 0;
}

/* PDF Button Specific */
.cv-download-pdf {
    background: rgba(255, 255, 255, 0.05);
}

.cv-download-pdf:hover {
    background: #ffffff;
    color: #000000;
}

/* PNG Button Specific */
.cv-download-png {
    background: rgba(255, 255, 255, 0.05);
}

.cv-download-png:hover {
    background: #ffffff;
    color: #000000;
}

/* Close Button */
.cv-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cv-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: scale(1.1);
}

.cv-modal-close svg {
    width: 18px;
    height: 18px;
}

/* Body scroll lock when modal is open */
body.modal-open {
    overflow: hidden;
}


/* =================================
    Project Card Overlay
    ================================ */

/* Project Card Clickable */
.project-card-inner.clickable {
    cursor: pointer;
}

.project-card-inner.clickable:hover {
    cursor: pointer;
}

/* Live Image Project Overlay (Lightbox) */
.project-image-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease-out-expo), visibility 0.4s var(--ease-out-expo);
}

.project-image-overlay.active {
    opacity: 1;
    visibility: visible;
}

.project-overlay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    animation: backdropFadeIn 0.4s var(--ease-out-expo);
}

@keyframes backdropFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.project-overlay-container {
    position: relative;
    width: 80%;
    max-width: 1400px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.85) translateY(30px);
    transition: transform 0.4s var(--ease-out-expo);
}

.project-image-overlay.active .project-overlay-container {
    transform: scale(1) translateY(0);
}

/* Control Buttons */
.project-overlay-controls {
    position: absolute;
    top: -60px;
    right: 0;
    display: flex;
    gap: 10px;
    z-index: 20;
}

.project-overlay-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease-out-expo);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.project-overlay-zoom {
    position: absolute;
    top: 10px;
    right: 60px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease-out-expo);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.project-overlay-fullscreen {
    position: absolute;
    top: 10px;
    right: 110px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease-out-expo);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.project-overlay-close:hover,
.project-overlay-zoom:hover,
.project-overlay-fullscreen:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.15) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.project-overlay-close {
    position: absolute;
    top: -50px;
    right: 0;
}

.project-overlay-close:hover {
    transform: rotate(90deg);
}

.project-overlay-zoom.active {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.15) 100%);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Navigation Arrows */
.project-overlay-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.35rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s var(--ease-out-expo);
    z-index: 15;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.project-overlay-nav::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.35s var(--ease-out-expo);
    z-index: -1;
}

.project-overlay-nav:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.08) 100%);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.15);
}

.project-overlay-nav:hover::before {
    opacity: 1;
}

.project-overlay-prev {
    left: -80px;
}

.project-overlay-next {
    right: -80px;
}

/* Image Wrapper */
.project-overlay-image-wrapper {
    position: relative;
    width: 100%;
    max-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 100px rgba(255, 255, 255, 0.03) inset;
    cursor: zoom-in;
    transition: max-height 0.4s var(--ease-out-expo);
}

.project-overlay-image-wrapper.zoomed {
    cursor: grab;
    max-height: 85vh;
}

.project-overlay-image-wrapper.zoomed:active {
    cursor: grabbing;
}

.project-overlay-image {
    max-width: 100%;
    max-height: 65vh;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.4s var(--ease-out-expo);
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
}

.project-overlay-image.loaded {
    opacity: 1;
    transform: scale(1);
}

.project-overlay-image-wrapper.zoomed .project-overlay-image {
    max-height: 85vh;
    transition: transform 0.3s var(--ease-out-expo);
}

/* Loading Animation */
.project-overlay-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.project-overlay-loader.hidden {
    display: none;
}

.project-overlay-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.9s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Project Info Panel */
.project-overlay-info {
    text-align: center;
    padding: 1.75rem 2rem;
    color: #ffffff;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    border-radius: 0 0 16px 16px;
    width: 100%;
    transform: translateY(0);
    transition: transform 0.4s var(--ease-out-expo), opacity 0.4s var(--ease-out-expo);
}

.project-overlay-info.hidden {
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
}

.project-overlay-tags {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 0.85rem;
    flex-wrap: wrap;
}

.project-overlay-tags .project-tag {
    padding: 0.35rem 0.9rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.project-overlay-title {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.02em;
}

.project-overlay-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.65;
}

.project-overlay-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.25rem;
}

.project-overlay-links .project-link {
    position: relative;
    padding: 0.6rem 1.25rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s var(--ease-out-expo);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.project-overlay-links .project-link:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* Counter & Keyboard Hints */
.project-overlay-counter {
    position: absolute;
    bottom: -38px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-overlay-counter::before,
.project-overlay-counter::after {
    content: '';
    width: 30px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.project-overlay-keyboard-hint {
    position: absolute;
    bottom: -38px;
    right: 0;
    display: flex;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
}

.keyboard-hint kbd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.7rem;
}

/* Fullscreen Mode */
.project-image-overlay.fullscreen .project-overlay-container {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100vh;
}

.project-image-overlay.fullscreen .project-overlay-image-wrapper {
    max-height: 90vh;
    border-radius: 0;
    border: none;
}

.project-image-overlay.fullscreen .project-overlay-image {
    max-height: 90vh;
}

.project-image-overlay.fullscreen .project-overlay-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 100%);
    border-radius: 0;
    padding: 2rem;
}

/* ============================================
   CAROUSEL BRAND ANIMATION
   ============================================ */
/* ─── Rule ─── */
.rule {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--rule) 15%,
            /* --secondary at 12% */
            rgba(175, 175, 175, 0.35) 50%,
            /* --secondary (#afafaf) at 35% */
            var(--rule) 85%,
            transparent 100%);
    position: relative;
}

.rule::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 4px;
    background: var(--sep);
    /* var(--primary) */
    border-radius: 50%;
    box-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.5);
    /* var(--primary) at 50% */
}

/* ─── Carousel wrapper ─── */
.text-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 28px 0;
    cursor: default;
    --vel-duration: 28s;
    --vel-target: 28s;
    --vel-ease: linear;
}

/* Edge fade masks */
.text-carousel::before,
.text-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(80px, 14vw, 240px);
    z-index: 2;
    pointer-events: none;
}

.text-carousel::before {
    left: 0;
    background: linear-gradient(to right, var(--bg) 30%, transparent);
    /* --bg: #000000 custom */
}

.text-carousel::after {
    right: 0;
    background: linear-gradient(to left, var(--bg) 30%, transparent);
    /* --bg: #000000 custom */
}

/* ─── Track ─── */
.carousel-track {
    display: flex;
    align-items: center;
    width: max-content;
    white-space: nowrap;
    will-change: transform;
    animation: marquee-fwd var(--vel-duration) linear infinite;
}

.carousel-track-2 {
    animation-name: marquee-rev;
}

/* ─── Word spans ─── */
.carousel-track span {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.5rem, 7.5vw, 7.5rem);
    letter-spacing: 0.04em;
    color: var(--text);
    /* var(--primary) */
    text-transform: uppercase;
    line-height: 1;
    display: inline-block;
    position: relative;
    transition:
        color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        text-shadow 0.35s ease,
        -webkit-text-stroke 0.35s ease;
}

.carousel-track span:not(.separator):hover {
    color: var(--sep);
    /* var(--primary) */
    transform: skewX(-4deg) scaleY(1.04);
    text-shadow: 0 0 40px rgba(241, 245, 249, 0.45);
    /* var(--text-light) #f1f5f9 at 45% */
}

/* ─── Outlined row ─── */
.carousel-track-2 span:not(.separator) {
    color: transparent !important;
    -webkit-text-stroke: 3px rgba(0, 0, 0);
    /* --secondary #afafaf at 25% */
    transition:
        -webkit-text-stroke 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        text-shadow 0.35s ease;
}

.carousel-track-2 span:not(.separator):hover {
    -webkit-text-stroke: 1.5px var(--secondary);
    /* --secondary #afafaf */
    color: transparent !important;
    transform: skewX(-4deg) scaleY(1.04);
    text-shadow: 0 0 40px rgba(148, 163, 184, 0.25);
    /* var(--text-gray) #94a3b8 at 25% */
}

/* ─── Separator ─── */
.separator {
    margin: 0 clamp(18px, 3vw, 56px);
    color: var(--sep) !important;
    /* var(--primary) */
    -webkit-text-stroke: 0 !important;
    opacity: 0.7;
    font-family: inherit !important;
    font-size: clamp(0.9rem, 2vw, 2.2rem) !important;
    letter-spacing: 0 !important;
    transform: translateY(-3px);
    transition: opacity 0.3s ease, transform 0.3s ease !important;
}

/* ─── Keyframes ─── */
@keyframes marquee-fwd {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes marquee-rev {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

/* ─── Velocity glow overlay on active carousel ─── */
.text-carousel.boosting::before,
.text-carousel.boosting::after {
    width: clamp(120px, 20vw, 320px);
    transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.text-carousel.boosting .separator {
    opacity: 1;
    transform: translateY(-3px) scale(1.15);
}

/* Motion blur shimmer on boosting words */
.text-carousel.boosting .carousel-track span:not(.separator) {
    filter: blur(0.3px);
    transition:
        color 0.08s linear,
        filter 0.4s ease,
        transform 0.08s linear;
}

.text-carousel.boosting .carousel-track span:not(.separator):hover {
    filter: blur(0px);
    transform: skewX(-6deg) scaleY(1.05);
}

/* ============================================
   CAROUSEL SKILL ANIMATION
   ============================================ */
.professional-carousel {
    position: relative;
    padding: 60px 0;
    background: transparent;
    overflow: hidden;
}

.professional-carousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.5px;
    background: rgb(112, 112, 112);
}

.carousel-wrapper {
    position: relative;
    width: 100%;
}

.carousel-track-container {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right,
            transparent 0%,
            black 5%,
            black 95%,
            transparent 100%);
    -webkit-mask-image: linear-gradient(to right,
            transparent 0%,
            black 5%,
            black 95%,
            transparent 100%);
}

.carousel-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scrollLeft 30s linear infinite;
    padding-top: 5px;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 15px));
    }
}

.skill-card {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    perspective: 1000px;
}

.skill-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.skill-card:hover .skill-card-inner {
    transform: rotateY(180deg);
}

.skill-card-front,
.skill-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.skill-card-front {
    background: linear-gradient(145deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.skill-card-front::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skill-card:hover .skill-card-front::before {
    opacity: 1;
}

.skill-card-front img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    filter: grayscale(100%) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.skill-card:hover .skill-card-front img {
    transform: scale(1.1);
    filter: grayscale(100%) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

.skill-card-back {
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
    transform: rotateY(180deg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.skill-card-back span {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.skill-card-back p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Floating particles effect */
.professional-carousel .particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.professional-carousel .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: float 15s infinite;
}

.professional-carousel .particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
}

.professional-carousel .particle:nth-child(2) {
    left: 20%;
    animation-delay: 2s;
}

.professional-carousel .particle:nth-child(3) {
    left: 30%;
    animation-delay: 4s;
}

.professional-carousel .particle:nth-child(4) {
    left: 40%;
    animation-delay: 6s;
}

.professional-carousel .particle:nth-child(5) {
    left: 50%;
    animation-delay: 8s;
}

.professional-carousel .particle:nth-child(6) {
    left: 60%;
    animation-delay: 10s;
}

.professional-carousel .particle:nth-child(7) {
    left: 70%;
    animation-delay: 12s;
}

.professional-carousel .particle:nth-child(8) {
    left: 80%;
    animation-delay: 14s;
}

.professional-carousel .particle:nth-child(9) {
    left: 90%;
    animation-delay: 1s;
}

.professional-carousel .particle:nth-child(10) {
    left: 15%;
    animation-delay: 3s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
        transform: translateY(90vh) scale(1);
    }

    90% {
        opacity: 1;
        transform: translateY(10vh) scale(1);
    }

    100% {
        transform: translateY(0) scale(0);
        opacity: 0;
    }
}

/* Pause on hover */
.carousel-track-container:hover .carousel-track {
    animation-play-state: paused;
}

/* ============================================
   CAROUSEL CTA ANIMATION
   ============================================ */
/* ── Carousel wrapper ── */
.inf-carousel-section {
    background: #0a0a0a;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.inf-carousel-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.inf-carousel-stage {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Edge fade masks */
.inf-carousel-stage::before,
.inf-carousel-stage::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(60px, 12vw, 180px);
    z-index: 3;
    pointer-events: none;
}

.inf-carousel-stage::before {
    left: 0;
    background: linear-gradient(to right, #0a0a0a, transparent);
}

.inf-carousel-stage::after {
    right: 0;
    background: linear-gradient(to left, #0a0a0a, transparent);
}

/* ── Track ── */
.inf-carousel-row {
    display: flex;
    align-items: center;
    width: max-content;
    white-space: nowrap;
    padding: clamp(4px, 1vw, 14px) 0;
    will-change: transform;
}

.inf-carousel-row:hover {
    animation-play-state: paused;
}

.inf-carousel-row-1 {
    animation: scroll-left 25s linear infinite;
}

.inf-carousel-row-2 {
    animation: scroll-right 30s linear infinite;
}

.inf-carousel-row-3 {
    animation: scroll-left 35s linear infinite;
}

/* ── CTA Button in carousel ── */
.inf-carousel-cta {
    position: absolute;
    right: 60px;
    z-index: 4;
    flex-shrink: 0;
}

.inf-carousel-cta-btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #0a0a0a;
    background: #e63946;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.inf-carousel-cta-btn:hover {
    background: #fff;
    color: #0a0a0a;
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.4);
}

/* ── Words ── */
.word {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 900;
    font-size: clamp(2.4rem, 8.5vw, 7.2rem);
    line-height: 1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    display: inline-block;
    transition: color 0.22s ease, -webkit-text-stroke-color 0.22s ease, transform 0.22s ease;
}

.outlined {
    color: transparent;
    -webkit-text-stroke: 2px #fff;
}

.filled {
    color: #fff;
    -webkit-text-stroke: 2px transparent;
}

.outlined:hover {
    color: #fff;
    -webkit-text-stroke-color: transparent;
    transform: skewX(-4deg);
}

.filled:hover {
    color: rgb(112, 112, 112);
    transform: skewX(-4deg);
}

.inf-carousel-row-3 .word {
    font-size: clamp(1.6rem, 5vw, 4.2rem);
    font-weight: 800;
    opacity: 0.55;
    -webkit-text-stroke-width: 1px;
}

/* ── Dividers ── */
.divider {
    color: rgba(255, 255, 255, 0.3);
    font-size: clamp(1rem, 2.5vw, 2rem);
    margin: 0 clamp(18px, 3vw, 56px);
}

.divider-dot {
    width: clamp(5px, 0.7vw, 9px);
    height: clamp(5px, 0.7vw, 9px);
    background: #fff;
    border-radius: 50%;
    display: inline-block;
    margin: 0 clamp(22px, 3vw, 58px);
    vertical-align: middle;
    opacity: 0.7;
}

/* ── Keyframes ── */
@keyframes scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes scroll-right {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}