:root {
    /* Colors */
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-footer: #00264d;
    --blue1: #1a56db;
    --dark: #00264d;
    --light: #ffffff;
    --grey: rgba(0, 0, 0, .15);
    --p-primary-color: #334155;
    --p-secondary-color: #667180;
    --p-footer-color: rgba(255, 255, 255, 0.8);
    --blue1-hover: rgba(26, 86, 219, .6);
    --bg-page-dot: rgba(0, 0, 0, .3);
    --bg-page-dot-hover: rgba(0, 0, 0, .5);
    --bg-feature-svg: #e5edfb;
    --placeholder-color: #64748b;

    /* Notifications */
    --success-bg: #e6f4ea;
    --success-border: #34a853;
    --success-text: #1e4620;
    --info-bg: #e8f0fe;
    --info-border: #4285f4;
    --info-text: #1a2e57;
    --warning-bg: #fef7e0;
    --warning-border: #fbbc04;
    --warning-text: #5c4400;


    /* Sizes */
    --max-width: 1400px;
    --h1-size: 4rem;
    --h1-spacing: 0.08rem;
    --h1-height: 4.5rem;
    --h2-size: 2.6rem;
    --h2-spacing: .12rem;
    --h3-size: 2.2rem;
    --h4-size: 1.8rem;
    --h5-size: 1.6rem;
    --h6-size: 1.4rem;
    --p-size: 1.2rem;
    --p-height: 1.8rem;
    --p-spacing: 1.2px;
    --p-secondary-size: 1rem;
    --p-secondary-height: 1.5rem;
    --p-secondary-spacing: 0.9px;

    /* Spacing */
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 32px;
    --spacing-xl: 64px;

    /* Border */
    --standard-border-radius: 8px;

    /* Shadow */
    --standard-box-shadow: 0px 8px 24px rgba(149, 157, 165, 0.2);
    --modal-box-shadow: 0 5px 30px 0 rgb(0 0 0 / 10%);
    --input-focus-shadow: 0 0 4px 1px rgba(189, 147, 249, 0.5) inset;

    /* Gradients */
    --overlay-gradient: linear-gradient(0deg, rgba(0,38,77,1) 0%, transparent 40%);
    --overlay-gradient-mobile: rgba(0, 38, 77, .5);
}

/* Reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* General */

html, body {
    width: 100%;
    position: relative;
    overflow-x: hidden;
    padding: 0;
    margin: 0;

    &.stop-scrolling {
        height: 100%;
        overflow: hidden;
    }
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: var(--spacing-xl);
    font-family: "Inter", sans-serif;
    background-color: var(--bg-primary);
    color: var(--p-primary-color);
}

main {
    width: 100%;
    /* max-width: var(--max-width); */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: calc(var(--spacing-xl) * 2);
    /* padding: 0 var(--spacing-xl); */
}

section {
    width: 100%;
    max-width: var(--max-width);
    background-color: var(--bg-primary);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    box-sizing: border-box;
    padding: var(--spacing-lg);

    & > header.section {
        width: 80%;
        align-self: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-md);

        & p {
            text-align: center;
        }
    }

    & .two-col-container {
        width: 100%;
        box-sizing: border-box;
        /* padding: 0 var(--spacing-lg); */
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: var(--spacing-lg);

        & .col {
            width: 50%;
            display: flex;
            flex-direction: column;
            gap: var(--spacing-lg);
        }

        & .two-col-container {
            padding: 0;
        }
    }
}

h1 {
    font-size: var(--h1-size);
    font-weight: 700;
    letter-spacing: var(--h1-spacing);
    line-height: var(--h1-height);
    & span {
        color: var(--blue1);
    }
}

h2 {
    font-size: var(--h2-size);
    letter-spacing: var(--h2-spacing);
    font-weight: 600;
}

h3 {
    font-size: var(--h3-size);
    font-weight: 600;
}

h4 {
    font-size: var(--h4-size);
    font-weight: 600;
}

h5 {
    font-size: var(--h5-size);
    font-weight: 600;
}

h6 {
    font-size: var(--h6-size);
    font-weight: 600;
}

p {
    color: var(--primary-text);
    font-size: var(--p-size);
    line-height: var(--p-height);
    margin: 0;
    padding: 0;
    &.secondary {
        font-size: var(--p-secondary-size);
        line-height: var(--p-secondary-height);
        color: var(--p-secondary-color);
    }
    &.companyname {
        font-size: var(--h4-size);
        font-weight: 700;
        & span {
            color: var(--blue1);
        }
    }

    &.list-heading {
        font-weight: 500;
    }
}

a {
    color: var(--p-size);
    text-decoration: none;
    font-weight: 400;
    transition: color .2s;
    &:hover {
        color: var(--blue1);
    }
}

button {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    background-color: var(--blue1);
    border: 2px solid var(--blue1);
    color: var(--light);
    border-radius: var(--standard-border-radius);
    font-weight: 400;
    font-size: var(--p-secondary);
    padding: var(--spacing-sm) var(--spacing-md);
    transition: background-color .2s, color .2s, border-color .2s;
    /* line-height: 0; */

    &.secondary {
        background-color: transparent;
        color: var(--blue1);
    }

    &:hover {
        cursor: pointer;
        background-color: var(--blue1-hover);
        border: 2px solid var(--blue1-hover);

        &.secondary {
            color: var(--light);
        }
    }

    &.card {
        padding: var(--spacing-md) var(--spacing-lg);
        border: none;
        background-color: var(--bg-primary);
        color: var(--blue1);
        font-weight: 500;

        &:hover {
            background-color: rgba(255, 255, 255, .8);
        }
    }

    &.nav {
        background-color: var(--light);
        color: var(--blue1);
    }
}

hr {
    width: 100%;
    line-height: 1rem;
    position: relative;
    outline: 0;
    border: 0;
    color: black;
    text-align: center;
    height: .25rem;
    &:before {
        content: '';
        background: var(--light);
        opacity: .4;
        position: absolute;
        left: 0;
        top: 50%;
        width: 100%;
        height: 1px;
    }
}

sup {
    font-size: calc(var(--p-size) / 1.5);
    transform: translateY(-0.5rem);
    display: inline-block;
}


/* Inputs */

input[type='text'],
input[type='tel'],
input[type='email'],
input[type='number'],
select,
textarea {
    font-family: "Inter", sans-serif;
    border-radius: var(--standard-border-radius);
    border: none;
    box-sizing: border-box;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--grey);
    background-color: var(--bg-primary);

    &::placeholder {
        color: var(--placeholder-color);
        font-family: "Inter", sans-serif;
        font-size: var(--p-secondary-size);
    }
}


/* Forms */
& .form-field {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);

    &.extra {
        position: absolute;
        left: -500%;
    }

    & label {
        font-size: var(--p-size);
        font-weight: 600;

        & span {
            color: var(--blue1);
        }
    }

    &.terms {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        position: relative;
        box-sizing: border-box;
        padding: 0 0 0 var(--spacing-lg);

        & label {
            font-weight: 400;



            & .checkbox-container {
                content: "";
                width: var(--p-secondary-size);
                height: var(--p-secondary-size);
                /* background-color: purple; */
                border-radius: 2px;
                border: 1px solid var(--grey);
                /* opacity: .3; */
                position: absolute;
                left: 0;
                top: 50%;
                transform: translateY(-50%);
                transition: background-color .2s, border .2s;

                &::after {
                    content: "";
                    position: absolute;
                    right: -5%;
                    bottom: 20%;
                    transform: rotate(45deg);
                    height: var(--p-size);
                    width: calc(var(--p-size) / 2);
                    border-bottom: 2px solid var(--grey);
                    border-right: 2px solid var(--grey);
                    /* border-radius: 1px; */
                    transition: opacity .2s, border .2s;
                    opacity: 0;
                }

                &:hover {
                    &::after {
                        opacity: 1;
                    }
                }
            }

            &:hover {
                cursor: pointer;
            }
        }

        & input[type='checkbox'] {
            position: absolute;
            left: 0;
            opacity: 0;

            &:checked {
                & + label {
                    /* border: 1px solid var(--blue1); */
                    & .checkbox-container {
                        /* opacity: 1; */
                        /* background-color: var(--blue1); */
                        border: 1px solid var(--blue1);

                        &::after {
                            opacity: 1;
                            border-color: var(--blue1);
                        }
                    }
                }
            }
        }

        & span {
            transition: color .2s;

            &:hover {
                color: var(--p-primary-color);
            }
        }
    }
}

& .btn-container {
    width: 100%;
    & button {
        width: 100%;
        justify-content: center;
    }
}


/* Notifications */
.notification-container {
    position: fixed;
    top: 10vh;
    z-index: 100;
    width: 60%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    overflow-y: auto;
    overflow-x: hidden;


    & .notification {
        box-sizing: border-box;
        padding: var(--spacing-lg);
        width: 100%;
        background-color: var(--info-bg);
        color: var(--info-text);
        border: 2px solid var(--info-border);
        border-radius: var(--standard-border-radius);
        box-shadow: var(--standard-box-shadow);
        display: flex;
        flex-direction: column;
        gap: var(--spacing-md);

        & h5 {
            font-size: var(--h6-size);
        }

        &.success {
            color: var(--success-text);
            border-color: var(--success-border);
            background-color: var(--success-bg);
        }

        &.warning {
            color: var(--warning-text);
            border-color: var(--warning-border);
            background-color: var(--warning-bg);
        }
    }
}


/* Main Styles */

/* Header */

header#main-header {
    position: fixed;
    top: 0;
    width: 100%;
    /* max-width: var(--max-width); */
    box-sizing: border-box;
    padding: var(--spacing-lg);
    /* background-color: beige; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color .2s, box-shadow .2s;
    z-index: 10;

    & div {
        /* background-color: teal; */
        display: flex;
        gap: var(--spacing-lg);
        align-items: center;
    }

    & nav.desktop {
        & ul {
            display: flex;
            gap: var(--spacing-lg);
        }
    }

    & .left-container {
        &:hover {
            cursor: pointer;
        }
    }

    & .language-switch {
        position: relative;
        display: flex;
        align-items: center;
        gap: var(--spacing-sm);
        border-radius: var(--standard-border-radius);
        box-sizing: border-box;
        padding: var(--spacing-sm);
        transition: background-color .2s;

        & p {
            font-size: var(--p-secondary-size);
        }

        &.active {
            background-color: var(--bg-primary);

            & p {
                color: var(--blue1);
            }

            & svg {
                color: var(--blue1);
            }
        }

        & .language-options {
            position: absolute;
            top: 120%;
            left: 50%;
            transform: translateX(-50%);
            box-sizing: border-box;
            padding: var(--spacing-sm) var(--spacing-md);
            background-color: var(--light);
            border-radius: var(--standard-border-radius);
            display: none;

            & ul {
                display: flex;
                flex-direction: column;
                gap: var(--spacing-sm);

                & li {
                    box-sizing: border-box;
                    padding: var(--spacing-sm);
                    border-radius: var(--standard-border-radius);
                    transition: background-color .2s, color .2s;

                    &:hover {
                        background-color: var(--blue1-hover);
                        color: var(--light);
                    }
                }
            }

            &.active {
                display: block;
            }
        }

        &:hover {
            cursor: pointer;
            background-color: rgba(255, 255, 255, .6);
        }
    }

    & .mobile-burger {
        display: none;
        width: 32px;
        height: 32px;
        /* display: flex; */
        /* background-color: red; */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;

        & .burger-bar {
            /* display: block; */
            width: 21px;
            height: 3px;
            background-color: var(--p-primary-color);
            border-radius: 2px;
        }

        &:hover {
            cursor: pointer;
        }
    }
}

/* Mobile Nav */

.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    /* transform: translateY(-50%); */
    transform: translateX(100%);
    height: 100vh;
    width: 70vw;
    max-width: 300px;
    /* background-color: var(--blue1-hover); */
    z-index: 99;
    /* opacity: 0; */
    transition: opacity .2s, transform .2s;

    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    /* transform: translateY(-100%); */

    &.open {
        /* transform: translateY(0); */
        transform: translateX(0);
    }

    & .mobile-nav-inner {
        height: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        background-color: var(--blue1);
        box-sizing: border-box;
        padding: var(--spacing-xl) var(--spacing-md);
        /* border-radius: var(--standard-border-radius); */


        & nav.mobile {
            width: 100%;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: center;
            gap: var(--spacing-lg);
        }

        & ul {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: var(--spacing-lg);

            & li {
                & a {
                    color: var(--light);
                    font-weight: 500;
                }
            }
        }
    }

    & .burger-close {
        /* display: none; */
        position: absolute;
        top: calc(var(--spacing-lg) + 5px);
        right: var(--spacing-lg);
        width: 32px;
        height: 32px;
        display: flex;
        /* background-color: red; */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;

        & .burger-bar {
            /* display: block; */
            width: 21px;
            height: 3px;
            background-color: var(--light);
            border-radius: 2px;
        }

        & .burger-bar:nth-of-type(1) {
            transform: rotate(45deg) translateY(5px);
        }

        & .burger-bar:nth-of-type(2) {
            transform: rotate(-45deg) translateY(-5px);
        }

        &:hover {
            cursor: pointer;
        }
    }
}


/* Hero */
section#hero {
    padding: 0;
    height: 100vh;
    min-height: 100vh;
    max-width: none;
    width: 100vw;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    & .hero-container {
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, .9);
    }
}

.hero-content {
    width: 60%;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 20vh var(--spacing-lg) 0;
    gap: var(--spacing-lg);
    & .btn-container {
        display: flex;
        gap: var(--spacing-md);
    }
}

/* Section Promo */
/* Spinner */
.card-spinner {
    margin: var(--spacing-lg) 0;
    width: 100%;
    box-sizing: border-box;
    padding: var(--spacing-sm) 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* overflow: hidden; */

    & .cards-container {
        position: relative;
        width: 80%;
        height: 80vh;
        min-height: 400px;
        max-height: 600px;
        display: flex;
        flex-shrink: 0;
        justify-content: flex-start;
        gap: var(--spacing-lg);
        overflow-x: hidden;
        align-items: center;

        & .card-container {
            --gap: 32px;

            position: absolute;
            left: 0;
            width: 100%;
            min-width: 100%;
            height: 70vh;
            max-height: 600px;
            overflow: hidden;
            border-radius: var(--standard-border-radius);
            transform: translateX(calc(-100% - var(--gap)));
            transition: transform .3s;

            &.is-selected {
                transform: translateX(0%);
            }

            &.is-selected ~ .card-container {
                transform: translateX(calc(100% + var(--gap)));
            }

            & .card-background-img {
                position: absolute;
                top: 0;
                width: 100%;
                height: 100%;

                & img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
            }

            /* & .card-background {
                position: absolute;
                top: 0;
                width: 100%;
                height: 100%;
                background-color: rgba(0, 0, 0, 0.6);
            } */

            & .text-container {
                width: 100%;
                height: 100%;
                background-color: rgba(0, 0, 0, 0.8);
                box-sizing: border-box;
                padding: var(--spacing-xl) calc(var(--spacing-xl) * 2);
                position: absolute;
                top: 0;
                display: flex;
                flex-direction: column;
                gap: var(--spacing-lg);
                /* justify-content: space-between; */
                color: var(--light);

                & header {

                    & p {
                        font-size: var(--h3-size);
                        font-weight: 700;
                    }
                }
            }

        }
    }

    & .control {
        position: absolute;
        top: 40%;
        left: 50%;
        transform: translateX(-50%);
        width: 88%;
        box-sizing: border-box;
        padding: 0 var(--spacing-xl);
        display: flex;
        justify-content: space-between;

        & .control-btn {
            border-radius: 50%;
            width: 40px;
            height: 40px;
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: rgba(255, 255, 255, 0.9);
            transition: background-color .2s, color .2s;

            &:hover {
                cursor: pointer;
                background-color: rgba(255, 255, 255, 1);
            }
        }
    }

    & .pagination {
        margin: var(--spacing-lg) 0 0 0;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: var(--spacing-md);

        & .page-dot {
            width: 12px;
            height: 12px;
            background-color: var(--bg-page-dot);
            border-radius: 50%;
            transition: background-color .2s, transform .2s;

            &:hover {
                cursor: pointer;
                background-color: var(--bg-page-dot-hover);
                transform: scale(1.1);
            }

            &.active {
                background-color: var(--blue1);
                transform: scale(1.2);
            }
        }
    }
}


/* Section About */
section#about {
    & > .two-col-container {
        /* margin: var(--spacing-xl) 0 0 0; */
        & .col:nth-of-type(2) {
            /* align-self: stretch; */
            /* flex-grow: 1; */
            align-self: center;
            min-height: 550px;
            height: 550px;
        }
    }
}

.about-img-container {
    width: 100%;
    height: 100%;
    min-height: 70vh;
    position: relative;
    border-radius: var(--standard-border-radius);
    overflow: hidden;

    & img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: inherit;
        object-position: center;
    }

    & .overlay {
        position: absolute;
        top: 0;
        height: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: var(--spacing-md);
        justify-content: flex-end;
        box-sizing: border-box;
        padding: var(--spacing-lg);
        border-radius: inherit;
        color: var(--light);
        background: var(--overlay-gradient);
    }
}

.feature-cards-container {
    width: 100%;
    /* display: flex;
    flex-wrap: wrap; */
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: max-content;
    /* justify-content: space-between; */
    gap: var(--spacing-md);

    /* Feature Card */
    & .feature-card {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: var(--spacing-md);
        background-color: var(--bg-secondary);
        box-sizing: border-box;
        padding: var(--spacing-lg);
        border-radius: var(--standard-border-radius);
        box-shadow: var(--standard-box-shadow);

        & header {
            width: 100%;
            gap: var(--spacing-md);
            display: flex;
            flex-direction: row;
            justify-content: flex-start;
            align-items: center;
            /* padding: 0; */

            & h3 {
                font-size: var(--p-size);
            }

            & .icon {
                display: flex;
                justify-content: center;
                align-items: center;
                padding: var(--spacing-md);
                color: var(--blue1);
                background-color: var(--bg-feature-svg);
                border-radius: var(--standard-border-radius);
            }
        }

        & .feature-card-content {
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: var(--spacing-md);

            & p {
                font-size: var(--p-secondary-size);
                line-height: var(--p-height);
            }

        }
    }
}

/* Section Calculator */
.calculator-container {
    width: 70%;
    align-self: center;
    background-color: var(--bg-secondary);
    border-radius: var(--standard-border-radius);
    box-sizing: border-box;
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    box-shadow: var(--standard-box-shadow);

    & header {
        width: 100%;
        display: flex;
        align-items: center;
        gap: var(--spacing-md);

        & svg {
            color: var(--blue1);
        }

        & h3 {
            font-size: var(--p-size);
        }
    }
}

.calculator-container form {
    margin: var(--spacing-lg) 0 0 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);

    & h3 {
        font-size: var(--p-size);
    }

    & h4 {
        font-size: var(--p-size);
    }

    & hr {
        &::before {
            background-color: rgba(0, 0, 0, .4);
        }
    }

    & .one-col-field {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: var(--spacing-md);

        & label {
            font-weight: 500;
        }
    }

    & .two-col-field {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: var(--spacing-lg);

        & .col {
            width: 50%;

            & .form-field {
                width: 100%;
                display: flex;
                flex-direction: column;
                gap: var(--spacing-md);

                & input {
                    width: 100%;
                }

                & select {
                    width: 100%;
                }

                & label {
                    font-weight: 500;
                }
            }
        }
    }

    & .radio-row {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        /* flex-wrap: wrap; */
        gap: var(--spacing-lg);

        & .radio {
            width: 25%;
            position: relative;
            display: flex;
            /* flex-direction: row-reverse; */
            align-items: center;
            gap: var(--spacing-sm);
            /* border-radius: var(--standard-border-radius);
            border: 1px solid var(--grey);
            box-sizing: border-box;
            padding: var(--spacing-md); */
            transition: border .2s;

            /* &:hover {
                cursor: pointer;
                border: 1px solid var(--blue1);

                & .radio-input {
                    border: 1px solid var(--blue1);

                    &::after {
                        opacity: 1;
                    }
                }
            } */

            & input[type="radio"] {
                position: absolute;
                left: 0;
                opacity: 0;

                &:checked {
                    & + label .radio-input {
                        border: 1px solid var(--blue1);
                        &::after {
                            opacity: 1;
                            background-color: var(--blue1);
                        }
                    }
                }
            }

            & label {
                width: 100%;
                display: flex;
                align-items: center;
                gap: var(--spacing-sm);
                font-weight: 500;
                border-radius: var(--standard-border-radius);
                border: 1px solid var(--grey);
                box-sizing: border-box;
                padding: var(--spacing-md);

                &:hover {
                    cursor: pointer;

                    border: 1px solid var(--blue1);

                    & .radio-input {
                        border: 1px solid var(--blue1);

                        &::after {
                            opacity: 1;
                        }
                    }
                }

                & svg {
                    width: var(--p-size);
                    height: var(--p-size);
                }
            }

            & .radio-input {
                border-radius: 50%;
                width: var(--p-secondary-size);
                height: var(--p-secondary-size);
                /* background-color: var(--bg-footer); */
                border: 1px solid var(--grey);
                display: flex;
                justify-content: center;
                align-items: center;
                transition: border .2s;

                &::after {
                    content: "";
                    width: calc(var(--p-secondary-size) * 0.7);
                    height: calc(var(--p-secondary-size) * 0.7);
                    border-radius: 50%;
                    background-color: var(--grey);
                    opacity: 0;
                    transition: opacity .2s, background-color .2s;
                }
            }
        }
    }
}

/* Section Services */
section#services {
    & > .text-container {
        margin: var(--spacing-xl) 0 0 0;
        width: 60%;
        display: flex;
        flex-direction: column;
        gap: var(--spacing-md);
    }
}

.tabs-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);

    & nav.tabs {
        width: 100%;

        & ul {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: var(--spacing-md);
            flex-wrap: wrap;
            /* overflow-x: scroll;
            box-sizing: border-box;
            padding: 0 0 var(--spacing-md) 0; */

            & li {
                display: flex;
                align-items: center;
                gap: var(--spacing-sm);
                flex-wrap: nowrap;
                text-wrap: nowrap;
                font-size: var(--p-secondary-size);
                color: var(--p-secondary-color);
                background-color: var(--bg-secondary);
                border-radius: var(--standard-border-radius);
                border: 1px solid var(--grey);

                box-sizing: border-box;
                padding: var(--spacing-sm);

                transition: border .2s, color .2s;

                & svg {
                    width: var(--p-size);
                    height: var(--p-size);
                    transition: color .2s;
                }

                &:hover {
                    cursor: pointer;
                    border-color: var(--blue1);
                }

                &.active {
                    color: var(--light);
                    background-color: var(--blue1);
                    border-color: var(--blue1);
                }
            }
        }
    }

    & .tabs-wrapper {
        position: relative;
        /* min-height: 40vh; */
        transition: min-height .2s;

        & .tab-item {
            height: fit-content;
            width: 100%;
            border-radius: var(--standard-border-radius);
            background-color: var(--bg-secondary);
            box-shadow: var(--standard-box-shadow);
            box-sizing: border-box;
            padding: var(--spacing-md);
            position: absolute;
            top: 0;
            opacity: 0;
            transition: opacity .2s;

            &.active {
                opacity: 1;
                z-index: 1;
            }

            & .col {

                align-self: center;

                & .content-container {
                    height: 100%;
                    width: 100%;
                    display: flex;
                    flex-direction: column;
                    gap: var(--spacing-md);
                    box-sizing: border-box;
                    padding: var(--spacing-md) var(--spacing-md);

                    & header {
                        display: flex;
                        align-items: center;
                        gap: var(--spacing-md);

                        & h3 {
                            font-size: var(--h6-size);
                        }

                        & .icon {
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            padding: var(--spacing-md);
                            height: var(--h6-size);
                            width: var(--h6-size);
                            border-radius: 50%;
                            background-color: var(--bg-feature-svg);
                            color: var(--blue1);
                        }
                    }

                    & .text-container {
                        width: 100%;
                        display: flex;
                        flex-direction: column;
                        gap: var(--spacing-md);

                        & ul {
                            display: flex;
                            flex-direction: column;
                            gap: var(--spacing-md);

                            & li {
                                position: relative;
                                display: flex;
                                align-items: center;
                                gap: var(--spacing-md);

                                &::before {
                                    content: "";
                                    min-height: 10px;
                                    min-width: 10px;
                                    height: 10px;
                                    width: 10px;
                                    border-radius: 50%;
                                    background-color: var(--blue1);
                                    left: calc(var(--spacing-md) * -1);
                                }
                            }
                        }
                    }
                }

                & .img-container {
                    width: 100%;
                    height: 100%;

                    & img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                        border-radius: var(--standard-border-radius);
                    }
                }
            }
        }
    }
}


/* Section Transportation type */
section#transportation-type {
    background-color: var(--bg-secondary);
}

.tt-cards-container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);

    & .tt-card {
        width: 100%;
        height: 100%;
        box-shadow: var(--standard-box-shadow);
        border-radius: var(--standard-border-radius);

        & header {
            width: 100%;
            min-height: 200px;
            max-height: 300px;
            position: relative;

            & .img-container {
                position: absolute;
                top: 0;
                height: 100%;
                width: 100%;

                & img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    border-top-left-radius: var(--standard-border-radius);
                    border-top-right-radius: var(--standard-border-radius);
                }
            }

            & .overlay {
                background: var(--overlay-gradient);
                height: 100%;
                width: 100%;
                position: absolute;
                top: 0;
                display: flex;
                flex-direction: column;
                justify-content: flex-end;
                box-sizing: border-box;
                padding: var(--spacing-md);

                & p {
                    color: var(--light);
                    font-weight: 500;
                }
            }
        }

        & .content-container {
            display: flex;
            flex-direction: column;
            gap: var(--spacing-md);
            box-sizing: border-box;
            padding: var(--spacing-md);

            & p span {
                font-weight: 500;
            }

            & hr {
                &::before {
                    background-color: var(--grey);
                }
            }

            & ul {
                padding: 0 0 0 var(--spacing-md);
                display: flex;
                flex-direction: column;
                gap: var(--spacing-md);

                & li {
                    position: relative;
                    display: flex;
                    align-items: center;
                    justify-content: flex-start;
                    gap: var(--spacing-md);

                    &::before {
                        content: "";
                        min-height: var(--p-secondary-size);
                        min-width: calc(var(--p-secondary-size) / 2);
                        height: var(--p-secondary-size);
                        width: calc(var(--p-secondary-size) / 2);
                        border-bottom: 1px solid var(--grey);
                        border-right: 1px solid var(--grey);
                        border-color: var(--blue1);
                        left: calc(var(--spacing-md) * -1);
                        transform: rotate(45deg);
                    }
                }
            }
        }
    }
}

.cta-container {
    width: 60%;
    align-self: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    text-align: center;
    margin: var(--spacing-md) 0;

    & button {
        justify-content: center;
    }
}


/* Section FAQ */

.faq-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);

    & .faq-tabs {
        width: 100%;

        & ul {
            list-style: none;
            width: 100%;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            /* align-items: center; */
            gap: var(--spacing-md);


            & li {
                width: 100%;
                display: flex;
                justify-content: center;
                background-color: var(--bg-secondary);
                box-sizing: border-box;
                padding: var(--spacing-md);
                border-radius: var(--standard-border-radius);
                border: 1px solid var(--grey);
                position: relative;
                /* box-shadow: var(--standard-box-shadow); */
                transition: border-color .2s, color .2s, background-color .2s;

                &:hover {
                    cursor: pointer;
                    border-color: var(--blue1);
                }

                &.active {
                    background-color: var(--blue1);
                    border-color: var(--blue1);
                    color: var(--light);
                }
            }
        }
    }

    & .faq-categories-wrapper {
        width: 100%;
        position: relative;
        /* background-color: beige; */
        /* height: 500px; */
        transition: min-height .2s;

        & .faq-category {
            position: absolute;
            top: 0;
            width: 100%;
            display: flex;
            flex-direction: column;
            box-shadow: var(--standard-box-shadow);
            opacity: 0;
            transition: opacity .2s;

            &.active {
                z-index: 1;
                opacity: 1;
            }

            & .faq-item {
                position: relative;
                width: 100%;
                display: flex;
                flex-direction: column;
                /* gap: var(--spacing-md); */

                & .question {
                    /* position: relative; */
                    width: 100%;
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    box-sizing: border-box;
                    padding: var(--spacing-md) var(--spacing-lg);
                    background-color: var(--bg-secondary);

                    & .switch {
                        transition: transform .2s;
                    }

                    &:hover {
                        cursor: pointer;
                        /* background-color: yellowgreen; */
                    }

                    /* &::after {
                        position: absolute;
                        bottom: -1px;
                        left: 0;
                        content: '';
                        width: 100%;
                        height: 2px;
                        background-color: var(--grey);
                        transition: opacity .2s;
                    } */
                }

                & .answer {
                    /* position: relative; */
                    width: 100%;
                    max-height: 0;
                    overflow: hidden;
                    background-color: var(--bg-secondary);
                    color: var(--p-secondary-color);
                    box-sizing: border-box;
                    padding: 0 var(--spacing-lg);
                    transition: max-height .2s, padding .2s;

                }

                &:first-of-type {

                    & .question {
                        /* border: 1px solid green; */
                        border-top-left-radius: var(--standard-border-radius);
                        border-top-right-radius: var(--standard-border-radius);
                    }
                }

                &:last-of-type {

                    & .question {
                        /* border: 1px solid green; */
                        border-bottom-left-radius: var(--standard-border-radius);
                        border-bottom-right-radius: var(--standard-border-radius);
                    }

                    &::after {
                        display: none;
                    }
                }

                &::after {
                    position: absolute;
                    bottom: -1px;
                    left: 0;
                    content: '';
                    width: 100%;
                    height: 2px;
                    background-color: var(--grey);
                    transition: opacity .2s;
                }

                &.open {
                    & .question {
                        &::after {
                            opacity: 0;
                        }

                        & .switch {
                            transform: rotate(180deg);
                        }
                    }

                    & .answer {
                        max-height: 1500px;
                        padding-top: var(--spacing-md);
                        padding-bottom: var(--spacing-md);
                    }
                }
            }
        }
    }
}


/* Section Partners */

.partners-spinner {
    position: relative;
    width: 100%;

    & .partners-container {
        width: 100%;
        display: flex;
        justify-content: space-around;
        align-items: center;
        gap: var(--spacing-lg);

        & .partner {
            width: 25%;

            & img {
                width: 100%;
                height: 100%;
                object-fit: contain;
            }

        }
    }
}


/* Section Contacts */
section#contacts {
    gap: var(--spacing-xl);
}

.contacts-container {
    align-self: center;
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* grid-template-columns: 1fr 1fr 1fr; */
    flex-wrap: wrap;
    gap: var(--spacing-lg);

    & .contact {
        width: 30%;
        /* flex: 1 0 auto; */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        gap: var(--spacing-md);
        background-color: var(--bg-secondary);
        /* border: 1px solid var(--grey); */
        box-shadow: var(--standard-box-shadow);
        border-radius: var(--standard-border-radius);
        box-sizing: border-box;
        padding: var(--spacing-lg) var(--spacing-md);

        & header {
            height: 80%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: var(--spacing-sm);

            & .icon {
                display: flex;
                justify-content: center;
                align-items: center;
                border-radius: 50%;
                width: 50px;
                height: 50px;
                box-sizing: border-box;
                /* padding: var(--spacing-md); */
                background-color: var(--bg-feature-svg);
                color: var(--blue1);
            }
        }

        & .contact-text {
            &.icons {
                display: flex;
                justify-content: center;
                align-items: center;
                gap: var(--spacing-md);
            }
        }

        & .icon-contact {
            border-radius: 50%;

            & svg {
                width: var(--h5-size);
                height: var(--h5-size);
                color: var(--p-primary-color);
            }

            &:hover {

            }

            &.whatsapp {
                & svg {
                    color: #25d366;
                }
            }

            &.telegram {
                & svg {
                    color: #24A1DE;
                }
            }
        }
    }
}


.feedback-form-container {
    width: 60%;
    align-self: center;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    background-color: var(--bg-secondary);
    border-radius: var(--standard-border-radius);
    box-shadow: var(--standard-box-shadow);
    box-sizing: border-box;
    padding: var(--spacing-lg);

    & h3 {
        font-size: var(--p-size);
    }

    & h4 {
        font-size: var(--p-size);
    }

    & label {
        font-size: var(--p-secondary-size);
    }
}

.feedback-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);

    & .two-col-field {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-lg);
    }
}


/* Footer */
footer#main-footer {
    background-color: var(--bg-footer);
    color: var(--light);
    width: 100%;
    /* height: 400px; */
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    box-sizing: border-box;
    padding: var(--spacing-xl) var(--spacing-lg);

    & .top-container {

        width: 100%;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: var(--spacing-lg);


        & > div {
            display: flex;
            flex-direction: column;
            gap: var(--spacing-md);
            width: 100%;

            & h2 {
                font-size: var(--h4-size);
            }

            & p {
                color: var(--p-footer-color);
                font-size: var(--p-secondary-size);
            }
        }

        & ul {
            display: flex;
            flex-direction: column;
            gap: var(--spacing-md);
            color: var(--p-footer-color);

            & li {
                display: flex;
                align-items: center;
                gap: var(--spacing-sm);

                & svg {
                    color: var(--blue1);
                }

                & a {
                    &:hover {
                        color: var(--light);
                    }
                }
            }
        }

        & .company {
            & ul {
                display: flex;
                flex-direction: row;
                width: 100%;
                gap: var(--spacing-lg);

                & li:first-of-type {
                    margin: 0 0 0 var(--spacing-md);
                }

                /* & svg {
                    width: var(--p-size);
                } */
            }
        }

    }

    & .bottom-container {
        width: 100%;

        & .copyright {
            display: flex;
            justify-content: center;
            align-items: center;
        }
    }
}


/* Policy Modal */
dialog {
    overscroll-behavior: contain;
	padding: var(--spacing-lg);
    box-sizing: border-box;
	background: white;
    width: 90%;
	max-width: var(--max-width);
    /* height: 80vh; */
	border-radius: var(--standard-border-radius);
	border: none;
	box-shadow: var(--modal-box-shadow);
	animation: fadeIn .3s ease both;
	&::backdrop {
		animation: fadeIn .3s ease both;
		background: rgb(255 255 255 / 40%);
		z-index: 2;
		backdrop-filter: blur(20px);
	}

    &:focus {
        outline: none;
    }

    & span {
        color: var(--blue1);
    }

    & h2 {
        font-size: var(--h4-size);
        letter-spacing: var(--p-spacing);
    }

    & a {
        color: var(--blue1);
        &:hover {
            color: var(--blue1-hover);
        }
    }

    & ol {
        & h2, h3, p {
            margin: var(--spacing-md) 0;
        }

        & ul {
            list-style-type: disc;
            margin: 0 0 0 var(--p-size);

            & li {
                margin: var(--spacing-md) 0;
                font-size: var(--p-size);
                line-height: var(--p-height);
            }
        }

        & h3 {
            font-size: var(--p-size);
        }
    }

    & table {
        font-size: var(--p-size);
        line-height: var(--p-height);
        border-collapse: separate;
        border-spacing: 0;
        overflow: hidden;
        padding: 0 var(--spacing-md);

        & td {
            padding: var(--spacing-sm) var(--spacing-md);
            border-bottom: 1px solid var(--grey);
            border-right: 1px solid var(--grey);
            vertical-align: top;

            & li:first-child {
                margin-top: 0;
            }

            & p {
                margin-top: 0;
            }
        }

        & td:first-child {
            border-left: 1px solid var(--grey);
        }

        & tr:first-child {

            & td {
                border-top: 1px solid var(--grey);
            }

            & td:first-child {
                border-top-left-radius: var(--standard-border-radius);
            }

            & td:last-child {
                border-top-right-radius: var(--standard-border-radius);
            }
        }

        & tr:last-child {

            & td:first-child {
                border-bottom-left-radius: var(--standard-border-radius);
            }

            & td:last-child {
                border-bottom-right-radius: var(--standard-border-radius);
            }
        }

        & tr {
            border-radius: var(--standard-border-radius);
            & td:first-child {
                font-weight: 500;
            }
        }
    }
}

.modal-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.modal-close {
    background-color: transparent;
    /* border: 2px solid var(--dark); */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: var(--spacing-sm);
    box-sizing: border-box;
    transition: color .2s, background-color .2s;
    margin: 0 0 0 var(--spacing-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modal-close .modal-close-bar {
    width: 24px;
    height: 2px;
    background-color: var(--dark);
    transition: background-color .2s;
}

.modal-close .modal-close-bar:nth-of-type(1) {
    transform: rotate(45deg) translate(1px, 0.6px);
}
.modal-close .modal-close-bar:nth-of-type(2) {
    transform: rotate(-45deg) translate(1px, -0.6px);
}

.modal-close:hover {
    cursor: pointer;

    & .modal-close-bar {
        background-color: var(--blue1-hover);
    }
}


/* Adaptive */
@media only screen and (max-width: 1186px) {

    main {
        gap: var(--spacing-xl);
    }

    section#about {

        & .two-col-container {
            flex-direction: column-reverse;

            & .col {
                width: 100%;
            }

            & .col:nth-of-type(2) {
                height: auto;
                min-height: auto;
                max-height: none;
            }
        }

        & .about-img-container {
            max-height: 60vh;
        }
    }

    .calculator-container {
        width: 80%;
    }

    section#contacts {
        & .contacts-container {
            & .contact {
                width: 40%;
            }
        }

        & .feedback-form-container {
            width: 80%;
        }
    }

    footer#main-footer {
        & .top-container {
            grid-template-columns: 1fr 1fr;
        }
    }
}


@media only screen and (max-width: 969px) {
    :root {
        --h1-size: 3.5rem;
        --h1-height: 3.8rem;
    }

    #main-header {
        & .feedback {
            display: none;
        }
    }

    section#hero {
        & .hero-content {
            width: 80%;
        }
    }

    .calculator-container {
        width: 100%;
    }

    section#services {
        & > .text-container {
            width: 80%;
        }
    }

    & .cta-container {
        width: 80%;
    }

    section#contacts {
        & .contacts-container {
            & .contact {
                width: 50%;
            }
        }
    }
}

@media only screen and (max-width: 790px) {
    :root {
        --h1-size: 3rem;
        --h1-height: 3.3rem;
    }

    main {
        gap: var(--spacing-md);
    }

    section {
        & header.section {
            width: 100%;

            & h2 {
                text-align: center;
            }
        }
    }

    .notification-container {
        width: 80%;
    }

    header#main-header {
        & .language-switch {
            & p {
                display: none;
            }
        }

        & nav.desktop {
            display: none;
        }

        & .mobile-burger {
            display: flex;
        }
    }

    section#hero {
        & .hero-content {
            width: 100%;
        }
    }

    .calculator-container {
        width: 100%;

        & form {

            & .radio-row {
                justify-content: center;
                flex-wrap: wrap;

                & .radio {
                    width: 45%;
                }
            }
        }
    }

    section#services {
        & > .text-container {
            width: 100%;
            margin: var(--spacing-md) 0 0 0;
        }

        & .tab-item {
            & .two-col-container {
                flex-direction: column;

                & .col {
                    width: 100%;

                    & .img-container {
                        max-height: 200px;
                    }
                }
            }
        }

        & .feature-cards-container {
            grid-template-columns: 1fr;

        }
    }

    section#transportation-type {
        & .tt-cards-container {
            grid-template-columns: 1fr;
        }
    }

    & .cta-container {
        width: 100%;
    }

    section#faq {
        & .faq-tabs {
            & ul {
                grid-template-columns: 1fr 1fr;
            }

        }
    }

    section#contacts {
        & .contacts-container {
            & .contact {
                width: 80%;
            }
        }

        & .feedback-form-container {
            width: 100%;
        }
    }
}

@media only screen and (max-width: 570px) {
    :root {
        --h1-size: 2.2rem;
        --h1-height: 2.3rem;
        --h2-size: 1.8rem;
        --h3-size: 1.5rem;
        --h6-size: 1.1rem;
        --p-size: 1rem;
        --p-height: 1.2rem;
    }

    form {
        & .two-col-field {
            flex-direction: column;

            & .col {
                width: 100% !important;
            }
        }
    }

    main {
        gap: var(--spacing-sm);
    }

    section {

        & .two-col-container {

            & .col {
                gap: var(--spacing-md);
            }
        }
    }

    section#hero {
        & .hero-content {
            width: 100%;
        }
        
        & .btn-container {
            flex-direction: column;
        }
    }

    section#about {
        
        & .about-img-container {
            height: auto;
            min-height: auto;

            & .overlay {
                background: var(--overlay-gradient-mobile);
            }
        }

        & .feature-cards-container {
            grid-template-columns: 1fr;
        }
    }

    .calculator-container {

        & form {

            & .radio-row {
                & .radio {
                    width: 100%;
                }
            }
        }
    }

    section#faq {
        & .faq-tabs {
            & ul {
                grid-template-columns: 1fr;
            }
            
        }
    }

    section#contacts {
        & .contacts-container {
            width: 100%;

            & .contact {
                width: 100%;
            }
        }

        & .feedback-form {
            & .two-col-field {
                grid-template-columns: 1fr;
            }
        }
    }

    footer#main-footer {
        & .top-container {
            grid-template-columns: 1fr;
        }
    }
}