/************************* Hero Section Styles *************************/
.about-us-page-hero {
    position: relative;
    text-align: center;
    padding: 160px 20px 160px;
    background-color: #fff;
    overflow: hidden;
}

.about-us-page-hero-background {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: url('/Frontend/images/logo-m.png') no-repeat center center;
    background-size: 38%;
    width: 100%;
    height: 100%;
    opacity: 0.08;
    z-index: 0;
}

.about-us-page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1170px;
    margin: 0 auto;
}

.about-us-page-title {
    font-size: 80px;
    font-weight: 700;
    line-height: 94px;
    text-align: center;
    letter-spacing: 2px;
    margin-bottom: 20px;
    background: linear-gradient(180deg, #888987 0%, #616160 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.about-us-page-description .about-us-page-highlight {
    color: #7CB138;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
    text-fill-color: initial;
    font-weight: 800;
    font-size: 32px;
}

.about-us-page-description {
    font-size: 25px;
    color: #666;
    margin-bottom: 20px;
    font-weight: 500;
    max-width: 75%;
    line-height: 1.5;
    letter-spacing: 0.2px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.about-us-page-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(243, 244, 240, 0.5) 19.3%, rgba(207, 225, 186, 0.5) 76.8%);
    z-index: 0;
}

.about-us-play-button-wrapper {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.about-us-play-button {
    font-size: 50px;
    color: #7cb138;
    cursor: pointer;
}

/******** Modal Styles ********/
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
}

.about-us-close {
    color: #aaa;
    float: right;
    font-size: 35px;
    font-weight: bold;
}

.about-us-close:hover,
.about-us-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/********************** Responsive Styles for Hero Section ***********************/
@media screen and (max-width: 1200px) {
    .about-us-page-hero {
        padding: 150px 30px 100px;
    }

    .about-us-page-title {
        font-size: 72px;
        line-height: 82px;
    }

    .about-us-page-hero-background {
        background-size: 60%;
    }

    .about-us-play-button {
        font-size: 50px;
    }

    .about-us-page-description {
        font-size: 22px;
    }
}

@media screen and (max-width: 992px) {
    .about-us-page-title {
        font-size: 64px;
        line-height: 74px;
    }

    .about-us-play-button {
        font-size: 40px;
    }
}

@media screen and (max-width: 810px) {
    .about-us-page-hero {
        padding: 100px 20px;
    }

    .about-us-page-hero-content {
        padding: 10px;
    }

    .about-us-page-title {
        font-size: 56px;
        line-height: 66px;
    }

    .about-us-page-description {
        font-size: 19px;
    }

    .about-us-page-description .about-us-page-highlight {
        font-size: 25px;
    }

    .about-us-page-hero-background {
        background-size: 50%;
    }

    .about-us-play-button-wrapper {
        bottom: 60px;
    }

    .about-us-play-button {
        font-size: 35px;
    }
}

@media screen and (max-width: 576px) {
    .about-us-page-hero-content {
        padding: 40px 20px;
    }

    .about-us-page-description {
        font-size: 16px;
        max-width: 90%;
    }

    .about-us-page-title {
        font-size: 48px;
        line-height: 58px;
    }

    .about-us-page-hero-background {
        background-size: 60%;
    }

    .about-us-play-button-wrapper {
        bottom: 50px;
    }

    .about-us-play-button {
        font-size: 30px;
    }
}

@media screen and (max-width: 440px) {
    .about-us-page-hero {
        padding: 50px 20px 50px;
    }

    .about-us-page-title {
        font-size: 40px;
        line-height: 48px;
        margin-bottom: 10px;
    }

    .section-title {
        font-size: 25px;
    }

    .about-us-page-hero-background {
        top: -20px;
        left: 50%;
        background-size: 80%;
    }

    .about-us-play-button-wrapper {
        bottom: 40px;
    }

    .about-us-play-button {
        font-size: 25px;
    }
}

/************************* Partners Section Styles *************************/
.partners-section {
    padding: 0;
    background-color: #f9f9f9;
    text-align: center;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.partners-container {
    max-width: 1170px;
    margin: 0 auto;
    overflow: hidden;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
    padding: 15px 0;
}

.logos {
    display: flex;
}

.partners-logos img {
    max-width: 100%;
    height: 90px;
    margin: 0 30px;
}

.partners-logos img:hover {
    opacity: 0.8;
    filter: grayscale(20%);
}

/********************** Responsive Styles ***********************/
@media (max-width: 1200px) {
    .partners-container {
        padding: 5px 30px;
    }

    .partners-logos img {
        max-width: 90%;
        height: 90px;
        margin: 0 20px !important;
    }
}

@media (max-width: 768px) {

    .partners-logos img {
        max-width: 20%;
        height: 55px;
        margin: 0 10px !important;
    }

    .partners-logos {
        padding: 10px 0;
    }
}

@media (max-width: 450px) {

    .partners-logos img {
        max-width: 45px;
        height: 35px;
        margin: 0 5px;
        transition: transform 0.3s ease;
    }

    .partners-logos {
        padding: 10px 0;
    }
}

/******************************* about-us Us Section Styles  *******************************/
.about-us-section {
    max-width: 1170px;
    margin: 0 auto;
    padding: 25px 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-header {
    text-align: center;
    margin-bottom: 5px;
}

.section-title {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 10px;
}

.about-us-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.about-us-text {
    flex: 1;
    padding: 20px;
    position: relative;
}

.background-icon {
    position: absolute;
    top: -33px;
    left: 20px;
    opacity: 0.8;
    z-index: 0;
}

.angle-brackets {
    width: 150px;
    height: auto;
}

.about-us-subtitle {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.about-us-text p {
    font-size: 18px;
    line-height: 1.5;
    color: #666;
    margin-bottom: 15px;
}

.about-us-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-us-image img {
    max-width: 70%;
    height: auto;
    opacity: 0.9;

}


/******************** Responsive Styles **********************/
@media (max-width: 1200px) {
    .about-us-section {
        padding: 20px 30px;
    }
}

@media (max-width: 992px) {
    .about-us-subtitle {
        font-size: 25px;
    }

    .about-us-text p {
        font-size: 16px;
    }

    .about-us-image img {
        max-width: 80%;
        height: auto;
        opacity: 0.9;

    }
}

@media (max-width: 768px) {
    .about-us-content {
        flex-direction: column-reverse;
        align-items: center;
    }

    .about-us-text {
        text-align: center;
        padding: 10px;
    }

    .about-us-subtitle {
        font-size: 20px;
    }

    .join-button {
        margin-top: 20px;
    }

    .about-us-image img {
        max-width: 50%;
        height: auto;
    }

    .background-icon {
        position: absolute;
        top: -33px;
        left: 150px;
        opacity: 0.6;
    }

    .angle-brackets {
        width: 130px;
        height: auto;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 30px;
    }

    .about-us-subtitle {
        font-size: 18px;
    }

    .about-us-text p {
        font-size: 14px;
    }

    .section-title {
        font-size: 25px;
    }

    .join-button {
        font-size: 16px;
        padding: 8px 16px;
    }

    .background-icon {
        position: absolute;
        top: -38px;
        left: 80px;
        opacity: 0.5;
    }

    .about-us-image img {
        max-width: 70%;
        height: auto;
    }

}

/************************* Services Section Styles *************************/
.services-section {
    text-align: center;
    padding: 50px 20px;
}

.section-header {
    margin-bottom: 40px;
}

.section-title {
    font-size: 36px;
}

.services-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.service-card {
    background: rgba(241, 241, 241, 0.8);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 300px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.6s ease, background-color 0.6s ease;
    border: 2px solid #7cb138;
    overflow: hidden;
}

.service-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 16px;
    color: #666;
}

.service-card.active {
    background: #fff;
    transform: translateX(0);
    animation: slideIn 0.6s ease forwards;
}

@keyframes slideIn {
    from {
        transform: translateY(-15%);
    }

    to {
        transform: translateY(0);
    }
}


/******************** Responsive Styles **********************/
@media screen and (max-width: 1200px) {
    .services-section {
        padding: 20px 30px;
    }
}

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

    @keyframes slideIn {
        from {
            transform: translateX(-20%);
        }

        to {
            transform: translateX(0);
        }
    }

    .services-cards {
        flex-direction: column;
        align-items: center;
    }

    .service-card {
        width: 100%;
        max-width: 300px;
    }
}

/************************* Mission and Vision Section Styles *************************/
.mission-vision-section {
    text-align: center;
    padding: 20px 20px 30px;
    max-width: 1170px;
    margin: 0 auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-header {
    margin-bottom: 20px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 23px;
    color: #666;
    max-width: 80%;
    margin: 0 auto;
}

.mission-vision-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: nowrap;
}

.mission-vision-card {
    background: #FFFFFF;
    border: 2px solid #626361;
    box-shadow: 3px 3px 0px 2px #626361;
    border-radius: 12px;
    padding: 20px;
    width: 85%;
    max-width: 477px;
    height: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px;
}

.mission-vision-card:hover {
    transform: translateY(-5px);
    border: 2px solid #7CB138;
    box-shadow: 3px 2px 0px 2px #7CB138;
}

.icon {
    width: 15%;
    height: auto;
    margin-left: 20px;
}

.icon img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-right: 0;
}

.text {
    text-align: left;
    flex: 1;
}

html[dir="rtl"] .text {
    text-align: right;
    flex: 1;
}

.text h3 {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.text p {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
    color: #333333;
}

/******************** Responsive Styles **********************/
@media (max-width: 1200px) {
    .mission-vision-card {
        max-width: 70%;
    }

    .mission-vision-section {
        text-align: center;
        padding: 20px 30px;
    }
}

@media (max-width: 992px) {
    .text h3 {
        font-size: 28px;
    }

    .text p {
        font-size: 18px;
    }

    .mission-vision-cards {
        display: flex;
        justify-content: center;
        gap: 0;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .text h3 {
        font-size: 24px;
    }

    .text p {
        font-size: 16px;
    }

    .mission-vision-card {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
        gap: 0;
        flex-wrap: wrap;
    }


    .icon {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .text {
        text-align: center;
    }

    html[dir="rtl"] .text {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .mission-vision-card {
        max-width: 100%;
    }

    .section-title {
        font-size: 25px;
    }

    .section-subtitle {
        font-size: 16px;
        color: #666;
        max-width: 90%;
        margin: 0 auto;
    }

    .text h3 {
        font-size: 20px;
        margin-bottom: 5px;
    }

    .text p {
        font-size: 14px;
    }

    .icon img {
        width: 100%;
        height: auto;
        object-fit: cover;
        margin-right: 0;
    }
}


/************************* Achievements Section Styles *************************/
.about-us-achievements-section {
    text-align: center;
    padding: 20px 20px 30px;
    max-width: 1170px;
    margin: 0 auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;

}

.about-us-achievements-header {
    margin-bottom: 40px;
}

.about-us-deco-line {

    width: 69px;
    height: 5px;
    background: linear-gradient(225deg, #97C55C 0%, #495F2C 100%);
    margin: 0 auto 10px;

}

.about-us-achievements-title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
    text-align: center;
}

.about-us-achievements-subtitle {
    text-align: center;
    font-size: 20px;
    color: #666;
    max-width: 90%;
    margin: 0 auto 30px;

}

.about-us-achievements-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 35px;
}

.about-us-achievements-card {
    position: relative;
    background: #FFFFFF;
    border: 2px solid #7CB138;
    box-shadow: 2px 2px 0px 2px rgba(207, 225, 186, 0.9);
    border-radius: 12px;
    padding: 20px;
    width: 300px;
    box-sizing: border-box;
    text-align: left;
}

.about-us-achievements-icon {
    position: absolute;
    top: -30px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: #fff;
    border: 2px solid #79AB3D;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    background-color: rgba(207, 225, 186, 0.9);
}

:dir(rtl).about-us-achievements-icon {
    position: absolute;
    top: -30px;
    right: 20px;
}

.about-us-achievements-icon img {
    width: 100%;
    height: auto;
}

.about-us-achievements-text h3 {
    margin-top: 40px;
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.about-us-achievements-text p {
    font-size: 16px;
    color: #333;
    margin-top: 10px;
    line-height: 1.5;
}

:dir(rtl) .about-us-achievements-text h3,
:dir(rtl) .about-us-achievements-text p {
    text-align: right;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    color: #79AB3D;
    text-decoration: none;
    font-weight: 600;
}

.read-more:hover {
    text-decoration: underline;
}

/******************** Responsive Styles **********************/
@media (max-width: 1200px) {
    .about-us-achievements-section {
        text-align: center;
        padding: 20px 30px;
    }
}

@media screen and (max-width: 768px) {
    .about-us-achievements-cards {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .about-us-achievements-card {
        width: 100%;
        max-width: 500px;
    }

    .about-us-achievements-icon {
        top: -25px;
        left: calc(50% - 30px);
    }

    :dir(rtl).about-us-achievements-icon {
        top: -25px;
        right: calc(50% - 30px);
    }

    .about-us-achievements-text h3 {
        margin-top: 50px;
        text-align: center;
    }

    .about-us-achievements-text p {
        text-align: center;
    }

    :dir(rtl) .about-us-achievements-text h3,
    :dir(rtl) .about-us-achievements-text p {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .about-us-achievements-section {
        text-align: center;
        padding: 20px 35px;
    }

    .about-us-achievements-title {
        font-size: 25px;
    }

    .about-us-achievements-subtitle {
        font-size: 16px;
        margin-bottom: 5px;
    }
}

/************************* Join Us Section Styles *************************/
.join-us-section {
    text-align: center;
    padding: 30px 20px;
}

.section-header {
    margin-bottom: 20px;
}

.about-us-deco-line {
    width: 69px;
    height: 5px;
    background: linear-gradient(225deg, #97C55C 0%, #495F2C 100%);
    margin: 0 auto 10px;
}

.section-title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.join-us-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1170px;
    background-color: #f9f9f9;
    border: 2px solid #79AB3D;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    margin: 0 auto;
}

.join-us-image {
    flex: 1 1 40%;
}

.join-us-image img {
    width: 70%;
    height: auto;
}

.join-us-text {
    flex: 1 1 50%;
    padding: 30px;
    text-align: left;
}

:dir(rtl) .join-us-text {
    text-align: right;
}

.join-us-text p {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

:dir(rtl) .join-us-text p,
:dir(rtl) .benefits-list li {
    text-align: right;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.benefits-list li {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
}

.benefits-list li i {
    color: #79AB3D;
    margin-right: 10px;
    margin-left: 10px;
}

.join-now-button {
    margin-top: 20px;
    padding: 8px 80px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 300px;
    height: 43px;
    background: linear-gradient(180deg, #97C55C 0%, #76A83A 100%);
    border: 3px solid #FFFFFF;
    box-shadow: 0px 4px 2px rgba(0, 0, 0, 0.25);
    border-radius: 15px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 20px;
}

.join-now-button:hover {
    background: linear-gradient(180deg, #76A83A 0%, #97C55C 100%);
    transform: translateY(-2px);
}

.testimonial {
    font-style: italic;
    color: #999;
    margin-top: 20px;
}

.contact-info {
    margin-top: 10px;
    font-size: 14px;
    color: #333;
}

/******************** Responsive Styles **********************/
@media (max-width: 1200px) {
    .join-us-section {
        text-align: center;
        padding: 20px 30px;
    }
}

@media screen and (max-width: 768px) {
    .join-us-content {
        flex-direction: column;
        text-align: center;
    }

    .join-us-image,
    .join-us-text {
        flex: 1 1 100%;
    }

    .join-us-image img {
        max-width: 60%;
        margin: 0 auto;
    }

    .join-us-text p,
    .testimonial,
    .benefits-list,
    .contact-info {
        text-align: left;
        margin: 15px auto;
    }


    .benefits-list {
        text-align: left;
        margin: 0 auto;
    }


    .join-now-button {

        padding: 7px 60px;
        height: 23px;
        border-radius: 10px;
        max-width: 150px;
        font-size: 15px;
        margin: 70px 0;
    }

    .benefits-list li {
        font-size: 18px;
        color: #333;
        margin-bottom: 15px;
    }
}

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

    .section-title {
        font-size: 25px;
    }

    .join-us-section {
        text-align: center;
        padding: 20px 35px;
    }

    .benefits-list li {
        font-size: 15px;
        margin-bottom: 15px;
        font-weight: bold;
    }

    .join-now-button {

        padding: 3px 50px;
        height: 23px;
        border-radius: 10px;
        max-width: 150px;
        font-size: 15px;
        margin: 70px 0;
    }

}

/************************* FAQ Section Styles *************************/
.faq-accordion .accordion-button i {
    transition: color 0.4s ease;
}

.faq-accordion .accordion-button i.fa-chevron-down {
    color: #79AB3D;
}

.faq-accordion .accordion-button i.fa-chevron-up {
    color: #ffffff;
}

.faq-section {
    text-align: center;
    padding: 40px 20px;
}

.section-header {
    margin-bottom: 20px;
}

.section-title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.faq-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1170px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    margin: 0 auto;
}

.faq-image {
    flex: 1 1 40%;
    padding: 20px;
}

.faq-image img {
    width: 80%;
    height: auto;
}

.faq-accordion {
    flex: 1 1 60%;
    padding: 20px;
    text-align: left;
}

.accordion-item {
    margin-bottom: 12px;
    border: 2px solid #7cb138;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.accordion-button {
    background-color: #fff;
    color: #7cb138;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    padding: 12px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: background-color 0.4s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px;
    height: 50px;
}

.accordion-button.active {
    background-color: #7cb138;
    color: white;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.accordion-content {
    padding: 0 18px;
    display: none;
    overflow: hidden;
    background-color: #f9f9f9;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.accordion-content p {
    padding: 12px 0;
    margin: 0;
    color: #626361;
    font-weight: bold;
}

:dir(rtl) .accordion-content p {
    text-align: right;
}

/******************** Responsive Styles **********************/
@media (max-width: 1200px) {
    .faq-section {
        text-align: center;
        padding: 20px 5px;
    }
}

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

    .faq-image,
    .faq-accordion {
        flex: 1 1 100%;
    }

    .faq-image img {
        width: 60%;
        height: auto;
    }

    :dir(rtl) .accordion-button {
        font-size: 17px;
        text-align: right;
        direction: rtl;
    }
}

@media screen and (max-width: 450px) {
    .section-title {
        font-size: 20px;
    }

    .accordion-button {
        font-size: 14px;
        padding: 0 10px;
    }

    :dir(rtl) .accordion-button {
        font-size: 14px;
        text-align: right;
        direction: rtl;
    }

    .faq-content {
        padding: 0;
    }
}