/* =========================================================
   CFS GROUP
   PREMIUM HERO SECTION
   File: css/cfs-hero.css
   ========================================================= */


/* =========================================================
   01. HERO SECTION
   ========================================================= */

.cfs-hero {
    position: relative;

    width: 100%;

    min-height: 650px;

    display: flex;

    align-items: center;

    background-image:
        url("../images/cfs-hero.jpg");

    background-position: center center;

    background-size: cover;

    background-repeat: no-repeat;

    background-color: #06152f;

    overflow: hidden;

    isolation: isolate;
}


/* =========================================================
   02. HERO OVERLAY
   ========================================================= */

.cfs-hero-overlay {
    position: absolute;

    inset: 0;

    z-index: 0;

    background:
        linear-gradient(
            90deg,
            rgba(4, 16, 36, 0.78) 0%,
            rgba(6, 21, 47, 0.62) 42%,
            rgba(6, 21, 47, 0.38) 72%,
            rgba(6, 21, 47, 0.48) 100%
        );

    pointer-events: none;
}


/* =========================================================
   03. DECORATIVE HERO PATTERN
   ========================================================= */

.cfs-hero-pattern {
    position: absolute;

    top: -180px;

    right: -180px;

    width: 560px;

    height: 560px;

    border:
        1px solid
        rgba(245, 160, 0, 0.14);

    border-radius: 50%;

    box-shadow:
        0 0 0 70px
        rgba(245, 160, 0, 0.025),

        0 0 0 140px
        rgba(245, 160, 0, 0.018);

    z-index: 1;

    pointer-events: none;
}

.cfs-hero-pattern::before {
    content: "";

    position: absolute;

    inset: 70px;

    border:
        1px solid
        rgba(255, 255, 255, 0.06);

    border-radius: 50%;
}

.cfs-hero-pattern::after {
    content: "";

    position: absolute;

    width: 12px;

    height: 12px;

    right: 125px;

    bottom: 100px;

    border-radius: 50%;

    background:
        var(--cfs-gold);

    box-shadow:
        0 0 0 8px
        rgba(245, 160, 0, 0.08),

        0 0 25px
        rgba(245, 160, 0, 0.25);

    animation:
        cfsHeroDotPulse 3s ease-in-out infinite;
}

@keyframes cfsHeroDotPulse {

    0%,
    100% {
        transform: scale(1);

        opacity: 0.8;
    }

    50% {
        transform: scale(1.25);

        opacity: 1;
    }
}


/* =========================================================
   04. HERO CONTAINER
   ========================================================= */

.cfs-hero-container {
    position: relative;

    z-index: 2;

    width:
        min(
            1400px,
            calc(100% - 50px)
        );

    margin: 0 auto;

    padding:
        75px 0;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        460px;

    align-items: center;

    gap: 70px;
}


/* =========================================================
   05. HERO CONTENT
   ========================================================= */

.cfs-hero-content {
    position: relative;

    max-width: 720px;

    animation:
        cfsHeroContentIn
        0.8s
        ease
        both;
}

@keyframes cfsHeroContentIn {

    from {
        opacity: 0;

        transform:
            translateX(-25px);
    }

    to {
        opacity: 1;

        transform:
            translateX(0);
    }
}


/* =========================================================
   06. HERO EYEBROW
   ========================================================= */

.cfs-hero-eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 20px;

    padding:
        8px 13px;

    border:
        1px solid
        rgba(245, 160, 0, 0.38);

    border-radius: 3px;

    background:
        rgba(4, 16, 36, 0.48);

    color:
        var(--cfs-gold-light);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.2px;

    backdrop-filter:
        blur(4px);

    -webkit-backdrop-filter:
        blur(4px);
}

.cfs-hero-eyebrow i {
    color:
        var(--cfs-gold);

    font-size: 11px;
}


/* =========================================================
   07. HERO HEADING
   ========================================================= */

.cfs-hero-content h1 {
    max-width: 720px;

    margin:
        0 0 20px;

    color:
        #ffffff;

    font-size:
        clamp(
            38px,
            4.2vw,
            62px
        );

    line-height:
        1.12;

    font-weight:
        700;

    letter-spacing:
        -1.4px;

    text-shadow:
        0 3px 18px
        rgba(0, 0, 0, 0.18);
}

.cfs-hero-content h1 span {
    display: block;

    color:
        var(--cfs-gold-light);

    text-shadow:
        0 3px 18px
        rgba(0, 0, 0, 0.15);
}


/* =========================================================
   08. HERO DESCRIPTION
   ========================================================= */

.cfs-hero-description {
    max-width: 650px;

    margin-bottom: 28px;

    color:
        rgba(255, 255, 255, 0.84);

    font-size: 15px;

    font-weight: 400;

    line-height: 1.85;

    text-shadow:
        0 2px 10px
        rgba(0, 0, 0, 0.18);
}


/* =========================================================
   09. HERO POINTS
   ========================================================= */

.cfs-hero-points {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 10px;

    margin-bottom: 32px;
}

.cfs-hero-point {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    min-height: 36px;

    padding:
        0 11px 0 6px;

    border:
        1px solid
        rgba(255, 255, 255, 0.14);

    border-radius: 3px;

    background:
        rgba(4, 16, 36, 0.42);

    color:
        rgba(255, 255, 255, 0.88);

    font-size: 10px;

    font-weight: 500;

    backdrop-filter:
        blur(4px);

    -webkit-backdrop-filter:
        blur(4px);
}

.cfs-hero-point-icon {
    width: 25px;

    height: 25px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 3px;

    background:
        rgba(245, 160, 0, 0.15);

    color:
        var(--cfs-gold);

    font-size: 10px;
}


/* =========================================================
   10. HERO BUTTONS
   ========================================================= */

.cfs-hero-buttons {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 15px;
}


/* =========================================================
   11. PRIMARY HERO BUTTON
   ========================================================= */

.cfs-hero-primary-btn {
    min-height: 50px;

    padding:
        0 20px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    border-radius: 4px;

    background:
        linear-gradient(
            135deg,
            var(--cfs-gold),
            var(--cfs-gold-dark)
        );

    color:
        var(--cfs-navy);

    font-size: 11px;

    font-weight: 700;

    box-shadow:
        0 12px 30px
        rgba(0, 0, 0, 0.20);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.cfs-hero-primary-btn:hover {
    transform:
        translateY(-2px);

    box-shadow:
        0 16px 35px
        rgba(0, 0, 0, 0.28);

    background:
        linear-gradient(
            135deg,
            var(--cfs-gold-light),
            var(--cfs-gold)
        );
}

.cfs-hero-primary-btn i {
    font-size: 9px;

    transition:
        transform 0.25s ease;
}

.cfs-hero-primary-btn:hover i {
    transform:
        translateX(4px);
}


/* =========================================================
   12. HERO CALL BUTTON
   ========================================================= */

.cfs-hero-call-btn {
    min-height: 50px;

    padding:
        0 5px 0 0;

    display: inline-flex;

    align-items: center;

    gap: 10px;

    color:
        #ffffff;
}

.cfs-hero-call-icon {
    width: 43px;

    height: 43px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    border:
        1px solid
        rgba(245, 160, 0, 0.40);

    background:
        rgba(4, 16, 36, 0.45);

    color:
        var(--cfs-gold);

    font-size: 12px;

    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.cfs-hero-call-btn:hover .cfs-hero-call-icon {
    background:
        var(--cfs-gold);

    color:
        var(--cfs-navy);
}

.cfs-hero-call-content {
    display: flex;

    flex-direction: column;

    line-height: 1.2;
}

.cfs-hero-call-content small {
    margin-bottom: 4px;

    color:
        rgba(255, 255, 255, 0.65);

    font-size: 7px;

    font-weight: 600;

    letter-spacing: 0.9px;
}

.cfs-hero-call-content strong {
    color:
        #ffffff;

    font-size: 12px;

    font-weight: 700;
}


/* =========================================================
   13. FORM WRAPPER
   ========================================================= */

.cfs-hero-form-wrapper {
    position: relative;

    width: 100%;

    animation:
        cfsHeroFormIn
        0.8s
        0.15s
        ease
        both;
}

@keyframes cfsHeroFormIn {

    from {
        opacity: 0;

        transform:
            translateX(25px);
    }

    to {
        opacity: 1;

        transform:
            translateX(0);
    }
}


/* =========================================================
   14. FORM CARD
   ========================================================= */

.cfs-hero-form-card {
    position: relative;

    width: 100%;

    padding:
        30px;

    background:
        rgba(255, 255, 255, 0.98);

    border:
        1px solid
        rgba(255, 255, 255, 0.75);

    border-radius: 7px;

    box-shadow:
        0 25px 70px
        rgba(0, 0, 0, 0.28);

    overflow: hidden;
}


/* Gold top border */

.cfs-hero-form-card::before {
    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 4px;

    background:
        linear-gradient(
            90deg,
            var(--cfs-gold-dark),
            var(--cfs-gold-light),
            var(--cfs-gold-dark)
        );
}


/* =========================================================
   15. FORM HEADER
   ========================================================= */

.cfs-form-header {
    display: flex;

    align-items: center;

    gap: 13px;

    margin-bottom: 13px;
}

.cfs-form-icon {
    width: 43px;

    height: 43px;

    flex:
        0 0 43px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 5px;

    background:
        rgba(245, 160, 0, 0.12);

    color:
        var(--cfs-gold-dark);

    font-size: 15px;
}

.cfs-form-small-title {
    display: block;

    margin-bottom: 3px;

    color:
        var(--cfs-gold-dark);

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 1.2px;
}

.cfs-form-header h2 {
    margin: 0;

    color:
        var(--cfs-navy);

    font-size: 21px;

    line-height: 1.25;

    font-weight: 700;
}


/* =========================================================
   16. FORM INTRO
   ========================================================= */

.cfs-form-intro {
    margin-bottom: 20px;

    color:
        var(--cfs-muted);

    font-size: 11px;

    line-height: 1.7;
}


/* =========================================================
   17. FORM FIELD
   ========================================================= */

.cfs-hero-form {
    width: 100%;
}

.cfs-form-field {
    width: 100%;

    margin-bottom: 13px;
}

.cfs-form-field label {
    display: block;

    margin-bottom: 6px;

    color:
        var(--cfs-text);

    font-size: 9px;

    font-weight: 600;
}


/* =========================================================
   18. INPUT BOX
   ========================================================= */

.cfs-input-box {
    position: relative;

    width: 100%;
}

.cfs-input-box > i:first-child {
    position: absolute;

    top: 50%;

    left: 13px;

    transform:
        translateY(-50%);

    color:
        #8b94a3;

    font-size: 11px;

    pointer-events: none;

    z-index: 2;
}

.cfs-input-box input,
.cfs-input-box select,
.cfs-input-box textarea {
    width: 100%;

    border:
        1px solid
        #e1e5eb;

    border-radius: 4px;

    background:
        #ffffff;

    color:
        var(--cfs-text);

    font-size: 10px;

    font-weight: 400;

    outline: none;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.cfs-input-box input,
.cfs-input-box select {
    height: 43px;

    padding:
        0 38px;
}

.cfs-input-box textarea {
    min-height: 76px;

    padding:
        12px 38px;

    resize: vertical;

    line-height: 1.6;
}

.cfs-input-box input::placeholder,
.cfs-input-box textarea::placeholder {
    color:
        #a3aab5;
}

.cfs-input-box select {
    appearance: none;

    -webkit-appearance: none;

    cursor: pointer;

    color:
        #7b8491;
}

.cfs-input-box select:valid {
    color:
        var(--cfs-text);
}


/* =========================================================
   19. SELECT ARROW
   ========================================================= */

.cfs-input-box .cfs-select-arrow {
    position: absolute;

    top: 50%;

    right: 13px;

    transform:
        translateY(-50%);

    color:
        #8b94a3;

    font-size: 8px;

    pointer-events: none;
}


/* =========================================================
   20. TEXTAREA ICON
   ========================================================= */

.cfs-textarea-box > i:first-child {
    top: 14px;

    transform: none;
}


/* =========================================================
   21. INPUT FOCUS
   ========================================================= */

.cfs-input-box input:focus,
.cfs-input-box select:focus,
.cfs-input-box textarea:focus {
    border-color:
        var(--cfs-gold);

    background:
        #fffdf8;

    box-shadow:
        0 0 0 3px
        rgba(245, 160, 0, 0.08);
}

.cfs-input-box:focus-within > i:first-child {
    color:
        var(--cfs-gold-dark);
}


/* =========================================================
   22. FORM SUBMIT
   ========================================================= */

.cfs-form-submit {
    width: 100%;

    min-height: 46px;

    margin-top: 4px;

    padding:
        0 16px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    border: 0;

    border-radius: 4px;

    background:
        linear-gradient(
            135deg,
            var(--cfs-navy),
            var(--cfs-navy-light)
        );

    color:
        #ffffff;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.2px;

    box-shadow:
        0 8px 20px
        rgba(6, 21, 47, 0.15);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.cfs-form-submit:hover {
    transform:
        translateY(-2px);

    box-shadow:
        0 12px 25px
        rgba(6, 21, 47, 0.22);

    background:
        linear-gradient(
            135deg,
            var(--cfs-navy-light),
            var(--cfs-navy)
        );
}

.cfs-form-submit i {
    font-size: 8px;

    transition:
        transform 0.25s ease;
}

.cfs-form-submit:hover i {
    transform:
        translateX(4px);
}


/* =========================================================
   23. FORM TRUST
   ========================================================= */

.cfs-form-trust {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

    margin-top: 11px;

    color:
        #8b94a3;

    font-size: 8px;
}

.cfs-form-trust i {
    color:
        #5c9a68;

    font-size: 8px;
}


/* =========================================================
   24. LARGE LAPTOP
   ========================================================= */

@media (max-width: 1250px) {

    .cfs-hero-container {
        width:
            calc(100% - 40px);

        grid-template-columns:
            minmax(0, 1fr)
            420px;

        gap: 45px;
    }

    .cfs-hero-content h1 {
        font-size:
            clamp(
                36px,
                4vw,
                55px
            );
    }

    .cfs-hero-form-card {
        padding:
            27px;
    }
}


/* =========================================================
   25. MEDIUM LAPTOP
   ========================================================= */

@media (max-width: 1100px) {

    .cfs-hero-container {
        grid-template-columns:
            minmax(0, 1fr)
            390px;

        gap: 35px;

        padding:
            65px 0;
    }

    .cfs-hero-content h1 {
        font-size:
            clamp(
                34px,
                4vw,
                48px
            );

        letter-spacing:
            -1px;
    }

    .cfs-hero-description {
        font-size:
            13px;
    }

    .cfs-hero-point {
        font-size:
            9px;
    }

    .cfs-hero-form-card {
        padding:
            25px;
    }

    .cfs-form-header h2 {
        font-size:
            19px;
    }
}


/* =========================================================
   26. TABLET
   ========================================================= */

@media (max-width: 950px) {

    .cfs-hero {
        min-height:
            auto;

        background-position:
            center center;
    }

    .cfs-hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(4, 16, 36, 0.72) 0%,
                rgba(6, 21, 47, 0.58) 48%,
                rgba(6, 21, 47, 0.72) 100%
            );
    }

    .cfs-hero-container {
        width:
            calc(100% - 30px);

        padding:
            55px 0 60px;

        grid-template-columns:
            1fr;

        gap:
            40px;

        align-items:
            start;
    }

    .cfs-hero-content {
        max-width:
            760px;
    }

    .cfs-hero-content h1 {
        font-size:
            clamp(
                35px,
                6vw,
                50px
            );

        max-width:
            700px;
    }

    .cfs-hero-description {
        max-width:
            680px;

        font-size:
            13px;
    }

    .cfs-hero-form-wrapper {
        width:
            min(
                100%,
                560px
            );

        margin:
            0 auto;
    }

    .cfs-hero-form-card {
        padding:
            28px;
    }
}


/* =========================================================
   27. MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .cfs-hero {
        min-height:
            auto;

        background-image:
            url("../images/cfs-hero.jpg");

        background-position:
            center center;

        background-size:
            cover;

        background-repeat:
            no-repeat;

        background-color:
            #06152f;
    }

    .cfs-hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(4, 16, 36, 0.76) 0%,
                rgba(6, 21, 47, 0.58) 48%,
                rgba(6, 21, 47, 0.78) 100%
            );
    }

    .cfs-hero-pattern {
        width:
            380px;

        height:
            380px;

        top:
            -120px;

        right:
            -190px;
    }

    .cfs-hero-container {
        width:
            calc(100% - 28px);

        padding:
            45px 0 50px;

        gap:
            32px;
    }

    .cfs-hero-eyebrow {
        margin-bottom:
            16px;

        padding:
            7px 10px;

        font-size:
            8px;

        letter-spacing:
            0.9px;
    }

    .cfs-hero-eyebrow i {
        font-size:
            9px;
    }

    .cfs-hero-content h1 {
        margin-bottom:
            16px;

        font-size:
            clamp(
                31px,
                9vw,
                42px
            );

        line-height:
            1.16;

        letter-spacing:
            -0.8px;
    }

    .cfs-hero-description {
        margin-bottom:
            22px;

        font-size:
            12px;

        line-height:
            1.75;
    }

    .cfs-hero-points {
        gap:
            7px;

        margin-bottom:
            25px;
    }

    .cfs-hero-point {
        min-height:
            33px;

        padding:
            0 9px 0 5px;

        font-size:
            8px;
    }

    .cfs-hero-point-icon {
        width:
            23px;

        height:
            23px;

        font-size:
            9px;
    }

    .cfs-hero-buttons {
        align-items:
            stretch;

        gap:
            11px;
    }

    .cfs-hero-primary-btn {
        min-height:
            47px;

        padding:
            0 15px;

        font-size:
            10px;
    }

    .cfs-hero-call-btn {
        min-height:
            47px;
    }

    .cfs-hero-call-icon {
        width:
            39px;

        height:
            39px;
    }

    .cfs-hero-call-content strong {
        font-size:
            11px;
    }

    .cfs-hero-form-wrapper {
        width:
            100%;
    }

    .cfs-hero-form-card {
        padding:
            23px 18px;
    }

    .cfs-form-header {
        gap:
            11px;
    }

    .cfs-form-icon {
        width:
            39px;

        height:
            39px;

        flex-basis:
            39px;

        font-size:
            13px;
    }

    .cfs-form-header h2 {
        font-size:
            18px;
    }

    .cfs-form-intro {
        font-size:
            10px;

        line-height:
            1.65;
    }

    .cfs-input-box input,
    .cfs-input-box select {
        height:
            42px;
    }

    .cfs-input-box textarea {
        min-height:
            72px;
    }
}


/* =========================================================
   28. SMALL MOBILE
   ========================================================= */

@media (max-width: 450px) {

    .cfs-hero {
        background-position:
            60% center;
    }

    .cfs-hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(4, 16, 36, 0.78) 0%,
                rgba(6, 21, 47, 0.62) 50%,
                rgba(6, 21, 47, 0.80) 100%
            );
    }

    .cfs-hero-container {
        width:
            calc(100% - 24px);

        padding:
            40px 0 45px;

        gap:
            28px;
    }

    .cfs-hero-eyebrow {
        max-width:
            100%;

        font-size:
            7.5px;
    }

    .cfs-hero-content h1 {
        font-size:
            30px;

        letter-spacing:
            -0.5px;
    }

    .cfs-hero-description {
        font-size:
            11px;
    }

    .cfs-hero-buttons {
        flex-direction:
            column;

        align-items:
            stretch;
    }

    .cfs-hero-primary-btn {
        width:
            100%;
    }

    .cfs-hero-call-btn {
        justify-content:
            flex-start;
    }

    .cfs-hero-form-card {
        padding:
            22px 16px;
    }

    .cfs-form-header h2 {
        font-size:
            17px;
    }
}


/* =========================================================
   29. VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 360px) {

    .cfs-hero-container {
        width:
            calc(100% - 20px);
    }

    .cfs-hero-content h1 {
        font-size:
            28px;
    }

    .cfs-hero-description {
        font-size:
            10.5px;
    }

    .cfs-hero-point {
        font-size:
            7.5px;
    }

    .cfs-hero-form-card {
        padding:
            20px 14px;
    }

    .cfs-form-header h2 {
        font-size:
            16px;
    }
}


/* =========================================================
   30. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .cfs-hero-content,
    .cfs-hero-form-wrapper,
    .cfs-hero-pattern::after {
        animation:
            none !important;
    }

    .cfs-hero-primary-btn,
    .cfs-hero-call-icon,
    .cfs-form-submit {
        transition:
            none !important;
    }
}