/* Row spacing */
.form-row {
    margin-bottom: 20px;
}

/* INLINE RADIO FIX (IMPORTANT) */
.inline-radio .wpcf7-list-item {
    display: inline-flex !important;
    align-items: center;
    margin-right: 25px;
    white-space: nowrap;
}

/* Prevent wrapping (desktop) */
.inline-radio {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
}

/* Mobile fallback */
@media (max-width: 768px) {
    .inline-radio {
        flex-wrap: wrap;
    }
}



/* Container Spacing */
.cnd-legal-section {
    margin: 25px 0;
    display: flex;
    flex-direction: column;
    gap: 15px; /* Space between the two rows */
}

/* Row Alignment */
.cnd-flex-wrapper {
    display: flex !important;
    align-items: flex-start !important; /* Aligns box with the first line of text */
}

/* Force the CF7 wrapper to stay inline */
.cnd-input-box .wpcf7-form-control-wrap {
    display: flex !important;
    align-items: center;
}

/* The actual Checkbox styling */
.cnd-input-box input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    cursor: pointer;
    flex-shrink: 0; /* Prevents checkbox from squishing */
}

/* The Text styling */
.cnd-label-text,
.cnd-input-box .wpcf7-list-item-label {
    font-size: 14px;
    line-height: 1.4;
    color: #ffffff;
    margin-left: 10px !important; /* Space between box and text */
    display: inline-block;
}

/* Privacy Link Color */
.cnd-label-text a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 600;
}

.cnd-label-text a:hover {
    text-decoration: underline;
}

/* Specific fix for the 'Yes' checkbox wrapper */
.cnd-input-box .wpcf7-list-item {
    margin: 0 !important;
    display: flex !important;
    align-items: flex-start !important;
}










/* Container for the radio items */
.cnd-radio-flex .wpcf7-form-control {
    display: flex !important;
    flex-wrap: wrap; /* Allows wrapping on small mobile screens */
    gap: 30px; /* Space between each location */
    margin-top: 10px;
}

/* Individual Radio Item Wrapper */
.cnd-radio-flex .wpcf7-list-item {
    display: inline-flex !important;
    align-items: center !important; /* Vertically centers dot with text */
    margin: 0 !important;
}

/* The Label/Text side */
.cnd-radio-flex .wpcf7-list-item-label {
    color: #ffffff;
    font-weight: 700; /* Bold as per your screenshot */
    font-size: 16px;
    margin-left: 10px !important; /* Space between dot and text */
    cursor: pointer;
}

/* The Radio Button (Dot) */
.cnd-radio-flex input[type="radio"] {
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    cursor: pointer;
    flex-shrink: 0;
    /* Basic reset to ensure theme styles don't move it */
    position: relative;
    top: 0;
}

/* Mobile Adjustment */
@media (max-width: 480px) {
    .cnd-radio-flex .wpcf7-form-control {
        gap: 15px;
        flex-direction: column; /* Stacks them on very small screens if needed */
    }
}







/* Decrease gap between Label and Input */
.cnd-field-group label {
    display: block;
    margin-bottom: 5px !important; /* Adjust this number to get it even closer */
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
}

/* Ensure the input itself doesn't have extra top margin */
.cnd-field-group input, 
.cnd-field-group textarea, 
.cnd-field-group select {
    margin-top: 0 !important;
}

/* Optional: If you are using a wrapper for the field group, 
   ensure it isn't adding its own padding */
.cnd-field-group {
    margin-bottom: 20px; /* This controls space BETWEEN rows */
}









@media (max-width: 767px) {
    
    
    #slider-title    {

    font-size: 35px !important;
    padding-top: 20px !important;
}


.form-heading {
    color: #fff;
    text-align: center;
    margin-bottom: 10px;
    font-size: 25px !important;
}

}



.form-heading {
    color: #fff;
    text-align: center;
    margin-bottom: 10px;
    font-size: 40px !important;
}




/* ================= home page banner slider css ================= */
.custom-hero-slider {
    position: relative;
    width: 100%;
    min-height: 650px;
    height: 75vh;
    overflow: hidden;
}

h2#slider-title {
    font-size: 65px;
}

.custom-hero-slider {
    height: 1050px;
}
/* Slides */
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

/* Overlay */
.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.35);
}

/* Content layout */
.content-wrapper {
    position: absolute;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0 80px;
}

/* LEFT TEXT */
.left-content {
    max-width: 45%;
}

.left-content h2 {
    font-size: 42px;
    margin-bottom: 10px;
    color: #fff !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.left-content p {
    font-size: 15px;
    color: #fff !important;
}

/* RIGHT FORM */
.right-form {
    max-width: 700px;
    width: 100%;
    /*background: rgb(0 0 0 / 48%);*/
    padding: 18px;
    border-radius: 10px;
    /*backdrop-filter: blur(6px);*/
}

/* Remove duplicate CF7 title */
.right-form h2 {
    display: none;
}

/* Heading */
.form-heading {
    color: #fff;
    text-align: center;
    margin-bottom: 10px;
    font-size: 20px;
}

/* Labels */
.right-form label {
    margin-bottom: 3px !important;
    font-size: 13px;
    color: #fff;
}

/* Inputs */
.right-form input,
.right-form select,
.right-form textarea {
    width: 100%;
    padding: 7px !important;
    border-radius: 6px;
    border: none;
    font-size: 13px;
}

/* Textarea */
.right-form textarea {
    min-height: 70px;
}

/* Spacing */
.right-form .form-grid {
    gap: 8px !important;
    margin-bottom: 8px !important;
}

.right-form .form-row {
    margin-bottom: 8px !important;
}

/* Button */
.right-form .wpcf7-submit {
    padding: 10px;
    font-size: 14px;
}

/* Checkbox */
.right-form .checkbox-inline {
    font-size: 12px;
    margin-bottom: 6px;
    color: #fff;
}

/* ================= TABLET ================= */
@media (max-width: 992px) {
    .custom-hero-slider {
        height: auto;
        min-height: 600px;
    }

    .content-wrapper {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 40px 20px;
        gap: 20px;
    }

    .left-content {
        max-width: 100%;
    }

    .left-content h2 {
        font-size: 28px;
    }

    .left-content p {
        font-size: 14px;
    }

    .right-form {
        max-width: 100%;
        width: 100%;
    }
}

/* ================= MOBILE ================= */
@media (max-width: 600px) {
    .custom-hero-slider {
        min-height: 170vh;
    }

    .content-wrapper {
        padding: 30px 15px;
    }

    .left-content h2 {
        font-size: 22px;
        line-height: 1.3;
    }

    .left-content p {
        font-size: 13px;
    }

    .right-form {
        width: 100%;
        padding: 12px;
    }

    /* Stack fields */
    .right-form .form-grid {
        flex-direction: column;
    }

    .right-form input,
    .right-form select,
    .right-form textarea {
        font-size: 12px;
        padding: 6px !important;
    }

    .right-form .wpcf7-submit {
        padding: 12px;
    }
}






.hero-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    background-color: #355e3b;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background-color: #2d4f32;
    transform: translateY(-2px);
}