/* FONT */
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

/* VARIABLES */
:root {
    /* Palette */
    --main-color: #940326;
    --primary-bg-color: #FAFAFA;
    --secondary-bg-color: #FFFFFF;
    --terciary-bg-color: #EEEEEE;

    /* Tipography */
    --base-font: 'Roboto', sans-serif;
    --alternative-font: 'Arial', sans-serif;
    --text-color: #343434;
    --text-soft-color: #707070;
    --alternative-text-color: #FFFFFF;

    /* Font Sizes */
    --font-display: 4em;
    --font-jumbo: 3.6em;
    --font-xxlarge: 3.2em;
    --font-xlarge: 2.8em;
    --font-mlarge: 2.4em;
    --font-slarge: 2.2em;
    --font-large: 2em;
    --font-medium: 1.8em;
    --font-small: 1.6em;
    --font-msmall: 1.4em;
    --font-xsmall: 1.2em;
    --font-xxsmall: .8em;

    /* Spacings */
    --spacing-128: 12.8rem;
    --spacing-68: 6.8rem;
    --spacing-48: 4.8rem;
    --spacing-36: 3.6rem;
    --spacing-28: 2.8rem;
    --spacing-24: 2.4rem;
    --spacing-20: 2rem;
    --spacing-16: 1.6rem;
    --spacing-12: 1.2rem;
    --spacing-10: 1rem;
    --spacing-8: 0.8rem;
    --spacing-6: 0.6rem;
};

/* NORMALICE */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    font-family: var(--base-font);
    color: var(--text-color);
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    font-family: inherit;
    color: inherit;
}

ul,
ol {
    list-style-type: none;
    padding-inline-start: 0;
}

img {
    width: 100%;
}

/* INDEX CSS */

/* Header */
.header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background-color: var(--secondary-bg-color);
    overflow: hidden;
}

#menu__icon {
    position: relative;
    font-size: var(--font-xxlarge);
    cursor: pointer;
    color: var(--text-color);
    display: none;
    align-items: center;
    justify-content: center;
    transition: .3s ease-in-out;
    border: solid 2px transparent;
    border-radius: 50%;
}

.header .header__logo {
    display: flex;
    padding-left: 9%;
}

.header .header__logo img {
    width: 167px;
    height: auto;
}

.header .header__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 9%;
}

.header .header__nav.hidden {
    display: none;
}

.header__nav .nav__list {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
}

.nav__list .nav__item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav__item .nav__link {
    position: relative;
    display: block;
    line-height: 80px;
    padding: 0 50px;
    font-size: var(--font-small);
    font-weight: 500;
    color: var(--text-soft-color);
    z-index: 2;
}

.nav__item .nav__link.fixed {
    color: var(--alternative-text-color);
    text-decoration: underline;
}

.nav__item .nav__link.fixed:before,
.nav__item .nav__link.fixed:hover::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    right: -100%;
    bottom: 0;
    background-color: #393939;
    transform: skewX(-20deg);
    z-index: -1;
}

.nav__item .nav__link.fixed:after,
.nav__item .nav__link.fixed:hover:after {
    content: '';
    position: absolute;
    top: 0;
    right: 93%;
    bottom: 0;
    width: 4%;
    background: var(--main-color);
    transform: skewX(-20deg);
}

.nav__item .nav__link.active:before,
.nav__item .nav__link:hover:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #EEEEEE;
    transform: skewX(-20deg);
    z-index: -1;
}

.nav__item .nav__link.active:after,
.nav__item .nav__link:hover:after {
    content: '';
    position: absolute;
    top: 0;
    right: 100%;
    bottom: 0;
    width: 4%;
    background: var(--main-color);
    transform: skewX(-20deg);
}

/* Main */
main{
    overflow: hidden;
}
main section {
    /* padding: 10rem 9%; */
    /* min-height: 100vh; */
}

/* Hero Section */
.hero__section {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.hero__section > img{
    position: absolute;
    top: 0;
    left: 0;
    height: 65vh;
    width: 100%;
    object-fit: cover;
}

.hero__section .about__wrap {
    /* position: absolute;
    top: 86%;
    left: 9%;
    right: 9%; */
    margin-top: 55vh;
    z-index: 1;
}

.about__wrap .about__cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    box-shadow: 0 8px 20px #00000026;
}
@media (max-width: 920px) {
    .about__wrap .about__cards {
        grid-template-columns: repeat(2, 2fr);
    }
}

.about__cards .about__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: var(--spacing-68) var(--spacing-36);
}

.about__card:nth-child(odd) {
    background-color: var(--secondary-bg-color);
}

.about__card:nth-child(even) {
    background-color: var(--terciary-bg-color);
}

.about__card .card__title {
    font-size: var(--font-medium);
    font-weight: 600;
    color: var(--text-color);
}

.about__card .card__description {
    font-size: var(--font-msmall);
    font-weight: 400;
    text-align: left;
    color: var(--text-soft-color);
    white-space: pre-line;
}

.about__card .card__bottom {
    width: var(--spacing-20);
    height: 2px;
    background-color: var(--main-color);
    border-radius: var(--spacing-6);
}

/* Brands Section */
.brands__section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 10% 1rem 4%;
}

.brands__section .brand__heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
}

.brand__heading .brand__title {
    font-size: var(--font-jumbo);
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.brand__heading .brand__subtitle {
    font-size: var(--font-small);
    font-weight: 300;
    color: var(--text-soft-color);
}

.brand__heading .brand__bottom {
    width: 10%;
    height: 2px;
    background-color: var(--main-color);
    border-radius: var(--spacing-6);
}

.brands__section .brands__wrap {
    padding: var(--spacing-48) 0;
    width: 100%;
}

.brands__wrap .brands__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-36);
    width: 100%;
}

.brands__list .brand__item {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.brand__item .brand__img {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-row: span 2;
}

.brand__item .brand__img img {
    width: 80%;
    aspect-ratio: 2/2;
    object-fit: contain;
    object-position: center;
}

.brand__item .brand__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    height: 100%;
}

.brand__content .brand__text {
    font-size: var(--font-msmall);
    font-weight: 300;
}

.brand__content .brand__link {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.brand__link a {
    font-size: var(--font-small);
    font-weight: 400;
    color: var(--secondary-bg-color);
    background-color: var(--main-color);
    border-radius: var(--spacing-6);
    padding: var(--spacing-12) var(--spacing-24);
}

/* Services Section */
.service__section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 10rem 9% var(--spacing-28);
    position: relative;
}

.service__section > img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 500px;
    object-fit: cover;
    z-index: 1;

}

.service__section .service__heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    z-index: 2;
}

.service__heading .service__title {
    font-size: var(--font-xxlarge);
    font-weight: 600;
    color: var(--alternative-text-color);
    margin: 0;
}

.service__heading .service__subtitle {
    font-size: var(--font-small);
    font-weight: 300;
    color: var(--alternative-text-color);
}

.service__heading .service__bottom {
    width: 10%;
    height: 2px;
    background-color: var(--main-color);
    border-radius: var(--spacing-6);
}

.service__section .service__wrap {
    width: 100%;
    z-index: 3;
}

.service__wrap .service__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-36);
    padding: var(--spacing-48) 0;
    width: 100%;
}

.service__list .service__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-24);
    height: fit-content;
    background-color: var(--secondary-bg-color);
    border-radius: var(--spacing-20);
    box-shadow: 0 0 20px #00000029;
}

.service__item .service__img {
    display: flex;
    align-items: center;
    justify-content: center;
}

.service__img img {
    /* width: 40%; */
    object-fit: contain;
    object-position: center;
    height: 200px;
    object-fit: contain;
}
.service__img.is-item img {
    width: 75%;
}

.service__item .service__content {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    height: 100%;
}

.service__content .service__text {
    display: flex;
    flex-direction: column;
}

.service__text .service__title {
    font-size: var(--font-medium);
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.service__text .service__description {
    font-size: var(--font-msmall);
    font-weight: 300;
    color: var(--text-soft-color);
}

.service__content .service__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.service__link a {
    font-size: var(--font-small);
    font-weight: 400;
    color: var(--secondary-bg-color);
    background-color: var(--main-color);
    border-radius: var(--spacing-6);
    padding: var(--spacing-12) var(--spacing-24);
}

.service__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    margin-top: 12rem;
}

.service__footer .footer__nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

.footer__nav .nav__link {
    font-size: var(--font-small);
    font-weight: 600;
    color: var(--main-color);
    text-decoration: underline;
    width: 100%;
}

.service__footer .footer__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.footer__logo img {
    width: 167px;
    height: auto;
}

.service__footer .footer__social {
    width: 100%;
}

.footer__social .social__list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--spacing-12);
    width: 100%;
    margin: 0;
}

.social__list .social__item .item__text {
    font-size: var(--font-small);
    font-weight: 300;
    color: var(--text-soft-color);
}

.social__list .social__item a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-jumbo);
}

/* Footer */
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    /* padding: var(--spacing-12) 9%; */
}
.foote_sr{
    background-color: #ECECEC;
    width: 100%;
    margin-top: 10px;
}
.foote_sr div{
    padding: 10px ;
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.footer a {
    font-size: var(--font-small);
    color: var(--text-soft-color);
}

.footer a:nth-last-of-type(1) {
    font-size: var(--font-slarge);
}

/* BREAKPOINTS */
@media (max-width: 1200px) {
    .html {
        font-size: 55%;
    }

    /* Brands Section */
    .brands__section {
        justify-content: center;
    }
}

@media (max-width: 991px) {
    .html {
        font-size: 52%;
    }

    /* Header */
    .header .header__logo img {
        width: 160px;
        height: 30px;
        object-fit: unset;
    }
    .nav__item .nav__link {
        font-size: var(--font-msmall);
        line-height: 64px;
        padding: 0 20px;
    }

    /* Main */
    main section {
        /* padding: 8rem 5%; */
    }

    /* Hero Section */
    .about__cards .about__card {
        padding: var(--spacing-36) var(--spacing-24);
    }

    .service__list .service__item {
        grid-template-rows: none;
    }

    /* Brands Section */
    /* .brands__section {
        padding: 18rem 5% var(--spacing-28);
    } */

    /* Service Section */
    .service__section {
        padding: 8rem 5%;
    }

    /* Footer */
    .footer {
        /* padding: var(--spacing-12) 5%; */
    }
}

@media (max-width: 768px) {
    /* Header */
    .header {
        overflow: unset;
    }
    .header .header__logo {
        padding-left: 5%;
    }
    .header .header__nav {
        padding-right: 0;
    }
    .header #menu__icon::before {
        position: absolute;
        content: '';
        top: -2px;
        left: -14%;
        right: 14%;
        bottom: -2px;
        background-color: #393939;
        transform: skewX(-20deg);
    }
    #menu__icon {
        display: block;
        padding: var(--spacing-12) 5%;
    }
    #menu__icon i {
        position: relative;
        color: var(--secondary-bg-color);
        border: 2px solid var(--main-color);
        border-radius: 50%;
        z-index: 1;
    }
    #menu__icon span {
        position: absolute;
        top: -2px;
        right: -2px;
        bottom: -2px;
        width: 40%;
        background-color: #393939;
    }
    #menu__icon.active {
        border: solid 2px var(--main-color);
    }
    .header__nav {
        position: absolute;
        display: none;
        top: 100%;
        right: 100%;
        width: 100%;
        background-color: var(--primary-bg-color);
        transition: .3s ease-in-out;
        transition-delay: .20s;
        z-index: 1;
    }
    .header__nav.active {
        display: flex;
        right: 0;
    }
    .nav__item .nav__link.fixed::before,
    .nav__item .nav__link.fixed:hover::before {
        right: 0;
    }

    /* Hero Section */
    .hero__section .about__wrap {
        left: 5%;
        right: 5%;
    }

    /* Service Section */
    .service__wrap .service__list {
        padding: var(--spacing-12) 0;
        gap: var(--spacing-12);
    }
    .service__list .service__item {
        padding: var(--spacing-12);
    }
    .service__link a {
        padding: var(--spacing-8) var(--spacing-16);
    }
}


@media (max-width: 680px) {
    /* Hero Section */
    .hero__section .about__wrap {
        top: 80%;
    }
    .about__wrap .about__cards {
        display: flex;
        overflow: auto;
    }
    .about__cards .about__card {
        min-width: 258px;
    }

    /* Brands Section */
    .brands__list .brand__item {
        display: flex;
        flex-direction: column;
    }
    .brand__link a {
        font-size: var(--font-xsmall);
        padding: var(--spacing-8) var(--spacing-12);
    }

    /* Service Section */
    .service__section {
        background-size: calc(100%) 34%;
    }
    .social__list .social__item .item__text {
        font-size: var(--font-msmall);
    }
    .social__list .social__item a {
        font-size: var(--font-xlarge);
    }

    /* Footer */
    .footer a {
        font-size: var(--font-msmall);
    }
}

@media (max-width: 720px) {
    .html {
        font-size: 50%;
    }

    /* Hero Section */
    /* .hero__section {
        background-image: url('/img/bannerVertical.jpg');
        background-position: calc(48%);
    } */

    /* Brands Section */
    .brands__wrap .brands__list {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
        row-gap: var(--spacing-16);
    }
    .brand__item .brand__img img {
        width: 40%;
    }

    /* Service Section */
    .service__section {
        background-size: calc(100%) 22%;
    }

    .service__wrap .service__list {
        grid-template-columns: repeat(2, 1fr);
        row-gap: var(--spacing-36);
    }

    /* Footer */
    .service__footer {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }
    .service__footer .footer__nav {
        grid-row: 2;
        grid-column: 1;
    }
    .service__footer .footer__logo {
        grid-row: 1;
        grid-column: 2;
    }
    .footer__nav .nav__link {
        font-size: var(--font-msmall);
        text-align: center;
    }
    .footer__social {
        grid-row: 2;
        grid-column: 3;
    }
    .footer__social .social__list {
        gap: var(--spacing-6);
    }
}

@media (max-width: 462px) {
    /* Header */
    .header .header__logo img {
        width: 120px;
        height: auto;
    }

    .nav__item .nav__link {
        padding: 0 var(--spacing-12);
        font-size: var(--font-xsmall);
        line-height: 48px;
    }

    #menu__icon {
        font-size: var(--font-xlarge);
    }

    /* Brand Section */
    .brand__heading .brand__title {
        font-size: var(--font-xlarge);
    }

    /* Service Section */
    .service__section {
        padding-top: var(--spacing-20);
        padding-bottom: var(--spacing-8);
        background-size: calc(100%) 16%;
    }
    .service__heading .service__title {
        font-size: var(--font-xlarge);
    }
    .service__section .service__wrap {
        width: 90%;
    }
    .service__wrap .service__list {
        grid-template-columns: repeat(1, 1fr);
        row-gap: var(--spacing-48)
    }
    .service__item .service__img {
        margin-bottom: var(--spacing-8);
    }
    /* .service__img img {
        width: 35%;
    } */

    .service__footer {
        row-gap: var(--spacing-12);
    }
    .service__footer .footer__logo {
        grid-column: 1/4;
    }
    .footer__logo img {
        width: 52%;
    }
}

@media (max-width: 371px) {
    /* Header */
    .header .header__logo img {
        width: 100px;
        height: auto;
    }
}