:root {
    --primary: #22C55E;
    --dark-green: #062118;
    --deep-charcoal: #0B0F1A;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: white;
    color: #0f172a;
    overflow-x: hidden;
    padding-top: 73px;
    /* Prevent header overlap */
}

/* ══ SECTION TITLE SYSTEM ══ */
.sec-head {
    position: relative;
    text-align: center;
    margin-bottom: 24px;
    /* padding-top: 16px; */
}

.sec-head__bg {
    display: none;
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(56px, 9vw, 120px);
    font-weight: 900;
    letter-spacing: -0.05em;
    white-space: nowrap;
    -webkit-text-stroke: 1.5px rgba(16, 236, 97, 0.386);
    color: transparent;
    pointer-events: none;
    user-select: none;
    line-height: 1;
    z-index: 0;
}

.sec-head__eyebrow {
    margin-top: 20px;
}

.sec-head__eyebrow::before {
    content: '';
    width: 7px;
    height: 7px;
    background: #05b546;
    border-radius: 50%;
}

.sec-head__title {
    position: relative;
    z-index: 1;
    font-size: clamp(26px, 4vw, 50px);
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: -0.03em;
    color: #0f172a;
    margin-bottom: 14px;
    /* margin-top: 40px; */
}

.sec-head__title--sm {
    font-size: clamp(22px, 3vw, 38px);
}

.sec-head__title .hl {
    position: relative;
    display: inline-block;
}

.sec-head__title .hl::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 100%;
    height: 10px;
    background: rgba(34, 197, 94, 0.25);
    border-radius: 4px;
    z-index: -1;
}

.sec-head__sub {
    position: relative;
    z-index: 1;
    font-size: 16px;
    font-weight: 500;
    color: #64748b;
    max-width: 500px;
    margin: 0 auto 24px;
    line-height: 1.75;
}

.sec-head__divider {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.sec-head__divider::before,
.sec-head__divider::after {
    content: '';
    display: block;
    width: 52px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #22C55E);
    border-radius: 2px;
}

.sec-head__divider::after {
    background: linear-gradient(270deg, transparent, #22C55E);
}

.sec-head__divider span {
    width: 8px;
    height: 8px;
    background: #22C55E;
    border-radius: 50%;
    display: block;
}

.sec-head--left {
    text-align: left;
}

.sec-head--left .sec-head__bg {
    left: -20px;
    transform: none;
}

.sec-head--left .sec-head__sub {
    margin: 0 0 24px;
}

.sec-head--left .sec-head__divider {
    justify-content: flex-start;
}

.sec-head--left .sec-head__divider::before {
    background: #22C55E;
}

.nav-container,
.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

/* ══ REVEAL ANIMATION ══ */
.rev {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.72s cubic-bezier(0.25, 1, 0.5, 1), transform 0.72s cubic-bezier(0.25, 1, 0.5, 1);
}

.rev.in {
    opacity: 1;
    transform: translateY(0);
}

/* ══ HERO SLIDER ══ */
.hero {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 1; /* Very wide, slim scaling */
    max-height: 550px; /* Caps the height on large screens */
    overflow: hidden;
}

@media (max-width: 600px) {
    .hero {
        aspect-ratio: 2 / 1; /* Taller banner on mobile */
        max-height: 250px;
    }
}

@media (min-width: 601px) and (max-width: 1024px) {
    .hero {
        aspect-ratio: 21 / 9; /* Ultra-wide on tablets */
        max-height: 350px;
    }
}

@media (min-width: 1025px) {
    .hero {
        aspect-ratio: 3 / 1; /* Slim ultra-wide on desktop */
        max-height: 450px;
    }
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

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

.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    background-color: #062118;
    transform: scale(1.03);
    /* Subtle zoom to avoid cropping edge text */
    transition: transform 6s ease-out;
}

.slide.active .slide-bg {
    transform: scale(1);
    /* Returns to native aspect ratio */
}

@media (min-width: 601px) {
    .slide-content {
        max-width: 420px !important;
        background: rgba(6, 33, 24, 0.72) !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
        padding: 24px !important;
        border-radius: 12px !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2) !important;
    }
}

.slide-content h1 {
    font-size: clamp(24px, 3.5vw, 44px) !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
}

.slide-content p {
    font-size: clamp(14px, 1.4vw, 16px) !important;
    margin-top: 10px !important;
}

.slide-num {
    display: inline-block;
    color: #22C55E;
    background: linear-gradient(135deg, #22C55E 0%, #4ADE80 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: clamp(32px, 4.5vw, 56px) !important;
    font-weight: 900 !important;
    letter-spacing: -0.02em;
}

@media (max-width: 600px) {
    .slide-content {
        background: rgba(6, 33, 24, 0.85) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        border: 1.5px solid rgba(34, 197, 94, 0.35) !important;
        padding: 24px 20px !important;
        border-radius: 20px !important;
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4) !important;
        text-align: center;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .slide-num {
        display: block;
        font-size: 38px !important;
        margin-bottom: 6px !important;
    }
    
    .slide-content h1 {
        font-size: 20px !important;
        color: white !important;
        font-weight: 800 !important;
        line-height: 1.25 !important;
        margin-bottom: 10px !important;
    }
    
    .slide-content p {
        font-size: 13px !important;
        color: rgba(255, 255, 255, 0.8) !important;
        line-height: 1.55 !important;
        margin-top: 0 !important;
    }
}

.slide-ov {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.72));
}

/* ══ VIDEO SCROLL ══ */
.vscroll {
    height: 420px;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.14);
}

.vscroll::-webkit-scrollbar {
    display: none;
}

.vitem {
    height: 100%;
    scroll-snap-align: center;
    position: relative;
}

#tech-track {
    display: flex;
    align-items: stretch;
    transition: transform .45s ease;
    width: 100%;
    gap: 20px;
}

/* desktop 4 cards */
.svc-slide-item {
    flex: 0 0 calc(25% - 15px);
    display: flex;
    flex-direction: column;
}

.svc-slide-item > .tech-card {
    flex: 1 1 auto;
}

/* tablet 2 cards */
@media (max-width:1024px) {
    .svc-slide-item {
        flex: 0 0 calc(50% - 10px);
    }
}

/* mobile 1 card */
@media (max-width:600px) {
    .svc-slide-item {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

#imp-track {
    display: flex;
    gap: 20px;
}


@media (max-width:1024px) {
    .svc-slide-item {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width:600px) {
    .svc-slide-item {
        flex: 0 0 100%;
    }
}

#team-track {
    display: flex;
    gap: 20px;
}

@media (min-width:1024px) {
    #team-track .svc-slide-item {
        flex: 0 0 calc(25% - 15px);
    }
}

@media (max-width:1023px) {
    #team-track .svc-slide-item {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width:600px) {
    #team-track .svc-slide-item {
        flex: 0 0 100%;
    }
}

#test-track {
    display: flex;
    gap: 20px;
}

/* desktop */
#test-track .svc-slide-item {
    flex: 0 0 calc(50% - 14px);
}

/* tablet */
@media (max-width:1024px) {
    #test-track .svc-slide-item {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width:600px) {

    #test-track {
        gap: 0 !important;
    }

    #test-track .svc-slide-item {
        flex: 0 0 calc(100% - 20px) !important;
        width: calc(100% - 20px) !important;
        max-width: calc(100% - 20px) !important;
        margin-right: 20px !important;
    }

    #test-track .tcard-wrap {
        width: 100% !important;
    }

}

#media-track {
    display: flex;
    gap: 20px;
}

#media .svc-slide-item {
    flex: 0 0 calc(33.333% - 14px);
}

@media (max-width:1024px) {
    #media .svc-slide-item {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width:600px) {
    #media .svc-slide-item {
        flex: 0 0 100%;
    }
}

/* CONTACT MOBILE FIX */
@media (max-width:600px) {

    #contact .rev {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 24px !important;
    }

    /* hide divider */
    #contact .rev>div[style*="width:1px"] {
        display: none !important;
    }

    /* full width items */
    #contact .rev a {
        width: 100%;
    }

}

@media (max-width:1024px) {
    #shop-btn {
        display: none !important;
    }
}

/* ══ SERVICE CARD ══ */
.svc-card {
    background: #fff;
    border-radius: 28px;
    border: 1px solid #e2e8f0;
    padding: 20px 20px 28px;
    position: relative;
    height: 100%;
    min-height: 320px;
    box-sizing: border-box;
    overflow: visible;
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s,
        opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1),
        transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0;
    transform: translateY(28px);
}

.svc-card.in {
    opacity: 1;
    transform: translateY(0);
}

#services .svc-slide-item:nth-child(2) .svc-card { transition-delay: 0.08s; }
#services .svc-slide-item:nth-child(3) .svc-card { transition-delay: 0.16s; }
#services .svc-slide-item:nth-child(4) .svc-card { transition-delay: 0.24s; }

.svc-card p {
    margin: 0;
    margin-bottom: auto;
    padding-top: 14px;
}

.svc-card:hover {
    border-color: #22C55E;
    background: white;
    box-shadow: 0 20px 60px rgba(34, 197, 94, 0.1);
}

.svc-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #f0fdf4;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); */
    transition: background 0.25s;
}

.svc-card:hover .svc-icon {
    background: #22C55E;
}

.svc-card:hover .svc-icon span {
    color: white !important;
}

a .svc-card {
    padding-bottom: 52px;
}

.play-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #22C55E;
    color: white;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 0 0 28px 28px;
    transition: background 0.2s;
}

a:hover .play-strip {
    background: #16a34a;
}

/* ══ NAV ══ */
.nav-link {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
    transition: color 0.2s;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.nav-link:hover,
.nav-link.active {
    color: #22C55E;
}

.mob-link {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    border-bottom: 1px solid #f8fafc;
    padding-bottom: 8px;
    cursor: pointer;
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
    text-align: left;
}

.mob-link:hover {
    color: #22C55E;
}

/* ══ MODAL ══ */
#ftc-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(6, 16, 12, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

#ftc-modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

#ftc-modal {
    background: #ffffff;
    border-radius: 28px;
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 40px 120px rgba(6, 33, 24, 0.35), 0 0 0 1px rgba(34, 197, 94, 0.12);
    transform: translateY(32px) scale(0.97);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s;
    opacity: 0;
    scrollbar-width: none;
}

#ftc-modal::-webkit-scrollbar {
    display: none;
}

#ftc-modal-overlay.open #ftc-modal {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: 0;
    padding: 0;
    background: #fff;
    pointer-events: none;
}

.modal-close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.847);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    color: white;
    pointer-events: auto;
    /* Enable clicks on the button */
}

.modal-close-btn:hover {
    background: rgba(0, 0, 0, 0.966);
    border-color: rgba(255, 255, 255, 0.25);
}

.modal-body {
    padding: 32px;
    padding-top: 48px;
    /* Room for sticky close button */
}

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

.form-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #64748b;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    color: #0f172a;
    font-family: 'Inter', sans-serif;
    background: #f8fafc;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-input:focus {
    border-color: #22C55E;
    background: white;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
}

.form-input::placeholder {
    color: #94a3b8;
}

select.form-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.modal-submit {
    width: 100%;
    padding: 16px;
    background: #062118;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    margin-top: 8px;
    letter-spacing: 0.01em;
}

.modal-submit:hover {
    background: #000;
    box-shadow: 0 12px 32px rgba(6, 33, 24, 0.3);
    transform: translateY(-1px);
}

.modal-submit:active {
    transform: translateY(0);
}

#ftc-success {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22C55E, #16a34a);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 32px rgba(34, 197, 94, 0.3);
    animation: popIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes popIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ══ FOOTER ══ */
.agriown-footer {
    background: #0a0a0a;
    color: #fff;
    font-family: 'Inter', sans-serif;
    padding: 56px 24px 0;
    position: relative;
    overflow: hidden;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.agriown-footer .footer-top {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
}

.agriown-footer .brand-tagline {
    font-size: 13px;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 10px;
    font-weight: 400;
    line-height: 1.75;
    max-width: 260px;
}

.agriown-footer .soc-row {
    display: flex;
    gap: 10px;
    margin-top: 28px;
}

.agriown-footer .soc {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 0.5px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: transparent;
    transition: border-color 0.2s, background 0.2s;
}

.agriown-footer .soc:hover {
    border-color: #22C55E;
    background: rgba(34, 197, 94, 0.08);
}

.agriown-footer .soc svg {
    fill: rgba(255, 255, 255, 0.4);
    transition: fill 0.2s;
}

.agriown-footer .soc:hover svg {
    fill: #22C55E;
}

.agriown-footer .col-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
}

.agriown-footer .col-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.agriown-footer .col-links a {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s;
    line-height: 1;
}

.agriown-footer .col-links a:hover {
    color: #22C55E;
}

.agriown-footer .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 28px;
    flex-wrap: wrap;
    gap: 12px;
}

.agriown-footer .copy {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.22);
    font-weight: 400;
    letter-spacing: 0.02em;
    margin: 0;
}

.agriown-footer .policy-links {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.agriown-footer .policy-links a {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.25);
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: color 0.2s;
}

.agriown-footer .policy-links a:hover {
    color: rgba(255, 255, 255, 0.7);
}

.agriown-footer .policy-links .sep {
    color: rgba(255, 255, 255, 0.1);
    font-size: 12px;
}

@media (max-width: 768px) {
    .agriown-footer {
        padding: 48px 24px 0;
    }

    .agriown-footer .footer-top {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .agriown-footer .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .agriown-footer .brand-tagline {
        max-width: 100%;
    }

    #ftc-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ══ ANIMATIONS ══ */
@keyframes shake {

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

    20% {
        transform: translateX(-6px);
    }

    40% {
        transform: translateX(6px);
    }

    60% {
        transform: translateX(-4px);
    }

    80% {
        transform: translateX(4px);
    }
}

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

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

/* MOBILE FIX */
@media (max-width:1024px) {

    #main-grid {
        grid-template-columns: 1fr !important;
        padding: 24px 16px !important;
        gap: 24px !important;
    }

    #main-grid aside {
        display: none !important;
        position: relative !important;
        top: 0 !important;
    }

    #main-grid article {
        padding: 24px !important;
    }

    #duration>div {
        grid-template-columns: 1fr !important;
    }

}

/* MOBILE FIX */
@media (max-width:1024px) {

    #main-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 20px 16px !important;
    }

    /* hide sidebar */
    #main-grid aside {
        display: none !important;
        position: relative !important;
        top: 0 !important;
    }

    /* article full width */
    #main-grid article {
        padding: 24px !important;
        border-radius: 16px !important;
    }

    /* fix long content spacing */
    .policy-section h2 {
        font-size: 20px !important;
    }

    .policy-section h3 {
        font-size: 16px !important;
    }

    .policy-section p,
    .policy-section li {
        font-size: 14px !important;
    }

}

.svc-slider-outer {
    display: flex;
    align-items: center;
    gap: 16px;
}

.svc-arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    border: 1.5px solid #e2e8f0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: background 0.2s, border-color 0.2s;
    z-index: 2;
}

.svc-arrow:hover {
    background: #22C55E;
    border-color: #22C55E;
}

.svc-arrow:hover span {
    color: white !important;
}

.svc-arrow:disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

#svc-track-outer {
    overflow: hidden;
    flex: 1;
    min-width: 0;
}

#svc-track {
    display: flex;
    align-items: stretch;
    transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform;
}



#services .svc-slide-item {
    flex: 0 0 calc(25% - 15px);
    margin-right: 20px;
    display: flex;
    flex-direction: column;
}

@media (max-width: 1024px) {
    #services .svc-slide-item {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 600px) {
    #services .svc-slide-item {
        flex: 0 0 calc(100% - 20px);
        min-width: calc(100% - 20px);
        margin-right: 20px !important;
    }
}

.svc-slide-item>a,
.svc-slide-item>div.svc-card {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.svc-slide-item .svc-card {
    flex: 1 1 auto;
    position: relative;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .svc-slide-item {
        flex: 0 0 calc(50% - 10px);

    }
}

@media (max-width: 600px) {

    .svc-slide-item {
        flex: 0 0 calc(100% - 20px);
        min-width: calc(100% - 20px);
        margin-right: 20px !important;
    }

    #svc-track {
        gap: 0px;
    }

    .svc-slider-outer {
        gap: 8px !important;
    }

    .svc-arrow {
        width: 36px;
        height: 36px;
    }
}

.vtsl-wrap {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.vtsl-track-outer {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.14);
}

.vtsl-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform;
}

.vtsl-slide {
    flex: 0 0 100%;
}

.vtsl-frame {
    position: relative;
    aspect-ratio: 16/9;
    background: #000;
}

.vtsl-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.vtsl-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.vtsl-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: white;
    border: 1.5px solid #e2e8f0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: background 0.2s, border-color 0.2s;
    flex-shrink: 0;
}

.vtsl-arrow:hover {
    background: #22C55E;
    border-color: #22C55E;
}

.vtsl-arrow:hover span {
    color: white !important;
}

.vtsl-arrow:disabled {
    opacity: 0.3;
    pointer-events: none;
}

.vtsl-dots {
    display: flex;
    gap: 7px;
    align-items: center;
}

.vtsl-dot {
    height: 8px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

/* ══ HERO SLIDE BACKGROUNDS ══ */
#slide-bg-1 { background-image: url('../assets/banner_1.png'); }
#slide-bg-2 { background-image: url('../assets/banner_2.png'); }
#slide-bg-3 { background-image: url('../assets/banner_3.png'); }
#slide-bg-4 { background-image: url('../assets/banner_4.png'); }
#slide-bg-5 { background-image: url('../assets/banner_5.png'); }
@media (max-width: 600px) {
    #slide-bg-1 { background-image: url('../assets/Banner_Image_1.jpeg'); }
    #slide-bg-2 { background-image: url('../assets/Banner_Image_2.jpeg'); }
    #slide-bg-3 { background-image: url('../assets/Banner_Image_3.jpeg'); }
    #slide-bg-4 { background-image: url('../assets/Banner_Image_4.jpeg'); }
    #slide-bg-5 { background-image: url('../assets/Banner_Image_5.jpeg'); }
}


/* ══ NAV ══ */
#nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 50;
    width: 100%;
    background: white;
    border-bottom: 1px solid #f1f5f9;
    padding: 16px 24px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    transition: padding 0.3s, box-shadow 0.3s;
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.nav-logo-wrap { display: flex; align-items: center; gap: 8px; }
.nav-logo { height: 40px; object-fit: contain; }

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

.nav-hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.btn-shop {
    background: #062118;
    color: white;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-shop:hover { background: #000; }

/* ══ MOBILE DRAWER ══ */
#m-ov {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 60;
}

#m-drawer {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 280px;
    background: white;
    z-index: 70;
    padding: 32px;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.drawer-title { font-size: 18px; font-weight: 900; }
.drawer-close { background: none; border: none; cursor: pointer; }
.drawer-links { display: flex; flex-direction: column; gap: 20px; }
.drawer-footer { margin-top: auto; }

.btn-shop-mobile {
    width: 100%;
    background: #22C55E;
    color: white;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

/* ══ SECTION INNER CONTAINER ══ */
/* .section-inner { max-width: 1280px; margin: 0 auto; } */

/* ══ HERO SLIDE INNER ══ */
.slide-inner {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 24px;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.slide-content h1 {
    font-size: clamp(38px, 6vw, 72px);
    font-weight: 900;
    color: white;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
}

.slide-content p {
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(16px, 1.8vw, 21px);
    line-height: 1.65;
    font-weight: 500;
    max-width: 520px;
}

/* ══ FORM SECTION HEADER ══ */
.form-sec-head {
    margin-top: 28px;
    margin-bottom: 16px;
    border-bottom: 2px solid #22C55E;
    padding-bottom: 6px;
}

.form-sec-head--first { margin-top: 12px; }

.form-sec-title {
    font-size: 13px;
    font-weight: 800;
    color: #062118;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.form-option-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
    cursor: pointer;
}

.form-radio-check {
    accent-color: #22C55E;
    width: 18px;
    height: 18px;
}

/* ══ SLIDER COMMON ══ */
.track-outer { overflow: hidden; flex: 1; min-width: 0; }

.slider-track {
    display: flex;
    align-items: stretch;
    transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform;
}

.slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }

.icon-arrow { font-size: 22px; color: #0f172a; }

/* ══ SVC CARD TYPOGRAPHY ══ */
.svc-card h3 {
    font-size: 17px;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.3;
    min-height: 44px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.svc-card p  { color: #64748b; line-height: 1.7; font-size: 14px; }

@media (max-width: 1024px) {
    .svc-card h3 {
        margin-bottom: 0;
        min-height: 0;
    }
    .svc-card p {
        margin-top: 0;
    }
}

/* ══ TECH CARD ══ */
.tech-card {
    background: white;
    padding: 28px;
    border-radius: 28px;
    border: 1px solid #e2e8f0;
    height: 100%;
    min-height: 380px;
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s,
        opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1),
        transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0;
    transform: translateY(28px);
}

.tech-card.in {
    opacity: 1;
    transform: translateY(0);
}

#technology .svc-slide-item:nth-child(2) .tech-card { transition-delay: 0.08s; }
#technology .svc-slide-item:nth-child(3) .tech-card { transition-delay: 0.16s; }
#technology .svc-slide-item:nth-child(4) .tech-card { transition-delay: 0.24s; }

.tech-card:hover {
    border-color: #22C55E;
    background: white;
    box-shadow: 0 20px 60px rgba(34, 197, 94, 0.1);
}

.tech-card:hover .tech-icon {
    background: #22C55E;
}

.tech-card:hover .tech-icon span {
    color: white !important;
}

.tech-card p {
    margin: 0;
}

.tech-card h3 {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.3;
    min-height: 44px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tech-card p  { color: #64748b; font-size: 14px; line-height: 1.75; }

@media (max-width: 1024px) {
    .tech-card h3 {
        margin-bottom: 0;
        min-height: 0;
    }
    .tech-card p {
        margin-top: 0;
    }
}

.bullet-1440 { display: none; }

@media (max-width: 1400px) {
    .bullet-1440 { display: inline; }
}

.tech-icon {
    width: 52px;
    height: 52px;
    background: #f0fdf4;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: background 0.25s;
}

/* ══ STAT CARD ══ */
.stat-card {
    background: white;
    padding: 32px 20px;
    border-radius: 22px;
    border: 1px solid #e2e8f0;
    text-align: center;
    height: 100%;
    box-sizing: border-box;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: border-color 0.25s, box-shadow 0.25s,
        opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1),
        transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0;
    transform: translateY(28px);
}

.stat-card.in {
    opacity: 1;
    transform: translateY(0);
}

#impact .svc-slide-item:nth-child(2) .stat-card { transition-delay: 0.06s; }
#impact .svc-slide-item:nth-child(3) .stat-card { transition-delay: 0.12s; }
#impact .svc-slide-item:nth-child(4) .stat-card { transition-delay: 0.18s; }

.stat-card:hover {
    border-color: #22C55E;
    box-shadow: 0 20px 60px rgba(34, 197, 94, 0.1);
}

.stat-count {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 900;
    color: #0f172a;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #94a3b8;
}

/* ══ TEAM CARD ══ */
.team-card-new {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s, box-shadow 0.25s;
}

.team-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(34, 197, 94, 0.16);
}

.team-img-wrap {
    width: 100%;
    aspect-ratio: 3 / 3.2;
    overflow: hidden;
    background: #f1f5f9;
}

.team-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
}

.team-card-new:hover .team-img-wrap img {
    transform: scale(1.04);
}

.team-card-body {
    padding: 20px 22px 24px;
    border-top: 3px solid #22C55E;
}

.team-name {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
}

.team-card-body p { font-size: 14px; color: #64748b; line-height: 1.6; }

.team-role {
    font-size: 12px;
    font-weight: 700;
    color: #22C55E;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    margin-bottom: 10px;
}

/* ══ LOGO STRIP ══ */
.logo-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    max-width: 1000px;
    margin: 0 auto;
}

.logo-item {
    flex: 1;
    min-width: 130px;
    max-width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 28px 20px;
    border-right: 1px solid #F1F5F9;
    transition: background 0.25s, transform 0.25s;
    cursor: default;
}

.logo-item:last-child { border-right: none; }
.logo-item:hover { background: #f0fdf4; transform: translateY(-3px); }

.logo-item__img {
    width: 80px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item__img img  { max-width: 80px; max-height: 48px; object-fit: contain; }
.logo-item__name     { font-size: 11px; font-weight: 700; color: #0f172a; letter-spacing: 0.03em; text-align: center; }
.logo-item__badge    { font-size: 10px; font-weight: 600; color: #22C55E; }

/* ══ TESTIMONIAL CARD ══ */
.tcard {
    background: white;
    border-radius: 24px;
    padding: 32px;
    border: 1px solid #E2E8F0;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.25s, transform 0.25s;
    height: 100%;
    box-sizing: border-box;
}

.tcard:hover { box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08); transform: translateY(-4px); }

.tcard-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #22C55E, #16A34A);
    border-radius: 4px 0 0 4px;
}

.stars-row  { display: flex; gap: 2px; margin-bottom: 16px; }
.tcard-text { font-size: 15px; color: #334155; line-height: 1.8; font-style: italic; margin-bottom: 24px; }

.tcard-author { display: flex; align-items: center; gap: 12px; }

.tcard-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f0fdf4;
    border: 2px solid #BBF7D0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tcard-name { font-size: 14px; font-weight: 800; color: #0f172a; }
.tcard-loc  { font-size: 12px; color: #94a3b8; font-weight: 600; }

@media (max-width: 600px) {
    .tcard {
        padding: 24px 20px;
    }
    .tcard-text {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 16px;
    }
}

/* ══ MEDIA CARD ══ */
.media-card {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #E2E8F0;
    transition: box-shadow 0.25s, transform 0.25s;
    height: 100%;
    box-sizing: border-box;
}

.media-card:hover { box-shadow: 0 16px 48px rgba(0, 0, 0, 0.10); transform: translateY(-4px); }

.media-img-wrap { overflow: hidden; position: relative; background: #f0fdf4; display: block; }

.media-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s;
}

.media-img-wrap img:hover { transform: scale(1.06); }

.media-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 99px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.media-body  { padding: 20px; }
.media-title { font-size: 15px; font-weight: 800; color: #0f172a; margin-bottom: 8px; line-height: 1.4; }
.media-desc  { font-size: 13px; color: #64748b; line-height: 1.7; }

/* ══ CONTACT ══ */
.contact-row     { display: flex; flex-wrap: wrap; gap: 40px; justify-content: center; }
.contact-link    { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.contact-divider { width: 1px; height: 48px; background: #e2e8f0; }

.contact-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.contact-link:hover .contact-icon          { background: #22C55E; }
.contact-link:hover .contact-icon span     { color: white !important; }

.contact-label {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #94a3b8;
    margin-bottom: 3px;
}

.contact-value { font-size: 17px; font-weight: 700; color: #0f172a; }

/* ══ VIDEO ══ */
.vtsl-video { width: 100%; height: 100%; object-fit: cover; background: black; border: none; }

/* ══ FTC SECTION ══ */
.ftc-provides-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #94a3b8;
    margin-bottom: 18px;
}

.ftc-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 32px;
    list-style: none;
    padding: 0;
}

.ftc-list li { display: flex; align-items: center; gap: 10px; font-weight: 700; color: #1e293b; font-size: 15px; }

.ftc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22C55E;
    flex-shrink: 0;
    display: inline-block;
}

.btn-ftc {
    background: #062118;
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.btn-ftc:hover { background: #000; }

/* ══ MODAL SUCCESS CLOSE ══ */
.modal-success-close {
    margin-top: 8px;
    background: #f1f5f9;
    color: #0f172a;
    border: none;
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: background 0.2s;
}

.modal-success-close:hover { background: #e2e8f0; }

/* ══ SECTION LAYOUT HELPERS ══ */
/* ── Team slider/grid wrapper ── */
.team-slider-outer { position: relative; margin-top: 8px; }

/* Desktop: show all 3 as CSS grid */
@media (min-width: 901px) {
    .team-slider-outer { overflow: visible; }
    #team-track {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }
    #team-track .svc-slide-item { width: auto; flex: none; }
    .team-dots-row { display: none; }
}

/* Tablet: 2 cards visible, auto-scroll */
@media (max-width: 900px) {
    .team-slider-outer { overflow: hidden; }
    #team-track { display: flex; gap: 20px; }
    #team-track .svc-slide-item { flex: 0 0 calc(50% - 10px); }
    .team-dots-row {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
        margin-top: 20px;
    }
}

/* Mobile: 1 card visible, auto-scroll */
@media (max-width: 599px) {
    #team-track { gap: 0; }
    #team-track .svc-slide-item { 
        flex: 0 0 calc(100% - 20px);
        width: calc(100% - 20px);
        min-width: calc(100% - 20px);
        margin-right: 20px;
    }
}

.sec-white     { padding: 68px 24px; background: white;   overflow: hidden; }
.sec-gray      { padding: 68px 24px; background: #F8F9FA; overflow: hidden; }
.sec-white-top { padding: 68px 24px; background: white;   overflow: hidden; border-top: 1px solid #F1F5F9; }

/* ══ FULL REDESIGN: SERVICES GRID ══ */
.svc-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 8px;
}

@media (max-width: 1200px) {
    .svc-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .svc-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.svc-grid .svc-card { position: relative; padding: 28px 20px 20px; }

.svc-num {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 11px;
    font-weight: 900;
    color: #22C55E;
    letter-spacing: 0.08em;
    opacity: 0.55;
}

/* ══ FULL REDESIGN: TECHNOLOGY DARK SECTION ══ */
.sec-dark-green {
    padding: 68px 24px;
    background: #062118;
    overflow: hidden;
}

.sec-dark-green .sec-head__title { color: white; }
.sec-dark-green .sec-head__sub   { color: rgba(255,255,255,0.6); }
.sec-dark-green .sec-head__bg    { -webkit-text-stroke-color: rgba(34,197,94,0.12); }

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 8px;
}

@media (max-width: 1024px) {
    .tech-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.tech-grid-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 24px;
    padding: 28px;
    transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.tech-grid-card:hover {
    background: rgba(255,255,255,0.09);
    border-color: rgba(34,197,94,0.4);
    transform: translateY(-4px);
}

.tech-grid-card .tech-icon { background: rgba(34,197,94,0.12); }
.tech-grid-card h3 { font-size: 17px; font-weight: 800; color: white; margin-bottom: 10px; }
.tech-grid-card p  { color: rgba(255,255,255,0.55); font-size: 14px; line-height: 1.75; }

/* ══ FULL REDESIGN: IMPACT DARK GRADIENT SECTION ══ */
.sec-dark-grad {
    padding: 68px 24px;
    background: linear-gradient(135deg, #0B0F1A 0%, #062118 100%);
    overflow: hidden;
}

.sec-dark-grad .sec-head__title { color: white; }
.sec-dark-grad .sec-head__sub   { color: rgba(255,255,255,0.6); }
.sec-dark-grad .sec-head__divider::before { background: linear-gradient(90deg, transparent, rgba(34,197,94,0.6)); }
.sec-dark-grad .sec-head__divider::after  { background: linear-gradient(270deg, transparent, rgba(34,197,94,0.6)); }

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 8px;
}

@media (max-width: 1024px) {
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

.stat-grid-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px;
    padding: 40px 24px;
    text-align: center;
    transition: background 0.25s, border-color 0.25s, transform 0.25s;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-grid-card:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(34,197,94,0.35);
    transform: translateY(-4px);
}

.stat-grid-card .stat-count { color: #22C55E; }
.stat-grid-card .stat-label { color: rgba(255,255,255,0.45); }

/* ── Card-level scroll reveal: override transitions to include opacity + transform ── */
.svc-grid .svc-card {
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s,
                opacity 0.55s cubic-bezier(0.25, 1, 0.5, 1),
                transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
}

.tech-grid .tech-grid-card {
    transition: background 0.25s, border-color 0.25s,
                opacity 0.55s cubic-bezier(0.25, 1, 0.5, 1),
                transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
}

.stat-grid .stat-grid-card {
    transition: background 0.25s, border-color 0.25s,
                opacity 0.55s cubic-bezier(0.25, 1, 0.5, 1),
                transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Stagger delays — cascade each card 80ms later */
.svc-grid .svc-card:nth-child(2)       { transition-delay: 0.08s; }
.svc-grid .svc-card:nth-child(3)       { transition-delay: 0.16s; }
.svc-grid .svc-card:nth-child(4)       { transition-delay: 0.24s; }
.svc-grid .svc-card:nth-child(5)       { transition-delay: 0.32s; }
.tech-grid .tech-grid-card:nth-child(2){ transition-delay: 0.09s; }
.tech-grid .tech-grid-card:nth-child(3){ transition-delay: 0.18s; }
.tech-grid .tech-grid-card:nth-child(4){ transition-delay: 0.27s; }
.stat-grid .stat-grid-card:nth-child(2){ transition-delay: 0.09s; }
.stat-grid .stat-grid-card:nth-child(3){ transition-delay: 0.18s; }
.stat-grid .stat-grid-card:nth-child(4){ transition-delay: 0.27s; }

/* Reset stagger on hover so hover effects are instant */
.svc-grid .svc-card:hover,
.tech-grid .tech-grid-card:hover,
.stat-grid .stat-grid-card:hover { transition-delay: 0s; }
