/*==========================================================
    UniFiTrials
    Enterprise Landing Page
==========================================================*/

:root{

    --primary:#123c35;
    --primary-dark:#0c2c27;

    --gold:#c9a247;

    --white:#ffffff;

    --light:#f5f7f8;

    --gray:#667085;

    --text:#25313c;

    --border:#e4e7ec;

    --shadow:
        0 15px 40px rgba(0,0,0,.08);

    --radius:14px;

    --transition:.30s ease;

}

/*==========================================================
RESET
==========================================================*/

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

    scroll-padding-top:90px;

}

body{

    font-family:'Inter',sans-serif;

    background:white;

    color:var(--text);

    line-height:1.65;

    font-size:17px;

    overflow-x:hidden;

}

/*==========================================================
TYPOGRAPHY
==========================================================*/

h1{

    font-size:54px;

    line-height:1.08;

    font-weight:800;

    letter-spacing:-2px;

    margin-bottom:20px;

}

h2{

    font-size:42px;

    font-weight:700;

    line-height:1.15;

    margin-bottom:18px;

}

h3{

    font-size:24px;

    font-weight:700;

    margin-bottom:15px;

}

h4{

    font-size:18px;

    margin-bottom:15px;

}

p{

    color:var(--gray);

    margin-bottom:18px;

}

a{

    text-decoration:none;

}

/*==========================================================
LAYOUT
==========================================================*/

.container{

    width:92%;

    max-width:1280px;

    margin:auto;

}

.narrow{

    max-width:850px;

}

.section{

    padding:55px 0;

}

.light{

    background:white;

}

.dark{

    background:var(--primary);

    color:white;

}

.dark p{

    color:rgba(255,255,255,.85);

}

.center{

    text-align:center;

}

/*==========================================================
SECTION HEADER
==========================================================*/

.sectionHeader{

    margin-bottom:55px;

}

.sectionTag{

    display:inline-block;

    color:var(--gold);

    font-size:13px;

    letter-spacing:3px;

    font-weight:700;

    margin-bottom:18px;

}

.gold{

    color:#ffe28f;

}

.sectionIntro{

    max-width:780px;

    margin:auto;

    font-size:18px;

}

/*==========================================================
BUTTONS
==========================================================*/

.primaryButton{

    display:inline-block;

    padding:

        15px

        34px;

    background:

        var(--gold);

    color:white;

    font-weight:600;

    border-radius:8px;

    transition:var(--transition);

    box-shadow:

        0 12px 30px

        rgba(0,0,0,.18);

}

.primaryButton:hover{

    transform:translateY(-3px);

    background:#b98d2e;

}

.secondaryButton{

    display:inline-block;

    padding:

        15px

        34px;

    margin-left:15px;

    border:

        2px solid

        white;

    color:white;

    border-radius:8px;

    transition:var(--transition);

}

.secondaryButton:hover{

    background:white;

    color:var(--primary);

}

.navButton{

    background:var(--gold);

    color:white;

    padding:

        12px

        22px;

    border-radius:8px;

    transition:var(--transition);

}

.navButton:hover{

    background:#b98d2e;

}

/*==========================================================
CARDS
==========================================================*/

.challengeCard,

.benefitCard,

.audienceCard{

    background:white;

    border-radius:var(--radius);

    padding:34px;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.challengeCard:hover,

.benefitCard:hover,

.audienceCard:hover{

    transform:

        translateY(-8px);

}

.dark .benefitCard{

    background:white;

    color:var(--text);

}

.dark .benefitCard p{

    color:var(--gray);

}

/*==========================================================
UTILITY
==========================================================*/

img{

    max-width:100%;

    display:block;

}
/*==========================================================
NAVIGATION
==========================================================*/

header{

    background:
        linear-gradient(
            135deg,
            #123c35 0%,
            #18493f 55%,
            #0f302b 100%
        );

    color:white;

    padding-top:60px;

}

.navbar{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:9999;

    backdrop-filter:blur(12px);

    background:
        rgba(18,60,53,.95);

    border-bottom:
        1px solid rgba(255,255,255,.08);

    transition:.25s ease;

}

.navbar .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    height:74px;

}

.logo img{

    height:44px;

    width:auto;

}

.navigation{

    list-style:none;

    display:flex;

    align-items:center;

    gap:32px;

}

.navigation a{

    color:white;

    font-weight:500;

    transition:var(--transition);

}

.navigation a:hover{

    color:var(--gold);

}

/*==========================================================
HERO
==========================================================*/

.hero{

    padding:

        35px 0 10px;

}

.hero-grid{

    display:grid;

    grid-template-columns:

        1.05fr

        .95fr;

    gap:70px;

    align-items:center;

}

.hero-right{

    display:flex;

    justify-content:flex-end;

    align-items:flex-start;

}

.hero-left{

    max-width:620px;

}

.eyebrow{

    display:inline-block;

    color:#d5b46b;

    letter-spacing:3px;

    font-size:13px;

    font-weight:700;

    margin-bottom:20px;

}

.hero h1{

    color:white;

}

.hero-text{

    color:

        rgba(255,255,255,.90);

    font-size:21px;

    margin-bottom:20px;

}

.hero-subtext{

    color:

        rgba(255,255,255,.72);

    font-size:17px;

    max-width:540px;

}

.hero-buttons{

    margin-top:35px;

}

.heroImage{

    width:100%;

    max-width:390px;

    height:auto;

    display:block;

    margin-left:auto;

    margin-top:8px;

    border-radius:18px;

    box-shadow:
        0 18px 45px rgba(0,0,0,.22);

    transition:var(--transition);

}

.heroImage:hover{

    transform:

        translateY(-8px);

}

/*==========================================================
CONTACT STRIP
==========================================================*/

.contactStrip{

    margin-top:20px;

    margin-bottom:25px;

}

.contactCard{

    display:grid;

    grid-template-columns:

        .85fr

        1.15fr;

    gap:45px;

    background:white;

    border-radius:18px;

    padding:42px;

    box-shadow:

        0 20px 60px

        rgba(0,0,0,.10);

}

.contactIntro{

    display:flex;

    flex-direction:column;

    justify-content:center;

}

.contactIntro h2{

    color:var(--primary);

}

.contactForm form{

    display:flex;

    flex-direction:column;

    gap:18px;

}

.row{

    display:grid;

    grid-template-columns:

        1fr 1fr;

    gap:18px;

}

.contactForm input,

.contactForm textarea{

    width:100%;

    border:

        1px solid

        var(--border);

    border-radius:10px;

    padding:

        16px 18px;

    font-size:16px;

    font-family:inherit;

    transition:var(--transition);

    background:#fafafa;

}

.contactForm textarea{

    resize:vertical;

    min-height:170px;

}

.contactForm input:focus,

.contactForm textarea:focus{

    outline:none;

    border-color:

        var(--gold);

    background:white;

    box-shadow:

        0 0 0 4px

        rgba(201,162,71,.15);

}

.submitButton{

    width:240px;

    border:none;

    cursor:pointer;

    background:var(--gold);

    color:white;

    padding:16px;

    border-radius:8px;

    font-size:16px;

    font-weight:600;

    transition:var(--transition);

}

.submitButton:hover{

    background:#b98d2e;

    transform:

        translateY(-2px);

}
/*==========================================================
THE CHALLENGE
==========================================================*/

.challengeGrid{

    display:grid;

    grid-template-columns:
        repeat(3,1fr);

    gap:30px;

    margin-top:20px;

}

.challengeCard{

    border-top:
        5px solid var(--gold);

}

.challengeCard h3{

    color:var(--primary);

    margin-top:18px;

}

.cardIcon{

    width:70px;

    height:70px;

    border-radius:50%;

    background:

        rgba(201,162,71,.12);

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:32px;

    color:var(--gold);

}

/*==========================================================
OUR APPROACH
==========================================================*/

.dark{

    position:relative;

    overflow:hidden;

}

.dark::before{

    content:"";

    position:absolute;

    top:-150px;

    right:-150px;

    width:420px;

    height:420px;

    border-radius:50%;

    background:

        rgba(255,255,255,.04);

}

.dark::after{

    content:"";

    position:absolute;

    bottom:-220px;

    left:-180px;

    width:500px;

    height:500px;

    border-radius:50%;

    background:

        rgba(255,255,255,.03);

}

.benefitGrid{

    display:grid;

    grid-template-columns:
        repeat(3,1fr);

    gap:28px;

    position:relative;

    z-index:2;

}

.benefitCard{

    text-align:center;

}

.benefitCard h3{

    color:var(--primary);

}

.benefitCard p{

    margin-bottom:0;

}

/*==========================================================
WHO WE SERVE
==========================================================*/

.audienceGrid{

    display:grid;

    grid-template-columns:
        repeat(3,1fr);

    gap:28px;

}

.audienceCard{

    text-align:center;

    border-bottom:

        5px solid transparent;

}

.audienceCard:hover{

    border-bottom:

        5px solid var(--gold);

}

.audienceCard h3{

    color:var(--primary);

}

/*==========================================================
FINAL CALL TO ACTION
==========================================================*/

.closingSection{

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--primary-dark)
        );

    color:white;

    text-align:center;

    padding:

        80px 0;

}

.closingSection h2{

    color:white;

}

.closingSection p{

    color:

        rgba(255,255,255,.82);

    max-width:760px;

    margin:

        auto auto 35px;

    font-size:18px;

}

/*==========================================================
FOOTER
==========================================================*/

footer{

    background:#0d2824;

    color:white;

}

.footerGrid{

    display:grid;

    grid-template-columns:

        1.2fr

        .8fr

        1fr;

    gap:60px;

    padding:

        70px 0;

}

.footerLogo{

    width:230px;

    margin-bottom:18px;

}

footer h4{

    color:white;

    margin-bottom:22px;

}

footer a{

    display:block;

    color:

        rgba(255,255,255,.75);

    margin-bottom:12px;

    transition:var(--transition);

}

footer a:hover{

    color:var(--gold);

}

footer p{

    color:

        rgba(255,255,255,.70);

}

.copyright{

    border-top:

        1px solid

        rgba(255,255,255,.08);

    text-align:center;

    padding:24px;

    color:

        rgba(255,255,255,.55);

    font-size:14px;

}

/*==========================================================
MODAL
==========================================================*/

.modal{

    position:fixed;

    inset:0;

    background:

        rgba(0,0,0,.55);

    display:none;

    justify-content:center;

    align-items:center;

    z-index:5000;

}

.modal.show{

    display:flex;

}

.modal-content{

    width:420px;

    background:white;

    border-radius:18px;

    padding:40px;

    text-align:center;

    box-shadow:

        0 30px 80px

        rgba(0,0,0,.30);

    animation:

        modalUp

        .35s ease;

}

.modal-content.success{

    border-top:

        6px solid #4CAF50;

}

.modal-content.error{

    border-top:

        6px solid #D32F2F;

}

.modal-content button{

    margin-top:25px;

    background:var(--gold);

    color:white;

    border:none;

    border-radius:8px;

    padding:

        14px

        28px;

    cursor:pointer;

    transition:var(--transition);

}

.modal-content button:hover{

    background:#b98d2e;

}

@keyframes modalUp{

    from{

        opacity:0;

        transform:

            translateY(40px);

    }

    to{

        opacity:1;

        transform:

            translateY(0);

    }

}
/*==========================================================
RESPONSIVE DESIGN
==========================================================*/

@media screen and (max-width:1200px){

    h1{

        font-size:52px;

    }

    h2{

        font-size:36px;

    }

    .hero-grid{

        gap:50px;

    }

}


@media screen and (max-width:992px){

    .hero-grid{

        grid-template-columns:1fr;

        text-align:center;

    }

    .hero-left{

        max-width:100%;

    }

    .hero-subtext{

        max-width:100%;

    }

    .hero-buttons{

        justify-content:center;

        display:flex;

        flex-wrap:wrap;

    }

    .contactCard{

        grid-template-columns:1fr;

    }

    .challengeGrid,

    .benefitGrid,

    .audienceGrid{

        grid-template-columns:1fr;

    }

    .footerGrid{

        grid-template-columns:1fr;

        gap:35px;

        text-align:center;

    }

    .footerLogo{

        margin:auto;

        margin-bottom:20px;

    }

}


@media screen and (max-width:768px){

    .navbar .container{

        flex-direction:column;

        height:auto;

        padding:20px 0;

    }
header{

        padding-top:220px;

    }
    .navigation{

        margin-top:20px;

        flex-wrap:wrap;

        justify-content:center;

        gap:18px;

    }

    h1{

        font-size:42px;

        letter-spacing:-1px;

    }

    h2{

        font-size:30px;

    }

    .hero{

        padding:45px 0 25px;

    }

    .section{

        padding:55px 0;

    }

    .row{

        grid-template-columns:1fr;

    }

    .primaryButton,

    .secondaryButton{

        width:100%;

        text-align:center;

        margin:8px 0;

    }

    .secondaryButton{

        margin-left:0;

    }

    .submitButton{

        width:100%;

    }

}


@media screen and (max-width:480px){

    body{

        font-size:16px;

    }

    h1{

        font-size:34px;

    }

    h2{

        font-size:26px;

    }

    .heroImage{

        border-radius:12px;

    }

    .contactCard{

        padding:25px;

    }

    .challengeCard,

    .benefitCard,

    .audienceCard{

        padding:24px;

    }

}


/*==========================================================
ANIMATIONS
==========================================================*/

.fadeIn{

    opacity:0;

    transform:translateY(30px);

    transition:

        opacity .7s ease,

        transform .7s ease;

}

.fadeIn.visible{

    opacity:1;

    transform:translateY(0);

}


.challengeCard,

.benefitCard,

.audienceCard,

.contactCard{

    transition:

        transform .35s ease,

        box-shadow .35s ease;

}

.challengeCard:hover,

.benefitCard:hover,

.audienceCard:hover,

.contactCard:hover{

    transform:translateY(-6px);

    box-shadow:

        0 25px 60px rgba(0,0,0,.12);

}

.heroImage{

    animation:

        floatImage

        6s ease-in-out infinite;

}

@keyframes floatImage{

    0%{

        transform:translateY(0px);

    }

    50%{

        transform:translateY(-8px);

    }

    100%{

        transform:translateY(0px);

    }

}


/*==========================================================
SCROLLBAR
==========================================================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#ececec;

}

::-webkit-scrollbar-thumb{

    background:var(--primary);

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--gold);

}


/*==========================================================
TEXT SELECTION
==========================================================*/

::selection{

    background:var(--gold);

    color:white;

}


/*==========================================================
SMALL POLISH
==========================================================*/

input::placeholder,

textarea::placeholder{

    color:#9aa5b1;

}

button{

    font-family:inherit;

}

button:hover{

    cursor:pointer;

}

section{

    overflow:hidden;

}

.hero,

.closingSection{

    position:relative;

}

.hero::after{

    content:"";

    position:absolute;

    right:-120px;

    top:-120px;

    width:320px;

    height:320px;

    border-radius:50%;

    background:rgba(255,255,255,.03);

}

.closingSection::before{

    content:"";

    position:absolute;

    left:-160px;

    bottom:-160px;

    width:380px;

    height:380px;

    border-radius:50%;

    background:rgba(255,255,255,.04);

}