/* Body */
@font-face {
    font-family: Raleway;
    src: url(../../fonts/Raleway/static/Raleway-Regular.ttf);
    font-display: swap;
}

@font-face {
    font-family: Lexend;
    src: url(../../fonts/Lexend/Lexend-VariableFont_wght.ttf);
    font-display: swap;
}

body {
    font-family: 'Raleway' !important;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 100vh;
    transition: background-color 0.5s ease, color 0.5s ease;
    color: var(--text-color);
    background-color: var(--main-content-background);
}

.no-scroll {
    overflow: hidden !important;
}

main {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    background-color: var(--main-content-background);
    min-height: 100vh;
}


h2 {
    text-align: center;
}

.divider {
    width: 80%;
    height: 1px;
    background: #ddd;
    margin-bottom: 1em;
    opacity: 0.5;
}

.divider-m {
    display: none;
    width: 80%;
    background: #021e5c;
    margin-bottom: 1em;
    opacity: 1;
    border: none;
    height: 1px;
}

* {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.partners-login {
    position: absolute;
    right: 70px;
    color: white;
    background-color: var(--contrast-item-background);
    padding: 10px;
    border-radius: 25px;
    text-align: center;
    text-decoration: none;
    background: radial-gradient(circle, #0d75d7, #124f89);
}

/* End of Body */

/* ~~~~~~~~~~~~~ */

/* Header */


header {
    display: flex;
    position: fixed;
    top: 0;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    color: var(--text-color);
    top: 0;
    z-index: 1000;
    background-color: var(--main-content-background);
    transition: height 0.3s, box-shadow 0.3s ease;
    width: 100%;
}


header.hidden {
    height: 70px;
    box-shadow: 0 5px 8px var(--header-shadow);
}


.mobile-only {
    display: none;
}



.logo-container {
    height: 100%;
    margin-left: 15px;
    cursor: pointer;
    transition: height 0.3s;
    display: flex;
    align-items: center;
}
.logo-container img {
    height: calc(100% - 20px);
    transition: height 0.3s, width 0.3s;
}


.dark-theme #logo {
    content: url('../../images/logo-white.svg');
}


.dark-theme #powered-by {
    content: url('../../images/c-ref-w.svg');
}

.mobile-only {
    display: none;
}

/* Toggle switch */
.toggle-switch {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.switch-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.switch-label .sun,
.switch-label .moon {
    font-size: 1.5em;
    margin: 0 10px;
    transition: transform 0.3s ease;
}

.switch-label .sun:hover,
.switch-label .moon:hover {
    transform: scale(1.3);
}

.switch-label .moon {
    color: white;
}

.switch-label .sun {
    color: black;
}


#theme-toggle {
    display: none;
}

#theme-toggle:checked ~ .switch-label .sun {
    display: none;
}

#theme-toggle:not(:checked) ~ .switch-label .moon {
    display: none;
}

.any-questions-button {
    display: inline-block;
    padding: 5px 15px;
    margin: 5px;
    border-radius: 5px;
    text-decoration: none;
    /* background-color: #2A8F7F; */
    text-align: center;
    color: var(--text-color);
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    font-size: 14px;
}

.any-questions-button:hover {
    background-color:  var(--opulence-light-navy-dark-blue);
    color: white;
    transform: scale(1.1);
}

/* Default state (desktop) */
#call-to-action-mobile {
    display: none;
}


/* End of Header */

/* ~~~~~~~~~~~~~ */

/* Footer */

footer {
    text-align: center;
    color: var(--text-color);
    font-size: 14px;
}

.footer-columns {
    width: 100%;

    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: row;
}

.footer-column {
    flex: 1;
    margin-top: 20px;

    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
}

.footer-column img {
    background-color: transparent !important;
}

.footer-column span {
    margin-bottom: 20px;
}

.footer-column a {
    color: black;
    margin-bottom: 5px;
}

.footer-links,
.social-media {
    display: flex;
    margin: 1em 0;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-links a,
.social-media a {
    text-decoration: none;
    color: var(--text-color);
}

.social-media i {
    font-size: 2em;
}

/* End of Footer */
/* Section Container */

.sections-container {
    width: 90%;
    max-width: 1000px;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.section-title {
    display: flex;
    color: var(--text-color);
    margin-left: 5px;
    font-weight: bold;
    font-size: 30px;
    justify-content: space-between;
    transition: background-color 0.5s ease, color 0.5s ease;
}


.section-divider {
    margin-left: 20px;
    margin-right: 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    color: var(--text-color);
    position: relative;
}
.footer-bottom p,
.footer-links a {
    color: var(--text-color);
    font-size: 14px;
    text-decoration: none;
}


.powered-by {
    height: 25px;
    width: 33px;
}

.calendar-header,
.calendar-grid button,
.calendar-weekdays {
    font-family: Raleway !important;
}

.calendar-header {
    background-color: var(--contrast-item-background) !important;
    color: var(--text-color) !important;
}
.calendar-popup {
    background: var(--main-content-background) !important;
    border: 1px solid #818181;
}

.chevron-btn svg {
    fill: var(--text-color) !important;
}

.calendar-grid button {
    background-color: var(--contrast-item-background) !important;
    color: var(--text-color);
    transition: background-color 0.3s;
}

.calendar-grid button:hover {
    background-color:#007bff !important;
}

.past-date {
    color: #757575 !important;
    position: relative;
}

.past-date::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transform: rotate(-45deg);
}

/* End of Footer */

.mainpage-title {
    margin-top: 0;
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: bold;
    text-align: center;
}

@media (max-width: 900px) {
    .mainpage-title {
        margin-top: 0;
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
}


@media (max-width: 500px) {
    header.hidden {
        height: 60px;
    }
    
    .mainpage-title {
        margin-top: 0;
        font-size: 1.6rem;
    }
}

/* ~~~~~~~~~~~~~ */
@media (max-width: 1200px) {



}


@media (max-width: 1000px) {
}

@media (max-width: 1000px) {
    .footer-logo img {
        height: 150px;
    }

    /* Class that will be toggled by JavaScript */
    header {
        justify-content: space-between;
        height: 80px;
    }


    .logo {
        height: 60px !important;
        margin: 10px !important;
    }
}


@media (max-width: 880px) {
    .powered-by-container {
        position: unset;
    }
}



@media (max-width: 768px) {
    .services-section {
        min-height: calc(100vh - 80px);
    }

    .footer-content,
    .footer-bottom {
        flex-direction: column;
    }

    .sections-container {
        width: 95%;
    }

    .section-title {
        font-size: 24px;
    }

    /* Hide desktop call to action */
    #call-to-action-desktop {
        display: none;
    }

    /* Show mobile call to action */
    #call-to-action-mobile {
        font-size: 1.5em;
        padding: 5px 5px;
        display: inline-block;
        cursor: pointer;
    }
    

    footer {
        margin-bottom: 80px;
    }
    
}




.whatsapp-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

#whatsapp-button,
#contact_phone-hovering-button {
    background-color: #25D366;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

#whatsapp-button:hover,
#contact_phone-hovering-button:hover {
    transform: scale(1.1);
}
