/* ═══════════════════════════════════════════════════════════════
   AI BUILD INFRA — Home Page Specific Styles (Premium Orbit Theme)
   ═══════════════════════════════════════════════════════════════ */

/* ── Hero Banner (Premium Dark Theme) ───────────────────────── */
.hero-banner.premium-dark {
    position: relative;
    background-color: #0F172A;
    background-image: 
        radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 20% 80%, rgba(249, 115, 22, 0.1) 0%, transparent 60%);
    min-height: 100vh;
    padding-top: calc(var(--header-height) + var(--space-2xl));
    padding-bottom: var(--space-3xl);
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #FFFFFF;
    z-index: 1;
}

/* Subtle Grid overlay */
.hero-banner.premium-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
}

/* Ambient Spotlights */
.ambient-glows {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.glow-spot {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.15;
    mix-blend-mode: screen;
}

.blue-spot {
    background: radial-gradient(circle, #38BDF8 0%, transparent 70%);
    width: 600px;
    height: 600px;
    top: -10%;
    right: -10%;
    animation: floatGlow 15s ease-in-out infinite alternate;
}

.orange-spot {
    background: radial-gradient(circle, #F97316 0%, transparent 70%);
    width: 500px;
    height: 500px;
    bottom: -10%;
    left: -5%;
    animation: floatGlow 12s ease-in-out infinite alternate-reverse;
}

.center-spot {
    background: radial-gradient(circle, #38BDF8 0%, transparent 70%);
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.06;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, -20px) scale(1.15); }
}

/* Parallax Particles Container */
.particles-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle-parallax {
    position: absolute;
    pointer-events: none;
    will-change: transform;
}

.particle-parallax .particle {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 100%);
    border-radius: 50%;
    will-change: transform;
}

.p-1 { left: 10%; top: 25%; }
.p-1 .particle { width: 4px; height: 4px; animation: floatParticle 8s ease-in-out infinite; }

.p-2 { left: 80%; top: 15%; }
.p-2 .particle { width: 5px; height: 5px; animation: floatParticle 12s ease-in-out infinite 2s; }

.p-3 { left: 45%; top: 75%; }
.p-3 .particle { width: 3px; height: 3px; animation: floatParticle 9s ease-in-out infinite 1s; }

.p-4 { left: 25%; top: 55%; }
.p-4 .particle { width: 5px; height: 5px; animation: floatParticle 11s ease-in-out infinite 3s; }

.p-5 { left: 70%; top: 65%; }
.p-5 .particle { width: 6px; height: 6px; animation: floatParticle 14s ease-in-out infinite 0.5s; }

.p-6 { left: 90%; top: 85%; }
.p-6 .particle { width: 4px; height: 4px; animation: floatParticle 10s ease-in-out infinite 4s; }

.p-7 { left: 15%; top: 80%; }
.p-7 .particle { width: 5px; height: 5px; animation: floatParticle 13s ease-in-out infinite 1.5s; }

.p-8 { left: 55%; top: 35%; }
.p-8 .particle { width: 5px; height: 5px; animation: floatParticle 15s ease-in-out infinite 2.5s; }

@keyframes floatParticle {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.15;
    }
    50% {
        transform: translateY(-25px) translateX(15px);
        opacity: 0.5;
    }
}

/* ── Hero Content (Left Column) ──────────────────────────────── */
.hero-container {
    position: relative;
    z-index: 2;
}

.hero-label-badge {
    display: inline-block;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.2);
    color: #F97316;
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
}

.hero-banner__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    margin-bottom: var(--space-lg);
}

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

.hero-banner__lead {
    font-family: var(--font-body);
    font-size: var(--fs-lg);
    line-height: 1.8;
    color: #94A3B8;
    margin-bottom: var(--space-2xl);
    max-width: 600px;
}

/* Entrance Animations on Load */
.hero-entrance-group {
    animation: fadeUp 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-entrance-group .hero-label-badge {
    animation: fadeUp 1s cubic-bezier(0.25, 1, 0.5, 1) 0.05s backwards;
}

.hero-entrance-group .hero-banner__title {
    animation: fadeUp 1.1s cubic-bezier(0.25, 1, 0.5, 1) 0.1s backwards;
}

.hero-entrance-group .hero-banner__lead {
    animation: fadeUp 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.2s backwards;
}

.hero-entrance-group .hero-cta-group {
    animation: fadeUp 1.3s cubic-bezier(0.25, 1, 0.5, 1) 0.35s backwards;
}

.hero-entrance-group .hero-trust-indicators {
    animation: fadeUp 1.4s cubic-bezier(0.25, 1, 0.5, 1) 0.5s backwards;
}

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

/* CTA Group Buttons */
.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.btn-gradient-primary {
    background: linear-gradient(135deg, #F97316 0%);
    color: #FFFFFF;
    border: none;
    padding: 0.95rem 2rem;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: var(--fs-base);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-base);
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.3);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-gradient-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #38BDF8 0%, #F97316 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: -1;
}

.btn-gradient-primary:hover {
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.5), 0 4px 20px rgba(249, 115, 22, 0.4);
}

.btn-gradient-primary:hover::before {
    opacity: 1;
}

.btn-glass-secondary {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.95rem 2rem;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: var(--fs-base);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

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

.btn-glass-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.btn-glass-secondary:hover::before {
    transform: translateX(100%);
}

/* Trust Indicators Badge Section */
.hero-trust-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs) var(--space-sm);
    margin-top: var(--space-xl);
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #E2E8F0;
    font-size: var(--fs-xs);
    font-weight: 500;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    user-select: none;
}

.trust-badge i {
    color: #F97316;
    font-size: 0.85rem;
}

.trust-badge:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    color: #FFFFFF;
}

/* ── Service Orbit System (Right Column) ───────────────────────── */
.orbit-wrapper {
    position: relative;
    width: 540px;
    height: 540px;
    margin: 0 auto;
    display: block;
    overflow: visible; /* ensure glowing borders/cards aren't clipped */
}

.orbit-container {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 540px;
    height: 540px;
    transform: translate(-50%, -50%) scale(1);
    transform-origin: center center;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform;
    animation: loadOrbit 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s backwards;
}

@keyframes loadOrbit {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.7) rotate(-20deg);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
}

/* Static Rings and Ring Hovers using :has() */
.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.ring-1 {
    width: 260px;
    height: 260px;
}

.ring-2 {
    width: 400px;
    height: 400px;
}

.ring-3 {
    width: 540px;
    height: 540px;
}

/* Ring Hover Illuminations */
.orbit-container:has(.card-seo:hover) .ring-1 {
    border-color: rgba(245, 158, 11, 0.35);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.1);
}
.orbit-container:has(.card-marketing:hover) .ring-1 {
    border-color: rgba(236, 72, 153, 0.35);
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.1);
}
.orbit-container:has(.card-erp:hover) .ring-2 {
    border-color: rgba(16, 185, 129, 0.35);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.1);
}
.orbit-container:has(.card-uiux:hover) .ring-2 {
    border-color: rgba(168, 85, 247, 0.35);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.1);
}
.orbit-container:has(.card-web:hover) .ring-3 {
    border-color: rgba(0, 242, 254, 0.35);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.1);
}
.orbit-container:has(.card-mobile:hover) .ring-3 {
    border-color: rgba(139, 92, 246, 0.35);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.1);
}

/* Central Digital Nucleus Core */
.orbit-nucleus {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nucleus-glow {
    position: absolute;
    inset: -15px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.35) 0%, rgba(249, 115, 22, 0.15) 50%, transparent 70%);
    filter: blur(10px);
    animation: nucleusPulse 4s ease-in-out infinite alternate;
}

.nucleus-core {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        inset 0 2px 4px rgba(255, 255, 255, 0.25), 
        0 4px 20px rgba(0, 0, 0, 0.8), 
        0 0 30px rgba(56, 189, 248, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
}

.nucleus-logo-text {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.25;
    color: #FFFFFF;
    letter-spacing: -0.02em;
    user-select: none;
}

.nucleus-logo-text .highlight {
    background: linear-gradient(135deg, #F97316 0%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 0.85rem;
}

@keyframes nucleusPulse {
    0% {
        transform: scale(0.96);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.06);
        opacity: 1;
    }
}

/* Service Cards Structure */
.orbit-card-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 4;
    pointer-events: none;
}

.orbit-card {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-xl);
    padding: 10px 16px;
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, 0.08), 
        0 8px 32px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    user-select: none;
    transition: 
        transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
        box-shadow 0.4s ease, 
        border-color 0.4s ease, 
        background-color 0.4s ease;
    will-change: transform, box-shadow;
}

.orbit-card-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--glow-color, #FFFFFF);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: transform 0.4s ease;
}

.orbit-card-title {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.02em;
}

/* Hover Elevations and Neon glow */
.orbit-card:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--glow-color);
    box-shadow: 
        0 0 20px rgba(255, 255, 255, 0.05),
        0 0 30px color-mix(in srgb, var(--glow-color) 45%, transparent),
        inset 0 1px 1px rgba(255, 255, 255, 0.15);
    cursor: pointer;
}

.orbit-card:hover .orbit-card-icon {
    transform: scale(1.15) rotate(15deg);
}

/* Pause Orbit on Hover */
.orbit-container:hover .orbit-card-wrapper {
    animation-play-state: paused;
}

/* --- Rotation Keyframe Animations (With upright counter-rotation) --- */
/* Inner Ring 1 (Radius 130px, Clockwise, Speed 28s) */
.card-seo-wrapper {
    transform: translate(-50%, -50%) rotate(0deg) translate(130px) rotate(0deg);
    animation: orbit-ring1-card1 28s linear infinite;
    animation-delay: 1.5s;
    animation-fill-mode: backwards;
}

.card-marketing-wrapper {
    transform: translate(-50%, -50%) rotate(180deg) translate(130px) rotate(-180deg);
    animation: orbit-ring1-card2 28s linear infinite;
    animation-delay: 1.5s;
    animation-fill-mode: backwards;
}

@keyframes orbit-ring1-card1 {
    0% { transform: translate(-50%, -50%) rotate(0deg) translate(130px) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg) translate(130px) rotate(-360deg); }
}

@keyframes orbit-ring1-card2 {
    0% { transform: translate(-50%, -50%) rotate(180deg) translate(130px) rotate(-180deg); }
    100% { transform: translate(-50%, -50%) rotate(540deg) translate(130px) rotate(-540deg); }
}

/* Middle Ring 2 (Radius 200px, Counter-Clockwise, Speed 38s) */
.card-erp-wrapper {
    transform: translate(-50%, -50%) rotate(60deg) translate(200px) rotate(-60deg);
    animation: orbit-ring2-card1 38s linear infinite;
    animation-delay: 1.5s;
    animation-fill-mode: backwards;
}

.card-uiux-wrapper {
    transform: translate(-50%, -50%) rotate(240deg) translate(200px) rotate(-240deg);
    animation: orbit-ring2-card2 38s linear infinite;
    animation-delay: 1.5s;
    animation-fill-mode: backwards;
}

@keyframes orbit-ring2-card1 {
    0% { transform: translate(-50%, -50%) rotate(60deg) translate(200px) rotate(-60deg); }
    100% { transform: translate(-50%, -50%) rotate(-300deg) translate(200px) rotate(300deg); }
}

@keyframes orbit-ring2-card2 {
    0% { transform: translate(-50%, -50%) rotate(240deg) translate(200px) rotate(-240deg); }
    100% { transform: translate(-50%, -50%) rotate(-120deg) translate(200px) rotate(120deg); }
}

/* Outer Ring 3 (Radius 270px, Clockwise, Speed 48s) */
.card-web-wrapper {
    transform: translate(-50%, -50%) rotate(120deg) translate(270px) rotate(-120deg);
    animation: orbit-ring3-card1 48s linear infinite;
    animation-delay: 1.5s;
    animation-fill-mode: backwards;
}

.card-mobile-wrapper {
    transform: translate(-50%, -50%) rotate(300deg) translate(270px) rotate(-300deg);
    animation: orbit-ring3-card2 48s linear infinite;
    animation-delay: 1.5s;
    animation-fill-mode: backwards;
}

@keyframes orbit-ring3-card1 {
    0% { transform: translate(-50%, -50%) rotate(120deg) translate(270px) rotate(-120deg); }
    100% { transform: translate(-50%, -50%) rotate(480deg) translate(270px) rotate(-480deg); }
}

@keyframes orbit-ring3-card2 {
    0% { transform: translate(-50%, -50%) rotate(300deg) translate(270px) rotate(-300deg); }
    100% { transform: translate(-50%, -50%) rotate(660deg) translate(270px) rotate(-660deg); }
}

/* ── Responsive Styling ──────────────────────────────────────── */
@media (max-width: 1199px) {
    .orbit-wrapper {
        width: 486px;
        height: 486px;
    }
    .orbit-container {
        transform: translate(-50%, -50%) scale(0.9);
    }
}

@media (max-width: 991px) {
    .hero-banner.premium-dark {
        padding-top: calc(var(--header-height) + var(--space-xl));
        padding-bottom: var(--space-4xl);
        text-align: center;
    }
    
    .hero-banner__lead {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta-group {
        justify-content: center;
    }
    
    .hero-trust-indicators {
        justify-content: center;
    }
    
    .orbit-wrapper {
        width: 459px;
        height: 459px;
        margin: var(--space-2xl) auto 0;
    }
    .orbit-container {
        transform: translate(-50%, -50%) scale(0.85);
    }
}

@media (max-width: 767px) {
    .orbit-wrapper {
        width: 378px;
        height: 378px;
        margin: var(--space-xl) auto 0;
    }
    .orbit-container {
        transform: translate(-50%, -50%) scale(0.7);
    }
}

@media (max-width: 575px) {
    .orbit-wrapper {
        width: 313px;
        height: 313px;
    }
    .orbit-container {
        transform: translate(-50%, -50%) scale(0.58);
    }
    
    .hero-banner__title {
        font-size: 2.2rem;
    }
}

/* ── Trusted Companies ──────────────────────────────────────── */
.trusted-logos {
    padding: var(--space-2xl) 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-alt);
    overflow: hidden;
}

.trusted-logos__title {
    font-family: var(--font-heading);
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-light);
    text-align: center;
    margin-bottom: var(--space-xl);
}

.logo-scroll-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

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

.logo-scroll-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-alt) 0%, transparent 100%);
}

.logo-scroll-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-alt) 0%, transparent 100%);
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--space-2xl);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--fs-xl);
    color: var(--text-light);
    opacity: 0.6;
    transition: all var(--transition-base);
    white-space: nowrap;
    user-select: none;
    gap: 8px;
}

.logo-item i {
    font-size: 1.6rem;
}

.logo-item:hover {
    opacity: 1;
    color: var(--primary);
    transform: scale(1.05);
}

/* ── Portfolio Section ──────────────────────────────────────── */
.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
}

.portfolio-filter-btn {
    background: var(--bg-alt);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: var(--fs-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.portfolio-filter-btn:hover,
.portfolio-filter-btn.active {
    background: var(--secondary);
    color: #fff;
    border-color: var(--secondary);
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.2);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.portfolio-item {
    background: var(--bg);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.portfolio-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--border-light);
}

.portfolio-item__image {
    position: relative;
    aspect-ratio: 16/10;
    background: var(--primary-light);
    overflow: hidden;
}

.portfolio-item__img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: rgba(255,255,255,0.15);
    font-size: 4rem;
    transition: transform var(--transition-slow);
}

.portfolio-item:hover .portfolio-item__img-placeholder {
    transform: scale(1.05);
}

.portfolio-item__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.portfolio-item:hover .portfolio-item__img {
    transform: scale(1.05);
}

.portfolio-item__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
    backdrop-filter: blur(4px);
}

.portfolio-item:hover .portfolio-item__overlay {
    opacity: 1;
}

.portfolio-item__content {
    padding: var(--space-xl);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-item__tag {
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: var(--space-xs);
    letter-spacing: 0.05em;
}

.portfolio-item__title {
    font-size: var(--fs-lg);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--text);
}

.portfolio-item__desc {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.portfolio-item__tech {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-top: auto;
}

.portfolio-item__badge {
    font-size: var(--fs-xs);
    background: var(--bg-alt);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

/* ── Process Section ────────────────────────────────────────── */
.process-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-md);
}

/* Connecting Line */
.process-line {
    position: absolute;
    top: 44px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: repeating-linear-gradient(
        to right,
        var(--border) 0,
        var(--border) 10px,
        transparent 10px,
        transparent 20px
    );
    z-index: 1;
}

.process-step__number {
    position: relative;
    z-index: 2;
    transition: all var(--transition-base);
}

.process-step:hover .process-step__number {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(249,115,22,0.5);
}

@media (max-width: 991px) {
    .process-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-xl);
    }
    .process-line {
        display: none;
    }
}

@media (max-width: 575px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

/* ── Testimonials Carousel ──────────────────────────────────── */
.testimonial-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track-wrapper {
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform var(--transition-slow);
    will-change: transform;
}

.testimonial-slide {
    flex: 0 0 100%;
    width: 100%;
    padding: var(--space-md);
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.testimonial-control-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--bg-alt);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--transition-base);
}

.testimonial-control-btn:hover {
    background: var(--secondary);
    color: #fff;
    border-color: var(--secondary);
}

.testimonial-dots {
    display: flex;
    gap: var(--space-sm);
}

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

.testimonial-dot.active {
    background: var(--secondary);
    width: 24px;
    border-radius: var(--radius-full);
}

/* ── Why Choose Us ──────────────────────────────────────────── */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.why-us-item {
    display: flex;
    gap: var(--space-md);
}

.why-us-item__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.why-us-item__title {
    font-size: var(--fs-base);
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--text);
}

.why-us-item__desc {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}
