/* Hero Block */
.hero {
    background: linear-gradient(rgb(51, 51, 51, 0.5), rgb(0, 0, 0, 0.7)), url(/media/img/hero.webp);
    background-size: cover;
    background-position: center;
    color: #e6f0f1;
    text-shadow: 0 3px 7px rgb(0, 0, 0, 0.5);
    padding: 4rem 0;
    text-align: center;
}


.hero__container {
    max-width: 130rem;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.hero__title {
    font-size: 5.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.hero__subtitle {
    font-size: 1.8rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.hero__span {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 4rem;
}

.hero__cta {
    display: inline-block;
    background: #cac3b7;
    color: #684a13;
    padding: 1.6rem 3.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 2rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 0 1rem;
    text-shadow: none;
}

.hero__cta:hover {
    background: #cbc1ae;
    transform: scale(1.05);
}

/* slider */
.slide-section {
    padding: 4.4rem 1rem 1.4rem;
    direction: ltr;
}

.slider {
    margin: 0 auto;
    width: 95%;
    overflow: hidden;
    border-radius: 16px;
}

.slide__container {
    display: flex;
    gap: 15px;
    padding: 0.8rem 0;
}

.slide {
    flex: 0 0 auto;
    border-radius: 12px;
    overflow: hidden;
    min-width: 250px;
    height: 150px;
    box-shadow: 0 4px 8px #0000007c;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .slide {
        width: 150px;
    }
}

@media (max-width: 480px) {
    .slide {
        width: 120px;
    }
}


/* about-us */
img {
    display: block;
    max-width: 100%;
    height: auto;
    overflow: hidden;
}

.about {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    direction: ltr;
    padding: 3rem 2rem;
}

.about__left {
    background: linear-gradient(rgb(51, 51, 51, 0.5), rgb(0, 0, 0, 0.7)), url(/media/img/about-hero.webp);
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    overflow: hidden;
    object-fit: cover;
}
.about__hero {
    width: 100%;
    height: 100%;
}
.about__tag {
    position: absolute;
    bottom: 2.4rem;
    left: 2.4rem;
    font-size: clamp(3.6rem, 7vw, 9rem);
    letter-spacing: 0.15rem;
    color: #f3f3f3;
    font-weight: 800;
}

.about__right {
    padding: 0 0 0 2.4rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    grid-template-areas:
        "intro  intro  topimg"
        "award1 award2 award3"
        "botimg botimg botimg";
}

.card {
    direction: rtl;
    background: #ccb07b;
    border: 1px solid #9074417c;
    border-radius: 1.2rem;
    padding: 2rem;
    box-shadow: 0px 5px 10px #907441;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
}
.card--intro {
    grid-area: intro;
    padding: 2.4rem;
}
.card--story {
    grid-area: story;
}
.card--award {
    text-align: center;
    padding: 2rem;
}
.card__title {
    font-size: 1.8rem;
    margin: 0.8rem 0 1rem;
    font-weight: bold;
    color: #79571a;
}
.card__text {
    font-size: 1.4rem;
    color: #f3f3f3;
    line-height: 1.3;
    text-align: center;
}

.media {
    border-radius: 1.2rem;
    overflow: hidden;
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
}
.media--top {
    grid-area: topimg;
}
.media--bot {
    grid-area: botimg;
}
.media__img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 1.2rem;
}
.media--bot .media__img {
    aspect-ratio: 16/10;
}
.media__img--position {
    object-position: top;
}

.intro__heading {
    font-size: 1.8rem;
    line-height: 1.4;
    margin: 0 0 1.2rem;
    color: #684a13;
    letter-spacing: 0.06rem;
    font-weight: bolder;
    text-align: center;
}

@media (max-width: 1200px) {
    .about {
        grid-template-columns: 1fr 1fr;
    }
    .card--award {
        padding: 2rem 0.5rem;
    }
    .about {
        padding: 3rem 1rem;
    }
}
@media (max-width: 992px) {
    .about {
        grid-template-columns: 1fr;
    }
    .about__left {
        height: 50vh;
    }
    .about__right {
        grid-template-columns: 1fr;
        grid-template-areas:
        "intro"
        "topimg"
        "award1"
        "award2"
        "award3"
        "botimg"
        "botimg";
        padding: 3rem 2.4rem 0;
    }
    .about {
        padding: 3rem 1rem 0;
    }
}
@media (max-width: 520px) {
    .about__tag {
        font-size: clamp(3rem, 11vw, 5.2rem);
        left: 1.6rem;
        bottom: 1.6rem;
    }
    .card {
        padding: 1.6rem;
    }
    .card__title {
        font-size: 1.7rem;
    }
    .card__text {
        font-size: 1.35rem;
    }
}