/* Variables */
:root{
    --clr-primary: #00B8E6;
    --clr-primary-dark: #02a2ca;
    --clr-text: #3A3632;
    --clr-black: #000000;
    --clr-white: #ffffff;
    --clr-gray: #7C7C7C;
    --clr-body: #FAF9F7;
    --clr-eyebrow: #808080;
    --clr-border: #DDDDDD;
    
    --fm-icon: 'Font Awesome 5 Pro';
    --fm-main: "Opensans", sans-serif;

    --fw-normal: normal;
    --fw-semibold: 600;
    --fw-bold: bold;
    --fw-light: 300;

    --transition-normal: all linear 0.25s;
    --transition-ease: all ease-in-out 0.25s;
    --transition-cubic: all 0.5s cubic-bezier(0.25, 1.7, 0.35, 1.5);

}

/* Global */
body, html{
    background: var(--clr-body);
    color: var(--clr-text);
    font-family: var(--fm-main);
    font-weight: var(--fw-normal);
    font-size: 16px;
    line-height: 1.7;
    position: relative;
}

/* Typography */
h1, h2, h3, h4, h5, h6{
    font-family: var(--fm-main);
}
h1{
    font-size: 50px;
}
h2{
    font-size: 40px;
}
h3{
    font-size: 22px;
}
h4{
    font-size: 20px;
}
h5{
    font-size: 18px;
}
h6{
    font-size: 16px;
}
p, li{
    font-family: var(--fm-main);
    font-size: 16px;
}
a{
    color: var(--clr-primary);
    font-family: var(--fm-main);
    transition: var(--transition-normal);
}
a:hover{
    color: var(--clr-primary-dark);
}
ul, ol{
    padding-left: 0;
}
li{
    margin-bottom: 15px;
    padding-left: 40px;
    position: relative;
}
li:last-child{
    margin-bottom: 0;
}
li::before {
    content: "\f058";
    font-family: var(--fm-icon);
    font-weight: 300;
    position: absolute;
    left: 0;
    top: 2px;
    line-height: 1;
    color: var(--clr-primary);
    font-size: 24px;
}
b, strong{
    font-weight: var(--fw-bold);
}

.eyebrow{
    align-items: center;
    border: 1px solid #BFE2D4;
    background: rgba(122, 155, 142, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50px;
    color: var(--clr-primary);
    font-weight: var(--fw-bold);
    font-family: var(--fm-main);
    font-size: 16px;
    display: flex;
    min-height: 55px;
    padding: 12px 20px;
    justify-content: center;
    max-width: 300px;
}

.eyebrow-normal{
    color: var(--clr-eyebrow);
    font-size: 12px;
    font-weight: var(--fw-semibold);
}

.cta{
    background: var(--clr-primary);
    align-items: center;
    border-radius: 50px;
    color: var(--clr-white);
    display: inline-flex;
    font-size: 16px;
    font-weight: var(--fw-bold);
    line-height: 1;
    min-height: 55px;
    min-width: 250px;
    max-width: 100%;
    opacity: 1;
    padding: 5px 30px;
    transition: var(--transition-normal);
    text-decoration: none;
    justify-content: center;
}

.cta i{
    font-size: 18px;
}

.cta:hover{
    background: var(--clr-primary-dark);
    color: var(--clr-white);
    transform: translateY(-5px);
}

#header .cta{
    min-height: 35px;
    min-width: 35px;
    padding: 0px;
    font-weight: normal;
    line-height: 1;
}

#header .cta i{
    font-size: 14px;
}

.scroll-down{
    color: var(--clr-gray);
    font-weight: var(--fw-light);
    font-size: 10px;
}

.scroll-down-icon{
    background: var(--clr-primary);
    color: var(--clr-white);
    font-size: 20px;
}

.form .gform_heading{
    margin-bottom: 40px;
}
.form .gform_title{
    font-family: var(--fm-main);
    font-weight: var(--fw-bold);
    color: var(--clr-primary);
    text-align: center;
    font-size: 36px;
}
.form .gform_required_legend{
    display: none;
}
.form .validation_message{
    display: none !important;
}

/* Container: Creates the side-by-side 2-column layout */
.choice-buttons .gfield_radio {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 equal columns on desktop */
    gap: 16px !important;                 /* Spacing between buttons */
    width: 100%;
}

/* Base item wrapper */
.choice-buttons .gchoice {
    position: relative;
    display: block;
    margin: 0 !important;
    padding: 0 !important;
}

/* Hide native circular input */
.choice-buttons .gfield-choice-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    z-index: -1;
}

/* Button style with space on the left for the dot indicator */
.choice-buttons label.gform-field-label--type-inline {
    display: flex !important;
    align-items: center;
    width: 100%;
    min-height: 70px;            /* Ensures uniform height across blocks */
    padding: 16px 20px 16px 45px; /* Extra left padding to house the dot */
    background-color: #ffffff;   /* Pure white background */
    color: #333333;              /* Charcoal text */
    border: 1px solid #e2e8f0;    /* Light grey border */
    border-radius: 12px;         /* Rounded card look */
    cursor: pointer;
    font-weight: 500;
    line-height: 1.4;
    max-width: 100% !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02); /* Soft shadow look */
    position: relative;
    transition: all 0.2s ease-in-out;
    height: 100%;
}

/* Creates the custom left dot element dynamically */
.choice-buttons label.gform-field-label--type-inline::before {
    content: "";
    position: absolute;
    left: 20px;                  /* Positions dot inside the left edge */
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: #cbd5e1;   /* Light grey unselected dot color */
    border-radius: 50%;          /* Makes it a perfect circle */
    transition: all 0.2s ease-in-out;
}

/* Hover state styling */
.choice-buttons label.gform-field-label--type-inline:hover {
    border-color: #cbd5e1;
    background-color: #f8fafc;
}

/* Selected state: Changes border border outline color */
.choice-buttons .gfield-choice-input:checked + label.gform-field-label--type-inline {
    border-color: var(--clr-primary);       /* Darker grey accent border from image */
    background-color: #ffffff;
}

/* Selected state dot: Colors the custom dot when active */
.choice-buttons .gfield-choice-input:checked + label.gform-field-label--type-inline::before {
    background-color: var(--clr-primary);   /* Colored active dot match */
}

/* Accessibility keyboard layout fallback navigation */
.choice-buttons .gfield-choice-input:focus-visible + label.gform-field-label--type-inline {
    outline: 2px solid var(--clr-primary);
    outline-offset: 2px;
}

/* Mobile responsive fallback: drops down to 1 column on smaller devices */
@media (max-width: 768px) {
    .choice-buttons .gfield_radio {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px){
    .eyebrow{
        font-size: 12px;
    }
}

@media (min-width: 1024px){
    #header .cta{
        min-width: fit-content;
        min-height: 50px;
        padding: 7px 16px;
    }

    #header .cta i{
        font-size: 16px;
    }
}