@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap");

*,
*::after,
*::before {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
html:focus-within {
    scroll-behavior: smooth;
}
body {
    min-height: 100vh;
    text-rendering: optimizeSpeed;
    background-color: var(--white);
    color: var(--blue);
    font-family: Cairo, "Courier New", Courier, monospace;
}
ul,
ol,
dl {
    list-style: none;
}
a {
    text-decoration: none;
}
:root {
    --white: #fff;
    --blue: #141d43;
    --gold: #fbc833;
}
/*  layout */
nav.navbar,
footer.footer {
    background-color: var(--gold);
}

.navbar .navbar-brand {
    width: 7rem;
    height: 2.5rem;
}
.navbar .navbar-brand img {
    height: 100%;
    width: 100%;
    aspect-ratio: 716/237;
    object-fit: cover;
}

.navbar .nav-link {
    height: 2.5rem;
    color: var(--blue);
    font-size: 1rem;
    margin-inline: 0.625rem;
    transition: color 0.3s ease;
    font-weight: 600;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--white);
}
.navbar-toggler {
    padding-inline: 0.5rem;
    border-color: var(--blue);
}
.navbar-toggler:focus {
    box-shadow: none;
}
.navbar .nav-item {
    opacity: 0;
    animation: fadeUp 600ms ease-in-out forwards;
}
.navbar .nav-item:nth-child(1) {
    animation-delay: 300ms;
}
.navbar .nav-item:nth-child(2) {
    animation-delay: 400ms;
}
.navbar .nav-item:nth-child(3) {
    animation-delay: 500ms;
}
.navbar .nav-item:nth-child(4) {
    animation-delay: 600ms;
}
@media (max-width: 61.99em) {
    .navbar-collapse {
        position: fixed;
        top: 3.5rem;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--gold);
        z-index: 1050;
        opacity: 0;
        transition: opacity 0.4s ease;
        border-top: 1px solid var(--blue);
    }
    .navbar-collapse.show {
        opacity: 1;
    }

    .navbar-nav {
        height: 100%;
        justify-content: center;
        align-items: center;
        padding: 3rem 2rem;
        gap: 1rem;
    }

    .navbar-collapse.show .nav-link {
        font-size: 1.25rem;
        font-weight: 600;
    }
    .navbar-collapse .nav-item {
        opacity: 0;
    }
    .navbar-collapse.show .nav-item {
        animation: fadeUp 0.3s ease-in-out forwards;
    }

    .navbar-collapse.show .nav-item:nth-child(1) {
        animation-delay: 0.3s;
    }

    .navbar-collapse.show .nav-item:nth-child(2) {
        animation-delay: 0.6s;
    }

    .navbar-collapse.show .nav-item:nth-child(3) {
        animation-delay: 0.9s;
    }

    .navbar-collapse.show .nav-item:nth-child(4) {
        animation-delay: 1.2s;
    }

    .navbar-collapse.show .nav-link {
        font-size: 1.25rem;
        font-weight: 600;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-brand .brand-info {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 10rem;
    height: 4rem;
    margin-bottom: 1.5rem;
}
.brand-info img {
    width: auto;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    aspect-ratio: 716/237;
}
footer.footer h5 {
    color: var(--white);
    margin-bottom: 0.5rem;
}
.contact-footer {
    margin-bottom: 1rem;
}
.contact-footer i {
    font-size: 1.25rem;
    color: var(--white);
}
.contact-footer span {
    color: var(--blue);
}
.social-media-footer a {
    width: 2.25rem;
    height: 2.25rem;
    display: inline-block;
    padding-block: 0.5rem;
    margin-left: 0.25rem;
    border-radius: 0.25rem;
    background-color: var(--blue);
    font-size: 1.25rem;
    text-align: center;
    line-height: 1;
    transition: 0.3s;
}
.social-media-footer i {
    color: var(--white);
}
.social-media-footer a:hover > i {
    color: var(--blue);
}
.social-media-footer a:hover {
    background-color: transparent;
    border: 1px solid var(--blue);
}
.footer-link ul {
    margin-bottom: 0;
}
.footer-link li {
    padding-block: 0.5rem;
}
@media (max-width: 61.99em) {
    .footer-link li {
        padding-block: 0.25rem;
    }
    .footer-link ul {
        padding-right: 1rem;
    }
}

.news-letter form {
    background: var(--white);
    padding: 0.275rem 0.0625rem;
    border: 1px solid var(--blue);
    max-width: 36rem;
    position: relative;
    border-radius: 0.25rem;
}
@media (max-width: 576px) {
    .news-letter form {
        width: 94%;
        margin-inline: auto;
    }
}

.news-letter input.input {
    padding: 0.25rem 0.5rem;
    border: 0;
    width: calc(100% - 5.7rem);
}
.news-letter .input:focus,
.input:hover {
    outline: 0;
}
.news-letter input.button {
    border: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 5.7rem;
    padding-inline: 1.25rem;
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
    background-color: var(--blue);
    color: var(--white);
}
.small-f {
    background-color: var(--blue);
}
.whatsapp-float {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    background: #25d366;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    transition: all 0.4s;
}
.whatsapp-float i {
    font-size: 2rem;
    color: var(--white);
    line-height: 0;
}
.f-color,
a {
    color: var(--blue);
}
.swiper-pagination {
    position: absolute;
    text-align: center;
}
.swiper {
    padding-bottom: 2rem;
}
.swiper-pagination-bullet {
    opacity: 1;
    background-color: var(--blue);
}
.swiper-pagination-bullet-active {
    background-color: var(--gold);
}
.form-control::placeholder {
    color: var(--blue);
}
.form-control:focus {
    border-color: var(--gold);
    box-shadow: none;
}
.form-control.is-invalid:focus {
    box-shadow: none;
}
/* home page  */

.header {
    height: calc(100vh - 3.5rem);
    padding-top: 3.5rem;
    position: relative;
    overflow-y: hidden;
}
.header .title {
    padding-inline: 1.5rem;
    width: 100%;
    z-index: 1000;
}
.header h2 {
    color: var(--white);
    text-align: start;
    font-weight: 900;
    line-height: 1.6;
    font-size: calc(1.75rem + 1.5vw);
}
.header .image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url("/assets/images/header.png") center/cover no-repeat;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform, opacity;
    transition: transform 0.3s ease-in-out;
}
@media (min-width: 48em) {
    section.header {
        .title {
            max-width: calc(41.67% + 3rem);
        }
    }
}

.welcome-image {
    width: 100%;
    max-width: 1440px;
    aspect-ratio: 16/9;
    max-height: 18rem;
}
.welcome-image img {
    width: 100%;
    height: 100%;
}
.features .section-body {
    border-radius: 1rem;
    border: 1px solid #b6acac;
    max-width: 1400px;
    margin-inline: auto;
}

.feature {
    padding: 1.5rem 1rem;
    display: flex;
    margin-inline: 0.5rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 14rem;
    margin-inline: auto;
    text-align: center;
}

.feature span {
    padding: 1.25rem;
    border: 1px solid var(--blue);
    border-radius: 50%;
}

.feature i {
    line-height: 1;
    font-size: 2.5rem;
    color: var(--gold);
}

.feature h3 {
    margin-block: 0.75rem 0;
    font-size: 1.5rem;
    padding-block: 0.75rem;
}

.feature:hover span {
    border: 1px solid var(--gold);
    background-color: var(--blue);
}
.product {
    max-width: 18.5rem;
    margin-inline: auto;
}
.product img {
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    height: 16rem;
}
.product img:hover {
    transform: scale(97%);
}
.product p {
    margin-block: 0.5rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product a {
    background-color: #fbd238;
    padding: 0.75rem 1rem;
    color: var(--blue);
    font-size: 1.125rem;
}
.product .product-icon {
    width: 1.5rem;
    height: 1.5rem;
}
.product .button-title {
    font-weight: 600;
}
.product .product-icon i {
    font-size: 1.5rem;
}

.clients img {
    max-height: 7rem;
    max-width: 7rem;
}
.page-layout {
    max-width: 800px;
    margin-inline: auto;
}
/*  about page */
.about-page h2 {
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.about-page h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background-color: var(--gold);
}
.about-page p {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* contact page */
.form .card {
    border-radius: 0.5rem;
    border-width: 0.125rem;
}

.contact-icon {
    font-size: 2rem;
    color: var(--gold);
    margin-left: 1rem;
}
.contact-content {
    overflow: hidden;
}
.contact-content a,
.contact-content p {
    font-size: 1.25rem;
    text-overflow: ellipsis;
    white-space: break-spaces;
    word-wrap: break-word;
}

.gold-btn {
    background: var(--gold);
    color: var(--blue);
    padding: 0.75rem 2.5rem;
    border-radius: 0.5rem;
    font-weight: bold;
}

.form-in {
    background-color: #f1f1f1;
    border: 2px solid rgb(20 29 67 / 75%);

    border-radius: 0.5rem;
    color: var(--blue);
}
.map {
    width: 100%;
    aspect-ratio: 16 / 12;
    max-height: 20rem;
    overflow: hidden;
}
.map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
/* terms_conditions page and clothing_care page */
.list-group-item {
    font-size: 1.1em;
    border: none;
    counter-increment: item;
}
.list-group-item::before {
    content: counter(item) ". ";
    font-weight: bold;
}

/* product details page  */
.img-box {
    height: 15rem;
}
.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (min-width: 576px) {
    .img-box {
        height: 20rem;
    }
}
@media (min-width: 768px) {
    .img-box {
        height: 25rem;
    }
}

.swiper-button-next,
.swiper-button-prev {
    background: var(--gold);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    content: "" !important;
}

.swiper-button-next::before {
    content: "";
    width: 15px;
    height: 15px;
    border-top: 3px solid var(--blue);
    border-left: 3px solid var(--blue);
    transform: rotate(-45deg);
    margin-right: -3px;
}

.swiper-button-prev::before {
    content: "";
    width: 15px;
    height: 15px;
    border-top: 3px solid var(--blue);
    border-right: 3px solid var(--blue);
    transform: rotate(45deg);
    margin-left: -3px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--blue);
}

.swiper-button-next:hover::before,
.swiper-button-prev:hover::before {
    border-color: var(--gold);
}

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

@media (hover: hover) and (pointer: fine) {
    .swiper:hover .swiper-button-prev,
    .swiper:hover .swiper-button-next {
        display: flex;
    }
}
.product-title {
    margin-top: 2rem;
}
.product-description {
    margin: 2rem 0;
    line-height: 1.6;
}

.related-products .swiper-slide {
    padding: 10px;
}
.related-products .card {
    border: none;
}
.related-products .card-img-top {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
