/* =========================================================
   CODE CRAFTERS IT SOLUTIONS
   Main Website Stylesheet
   ========================================================= */


/* =========================================================
   1. ROOT VARIABLES
   ========================================================= */

:root {
    --bg: #05070b;
    --bg-soft: #0a0d13;
    --bg-card: rgba(255, 255, 255, 0.045);

    --red: #b00014;
    --red-bright: #ef233c;
    --red-soft: rgba(239, 35, 60, 0.18);

    --white: #f7f8fa;
    --silver: #c3c7cf;
    --muted: #8a909b;

    --border: rgba(255, 255, 255, 0.10);
    --border-red: rgba(239, 35, 60, 0.35);

    --shadow-red: 0 0 40px rgba(239, 35, 60, 0.20);

    --container: 1440px;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --transition: 0.3s ease;
}


/* =========================================================
   2. RESET
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--white);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.6;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: 0;
    background: none;
}


/* =========================================================
   3. GLOBAL
   ========================================================= */

::selection {
    background: var(--red-bright);
    color: #fff;
}


/* =========================================================
   4. HEADER
   ========================================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(4, 6, 10, 0.45);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);

    transition:
        background var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.site-header.scrolled {
    background: rgba(4, 6, 10, 0.92);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
}

.header-container {
    width: min(calc(100% - 48px), var(--container));
    min-height: 84px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


/* Logo */

.site-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.site-logo img {
    width: auto;
    height: 58px;
    object-fit: contain;

    border-radius: 10px;

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.05);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.site-logo:hover img {
    transform: translateY(-1px);

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.34),
        0 0 18px rgba(239, 35, 60, 0.10);
}


/* Navigation */

.main-navigation {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    position: relative;

    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.77);

    transition: color var(--transition);
}

.nav-link::after {
    content: "";
    position: absolute;

    left: 0;
    bottom: -10px;

    width: 0;
    height: 2px;

    background: var(--red-bright);

    box-shadow: 0 0 14px rgba(239, 35, 60, 0.8);

    transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}


/* Header CTA */

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 12px 20px;

    background: linear-gradient(
        135deg,
        #9d0012,
        #ef233c
    );

    color: #fff;

    font-size: 13px;
    font-weight: 700;

    border-radius: 999px;

    box-shadow:
        0 10px 30px rgba(176, 0, 20, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.17);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.header-cta:hover {
    transform: translateY(-2px);

    box-shadow:
        0 14px 40px rgba(239, 35, 60, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.button-arrow {
    font-size: 16px;
    line-height: 1;
}


/* =========================================================
   5. MOBILE MENU BUTTON
   ========================================================= */

.mobile-menu-button {
    display: none;

    width: 46px;
    height: 46px;

    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;

    border: 1px solid var(--border);
    border-radius: 12px;

    cursor: pointer;
}

.mobile-menu-button span {
    width: 20px;
    height: 2px;

    background: #fff;
    border-radius: 999px;

    transition:
        transform var(--transition),
        opacity var(--transition);
}


/* =========================================================
   6. HERO SECTION
   ========================================================= */

.hero-section {
    position: relative;

    min-height: 100vh;
    min-height: 100svh;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: var(--bg);
}


/* Hero image */

.hero-background {
    position: absolute;
    inset: 0;

    background-image:
        url("/assets/images/hero.webp");

    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;

    z-index: 0;
}


/* Main dark overlay */

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(4, 6, 10, 0.98) 0%,
            rgba(4, 6, 10, 0.94) 28%,
            rgba(4, 6, 10, 0.66) 52%,
            rgba(4, 6, 10, 0.14) 76%,
            rgba(4, 6, 10, 0.06) 100%
        ),
        linear-gradient(
            180deg,
            rgba(4, 6, 10, 0.20) 0%,
            rgba(4, 6, 10, 0.04) 60%,
            rgba(4, 6, 10, 0.72) 100%
        );

    z-index: 1;
}


/* Red glow */

.hero-glow {
    position: absolute;
    left: 10%;
    top: 48%;

    width: 500px;
    height: 500px;

    transform: translate(-50%, -50%);

    background:
        radial-gradient(
            circle,
            rgba(239, 35, 60, 0.10) 0%,
            rgba(239, 35, 60, 0.03) 35%,
            transparent 70%
        );

    filter: blur(10px);

    z-index: 1;

    pointer-events: none;
}


/* Container */

.hero-container {
    position: relative;
    z-index: 3;

    width: min(calc(100% - 48px), var(--container));
    margin: 0 auto;

    padding-top: 110px;
    padding-bottom: 100px;
}

.hero-content {
    width: min(720px, 52vw);
}


/* Eyebrow */

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 24px;

    padding: 8px 13px;

    border: 1px solid rgba(239, 35, 60, 0.22);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.035);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.13em;

    color: rgba(255, 255, 255, 0.73);
}

.eyebrow-dot {
    width: 8px;
    height: 8px;

    background: var(--red-bright);

    border-radius: 50%;

    box-shadow:
        0 0 0 5px rgba(239, 35, 60, 0.08),
        0 0 16px rgba(239, 35, 60, 0.75);
}


/* Hero title */

.hero-title {
    max-width: 760px;

    margin: 0;

    font-size: clamp(48px, 5.9vw, 92px);
    font-weight: 760;

    line-height: 0.98;

    letter-spacing: -0.055em;

    color: #ffffff;
}

.hero-title-highlight {
    display: block;

    margin-top: 7px;

    color: transparent;

    background:
        linear-gradient(
            90deg,
            #ffffff 0%,
            #f0f1f4 25%,
            #ff5365 65%,
            #ef233c 100%
        );

    -webkit-background-clip: text;
    background-clip: text;

    text-shadow:
        0 0 45px rgba(239, 35, 60, 0.12);
}


/* Hero paragraph */

.hero-description {
    max-width: 640px;

    margin: 28px 0 0;

    color: rgba(232, 235, 240, 0.74);

    font-size: clamp(16px, 1.35vw, 19px);
    line-height: 1.75;

    font-weight: 400;
}

.hero-description strong {
    color: #ffffff;
    font-weight: 600;
}


/* =========================================================
   7. HERO BUTTONS
   ========================================================= */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 14px;

    margin-top: 34px;
}

.button {
    min-height: 54px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    padding: 14px 23px;

    border-radius: 999px;

    font-size: 14px;
    font-weight: 700;

    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.button-primary {
    background:
        linear-gradient(
            135deg,
            #a40013 0%,
            #ef233c 100%
        );

    color: #ffffff;

    box-shadow:
        0 14px 35px rgba(239, 35, 60, 0.23),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.button-primary:hover {
    transform: translateY(-3px);

    box-shadow:
        0 20px 45px rgba(239, 35, 60, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.button-secondary {
    color: rgba(255, 255, 255, 0.91);

    border: 1px solid rgba(255, 255, 255, 0.16);

    background: rgba(255, 255, 255, 0.055);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.button-secondary:hover {
    transform: translateY(-3px);

    border-color: rgba(239, 35, 60, 0.34);

    background: rgba(239, 35, 60, 0.08);
}


/* =========================================================
   8. HERO CAPABILITIES
   ========================================================= */

.hero-capabilities {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 11px;

    margin-top: 35px;

    color: rgba(255, 255, 255, 0.50);

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 0.06em;

    text-transform: uppercase;
}

.hero-capabilities i {
    display: block;

    width: 4px;
    height: 4px;

    background: var(--red-bright);

    border-radius: 50%;

    box-shadow:
        0 0 10px rgba(239, 35, 60, 0.75);
}


/* =========================================================
   9. SCROLL INDICATOR
   ========================================================= */

.scroll-indicator {
    position: absolute;

    z-index: 4;

    left: 50%;
    bottom: 28px;

    transform: translateX(-50%);

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 8px;

    color: rgba(255, 255, 255, 0.40);
}

.scroll-text {
    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.25em;
}

.scroll-line {
    position: relative;

    display: block;

    width: 1px;
    height: 34px;

    overflow: hidden;

    background: rgba(255, 255, 255, 0.13);
}

.scroll-line::after {
    content: "";

    position: absolute;

    left: 0;
    top: -100%;

    width: 100%;
    height: 100%;

    background: linear-gradient(
        180deg,
        transparent,
        var(--red-bright)
    );

    animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {

    0% {
        top: -100%;
    }

    60% {
        top: 100%;
    }

    100% {
        top: 100%;
    }

}


/* =========================================================
   10. CAPABILITY STRIP
   ========================================================= */

.capability-strip {
    position: relative;
    z-index: 5;

    overflow: hidden;

    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);

    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.02),
            rgba(239, 35, 60, 0.055),
            rgba(255, 255, 255, 0.02)
        );
}

.capability-track {
    width: min(calc(100% - 48px), var(--container));

    min-height: 78px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    color: rgba(255, 255, 255, 0.66);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.12em;
}

.capability-track i {
    width: 5px;
    height: 5px;

    flex: 0 0 auto;

    border-radius: 50%;

    background: var(--red-bright);

    box-shadow:
        0 0 13px rgba(239, 35, 60, 0.70);
}


/* =========================================================
   11. TABLET
   ========================================================= */

@media (max-width: 1180px) {

    .main-navigation {
        gap: 18px;
    }

    .nav-link {
        font-size: 13px;
    }

    .hero-content {
        width: min(650px, 60vw);
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(4, 6, 10, 0.98) 0%,
                rgba(4, 6, 10, 0.91) 35%,
                rgba(4, 6, 10, 0.56) 63%,
                rgba(4, 6, 10, 0.14) 100%
            ),
            linear-gradient(
                180deg,
                rgba(4, 6, 10, 0.18) 0%,
                rgba(4, 6, 10, 0.10) 60%,
                rgba(4, 6, 10, 0.76) 100%
            );
    }

}


/* =========================================================
   12. MOBILE / TABLET NAVIGATION
   ========================================================= */

@media (max-width: 980px) {

    .header-container {
        width: min(calc(100% - 32px), var(--container));
        min-height: 76px;
    }

    .site-logo img {
        height: 52px;
    }

    .header-cta {
        display: none;
    }

    .mobile-menu-button {
        display: flex;
    }

    .main-navigation {
        position: fixed;

        top: 76px;
        left: 16px;
        right: 16px;

        display: flex;
        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding: 14px;

        background: rgba(7, 9, 14, 0.97);

        border: 1px solid rgba(255, 255, 255, 0.09);
        border-radius: 18px;

        box-shadow:
            0 22px 60px rgba(0, 0, 0, 0.50);

        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);

        opacity: 0;
        visibility: hidden;

        transform: translateY(-12px);

        transition:
            opacity var(--transition),
            visibility var(--transition),
            transform var(--transition);
    }

    .main-navigation.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-link {
        width: 100%;

        padding: 15px 14px;

        color: rgba(255, 255, 255, 0.82);

        border-bottom: 1px solid rgba(255, 255, 255, 0.055);
    }

    .nav-link:last-child {
        border-bottom: 0;
    }

    .nav-link::after {
        display: none;
    }

    .hero-container {
        width: min(calc(100% - 32px), var(--container));
    }

    .hero-content {
        width: min(620px, 70vw);
    }

    .capability-track {
        width: min(calc(100% - 32px), var(--container));
    }

}


/* =========================================================
   13. MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .site-header {
        background: rgba(4, 6, 10, 0.78);
    }

    .site-logo img {
        height: 48px;
    }


    /* Mobile hero */

    .hero-section {
        min-height: auto;

        display: block;

        padding-top: 0;
    }

    .hero-background {
        background-size: auto 58%;
        background-position: 68% 92px;

        opacity: 0.90;
    }

    .hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(4, 6, 10, 0.36) 0%,
                rgba(4, 6, 10, 0.20) 24%,
                rgba(4, 6, 10, 0.42) 43%,
                rgba(4, 6, 10, 0.93) 61%,
                #05070b 78%,
                #05070b 100%
            );
    }

    .hero-glow {
        width: 330px;
        height: 330px;

        left: 50%;
        top: 55%;
    }

    .hero-container {
        width: min(calc(100% - 32px), var(--container));

        min-height: 100svh;

        display: flex;
        align-items: flex-end;

        padding-top: 360px;
        padding-bottom: 78px;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
    }

    .hero-eyebrow {
        margin-bottom: 18px;

        font-size: 9px;

        letter-spacing: 0.08em;

        padding: 7px 10px;
    }

    .hero-title {
        max-width: 100%;

        font-size: clamp(42px, 12vw, 62px);

        line-height: 1.02;

        letter-spacing: -0.045em;
    }

    .hero-title-highlight {
        margin-top: 4px;
    }

    .hero-description {
        max-width: 100%;

        margin-top: 21px;

        font-size: 15px;
        line-height: 1.72;
    }

    .hero-buttons {
        width: 100%;

        margin-top: 27px;

        gap: 11px;
    }

    .button {
        min-height: 52px;

        width: 100%;

        padding: 13px 18px;
    }

    .hero-capabilities {
        margin-top: 27px;

        gap: 9px;

        font-size: 9px;

        line-height: 1.7;
    }

    .scroll-indicator {
        display: none;
    }


    /* Capability strip */

    .capability-strip {
        overflow-x: auto;

        scrollbar-width: none;
    }

    .capability-strip::-webkit-scrollbar {
        display: none;
    }

    .capability-track {
        width: max-content;

        min-height: 66px;

        padding: 0 22px;

        gap: 22px;

        font-size: 10px;

        white-space: nowrap;
    }

}


/* =========================================================
   14. SMALL MOBILE
   ========================================================= */

@media (max-width: 430px) {

    .header-container {
        width: calc(100% - 24px);
    }

    .site-logo img {
        height: 44px;
    }

    .mobile-menu-button {
        width: 42px;
        height: 42px;
    }

    .hero-container {
        width: calc(100% - 28px);

        padding-top: 335px;
    }

    .hero-background {
        background-position: 66% 90px;
        background-size: auto 53%;
    }

    .hero-title {
        font-size: clamp(39px, 12.2vw, 52px);
    }

    .hero-description {
        font-size: 14.5px;
    }

}


/* =========================================================
   15. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;
    }

}

/* =========================================================
   MOBILE MENU ANIMATION
   ========================================================= */

.mobile-menu-button.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-button.is-open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

body.menu-open {
    overflow: hidden;
}

/* =========================================================
   CCIT MOBILE OPTIMIZATION V2
   ========================================================= */


/* ---------------------------------------------------------
   TABLET / SMALL LAPTOP
--------------------------------------------------------- */

@media (max-width: 980px) {

    .site-header {
        background: rgba(4, 6, 10, 0.86);
    }

    .header-container {
        min-height: 72px;
    }

    .site-logo img {
        height: 48px;
        border-radius: 9px;
    }

    .main-navigation {
        top: 72px;

        max-height: calc(100svh - 88px);
        overflow-y: auto;

        overscroll-behavior: contain;
    }

    .mobile-menu-button {
        flex-shrink: 0;
    }

}


/* ---------------------------------------------------------
   MAIN MOBILE
--------------------------------------------------------- */

@media (max-width: 767px) {

    /*
    |--------------------------------------------------------------------------
    | Header
    |--------------------------------------------------------------------------
    */

    .site-header {
        background: rgba(4, 6, 10, 0.90);

        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }

    .header-container {
        width: calc(100% - 24px);
        min-height: 68px;
    }

    .site-logo img {
        height: 44px;
        border-radius: 8px;
    }

    .mobile-menu-button {
        width: 42px;
        height: 42px;

        border-radius: 11px;

        background: rgba(255, 255, 255, 0.035);
    }

    .main-navigation {
        top: 68px;

        left: 12px;
        right: 12px;

        padding: 10px;

        border-radius: 16px;
    }

    .nav-link {
        padding: 14px 13px;

        font-size: 14px;
        font-weight: 600;
    }


    /*
    |--------------------------------------------------------------------------
    | Hero
    |--------------------------------------------------------------------------
    */

    .hero-section {
        min-height: 100svh;

        display: flex;
        align-items: flex-end;

        overflow: hidden;
    }

    .hero-background {
        /*
        Keeps the dashboard/devices visible above the text
        instead of simply shrinking the desktop image.
        */

        background-size: auto 55%;
        background-position: 66% 78px;

        opacity: 0.95;
    }

    .hero-overlay {
        background:

            linear-gradient(
                180deg,
                rgba(5, 7, 11, 0.15) 0%,
                rgba(5, 7, 11, 0.16) 24%,
                rgba(5, 7, 11, 0.48) 44%,
                rgba(5, 7, 11, 0.92) 60%,
                #05070b 73%,
                #05070b 100%
            );
    }

    .hero-glow {
        left: 30%;
        top: 61%;

        width: 300px;
        height: 300px;

        opacity: 0.65;
    }

    .hero-container {
        width: calc(100% - 28px);

        min-height: 100svh;

        display: flex;
        align-items: flex-end;

        padding-top: clamp(300px, 78vw, 390px);
        padding-bottom: 52px;
    }

    .hero-content {
        width: 100%;
        max-width: 600px;
    }


    /*
    |--------------------------------------------------------------------------
    | Eyebrow
    |--------------------------------------------------------------------------
    */

    .hero-eyebrow {
        max-width: 100%;

        margin-bottom: 16px;

        padding: 7px 10px;

        font-size: 8.5px;
        line-height: 1.4;

        letter-spacing: 0.07em;
    }


    /*
    |--------------------------------------------------------------------------
    | Heading
    |--------------------------------------------------------------------------
    */

    .hero-title {
        width: 100%;

        font-size: clamp(38px, 11.2vw, 55px);

        line-height: 1.02;

        letter-spacing: -0.045em;

        overflow-wrap: normal;
        word-break: normal;
    }

    .hero-title-highlight {
        margin-top: 3px;
    }


    /*
    |--------------------------------------------------------------------------
    | Description
    |--------------------------------------------------------------------------
    */

    .hero-description {
        width: 100%;

        margin-top: 19px;

        font-size: 15px;
        line-height: 1.65;

        color: rgba(232, 235, 240, 0.78);
    }


    /*
    |--------------------------------------------------------------------------
    | Buttons
    |--------------------------------------------------------------------------
    */

    .hero-buttons {
        width: 100%;

        display: grid;
        grid-template-columns: 1fr;

        gap: 10px;

        margin-top: 24px;
    }

    .button {
        width: 100%;

        min-height: 52px;

        padding: 13px 18px;

        border-radius: 14px;

        font-size: 14px;
    }

    .button-primary,
    .button-secondary {
        justify-content: space-between;
    }


    /*
    |--------------------------------------------------------------------------
    | Small capability text
    |--------------------------------------------------------------------------
    */

    .hero-capabilities {
        display: flex;
        align-items: center;
        flex-wrap: wrap;

        gap: 7px 9px;

        margin-top: 22px;

        font-size: 8.5px;
        line-height: 1.5;

        letter-spacing: 0.045em;
    }


    /*
    |--------------------------------------------------------------------------
    | Capability strip
    |--------------------------------------------------------------------------
    */

    .capability-strip {
        overflow-x: auto;

        -webkit-overflow-scrolling: touch;

        scrollbar-width: none;
    }

    .capability-strip::-webkit-scrollbar {
        display: none;
    }

    .capability-track {
        width: max-content;

        min-height: 62px;

        padding: 0 18px;

        gap: 18px;

        font-size: 9px;

        letter-spacing: 0.10em;
    }

}


/* ---------------------------------------------------------
   SMALL PHONES
--------------------------------------------------------- */

@media (max-width: 480px) {

    .header-container {
        width: calc(100% - 20px);
    }

    .site-logo img {
        height: 42px;
    }

    .hero-background {
        background-size: auto 50%;
        background-position: 65% 74px;
    }

    .hero-container {
        width: calc(100% - 24px);

        padding-top: clamp(280px, 80vw, 350px);
        padding-bottom: 44px;
    }

    .hero-title {
        font-size: clamp(36px, 11vw, 48px);
    }

    .hero-description {
        font-size: 14px;
        line-height: 1.62;
    }

    .hero-eyebrow {
        font-size: 8px;
    }

}


/* ---------------------------------------------------------
   VERY SMALL MOBILE
--------------------------------------------------------- */

@media (max-width: 360px) {

    .hero-title {
        font-size: 35px;
    }

    .hero-description {
        font-size: 13.5px;
    }

    .hero-capabilities {
        font-size: 8px;
    }

}


/* ---------------------------------------------------------
   SHORT / LANDSCAPE MOBILE
--------------------------------------------------------- */

@media (max-height: 600px) and (max-width: 900px) {

    .hero-section {
        min-height: 720px;
    }

    .hero-container {
        min-height: 720px;
    }

}


/* ---------------------------------------------------------
   iPHONE / MOBILE SAFE AREA
--------------------------------------------------------- */

@media (max-width: 767px) {

    .header-container {
        padding-left: env(safe-area-inset-left, 0px);
        padding-right: env(safe-area-inset-right, 0px);
    }

    .hero-container {
        padding-left: env(safe-area-inset-left, 0px);
        padding-right: env(safe-area-inset-right, 0px);
        padding-bottom: calc(44px + env(safe-area-inset-bottom, 0px));
    }

}

/* =========================================================
   16. THE CCIT DIFFERENCE SECTION
   ========================================================= */

.difference-section {
    position: relative;

    padding: 130px 0;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 75% 45%,
            rgba(239, 35, 60, 0.055),
            transparent 33%
        ),
        linear-gradient(
            180deg,
            #05070b 0%,
            #080b11 52%,
            #05070b 100%
        );

    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.difference-container {
    position: relative;
    z-index: 3;

    width: min(calc(100% - 48px), var(--container));

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, 0.88fr)
        minmax(0, 1.12fr);

    align-items: center;

    gap: clamp(70px, 8vw, 130px);
}


/* ---------------------------------------------------------
   Background Glow
--------------------------------------------------------- */

.difference-glow {
    position: absolute;

    pointer-events: none;

    border-radius: 50%;

    filter: blur(30px);
}

.difference-glow-one {
    width: 460px;
    height: 460px;

    right: -180px;
    top: 10%;

    background:
        radial-gradient(
            circle,
            rgba(239, 35, 60, 0.10),
            transparent 70%
        );
}

.difference-glow-two {
    width: 350px;
    height: 350px;

    left: -200px;
    bottom: -100px;

    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.035),
            transparent 70%
        );
}


/* ---------------------------------------------------------
   Section Eyebrow
--------------------------------------------------------- */

.section-eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 22px;

    color: rgba(255, 255, 255, 0.62);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.16em;
}

.section-eyebrow-dot {
    width: 8px;
    height: 8px;

    flex-shrink: 0;

    border-radius: 50%;

    background: var(--red-bright);

    box-shadow:
        0 0 0 5px rgba(239, 35, 60, 0.07),
        0 0 16px rgba(239, 35, 60, 0.7);
}


/* ---------------------------------------------------------
   Heading
--------------------------------------------------------- */

.difference-title {
    max-width: 660px;

    margin: 0;

    color: #fff;

    font-size: clamp(42px, 4.3vw, 70px);

    font-weight: 760;

    line-height: 1.02;

    letter-spacing: -0.045em;
}

.difference-title span {
    display: block;

    margin-top: 8px;

    color: transparent;

    background:
        linear-gradient(
            90deg,
            #ffffff 0%,
            #e9ebef 35%,
            #ff6676 72%,
            #ef233c 100%
        );

    -webkit-background-clip: text;
    background-clip: text;
}


/* ---------------------------------------------------------
   Description
--------------------------------------------------------- */

.difference-description {
    max-width: 650px;

    margin: 28px 0 0;

    color: rgba(230, 233, 239, 0.68);

    font-size: 17px;

    line-height: 1.8;
}

.difference-description strong {
    color: #ffffff;

    font-weight: 650;
}


/* ---------------------------------------------------------
   Benefit Points
--------------------------------------------------------- */

.difference-points {
    display: grid;

    gap: 17px;

    margin-top: 32px;
}

.difference-point {
    display: flex;

    align-items: flex-start;

    gap: 14px;
}

.point-icon {
    width: 27px;
    height: 27px;

    flex: 0 0 27px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-top: 1px;

    border-radius: 50%;

    background:
        rgba(239, 35, 60, 0.09);

    border:
        1px solid rgba(239, 35, 60, 0.25);

    color: var(--red-bright);

    font-size: 12px;

    box-shadow:
        0 0 18px rgba(239, 35, 60, 0.08);
}

.difference-point div {
    display: flex;

    flex-direction: column;

    gap: 2px;
}

.difference-point strong {
    color: rgba(255, 255, 255, 0.92);

    font-size: 14px;

    font-weight: 650;
}

.difference-point small {
    max-width: 500px;

    color: rgba(255, 255, 255, 0.48);

    font-size: 12px;

    line-height: 1.55;
}


/* ---------------------------------------------------------
   Text Link
--------------------------------------------------------- */

.difference-link {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    margin-top: 36px;

    color: #ffffff;

    font-size: 13px;

    font-weight: 700;

    transition:
        color var(--transition),
        gap var(--transition);
}

.difference-link:hover {
    color: var(--red-bright);

    gap: 17px;
}

.difference-link-arrow {
    color: var(--red-bright);

    font-size: 18px;
}


/* =========================================================
   WORKFLOW VISUAL
   ========================================================= */

.workflow-visual {
    position: relative;

    min-height: 610px;

    display: flex;

    align-items: center;

    justify-content: center;
}

.workflow-label {
    position: absolute;

    top: 26px;
    right: 22px;

    color: rgba(255, 255, 255, 0.25);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 0.2em;
}


/* Main Card */

.workflow-card-main {
    position: relative;

    z-index: 3;

    width: 100%;

    max-width: 700px;

    padding: 30px;

    border:
        1px solid rgba(255, 255, 255, 0.09);

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.07),
            rgba(255, 255, 255, 0.02)
        );

    backdrop-filter: blur(22px);

    -webkit-backdrop-filter: blur(22px);

    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}


/* Top */

.workflow-card-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding-bottom: 25px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.07);
}

.workflow-card-top div {
    display: flex;

    flex-direction: column;

    gap: 3px;
}

.workflow-card-top small {
    color: rgba(255, 255, 255, 0.34);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 0.14em;
}

.workflow-card-top strong {
    color: rgba(255, 255, 255, 0.92);

    font-size: 16px;

    font-weight: 650;
}

.workflow-status {
    padding: 7px 10px;

    border-radius: 999px;

    border:
        1px solid rgba(239, 35, 60, 0.25);

    background:
        rgba(239, 35, 60, 0.07);

    color: #ff596a;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 0.14em;
}


/* Workflow Flow */

.workflow-flow {
    display: grid;

    grid-template-columns:
        1fr
        36px
        1fr
        36px
        1fr
        36px
        1fr;

    align-items: center;

    gap: 8px;

    padding: 55px 0;
}

.workflow-node {
    min-height: 112px;

    padding: 16px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    gap: 18px;

    border-radius: 16px;

    border:
        1px solid rgba(255, 255, 255, 0.07);

    background:
        rgba(255, 255, 255, 0.025);
}

.workflow-node.active {
    border-color:
        rgba(239, 35, 60, 0.25);

    background:
        linear-gradient(
            145deg,
            rgba(239, 35, 60, 0.10),
            rgba(255, 255, 255, 0.025)
        );

    box-shadow:
        0 0 30px rgba(239, 35, 60, 0.07);
}

.workflow-node.final {
    border-color:
        rgba(239, 35, 60, 0.17);
}

.workflow-number {
    color: rgba(255, 255, 255, 0.23);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 0.08em;
}

.workflow-node.active .workflow-number,
.workflow-node.final .workflow-number {
    color: var(--red-bright);
}

.workflow-node div {
    display: flex;

    flex-direction: column;

    gap: 3px;
}

.workflow-node small {
    color: rgba(255, 255, 255, 0.30);

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 0.1em;
}

.workflow-node strong {
    color: rgba(255, 255, 255, 0.87);

    font-size: 12px;

    line-height: 1.3;
}


/* Connector */

.workflow-connector {
    position: relative;

    height: 1px;

    background:
        rgba(255, 255, 255, 0.09);

    overflow: hidden;
}

.workflow-connector span {
    position: absolute;

    width: 18px;

    height: 1px;

    left: -18px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--red-bright)
        );

    box-shadow:
        0 0 10px rgba(239, 35, 60, 0.7);

    animation:
        workflowMove 2.5s linear infinite;
}

@keyframes workflowMove {

    0% {
        left: -18px;
    }

    100% {
        left: 100%;
    }

}


/* Footer */

.workflow-footer {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding-top: 22px;

    border-top:
        1px solid rgba(255, 255, 255, 0.07);
}

.workflow-footer > div {
    display: flex;

    align-items: center;

    gap: 8px;
}

.workflow-footer-icon {
    width: 20px;
    height: 20px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        rgba(239, 35, 60, 0.08);

    color: var(--red-bright);

    font-size: 9px;
}

.workflow-footer small {
    color: rgba(255, 255, 255, 0.42);

    font-size: 10px;
}

.workflow-live {
    color: rgba(255, 255, 255, 0.38);

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 0.12em;
}

.workflow-live span {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #3de97d;

    box-shadow:
        0 0 10px rgba(61, 233, 125, 0.6);
}


/* =========================================================
   FLOATING MINI CARDS
   ========================================================= */

.workflow-mini-card {
    position: absolute;

    z-index: 4;

    min-width: 150px;

    padding: 12px 14px;

    display: flex;

    align-items: center;

    gap: 11px;

    border-radius: 13px;

    border:
        1px solid rgba(255, 255, 255, 0.08);

    background:
        rgba(10, 13, 19, 0.86);

    backdrop-filter: blur(14px);

    -webkit-backdrop-filter: blur(14px);

    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.30);
}

.workflow-mini-card > span {
    width: 28px;
    height: 28px;

    flex: 0 0 28px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background:
        rgba(239, 35, 60, 0.08);

    color: var(--red-bright);

    font-size: 9px;

    font-weight: 800;
}

.workflow-mini-card div {
    display: flex;

    flex-direction: column;

    gap: 1px;
}

.workflow-mini-card small {
    color: rgba(255, 255, 255, 0.29);

    font-size: 7px;

    font-weight: 700;

    letter-spacing: 0.12em;
}

.workflow-mini-card strong {
    color: rgba(255, 255, 255, 0.83);

    font-size: 10px;

    font-weight: 650;
}

.workflow-mini-one {
    left: -42px;
    top: 70px;
}

.workflow-mini-two {
    right: -36px;
    top: 145px;
}

.workflow-mini-three {
    right: 16px;
    bottom: 42px;
}


/* =========================================================
   DIFFERENCE SECTION TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .difference-container {
        grid-template-columns: 1fr;

        gap: 70px;
    }

    .difference-content {
        max-width: 760px;
    }

    .workflow-visual {
        width: min(100%, 820px);

        min-height: 560px;

        margin: 0 auto;
    }

}


/* =========================================================
   DIFFERENCE SECTION MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .difference-section {
        padding: 85px 0;
    }

    .difference-container {
        width: calc(100% - 28px);

        gap: 55px;
    }

    .section-eyebrow {
        margin-bottom: 16px;

        font-size: 9px;

        letter-spacing: 0.12em;
    }

    .difference-title {
        font-size:
            clamp(37px, 10.3vw, 52px);

        line-height: 1.04;
    }

    .difference-title span {
        margin-top: 5px;
    }

    .difference-description {
        margin-top: 22px;

        font-size: 14.5px;

        line-height: 1.7;
    }

    .difference-points {
        margin-top: 27px;

        gap: 16px;
    }

    .difference-point {
        gap: 12px;
    }

    .difference-point strong {
        font-size: 13px;
    }

    .difference-point small {
        font-size: 11.5px;
    }

    .difference-link {
        margin-top: 30px;
    }


    /*
    |--------------------------------------------------------------------------
    | Mobile workflow card
    |--------------------------------------------------------------------------
    */

    .workflow-visual {
        min-height: auto;

        display: block;
    }

    .workflow-label,
    .workflow-mini-card {
        display: none;
    }

    .workflow-card-main {
        padding: 20px;

        border-radius: 19px;
    }

    .workflow-card-top {
        padding-bottom: 18px;
    }

    .workflow-card-top strong {
        font-size: 14px;
    }

    .workflow-flow {
        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 28px 0;
    }

    .workflow-node {
        min-height: 0;

        padding: 14px;

        flex-direction: row;

        align-items: center;

        justify-content: flex-start;

        gap: 14px;

        border-radius: 13px;
    }

    .workflow-number {
        width: 30px;
        height: 30px;

        flex: 0 0 30px;

        display: flex;

        align-items: center;
        justify-content: center;

        border-radius: 9px;

        background:
            rgba(255, 255, 255, 0.035);
    }

    .workflow-connector {
        width: 1px;
        height: 25px;

        margin-left: 29px;
    }

    .workflow-connector span {
        width: 1px;
        height: 12px;

        top: -12px;
        left: 0;

        background:
            linear-gradient(
                180deg,
                transparent,
                var(--red-bright)
            );

        animation:
            workflowMoveMobile
            2s
            linear
            infinite;
    }


    .workflow-footer {
        align-items: flex-start;

        flex-direction: column;

        gap: 12px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 390px) {

    .difference-container {
        width: calc(100% - 24px);
    }

    .difference-title {
        font-size: 36px;
    }

    .workflow-status {
        padding: 6px 8px;

        font-size: 7px;
    }

}

/* =========================================================
   WORKFLOW MOBILE ANIMATION
   Keep keyframes outside media queries
   ========================================================= */

@keyframes workflowMoveMobile {

    0% {
        top: -12px;
    }

    100% {
        top: 100%;
    }

}


/* =========================================================
   18. SOLUTIONS WE CAN BUILD
   ========================================================= */

.solutions-section {
    position: relative;

    padding: 130px 0;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 15% 10%,
            rgba(239, 35, 60, 0.045),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #05070b 0%,
            #080b11 52%,
            #05070b 100%
        );

    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.solutions-container {
    width: min(calc(100% - 48px), var(--container));

    margin: 0 auto;
}


/* ---------------------------------------------------------
   Header
--------------------------------------------------------- */

.solutions-header {
    max-width: 860px;

    margin-bottom: 62px;
}

.solutions-title {
    margin: 0;

    font-size: clamp(42px, 4.4vw, 72px);

    font-weight: 760;

    line-height: 1.02;

    letter-spacing: -0.045em;
}

.solutions-title span {
    display: block;

    margin-top: 7px;

    color: transparent;

    background:
        linear-gradient(
            90deg,
            #ffffff 0%,
            #eeeeef 35%,
            #ff6575 72%,
            #ef233c 100%
        );

    -webkit-background-clip: text;
    background-clip: text;
}

.solutions-description {
    max-width: 690px;

    margin: 24px 0 0;

    color: rgba(232, 235, 240, 0.62);

    font-size: 17px;

    line-height: 1.75;
}


/* =========================================================
   SOLUTIONS GRID
   ========================================================= */

.solutions-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 16px;
}


/* ---------------------------------------------------------
   Solution Card
--------------------------------------------------------- */

.solution-card {
    position: relative;

    min-height: 300px;

    padding: 23px;

    display: flex;

    flex-direction: column;

    border-radius: 18px;

    border:
        1px solid rgba(255, 255, 255, 0.07);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.045),
            rgba(255, 255, 255, 0.015)
        );

    overflow: hidden;

    transition:
        transform 0.32s ease,
        border-color 0.32s ease,
        background 0.32s ease,
        box-shadow 0.32s ease;
}

.solution-card::before {
    content: "";

    position: absolute;

    width: 160px;
    height: 160px;

    right: -75px;
    top: -75px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(239, 35, 60, 0.11),
            transparent 70%
        );

    opacity: 0;

    transition: opacity 0.32s ease;

    pointer-events: none;
}

.solution-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(239, 35, 60, 0.22);

    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.25);
}

.solution-card:hover::before {
    opacity: 1;
}


/* ---------------------------------------------------------
   Card Header
--------------------------------------------------------- */

.solution-card-header {
    position: relative;
    z-index: 2;

    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 32px;
}

.solution-code {
    color:
        rgba(255, 255, 255, 0.28);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 0.14em;
}

.solution-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--red-bright);

    box-shadow:
        0 0 12px rgba(239, 35, 60, 0.65);
}


/* ---------------------------------------------------------
   Card Content
--------------------------------------------------------- */

.solution-card h3 {
    position: relative;
    z-index: 2;

    margin: 0;

    color: #ffffff;

    font-size: 20px;

    font-weight: 680;

    letter-spacing: -0.02em;

    line-height: 1.2;
}

.solution-card p {
    position: relative;
    z-index: 2;

    margin: 13px 0 0;

    color:
        rgba(230, 233, 239, 0.54);

    font-size: 13px;

    line-height: 1.65;
}


/* ---------------------------------------------------------
   Tags
--------------------------------------------------------- */

.solution-tags {
    position: relative;
    z-index: 2;

    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-top: auto;

    padding-top: 24px;
}

.solution-tags span {
    padding: 6px 9px;

    border-radius: 999px;

    border:
        1px solid rgba(255, 255, 255, 0.07);

    background:
        rgba(255, 255, 255, 0.025);

    color:
        rgba(255, 255, 255, 0.44);

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 0.05em;
}


/* ---------------------------------------------------------
   Custom CTA Card
--------------------------------------------------------- */

.solution-card-custom {
    border-color:
        rgba(239, 35, 60, 0.20);

    background:
        linear-gradient(
            145deg,
            rgba(239, 35, 60, 0.10),
            rgba(255, 255, 255, 0.02)
        );
}

.solution-card-custom h3 {
    font-size: 23px;
}

.solution-cta {
    position: relative;
    z-index: 2;

    margin-top: auto;

    padding-top: 25px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    border-top:
        1px solid rgba(255, 255, 255, 0.07);

    color: #ffffff;

    font-size: 11px;

    font-weight: 700;
}

.solution-cta span:last-child {
    color: var(--red-bright);

    font-size: 16px;

    transition:
        transform var(--transition);
}

.solution-cta:hover span:last-child {
    transform:
        translate(3px, -3px);
}


/* =========================================================
   SOLUTIONS RESPONSIVE
   ========================================================= */

@media (max-width: 1200px) {

    .solutions-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}


@media (max-width: 900px) {

    .solutions-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 767px) {

    .solutions-section {
        padding: 85px 0;
    }

    .solutions-container {
        width: calc(100% - 28px);
    }

    .solutions-header {
        margin-bottom: 42px;
    }

    .solutions-title {
        font-size:
            clamp(37px, 10.2vw, 52px);

        line-height: 1.04;
    }

    .solutions-description {
        margin-top: 20px;

        font-size: 14.5px;

        line-height: 1.7;
    }

    .solutions-grid {
        grid-template-columns: 1fr;

        gap: 13px;
    }

    .solution-card {
        min-height: auto;

        padding: 21px;

        border-radius: 17px;
    }

    .solution-card-header {
        margin-bottom: 25px;
    }

    .solution-card h3 {
        font-size: 19px;
    }

    .solution-card p {
        font-size: 13.5px;
    }

    .solution-tags {
        margin-top: 24px;

        padding-top: 0;
    }

    .solution-card-custom {
        min-height: 260px;
    }

}


@media (max-width: 390px) {

    .solutions-container {
        width: calc(100% - 24px);
    }

    .solutions-title {
        font-size: 36px;
    }

}

/* =========================================================
   17. WHAT WE BUILD / SERVICES
   ========================================================= */

.services-section {
    position: relative;

    padding: 105px 0;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(239, 35, 60, 0.045),
            transparent 30%
        ),
        #05070b;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.045);
}

.services-container {
    width: min(calc(100% - 48px), var(--container));
    margin: 0 auto;
}


/* ---------------------------------------------------------
   Heading
--------------------------------------------------------- */

.services-heading {
    max-width: 850px;
    margin-bottom: 52px;
}

.services-title {
    max-width: 820px;

    margin: 0;

    font-size:
        clamp(42px, 4.5vw, 72px);

    font-weight: 760;

    line-height: 1.02;

    letter-spacing: -0.045em;
}

.services-title span {
    display: block;

    margin-top: 7px;

    color: transparent;

    background:
        linear-gradient(
            90deg,
            #ffffff 0%,
            #eeeeef 35%,
            #ff6172 72%,
            #ef233c 100%
        );

    -webkit-background-clip: text;
    background-clip: text;
}

.services-description {
    max-width: 690px;

    margin: 22px 0 0;

    color:
        rgba(232, 235, 240, 0.63);

    font-size: 17px;

    line-height: 1.75;
}


/* =========================================================
   SERVICES GRID
   ========================================================= */

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;
}


/* ---------------------------------------------------------
   Service Card
--------------------------------------------------------- */

.service-card {
    position: relative;

    min-height: 420px;

    padding: 26px;

    display: flex;

    flex-direction: column;

    overflow: hidden;

    border-radius: 20px;

    border:
        1px solid rgba(255, 255, 255, 0.075);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.05),
            rgba(255, 255, 255, 0.018)
        );

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease;
}

.service-card::before {
    content: "";

    position: absolute;

    width: 210px;
    height: 210px;

    right: -100px;
    top: -100px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(239, 35, 60, 0.12),
            transparent 70%
        );

    opacity: 0;

    transition:
        opacity 0.35s ease;

    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-6px);

    border-color:
        rgba(239, 35, 60, 0.22);

    box-shadow:
        0 26px 65px rgba(0, 0, 0, 0.27),
        0 0 34px rgba(239, 35, 60, 0.045);
}

.service-card:hover::before {
    opacity: 1;
}


/* ---------------------------------------------------------
   Highlighted Card
--------------------------------------------------------- */

.service-card-highlight {
    border-color:
        rgba(239, 35, 60, 0.16);

    background:
        linear-gradient(
            145deg,
            rgba(239, 35, 60, 0.07),
            rgba(255, 255, 255, 0.018)
        );
}


/* ---------------------------------------------------------
   Card Top
--------------------------------------------------------- */

.service-card-top {
    position: relative;
    z-index: 2;

    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 38px;
}

.service-number {
    color:
        rgba(255, 255, 255, 0.23);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.12em;
}

.service-icon {
    width: 46px;
    height: 46px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 46px;

    border-radius: 13px;

    border:
        1px solid rgba(239, 35, 60, 0.18);

    background:
        rgba(239, 35, 60, 0.055);

    color: var(--red-bright);

    font-size: 17px;

    font-weight: 700;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}


/* ---------------------------------------------------------
   Card Content
--------------------------------------------------------- */

.service-card h3 {
    position: relative;
    z-index: 2;

    margin: 0;

    color: #ffffff;

    font-size: 23px;

    font-weight: 680;

    letter-spacing: -0.025em;

    line-height: 1.2;
}

.service-card p {
    position: relative;
    z-index: 2;

    margin: 13px 0 0;

    color:
        rgba(230, 233, 239, 0.57);

    font-size: 13.5px;

    line-height: 1.7;
}


/* ---------------------------------------------------------
   List
--------------------------------------------------------- */

.service-card ul {
    position: relative;
    z-index: 2;

    list-style: none;

    margin: 23px 0 0;

    padding: 0;

    display: grid;

    gap: 9px;
}

.service-card li {
    position: relative;

    padding-left: 16px;

    color:
        rgba(255, 255, 255, 0.66);

    font-size: 12px;

    line-height: 1.5;
}

.service-card li::before {
    content: "";

    position: absolute;

    left: 0;
    top: 7px;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background:
        var(--red-bright);

    box-shadow:
        0 0 8px rgba(239, 35, 60, 0.5);
}


/* ---------------------------------------------------------
   Bottom Link
--------------------------------------------------------- */

.service-card-link {
    position: relative;
    z-index: 2;

    margin-top: auto;

    padding-top: 24px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    border-top:
        1px solid rgba(255, 255, 255, 0.055);

    color:
        rgba(255, 255, 255, 0.80);

    font-size: 12px;

    font-weight: 700;

    transition:
        color var(--transition);
}

.service-card-link span:last-child {
    color: var(--red-bright);

    font-size: 16px;

    transition:
        transform var(--transition);
}

.service-card-link:hover {
    color: #ffffff;
}

.service-card-link:hover span:last-child {
    transform:
        translate(3px, -3px);
}


/* =========================================================
   SERVICES RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    .services-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 767px) {

    .services-section {
        padding: 82px 0;
    }

    .services-container {
        width: calc(100% - 28px);
    }

    .services-heading {
        margin-bottom: 38px;
    }

    .services-title {
        font-size:
            clamp(37px, 10.2vw, 52px);

        line-height: 1.04;
    }

    .services-description {
        margin-top: 19px;

        font-size: 14.5px;

        line-height: 1.68;
    }

    .services-grid {
        grid-template-columns: 1fr;

        gap: 13px;
    }

    .service-card {
        min-height: auto;

        padding: 21px;

        border-radius: 17px;
    }

    .service-card-top {
        margin-bottom: 28px;
    }

    .service-icon {
        width: 42px;
        height: 42px;

        flex-basis: 42px;

        border-radius: 11px;
    }

    .service-card h3 {
        font-size: 20px;
    }

    .service-card p {
        font-size: 13.5px;
    }

    .service-card ul {
        margin-top: 20px;
    }

    .service-card-link {
        margin-top: 26px;

        padding-top: 19px;
    }

}


@media (max-width: 390px) {

    .services-container {
        width: calc(100% - 24px);
    }

    .services-title {
        font-size: 36px;
    }

    .service-card {
        padding: 19px;
    }

}

