/* =========================
   HOMEPAGE HERO SLIDER
   Desktop: original slider behavior
   Mobile: offset below header + stable sizing
   ========================= */

/* --- Hero Slider Styling (DESKTOP) --- */
.hero-slider.premium-hero {
    position: relative;
    width: 100%;
    /* Desktop: use aspect ratio matching banner images */
    aspect-ratio: 2.4 / 1;
    height: auto;
    max-height: calc(100vh - 76px);
    overflow: hidden;
    background-color: var(--navy);
    padding: 0;
    margin: 0;
}

/* Base slide styling */
.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
    margin: 0;
    padding: 0;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Hero Image (DESKTOP) - shows full image without cropping */
.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border: none;
    outline: none;
}

/* --- Controls Layout --- */
.slider-controls {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
}

/* Pagination Dots */
.hero-dots {
    display: flex;
    gap: 12px;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.hero-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid transparent;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.hero-dot.active {
    background: #F97316;
    transform: scale(1.2);
    border-color: #F97316;
    opacity: 1;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* =========================
   HERO SLIDER VISIBILITY CONTROLS
   ========================= */



/* ===== Homepage Hero Slider: MOBILE ONLY fix ===== */
@media (max-width: 991px) {

    /* Define safe header height variable */
    :root {
        --mobile-header-h: clamp(90px, 14vw, 120px);
    }

    /* Container sizing using svh */
    section.hero-slider.premium-hero {
        display: block;
        margin-top: 0;
        /* Offset below fixed header */
        padding-top: calc(var(--mobile-header-h) + 12px);
        width: 100%;
        /* Use svh for proper mobile viewport */
        min-height: calc(100svh - var(--mobile-header-h));
        height: auto;
        max-height: none;
        aspect-ratio: unset;
        /* Reserved space for dots */
        padding-bottom: 60px;
        overflow: hidden;
        position: relative;
    }

    /* Slides participate in layout on mobile (no absolute positioning) */
    section.hero-slider.premium-hero .hero-slide {
        position: relative;
        inset: auto;
        width: 100%;
        margin: 0 auto;
        /* Portrait aspect ratio for mobile banners */
        aspect-ratio: 4 / 5;
        /* Constrain height so it fits in viewport */
        max-height: calc(100svh - var(--mobile-header-h) - 60px - 12px);
        height: auto;
        display: block;
    }

    /* Non-active slides hidden */
    section.hero-slider.premium-hero .hero-slide:not(.active) {
        display: none;
    }

    /* Force full size for picture/imgs */
    section.hero-slider.premium-hero .hero-slide picture {
        display: block;
        width: 100%;
        height: 100%;
    }

    section.hero-slider.premium-hero .hero-slide img.hero-img {
        width: 100%;
        height: 100%;
    }

    /* Image uses contain to show full banner */
    section.hero-slider.premium-hero img.hero-img {
        object-fit: contain;
        object-position: center;
        display: block;
    }

    /* Adjust controls/dots for mobile */
    .hero-prev {
        left: 12px;
        width: 36px;
        height: 36px;
    }

    .hero-next {
        right: 12px;
        width: 36px;
        height: 36px;
    }

    section.hero-slider.premium-hero>.slider-controls {
        position: absolute;
        bottom: 16px;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        display: flex;
        justify-content: center;
        z-index: 5;
    }

    section.hero-slider.premium-hero .hero-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin: 0;
    }

    /* Typography safeguards (if text exists) */
    .hero-slider.premium-hero h1,
    .hero-slider.premium-hero .hero-title {
        font-size: clamp(22px, 6vw, 34px);
        line-height: 1.15;
        margin-bottom: 18px;
    }
}

/* Background Accents */
.hero-slider::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 1200px;
    height: 1200px;
    background: radial-gradient(circle, rgba(29, 78, 216, 0.1) 0%, transparent 65%);
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    animation: blob-drift 20s infinite alternate ease-in-out;
}

@keyframes blob-drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 30px) scale(1.1);
    }
}




/* --- Why Choose Us --- */
.why-us {
    background-color: #F5F7FA;
    padding-block: 80px;
}

.why-us .section-title {
    color: #0F172A;
    /* Dark Navy */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
    margin-top: 56px;
}

.feature-item {
    position: relative;
    padding-left: 24px;
    border-left: 1px solid rgba(15, 23, 42, 0.1);
    /* Subtle separator line */
}

.feature-num {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--brand);
    /* Brand Blue */
    opacity: 0.15;
    margin-bottom: 8px;
    line-height: 1;
    letter-spacing: -1px;
}

.feature-item h4 {
    font-size: 20px;
    font-weight: 600;
    color: #0F172A;
    /* Dark Navy headings */
    margin-bottom: 12px;
}

.feature-item p {
    font-size: 16px;
    color: #475569;
    /* Muted dark gray body */
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .why-us {
        padding-block: 56px;
    }
}

@media (max-width: 768px) {
    .why-us {
        padding-block: 40px;
    }

    .features-grid {
        gap: 32px;
        margin-top: 40px;
        grid-template-columns: 1fr;
    }

    .feature-item {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(15, 23, 42, 0.1);
        padding-top: 24px;
    }
}

/* --- Partner Marquee --- */
.partners {
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: #FFFFFF;
    /* Clean white backdrop for the strip */
}

.partners-label {
    margin-bottom: 40px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 14px;
}

.marquee-track {
    display: flex;
    width: max-content;
    gap: 32px;
    /* Spacing between cards */
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 32px;
    padding-block: 20px;
    animation: marquee-scroll 60s linear infinite;
    /* Slower scroll for more items */
}

@keyframes marquee-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

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

/* Premium Card wrapper for logos */
/* Premium Card wrapper for logos */
/* --- Partners Section (AgnoShin Style) --- */
.partners-section {
    padding: 100px 0;
    background: #fff;
}

.partners-section .partners-wrap {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: center;
}

.partners-section .partners-title {
    margin: 0 0 24px;
    line-height: 1.1;
    font-size: 48px;
    font-weight: 700;
    color: #0F172A;
    /* Dark Navy */
    display: flex;
    flex-direction: column;
}

.partners-section .partners-title .accent {
    color: #ea580c;
    /* Brand Orange */
}

.partners-section .partners-sub {
    margin: 0;
    max-width: 480px;
    font-size: 18px;
    line-height: 1.6;
    color: #4b5563;
    /* Slate 600 */
}

.partners-section .partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 32px 40px;
    align-items: center;
}

.partners-section .partner-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 64px;
    /* Fixed cell height */
}

.partners-section .partners-grid img {
    width: 100%;
    height: 100%;
    max-height: 56px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: transform 0.25s ease, opacity 0.25s ease, filter 0.25s ease;
}

.partners-section .partners-grid img:hover {
    transform: translateY(-2px) scale(1.03);
    opacity: 1;
    filter: none;
}

/* Responsive */
@media (max-width: 991px) {
    .partners-section {
        padding: 80px 0;
    }

    .partners-section .partners-wrap {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .partners-section .partners-title {
        font-size: 36px;
        text-align: center;
    }

    .partners-section .partners-sub {
        text-align: center;
        margin: 0 auto;
    }

    .partners-section .partners-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

@media (max-width: 600px) {
    .partners-section {
        padding: 60px 0;
    }

    .partners-section .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .partners-section .partners-grid img {
        max-height: 48px;
    }
}

.hero-slider::before {
    animation: none;
}


/* --- Elevate Section --- */
.elevate-section {
    background-color: var(--navy);
    /* Dark background as requested for contrast */
    /* Padding is handled by section-padding/overrides, but requested tight spacing */
    /* Global override reduced the top here, but we can tune it inside if needed */
}

/* Override padding specifically for this section if needed to match 40-60px request */
.elevate-section.section-padding {
    padding-block: 60px;
}

.elevate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.elevate-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
    /* Stronger shadow for dark mode */
    object-fit: cover;
}

.elevate-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.elevate-title {
    font-family: 'Inter', sans-serif;
    /* Fallback to system if Inter not loaded, matches tokens usually */
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: #FFFFFF;
    /* Pure White */
    margin-bottom: 0;
}

.elevate-text p {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    /* Soft White */
    margin-bottom: 24px;
}

.elevate-text strong {
    font-weight: 700;
    color: #FFFFFF;
    /* Pure White */
}

.btn-techshark {
    background-color: #4F46E5;
    /* Indigo */
    color: #FFFFFF;
    padding: 12px 32px;
    border-radius: 6px;
    /* slightly more square than pill for this look? Keeping clean */
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-block;
    width: fit-content;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.2);
}

.btn-techshark:hover {
    background-color: #4338CA;
    /* Darker Indigo */
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
    color: #FFFFFF;
}

@media (max-width: 991px) {
    .elevate-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .elevate-image {
        order: -1;
        /* Image first on mobile */
    }

    .elevate-title {
        font-size: 28px;
    }

    .elevate-section.section-padding {
        padding-block: 40px;
    }
}

/* --- Scroll Animations (Center-Focus Shared Logic) --- */
/* Applies to both Elevate and Get in Touch sections via JS */

html.js-enabled #home-split-section .home-split-media,
html.js-enabled #home-split-section .home-split-content {
    /* Base transition for smooth property changes */
    transition: transform 0.1s linear, opacity 0.1s linear;
    will-change: transform, opacity;
}

/* Respect Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    html.js-enabled #home-split-section .home-split-media,
    html.js-enabled #home-split-section .home-split-content {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}


/* --- Solutions Section (Light Blue) --- */
.solutions-section {
    background-color: #F0F6FF !important;
    /* Soft Blue Background */
}

/* Heading color remains dark for contrast against light section bg */
.solutions-section .services-band__title {
    color: #0F172A;
}

/* Cards: Revert to Navy (Default Service Card Style) but ensure text is white */
.solutions-section .service-card {
    background-color: var(--navy);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.solutions-section .service-card h3,
.solutions-section .service-card p {
    color: #FFFFFF;
}

.solutions-section .service-card p {
    color: rgba(255, 255, 255, 0.8);
}

/* Icon: White background with subtle border */
.solutions-section .services-band__icon {
    background-color: #FFFFFF;
    border: 1px solid rgba(59, 130, 246, 0.3);
    /* Subtle Brand Blue Border */
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
}

.solutions-section .services-band__icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* --- Services Core Section (AgnoShin Style) --- */
#services-core {
    background-color: #f8fafc;
    /* Light Grey Background */
    color: var(--navy);
    /* Dark text for contrast against light bg */
    position: relative;
    overflow: hidden;
}

#services-core .core-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 48px;
    color: var(--navy);
}

#services-core .core-title .highlight {
    color: #f97316;
    /* Orange Accent */
}

.core-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}

/* Vertical Separators (Desktop only) */
@media (min-width: 992px) {
    .core-item {
        position: relative;
    }

    .core-item:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 10%;
        bottom: 10%;
        right: -16px;
        width: 1px;
        background-color: rgba(0, 0, 0, 0.08);
        /* Subtle separator */
    }
}

.core-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 16px;
    transition: transform 0.3s ease;
}

.core-item:hover {
    transform: translateY(-5px);
}

/* Icon Badge */
.core-icon {
    width: 48px;
    height: 48px;
    border: 2px solid #e2e8f0;
    /* Light border outline */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--navy);
    transition: all 0.3s ease;
}

.core-item:hover .core-icon {
    border-color: #f97316;
    /* Orange border on hover */
    color: #f97316;
    background-color: rgba(249, 115, 22, 0.05);
}

.icon-svg {
    width: 24px;
    height: 24px;
}

.core-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--navy);
}

.core-content p {
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
    /* Slate 600 */
    margin-bottom: 20px;
    flex-grow: 1;
    /* For equal height feel */
}

.core-link {
    font-size: 14px;
    font-weight: 600;
    color: #f97316;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.core-link:hover {
    color: #c2410c;
    /* Darker orange */
}

/* Responsive */
@media (max-width: 991px) {
    .core-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .core-item {
        padding: 0;
        align-items: center;
        text-align: center;
    }

    /* Remove separators on tablet/mobile */
    .core-item::after {
        display: none;
    }
}

@media (max-width: 640px) {
    .core-grid {
        grid-template-columns: 1fr;
    }
}


/* --- Get in Touch Section (Deep Orange) --- */
#get-in-touch {
    background-color: #ea580c;
    /* Deep Orange */
    color: #ffffff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

#get-in-touch .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

/* Left Column Text */
.contact-text {
    padding-right: 24px;
}

.contact-heading {
    font-size: 3rem;
    /* Large display size */
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #ffffff;
}

.contact-sub {
    font-size: 1.125rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    /* Slightly transparent white */
    max-width: 480px;
}

/* Right Column Card */
.contact-card {
    background: #ffffff;
    border-radius: 24px;
    /* Very rounded */
    padding: 40px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    color: var(--navy);
}

.card-header {
    margin-bottom: 32px;
}

.card-header h3 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.card-header h3 .highlight {
    color: #ea580c;
    /* Match background orange */
}

.card-header p {
    font-size: 0.9375rem;
    color: #4b5563;
    /* Dark Gray */
    line-height: 1.5;
}

/* Form Styles */
.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--navy);
    background-color: #f9fafb;
    transition: all 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #ea580c;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
}

.form-label-visible {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--navy);
}

/* Submit Button */
.btn-pill-gray {
    display: inline-block;
    width: 100%;
    padding: 14px 24px;
    background-color: #e5e7eb;
    /* Light Gray */
    color: #374151;
    /* Dark Gray text */
    font-weight: 700;
    border-radius: 9999px;
    /* Pill shape */
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    letter-spacing: 0.5px;
}

.btn-pill-gray:hover {
    background-color: #d1d5db;
    transform: translateY(-1px);
}

/* Success State */
.contact-success {
    text-align: center;
    padding: 40px 0;
}

.success-icon {
    width: 64px;
    height: 64px;
    background-color: #ecfdf5;
    color: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.contact-success h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}


/* --- Focus Mode Animation (Get in Touch) --- */
/* Default States initialized for JS control */
.git-left,
.git-card {
    /* Base transition for smooth property changes if JS frame drops,
       but keep it fast so it feels stuck to scroll */
    transition: transform 0.1s linear, opacity 0.1s linear;
    will-change: transform, opacity;
}

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {

    .git-left,
    .git-card {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* =========================
   Get in Touch - Responsive Fix
   (Home + Contact)
   ========================= */

/* Responsive - Tablet (max-width: 991px) */
@media (max-width: 991px) {
    #get-in-touch .contact-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        align-items: stretch !important;
    }

    /* Ensure columns don't keep forced widths */
    #get-in-touch .contact-text,
    #get-in-touch .contact-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    /* Left panel (orange area) */
    #get-in-touch .contact-text {
        text-align: center;
        padding: 28px 20px !important;
        min-height: auto !important;
        height: auto !important;
    }

    .contact-sub {
        margin: 0 auto;
    }

    /* Form card */
    #get-in-touch .contact-card {
        padding: 32px 24px !important;
        border-radius: 18px !important;
        box-sizing: border-box !important;
    }

    #get-in-touch .contact-form {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Fix Name + Phone row layout */
    #get-in-touch .contact-form .form-row {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    /* Inputs must not shrink inside grid/flex */
    #get-in-touch input,
    #get-in-touch textarea,
    #get-in-touch select {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    /* Textarea height better on mobile */
    #get-in-touch textarea {
        min-height: 120px;
        resize: vertical;
    }

    /* Button full width */
    #get-in-touch .btn-pill-gray {
        width: 100% !important;
    }
}

/* Responsive - Mobile (max-width: 768px) */
@media (max-width: 768px) {
    #get-in-touch {
        padding: 48px 0 !important;
    }

    #get-in-touch .contact-heading {
        font-size: 1.875rem !important;
        line-height: 1.2;
    }

    #get-in-touch .contact-grid {
        gap: 20px !important;
    }

    #get-in-touch .contact-card {
        padding: 24px 20px !important;
        border-radius: 16px !important;
    }

    #get-in-touch .contact-form .form-row {
        gap: 14px !important;
    }

    #get-in-touch input,
    #get-in-touch textarea {
        padding: 14px 12px !important;
        font-size: 16px !important;
        /* Prevents iOS zoom on focus */
    }
}

/* Responsive - Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    #get-in-touch {
        padding: 40px 0 !important;
    }

    #get-in-touch .contact-text {
        padding: 24px 16px !important;
    }

    #get-in-touch .contact-heading {
        font-size: 1.625rem !important;
    }

    #get-in-touch .contact-sub {
        font-size: 0.9375rem !important;
    }

    #get-in-touch .contact-card {
        padding: 20px 16px !important;
        margin: 0 4px !important;
    }

    #get-in-touch .card-header h3 {
        font-size: 1.375rem !important;
    }

    #get-in-touch .card-header p {
        font-size: 0.8125rem !important;
    }

    #get-in-touch .contact-form .form-row {
        gap: 12px !important;
    }
}

/* --- Partners Section (Clean Grid) --- */
.partners-clean {
    background-color: #FFFFFF;
    position: relative;
    z-index: 2;
    /* Ensure it sits above defaults */
}

.partners-clean .section-title {
    font-size: 36px;
    color: var(--navy);
    margin-bottom: 24px;
}

.partners-clean .highlight {
    color: var(--brand);
}

.partners-grid-clean {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Mobile start */
    gap: 40px;
    align-items: center;
    justify-items: center;
}

/* Tablet */
@media (min-width: 768px) {
    .partners-grid-clean {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Desktop - Match 5 column look or 5-ish (16 items fits 4x4 better, but flexible) */
@media (min-width: 1024px) {
    .partners-grid-clean {
        grid-template-columns: repeat(5, 1fr);
        /* 5 columns as requested */
    }
}

.partner-cell-clean {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.partner-cell-clean img {
    max-width: 160px;
    width: 100%;
    height: auto;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-cell-clean:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Partner logos mobile */
@media (max-width: 768px) {
    .partners-grid-clean {
        gap: 24px;
    }

    .partner-cell-clean img {
        max-height: 50px;
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    .partners-grid-clean {
        gap: 20px;
    }

    .partner-cell-clean {
        padding: 8px;
    }

    .partner-cell-clean img {
        max-height: 44px;
        max-width: 100px;
    }

    .partners-clean .section-title {
        font-size: 28px;
    }
}

/* --- Services Band (Boxed Grid - Dark Theme) --- */
/* Full-bleed sections - use 100vw with overflow containment */
.services-band,
#get-in-touch {
    width: 100%;
    position: relative;
    max-width: 100%;
    padding-inline: 0;
    margin-bottom: 0 !important;
    overflow-x: hidden;
}

/* Desktop: full-bleed effect */
@media (min-width: 992px) {

    .services-band,
    #get-in-touch {
        width: 100vw;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        max-width: none;
    }
}

.services-band .services-band__inner,
#get-in-touch .container,
#get-in-touch .get-in-touch__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-inline: 24px;
    box-sizing: border-box;
}

.services-band {
    background-color: var(--navy);
    /* Dark background as requested */
    color: #FFFFFF;
    position: relative;
    z-index: 1;
}

/* Ensure consistent spacing */
.services-band.section-padding {
    padding-bottom: 80px;
    padding-top: 80px;
}

.services-band__inner {
    position: relative;
}

.services-band__title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    color: #FFFFFF;
    /* White title */
}

.services-band__title .highlight {
    color: #ea580c;
    /* Orange Accent */
}

/* Grid Layout (2x2) */
.services-band__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 Columns */
    gap: 32px;
    /* Generous gap */
    margin-bottom: 0;
}

/* Boxed Card Styling */
.services-band__card {
    background-color: #1e293b;
    /* Slate 800 - Slightly lighter than Navy bg */
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Subtle border */
    border-radius: 16px;
    /* Rounded corners */
    padding: 32px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    /* Subtle shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.services-band__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
    border-color: rgba(234, 88, 12, 0.3);
    /* Subtle orange glow on border */
}

/* Card Header (Icon Left, Title Right) */
.services-band__card-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
}

/* Icon Styling */
.services-band__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    transition: background 0.3s ease;
    flex-shrink: 0;
    /* Keep flex-shrink from original */
    color: #FFFFFF;
    /* Keep color from original */
}

.services-band__card:hover .services-band__icon {
    background: rgba(255, 255, 255, 0.15);
}

.services-band__icon svg {
    width: 24px;
    height: 24px;
}

.services-band__icon img {
    width: 24px;
    height: 24px;
    display: block;
    object-fit: contain;
}

/* Typography */
.services-band__card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
    line-height: 1.3;
}

.services-band__card-body p {
    font-size: 15px;
    line-height: 1.6;
    color: #cbd5e1;
    /* Slate 300 - Readable on dark card */
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .services-band__grid {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .services-band__grid {
        grid-template-columns: 1fr;
        /* Stack on mobile */
        gap: 24px;
    }

    .services-band__card {
        padding: 24px;
    }
}