:root {
    --primary: #0a0a0a;
    --accent: #ffffff;
    --accent-dark: #e0e0e0;
    --accent-glow: rgba(255, 255, 255, 0.15);
    --secondary: #888;
    --text-slate: #999;
    --bg-light: #111;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #0a0a0a;
    color: #fff;
    overflow-x: hidden;
}

::selection {
    background-color: #fff;
    color: #000;
}

/* ========================================
   PARTICLES CANVAS
   ======================================== */
#particles {
    opacity: 0.3;
}

/* ========================================
   NAVIGATION
   ======================================== */
#navbar {
    background: transparent;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

#navbar.scrolled {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

#navbar.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.8);
}

#navbar .nav-link {
    color: rgba(255, 255, 255, 0.8);
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

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

.nav-link:hover {
    color: #fff !important;
}

.nav-link:hover::after {
    width: 100%;
}

/* Logo Hover Animation */
.logo-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    overflow: visible;
}

.nav-logo-container {
    width: auto;
    height: 90px;
    position: relative;
    flex-shrink: 0;
}

.nav-logo {
    width: auto;
    height: 90px;
    object-fit: contain;
    transition: all 0.4s ease;
    filter: brightness(1.2);
    position: relative;
    z-index: 2;
}

.logo-wrap:hover .nav-logo {
    transform: rotate(10deg) scale(1.1);
    filter: brightness(1.5);
}

/* 3D Portal / Wormhole — appears when logo flies away */
.logo-portal {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
    perspective: 300px;
}

.logo-portal.active {
    opacity: 1;
    transform: scale(1);
}

.portal-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.portal-ring.ring-1 {
    inset: 2px;
    border-color: rgba(255, 255, 255, 0.12);
    animation: portalSpin 3s linear infinite;
}

.portal-ring.ring-2 {
    inset: 10px;
    border-color: rgba(255, 255, 255, 0.08);
    border-style: dashed;
    animation: portalSpin 5s linear infinite reverse;
}

.portal-ring.ring-3 {
    inset: 18px;
    border-color: rgba(255, 255, 255, 0.05);
    animation: portalSpin 7s linear infinite;
}

.portal-core {
    position: absolute;
    inset: 22px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, rgba(0, 0, 0, 0.8) 70%);
    animation: portalPulse 2s ease-in-out infinite;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

@keyframes portalSpin {
    0% { transform: rotateX(60deg) rotateZ(0deg); }
    100% { transform: rotateX(60deg) rotateZ(360deg); }
}

@keyframes portalPulse {
    0%, 100% {
        box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.8), 0 0 8px rgba(255, 255, 255, 0.03);
    }
    50% {
        box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.9), 0 0 15px rgba(255, 255, 255, 0.06);
    }
}

.footer-logo {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: 50%;
    filter: brightness(1.2);
}

.logo-text {
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

#navbar:not(.scrolled) .logo-text {
    color: white;
}

#navbar:not(.scrolled) .logo-letter:nth-child(-n+10) {
    color: white;
}

.logo-letter {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                color 0.3s ease,
                text-shadow 0.3s ease;
    cursor: pointer;
}

.logo-letter:nth-child(-n+10) {
    background: linear-gradient(135deg, #fff, #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-space {
    display: inline-block;
    width: 0.3em;
}

.logo-wrap:hover .logo-letter {
    animation: logoWave 0.6s ease forwards;
    background: linear-gradient(135deg, #fff, #888, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-wrap:hover .logo-letter:nth-child(1) { animation-delay: 0s; }
.logo-wrap:hover .logo-letter:nth-child(2) { animation-delay: 0.03s; }
.logo-wrap:hover .logo-letter:nth-child(3) { animation-delay: 0.06s; }
.logo-wrap:hover .logo-letter:nth-child(4) { animation-delay: 0.09s; }
.logo-wrap:hover .logo-letter:nth-child(6) { animation-delay: 0.12s; }
.logo-wrap:hover .logo-letter:nth-child(7) { animation-delay: 0.15s; }
.logo-wrap:hover .logo-letter:nth-child(8) { animation-delay: 0.18s; }
.logo-wrap:hover .logo-letter:nth-child(9) { animation-delay: 0.21s; }
.logo-wrap:hover .logo-letter:nth-child(10) { animation-delay: 0.24s; }
.logo-wrap:hover .logo-letter:nth-child(12) { animation-delay: 0.27s; }
.logo-wrap:hover .logo-letter:nth-child(13) { animation-delay: 0.30s; }
.logo-wrap:hover .logo-letter:nth-child(14) { animation-delay: 0.33s; }
.logo-wrap:hover .logo-letter:nth-child(15) { animation-delay: 0.36s; }
.logo-wrap:hover .logo-letter:nth-child(16) { animation-delay: 0.39s; }
.logo-wrap:hover .logo-letter:nth-child(17) { animation-delay: 0.42s; }
.logo-wrap:hover .logo-letter:nth-child(18) { animation-delay: 0.45s; }
.logo-wrap:hover .logo-letter:nth-child(19) { animation-delay: 0.48s; }
.logo-wrap:hover .logo-letter:nth-child(20) { animation-delay: 0.51s; }

@keyframes logoWave {
    0% { transform: translateY(0) scale(1); }
    30% { transform: translateY(-8px) scale(1.15); }
    50% { transform: translateY(2px) scale(0.95); }
    70% { transform: translateY(-3px) scale(1.05); }
    100% { transform: translateY(0) scale(1); }
}

.logo-glow {
    position: absolute;
    inset: -10px -20px;
    border-radius: 20px;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0) 0%, transparent 70%);
    z-index: 1;
    transition: background 0.4s ease;
    pointer-events: none;
}

.logo-wrap:hover .logo-glow {
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 50%, transparent 70%);
}

/* Logo Landing (near What's New — flex end) */
.logo-landing {
   width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: 50%;
    transition: all 0.4s ease;
    filter: brightness(1.2);
}

.logo-landing.landed {
    opacity: 1;
    transform: scale(1);
    animation: landBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.logo-landing img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.3) drop-shadow(0 0 15px rgba(255, 255, 255, 0.15));
    border-radius: 50%;
    border: none;
    background: transparent;
    padding: 0;
}

@keyframes landBounce {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.15); opacity: 1; }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes landRing {
    0% { transform: scale(0.8); opacity: 0; }
    30% { opacity: 0.6; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Flying logo clone */
.logo-flyer {
    position: fixed;
    z-index: 10000;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    pointer-events: none;
    filter: brightness(1.4) drop-shadow(0 4px 20px rgba(255, 255, 255, 0.2));
}

.logo-flyer img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.logo-flyer .trail {
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: flyerTrail 0.4s ease-out forwards;
}

@keyframes flyerTrail {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(2); opacity: 0; }
}

.logo-particles {
    position: absolute;
    inset: -20px -30px;
    pointer-events: none;
    z-index: 3;
}

.logo-spark {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0;
    pointer-events: none;
}

.logo-wrap:hover .logo-spark {
    animation: sparkFloat 0.8s ease forwards;
}

@keyframes sparkFloat {
    0% { opacity: 1; transform: translate(0, 0) scale(1); }
    100% { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(0); }
}

.hamburger-line {
    transition: all 0.3s ease;
}

.mobile-link {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: color 0.3s ease;
    color: rgba(255, 255, 255, 0.7);
}

.mobile-link:hover {
    color: #fff;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    background: #000;
    min-height: 100vh;
}

/* Hero Video Background */
.hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%) scale(1.05);
    object-fit: cover;
}

.hero-video-fallback {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #000 0%, #1a1a1a 50%, #000 100%);
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.88) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.75) 100%
    );
    z-index: 2;
}

.hero-shapes {
    position: absolute;
    inset: 0;
    z-index: 3;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: #333;
    top: -200px;
    right: -100px;
    animation: float1 15s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: #222;
    bottom: -100px;
    left: -100px;
    animation: float2 18s ease-in-out infinite;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: #444;
    top: 50%;
    left: 50%;
    animation: float3 12s ease-in-out infinite;
}

.shape-4 {
    width: 200px;
    height: 200px;
    background: #333;
    bottom: 20%;
    right: 20%;
    animation: float4 20s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -50px) rotate(120deg); }
    66% { transform: translate(-20px, 30px) rotate(240deg); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, -40px) scale(1.1); }
}

@keyframes float3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-40%, -60%) scale(0.8); }
}

@keyframes float4 {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-30px, 20px); }
    50% { transform: translate(20px, -30px); }
    75% { transform: translate(30px, 10px); }
}

.hero-badge {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    animation-delay: 0.3s;
}

.hero-title {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    animation-delay: 0.5s;
}

#hero-subtitle {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    animation-delay: 0.7s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.text-gradient-hero {
    background: linear-gradient(135deg, #fff 0%, #888 50%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Buttons */
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: #fff;
    color: #000;
    font-weight: 700;
    border-radius: 0.75rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    animation-delay: 0.9s;
}

.btn-hero-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.15);
    background: #e0e0e0;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 700;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    animation-delay: 1s;
}

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

/* Slider Controls */
.slider-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.slider-arrow:hover {
    background: #fff;
    border-color: #fff;
    color: #000;
    transform: scale(1.1);
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
}

.hero-dot.active {
    background: #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.hero-dot.active::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0; }
}

/* Scroll Indicator */
.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(12px); opacity: 0.3; }
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.section-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.03) 1px, transparent 0);
    background-size: 40px 40px;
}

.about-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-main-image {
    width: 280px;
    height: 320px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 1;
}

.about-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.about-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 2;
    color: #fff;
}

.about-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 30px 80px rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.about-card-1 {
    top: 20px;
    left: 10%;
    animation: floatCard1 6s ease-in-out infinite;
}

.about-card-2 {
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    animation: floatCard2 7s ease-in-out infinite;
}

.about-card-3 {
    bottom: 20px;
    left: 25%;
    animation: floatCard3 8s ease-in-out infinite;
}

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

@keyframes floatCard2 {
    0%, 100% { transform: translateY(-50%); }
    50% { transform: translateY(calc(-50% - 12px)); }
}

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

.about-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

/* Stat Card */
.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.12);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

/* ========================================
   SERVICES
   ======================================== */
.service-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.service-card-image {
    width: calc(100% + 5rem);
    height: 180px;
    margin: -2.5rem -2.5rem 1.5rem -2.5rem;
    overflow: hidden;
    position: relative;
    z-index: 1;
    border-radius: 20px 20px 0 0;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease, filter 0.6s ease;
    filter: grayscale(40%);
}

.service-card:hover .service-card-image img {
    transform: scale(1.08);
    filter: grayscale(0%);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 40px 80px rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.15);
}

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

.service-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover .service-icon-box {
    transform: scale(1.1) rotate(5deg);
}

.service-card:hover .service-icon-box i {
    color: white !important;
}

.service-card .learn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    margin-top: 1.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.service-card:hover .learn-more {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   PORTFOLIO
   ======================================== */
.portfolio-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    height: 350px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
}

.portfolio-bg {
    position: absolute;
    inset: 0;
    transition: transform 0.8s ease;
    overflow: hidden;
}

.portfolio-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(40%);
    transition: filter 0.6s ease;
    z-index: 1;
}

.portfolio-card:hover .portfolio-bg {
    transform: scale(1.05);
}

.portfolio-card:hover .portfolio-bg img {
    filter: grayscale(0%);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0,0,0,0.1) 40%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    transition: all 0.4s ease;
}

.portfolio-card:hover .portfolio-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0,0,0,0.1) 100%);
}

.portfolio-tags {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.1s;
}

.portfolio-card:hover .portfolio-tags {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-tag {
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    font-size: 0.75rem;
    color: white;
    font-weight: 500;
}

/* ========================================
   INDUSTRIES
   ======================================== */
.industries-bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    border-radius: 50%;
}

.industry-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    height: 220px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.industry-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.industry-card-bg {
    position: absolute;
    inset: 0;
    transition: transform 0.8s ease;
    overflow: hidden;
}

.industry-card-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(40%);
    transition: filter 0.6s ease;
    z-index: 1;
}

.industry-card:hover .industry-card-bg {
    transform: scale(1.1);
}

.industry-card:hover .industry-card-bg img {
    filter: grayscale(0%);
}

.industry-card-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    transition: background 0.4s ease;
    padding: 1.5rem;
}

.industry-card:hover .industry-card-content {
    background: rgba(0, 0, 0, 0.4);
}

.industry-card-content i {
    width: 40px;
    height: 40px;
    color: white;
    margin-bottom: 0.75rem;
    transition: transform 0.4s ease;
}

.industry-card:hover .industry-card-content i {
    transform: scale(1.2) rotate(10deg);
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.12);
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    color: white;
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-stars i {
    width: 16px;
    height: 16px;
    color: #f59e0b;
    fill: #f59e0b;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, #111 0%, #1a1a1a 50%, #222 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.03) 1px, transparent 0);
    background-size: 32px 32px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
    bottom: -200px;
    left: -100px;
    border-radius: 50%;
}

.footer-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-cta-link:hover {
    color: #fff;
    transform: translateX(5px);
}

/* ========================================
   BUTTONS (General)
   ======================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.2rem;
    background: #fff;
    color: #000;
    font-weight: 700;
    border-radius: 0.75rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.05);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.1);
    background: #e0e0e0;
}

.btn-primary-sm {
    padding: 0.6rem 1.5rem;
    background: #fff;
    color: #000;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.btn-primary-sm:hover {
    background: #e0e0e0;
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}

.btn-secondary {
    display: inline-flex;
    padding: 0.8rem 1.8rem;
    border: 2px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-weight: 700;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

/* ========================================
   TEXT GRADIENTS
   ======================================== */
.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   SOCIAL BUTTONS
   ======================================== */
.social-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.5);
}

.social-btn:hover {
    background: #fff;
    border-color: #fff;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

/* ========================================
   SCROLLBAR
   ======================================== */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* ========================================
   ANIMATION UTILITIES
   ======================================== */
.fade-up {
    will-change: transform, opacity;
}

/* Stagger children animation */
.stagger-in > * {
    opacity: 0;
    transform: translateY(30px);
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

/* ========================================
   CURSOR TRAIL ANIMATION
   ======================================== */
.cursor-glow {
    position: fixed;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transition: width 0.3s ease, height 0.3s ease, background 0.3s ease;
    mix-blend-mode: screen;
}

.cursor-glow.cursor-hover {
    width: 70px;
    height: 70px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
}

.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease, background 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4), 0 0 20px rgba(255, 255, 255, 0.15);
}

.cursor-dot.cursor-dot-hover {
    transform: translate(-50%, -50%) scale(2);
    background: #fff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5), 0 0 30px rgba(255, 255, 255, 0.2);
}

.cursor-trail {
    position: fixed;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
}

.click-ripple {
    position: fixed;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    pointer-events: none;
    z-index: 10001;
    transform: translate(-50%, -50%) scale(1);
    animation: clickRipple 0.8s ease-out forwards;
}

@keyframes clickRipple {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
        border-color: rgba(255, 255, 255, 0.6);
    }
    100% {
        transform: translate(-50%, -50%) scale(8);
        opacity: 0;
        border-color: rgba(255, 255, 255, 0.1);
    }
}

/* Hide custom cursor on touch / small screens */
@media (hover: none), (max-width: 768px) {
    .cursor-glow,
    .cursor-dot,
    .cursor-trail,
    .click-ripple {
        display: none !important;
    }
}

/* ========================================
   FOURSTACK TEAM — 4 Pillars Design
   ======================================== */
.fourstack-team {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.fs-stack-card {
    position: relative;
    text-align: center;
    padding: 0 12px;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    animation-delay: var(--delay);
}

.fs-stack-card:hover {
    transform: translateY(-12px);
}

/* Large translucent number behind the card */
.fs-stack-number {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    pointer-events: none;
    z-index: 0;
    transition: color 0.5s ease;
}

.fs-stack-card:hover .fs-stack-number {
    color: rgba(255, 255, 255, 0.07);
}

/* Photo container */
.fs-stack-img {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.fs-stack-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.6s ease;
}

.fs-stack-card:hover .fs-stack-img img {
    filter: grayscale(0%);
    transform: scale(1.06);
}

/* Stack label badge on photo */
.fs-stack-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(-8px);
    transition: all 0.4s ease;
}

.fs-stack-card:hover .fs-stack-badge {
    opacity: 1;
    transform: translateY(0);
}

/* Info section */
.fs-stack-info {
    position: relative;
    z-index: 1;
}

.fs-stack-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.25);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.fs-stack-info h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.fs-stack-card:hover .fs-stack-info h3 {
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

.fs-stack-info p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 12px;
}

/* Social links */
.fs-stack-socials {
    display: flex;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.4s ease;
}

.fs-stack-card:hover .fs-stack-socials {
    opacity: 1;
    transform: translateY(0);
}

.fs-stack-socials a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.fs-stack-socials a:hover {
    background: #fff;
    color: #000;
    transform: scale(1.15);
}

/* Vertical connector line between cards */
.fs-stack-line {
    position: absolute;
    top: 20%;
    bottom: 40%;
    right: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.fs-stack-card:last-child .fs-stack-line {
    display: none;
}

/* Initials fallback */
.fs-stack-initials {
    width: 100%;
    aspect-ratio: 3/4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, #141414, #1a1a1a);
    border-radius: 20px;
}

@media (max-width: 768px) {
    .fourstack-team {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .fs-stack-number {
        font-size: 5rem;
        top: -15px;
    }
    .fs-stack-line {
        display: none;
    }
}

@media (max-width: 480px) {
    .fourstack-team {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin: 0 auto;
    }
}

/* ========================================
   INDUSTRIES GLASSMORPHISM CARDS
   ======================================== */
.glass-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.glass-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 40px rgba(255, 255, 255, 0.03);
}

.glass-card-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.glass-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.glass-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(50%) brightness(0.7);
    transition: all 0.6s ease;
}

.glass-card:hover .glass-card-img img {
    filter: grayscale(0%) brightness(0.9);
    transform: scale(1.1);
}

.glass-card-body {
    padding: 24px;
    position: relative;
}

.glass-card-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.glass-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        4px 4px 10px rgba(0, 0, 0, 0.3),
        -2px -2px 8px rgba(255, 255, 255, 0.03);
    transition: all 0.4s ease;
}

.glass-card:hover .glass-card-icon {
    background: rgba(255, 255, 255, 0.12);
    box-shadow:
        4px 4px 12px rgba(0, 0, 0, 0.4),
        -2px -2px 10px rgba(255, 255, 255, 0.06),
        0 0 20px rgba(255, 255, 255, 0.04);
    transform: scale(1.1);
}

.glass-card-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.glass-card-body p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.6;
}

/* Glass shimmer on hover */
.glass-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.03) 45%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.03) 55%,
        transparent 60%
    );
    transform: translateX(-100%) rotate(0deg);
    transition: none;
    z-index: 3;
    pointer-events: none;
}

.glass-card:hover::before {
    animation: glassShimmer 0.8s ease forwards;
}

@keyframes glassShimmer {
    0% { transform: translateX(-100%) rotate(0deg); }
    100% { transform: translateX(100%) rotate(0deg); }
}

/* ========================================
   SERVICES BENTO GRID
   ======================================== */
.services-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: 20px;
}

.services-bento-grid .bento-card:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
}

.services-bento-grid .bento-card:nth-child(2) {
    grid-column: span 1;
    grid-row: span 2;
}

.services-bento-grid .bento-card:nth-child(5) {
    grid-column: span 2;
    grid-row: span 1;
}

.bento-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.bento-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.bento-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.bento-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(60%) brightness(0.5);
    transition: all 0.6s ease;
}

.bento-card:hover .bento-card-img img {
    filter: grayscale(0%) brightness(0.7);
    transform: scale(1.08);
}

.bento-card-content {
    position: absolute;
    inset: 0;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
    z-index: 2;
}

.bento-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.bento-card:hover .bento-card-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.bento-card-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.bento-card-content p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .services-bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 240px;
    }
    .services-bento-grid .bento-card:nth-child(1),
    .services-bento-grid .bento-card:nth-child(2),
    .services-bento-grid .bento-card:nth-child(5) {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* ========================================
   AUTO-SCROLLING CAROUSEL
   ======================================== */
.carousel-wrapper {
    overflow: hidden;
    position: relative;
    padding: 0 0 2rem 0;
}

.carousel-wrapper::before,
.carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, inherit, transparent);
}

.carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, inherit, transparent);
}

/* Edge fades per section background */
#showcase .carousel-wrapper::before { background: linear-gradient(to right, #000, transparent); }
#showcase .carousel-wrapper::after { background: linear-gradient(to left, #000, transparent); }
#services .carousel-wrapper::before { background: linear-gradient(to right, #111, transparent); }
#services .carousel-wrapper::after { background: linear-gradient(to left, #111, transparent); }
#portfolio .carousel-wrapper::before { background: linear-gradient(to right, #0a0a0a, transparent); }
#portfolio .carousel-wrapper::after { background: linear-gradient(to left, #0a0a0a, transparent); }
#industries .carousel-wrapper::before { background: linear-gradient(to right, #000, transparent); }
#industries .carousel-wrapper::after { background: linear-gradient(to left, #000, transparent); }
#testimonials .carousel-wrapper::before { background: linear-gradient(to right, #111, transparent); }
#testimonials .carousel-wrapper::after { background: linear-gradient(to left, #111, transparent); }

.carousel-track {
    display: flex;
    gap: 1.5rem;
    animation: carouselScroll 30s linear infinite;
    width: max-content;
    padding: 1rem 0;
}

.carousel-track:hover {
    animation-play-state: paused;
}

@keyframes carouselScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes carouselScrollReverse {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.carousel-ltr {
    animation: carouselScrollReverse 35s linear infinite;
}

.carousel-rtl {
    animation: carouselScroll 35s linear infinite;
}

/* JS-driven auto-scroll carousel — hover/wheel takes over, scrollbar hidden */
.hover-scroll-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 0 0 2rem 0;
}

.hover-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.hover-scroll::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.hover-scroll .carousel-card {
    flex: 0 0 380px;
}


.carousel-card {
    flex: 0 0 380px;
    padding: 0;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.carousel-card:hover {
    transform: translateY(-8px);
}

.carousel-card-img {
    width: 100%;
    height: 240px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.carousel-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(40%);
    transition: all 0.6s ease;
}

.carousel-card:hover .carousel-card-img img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.carousel-card-body {
    padding: 0 0.25rem;
}

.carousel-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.carousel-card:hover .carousel-card-icon {
    background: rgba(255, 255, 255, 0.15) !important;
    transform: scale(1.1);
}

.carousel-card-img-tall {
    height: 320px;
    position: relative;
}

.carousel-card-img-tall .portfolio-overlay {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.1) 40%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    z-index: 2;
    transition: background 0.4s ease;
}

.carousel-card:hover .carousel-card-img-tall .portfolio-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.1) 100%);
}

.carousel-card-portfolio {
    flex: 0 0 420px;
}

.carousel-card .carousel-card-img-tall .industry-card-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.4s ease;
    padding: 1.5rem;
}

.carousel-card:hover .carousel-card-img-tall .industry-card-content {
    background: rgba(0, 0, 0, 0.5);
}

.carousel-card-testimonial {
    flex: 0 0 400px;
}

.carousel-card-testimonial .testimonial-card {
    height: 100%;
}

.carousel-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.carousel-nav-btn:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
    transform: scale(1.1);
}

/* ========================================
   PLAY DETECTOR TOAST
   ======================================== */
.play-toast {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(100px) scale(0.8);
    z-index: 99999;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

.play-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
    pointer-events: all;
}

.play-toast.hide {
    opacity: 0;
    transform: translateX(-50%) translateY(30px) scale(0.9);
    transition: all 0.4s ease-in;
}

.play-toast-inner {
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 32px 40px;
    text-align: center;
    min-width: 340px;
    max-width: 420px;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(255, 255, 255, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    animation: toastGlow 2s ease-in-out infinite alternate;
}

@keyframes toastGlow {
    0% { box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 255, 255, 0.02); }
    100% { box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 50px rgba(255, 255, 255, 0.05); }
}

.play-toast-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.play-toast-close:hover {
    color: #fff;
}

.play-toast-emoji {
    font-size: 3rem;
    margin-bottom: 12px;
    animation: emojiWink 1s ease-in-out 0.5s;
}

@keyframes emojiWink {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.3) rotate(-10deg); }
    50% { transform: scale(1.1) rotate(5deg); }
    75% { transform: scale(1.2) rotate(-3deg); }
}

.play-toast-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.play-toast-msg {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    margin-bottom: 20px;
}

.play-toast-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #fff;
    color: #000;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.01em;
}

.play-toast-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.15);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .carousel-card {
        flex: 0 0 300px;
    }

    .carousel-card-img {
        height: 190px;
    }

    .hero-title {
        font-size: 2.8rem !important;
        line-height: 1.1;
    }

    .about-visual {
        height: 300px;
    }

    .about-card {
        padding: 16px;
    }

    .about-card-2 {
        right: 0;
    }

    .service-card:hover {
        transform: translateY(-5px);
    }

    .portfolio-card {
        height: 250px;
    }

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

    .cta-section {
        padding: 3rem 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem !important;
    }

    .industry-card {
        height: 160px;
    }
}
