@import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url('https://fonts.googleapis.com/css2?family=The+Nautigal:wght@400;700&display=swap');

/* Created by Abbi Serchindorj */

:root {
    --primary-color: #594741;
    --text-dark: #171717;
    --text-light: #737373;
    --extra-light: #eee4e2;
    --white: #ffffff;
    --max-width: 1200px;
    --header-font: "Merriweather", serif;
    --logo-font: "The Nautigal", cursive;
    --system-font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --soft-color: #fff;
    --btn-active: #a99189;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.section__container {
    max-width: var(--max-width);
    margin: auto;
    padding: 4rem 1rem 2rem;
}

.section__header {
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 600;
    /* font-family: var(--header-font); */
    color: var(--primary-color);
    line-height: 1.15;
}

.section__description {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.section__description a,
.section__description a:link,
.section__description a:visited,
.section__description a:active {
    font-weight: 700;
    color: var(--primary-color)
}

.section__description a:hover {
    opacity: 0.5;
}

.logo {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--logo-font);
}

img {
    display: flex;
    width: 100%;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

ul {
    list-style: none;
}

html,
body {
    scroll-behavior: smooth;
    scroll-padding-top: var(--scroll-padding, 60px);
}

html {
    --gutterWidth: 16px;
    --scrollbarWidth: 0px;
    --windowWidth: calc(100vw - var(--scrollbarWidth));
    --layoutWidth: calc(var(--windowWidth) - var(--gutterWidth)*2);
    --layoutWidthMax: 1080px;
    --viewportWidthSmall: 375;
    --viewportWidthMedium: 600;
    --viewportWidthLarge: 1112;
    --viewportScale: calc(var(--windowWidth)/var(--viewportWidthLarge));
    --paddingTop: 160px;
    --paddingBottom: 160px;
    --columnPaddingNone: 0;
    --columnPaddingSmall: 8px;
    --columnPaddingNormal: 16px;
    --columnPaddingMedium: 16px;
    --columnPaddingLarge: 16px;
    --columnPaddingXLarge: 16px;
    --rowGapNormal: 8px;
    --rowGapMedium: 24px;
    --rowGapLarge: 32px;
    --rowGapXLarge: 64px;
    --rowGapXXLarge: 88px;
    --rowGap: var(--rowGapNormal);
    --columnCountMax: 1;
    --columnWidth: calc(var(--layoutWidth)/var(--columnCountMax));
    --columnMaxWidth: calc(var(--layoutWidthMax)*0.25);
    --copyMaxWidth: calc(var(--columnMaxWidth)*3)
}

@media (min-width:600px) {
    html {
        --columnPaddingMedium: 32px;
        --columnPaddingLarge: 64px;
        --columnPaddingXLarge: 64px;
        --columnCountMax: 2
    }
}

@media (min-width:900px) {
    html {
        --columnPaddingXLarge: 112px;
        --columnCountMax: 4
    }
}

@media (min-width:1112px) {
    html {
        --layoutWidth: var(--layoutWidthMax);
        --gutterWidth: calc(var(--windowWidth)/2 - var(--layoutWidth)/2)
    }
}

body {
    font-family: "Poppins", sans-serif;
}

nav {
    position: fixed;
    isolation: isolate;
    width: 100%;
    max-width: var(--max-width);
    margin-inline: auto;
    z-index: 9;
    /* transition: box-shadow 200ms cubic-bezier(0.33, 1, 0.68, 1); */
    transition: box-shadow 256ms ease-in-out;
}

nav.shadow {
    box-shadow: hsla(0 0% 0% / 0.3) 0 1.95rem 2rem -2rem;
    transition-duration: 400ms;
}

.nav__header {
    padding: 1rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--extra-light);
}

.nav__logo .logo {
    color: var(--primary-color);
    text-wrap: nowrap;
}

.nav__menu__btn {
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

.nav__bg {
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    height: 0;
    /* background-color: var(--extra-light); */
    background-color: rgba(238, 228, 226, 1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.7s ease-in-out;
    z-index: -2;
}

.nav__bg.open {
    height: calc(100svh - 65px);

}

.nav__links {
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    padding: 2rem;
    display: flex;
    visibility: hidden;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    background-color: var(--extra-light);
    transform: translateY(-100%);
    transition:
        display 0.75s ease-in-out,
        transform 0.75s ease-in-out;
    transition-behavior: allow-discrete;
    z-index: -1;

}

.nav__links.open {
    display: flex;
    visibility: visible;
    transform: translateY(0);
    transition:
        display 0.75s ease-in-out,
        transform 0.75s ease-in-out;
    transition-behavior: allow-discrete;
}

.nav__links li {
    width: 100%;
}

.nav__links .nav__btn {
    width: 100%;
    background-color: var(--white);
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    text-align: right;
}

.nav__links a {
    font-weight: 500;
    color: var(--primary-color);
}

.nav__links .active_btn {
    color: var(--white);
    background-color: var(--primary-color);
}

.nav__search {
    display: none;
}

.header__container {
    display: grid;
    overflow: hidden;
}

/* .header__image {
    grid-area: 1/1/2/2;
} */

.header__image img {
    max-width: 900px;
    margin-top: 2rem;
    margin-left: auto;
    border-radius: 2rem;
}

.header__content {
    --titleFontMin: 50;
    --titleFontMax: 78;
    --viewportMin: var(--viewportWidthSmall);
    --viewportMax: var(--viewportWidthMedium);
    --titleFontSize: calc(var(--titleFontMin)*1px + (var(--titleFontMax) - var(--titleFontMin))*(var(--windowWidth) - var(--viewportMin)*1px)/(var(--viewportMax) - var(--viewportMin)));
    /* grid-area: 1/1/2/2; */
    display: flex;
    align-items: center;
    margin-top: 1rem;
    margin-inline: auto;
}

.header__content>div {
    /* max-width: 320px; */
    padding: 2rem 1rem;
    background-color: rgba(238, 228, 226, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    box-shadow:
        0 1px 1px hsl(0deg 0% 0% / 0.075),
        0 2px 2px hsl(0deg 0% 0% / 0.075),
        0 4px 4px hsl(0deg 0% 0% / 0.075),
        0 8px 8px hsl(0deg 0% 0% / 0.075),
        0 16px 16px hsl(0deg 0% 0% / 0.075);
}

.header__content h1 {
    margin-bottom: 1rem;
    font-size: 1.75rem;
    /* font-size: var(--titleFontSize); */
    font-weight: 600;
    /* font-family: var(--header-font); */
    color: var(--primary-color);
    line-height: 1.15;
    text-wrap: pretty;
}

.header__content h2 {
    margin-top: -1rem;
    text-align: right;
    /* font-family: var(--header-font); */
    color: var(--primary-color);
}

.header__content p {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.45;
}

.header__content .btn {
    width: fit-content;
    padding: 0.75rem 1.25rem;
    outline: none;
    border: none;
    font-size: 1rem;
    color: var(--white);
    white-space: nowrap;
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    transition: 0.3s;
    cursor: pointer;
}

.header__content p>a,
.header__content p>a:link,
.header__content p>a:visited,
.header__content p>a:active {
    font-weight: 700;
    color: #171717;
    opacity: 0.75;
}

.header__content p>a:hover {
    opacity: 1;
}

.header__content .btn>a,
.header__content .btn>a:link,
.header__content .btn>a:visited,
.header__content .btn>a:active {
    font-weight: 500;
    color: var(--white);
}

.header__content .btn:hover {
    color: var(--extra-light)
}

@property --fill {
    syntax: '<percentage>';
    inherits: true;
    initial-value: 0%;
}

.socials {
    padding-block: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.socials a {
    position: relative;
    text-decoration: none;
    background-color: var(--primary-color);
    padding: 6px 10px;
    font-size: 1.5rem;
    color: var(--extra-light);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    opacity: 0.85;
    /* box-shadow: 3px 5px 10px rgba(0, 0, 0, 0.25); */
    transition: 0.3s;
}

.socials a::after {
    position: absolute;
    content: '';
    z-index: -1;
    inset: -1px;
    border-radius: inherit;
    background: conic-gradient(var(--primary-color) var(--fill), transparent var(--fill));
    transition: --fill 0.5s ease-in-out;
}



.socials a:hover {
    background-color: var(--extra-light);
    color: var(--primary-color);
    opacity: 1;
    --fill: 100%;
}

.deals__container {
    display: grid;
    gap: 2rem;
}

.deals__card span {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.deals__card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}

.deals__card p {
    color: var(--text-light);
}

.about__header {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background-color: var(--extra-light);
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    box-shadow:
        0 1px 1px hsl(0deg 0% 0% / 0.075),
        0 2px 2px hsl(0deg 0% 0% / 0.075),
        0 4px 4px hsl(0deg 0% 0% / 0.075),
        0 8px 8px hsl(0deg 0% 0% / 0.075),
        0 16px 16px hsl(0deg 0% 0% / 0.075);
}

.about__header .section__description {
    max-width: 60ch;
    margin-bottom: 1.5rem;
}

.about__header video {

    border-radius: 2rem;
}

.about__header figure {
    /* border: thin var(--primary-color) solid; */
    display: flex;
    flex-flow: column;
    padding: 5px;
    max-width: 320px;
    overflow: hidden;
    margin: auto;
}

.about__header figcaption {
    padding: 5px;
    color: var(--text-light);
    text-align: center;
}

.about__header .socials {
    padding-block: 0.5rem 1rem;
}

.about__header .socials a {
    font-size: 1.25rem;
}

.about__card {
    position: relative;
    z-index: 1;
    max-width: 320px;
    margin-inline: auto;
    /* height: 350px; */
    /* 350/250 = 1.4 */
    /* aspect-ratio: 1 / 1.4; */
    padding: 1rem;
    border-radius: 20px;
    background-color: transparent;
    /* box-shadow: 0 30px 30px 5px #d6d9e2; */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
}

.about__card .about__image__wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    aspect-ratio: 1;
    max-width: 280px;
    background-color: transparent;
    padding: auto;
    border-radius: 100%;

    border: var(--primary-color) solid 2px;

    box-shadow:
        0 1px 1px hsl(0deg 0% 0% / 0.075),
        0 2px 2px hsl(0deg 0% 0% / 0.075),
        0 4px 4px hsl(0deg 0% 0% / 0.075),
        0 8px 8px hsl(0deg 0% 0% / 0.075),
        0 16px 16px hsl(0deg 0% 0% / 0.075);
}

.about__card .about__image__wrap::after {
    position: absolute;
    z-index: -1;
    content: "";
    inset: 0;
    border-radius: 100%;

    background: linear-gradient(#4cd964,
            #5ac8fa,
            #007aff,
            #7dc8e8,
            #5856d6,
            #ff2d55);

    opacity: 0;
    transition: opacity 1s;

    animation: rockingroll 4s linear infinite;
    animation-play-state: paused;
    filter: saturate(2) blur(10px);
}

.about__card:hover .about__image__wrap::after {
    opacity: 1;
    animation-play-state: running;
}

@keyframes rockingroll {
    to {
        rotate: 360deg;
    }
}

.about__image {

    aspect-ratio: 1;
    border-radius: 100%;
    overflow: hidden;

}

.about__image img {
    flex: 1 0 100%;
    object-fit: cover;
    overflow-clip-margin: content-box;
    overflow: clip;
}

.about__profile {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    letter-spacing: -0.025rem;
    text-wrap: nowrap;
    /* gap: 1rem; */
}

.about__btn {
    width: fit-content;
    padding: 0.75rem 1.5rem;
    outline: none;
    border: none;
    font-size: 1rem;
    color: var(--white);
    white-space: nowrap;
    background-color: var(--primary-color);
    border-radius: 5px;
    transition: 0.3s;
    cursor: pointer;
}

.about__content {
    margin-top: 2rem;
    display: grid;
    gap: 2rem;
}

.about__grid {
    display: grid;
    gap: 2rem;
}

.about__card h3 {
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.about__card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.about__card p {
    color: var(--primary-color);
}

.product__grid {
    margin-top: 4rem;
    display: grid;
    gap: 2rem;
}

.product__card {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 4;
    gap: 0.25rem;
    position: relative;
    isolation: isolate;
    padding: 2rem;
    cursor: pointer;
}

.product__card::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 85%;
    border-radius: 1rem;
    background-color: var(--extra-light);
    z-index: -1;
    transition: 0.3s;
}

.product__card:hover::before {
    height: 100%;
}

.product__card h4 {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-dark);

}

.product__card p {

    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: var(--text-light);
}

.product__card img {
    max-width: 275px;
    margin-inline: auto;
    border-radius: 1rem;
    aspect-ratio: 3 / 2;
    filter: grayscale(100%) sepia(30%) hue-rotate(335deg);
    box-shadow:
        0 1px 1px hsl(0deg 0% 0% / 0.075),
        0 2px 2px hsl(0deg 0% 0% / 0.075),
        0 4px 4px hsl(0deg 0% 0% / 0.075),
        0 8px 8px hsl(0deg 0% 0% / 0.075),
        0 16px 16px hsl(0deg 0% 0% / 0.075);
}

.product__card:hover img {
    filter: none;
}

.product__card .product__contact {
    display: none;
}

.product__card .product__description {
    display: none;
}

.product__btn {
    width: fit-content;
    padding: 0.5rem 1.25rem;
    margin-top: -0.25rem;
    margin-inline: auto;
    margin-bottom: 1rem;
    outline: none;
    border: none;
    font-size: 1rem;
    color: var(--white);
    white-space: nowrap;
    background-color: var(--primary-color);
    border-radius: 5px;
    transition: 0.3s;
    cursor: pointer;
}

.client__content {
    padding: 4rem 1rem;
    background-color: var(--extra-light);
    border-radius: 1rem;
}

.client__content :is(.section__header, .section__description) {
    max-width: 550px;
    margin-inline: auto;
    text-align: center;
}

.client__content .section__header {
    font-size: 3.25rem;
}

.swiper {
    margin-top: 4rem;
    width: 100%;
}

.client__card {
    display: grid;
    gap: 2rem;
    max-width: 750px;
    margin-inline: auto;
    text-align: center;
}

.client__card img {
    max-width: 250px;
    margin-inline: auto;
}

.client__card p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    color: var(--text-light);
    font-style: italic;
}

.client__card h4 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.client__card h5 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
}

.testimonial__grid {
    margin-top: 2rem;
    display: grid;
    /* grid-template-columns: repeat(3, 1fr); */
    gap: 2rem;
}

.testimonial__card {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 4;
    gap: 0.25rem;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 5rem 2rem 2rem;
    background-color: var(--extra-light);
    border-radius: 5px;
    box-shadow:
        0 1px 1px hsl(0deg 0% 0% / 0.075),
        0 2px 2px hsl(0deg 0% 0% / 0.075),
        0 4px 4px hsl(0deg 0% 0% / 0.075),
        0 8px 8px hsl(0deg 0% 0% / 0.075),
        0 16px 16px hsl(0deg 0% 0% / 0.075);
    transition: 0.3s;
}

.testimonial__card::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    width: 75%;
    aspect-ratio: 1;
    border-radius: 100%;
    background-color: var(--primary-color);
    z-index: -1;
    transition: 0.5s;
}

.testimonial__card span {
    position: absolute;
    top: 0;
    left: 0;
    padding: 1rem;
    font-size: 3rem;
    color: var(--white);
}

.testimonial__card h4 {
    margin-top: 4rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.25;
    transition: 0.3s;
}

.testimonial__card p {
    margin-bottom: 2rem;
    color: var(--primary-color);
    transition: 0.3s;
}

.testimonial__card img {
    margin-bottom: 1rem;
    max-width: 100px;
    border-radius: 100%;
    border: 2px solid var(--primary-color);
    transition: 0.3s;
}

.testimonial__card h5 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.25;
    transition: 0.3s;
    text-align: right;
}

.testimonial__card h6 {
    font-size: 1rem;
    font-weight: 400;
    color: var(--primary-color);
    transition: 0.3s;
}

.testimonial__card:hover::before {
    width: 400%;
}

.testimonial__card:hover :is(h4, h5) {
    color: var(--white);
}

.testimonial__card:hover :is(p, h6) {
    color: var(--white);
}

.testimonial__card:hover img {
    border-color: var(--white);
}

.footer {
    background-color: var(--extra-light);
    min-height: 44ch;
}

.footer__container {
    display: grid;
    gap: 4rem 2rem;
    color: var(--primary-color);
}

.footer__logo {
    margin-bottom: 1rem;
}

.footer__logo .logo {
    color: var(--primary-color);
}

.footer__col p {
    margin-bottom: 2rem;
    color: var(--primary-color);
    opacity: 0.8;
}

.footer__socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;

}

.footer__socials a {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.footer__socials a:hover {
    opacity: 0.7;
}

.footer__col h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--primary-color);
    text-wrap: nowrap;
}

.footer__col p>a,
.footer__col p>a:link,
.footer__col p>a:visited,
.footer__col p>a:active {
    font-weight: 500;
    color: var(--primary-color);
}

.footer__col p>a:hover {
    opacity: 0.7;
}

.footer__links {
    display: grid;
    gap: 1rem;
    text-align: right;
    margin-left: 0;
    max-width: 20ch;
}

.footer__links a {
    color: var(--primary-color);
    opacity: 0.8;
}

.footer__links a:hover {
    opacity: 1;
}

.footer__bar {
    padding: 1rem;
    font-size: 0.9rem;
    color: var(--primary-color);
    opacity: 0.8;
    text-align: center;
}

video {
    margin: 0;
    /* margin-inline: auto;
    box-shadow:
        0 1px 1px hsl(0deg 0% 0% / 0.075),
        0 2px 2px hsl(0deg 0% 0% / 0.075),
        0 4px 4px hsl(0deg 0% 0% / 0.075),
        0 8px 8px hsl(0deg 0% 0% / 0.075),
        0 16px 16px hsl(0deg 0% 0% / 0.075); */
}

#video_intro {
    max-width: 240px;
    aspect-ratio: 1 / 1;
}

#video_client {
    width: 100%;
    overflow: hidden;
    border-radius: 1rem;
}

.video__frame {
    display: block;
    margin-inline: auto;
    padding: 0;
    width: fit-content;
    height: fit-content;
    padding: 0;
    position: relative;
    background: linear-gradient(0deg, var(--primary-color), rgb(44, 43, 43));
    /* text-align: center; */
    border-radius: 1rem;
    box-shadow:
        0 1px 1px hsl(0deg 0% 0% / 0.075),
        0 2px 2px hsl(0deg 0% 0% / 0.075),
        0 4px 4px hsl(0deg 0% 0% / 0.075),
        0 8px 8px hsl(0deg 0% 0% / 0.075),
        0 16px 16px hsl(0deg 0% 0% / 0.075);
}



/* The Modal (background) */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 10;
    /* Sit on top */
    padding: 10px 0;
    /* padding-top: 14px; */
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.5);
    /* Black w/ opacity */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: .3s ease;
}

/* Modal Content */
.modal-content {
    position: relative;
    /* background-color: rgba(255, 255, 255, 1); */
    background-color: rgba(246, 241, 240, 1);
    /* backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); */
    margin: auto;
    padding: 20px;
    border: 1px solid var(--extra-light);
    border-radius: 0.75rem;
    /* width: 95%;
    height: 95vh; */
    width: fit-content;
    height: fit-content;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    overflow-y: auto;
    transition: .3s ease;
    box-shadow:
        0 1px 1px hsl(0deg 0% 0% / 0.075),
        0 2px 2px hsl(0deg 0% 0% / 0.075),
        0 4px 4px hsl(0deg 0% 0% / 0.075),
        0 8px 8px hsl(0deg 0% 0% / 0.075),
        0 16px 16px hsl(0deg 0% 0% / 0.075);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* .modal-content>p {
    text-shadow: 3px 3px 9px #000;
} */

.modal-content h4 {
    margin-top: 1rem;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-dark);
}

.modal-content p {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--primary-color);
}

.modal-content img {
    max-width: 275px;
    margin-inline: auto;
    margin-top: 0;
    border-radius: 1rem;
    aspect-ratio: 3 / 2;
    transition: .3s ease;
    box-shadow:
        0 1px 1px hsl(0deg 0% 0% / 0.075),
        0 2px 2px hsl(0deg 0% 0% / 0.075),
        0 4px 4px hsl(0deg 0% 0% / 0.075),
        0 8px 8px hsl(0deg 0% 0% / 0.075),
        0 16px 16px hsl(0deg 0% 0% / 0.075);

}

.modal-content .product__contact {
    max-width: 25ch;
    margin-top: 0;
    margin-inline: auto;
    color: var(--text-light);
    font-size: 1rem;
    text-align: center;
    z-index: -1;
}

.modal-content .product__description {
    max-width: 45ch;
    margin-top: 1.5rem;
    margin-inline: auto;
    padding: 1rem;
    padding-top: 2rem;
    background-color: var(--extra-light);
    border-radius: 0.75rem;
    text-align: left;
    z-index: 1;
}

.modal-content .product__description p {
    color: var(--primary-color);
}

.modal-content .product__description ul {
    color: var(--primary-color);
    list-style-type: circle;
    margin-left: 2rem;
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.modal-content .product__btn {
    display: none;
}

.modal-content .product__description a,
.modal-content .product__description a:link,
.modal-content .product__description a:visited,
.modal-content .product__description a:active {
    font-weight: 700;
    color: var(--primary-color);
    opacity: 1;
}

.modal-content .product__description a:hover {
    opacity: 0.7;
}

/* The Close Button */

.close {
    position: absolute;
    background-color: var(--extra-light);
    left: 0px;
    right: auto;
    top: 0px;
    width: 40px;
    aspect-ratio: 1 / 1;
    border-radius: 9px;
    /* height: 64px; */
    /* opacity: 0.3; */
}

.close:hover {
    background-color: rgb(200, 0, 0);
}

.close:hover::before,
.close:hover::after {
    /* opacity: 1; */
    background-color: #fff;
}

.close:before,
.close:after {
    position: absolute;
    top: 3px;
    left: 20px;
    content: ' ';
    height: 32px;
    width: 2px;
    background-color: var(--primary-color);
}

.close:before {
    transform: rotate(45deg);
}

.close:after {
    transform: rotate(-45deg);
}

/* .close {
    position: absolute;
    top: 0;
    right: 0;
    color: #FFF;
    
    font-size: 2rem;
    font-weight: bold;
    background-color: #000;
    padding: 0.02rem 1.2rem;
    text-align: center;
    vertical-align: middle;
    opacity: 0.8;
}

.close:hover,
.close:focus {
    color: #ebbb1d;
    background-color: rgb(100, 10, 10);
    text-decoration: none;
    cursor: pointer;
} */

@media (width > 540px) {
    .deals__container {
        grid-template-columns: repeat(2, 1fr);
    }

    .about__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (width > 680px) {


    .header__image {
        grid-area: 1/1/2/2;
        margin-top: 2rem;
        margin-bottom: auto;
    }

    .header__content {
        grid-area: 1/1/2/2;
        margin-top: 2rem;
        margin-bottom: auto;
        margin-left: 0;
    }

    .header__content>div {
        max-width: 380px;
    }
}

@media (width > 920px) {
    nav {
        position: sticky;
        top: 0;
        padding: 1rem 2rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
        background-color: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        transition: .3s ease;
    }

    .nav__header {
        flex: 1;
        padding: 0;
        background-color: transparent;
    }

    .nav__menu__btn {
        display: none;
    }

    .nav__logo .logo {
        font-size: 4rem;
        color: var(--primary-color);
    }

    .nav__links {
        position: static;
        padding: 0;
        display: flex;
        visibility: visible;
        width: fit-content;
        flex-direction: row;
        gap: 1rem;
        background-color: transparent;
        transform: none;
    }

    .nav__links li {
        width: auto;
    }

    .nav__links .nav__btn {
        position: relative;
        width: fit-content;
        background-color: #FFF;
        padding: 0.75rem 1.25rem;
        border-radius: 0.75rem;
        text-align: center;
    }

    .nav__links a {
        position: relative;
        color: var(--text-dark);
    }

    .nav__links .nav__btn::before {
        content: '';
        position: absolute;
        top: 100%;
        left: 50%;
        width: 0;
        height: 2px;
        background-color: var(--primary-color);
        transition: .2s ease-in;
    }

    .nav__links .nav__btn:hover::before {
        width: 80%;
        left: 10%;
    }

    /* .nav__links .nav__btn.active::before {
        content: '';
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: var(--primary-color);
    } */

    .nav__links .active_btn {
        color: var(--primary-color);
        background-color: var(--extra-light);
    }

    .nav__links a:hover {
        color: var(--primary-color);
    }

    .nav__search {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 1rem;
    }

    .nav__search input {
        padding-block: 5px;
        outline: none;
        border: none;
        width: 0;
        font-size: 1rem;
        color: var(--text-dark);
        border-bottom: 1px solid var(--text-light);
        transition: 0.3s;
    }

    .nav__search.open input {
        width: 100%;
        max-width: 15rem;
    }

    .nav__search span {
        font-size: 1.5rem;
        font-weight: 500;
        color: var(--text-dark);
        cursor: pointer;
    }

    .header__container {
        padding-top: 0;
    }

    .header__image {
        grid-area: 1/1/2/2;
        margin-top: 0;
        margin-bottom: auto;
    }

    .header__content {
        grid-area: 1/1/2/2;
        margin-top: 0;
        margin-bottom: auto;
        margin-left: 0;
    }

    .header__content>div {
        max-width: 500px;
        padding: 4rem 2rem;
    }

    .header__content h1 {
        font-size: 3rem;
    }

    .header__content .btn {
        font-size: 1.25rem;
    }

    .deals__container {
        grid-template-columns: repeat(3, 1fr);
    }

    .deals__card:nth-child(1) {
        grid-column: 1/4;
    }

    .about__header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 2rem 3rem;
    }

    .about__header video {
        max-width: 45%;
    }

    .about__content {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }

    .about__card {
        grid-area: 1/2/2/3;
    }

    .product__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .product__card h4 {
        font-size: 1.5rem;
    }

    .testimonial__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .client__card {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
        text-align: left;
    }

    .footer__container {
        grid-template-columns: repeat(4, 1fr);
    }

    .close {
        right: 0;
        left: auto;
    }

    #video_intro {
        max-width: 35%;
    }

    #video_client {
        margin: 0;
    }

    .video__frame {
        margin-inline: auto;
        padding: 0;
        max-width: 60%;
        width: fit-content;
    }
}

@media (width > 1024px) {
    .deals__container {
        grid-template-columns: repeat(4, 1fr);
    }

    .deals__card:nth-child(1) {
        grid-column: unset;
    }

    .about__grid {
        gap: 4rem 2rem;
    }
}