@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #D72219;
    --secondary-color: #0F172A;
    --text-color: #3a3a3a;
    --background-color: #f5f5f5;
    --border-color: #e0e0e0;
    --hover-color: #555;
    --font-family: 'Poppins', sans-serif;
    --transition-duration: 0.3s;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family);
}

.hero {
    min-height: 100;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('../img/hero-background.jpg') no-repeat;
    background-size: cover;
    background-position: center;
}

.hero-content {
    height: 100%;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    gap: 43px;
    padding: 4rem;
}

.hero-content h3 {
    font-size: .875rem;
    color: var(--primary-color);
    font-weight: 600;
}

.hero-content h1 {
    font-size: 3rem;
    color: var(--secondary-color);
    line-height: 60px;
}

.hero-content p {
    font-size: .875rem;
    color: var(--text-color);
    line-height: auto;
}

.hero-content .cta {
    display: flex;
    gap: 32px;
}

.cta a {
    text-decoration: none;
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 3px;
    font-size: .875rem;
    font-weight: 500;
    transition: background-color var(--transition-duration), color var(--transition-duration);
}

.cta .btn-primary {
    background-color: var(--primary-color);
}

.cta .btn-primary:hover {
    background-color: var(--hover-color);
}

.cta .btn-secondary {
    background-color: var(--secondary-color);
}

.hero-image {
    height: inherit;
    width: 50%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
}

.hero-image img {
    height: 750px;
    width: auto;
}

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.3rem;
        line-height: 50px;
    }

    .hero-image img {
        height: 600px;
    }
}

@media (max-width: 868px) {
    .hero-content {
        width: 60%;
        padding: 1.5rem;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 45px;
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        padding: 4rem 1rem 0;
        background: none;
        /* background:url(../img/14602.jpg);
        background-size: cover;
        background-position: center;
        height: 100vh;
        position: relative; */
    }

    /* .hero::after{
        content: "";
        position: absolute;
        width: 100%;
        height: 100vh;
        background-color: #00000077;
        z-index: 1;
    }
 */
    .hero-content {
        width: 80%;
        text-align: center;
        align-items: center;
        gap: 1.5rem;
        z-index: 2;
    }

    .hero h1 {
        font-size: 1.8rem;
        line-height: 40px;
    }

    .cta a {
        text-decoration: none;
        color: #ffffff;
        padding: 10px 20px;
        font-size: 0.875rem;
        font-weight: 500;
        transition: background-color var(--transition-duration), color var(--transition-duration);
    }

    .hero-image {
        width: 100%;
        justify-content: center;
    }

    .hero-image img {
        height: 400px;
    }

    .hero .btn-secondary {
        background-color: var(--primary-color);
    }

    .hero .btn-secondary:hover {
        background-color: var(--hover-color);
    }
}

@media (max-width: 426px) {
    .hero {
        padding: 3rem .5rem 0;
    }

    .hero-content {
        width: 100%;
    }

    .hero h1 {
        font-size: 1.2rem;
        line-height: 1.6
    }

    .hero h3 {
        font-size: 0.8rem;
    }

    .hero-content p {
        font-size: .8rem;
    }

    .cta a {
        font-size: .8rem;
    }
}

/*------------------------------------- home about section start ---------------------------------------*/
.home-about-section {
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6rem 0;
    background-color: var(--background-color);
}

.home-about-images {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Conteneur global */
.diamond-grid {
    width: 250px;
    height: 250px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    transform: rotate(45deg);
    /* rotation du carré complet */
}

/* Chaque case */
.diamond-item {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 6px;
}

/* On corrige la rotation de l'image pour qu'elle soit droite */
.diamond-item img {
    width: 150%;
    height: 150%;
    object-fit: cover;
    transform: rotate(-45deg);
    position: relative;
    top: -25%;
    left: -20%;
    transition: ease-in-out 0.3s;
}

.diamond-item img:hover {
    transform: scale(1.5) rotate(-25deg);
    transition: transform 0.3s ease;
}

.home-about-content {
    width: 50%;
    padding: 0 5rem 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.home-about-content h3 {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 500;
}

.home-about-content h2 {
    color: var(--secondary-color);
    font-size: 2.3rem;
    font-weight: 700;
}

.home-about-content p {
    color: var(--text-color);
    font-size: .875rem;
    line-height: 1.6;
}

.home-about-content .btn-secondary {
    border: solid 1px var(--primary-color);
    width: fit-content;
    padding: 12px 16px;
    border-radius: 3px;
    text-decoration: none;
    color: var(--primary-color);
    transition: ease-in-out .5s;
    font-size: .875rem;
    font-weight: 600;
}

.home-about-content .btn-secondary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

@media (max-width: 1024px) {
    .home-about-content {
        padding: 0 3rem 0 0;
        width: 55%;
    }

    .home-about-images {
        width: 45%;
    }

    .diamond-grid {
        width: 230px;
        height: 230px;
    }

    .home-about-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .home-about-section {
        flex-direction: column-reverse;
        gap: 3rem;
        padding: 2rem 0;
        height: auto;
    }

    .home-about-images {
        width: 100%;
        margin-bottom: 2rem;
    }

    .home-about-content {
        width: 90%;
        padding: 0;
    }

    .diamond-grid {
        transform: rotate(0);
        width: 360px;
        height: 360px;

    }

    .diamond-grid img {
        transform: rotate(0);
    }

    .home-about-content h2 {
        font-size: 1.8rem;
    }

    .home-about-content p {
        font-size: 0.875rem;
    }

    .home-about-content .btn-secondary {
        padding: 10px 20px;
        font-size: 0.875rem;
    }
}

@media (max-width: 426px) {
    .diamond-grid {
        width: 280px;
        height: 280px;
    }

    .home-about-content h2 {
        font-size: 1.5rem;
        margin-bottom: .5rem;
    }

    .home-about-content p {
        font-size: 0.8rem;
    }

    .home-about-content .btn-secondary {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .home-about-content h3 {
        font-size: 0.9rem;
    }
}

/*------------------------------------- home about section end ---------------------------------------*/

/*-------------------------------------- wcu section start ----------------------------------*/

.wcu-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6rem 4rem;
    height: fit-content;
}

.wcu-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 3rem;
}

.wcu-content h3 {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.wcu-content h2 {
    color: var(--secondary-color);
    font-size: 2.3rem;
}

.wcu-content p {
    color: var(--text-color);
    font-size: .875rem;
    line-height: 1.6;
}

.wcu-content ul {
    list-style-type: none;
    color: var(--text-color);
    font-size: .875rem;
    line-height: 1.6;
}

.wcu-content ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.wcu-content ul li i {
    color: green;
}

.wcu-items {
    width: 50%;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.wcu-item {
    background-color: var(--background-color);
    padding: 1.5rem;
    border-radius: 10px;
    width: 80%;

}

.wcu-item h4 {
    color: var(--secondary-color);
    font-size: .875rem;
    margin-bottom: .5rem;
    display: flex;
    align-items: center;

}

.wcu-item h4 i {
    background-color: var(--primary-color);
    padding: 10px;
    color: #ffffff;
    width: fit-content;
    border-radius: 50%;
    margin-right: 10px;
    height: fit-content;
    font-size: 10px;
}

.wcu-item p {
    color: var(--text-color);
    font-size: .8rem;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .wcu-section {
        padding: 4rem 1rem;
    }

    .wcu-item {
        width: 100%;
    }
}

@media (max-width: 863px) {
    .wcu-content h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .wcu-section {
        flex-direction: column;
        padding: 2rem 1rem;
        gap: 3rem;
    }

    .wcu-content {
        width: 90%;
        padding: 0;
    }

    .wcu-items {
        width: 90%;
        padding: 0;
    }

    .wcu-content h3 {
        font-size: .875rem;
    }
}

@media (max-width: 426px) {
    .wcu-content h2 {
        font-size: 1.5rem;
    }

    .wcu-content p {
        font-size: .8rem;
    }

    .wcu-content ul {
        font-size: .8rem;
    }

    .wcu-item h4 {
        font-size: 0.9rem;
    }

    .wcu-item p {
        font-size: 0.8rem;
    }
}


/*-------------------------------------- wcu section end ----------------------------------*/
/*-------------------------------------- headmaster section start ----------------------------------*/
.headmaster-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    padding: 2.5rem 1rem;
    background: var(--background-color);
}

.headmaster-image {
    width: 50%;
    display: flex;
    justify-content: right;
    align-items: center;

}

.headmaster-image img {
    width: 350px;
}

.headmaster-citation i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.headmaster-infos {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 100px;
    width: 50%;
}

.headmaster-citation p {
    font-size: 1.25rem;
    color: var(--secondary-color);
    font-weight: bold;
    width: 100%;
}

.headmaster-details h3 {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.headmaster-details p {
    font-size: .875rem;
    color: var(--text-color);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .headmaster-section {
        flex-direction: column-reverse;
        gap: 2rem;
        padding: 4rem 1rem;
    }

    .headmaster-image {
        width: 100%;
        justify-content: center;
    }

    .headmaster-infos {
        width: 100%;
        gap: 2rem;
        text-align: center;
    }

    .headmaster-details h3 {
        font-size: .9rem;
    }

    .headmaster-details p {
        font-size: .8rem;
    }
}

@media (max-width: 426px) {
    .headmaster-citation p {
        font-size: 1rem;
    }

    .headmaster-image img {
        width: 250px;
    }
}

/*-------------------------------------- headmaster section end ----------------------------------*/
/*-------------------------------------- Header start ----------------------------------*/
header {
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4rem;
    background-color: #ffffff;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1000;
}

header .logo a {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

header nav ul li a {
    text-decoration: none;
    color: var(--secondary-color);
    font-size: .8rem;
    font-weight: 500;
    transition: color var(--transition-duration);
}

header nav ul li a:hover {
    color: var(--primary-color);
}

/* --- BURGER MENU --- */

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.burger span {
    width: 25px;
    height: 2px;
    background-color: var(--secondary-color);
    transition: 0.3s ease;
}

/* --- NAVIGATION MOBILE --- */

@media (max-width: 900px) {
    header {
        padding: 0 2rem;
        height: 65px;
    }

    nav {
        position: fixed;
        top: 65px;
        right: -100%;
        background-color: #ffffff;
        width: 220px;
        height: calc(100vh - 80px);
        padding: 2rem 1.5rem;
        box-shadow: var(--box-shadow);
        transition: right 0.3s ease;
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }

    nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    .burger {
        display: flex;
    }

    /* Lorsque le menu est ouvert */
    nav.active {
        right: 0;
    }

    /* Animation burger -> croix */
    .burger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .burger.active span:nth-child(2) {
        opacity: 0;
    }

    .burger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (max-width: 768px) {
    header .logo a {
        font-size: .875rem;
    }
}

@media (max-width: 426px) {
    header {
        height: 60px;
        padding: 0 1rem;
    }

    nav {
        top: 60px;
    }
}

/*-------------------------------------- Header end ----------------------------------*/
/*-------------------------------------- Our teams section start ----------------------------------*/
.our-teams-section {
    padding: 6rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.2rem;
}

.our-teams-section-title-group {
    text-align: center;
}

.our-teams-section h3 {
    color: var(--secondary-color);
    font-size: .875rem;
    font-weight: 500;
}

.our-teams-section h2 {
    color: var(--primary-color);
    font-size: 2.3rem;
}

.our-teams {
    display: flex;
    gap: 2rem;

}

.our-teams div {
    width: 280px;
    display: flex;
    flex-direction: column;
    gap: .875rem;
    padding: 1rem;
    border-radius: 3px;
    transition: all ease var(--transition-duration);
}

.our-teams div:hover {
    box-shadow: var(--box-shadow);
}

.our-teams div img {
    width: 100%;
    border-radius: 3px;
    box-shadow: var(--box-shadow);
}

.our-teams div h4 {
    color: var(--secondary-color);
    font-size: 1rem;
}

.our-teams div p {
    color: var(--text-color);
    font-size: .875rem;
    line-height: 1.6;
}

.our-teams div a {
    text-decoration: none;
    color: var(--primary-color);
    font-size: .875rem;
    font-weight: 500;
    transition: color var(--transition-duration);
}

.our-teams div a:hover {
    color: var(--hover-color);
}

.our-teams-section .btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 3px;
    text-decoration: none;
    font-size: .875rem;
    font-weight: 500;
    transition: background-color var(--transition-duration), color var(--transition-duration);
}

.our-teams-section .btn-primary:hover {
    background-color: var(--hover-color);
}

@media (max-width: 1024px) {
    .our-teams {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .our-teams-section {
        padding: 4rem 1rem;
    }

    .our-teams-section h2 {
        font-size: 1.5rem;
    }

    .our-teams {
        flex-direction: column;
        align-items: center;
    }

    .our-teams div {
        width: 80%;
    }

    .our-teams-section .btn-primary {
        padding: 10px 20px;
        font-size: 0.875rem;
    }

}

@media (max-width: 426px) {
    .our-teams-section h2 {
        font-size: 1.5rem;
    }

    .our-teams div {
        width: 90%;
    }

    .our-teams div h4 {
        font-size: 1rem;
    }

    .our-teams div p {
        font-size: 0.8rem;
    }

    .our-teams-section h3 {
        font-size: .8rem;
    }
}

/*-------------------------------------- Our teams section end ----------------------------------*/
/*-------------------------------------- Our coachs section start ----------------------------------*/
.our-coachs-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    background-color: var(--background-color);
    padding: 3rem 2rem;
}

.coach-card {
    width: 200px;
    text-align: center;
    background-color: #ffffff;
    transition: transform var(--transition-duration);
}

.coach-card img {
    width: 100%;
    filter: grayscale(100%);
    transition: filter var(--transition-duration) ease;
}

.coach-card img:hover {
    filter: grayscale(0%);
}

.coach-card:hover {
    transform: translateY(-10px);
}

.coach-card h4 {
    color: var(--secondary-color);
    font-size: .875rem;
    font-weight: 600;
    margin: 1rem 0 0.5rem 0;
}

.coach-card p {
    color: var(--text-color);
    font-size: .8rem;
    margin-bottom: 1rem;
}

.our-coachs-section-title-group {
    width: 200px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.our-coachs-section-title-group h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.our-coachs-section-title-group p {
    color: var(--text-color);
    font-size: .875rem;
    line-height: 1.6;
    position: relative;
}

.our-coachs-section-title-group p::after {
    content: "";
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-200%);
}

.our-coachs-section .btn-primary {
    display: inline-block;
    width: fit-content;
    background-color: var(--secondary-color);
    color: #ffffff;
    padding: 10px 10px;
    border-radius: 5px;
    text-decoration: none;
    font-size: .8rem;
    font-weight: 500;
    transition: background-color var(--transition-duration), color var(--transition-duration);
}

.our-coachs-section .btn-primary:hover {
    background-color: var(--hover-color);
}

@media (max-width: 768px) {
    .our-coachs-section {
        flex-direction: column;
        padding: 3.5rem 1rem;
    }

    .our-coachs-section-title-group {
        width: 100%;
        text-align: center;
        gap: .8rem;
    }

    .our-coachs-section-title-group p::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .our-coachs-section .btn-primary {
        display: none;
    }
}

@media (max-width: 426px) {
    .our-coachs-section-title-group h2 {
        font-size: 1.2rem;
    }

    .our-coachs-section-title-group p {
        font-size: 0.8rem;
    }
}

/*-------------------------------------- Our coachs section end ----------------------------------*/
/*-------------------------------------- Testimonials section start ----------------------------------*/
.testimonial-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem 2rem;
    gap: 2rem;
}

.testimonial-section h2 {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.testimonial-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--background-color);
    gap: 2rem;
    padding: 0;
}

.testimonial-content div {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    padding: 1rem 2rem 1rem 0;
}

.testimonial-content i {
    font-size: 2rem;
    color: var(--primary-color);
}

.testimonial-content p {
    font-size: .875rem;
    color: var(--secondary-color);
    line-height: 1.6;
    max-width: 450px;
}

.testimonial-content img {
    height: 100%;
    filter: grayscale(0);
    transition: all ease var(--transition-duration);
}

.testimonial-content img:hover {
    transform: scale(1.025);
}

.testimonial-content h4 {
    font-size: .875rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: -15px;
}

.testimonial-content h5 {
    font-size: .875rem;
    color: var(--primary-color);
    font-weight: 500;
}

@media (max-width: 768px) {
    .testimonial-section {
        padding: 3rem 1.5rem;
        gap: 1rem;
    }

    .testimonial-content {
        flex-direction: column-reverse;
        padding: 1rem;
        background-color: inherit;
        gap: 1rem;

    }

    .testimonial-content div {
        width: 100%;
        padding: 1.5rem;
        text-align: center;
        align-items: center;
        background-color: var(--background-color);
        border-radius: 3px;

    }

    .testimonial-content img {
        width: 125px;
        height: 125px;
        object-fit: cover;
        border-radius: 100px;
        border: solid var(--primary-color) 1px;
    }

    .testimonial-content p {
        min-width: 65%;
    }
}

@media (max-width: 426px) {
    .testimonial-section {
        padding: 2rem 1.2rem;
    }

    .testimonial-section h2 {
        font-size: 1.2rem;
    }

    .testimonial-content {
        padding: 0;
    }

    .testimonial-content div {
        padding: .875rem;
    }

    .testimonial-content p {
        font-size: 0.8rem;
    }

    .testimonial-content h4 {
        font-size: .875rem;
    }

    .testimonial-content img {
        width: 100px;
        height: 100px;
    }
}

/*------------------------------------------ testimonial section end -----------------------------------*/
/*-------------------------------------- before footer section start ----------------------------------*/

.before-footer {
    background-image: url(../img/before_footer.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right;
    background-attachment: fixed;
    height: 425px;
}

.before-footer div {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
    background-color: #0000008f;
}

.before-footer h2 {
    color: #ffffff;
    font-size: 2rem;
}

.before-footer p {
    color: #ffffff;
    font-size: 1rem;
}

.before-footer a {
    text-decoration: none;
    color: #ffffff;
    background-color: var(--primary-color);
    padding: 12px 16px;
    border-radius: 3px;
    font-size: .875rem;
    font-weight: 500;
    transition: background-color var(--transition-duration), color var(--transition-duration);
}

.before-footer a:hover {
    background-color: var(--hover-color);
}

@media (max-width: 768px) {
    .before-footer {
        background-attachment: scroll;
    }

    .before-footer h2 {
        font-size: 1.5rem;
    }

    .before-footer p {
        font-size: 0.875rem;
        padding: 0 1rem;
    }
}

/*-------------------------------------- before footer section end ----------------------------------*/
/*-------------------------------------- Footer start ----------------------------------*/

footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 3rem 0 0 0;
    background-color: var(--background-color);
}

.footer-content {
    display: flex;
    justify-content: center;
    gap: 4rem 2rem;
    width: 100%;
}

.footer-content div {
    display: flex;
    flex-direction: column;
    gap: .8rem;
    width: 30%;

}

.footer-content p {
    font-size: .875rem;
    color: var(--text-color);
}

.footer-logo {
    width: 50px;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: .5rem;
}

.social-icons a {
    text-decoration: none;
    color: var(--secondary-color);
    font-size: 1.2rem;
    transition: color var(--transition-duration);
}

.social-icons a:hover {
    color: var(--primary-color);
}

.footer-content h4 {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer-content ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.footer-content ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-size: .875rem;
    transition: color var(--transition-duration);
}

.footer-content ul li a:hover {
    color: var(--primary-color);
}

footer .copyright {
    font-size: .8rem;
    font-weight: lighter;
    text-align: center;
    padding: .8rem;
    background-color: #ffffff;
    width: 100%;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .footer-content div {
        width: 80%;
        text-align: center;
        align-items: center;
    }
}

/*-------------------------------------------------- footer end -----------------------------------------*/
/*------------------------------------------------ about page start ----------------------------------------*/
.about-page-intro {
    width: 100%;
    min-height: 250px;
    background-image: url(../img/about.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    background-attachment: fixed;

}

.about-page-intro div {
    width: 100%;
    min-height: 250px;
    background-color: #000000af;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 0 2rem;
}

.about-page-intro h1 {
    font-size: 3rem;
    text-align: center;
    color: #f5f5f5;
}

.about-page-intro p {
    font-size: .875rem;
    color: #f5f5f5;
    text-align: center;

}

.about-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 2rem;
    gap: 3rem;
}

.about-hero-image {
    width: 35%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-hero-image img {
    width: 100%;
    box-shadow: var(--box-shadow);
    border-radius: 3px;
}

.about-hero-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
}

.about-hero-content h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.about-hero-content p {
    font-size: .875rem;
    color: var(--text-color);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .about-hero-content h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 900px) {
    .about-hero-content h2 {
        font-size: 1.2rem;
    }

    .about-page-intro h1 {
        font-size: 2rem;
    }

}

@media (max-width: 768px) {
    .about-hero {
        padding: 2rem .5rem;
        gap: 1rem;
    }

    .about-hero-content h2 {
        font-size: 1rem;
    }

    .about-hero-image img {
        height: 300px;
        object-fit: cover;
    }

    .about-hero p {
        font-size: .8rem;
    }
}

@media (max-width: 580px) {
    .about-hero {
        flex-direction: column-reverse;

    }

    .about-hero-image {
        width: 90%;
        justify-content: start;
    }

    .about-hero-image img {
        width: 60%;

    }

    .about-hero-content {
        width: 90%;
    }
}

@media (max-width: 424px) {
    .about-page-intro h1 {
        font-size: 1.5rem;
    }

    .about-page-intro p {
        font-size: 0.875rem;
    }

    .about-hero-image img {
        width: 80%;
    }

    .about-hero-content h2 {
        font-size: .875rem;
    }
}

.mission-vision-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5rem 2rem;
    background-color: var(--background-color);
}

.mission,
.vision {
    width: 280px;
    height: 300px;
    transition: all ease var(--transition-duration);
}

.mission:hover,
.vision:hover {
    box-shadow: var(--box-shadow);
}

.mission h3::after,
.vision h3::after {
    content: "";
    display: block;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
    margin-top: .6rem;
    border-radius: 2px;
}

.mission,
.vision {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    background-color: #ffffff;
    padding: 2rem 1rem;
}

.mission h3,
.vision h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.mission p,
.vision p {
    font-size: .8rem;
    color: var(--text-color);
    line-height: 1.6;
}

.mission-vision-section img {
    box-shadow: var(--box-shadow);
    border-radius: 3px;
    height: 380px;
}

@media (max-width: 768px) {
    .mission-vision-section {
        flex-direction: column;
        gap: 2rem;
    }

    .mission-vision-section img {
        display: none;
    }

    .mission,
    .vision {
        width: 90%;
        height: fit-content;
        border-radius: 10px;
    }

}

@media (max-width: 426px) {

    .mission h3,
    .vision h3 {
        font-size: 1rem;
    }
}

/*------------------------------------------------ about page end ----------------------------------------*/
/*-------------------------------------- contact page start ----------------------------------------*/
.contact-page-intro {
    width: 100%;
    min-height: 80vh;
    background-image: url(../img/contact-intro-background.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    background-attachment: fixed;
}

.contact-intro-content {
    width: 100%;
    min-height: 80vh;
    background-color: #1d1616be;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 4rem 2rem;
}

.contact-page-intro h1 {
    font-size: 3rem;
    text-align: center;
    color: #ffffff;
}

.contact-page-intro p {
    font-size: .875rem;
    color: #ffffff;
    text-align: center;

}

.contact-infos {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 2rem;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: .875rem;
    align-items: center;
    text-align: center;
    width: 220px;
    height: 180px;
    background-color: var(--background-color);
    border-radius: 5px;
    padding: 2rem 1rem;
    transition: all ease var(--transition-duration);
    flex: 1 1 220px;
}

.contact-info:hover {
    transform: scale(1.05);
}

.contact-info i {
    font-size: 2rem;
    color: var(--primary-color);
}

.contact-info h3 {
    color: var(--secondary-color);
    font-size: 1rem;
}

.contact-info p {
    font-size: .8rem;
    color: var(--text-color);
    line-height: 1.6;
}

.contact-info a {
    text-decoration: none;
    color: var(--primary-color);
    font-size: .875rem;
}

@media (max-width: 880px) {
    .contact-info {
        height: fit-content;
    }

    .contact-infos {
        gap: .5rem;
    }
}

@media (max-width: 768px) {
    .contact-page-intro h1 {
        font-size: 2rem;
    }

    .contact-info i {
        font-size: 1.5rem;
    }

    .contact-info h3 {
        font-size: .9rem;
    }

}


@media (max-width: 425px) {
    .contact-intro-content {
        padding: 2.5rem 1rem 1rem 1rem;
        gap: .875rem;
    }


    .contact-page-intro h1 {
        font-size: 1.5rem;
    }

    .contact-page-intro p {
        font-size: .8rem;
    }

    .contact-info {
        width: 200px;
    }

}

.contact-form-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 2rem;
}

.contact-form-container {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.contact-form-container h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 500px;
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
}

.contact-form input {
    font-size: .875rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    outline: none;
    padding: 10px;
    border: none;
}

.contact-form textarea {
    font-size: .875rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    padding: 10px;
    outline: none;
    border: none;
}

.contact-form button {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 3px;
    text-decoration: none;
    font-size: .875rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background-color var(--transition-duration), color var(--transition-duration);
}

.contact-form button:hover {
    background-color: var(--hover-color);
}


@media (max-width: 520px) {
    .contact-form-section {
        padding: 2.5rem 1rem;
    }

    .contact-form {
        width: 100%;
    }

    .contact-form-container h2 {
        font-size: 1.2rem;
    }

    .contact-form input,
    .contact-form textarea,
    .contact-form button {
        font-size: .8rem;
    }

    .contact-form button {
        padding: 10px 14px;
    }
}

/*------------------------------------------------- contact page end -----------------------------------*/
/*------------------------------------------------- Team page start ------------------------------------*/
.team-page-intro {
    display: flex;
    justify-content: center;
    padding: 3rem;

}

.team-page-intro-image {
    width: 50%;
    display: flex;
    justify-content: center;
    height: auto;
}

.team-page-intro-image img {
    width: 400px;
    height: auto;
    border-radius: 15px;
}

.team-page-intro-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
    gap: 1.5rem;
}

.team-page-intro-content h1 {
    color: var(--primary-color);
    font-size: 3rem;
}

.team-page-intro-content p {
    font-size: .875rem;
    width: 80%;
    color: var(--text-color);

}

@media (max-width: 955px) {
    .team-page-intro-image img {
        width: 300px;
        height: auto;
        border-radius: 15px;
    }
}

@media (max-width: 768px) {
    .team-page-intro {
        flex-direction: column-reverse;
        padding: 0;
        background: url(../img/about.jpeg);
    }

    .team-page-intro-content {
        align-items: center;
        width: 100%;
        min-height: 80vh;
        text-align: center;
        padding: 1.2rem;
        background-color: #00000096;
    }

    .team-page-intro-content h1 {
        font-size: 2rem;
        color: #ffffff;
    }

    .team-page-intro-content p {
        color: white;
    }

    .team-page-intro-image {
        display: none;
    }
}

@media (max-width: 426px) {
    .team-page-intro-content p {
        width: 100%;
        font-size: .8rem;
    }

    .team-page-intro-content h1 {
        font-size: 1.7rem;
    }

}

.teams {
    display: flex;
    flex-direction: column;
}

.team {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    align-items: center;
    background-color: #ffffff;
    padding: 4rem 3rem;
}

.team:nth-child(odd) {
    background-color: var(--background-color);
    flex-direction: row-reverse;
}

.team p {
    font-size: .875rem;
    color: var(--text-color);
    line-height: 1.6;
}

.team img {
    width: 380px;
    border-radius: 10px;
    transition: all ease-in-out .5s;
}

.team img:hover {
    transform: scale(1.05);
}

.team div {
    width: 480px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.team h2 {
    color: var(--primary-color);
    font-size: 2rem;
}

.team a {
    color: var(--primary-color);
    font-size: .875rem;
}

@media (max-width: 900px) {
    .team img {
        width: 350px;
    }
}

@media (max-width: 768px) {
    .team img {
        width: 280px;
    }

    .team p {
        font-size: .8rem;
    }

    .team a {
        font-size: .8rem;
    }

    .team h2{
        font-size: 1.5rem;
    }
}

@media (max-width: 677px) {

    .team,
    .team:nth-child(odd) {
        flex-direction: column;
        align-items: flex-start;
    }

    .team div {
        width: 100%;
        padding: 0;
    }

    .team img {
        width: 75%;
    }
}

@media (max-width: 426px) {
    .team {
        padding: 3rem 2rem;
    }
}