﻿/* ===============
        ROOT
   =============== */
:root {
    --font-family-base: 'Nunito Sans', sans-serif;
    --font-family-heading-primary: 'Baloo 2', sans-serif;
    --font-family-section-heading: 'Baloo 2', sans-serif;
    --font-family-heading-secondary: 'Poppins', sans-serif;
    --font-family-subheading: 'Nunito Sans', sans-serif;
    --button-bg: #6654d7;
    --button-text: #fff;
    --button-bg-state: #5845bd;
    --button-text-state: #fff;
}

:root {
    --font-size-base: 16px;
    --font-ratio: 1.250; /* Major Third */
    --font-ratio: 1.250;
    --font-size-sm: calc(var(--font-size-base) * var(--font-ratio)); /* 16px * 1.250 = 20px */
    --font-size-md: calc(var(--font-size-sm) * var(--font-ratio)); /* 20px * 1.250 = 25px */
    --font-size-lg: calc(var(--font-size-md) * var(--font-ratio)); /* 25px * 1.250 = 31.25px */
    --font-size-xl: calc(var(--font-size-lg) * var(--font-ratio)); /* 31.25px * 1.250 = 39.0625px */
    --font-size-xxl: calc(var(--font-size-xl) * var(--font-ratio)); /* 39.0625px * 1.250 = 48.828125px */
    --font-size-2xl: calc(var(--font-size-xxl) * var(--font-ratio)); /* 48.828125px * 1.250 = 61.03515625px */
}

:root {
    --space-0: 0;
    --space-4: 0.25rem;
    --space-8: 0.5rem;
    --space-12: 0.75rem;
    --space-16: 1rem;
    --space-20: 1.25rem;
    --space-24: 1.5rem;
    --space-32: 2rem;
    --space-48: 3rem;
    --space-64: 4rem;
}

:root {
    --padding-section-wrapper: 1rem 2rem;
}

@media (min-width:992px) {
    :root {
      --padding-section-wrapper: 3rem 2rem;
    }
}

/* ===============
        RESET
   =============== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
}

html, body {
    /*overflow-x: hidden;*/
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    font-size: 100%;
}

body {
    scroll-behavior: smooth;
    text-rendering: optimizeSpeed;
    position: relative;
    display: flex;
    flex-direction: column;
    font-family: 'Nunito Sans Normal', sans-serif;
}

#app {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.main {
    flex: 1;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}



ul[class], ol[class] {
    padding: 0;
    list-style: none;
}

a {
    color: inherit;
}

@media (prefers-reduced-motion:reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===============
   CUSTOM spacing
   =============== */

.ps-32 {
    padding-left: 32px;
}

.pe-32 {
    padding-right: 32px;
}


/* ===============
   GENERAL styling
   =============== */

h1:focus {
    outline: none;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

p {
    font-family: var(--font-family-base);
    margin-bottom: 0;
}

.page__heading {
    font-size: 48px;
    font-family: var(--font-family-heading-primary);
    font-weight: 700;
    color: #3b3681;
}

.page__heading--highlight {
    font-weight: 700;
    font-family: var(--font-family-heading-primary);
    color: #8d87ed;
}

/* ===============
   SECTION styling
   =============== */

.section__wrapper {
    padding: var(--padding-section-wrapper);
}

.section__content {
    margin: 20px 0px;
}

.section__heading {
    font-size: 28px;
    font-family: var(--font-family-heading-primary);
    font-weight: 700;
    color: #3b3681;
}

@media (min-width: 992px) {
    .section__heading {
        font-size: 36px;
    }
}

.section__subheading {
    font-family: var(--font-family-subheading);
    font-size: 20px;
    margin: 4px 0px 12px 0px;
    font-weight: 600;
}

.section__paragraph {
    padding: 18px 0px;
    font-size: 18px;
    line-height: 1.75;
    max-width: 60ch;
}

.section--hero,
.section--footer {
    background: #f5f7ff;
}

.fs-18 {
    font-size: 18px;
}


/* ===============
   BUTTON styling
   =============== */

.button {
    border-radius: 20px;
    border: none;
    transition: background-color 0.3s,color 0.3s;
    background-color: var(--button-bg, #6654d7);
    color: var(--button-text, #fff);
    padding: 0 16px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
}

.button--sm {
    padding: 8px 24px;
}

.button--lg {
    font-size: 18px;
    padding: 12px 32px;
    border-radius: 32px;
    margin: 20px 0;
    font-weight: 700;
}

.button:hover, 
.button:active, 
.button:focus {
    background: var(--button-bg-state);
    color: var(--button-text-state);
}

.button:disabled,
.button--disabled {
    cursor: not-allowed;
    pointer-events: none;
}

.button--primary {
    --button-bg: #6654d7;
    --button-text: #fff;
    --button-bg-state: #5845bd;
    --button-text-state: #fff;
}

.button--primary-light {
    --button-bg: #e5e3ff;
    --button-text: #5845bd;
    --button-bg-state: #dbd9ff;
    --button-text-state: #5845bd;
}

.button--secondary {
    --button-bg: #ace3dc;
    --button-text: #24615f;
    --button-bg-state: #7acec5;
    --button-text-state: #1f4242;
}

.button--tertiary {
    --button-bg: #424159;
    --button-text: #fff;
    --button-bg-state: #2e2c43;
    --button-text-state: #fff;
}


.button--animate-desktop {
    position: relative;
    cursor: pointer;
    outline: none;
    border: 0;
    vertical-align: middle;
    text-decoration: none;
    background: #fff0;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
}





.button--animate-desktop .circle {
    transition: all 0.45s cubic-bezier(.65,0,.076,1);
    position: relative;
    display: block;
    margin: 0;
    width: 3rem;
    height: 3rem;
    background: #6654d7;
    border-radius: 1.625rem;
}

    .button--animate-desktop .circle .icon {
        transition: all 0.45s cubic-bezier(.65,0,.076,1);
        position: absolute;
        top: 0;
        bottom: 0;
        margin: auto;
        background: #fff;
    }

        .button--animate-desktop .circle .icon.arrow {
            transition: all 0.45s cubic-bezier(.65,0,.076,1);
            left: .625rem;
            width: 1.125rem;
            height: .125rem;
            background: none;
        }

            .button--animate-desktop .circle .icon.arrow::before {
                position: absolute;
                content: "";
                top: -.29rem;
                right: .0625rem;
                width: .625rem;
                height: .625rem;
                border-top: .125rem solid #fff;
                border-right: .125rem solid #fff;
                transform: rotate(45deg);
            }

.button--animate-desktop .button__text {
    transition: all 0.45s cubic-bezier(.65,0,.076,1);
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: .75rem 0;
    margin: 0 0 0 1.85rem;
    color: #2e2c43;
    font-weight: 700;
    text-align: center;
    font-size: 18px;
}

.button--animate-desktop:hover .circle {
    width: 100%;
}

.button--animate-desktop:hover .circle .icon.arrow {
    background: #fff;
    transform: translate(1rem,0);
}

.button--animate-desktop:hover .button__text {
    color: #fff;
}


/* ===============
   CARD styling
   =============== */

.card {
    border-radius: 20px;
    padding: 16px;
    border: none;
}

.card--secondary {
    background: #e7f7f6;
}

.card--glass {
    border-radius: 20px;
    /* background: linear-gradient(143deg,rgb(15 172 163 / .22) 0%,rgb(26 108 152 / .22) 100%);*/
    background: linear-gradient(143deg,rgba(0, 96, 90, 0.5) 0%,rgba(26, 108, 152, 0.22) 100%);
    backdrop-filter: blur(15.300000190734863px);
}

.card--background {
    background-image: url(/images/mountains.jpg);
    background-image: url(/images/mountains.webp);
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    padding: 24px;
    width: 100%;
}


/* ===============
     ACCORDION
      styling
   =============== */

.accordion-item {
    border-bottom: 1px solid #E2E2E2;
}

.accordion-button:focus {
    border-color: none;
    box-shadow: none;
}

.accordion-button.collapsed {
    background: none;
}

.accordion-button:not(.collapsed) {
    background: none;
    color: #6654d7;
}

.faq__accordion-title {
    font-size: 18px;
    font-weight: 600;
}


.accordion-button::after {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-plus-circle' viewBox='0 0 16 16'><path d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z'/><path d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z'/></svg>");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-dash-circle' viewBox='0 0 16 16'><path d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z'/><path d='M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z'/></svg>");
}

.accordion-body {
    font-size: 18px;
}


/* ===============
       FORM
      styling
   =============== */

.form__input--required {
    color: red;
}

.form__input {
    border-radius: 20px;
    padding: 10px;
    font-size: 1rem;
    background: #f5f7ff;
    border: none;
    resize: none;
}

    .form__input:focus {
        border-color: #b0b3b8;
        box-shadow: 0 0 5px rgba(176, 179, 184, 0.5); 
}


/* ===============
     BREADCRUMB
      styling
   =============== */

.breadcrumb {
    padding-bottom: 16px;
}

.breadcrumb__item {
    text-decoration: none;
}

.breadcrumb__item--active {

}



/* ===============
        BLOG
       styling
   =============== */


.blog__image {
    border-radius: 8px;
}

.blog__heading {
    font-family: var(--font-family-heading-primary);
    font-weight: bold;
    font-size: clamp(36px, 5vw, 56px);
    padding-bottom: 2rem;
    color: #3b3681;
}

.blog__section {
    padding: 10px 0;
    margin: 32px 0;
}

.blog__section p {
    padding-bottom: 1.25rem;
    font-size: 18px;
    line-height: 1.75;
    margin-bottom: 20px;
    padding: 10px 0;
    max-width: 80ch;
}

.blog__section-heading {
    font-family: var(--font-family-heading-primary);
    font-weight: bold;
    font-size: clamp(24px, 5vw, 32px);
    padding-bottom: 1.5rem;
    color: #3b3681;
}

/* .blog__toc {
    margin: var(--margin);
    padding: var(--padding);
}*/



/* ===============
       POLICY
      styling
   =============== */


.document__heading {
    font-size: clamp(36px, 5vw, 56px);
    font-family: var(--font-family-heading-secondary);
    font-weight: 600;
    margin-bottom: 24px;
    color: #3b3681;
}

.document__section-heading {
    font-size: clamp(24px, 5vw, 32px);
    font-family: 'Nunito Sans Normal', sans-serif;
    font-weight: 800;
    margin-top: 40px;
    margin-bottom: 16px;
    color: #6654d7;
}

.document__section-subheading {
    font-size: clamp(20px, 5vw, 24px);
    font-family: var(--font-family-subheading);
    font-weight: 800;
    margin-top: 32px;
    margin-bottom: 20px;
    color: #3b3681;
}

.document__paragraph {
    max-width: 80ch;
    font-size: 18px;
    line-height: 1.75;
    margin-bottom: 20px;
    padding: 10px 0;
}

.document__list {
    margin-left: 16px;
    padding: 20px 0;
    max-width: 80ch;
}
    .document__list li {
        font-size: 18px;
        line-height: 1.5;
        list-style-type: disc;
        margin: 12px 0;
    }

@media (min-width: 768px) {
    .document__heading {
        margin-bottom: 32px;
    }

    .document__section-heading {
        margin-top: 48px;
    }

    .document__section-subheading {
        margin-top: 36px;
    }

    .document__paragraph {
        margin-bottom: 20px;
    }
}

/* Cookie Consent component styles */

/* Default styling for the banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f5f5f5;
    color: #333;
    padding: 15px 20px;
    font-family: 'Nunito Sans', sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    font-size: 14px;
    text-align: left;
    box-sizing: border-box;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

/* Ensure the button is black with white text */
.cookie-btn {
    background-color: #000000;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

    /* Button hover effect */
    .cookie-btn:hover {
        background-color: #333333;
    }

/* Mobile specific styles */
@media (max-width: 600px) {
    .cookie-banner {
        flex-direction: row; /* Align items in a row */
        justify-content: space-between;
        padding: 20px 20px; /* Adjust padding for mobile */
    }

    .cookie-message {
        font-size: 12px; /* Smaller font size on mobile */
        margin-right: 10px; /* Space between text and button */
        flex: 1; /* Allow text to take available space */
    }

    .cookie-btn {
        font-size: 12px; /* Smaller button text */
        padding: 8px 15px; /* Adjust button padding */
    }
}
