html {
    position: relative;
    min-height: 100%;
    overflow-y: auto;
    font-size: 16px;
}

@font-face {
    font-display: swap;
}
/* Set a light gray background for the entire page */
body {
    background-color: #f7f7f7;
    margin: 0;
    padding: 0;
    transition: .5s;
    font-family: Roboto, Arial, Tahoma, sans-serif;
}

.container-fluid.body-content {
    padding-right: 0;
    padding-left: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
    color: #272727;
}

/* Keep h1 and h2 at existing sizes */
/* Assuming h1 and h2 have font sizes defined elsewhere or by browser defaults */

/* Set diminishing font sizes for h3 to h6 */
h3 {
    font-size: 1.35em;
}

h4 {
    font-size: 1.25em;
}

h5 {
    font-size: 1em;
}

h6 {
    font-size: 0.875em;
}

a {
    /*color: #7A0CFB;*/
    color: #7A0CFB;
    transition: color 400ms, background-color 400ms;
}

    a:hover,
    a:focus {
        text-decoration: none;
        color: #2a95be;
    }

#frozen {
    width: 100%;
    height: 110%;
    position: fixed;
    z-index: 9999;
    background: rgba(0,0,0,0.93);
    top: 85px;
    margin-left: -30px;
}
/* Add padding to the content area */
.content {
    padding: 20px;
}

.logo-image {
    width: 100%;
    max-width: 130px;
    height: auto;
}

.text-purple {
    color: #7A0CFB !important;
}

.nav-link-margin {
    margin-right: 90px;
}

.white-hover:hover {
    color: #fff;
    text-decoration: underline;
}

.section-header {
    max-width: 100%;
    width: 100%;
    text-align: center;
    margin: 35px auto 50px auto;
    overflow: hidden;
    min-height: 180px;
}
    /* This ensures only the container holds layout space */
    /*.section-header {
    position: relative;

}*/
    .section-header .section-title {
        /*font-size: 44px;*/
        color: #272727;
        text-transform: uppercase;
        position: relative;
        padding-bottom: 20px;
        margin: 0 0 20px;
        text-align: center;
    }

        .section-header .section-title:before {
            content: "";
            position: absolute;
            width: 140px;
            bottom: 0;
            left: 50%;
            margin-left: -70px;
            height: 1px;
            background: #7a0cfb
        }

        .section-header .section-title:after {
            content: "";
            position: absolute;
            width: 24px;
            height: 24px;
            bottom: -11px;
            left: 50%;
            margin-left: -12px;
            border: 5px solid #fff;
            border-radius: 20px;
            background: #7a0cfb
        }

.section-subheader {
    min-height: 125px;
}

.video-container {
    min-height: 375px;
}

.headline-stack {
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
}

/* Stack both h1s in the same space */
h1.fade-headlines {
    position: absolute;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.2s ease, transform 1.2s ease;
    pointer-events: none;
}

    h1.fade-headlines.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
        /* REMOVE position: relative to stop spacing conflict */
    }

/* Subheadlines remain in normal flow */
h3.fade-headlines {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.2s ease, transform 1.2s ease;
    pointer-events: none;
}

    h3.fade-headlines.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

.video-fade {
    opacity: 0;
    transition: opacity 1.2s ease, transform 1.2s ease;
    pointer-events: none;
}

    .video-fade.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }


.rm-Section-header {
    max-width: 100%;
    width: 100%;
    text-align: center;
    margin: 35px auto 50px auto;
    overflow: hidden;
    min-height: 100px;
}
    /* This ensures only the container holds layout space */
    /*.rm-Section-header {
    position: relative;

}*/
    .rm-Section-header .section-title {
        /*font-size: 44px;*/
        color: #272727;
        text-transform: uppercase;
        position: relative;
        padding-bottom: 20px;
        margin: 0 0 20px;
        text-align: center;
    }

        .rm-Section-header .section-title:before {
            content: "";
            position: absolute;
            width: 140px;
            bottom: 0;
            left: 50%;
            margin-left: -70px;
            height: 1px;
            background: #7a0cfb
        }

        .rm-Section-header .section-title:after {
            content: "";
            position: absolute;
            width: 24px;
            height: 24px;
            bottom: -11px;
            left: 50%;
            margin-left: -12px;
            border: 5px solid #fff;
            border-radius: 20px;
            background: #7a0cfb
        }




#background {
    background: #eeeeee url(/images/public/bg_circles.png) repeat 50% 50%;
    background-size: cover;
    padding: 0;
    margin: 0;
    width: 100%;
}

/* Ensure the hero image is responsive */
.hero-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    display: block;
    margin: 50px auto 30px auto;
}

.hero-img {
    position: relative;
    overflow: hidden;
    /* maintain your original portrait ratio */
    aspect-ratio: 2 / 3;
}

.hero-img-wide {
    position: relative;
    overflow: hidden;
    /* maintain your original landscape ratio */
    aspect-ratio: 3 / 2;
}

.hero-img::before {
    content: "";
    position: absolute;
    inset: 0;
    /* inject the tiny blurred placeholder via inline --blur-bg */
    background: var(--blur-bg) center/cover no-repeat;
    filter: blur(20px);
    transform: scale(1.1);
    z-index: 0;
}

.hero-img img {
    position: relative;
    width: 100%;
    object-fit: cover;
    display: block;
    z-index: 1;
}

.h-95 {
    height: 95%;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.btn-curved-padded {
    padding: 15px !important;
    border-radius: 15px !important;
}

.btn-curved-padded-small {
    padding: 10px !important;
    border-radius: 15px !important;
}

.btn-curved-padded-xsmall {
    padding: 5px !important;
    border-radius: 15px !important;
}

.btn-curved-no-padded {
    border-radius: 15px !important;
}

.btn:not(.btn-link):not(.btn-circle).btn-curved-padded {
    border-radius: 15px; /* May be redundant unless necessary for specific cases */
}

.btn.btn-block.bg-purple {
    background-color: #7A0CFB !important;
    border: 3px solid #7A0CFB;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease; /* Apply transition to the base state as well */
}

.btn.btn-block.bg-purple-reversed {
    background-color: #fff;
    border: 3px solid #7A0CFB;
    color: #7A0CFB;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .btn.btn-block.bg-purple-reversed:hover,
    .btn.btn-block.bg-purple-reversed:active,
    .btn.btn-block.bg-purple-reversed:focus {
        background-color: #198754 !important;
        border: 3px solid #fff;
        color: #fff;
    }


.btn.btn-block.bg-purple {
    border: 3px solid #7A0CFB !important;
}

    .btn.btn-block.bg-purple:hover,
    .btn.btn-block.bg-purple:active,
    .btn.btn-block.bg-purple:focus {
        background-color: #fff !important;
        border: 3px solid #7A0CFB !important;
        color: #9e9e9e !important;
    }

    .btn.btn-block.bg-purple.waves-effect.btn-curved-padded.fs-6.fw-bolder {
        font-size: 1rem;
        font-weight: bolder;
        margin: 10px;
    }

.btn.btn-block.bg-green {
    border: 3px solid #4CAF50 !important;
}

    .btn.btn-block.bg-green:hover,
    .btn.btn-block.bg-green:active,
    .btn.btn-block.bg-green:focus {
        background-color: #fff !important;
        border: 3px solid #4CAF50 !important;
        color: #4CAF50 !important;
    }

.card .bg-purple:hover .material-icons {
    color: #9e9e9e !important;
}

.material-icons {
    transition: color 0.3s ease;
}

.icon-purple {
    color: #7A0CFB;
    margin-right: 0.5rem;
}

.aa-min-width-message-btn {
    width: 50%;
    min-width: 185px;
}

.aa-form-select {
    border: 1px solid #7a0cfb !important;
    border-radius: 15px;
}

.aa-curved-border {
    border-radius: 15px !important;
    border: 1px solid #7A0CFB !important;
    padding: 5px !important;
}

.aa-curved-border-phone {
    border-radius: 15px;
    border: 1px solid #7A0CFB;
    padding: 5px;
    line-height: 40px;
}

.aa-dropdown-menu {
    border-radius: 0;
    margin-top: -5px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: none;
}

.aa-curved-no-border-no-padding {
    border-radius: 15px !important;
}

.aa-curved-border-no-padding {
    border-radius: 15px !important;
    border: 1px solid #7A0CFB !important;
}

input.form-control.aa-curved-border-phone {
    border-radius: 15px;
    border: 1px solid #7A0CFB;
    padding: 5px;
    line-height: 40px;
}

.form-control.aa-curved-border-phone {
    border-radius: 15px;
    border: 1px solid #7A0CFB;
    padding: 5px;
    line-height: 40px;
}

.aa-curved-no-border {
    border-radius: 15px !important;
    padding: 5px;
}

.aa-curved-border-float {
    border-radius: 15px !important;
    border: 1px solid #7A0CFB !important;
    padding: 25px 10px 10px 10px !important;
}

.aa-smaller-width {
    min-width: 400px;
    margin: 15px auto;
    width: 90%;
    max-width: 90%;
}

.aa-width-restrict {
    width: 90%;
    margin: 0 auto 20px auto;
}

.aa-outline {
    border: 2px solid #7A0CFB;
    border-radius: 15px;
    padding: 10px;
    background-color: #989A9F;
}

.btn-close-white {
    filter: invert(1) brightness(200%);
}


.nav-pills .nav-link.active {
    color: #fff;
    background-color: #7A0CFB;
}

.nav-link {
    color: #9e9e9e;
}

.outline-container {
    border: 1px solid #7A0CFB;
    border-radius: 15px;
    padding: 10px;
    width: 98%;
}

.container-border {
    border: 1px solid #7A0CFB;
    border-radius: 15px;
    padding: 10px;
}

.container-width-restrict {
    width: 95%;
    min-width: 350px;
}

.container-min-height {
    min-height: 250px;
}

.aa-min-width-950 {
    min-width: 950px;
}

.aa-max-width-400 {
    max-width: 400px;
}

.aa-max-width-300 {
    max-width: 300px;
}

.aa-fixed-width-900 {
    width: 900px;
}

.aa-small-padding {
    padding-top: 30px !important;
}




.outline-container-nested {
    border: 1px solid #7A0CFB;
    border-radius: 15px;
    padding: 10px;
    width: 80%;
    margin: 0 auto;
}

.aa-curve-image {
    border-radius: 15px;
}

.aa-curve-image-bordered {
    border-radius: 15px;
    border: 1px solid #7A0CFB !important;
}

.aa-dark-background {
    background-color: #E4E4E4;
    max-width: 99%;
    margin-left: 2px;
    border-radius: 15px;
    padding: 15px 0 30px 0;
}

.aa-light-background {
    background-color: #ffffff;
    margin: 0 auto;
}

.aa-darkened-background {
    background-color: #eee;
    padding-top: 1px;
    min-height: 35vh;
}

.aa-standard-background {
    padding-top: 1px;
    min-height: 35vh;
}

.aa-form-control {
    max-width: 95%;
    width: 95%;
    margin: 0 auto;
}

.aa-match-header {
    color: #673ab7;
    font-weight: 400;
    font-size: 18px;
    margin: 0;
}

.aa-min-width-btn {
    width: 80px;
    min-width: 80px;
}

.aa-border-bottom {
    border-bottom: solid 1px #673ab7;
}


.aa-margin-bottom-for-panel {
    margin-bottom: 50px;
}

.aa-lighter-background {
    background-color: #C0C0C0;
    max-width: 99%;
    margin-left: 2px;
    border-radius: 15px;
    padding: 15px 0 30px 0;
}

.aap {
    padding: 10px !important;
}
/* Inherit your link styling */
.link-text-icon-btn {
    color: #7A0CFB;
    transition: color 400ms, background-color 400ms;
    font-size: 0.8rem; /* standard page font size */
    vertical-align: middle;
}

    .link-text-icon-btn:hover,
    .link-text-icon-btn:focus {
        text-decoration: none;
        color: #2a95be;
    }

/* Button looks like plain text */
.custom-btn {
    padding: 0;
    border: none;
    background: none;
    display: inline-flex;
    align-items: flex-start;
    gap: 4px; /* space between icon and text */
    text-decoration: none;
    margin-top: 25px;
}

/* Icon styling: smaller, offset slightly higher */
.icon-hover {
    font-size: 18px;
    color: #7A0CFB;
    position: relative;
    top: -15px;
}

/* Prevent full button from highlighting */
.custom-btn:hover {
    background: none;
    box-shadow: none;
}

input[type=checkbox] {
    accent-color: #820FFF;
    appearance: none;
    width: 1.25em;
    height: 1.25em;
    border: 1px solid #7A0CFB;
    border-radius: .25em;
    display: inline-block;
    position: relative;
    cursor: pointer
}

[type="checkbox"]:not(:checked) {
    position: relative;
    opacity: 1;
    left: 0
}

[type="checkbox"]:checked::before {
    color: #fff;
    font-weight: 700;
    font-size: 1em;
    position: absolute;
    top: 0;
    left: .2em
}

[type="checkbox"]:checked {
    position: relative;
    opacity: 1;
    left: 0;
    background-color: #7A0CFB;
    border-color: #7A0CFB
}

.equal-height-row {
    display: flex;
    flex-wrap: wrap;
}

.equal-height-col {
    display: flex;
    flex-direction: column;
}
/* add more space for words in floating drop down list */
.select-floating-fix {
    padding-top: 1.625rem !important;
    padding-bottom: 0.625rem !important;
}
/* manipulate phone number entry text box */
.iti.iti--allow-dropdown {
    width: 100%;
}

.aa-pd-lt-im {
    padding-left: 100px !important;
}

.iti__selected-country {
    border-right: 1px solid #7A0CFB !important;
    padding-right: 10px !important;
}

.hide {
    display: none;
}

.mg-l-100 {
    margin-left: 100px;
}

.full-width-fixed-height {
    min-width: 100%;
    height: 325px;
    border: 1px solid #7A0CFB;
    border-radius: 15px;
    padding: 10px;
}

.no-style {
    list-style: none;
}

.tick-icon {
    width: 40px;
    height: auto;
    border: 0px;
    margin-right: 10px;
}

.tick-icon-modal {
    width: 20px;
    height: auto;
    border: 0px;
    margin-right: 10px;
}


.login-box {
    background-color: #7400f7;
    padding-left: 0;
    max-width: 60%;
    min-width: 295px;
    margin: 0 auto 5% auto;
    overflow-x: hidden;
}

.login-body-background {
    background-color: #7400f7;
    flex-grow: 1;
    display: flex;
    align-items: stretch;
}

.login-page {
    background-color: #7400F7;
    padding-left: 0;
    max-width: 60%;
    min-width: 295px;
    margin: 5% auto;
    overflow-x: hidden;
}

    .login-page .login-box .msg {
        color: #555;
        margin-bottom: 30px;
        text-align: center;
    }

    .login-page .login-box a {
        font-size: 14px;
        text-decoration: none;
        color: #7400F7;
    }

    .login-page .login-box .logo {
        margin-bottom: 20px;
    }

        .login-page .login-box .logo a {
            font-size: 36px;
            display: block;
            width: 100%;
            text-align: center;
            color: #fff;
        }

        .login-page .login-box .logo small {
            display: block;
            width: 100%;
            text-align: center;
            color: #fff;
            margin-top: -5px;
        }

.block-header {
    margin-bottom: 15px;
}

    .block-header h2 {
        margin: 0 !important;
        /*        color: #666 !important;*/
        font-weight: normal;
        font-size: 16px;
        color: #673AB7 !important;
    }


.card {
    background: #fff;
    min-height: 50px;
    border-radius: 2px;
    /*height: 95%;*/
}

    .card .body {
        font-size: 14px;
        color: #555;
        padding: 20px;
    }

    .card .header {
        color: #555;
        padding: 20px;
        position: relative;
        border-bottom: 1px solid rgba(204, 204, 204, 0.35);
    }

    .card .body .col-md-6 {
        margin-bottom: 20px;
    }

.card-width-control {
    min-width: 350px;
}

/* 404 Not Found Page ========================== */
.four-zero-four {
    width: 100%;
    text-align: center;
    margin: 5% auto;
}

    .four-zero-four .four-zero-four-container .error-code {
        font-size: 160px;
    }

    .four-zero-four .four-zero-four-container .error-message {
        font-size: 26px;
        color: #333;
        font-weight: bold;
        margin-top: -40px;
    }

    .four-zero-four .four-zero-four-container .button-place {
        margin-top: 32px;
    }

/* 500 Server Error Page ======================= */
.five-zero-zero {
    width: 100%;
    text-align: center;
    margin: 5% auto;
}

    .five-zero-zero .five-zero-zero-container .error-code {
        font-size: 160px;
    }

    .five-zero-zero .five-zero-zero-container .error-message {
        font-size: 27px;
        color: #333;
        font-weight: bold;
        margin-top: -40px;
    }

    .five-zero-zero .five-zero-zero-container .button-place {
        margin-top: 32px;
    }

#loadingSpinner {
    margin-top: 2rem;
}

.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050; /* higher than modals */
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner-container {
    text-align: center;
}

.pac-container {
    z-index: 2000 !important;
}

#CategoryAutocompleteList {
    position: absolute;
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    background: white;
    border: 1px solid #ccc;
}

input.input-validation-error,
select.input-validation-error {
    border-color: #dc3545 !important;
    background-color: #fff6f6;
}
