:root {
    --color-primary: #C6A552;
    --swiper-pagination-color: #C6A552;
    --swiper-pagination-bottom: 20px;
    --swiper-pagination-bullet-width: 12px;
    --swiper-pagination-bullet-height: 12px;
}

html {
    scroll-behavior: smooth;
}

body {
    max-width: 1440px;
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    margin: 0 auto;
    color: #242424;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

a {
    color: inherit;
}

header,
footer,
section {
    padding: 0 64px;
    width: 100%;
}

section:not(:first-child) {
    margin-top: 120px;
}

@media screen and (max-width: 600px) {
    section:not(:first-child) {
        margin-top: 64px;
    }
}

/* HEADER */
header {
    height: 104px;
    display: flex;
    justify-content: space-between;
}

header .logo {
    height: 100%;
    object-fit: contain;
}

header nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

header nav ul {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* HEADER END */

main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* TOP SECTION */
.top-section {
    padding-top: 60px;
    padding-bottom: 32px;
    display: flex;
    justify-content: space-between;
}

.top-section>div {
    max-width: 755px;
    display: flex;
    flex-direction: column;
    align-items: start;
}

.top-section>div a {
    margin-top: 24px;
}

.top-section>p {
    max-width: 440px;
    text-align: right;
}

/* TOP SECTION  END */

/* HERO BANNER */
.hero-banner {
    aspect-ratio: 2/1;
}

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* HERO BANNER END */

/* PROJECTS */
.swiper-projects {
    position: relative;
    width: 100%;
    padding: 40px 0;
    overflow: hidden;
    height: 700px;
}

.swiper-projects .swiper-wrapper {
    align-items: center;
}

.swiper-projects .swiper-slide {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    border-radius: 12px;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.swiper-projects .swiper-slide-active {
    transform: scale(1.5) !important;
    z-index: 3;
}

.swiper-projects .swiper-slide img {
    border-radius: 24px;
    aspect-ratio: 1;
    object-fit: cover;
}

.swiper-projects .swiper-pagination {
    bottom: 0 !important;
}

/* PROJECTS END */

/* BRANDS */
.brands {}

.brands .swiper-brands {
    overflow: hidden;
    margin-top: 32px;
}

.brands .swiper-brands .swiper-wrapper {
    align-items: center;
}

.brands .swiper-brands .swiper-slide {
    text-align: center;
    height: 100%;
}

/* BRANDS END */

/* REVIEWS */
.reviews {
    position: relative;
}

.reviews h4 {
    max-width: 860px;
}

.swiper-reviews {
    margin-top: 32px;
    overflow: hidden;
}

.review-card {
    border-radius: 24px;
    background-color: #F3F3F3;
    padding: 36px 32px;
    overflow: hidden;
}

.review-card>p {
    position: relative;
    font-size: 18px;
    font-weight: 300;
    height: 375px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5em;
    max-height: 100%;
    -webkit-line-clamp: 14;
}

.review-card>p.visible {
    height: auto;
    -webkit-line-clamp: none;
}

.review-card button {
    display: block;
    opacity: 0;
    font-size: 16px;
    padding: 12px;
    margin-top: 6px;
    margin: 0 auto;
    color: #9a9a9a;
    height: 44px;
}

.review-card>p:not(.visible).truncate-effect::after {
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(27px * 5);
    background: linear-gradient(to top, #F3F3F3 0%, transparent 100%);
}

.review-card .card-footer {
    margin-top: 24px;
}

.review-card .card-footer img {
    height: 48px;
    aspect-ratio: 1;
}

.review-card .card-footer p {
    display: inline-flex;
    font-size: 14px;
    line-height: 1.75;
    margin-left: 16px;
    flex-direction: column;
    justify-content: space-between;
}

/* REVIEWS END */

/* RENT */

.rent {}

.swiper-rent {
    overflow: hidden;
    padding-bottom: 60px;
    margin-top: 32px;
    font-size: 20px;
    position: relative;
}

.rent-card h5 {
    font-weight: 300;
    margin-top: 16px;
}

.rent-card p {
    font-weight: 700;
    margin: 8px 0 24px;
}

.swiper-rent .swiper-pagination {
    display: none;
}

.swiper-rent .swiper-button-prev,
.swiper-rent .swiper-button-next {
    bottom: 0;
    top: unset !important;
    padding: 12px;
    background: var(--color-primary);
    border-radius: 50%;
    color: #fff;
    height: 48px;
    width: 48px;
}

.swiper-rent .swiper-button-prev {
    right: calc(48px + 16px) !important;
    left: unset !important;
}

.swiper-rent .swiper-button-next {
    right: 0 !important;
}

/* RENT END */

/* CERT */
.swiper-cert {
    position: relative;
    margin-top: 32px;
    overflow: hidden;
}

/* CERT END */

/* FORM */

.form-section>div {
    margin-top: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.form-section form {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-section form input,
.form-section form textarea {
    border-radius: 10px;
    border: 1px solid #797979;
    padding: 14px 16px;
}

.form-section form button {
    display: block;
    margin-right: auto;
}

/* FORM END */

/* FOOTER */
footer {
    border-top: 1px solid #C6A55245;
    padding-top: 40px;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

footer .footer-main {
    display: flex;
    gap: 40px;
}

footer .footer-main>div {
    display: flex;
    flex-direction: column;
    align-items: start;
}

footer .footer-main>div .logo {
    height: 140px;
    object-fit: contain;
}

footer .footer-main>div p {
    color: var(--color-primary);
    padding: 16px 0 32px;
}

footer .footer-main>div ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

footer .footer-main>nav {
    flex: 1;
}

footer .footer-main>nav .nav {
    display: flex;
    justify-content: end;
    gap: 32px;
    font-weight: 700;
}

footer .subfooter {
    font-weight: 700;
}

.btn {
    border-radius: 40px;
    padding: 16px 20px;
}

.btn-primary {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background-color: var(--color-primary);
}

@media screen and (max-width: 600px) {

    .btn {
        padding: 14px 20px;
    }

    header,
    footer,
    section {
        padding: 0 20px;
    }

    header {
        height: 72px;
        margin-top: 16px;
    }

    header nav ul {
        display: none;
    }

    .top-section {
        padding-top: 32px;
        padding-bottom: 24px;
    }

    .top-section>div a {
        margin-top: 16px;
    }

    .top-section>p {
        display: none;
    }

    .hero-banner {
        aspect-ratio: 375/240;
    }

    .swiper-projects {
        padding: 0;
        height: 400px;
    }

    .swiper-projects .swiper-slide-active {
        transform: scale(1.25) !important;
    }

    .reviews {
        padding-bottom: 40px;
    }

    .review-card>p {
        font-size: 16px;
        height: 176px;
    }

    .review-card .card-footer p {
        font-size: 12px;
    }

    .swiper-rent {
        font-size: 16px;
    }

    .swiper-rent .swiper-pagination {
        display: block;
    }

    .swiper-rent .swiper-button-prev,
    .swiper-rent .swiper-button-next {
        display: none;
    }

    .swiper-cert {
        margin-top: 24px;
        padding-bottom: 40px;
    }

    .form-section img {
        display: none;
    }

    .form-section>div {
        margin-top: 24px;
        grid-template-columns: 1fr;
    }

    footer {
        padding-top: 20px;
        padding-bottom: 20px;
        display: flex;
        flex-direction: column;
        gap: 64px;
    }

    footer .footer-main>div .logo {
        height: 80px;
    }

    footer .footer-main>nav {
        display: none;
    }
}



/* COMMON */

h1 {
    font-size: 64px;
}

h4 {
    font-size: 20px;
}

.fw-light {
    font-weight: 200;
}

.text-primary {
    color: var(--color-primary);
}

@media screen and (max-width: 600px) {
    h1 {
        font-size: 32px;
    }

    h4 {
        font-size: 14px;
    }
}

form.loading .loader {
    display: flex;
}
.loader {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff5c;
    justify-content: center;
    align-items: center;
}

.loader-icon {
    width: 48px;
    height: 48px;
    border: 5px solid var(--color-primary);
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}