/* === Global Styles === */
:root {
    scroll-padding-top: 56px;
}

body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: "Montserrat", sans-serif;
    padding-top: 2rem;
}

img {
    max-width: 100%;
    max-height: 100%;
}

.hero {
    width: 100%;
    height: 100vh;
    position: relative;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-video {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: -1;
}

/* === Buttons === */
.btn-primary {
    border: none;
    background: #5c99ae;
    transition: all 0.5s ease;
}

.btn-primary:hover, .btn-clicked:active {
    background: #7fb6c2;
}

.btn-outline-primary:hover {
    background-color: #85b2c2;
}

/* Icons <i> */

/* Icon styling */
.icon-container i {
    font-size: 4rem;
    color: #644489;
    margin-bottom: 1rem;
}

/* Nav bar */
.navbar {
    background-color: #447789;
}

.nav-item .btn {
    max-width: 9.375rem;
    margin-left: 0.5rem;
    white-space: nowrap;
}

/* === Form Labels & Asterisk Fields === */
.form-label.requiredField,
.asteriskField {
    padding-left: 0.25rem;
    font-weight: bold !important;
}


/* === Cards & List Groups === */
.card {
    margin: 0;
    padding: 0;
}

.card-header {
    background-color: #f8f9fa;
    padding: 0.75rem 1.25rem;
    width: 100%;
    border-bottom: 1px solid #e3e6f0;
}

.card-body {
    padding: 1.25rem;
}

/* === Card Hover Effects === */
.card-link {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.card-link:hover {
    transform: translateY(-10px); /* Slight lift on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Larger shadow */
}

.card-link:hover .card-body {
    background-color: #f8f9fa; /* Light grey background on hover */
    transition: background-color 0.5s ease;
}


.list-group-item {
    display: flex;
    align-items: center;
    padding: 1rem;
}

/* Clickable Rows for tables */
.clickable-row {
    cursor: pointer;
}
.clickable-row:hover {
    background-color: #644489;
}



/* === Responsive Padding Classes === */
.padding-large {
    padding-left: 10rem;
    padding-right: 10rem;
}

.padding-medium {
    padding-left: 5rem;
    padding-right: 5rem;
}

.padding-small {
    padding-left: 2rem;
    padding-right: 2rem;
}

.padding-xsmall {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* === Media Queries === */
@media (max-width: 992px) {
    .padding-large {
        padding-left: 5rem;
        padding-right: 5rem;
    }
}

@media (max-width: 768px) {
    .padding-large {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .carousel-caption h5 {
        font-size: 16px;
    }
    .carousel-caption p {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .padding-large {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (min-width: 1800px) {
    .container-xxl-custom {
        max-width: 95%;
    }
}

/* Accordion Button States */
.accordion-button:hover {
    background-color: #ececec;
    color: #333;
}

.accordion-button:not(.collapsed) {
    background-color: #7fb6c2;
    color: #fff;
    border-color: #aedae4;
}

/* === Miscellaneous Styling === */
#privacyModal .modal-title,
#privacyModal .modal-body,
#privacyModal .modal-footer {
    color: #000;
}

footer {
    background-color: rgb(186, 184, 184) !important;
}

.text-justify-start {
    text-align: start !important;
}

.link-appearance {
    color: #3498db;
}

.modal {
    padding-right: 0% !important;
}

.carousel {
    height: calc(100vh - 56px);
}

.carousel-inner,
.carousel-item {
    height: 100%;
}

.carousel-item {
    background-color: #000;
}

.carousel-item img {
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Loader */
.loader {
    border: 0.5rem solid #f3f3f3;
    border-top: 0.5rem solid #3498db;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    animation: spin 1s linear infinite;
    margin-top: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
    
}

/* Form styling */

textarea.form-textarea {
    height: 4em; 
}


/* For the Active button switch, will probably remove */

input[type=checkbox].toggle {
    display: none;
}

input[type=checkbox].toggle + label {
    display: inline-block;
    height: 34px;
    width: 160px;
    position: relative;
    font-size: 16px;
    border: 4px solid grey;
    padding: 0;
    margin: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

input[type=checkbox].toggle + label::before {
    position: absolute;
    top: 2px;
    height: 22px;
    width: 28px;
    content: "";
    transition: all 0.3s ease;
    z-index: 3;
    border-radius: 11px / 50% !important;
}

input[type=checkbox].toggle + label::after {
    width: 140px;
    text-align: center;
    z-index: 2;
    text-transform: uppercase;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    text-overflow: ellipsis;
    overflow: hidden;
}

input[type=checkbox].toggle + label.rounded {
    border-radius: 30px !important;
}

input[type=checkbox].toggle + label.rounded::before {
    border-radius: 50%;
}

input[type=checkbox].toggle:not(:checked) + label {
    background-color: transparent;
    text-align: right;
}

input[type=checkbox].toggle:not(:checked) + label::after {
    content: attr(data-unchecked);
    right: 0;
    left: auto;
    opacity: 1;
    color: grey;
}

input[type=checkbox].toggle:not(:checked) + label::before {
    left: 2px;
    background-color: grey;
}

input[type=checkbox].toggle:checked + label {
    text-align: left;
    border-color: #447789;
}

input[type=checkbox].toggle:checked + label::after {
    content: attr(data-checked);
    left: 4px;
    right: auto;
    opacity: 1;
    color: #447789;
}

input[type=checkbox].toggle:checked + label::before {
    left: 122px;
    background-color: #447789;
}