/************************* Landing Page Styles *************************/
.landing-page {
    font-family: 'Beiruti', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

.landing-page-hero-background {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: url('/img/midad-programmers.png') no-repeat center center;
    background-size: 60%;
    width: 100%;
    height: 100%;
    opacity: 0.08;
    z-index: 0;
}

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

.landing-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;
}

.landing-page-title .landing-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;
}

.landing-page-subtitle {
    font-size: 35px;
    color: #666;
    margin-bottom: 10px;
    font-weight: 500;
}

.landing-page-description {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
    font-weight: 500;
    max-width: 100%;
}

.landing-hero-button {

    width: 249px;
    height: 61px;
    margin-top: 20px;
    line-height: 37px;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    display: inline-block;
    color: #fff;
    padding: 10px 30px;
    font-size: 25px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 15px;
    background: linear-gradient(90deg, #97C55C 0%, #79AB3D 100%);
    border: 3px solid #FFFFFF;
    box-shadow: 0px 4px 2px rgba(0, 0, 0, 0.25);
    text-align: center;
    transition: background 0.3s, transform 0.3s;
}

.landing-hero-button:hover {
    transform: translateY(-2px);
    background: linear-gradient(90deg, #79AB3D 0%, #97C55C 100%);
}

.landing-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;
}

/****************************** Responsive Styles for Hero Section *******************************/
@media screen and (max-width: 1200px) {
    .landing-page-title {
        font-size: 72px;
        line-height: 82px;
    }

    .landing-page-hero-background {
        background-size: 70%;
    }
}

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

    .landing-page-title {
        font-size: 64px;
        line-height: 74px;
    }

    .landing-page-subtitle {
        font-size: 20.8px;
    }

    .landing-page-description {
        font-size: 17.6px;
    }

    .landing-hero-button {
        width: 220px;
        height: 55px;
        font-size: 22px;
    }
}

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

    .landing-page-hero {
        padding: 100px 20px 100px;
    }

    .landing-page-hero-content {
        padding-top: 0;
    }

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


    .landing-page-subtitle {
        font-size: 19.2px;
    }

    .landing-page-description {
        font-size: 16px;
    }


    .landing-hero-button {
        width: 200px;
        height: 40px;
        font-size: 20px;
        padding: 0;
        margin-top: 0;
    }

    .landing-page-hero-background {
        top: 0;
        left: 50%;
        background-size: 60%;
    }

}

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

    .landing-page-hero {
        padding: 100px 30px;
    }

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

    .landing-page-subtitle {
        font-size: 1rem;
    }

    .landing-page-description {
        font-size: 0.9rem;
    }


    .landing-hero-button {
        width: 180px;
        height: 40px;
        font-size: 18px;

    }

    .landing-page-hero-background {
        top: -30px;
        left: 50%;
        background-size: 60%;
    }
}

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

    .landing-page-hero-content {
        padding: 40px 10px;
    }

    .landing-page-title {
        font-size: 35px;
        line-height: 48px;
        margin-bottom: 10px;
    }

    .landing-page-hero-background {
        top: -10%;
        left: 50%;
        background-size: 80%;
    }
}

/*************************** Statistics Section Styles ***************************/
.statistics-section {
    width: 100%;
    background-color: #f6f6f5;
    padding: 5px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.statistics-container {
    width: 100%;
    max-width: 1170px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.statistics-container.in-view {
    opacity: 1;
    transform: translateY(0);
}

.stat-item {
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    flex: 1 1 22%;
    min-width: 100px;
    max-width: 200px;
    transition: transform 0.3s ease;
    margin: 10px;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 8px;
}

.green-icon {
    background: linear-gradient(180deg, #97C55C 0%, #76A83A 100%);
}

.gray-icon {
    background: linear-gradient(180deg, #888987 0%, #626361 100%);
}

.stat-icon i {
    color: #fff;
    font-size: 24px;
}

.stat-text h3 {
    font-weight: 600;
    font-size: 24px;
    line-height: 30px;
    color: #333;
    margin: 0;
}

.stat-text p {
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #999999;
    margin: 0;
}

/******************************* Responsive Design *******************************/
@media (max-width: 1200px) {
    .stat-item {
        flex: 1 1 22%;
        min-width: 100px;
        max-width: 150px;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
    }

    .stat-icon i {
        font-size: 20px;
    }

    .stat-text h3 {
        font-size: 20px;
    }

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

@media (max-width: 768px) {
    .stat-item {
        flex: 1 1 12%;
        min-width: 80px;
        max-width: 130px;
    }

    .stat-icon {
        width: 45px;
        height: 45px;
    }

    .stat-icon i {
        font-size: 18px;
    }

    .stat-text h3 {
        font-size: 18px;
    }

    .stat-text p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {

    .statistics-section {
        padding: 10px 10px;
    }

    .stat-item {
        flex: 1 1 10%;
        min-width: 70px;
        max-width: 100px;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
    }

    .stat-icon i {
        font-size: 16px;
    }

    .stat-text h3 {
        font-size: 16px;
    }

    .stat-text p {
        font-size: 12px;
    }
}

@media (max-width: 440px) {
    .statistics-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 5px;
        justify-items: center;
    }

    .stat-item {
        display: flex;
        align-items: center;
        flex-direction: row;
        text-align: center;
        flex: none;
        min-width: 100px;
        max-width: 150px;
        transition: transform 0.3s ease;
        margin: 5px;
    }


    .stat-icon {
        width: 40px;
        height: 40px;
        margin-right: 12px;
        margin-left: 0;
    }


    :dir(rtl) .stat-icon {
        margin-left: 12px;
        margin-right: 0;
    }

    .stat-icon i {
        font-size: 16px;
    }

    .stat-text h3 {
        font-size: 14px;
        line-height: 18px;
    }

    .stat-text p {
        font-size: 12px;
        line-height: 12px;
    }
}

/******************************* Learning Paths Section Styles  *******************************/
.learning-paths-section {
    max-width: 1170px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

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

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

h2 {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 10px;
}

.learning-paths-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Two columns layout */
    gap: 20px;
    justify-content: center;
}

.learning-path-card {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    width: 100%;
    height: 150px;
    background: #fff;
    border: 2px solid #D8D8D8;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.learning-path-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    color: #76A83A;
    border-color: #76A83A;
}

.learning-path-icon {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.learning-path-icon img {
    width: 80px;
    height: 80px;
}

.learning-path-content {
    flex: 2;
    text-align: left;
    padding: 10px;
}

.learning-path-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
    text-align: left;
}

html[dir="rtl"] .learning-path-content h3 {
    text-align: right;
}

.learning-path-content p {
    font-size: 16px;
    color: #666;
    margin: 0;
    text-align: left;
}

html[dir="rtl"] .learning-path-content p {
    text-align: right;
}

.landing-courses-all-courses-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #97C55C;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    position: relative;
    /* Ensure the link covers the entire button */
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.landing-courses-all-courses-button:hover {
    background-color: #76A83A;
}

.landing-courses-all-courses-button .button-link {
    color: inherit;
    text-decoration: none;
    display: block;
    width: 100%;
    text-align: center;
    border-radius: 5px;
}

.landing-courses-all-courses-button .button-link i {
    margin-left: 5px;
}

.button-link .arrow-icon {
    margin-left: 5px;
    margin-right: 0;
    transform: none;
}

html[dir="rtl"] .button-link .arrow-icon {
    margin-left: 0;
    margin-right: 5px;
    transform: rotate(180deg);
    /* Rotate arrow to point left */
}

/******************** Responsive Styles **********************/
@media (max-width:1200px) {
    .learning-paths-section {
        max-width: 1170px;
        margin: 0 auto;
        padding: 40px 30px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .learning-paths-container {
        grid-template-columns: 1fr;
    }

    .learning-path-card {
        width: 90%;
        margin: 10px auto;
        flex-direction: column;
        height: auto;
    }

    .learning-path-content {
        text-align: center;
    }

    .learning-path-content h3 {
        text-align: center;
    }

    .learning-path-content p {
        text-align: center;
    }

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

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

    .button-link .arrow-icon {
        display: none;
    }
}

@media (max-width: 480px) {
    .learning-path-content h3 {
        font-size: 18px;
        margin-bottom: 0;

    }

    .learning-path-content p {
        font-size: 14px;
    }

    .learning-path-icon img {
        width: 60px;
        height: 60px;
    }

    h2 {
        font-size: 25px;
    }
}

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

html[dir="rtl"] .about-section {
    max-width: 1170px;
    margin: 0 auto;
    text-align: right;
}

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

.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: bold;
    margin-bottom: 10px;
}

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

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

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

html[dir="rtl"] .background-icon {
    position: absolute;
    top: -33px;
    right: 20px;
    opacity: 0.8;
    z-index: 0;
}

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

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

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

.join-button {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: linear-gradient(180deg, #97C55C 0%, #76A83A 100%);
    color: #fff;
    border: 2px solid #fff;
    border-radius: 15px;
    box-shadow: 0 4px 2px rgba(0, 0, 0, 0.25);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

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

.arrow-icon {
    width: 20px;
    height: auto;
    margin-left: 8px;
    display: inline-block;
    vertical-align: middle;
}

html[dir="rtl"] .arrow-icon {
    transform: rotate(180deg);
    /* Flip the arrow */
    margin-left: 0;
    margin-right: 5px;
    /* Adjust spacing for RTL */
}

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

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

}

/******************** Responsive Styles **********************/

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

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

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

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


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


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

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

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

    .about-image img {
        max-width: 60%;
        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: 80px 35px 30px;
    }

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

    .about-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-image img {
        max-width: 70%;
        height: auto;
    }

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

}

/******************************* Popular Courses Section Styles  *******************************/
.landing-courses-section {
    max-width: 100%;
    margin: 0 auto;
    padding: 40px 0 20px;
    position: relative;
    background-color: #f5f5f5;
}

.landing-courses-header {
    text-align: center;
    margin-bottom: 20px;
}

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

.landing-courses-title {
    font-size: 28px;
    font-weight: bold;
}

.landing-courses-card {
    min-width: 320px;
    max-width: 320px;
    margin: 0 auto;
    background: #fff;
    border: 2px solid #D8D8D8;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.landing-courses-card:hover {
    transform: translateY(-5px);
}

.landing-courses-image {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.landing-courses-image img {
    width: 100%;
    height: auto;
}

.landing-courses-join-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 14px;
}

.landing-courses-favorite-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #ff0000;
}

.landing-courses-content {
    padding: 15px 10px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.landing-courses-content h3 {
    padding-top: 10px;
}

.landing-courses-category-badge {
    display: inline-block;
    background-color: #f0f0f0;
    padding: 5px 10px;
    border-radius: 15px;
    margin-bottom: 10px;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.landing-courses-button {
    margin-top: auto;
    padding: 8px 20px;
    background-color: #7CB138;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: bold;
    font-size: 16px;
    margin-top: 15px;
}

.landing-courses-button:hover {
    background-color: #76A83A;
}

.landing-courses-all-courses-button {
    margin: 20px auto;
    display: block;
    background-color: transparent;
    color: #333;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: color 0.3s ease;
}

.landing-courses-all-courses-button:hover {
    color: #97C55C;
}

.landing-courses-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    position: relative;
    padding: 0;
    max-width: 1170px;
    margin: 0 auto;
}

.landing-courses-view-all-text {
    font-size: 20px;
    font-weight: bold;
    color: #76A83A;
    margin-left: 20px;
    margin-bottom: 5px;
}

.landing-courses-line {
    flex-grow: 1;
    height: 2.5px;
    background-color: #97C55C;
    margin: 0 20px;
}

.landing-courses-all-courses-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 157px;
    height: auto;
    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: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.landing-courses-all-courses-button i {
    margin-left: 10px;
    transform: rotate(180deg);
}

.landing-courses-all-courses-button:hover {
    transform: translateY(-2px);
    background: linear-gradient(90deg, #79AB3D 0%, #97C55C 100%);
    color: #fff;
}

/******************** Responsive Styles **********************/
@media (max-width: 1100px) {
    .landing-courses-card {
        min-width: 90%;
        max-width: 90%;
        height: auto;
        margin: 11px;
        background: #fff;
        border: 2px solid #D8D8D8;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        display: flex;
        flex-direction: column;
        align-items: center;
        transition: transform 0.3s ease;
    }

}

@media (max-width: 768px) {
    .landing-courses-all-courses-button {
        width: 144px;
        height: 38px;
    }
}

@media (max-width: 480px) {


    .landing-courses-view-all-text {
        display: none;
    }

    .landing-courses-line {
        display: none;
    }

    .landing-courses-all-courses-button {
        margin-bottom: 0;
    }


}

/******************************* Why Section Styles  *******************************/
.landing-why-section {
    max-width: 1170px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.landing-why-header {
    margin-bottom: 20px;
}

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

.landing-why-title {
    font-size: 30px;
    font-weight: bold;
    color: #333;
}

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

.landing-why-card {
    background-color: #fff;
    border: 2px solid #D8D8D8;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: calc(25% - 20px);
    text-align: center;
    transition: transform 0.3s ease;
    margin: 10px 0;
}

.landing-why-card:hover {
    transform: translateY(-5px);
    border-color: #97C55C;
}

.landing-why-icon {
    font-size: 36px;
    color: #97C55C;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.landing-why-text {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

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

@media (max-width: 780px) {
    .landing-why-card {
        width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .landing-why-section {
        padding: 20px 35px;
    }

    .landing-why-card {
        width: calc(100% - 20px);
        margin: 0;
    }

    .landing-why-title {
        font-size: 25px;
    }
}

/******************************* News Section Styles  *******************************/
.landing-news-section {
    max-width: 1170px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
    position: relative;
}

.landing-news-header {
    position: relative;
    margin-bottom: 20px;
}

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

.landing-news-title {
    font-size: 30px;
    font-weight: bold;
    color: #333;
}

.landing-news-view-all {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 18px;
    font-weight: bold;
    color: #7cb138;
    text-decoration: none;
    transition: color 0.3s ease;
}

.landing-news-view-all:hover {
    color: #76A83A;
}

.landing-news-cards {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    flex-wrap: wrap;
}

.landing-news-card {
    background-color: #fff;
    border: 2px solid #7cb138;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 30%;
    text-align: left;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    margin-bottom: 15px;
}

.landing-news-card:hover {
    transform: translateY(-5px);
}

.landing-news-image img {
    width: 100%;
    height: 220px;
    padding: 20px;
    border-radius: 30px;
    object-fit: cover;
    /* Ensure the image covers the area */
}

.landing-news-date {
    font-size: 12px;
    color: #666;
    margin: 0 0 0 15px;
}

.landing-news-content {
    padding: 0 15px 10px;
}

.landing-news-content h3 {
    font-size: 19px;
    color: #333;
    margin-bottom: 8px;
    font-weight: bold;
    text-align: left;
}

html[dir="rtl"] .landing-news-content h3 {
    text-align: right;
}

.landing-news-content p {
    font-size: 17px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 12px;
    text-align: left;
}

html[dir="rtl"] .landing-news-content p {
    text-align: right;
}

.landing-news-read-more {
    color: #7cb138;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    text-align: inherit;
}

.landing-news-read-more {
    justify-content: flex-start;
}

.landing-news-read-more .arrow-icon {
    margin-right: 0;
    margin-left: 5px;
}

html[dir="rtl"] .landing-news-read-more {
    text-align: right !important;
    direction: rtl;
    justify-content: flex-end;
}

html[dir="rtl"] .landing-news-read-more .arrow-icon {
    margin-left: 0;
    margin-right: 5px;
    /* Add some space to the right of the arrow */
}

.landing-news-read-more:hover {
    color: #76A83A;
}

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

    .landing-news-content h3 {
        font-size: 15px;
    }

    .landing-news-content p {
        font-size: 13px;
    }

    .landing-news-view-all {
        position: absolute;
        top: 0;
        right: 2px;
    }

}

@media (max-width: 992px) {
    .landing-news-cards {
        display: flex;
        justify-content: space-evenly;
        align-items: flex-start;
        gap: 5px;
        flex-wrap: wrap;
    }

    .landing-news-view-all {
        position: static;
        text-align: center;
        margin-top: 20px;
    }

    .landing-news-content h3 {
        font-size: 13px;
    }

}

@media (max-width: 860px) {
    .landing-news-card {
        max-width: 45%;
    }

    .landing-news-content h3 {
        font-size: 16px;
    }

    .landing-news-content p {
        font-size: 14px;
    }
}

@media (max-width: 704px) {
    .landing-news-card {
        max-width: 60%;
    }

    .landing-news-cards {
        justify-content: center;
    }

}

@media (max-width: 500px) {

    .landing-news-section {
        padding: 20px 40px;
    }

    .landing-news-card {
        max-width: 100%;
    }

    .landing-news-view-all {
        position: static;
        text-align: center;
        margin-top: 20px;
    }

    .landing-news-title {
        font-size: 25px;
    }
}

/******************************* Success Stories Section Styles *******************************/
.landing-success-stories-section {
    max-width: 1170px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.landing-success-stories-header {
    margin-bottom: 20px;
    text-align: center;
}

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

.landing-success-stories-title {
    font-size: 30px;
    font-weight: bold;
    color: #333;
}

.landing-success-stories-content {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 40px;
    flex-wrap: wrap;
}

.landing-success-stories-text {
    max-width: 50%;
    font-size: 20px;
    color: #333;
    line-height: 1.6;
    flex: 1;
    text-align: left;
}

html[dir="rtl"] .landing-success-stories-text {
    text-align: right;
}

.landing-success-stories-button {
    margin-top: 20px;
    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;
}

.landing-success-stories-button:hover {
    transform: translateY(-2px);
    background: linear-gradient(90deg, #79AB3D 0%, #97C55C 100%);
    color: #fff;
}

.landing-success-stories-video {
    position: relative;
    width: 350px;
    height: 300px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
    border: 4px solid #fff;
}

.landing-success-stories-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.landing-success-stories-video-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    color: #fff;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.landing-success-stories-video:hover .landing-success-stories-video-icon {
    opacity: 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: rgba(255, 255, 255);
    margin: auto;
    padding: 30px;
    border: 1px solid #888;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 45px;
    font-weight: 500;
    cursor: pointer;
}

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

#videoPlayer {
    width: 100%;
    height: auto;
    max-height: 70vh;
    /* Limit the video height */
}

/******************** Responsive Styles **********************/
@media (max-width: 1200px) {
    .landing-success-stories-section {
        padding: 20px 30px 40px;
    }

    .landing-success-stories-text {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .landing-success-stories-content {
        flex-direction: column;
        align-items: center;
    }

    .landing-success-stories-video {
        width: 100%;
        max-width: 350px;
    }

    .landing-success-stories-text {
        text-align: center;
        max-width: 80%;
    }

    html[dir="rtl"] .landing-success-stories-text {
        text-align: center;
        max-width: 80%;
    }


    .modal-content {
        width: 95%;
        max-width: 600px;
    }


}

@media (max-width: 480px) {
    .landing-success-stories-section {
        padding: 20px 35px 40px;
    }

    .landing-success-stories-title {
        font-size: 25px;
    }

    .landing-success-stories-text {
        font-size: 16px;
    }

    .landing-success-stories-button {
        width: 100%;
        max-width: 250px;
        font-size: 15px;

    }

    .landing-success-stories-text {
        max-width: 100%;
    }


}

/******************************* Hiring Developers Section Styles *******************************/
.landing-hiring-section {
    max-width: 100%;
    margin: 0 auto;
    padding: 40px 0;
    position: relative;
}

.landing-hiring-img {
    display: flex;
    justify-content: center;
}
.landing-hiring-img img{
    max-width: 20%;
    height: auto;
    opacity: 0.9;
}


.landing-hiring-header {
    text-align: center;
}

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

.landing-hiring-title {
    font-size: 30px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.landing-hiring-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.landing-hiring-text {
    max-width: 100%;
    font-size: 23px;
    color: #333;
    line-height: 1.6;
    flex: 1;
    text-align: left;
}

.landing-hiring-text h3 {
    font-size: 28px;
}

.landing-hiring-text p {
    font-weight: 500;
    text-align: center;
    font-size: 20px;
    max-width: 1100px;
    margin: 10px auto;
}

.landing-hiring-section .profiles-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-content: center;
    align-items: center;
    justify-items: center;
    width: 100%;
    max-width: 1100px;
    margin: 30px auto;
}

.landing-hiring-section .profile-card {
    border: 2px solid #7cb138;
    background-color: #FFFFFF;
    border-radius: 15px;
    padding: 20px;
    width: 320px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    transition: transform 0.5s ease, opacity 0.5s ease, box-shadow 0.3s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.landing-hiring-section .profile-card.active {
    opacity: 1;
    transform: translateX(0) scale(1);
}

/* Hover effect to slightly scale and increase shadow */
.landing-hiring-section .profile-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

/* Add a background gradient and a small rotation effect */
.landing-hiring-section .profile-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(120deg, rgba(124, 177, 56, 0.1), rgba(255, 255, 255, 0.5));
    z-index: -1;
    transform: rotate(45deg);
    transition: transform 0.5s ease-in-out;
}

.landing-hiring-section .profile-card:hover::before {
    transform: rotate(0deg);
}

/* Add some animation to the profile image for a more dynamic feel */
.landing-hiring-section .profile-card img {
    border-radius: 50%;
    transition: transform 0.5s ease;
}

.landing-hiring-section .profile-card:hover img {
    transform: scale(1.1);
}

.landing-hiring-section .profile-header {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 15px;
}

.landing-hiring-section .profile-header img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    margin-left: 0;
}

:dir(rtl).landing-hiring-section .profile-header img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 0;
    margin-left: 15px;
}


.landing-hiring-section .profile-header .profile-info {
    text-align: left;

}

html[dir="rtl"] .landing-hiring-section .profile-header .profile-info {
    text-align: right;
}

.landing-hiring-section .profile-header h3 {
    font-size: 20px;
    margin-bottom: 0;
    padding: 0;
    text-align: left;
}

html[dir="rtl"] .landing-hiring-section .profile-header h3 {
    text-align: right;
}


.landing-hiring-section .profile-header .role {
    font-size: 16px;
    color: #333;
    padding: 0;
    margin: 0;
    text-align: left;
    direction: ltr;
}

html[dir="rtl"] .landing-hiring-section .profile-header .role {
    text-align: right;
}

.landing-hiring-section .profile-card .skills {
    font-weight: bold;
    color: #333;
    margin: 0;
    padding: 0;
}

.landing-hiring-section .profile-card p {
    font-size: 15px;
    margin-bottom: 10px;
    padding: 0;
}

.landing-hiring-section .profile-card .contact-btn {
    background-color: #79AB3D;
    color: #fff;
    padding: 5px 15px;
    margin: 0 auto 5px;
    text-decoration: none;
    border-radius: 15px;
    width: 90%;
    height: auto;
    display: block;
    text-align: center;
}

.landing-hiring-section .profile-card .linkedin {
    font-size: 28px;
    color: #0077b5;
    display: inline-block;
    text-decoration: none;
    position: absolute;
    top: 10px;
    border-radius: 33px;
}

html[dir="rtl"] .landing-hiring-section .profile-card .linkedin {
    right: auto;
    left: 10px;
}

html[dir="ltr"] .landing-hiring-section .profile-card .linkedin {
    left: auto;
    right: 10px;
}


.landing-hiring-section .pagination {
    text-align: center;
    margin-top: 15px;
}

.landing-hiring-section .pagination .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: #ddd;
    border-radius: 50%;
    cursor: pointer;
}

.landing-hiring-section .pagination .dot.active {
    background-color: #79AB3D;
}

.landing-hiring-button {
    margin-top: 10px;
    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;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.landing-hiring-button a {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 43px;
}

.landing-hiring-button:hover {
    transform: translateY(-2px);
    background: linear-gradient(90deg, #79AB3D 0%, #97C55C 100%);
    color: #fff;
}

.button-pair {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.show-more-btn,
.invite-btn {
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    display: inline-block;
}

.show-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: auto;
    padding: 5px 15px;
    margin: 0 auto 5px;
    background: linear-gradient(180deg, #888987 0%, #626361 100%);
    border: 3px solid #FFFFFF;
    box-shadow: 0px 4px 2px rgba(0, 0, 0, 0.25);
    border-radius: 15px;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    font-size: 18px;
}

.invite-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: auto;
    padding: 5px 15px;
    margin: 0 auto 5px;
    background: linear-gradient(90deg, #97C55C 0%, #79AB3D 100%);
    border: 3px solid #FFFFFF;
    box-shadow: 0px 4px 2px rgba(0, 0, 0, 0.25);
    border-radius: 15px;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    font-size: 18px;
}

.show-more-btn:hover {
    background: linear-gradient(180deg, #626361 0%, #888987 100%);
}

.invite-btn:hover {
    background: linear-gradient(90deg, #79AB3D 0%, #97C55C 100%);
}

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

    .landing-hiring-section .profiles-container {
        max-width: 1000px;
    }

    .landing-hiring-section .profile-card {
        padding: 15px;
        width: 300px;
    }
    .landing-hiring-img img{
        max-width: 40%;
        height: auto;
        opacity: 0.9;
    }
}

@media (max-width:1050px) {

    .landing-hiring-section .profile-card {
        padding: 15px;
        width: 280px;
    }
}

@media (max-width: 992px) {
    .landing-hiring-section {
        padding: 20px 30px;
    }

    .landing-hiring-section .profiles-container {
        grid-template-columns: repeat(2, 1fr);
        /* Two cards in a row */
        gap: 20px;
    }

    .landing-hiring-text {
        font-size: 18px;
    }

    .landing-hiring-button {
        width: 250px;
    }
}

@media (max-width: 768px) {
    .landing-hiring-section {
        padding: 20px 35px;
    }


    .landing-hiring-content {
        flex-direction: column-reverse;
        align-items: center;
        padding-bottom: 20px;
    }

    .landing-hiring-image {
        width: 60%;
        max-width: 450px;
        display: flex;
        justify-content: center;
    }

    .landing-hiring-text {
        text-align: center;
        max-width: 80%;
        padding-left: 0;
    }

    .landing-hiring-button {
        width: 100%;
        max-width: 250px;
    }

    .landing-hiring-text h3 {
        font-size: 24px;
    }

    .landing-hiring-section .profiles-container {
        grid-template-columns: 1fr;
        /* One card in a row */
        gap: 20px;
    }

    .landing-hiring-section .profile-card {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .landing-hiring-section {
        padding: 20px 25px;
    }

    .landing-hiring-section .profile-card {
        padding: 10px;
        width: 340px;
    }

    .landing-hiring-title {
        font-size: 25px;
    }

    .landing-hiring-text {
        font-size: 16px;
    }

    .landing-hiring-button {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .landing-hiring-text {
        text-align: center;
        max-width: 95%;
    }

    .landing-hiring-text h3 {
        font-size: 20px;
    }

    .landing-hiring-image {
        width: 70%;
        max-width: 450px;
    }

    .landing-hiring-section .profiles-container {
        grid-template-columns: 1fr;
        /* One card in a row */
    }

    .landing-hiring-section .profile-card {
        width: 100%;
    }

    .landing-hiring-text p {
        margin-bottom: 10px;
        font-size: 15px;
    }
}

/******************************* Testimonials Section Styles  *******************************/
.landing-testimonials-section {
    margin: 0 auto;
    padding: 30px 0;
    background-color: #F6F5F5;
    position: relative;
    overflow: hidden;
}

.landing-testimonials-header {
    text-align: center;
    margin-bottom: 20px;
}

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

.landing-testimonials-title {
    font-size: 30px;
    font-weight: bold;
    color: #333;
}

.landing-testimonials-subtitle {
    font-size: 20px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}

.landing-testimonials-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1170px;
    margin: 0 auto;
}

.landing-testimonials-swiper {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
}

.landing-testimonials-swiper-wrapper {
    display: flex;
    justify-content: center;
    transition: transform 0.5s ease;
    width: 100%;
    cursor: pointer;
}

.landing-testimonial-card {
    width: 30%;
    max-width: 320px;
    min-width: 280px;
    padding: 20px;
    margin: 0 10px;
    background-color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    border-left: 6px solid #79AB3D;
    opacity: 0.7;
    transform: scale(0.9);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.landing-testimonial-card.active {
    transform: scale(1);
    opacity: 1;
}

.landing-testimonial-card blockquote {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    margin: 0 0 20px;
    position: relative;
    padding-left: 20px;
}

.landing-testimonial-card blockquote:before {
    content: "“";
    font-size: 30px;
    color: #97C55C;
    position: absolute;
    left: 0;
    top: -10px;
}

.landing-testimonial-author {
    display: flex;
    align-items: center;
}

.landing-testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    margin-left: 15px;
}

.landing-author-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.landing-author-info strong {
    font-size: 16px;
    color: #333;
}

.landing-author-info span {
    font-size: 14px;
}

.landing-stars {
    color: #FFD700;
    font-size: 16px;
    line-height: 1;
}

.landing-testimonials-pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease, width 0.3s ease;
}

.dot.active {
    background-color: #97C55C;
    width: 30px;
    border-radius: 15px;
}

/********************* Responsive Styles ********************/
@media (max-width: 880px) {
    .landing-testimonials-swiper-wrapper {
        flex-direction: column;
    }

    .landing-testimonials-subtitle {
        padding: 5px 20px;
    }

    .landing-testimonial-card {
        width: 100%;
        max-width: 100%;
        margin: 10px auto;
    }

    .landing-testimonial-card.active {
        transform: scale(0.9);
    }


    .landing-testimonial-card {
        opacity: 0.5;
        transform: scale(0.8);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
}