:root {
    --ff-primary: 'Poppins', sans-serif;
    --clr-primary: #a855f7;
    --clr-secondary: #7e22ce;
    --clr-dark: #212121;
    --clr-light: #f1f1f1;
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

    --typography-styles-headline1-font-size: 93px;
    --typography-styles-headline2-font-size: 58px;
    --typography-styles-headline3-font-size: 47px;
    --typography-styles-headline4-font-size: 33px;
    --typography-styles-headline5-font-size: 23px;
    --typography-styles-headline6-font-size: 19px;
    --typography-styles-body1-font-size: 16px;
    --typography-styles-body2-font-size: 14px;
    --typography-styles-subtitle1-font-size: 16px;
    --typography-styles-subtitle2-font-size: 14px;
    --typography-styles-button-font-size: 14px;
    --typography-styles-overline-font-size: 10px;
    --typography-styles-caption-font-size: 12px;

}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}


html {
    font-size: 62.5%;
    scroll-behavior: auto !important;
}

body {
    overscroll-behavior: none;
}

body {
    font-size: 1.6rem;
    font-family: var(--ff-primary);
    background-color: var(--clr-dark);
}

button {
    border: 0;
    padding: 0;
    font-family: inherit;
    background: transparent;
    color: inherit;
    cursor: pointer;
}


a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: 100%;
}

.container {
    max-width: 120rem;
    width: 95%;
    margin: 0 auto;
}



.headings {
    text-align: center;
    max-width: 120rem;
    margin: 0 auto 4rem auto;
    padding: 0 2rem;
}

.headings p {
    color: var(--clr-light);
    font-weight: 700;
}

.headings h2 {
    font-size: 3rem;
    color: var(--clr-light);
    width: 100%;
}

@media (min-width:76.8rem) {
    .headings h2 {
        font-size: 6rem;
        color: var(--clr-light);
    }
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    place-items: center;
    gap: 2rem 4rem;
}

.navbar {
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 8rem;
    background-color: var(--clr-dark);
    box-shadow: var(--shadow-2xl);
    color: #f9f9f9;
    box-sizing: border-box;
    padding: 0 20px;
}

.nav-btn {
    display: none;
}

@media only screen and (min-width: 600px) {
    .navbar {
        justify-content: space-between;
    }

    .navbar-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        max-width: 120rem;
        margin: 0 auto;
    }

    .nav-btn {
        display: block;
    }
}

.navbar-overlay {
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    visibility: hidden;
    opacity: 0;
    transition: 0.3s;
}

body.open .navbar-overlay {
    visibility: visible;
    opacity: 1;
}

.close {
    visibility: visible;
    opacity: 1;
}

@media only screen and (min-width: 600px) {
    .navbar-overlay {
        display: none;
    }
}

.navbar-burger {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    width: 8rem;
    height: 8rem;
    color: var(--clr-light);
}

.navbar-burger span {
    display: none;
}

.navbar-burger svg {
    height: 4rem;
}

@media only screen and (min-width: 600px) {
    .navbar-burger {
        display: none;
    }
}

.navbar-title {
    margin: 0;
    font-size: 16px;
}

.navbar-menu {
    position: fixed;
    z-index: 3;
    top: 0;
    left: 0;
    translate: -100% 0;
    width: 270px;
    height: 100%;
    padding: 20px;
    display: flex;
    gap: 8px;
    flex-direction: column;
    align-items: flex-start;
    background-color: var(--clr-dark);
    visibility: hidden;
    transition: translate 0.3s;
}

body.open .navbar-menu {
    translate: 0 0;
    visibility: visible;
}

.close {
    position: fixed;
    z-index: 3;
    top: 0;
    left: 0;
    translate: -100% 0;
    width: 270px;
    height: 100%;
    padding: 20px;
    display: flex;
    gap: 8px;
    flex-direction: column;
    align-items: flex-start;
    background: #000000;
    visibility: hidden;
    transition: translate 0.3s;
}


@media only screen and (min-width: 600px) {
    .navbar-menu {
        position: static;
        translate: 0 0;
        width: auto;
        height: auto;
        background: transparent;
        flex-direction: row;
        visibility: visible;
    }
}

.navbar-menu>button {
    color: rgba(255, 255, 255, 0.5);
    background: transparent;
    padding: 0 8px;
}

.navbar-menu>button.active {
    color: inherit;
}

.nav-link {
    color: var(--clr-light);
}

.nav-logo img {
    width: 100%;
    object-fit: cover;
    width: 20rem;
}

.section-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(../image/hero.webp);
    background-repeat: no-repeat;
    background-size: cover;
    object-fit: cover;
    width: 100%;
}

.hero {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
}

@media(min-width:76.8rem) {
    .hero {
        flex-direction: row;
        text-align: left;
        justify-content: start;
    }
}

.hero-texts {
    color: var(--clr-light);
    padding: 2rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    width: 70rem;
    margin-top: 5rem;

}

.hero-texts h1 {
    font-size: 3rem;
    margin: 2rem 0;
    font-weight: 500;
}

@media (min-width:768px) {
    .hero-texts h1 {
        font-size: 6rem;
    }
}


.hero-texts p {
    font-size: 2.2rem;
    font-weight: 300;
}

.hero-texts .hero-text {
    font-weight: 300;
    margin-bottom: 4rem;
    font-size: 1.4rem;
}

.hero-btn {
    border: .2rem solid var(--clr-secondary);
    padding: 1rem 4rem;
    color: var(--clr-light);
    font-size: var(--typography-styles-button-font-size);
    cursor: pointer;
}

.hero-image {
    flex: 0 0 40%;
    position: relative;

    -webkit-animation: scale-in-center 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation: scale-in-center 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}





.hero-image img {
    display: none;
}


@media(min-width:76.8rem) {
    .hero-image img {
        display: block;
        border-radius: 1rem;
        height: 40rem;
    }


    .hero-image::before {
        content: "";
        position: absolute;
        border: 0.5rem solid var(--clr-secondary);
        top: 1.5rem;
        left: 1.5rem;
        width: 100%;
        height: 40rem;
        border-radius: 2rem;
        z-index: -999;
    }
}


.section-cards {
    padding: 10rem 0;
    margin: 0 auto;
    max-width: 160rem;
}

.cards {
    display: grid;
    align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}


.card {
    padding: 0 2rem;
    align-items: start;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.card-icon {
    background-color: var(--clr-secondary);
    width: 5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    border-radius: 1rem;
}

.card svg {
    font-size: 2.4rem;
    fill: var(--clr-light);
}

.card,
h3 {
    margin-bottom: 2rem;
}

:where(.card, h3 p) {
    color: var(--clr-light);
}

.section-products {
    padding: 8rem 0;

}

.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    max-width: 150rem;
    margin: 0 auto;
    gap: 2rem;
}

.product {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.product p {
    color: var(--clr-light);
}

.product img {
    width: 20rem;
    height: 20rem;
    border-radius: 50%;
    filter: grayscale(100%);
    transition: filter 0.3s ease-in-out;
}



.product img:hover {
    filter: grayscale(0%);
}

.section-about {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url("../image/about.svg");
    min-height: 80vh;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 4rem 0;
}

.section-about .headings {
    margin-bottom: 0;
}

.about-text {
    color: #fff;
    max-width: 70rem;
    font-weight: 400;
    text-align: center;
    padding: 0 2rem;
}

.section-works {
    padding: 8rem 0;
}


.hidden {
    visibility: hidden;
    opacity: 0;
}

.hidden-btn {
    display: none;
}

.btn-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 1rem 4rem;
    background-color: var(--clr-secondary);
    color: var(--clr-light);
    font-size: var(--typography-styles-button-font-size);
    border-radius: .5rem;
}


.slideshow-container {
    position: relative;
}

.mySlides {
    display: none;
    padding: 80px;
    text-align: center;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -30px;
    padding: 16px;
    color: #888;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    position: absolute;
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
}

.dot-container {
    text-align: center;
    padding: 20px;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active,
.dot:hover {
    background-color: #717171;
}

q {
    color: var(--clr-light);
    font-style: italic;
}

.author {
    color: var(--clr-primary);
}


.nets {
    background-color: var(--clr-secondary);
    text-align: center;
    padding: 5rem 0;
    max-width: 120rem;
    margin: 0 auto 2rem auto;
    width: 95%;
}

.nets a {
    color: #fff;
    font-weight: 400;

}

.nets a svg {
    fill: #fff;
    font-size: 4rem;
    display: block;
    margin: 0 auto;
}

.accordion {
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1.8rem;
    transition: 0.4s;
    background-color: var(--clr-primary);
    color: var(--clr-light);
}



.accordion:after {
    content: '\002B';
    color: #777;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

.active:after {
    content: "\2212";
}

.panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    margin-bottom: 2rem;
}



.section-center {
    max-width: 130rem;
    margin: 0 auto;
    padding: 4rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    place-items: center;
    gap: 4rem 2rem;
}

.menu-item img {
    border-radius: .5rem;
    height: 45rem;
    background-size: cover;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--clr-dark);
    color: var(--clr-light);
    padding: 5rem 6rem;
    box-shadow: 0 4rem 6rem rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.5s;
    width: 95%;
    max-width: 60rem;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 100;
    transition: all 0.5s;
}

.modal__header {
    margin-bottom: 4.5rem;
    width: 100%;
}

.modal__form {
    display: flex;
    flex-direction: column;
}

.modal__form label {
    font-size: 1.7rem;
    font-weight: 500;
}

.modal__form input {
    font-size: 1.7rem;
    padding: 1rem 1.5rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    margin-bottom: 2rem;

}

.modal__form button {
    grid-column: 1 / span 2;
    justify-self: center;
    margin-top: 1rem;
}

.btn--close-modal {
    font-family: inherit;
    color: inherit;
    position: absolute;
    top: 0.5rem;
    right: 2rem;
    font-size: 4rem;
    cursor: pointer;
    border: none;
    background: none;
}

.btn-submit {
    display: inline-block;
    background-color: var(--clr-primary);
    color: var(--clr-light);
    font-size: 1.6rem;
    font-family: inherit;
    font-weight: 500;
    border: none;
    padding: 1.25rem 4.5rem;
    border-radius: 10rem;
    cursor: pointer;
    transition: all 0.3s;
}

.hidden {
    visibility: hidden;
    opacity: 0;
}


.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--clr-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-screen img {
    width: 20rem;
}

.content {
    display: none;
}


@-webkit-keyframes text-focus-in {
    0% {
        -webkit-filter: blur(12px);
        filter: blur(12px);
        opacity: 0;
    }

    100% {
        -webkit-filter: blur(0px);
        filter: blur(0px);
        opacity: 1;
    }
}

@keyframes text-focus-in {
    0% {
        -webkit-filter: blur(12px);
        filter: blur(12px);
        opacity: 0;
    }

    100% {
        -webkit-filter: blur(0px);
        filter: blur(0px);
        opacity: 1;
    }
}

@-webkit-keyframes scale-in-center {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
        opacity: 1;
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes scale-in-center {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
        opacity: 1;
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }
}

.logo-content {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-bottom: 2rem;
    gap: 1rem;

    & img {
        width: 10rem;
    }
}

.links-icons {
    margin-bottom: 2rem;
}

.links-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}



.btn-link {
    background-color: var(--clr-secondary);
    text-align: center;
    padding: 1.2rem 0;
    border-radius: 1rem;
    display: grid;
    grid-template-columns: 4rem 12rem;
    place-content: center;
    align-items: center;
}

.error {
    background-color: #ef4444;
    text-align: center;
    padding: 1rem;
    border-radius: .4rem;
}

.form {
    background-color: #7e22ce;
}



.services {
    max-width: 80rem;
}

@media (min-width: 1200px) {
    .services {
        max-width: 120rem;
    }
}


.services-cards {
    width: 35rem;
    height: 30rem;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    padding: 2rem;
    border: 2px solid gray;
    border-radius: .6rem;
    transition: all ease .2s;
}

.services-cards:hover {
    background-color: rgba(128, 128, 128, 0.318);
}

.card-img {
    display: flex;
    align-items: start;
    justify-content: start;
    margin-bottom: 2rem;

    & img {
        width: 8rem;
    }
}


.card-text {
    color: var(--clr-light);

    & p {
        font-size: 1.4rem;
    }
}

.footer {
    padding: 6rem 0;
    background-color: var(--clr-dark);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-left img {
    width: 20rem;
}

.footer-text {
    color: var(--clr-light);
    font-size: 1.2rem;
    text-align: center;
}


.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

.footer-contact h3,
.footer-links h3 {
    color: var(--clr-light);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.footer-contact p {
    color: var(--clr-light);
    font-size: 1.4rem;
    text-align: center;
}


.footer-links {
    text-align: center;
}

.footer-social {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.footer-link img {
    width: 3rem;
    transition: transform 0.3s ease;
}

.footer-link:hover img {
    transform: scale(1.2);
}


@media (min-width: 768px) {
    .footer-text {
        text-align: left;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .footer-left {
        align-items: flex-start;
        text-align: left;
    }

    .footer-contact h3 {
        text-align: left;
    }

    .footer-contact p {
        text-align: left;
    }

    .footer-links {
        text-align: left;
    }

    .footer-social {
        justify-content: flex-start;
    }
}

.map-section {
    padding: 8rem 0;
    background-color: var(--clr-dark);
}

.map-container {
    max-width: 120rem;
    width: 95%;
    margin: 0 auto;
    text-align: center;
}

.map-title {
    font-size: var(--typography-styles-headline5-font-size);
    font-weight: 600;
    color: var(--clr-light);
    margin-bottom: 1rem;
}

.map-subtitle {
    font-size: var(--typography-styles-body1-font-size);
    color: var(--clr-light);
    opacity: 0.8;
    margin-bottom: 3rem;
}

.map-wrapper {
    width: 100%;
    height: 45rem;
    overflow: hidden;
    border-radius: 1.6rem;
    border: .2rem solid var(--clr-secondary);
    box-shadow: var(--shadow-2xl);
    transition: transform .3s ease;
}

.map-wrapper:hover {
    transform: scale(1.01);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 1.6rem;
}