﻿

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Regular.ttf');
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: 'Poppins Bold';
    src: url('fonts/Poppins-Bold.ttf');
    font-style: normal;
    font-weight: 700;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #F8F9FA;
}


/* Start of hero  */
/*.hero-section {
    position: relative;
    width: 100%;
    height: 80vh;
    background-color: #f0f0f0;
}*/

.hero-section {
    position: relative;
    width: 100%;
    height: 66vh;
    background-color: #f0f0f0;
}

.absolute-div {
    position: absolute;
    left: 8.2em;
    top: 3em;
    padding: 1em;
    z-index: 100;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #e0e0e0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.last-slide {
    position: relative;
    background-color: #b3e5fc;
}

.register-cont-description {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 2em;
    border-radius: 8px;
}

.slide1 {
    background-image: url('../images/index/bg1s.jpg');
}

.slide2 {
    background-image: url(../images/index/bg2s.jpg);
}

.slide3 {
    background-image: url(../images/index/bg3s.jpg);
}

.hero-banner-collapsables {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-button {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 35px;
    text-align: center;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    width: 374px;
    max-height: 88px;
    height: 183px;
}

    .hero-button .hero-description {
        max-height: 0;
        overflow: hidden;
        height: auto;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s ease, max-height 0.5s ease, visibility 0.5s ease;
        font-size: 12px;
        /* width: 24%; */
        align-items: right;
        /* align-content: center; */
    }

    .hero-button:hover {
        max-height: 200px;
    }

        .hero-button:hover .hero-description {
            max-height: 120px;
            opacity: 1;
            visibility: visible;
        }

    .hero-button .hero-div img {
        width: 15%;
        transition: transform 0.3s ease, width 0.3s ease;
    }

    .hero-button:hover .hero-div img {
        transform: scale(1.5);
        width: 17%;
    }

.swiper-pagination {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    position: absolute;
    bottom: 3em;
    right: 5em;
    width: 100%;
}

    .swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
        display: flex;
        flex-direction: column;
        gap: 10px;
        bottom: 4em;
        right: 7em;
        width: 80px !important;
        left: auto;
        font-size: 50;
    }

.hero-banner-collapsable {
    gap: 16px;
    background-color: rgba(255, 255, 255, 0.8);
    /* padding: 10px; */
    border-radius: 20px;
    text-align: left;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.5s ease;
    max-height: 100px;
    overflow: hidden;
    width: 400px;
    display: flex;
    box-shadow: 0px 0px 7px 1px #00000045;
    flex-direction: column;
    height: 100px;
    padding: 10px 20px 10px 20px;
}

.swiper-pagination-bullet {
    width: 60px !important;
    height: 60px !important;
    border: 4px solid #ffffff !important;
    background-color: #dddddd99 !important;
    border-radius: 50% !important;
}

.swiper-pagination-bullet-active {
    border: 4px solid #393939 !important;
    background-color: #3838389f !important;
}

.swiper-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

.hero-div {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .hero-div img {
        background-color: #aad0aa;
        border-radius: 50px;
        width: 20%;
        transition: transform 0.3s ease;
    }

.hero-title {
    margin-left: 11px;
    align-content: center;
    font-size: 23px;
}

/*register*/
.home-register {
    margin: 0;
    font-family: "Arial", sans-serif;
    display: flex;
    margin-left: 28em;
}

.poster {
    width: 507px;
    height: 472px;
    border-radius: 62px 62px 0px 0px;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); */
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    background-color: rgba(12, 12, 12, 0.51);
    opacity: 1;
    bottom: 0px;
    position: absolute;
    right: 22em;
}

.adv {
    position: relative;
    z-index: 1;
}

    .adv h1 {
        font-size: 3.5em;
        margin: 0;
        padding: 0;
        font-weight: 972;
    }

    .adv p {
        font-size: 1.2em;
        margin: 10px 0;
        font-weight: bold;
    }

.detail {
    display: flex;
    align-items: center;
    margin: auto;
}

.details {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 20px 0;
    flex-wrap: wrap;
    align-content: center;
}

.detail img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.detail span {
    font-size: 17px;
    padding: 8px;
    font-weight: bold;
}

.home-register-btn {
    background-color: #f44336;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1.6em;
    margin-top: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: 503;
    width: 76%;
    border-radius: 30px;
}

    .home-register-btn:hover {
        background-color: #d32f2f;
    }

.banner-container {
    display: flex;
    gap: 0.5em;
}

    .banner-container img {
        background-color: #bcc1b8;
        padding: 8px;
        width: 74.19px;
        height: 74.29px;
        padding: 1px;
        border-radius: 50px;
        transition: all 0.5s ease;
        object-fit: none;
    }

.banner-inner-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    align-content: flex-start;
    transition: all 0.7s ease;
}

.hero-banner-collapsables {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
/*
  .hero-banner-collapsable {
    gap: 1em;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: 20px;
    text-align: left;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.5s ease;
    max-height: 75px;
    overflow: hidden;
    width: 302px;
    display: flex;
    box-shadow: 0px 0px 7px 1px #00000045;
    flex-direction: column;
    height: 75px;
    padding: 10px 20px 10px 20px;
  }*/
.hero-banner-collapsable {
    gap: 16px;
    background-color: rgba(255, 255, 255, 0.8);
    /* padding: 10px; */
    border-radius: 20px;
    text-align: left;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.5s ease;
    max-height: 90px;
    overflow: hidden;
    width: 360px;
    display: flex;
    box-shadow: 0px 0px 7px 1px #00000045;
    flex-direction: column;
    height: 90px;
    padding: 10px 20px 10px 20px;
}
    /*   .hero-banner-collapsable:hover {
    width: 17em;
    height: auto;
    max-height: 5em;
  }*/
    .hero-banner-collapsable:hover {
        width: 410px;
        height: auto;
        max-height: 10em;
    }

        .hero-banner-collapsable:hover .description {
            max-height: 253px;
            height: auto;
        }

        .hero-banner-collapsable:hover .banner-container img {
            width: 85px;
            height: 85px;
        }

    .hero-banner-collapsable .description {
        height: 0px;
        overflow: hidden;
        transition: all 0.5s ease;
        font-size: 14px;
        font-family: GeneralSans-Regular;
    }

.banner-inner-content .title {
    font-size: 18px;
    font-family: GeneralSans-Semibold;
    /* font-weight: 500; */
    line-height: 32.4px;
    color: #3d431d;
}

/*This section for media */

.library-tabs {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: transparent;
}


.tab-button.active,
.tab-button:hover {
    color: #E01E26;
    border-bottom: 2px solid #E01E26;
    font-weight: bold;
}

/* Main Content and Sidebar */
.main-content {
    display: flex;
    justify-content: space-between;
}


/* library-post Card */
.library-post {
    background: #fff;
    padding: 19px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    text-align: left;
    margin-top: 4em;
    width: 94%;
    height: 54%;
    border-radius: 36px;
}

.author {
    display: flex;
    align-items: center;
}

    .author img {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        margin-right: 10px;
    }

.post-content p {
    margin: 20px 0;
}

.post-content a {
    color: black;
    text-decoration: none;
    font-weight: bold;
}

    .post-content a:hover {
        text-decoration: underline;
    }

.tags {
    margin: 10px 0;
}

.tag {
    display: inline-block;
    background: #f0f0f0;
    border-radius: 20px;
    padding: 5px 10px;
    margin-right: 10px;
    color: #333;
}

.post-footer {
    font-size: 14px;
    color: #888;
}

.navigation {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}

    .navigation button {
        background: #E01E26;
        color: #fff;
        border: none;
        padding: 10px;
        border-radius: 50%;
        cursor: pointer;
        margin-left: 5px;
    }

        .navigation button:hover {
            background: #c01e26;
        }

.comments {
    color: #888;
    font-size: 14px;
    display: flex;
    align-items: center;
}

    .comments .icon {
        margin-right: 5px;
    }

/* Sidebar */
.community-sidebar {
    flex: 1;
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 408px;
    align-items: flex-start;
    padding-top: 0em;
    /* background-color: red; */
}

    .community-sidebar .library-post {
        display: flex;
        /* align-items: ; */
        margin: 10px 0;
        width: 91%;
        height: 18%;
        border-radius: 36px;
        flex-direction: column;
    }

.img-name {
    display: flex;
}

.community-sidebar .library-post img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

/* Explore More */
.explore-more {
    text-align: right;
    margin-top: 20px;
}

    .explore-more a {
        color: #E01E26;
        text-decoration: none;
        font-weight: bold;
    }

        .explore-more a:hover {
            text-decoration: underline;
        }

/* Tab Content */
.tab-content {
    display: none;
}

    .tab-content.active {
        display: block;
    }

.main-author {
    display: flex;
    /* align-content: space-evenly; */
    gap: 19em;
}

.post-container {
    display: flex;
    gap: 24em;
    align-items: space;
}


.explore-div {
    margin-bottom: 1.1em;
    font-size: 1.45em;
    align-items: baseline;
    /* margin-right: 20px; */
    display: flex;
    justify-content: space-between;
    padding-left: 0px;
}


    .explore-div h2 {
        color: #344054;
        margin-right: 48px;
        line-height: 57.6px;
        font-family: GeneralSans-Variable;
        font-size: 1.50em;
        font-weight: 600;
    }

    .explore-div p {
        margin: 0;
        /* Reset default margin */
        color: red;
        font-weight: bold !important;
        font-family: GeneralSans-Variable !important;
        font-size: 0.7em;
    }

.tab-content:hover {
    .library-item

{
    filter: blur(3px);
    opacity: 0.6;
    /* Add blur effect */
}

}

.tab-content:hover .library-item:hover {
    filter: blur(0px);
    opacity: 1;
    /* Add blur effect */
}

.library {
    /* max-width: 84%; */
    margin: autp;
    padding: 20px;
    background-color: #EDF2EF;
    margin: auto;
}

.tab-content .library-item {
    text-align: left;
    margin: 10px;
    flex: 1 1 calc(33.33% - 20px);
    box-sizing: border-box;
    background: white;
    border-radius: 10px;
    width: 100%;
    height: 353.64px;
    box-shadow: 3px 7px 14px 1px #46464639;
    overflow: hidden;
    gap: 8px;
    transition: all 0.5s ease;
    max-width: 428px;
}


.tabs-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    height: 80px;
    background-color: white;
    width: 90%;
    margin: auto;
    border-radius: 50px;
    box-shadow: 0px 2px 6px 2px #b3acac;
    margin-bottom: 3.2em;
}


.tab-background {
    background-color: red;
    height: 80px;
    width: 33%;
    border-radius: 50px;
    left: 0px;
    position: absolute;
    transition: 0.3s;
}

@keyframes bounce {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(10px);
    }

    100% {
        transform: translateX(0);
    }
}



.tab-background.moving {
    animation: bounce 0.3s;
}





.tab-button.active {
    color: white;
    border-style: none;
}

    .tab-button.active path {
        fill: white !important;
    }



.tab-content {
    display: flex;
    flex: 3;
    position: relative;
    justify-content: center;
    /* flex-wrap: wrap; */
    width: 88%;
    margin: auto;
    gap: 13px;
}

.library-item h2 {
    margin: 10px 0 5px;
    font-size: 18px;
    padding-left: 1em;
    padding-top: -0.75em;
    font-weight: 700;
    line-height: 28px;
}

.library-item p {
    font-size: 16px;
    color: #595959;
    letter-spacing: 0.25px;
    line-height: 26px;
    padding: 5px 20px 5px 20px;
}

.library-item img {
    width: 100%;
    /* height: auto; */
    object-fit: cover;
    margin-bottom: 10px;
    border-radius: 5px;
    height: 59%;
}

.library-container .sentence, .third-container .sentence, community-container .sentence {
    margin-bottom: 20px;
    width: 86%;
    margin: auto;
    font-family: GeneralSans-Variable;
}

.slogan-subtitle {
    font-size: 2em;
}

.explore-div h2 {
    color: #344054;
    margin-right: 48px;
    line-height: 57.6px;
    font-family: GeneralSans-Variable;
    font-size: 1.50em;
    font-weight: 600;
}

.explore-div p {
    margin: 0;
    color: #344054;
    font-weight: 100;
    font-family: 'GeneralSans-Variable';
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1.33px;
    line-height: 48px;
}

.media-section .tab-button {
    /* padding: 10px 20px; */
    margin: 5px;
    display: flex;
    max-width: calc(33.33% - 10px);
    box-sizing: border-box;
    width: 35%;
    height: 50px;
    border-radius: 51px;
    font-size: 20px;
    font-weight: 700;
    line-height: 48px;
    letter-spacing: 1.33px;
    background: none;
    border: none;
    transition: color 0.3s, border-bottom 0.3s;
    justify-content: center;
    align-items: center;
}

.tab-button p {
    margin: auto;
}

.tab-button .white-img {
    display: none !important;
}

.tab-button .black-img {
    display: block !important;
}

.tab-button.active .white-img {
    display: block !important;
    margin-inline-start: 1em;
}

.tab-button.active .black-img {
    display: none !important;
}


.tab-button:hover {
    border-style: none;
}

.library-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.inside-img {
    margin-left: 4.5em;
    margin-right: 0.7em;
    color: white;
}

.tab-button p {
    margin-right: 5em;
}

.media-section .tabs-container {
    display: flex;
    justify-content: center;
    /* margin-bottom: 20px; */
    position: relative;
    height: 60px;
    background-color: white;
    width: 74%;
    margin: auto;
    border-radius: 99px;
    box-shadow: 0px 2px 6px 2px #b3acac;
    margin-bottom: 3.2em;
}

.tab-background {
    background-color: #344054;
    height: 60px;
    width: 33%;
    border-radius: 50px;
    left: 0px;
    position: absolute;
    transition: 0.3s;
}

html[dir=rtl] .tab-background {
    left: 67%;
}
/* End section for media */
/* Responsive Styles */
@media (max-width: 1024px) {
    .absolute-div {
        left: 2em;
        top: 6em;
        padding: 0.5em;
    }

    .swiper-pagination {
        bottom: 2em;
        right: 2em;
    }

    .hero-banner-collapsable {
        width: 300px;
    }

    .home-register {
        margin-left: 16em;
    }
}

@media (max-width: 768px) {
    .absolute-div {
        left: 1em;
        top: 4em;
        padding: 0.5em;
    }

    .swiper-pagination {
        bottom: 1.5em;
        right: 1.5em;
    }

    .hero-banner-collapsable {
        width: 250px;
    }

    .home-register {
        margin-left: 8em;
    }

    .home-register-btn {
        width: 90%;
    }

    .category-container {
        margin:auto;
        margin-top: 4em;
        display: grid; /* Use grid layout */
        grid-template-columns: repeat(1, 1fr) !important; /* Create 3 equal-width columns */
        gap: 1em; /* Add space between items */
        width:94%; /* Ensures proper alignment */
    }
}

@media (max-width: 480px) {
    .absolute-div {
        left: 0.5em;
        top: 3em;
        padding: 0.5em;
    }

    .swiper-pagination {
        bottom: 1em;
        right: 1em;
    }

    .hero-banner-collapsable {
        width: 200px;
    }

    .home-register {
        margin-left: 4em;
    }

    .home-register-btn {
        width: 100%;
    }
}


/*Start education section  */



.explore-div h2 {
    color: #344054;
    font-family: GeneralSans-Variable;
}

.explore-div p {
    margin: 0;
    color: red;
    font-weight: 100;
    font-family: GeneralSans-Variable;
    font-size: 0.6em;
}



[dir="rtl"] .explore-div p {
    margin: 0;
    color: red;
    font-weight: 100;
    font-family: 'Cairo', sans-serif !important;
    font-size: 0.6em;
}

.choose-focus {
    font-size: 1.8em;
    font-weight: 600;
    margin-bottom: 1em;
    padding-left: 20px;
}

.background-image p {
    font-weight: bolder;
    font-size: 23px;
}

/* third container  */

.third-container, .community-container {
    display: flex;
    align-content: center;
    justify-content: center;
    margin-top: 4em;
    flex-direction: column;
    background-color: #F8F9FA;
    zoom: 0.9;
}

    .third-container .sentence {
        margin-bottom: 20px;
        width: 81%;
        margin: auto;
    }

    .third-container .container-holder {
        display: flex;
        flex-direction: row;
        justify-content: center;
        padding: 6%;
        padding-top: 3em;
        padding-bottom: 3em;
    }

.container-holder {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.third-container .container-box-2 {
    background-color: white;
    display: flex;
    margin: 18px;
    width: 21em;
    height: 33em;
    margin-bottom: 5em;
    border-radius: 25px 25px 25px 25px;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transition: all 0.5s ease;
}

.container-box-2:hover {
    transform: scale(1.05);
}

.third-container .container-box-2 .fa-heart {
    font-size: 17px;
}

.course-img-container img {
    transition: all 0.5s ease;
}


.third-container .container-box-2 img, .course-img-container {
    width: 100%;
    height: 15em;
    object-fit: cover;
}

.container-box-2:hover .course-img-container img {
    transform: scale(1.09);
}

.heart-icon {
    position: absolute;
    right: 1em;
    top: 1em;
    background-color: white;
    height: 41px;
    width: 41px;
    text-align: center;
    border-radius: 50px;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.third-container .container-box-2 h4 {
    padding-left: 1em;
    padding-top: 1.25em;
}

.empty-heart {
    color: transparent;
    -webkit-text-stroke: 2px rgb(25, 25, 25); /* Width and color of the border */
}


.course-card {
    background-color: #cdf2fd;
    color: #333;
    height: 338px;
}

.course-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .course-header h2 {
        font-size: 18px;
        font-weight: bold;
    }

.course-rating {
    width: 54px;
    height: 28px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: white;
    background-color: #3D431D;
    font-size: 11px;
    border-radius: 50px;
}

    .course-rating i {
        font-size: 16px;
        color: #f4d142;
    }

.course-card h1 {
    font-size: 22px;
    font-weight: bold;
    margin-top: 10px;
}


.course-details {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
}

.detail-item {
    display: flex;
    align-items: center;
    font-size: 10px;
}

    .detail-item i {
        margin-right: 5px;
        color: #3f3f3f;
    }

        .detail-item i.fas.fa-clock {
            color: #00BCD4;
        }

        .detail-item i.fas.fa-book {
            color: orange;
        }

        .detail-item i.fas.fa-check-circle {
            color: #00ec00;
        }

.learn-more-btn {
    display: inline-block;
    background-color: #e94949;
    color: white;
    padding: 10px 15px;
    margin-top: 10px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
}


    .learn-more-btn i {
        margin-left: 5px;
    }
/* community */

.course-card {
    background-color: #fff;
    padding: 20px;
    font-family: Arial, sans-serif;
    color: #333;
    /* max-width: 300px; */
    height: 338px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
}

.main-container {
    display: flex;
}

.left-container,
.right-container {
    flex: 1;
}

.left-container {
    position: relative;
}

.background-image {
    background-image: url("palm.jpg");
    background-size: cover;
    background-position: center;
    height: 604px;
    border-radius: 28px;
}

.right-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Align children vertically */
}

.item {
    display: flex;
    align-items: center;
    width: 80%;
    gap: 1em;
}

    .item img {
        width: 360px;
        height: 283px;
        margin-right: 10px;
        border-radius: 20px;
    }

span {
    padding-top: 19px;
}

.learn-more {
    background-color: red;
    border-radius: 20px;
    color: white;
    width: 7.2em;
    height: 1.75em;
    padding: 7px;
    font-weight: bold;
}


.inside-div {
    display: flex;
    flex-direction: column;
}

.event-pic img {
    width: 95%;
    margin: auto;
}

.inside-div p {
    width: 120%;
}
/* Title styles */


.title h1 {
    color: #333;
    font-size: 24px;
}

/* Main content styles */
.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
}



/* service container style */
:root {
    --red-color: #344054; /* Define your CSS variable */
}

.service-main-container {
    text-align: center;
    padding: 20px;
    background-color: #EDF2EF;
    height: 83vh;
    background-image: url("/images/custom/contactusbg.png");
    background-size: contain;
    background-blend-mode: overlay;
}

.service-title {
    font-size: 46px;
    font-weight: bolder;
    /* margin-bottom: 10px; */
    font-family: "Poppins Bold", sans-serif;
    margin-bottom: 20px;
    text-align: center;
}

.service-subtitle {
    font-size: 2.2em;
    font-weight: 400;
    margin-bottom: 3em;
    text-align: center;
}

.service-section-container {
    display: flex;
    justify-content: center;
    gap: 48px;
    align-items: flex-start;
    /* width: 92%; */
    /* margin: auto; */
}

    /*    .service-section-container .service-box {
        position: relative;
        background-color: #fff;
        padding: 20px;
        width: 320px;
        border-radius: 0px 0px 10px 10px;
        box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.1);
        cursor: pointer;
        transition: all 0.5s ease;
        text-align: left;
        padding-top: 0px;
    }*/

    .service-section-container .service-box {
        position: relative;
        background-color: #fff;
        padding: 20px;
        max-width: 320px;
        border-radius: 0px 0px 10px 10px;
        box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.1);
        cursor: pointer;
        transition: all 0.5s ease;
        text-align: left;
        padding-top: 0px;
        width: 30%;
    }

.service-box .service-icon {
    position: absolute;
    top: -32px;
    right: 0%;
    width: 64px;
    transform: translateX(-30%);
    background-color: var(--red-color);
    padding: 10px;
    border-radius: 10px;
    height: 60px;
}

.service-section-maincontainer {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.service-icon-image {
    padding-top: 5em;
    display: none;
}

    .service-icon-image img {
        width: 19em;
    }

.service-title {
    font-size: 46px;
    font-weight: bolder;
    /* margin-bottom: 10px; */
    font-family: "Poppins Bold", sans-serif;
    margin-bottom: 20px;
    text-align: center;
}

.service-subtitle {
    font-size: 2.2em;
    font-weight: 400;
    margin-bottom: 3em;
    text-align: center;
}


.service-box img {
    width: 43px;
    height: 42px;
}

.service-box h3 {
    margin: 40px 0 10px;
    font-size: 1.5em;
}

.service-box p {
    font-size: 1.01em;
    color: #666;
    line-height: 1.7em;
    min-height: 6em;
}

.service-box button {
    margin: auto;
    margin-top: 18px;
    padding: 10px 20px;
    background-color: var(--red-color);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    display: block;
    font-size: 1.2em;
    font-weight: 600;
}

.service-box:hover .inner-service-section {
    height: auto;
    height: 260px;
}

.service-box:hover h3 {
    font-size: 1.4em;
    transition: all 0.5s ease;
}

.inner-service-section {
    overflow: hidden;
    height: 160px;
    transition: all 0.5s ease;
}
/* end of service style */


/* Responsive adjustments */
@media (max-width: 768px) {
    .content {
        flex-direction: column;
    }

    .right-column,
    .left-column {
        flex: none;
        margin-right: 0;
    }

    .explore-btn {
        width: 100%;
        text-align: center;
    }
}



footer button[type="submit"] {
    background-color: #e94949;
    color: white;
    padding: 9px 20px;
    border: none;
    border-radius: 36px;
    cursor: pointer;
}

    footer button[type="submit"]:hover {
        background-color: #6f1616; /* Darker blue on hover */
    }


/*start of comunity content*/

.community-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    background-color: #EDF2EF;
}

    .community-container h1 {
        color: #E01E26;
        font-size: 36px;
        text-align: center;
    }


/* Tabs */
.comunity-tabs {
    display: flex;
    justify-content: flex-start;
    width: 91%;
    font-weight: bold;
    gap: 4.5em;
    font-family: GeneralSans-Variable;
    font-weight: bold;
    margin-bottom: 2em;
}

    .comunity-tabs div#categoriesCon {
        display: flex;
        gap: 2em;
    }

    .comunity-tabs .tab-button {
        background: none;
        border: none;
        font-size: 20px;
        cursor: pointer;
        color: #888;
        transition: all 0.3s ease;
        position: relative;
        font-weight: 600;
    }



.community-container .inner-post p {
    margin-bottom: 0px;
    font-size: 13px;
    line-height: 19.5px;
    font-weight: 500;
    width: 100%;
    height: 34.34px;
}

/* .tab-button.active, .tab-button:hover {
	color: black;
	border-bottom: 1px solid #E01E26;
	font-weight: bold;
	font-size: 22px;
} */
.community-container .tab-button.active,
.community-container .tab-button:hover {
    color: black;
    font-weight: bold;
    font-size: 22px;
    height: 35px;
    font-size: 20px;
    font-weight: 500;
    line-height: 34.5px;
    font-weight: 600;
}


    .community-container .tab-button.active::after {
        content: '';
        position: absolute;
        width: 60px;
        height: 4px;
        bottom: -10px;
        background: #E01E26;
        border-radius: 5px;
        left: 0px;
        right: 0px
    }

/* Tab Content */
.community-container .tab-content {
    flex: 3;
    position: relative;
}

.community-container .main-content {
    display: flex;
    justify-content: space-between;
    width: 90%;
    margin: auto;
    align-items: center;
}

/* Post Card */
.community-post {
    background: #F8F9FA;
    padding: 19px;
    margin-bottom: 20px;
    text-align: left;
    margin-top: 5em;
    width: 96%;
    height: 334px;
    border-radius: 20px;
    position: relative;
}

.community-container .post-content p {
    margin: 20px 0;
    font-size: 21px;
    font-weight: 500;
    line-height: 31.5px;
    align-items: justified;
}

.community-container .author {
    display: flex;
    align-items: center;
}

    .community-container .author img {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        margin-right: 10px;
    }



.community-container .post-content a {
    color: black;
    text-decoration: none;
    font-weight: bold;
}

    .community-container .post-content a:hover {
        text-decoration: underline;
    }

.community-tags {
    display: flex;
    justify-content: flex-end;
    width: 24em;
}

.community-tag {
    display: inline-block;
    background: #A3A3A34D;
    border-radius: 31px;
    padding: 2px 21px;
    margin-right: 10px;
    color: #333;
    height: 44px;
    font-size: 19px;
    line-height: 31.5px;
    font-weight: 600;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
}

    .community-tag p {
        margin-bottom: 0px !important;
    }

.community-container .navigation {
    display: flex;
    margin-bottom: 10px;
    height: 34px;
    position: relative;
    gap: 1em;
    position: absolute;
    right: 5em;
    top: 3em;
}

    .community-container .navigation button {
        background: #E01E26;
        color: #fff;
        border: none;
        padding: 10px;
        border-radius: 50%;
        cursor: pointer;
        /* margin-left: 5px; */
        width: 46px;
        font-size: 22px;
        height: 46px;
        /* gap: 11px; */
        /* padding-left: 9px; */
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .community-container .navigation button:hover {
            background: #c01e26;
        }



.community-container .comments {
    color: #A3A3A3;
    font-size: 17px;
    display: flex;
    align-items: center;
    width: 10em;
    margin-top: 21px;
    flex-direction: row;
    gap: 1em;
    text-wrap: nowrap;
}

    .community-container .comments .icon {
        margin-right: 5px;
        width: 24.53px;
        height: 23.5px;
        color: #A3A3A3;
    }

.community-container .post-footer {
    color: #A3A3A3;
    font-size: 15px;
    line-height: 22.5px;
    font-weight: 500;
    top: 646px;
    margin-top: 2em;
    width: auto;
    text-wrap: nowrap;
}

/* Sidebar */
.community-sidebar {
    flex: 1;
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Ensure the height matches the height of the post */
}

.com-s-post {
    display: flex;
    margin: 9px 0;
    width: 97%;
    height: 36%;
    border-radius: 23px;
    background-color: #f8f9fa;
    flex-direction: column;
    padding: 13px;
}

.community-container .author p {
    font-size: 31px;
    line-height: 28px;
    letter-spacing: 3px;
}

.community-container .author img {
    width: 75px;
    height: 65px;
    border-radius: 50%;
    margin-right: 11px;
    /* align-content: center; */
    /* margin: auto; */
    padding: 0px;
    margin: 0p;
}

.community-container .img-name {
    display: flex;
    align-items: center;
}

    .community-container .img-name p {
        font-size: 19px;
        line-height: 12px;
        letter-spacing: 1px;
        font-family: GE SS;
    }

.com-s-post img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.com-s-post .inner-post {
    margin-top: 0.5em;
    margin-bottom: 0.5px;
}

/* Explore More */
.community-container .explore-more {
    text-align: right;
    margin-top: 20px;
}

    .community-container .explore-more a {
        color: #E01E26;
        text-decoration: none;
        font-weight: bold;
    }

        .community-container .explore-more a:hover {
            text-decoration: underline;
        }

/* Tab Content */
.community-container .tab-content {
    display: none;
}

    .community-container .tab-content.active {
        display: inline-block;
        flex: 1;
        width: 75%;
        padding: 2% 0%;
        margin: auto;
        position: relative;
        display: flex;
        justify-content: flex-end;
    }

.community-container .main-author {
    display: flex;
    gap: 19em;
}

.community-container .post-container {
    display: flex;
    gap: 24em;
    justify-content: space-between;
}


div#scheduler {
    width: 100% !important;
}

.index-event-card {
    background-color: #e0f7ff;
    border-radius: 10px;
    padding: 20px;
    max-width: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.index-event-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.6em;
}

div#landingpage_eventsscheduler_WidgetManager {
    box-shadow: 0px 0px 7px 1px #8181815d;
    border-radius: 14px;
    border: 1px solid #d1c8c8;
}

.index-event-title {
    font-size: 24px;
    color: #ff3d3d;
    margin: 0;
}

.index-event-type {
    color: #007bff;
    text-decoration: none;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 0.5em;
}

    .index-event-type i {
        margin-right: 5px;
    }

.index-event-body {
    margin-top: 15px;
}

.index-event-subtitle {
    font-size: 18px;
    color: #000000;
    margin: 10px 0 5px;
}

.index-event-description {
    font-size: 14px;
    color: #666;
    margin: 0 0 15px;
}

.index-event-date {
    font-size: 14px;
    color: #666;
    margin: 0 0 15px;
}

.index-event-details {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
}

.index-event-detail-item {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
}

    .index-event-detail-item i {
        margin-right: 5px;
    }

.index-event-button {
    display: inline-block;
    background-color: var(--General-theme-color);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    text-align: center;
    margin-top: 10px;
}

.row.events-container-section {
    display: flex;
    align-items: center;
    margin: 2em 9% 2em;
}

@media only screen and (max-width: 650px) {

    .banner-inner-content .title {
        font-size: 14px;
        line-height: 32.4px;
        white-space: nowrap;
    }


    .banner-container img {
        width: 38px !important;
        height: 38px !important;
    }

    .hero-banner-collapsable {
        width: 250px !important;
        max-height: 59px !important;
        height: 62px;
    }

        .hero-banner-collapsable:hover .description {
            max-height: 253px;
            height: auto;
            display: none;
        }

    .swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
        display: none;
    }


    .nav-responsive {
        flex-direction: row-reverse;
        padding: 2em;
        background-color: white;
        /* margin: 1em; */
        border-radius: 0px 0px 3em 3em;
        position: fixed;
        top: 0px;
        z-index: 10000;
        width: 100%;
    }

    .absolute-div {
        left: 0.5em;
        top: 10em;
        padding: 0.5em;
    }

/*    .hero-section {
        position: relative;
        width: 100%;
        height: 80vh;
        background-color: #f0f0f0;
        zoom: 0.9;
    }*/



    .explore-div h2 {
        color: #344054;
        margin-right: 16rem;
        font-family: GeneralSans-Variable;
        font-size: 1em;
        text-wrap: nowrap;
    }

    .explore-div a {
        display: none;
    }

    .media-section .tabs-container {
        display: flex;
        justify-content: center;
        /* margin-bottom: 20px; */
        position: relative;
        height: 60px;
        background-color: white;
        width: 74%;
        margin: auto;
        border-radius: 99px;
        box-shadow: 0px 2px 6px 2px #b3acac;
        margin-bottom: 3.2em;
    }

    .tab-background {
        height: 50px;
    }

    .media-section .tabs-container {
        height: 50px;
    }

    .media-section .tab-button {
        margin: 5px;
        display: flex;
        max-width: calc(33.33% - 10px);
        box-sizing: border-box;
        width: 35%;
        height: 41px;
        border-radius: 51px;
        font-size: 12px;
        font-weight: 700;
        line-height: auto;
        letter-spacing: 1.33px;
        background: none;
        border: none;
        transition: color 0.3s, border-bottom 0.3s;
        justify-content: center;
        align-items: center;
        padding: 0px;
        height: 43px;
    }

    img.inside-img {
        width: 19px;
    }

    .media-section .tabs-container {
        width: 94%;
    }

    .library {
        /* max-width: 84%; */
        text-align: center;
        padding: 0px;
        padding-top: 2em;
    }

    div#documents {
        overflow-x: hidden;
        width: 100%;
        border-radius: 15px;
    }

    .rating-modal {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        background-color: #fff;
        border-radius: 30px;
        box-shadow: 0 2px 10px rgba(0,0,0,.1);
        min-width: 90%;
        padding: 20px;
        text-align: center;
        z-index: 100000;
        width: auto;
    }


    div#scheduler {
        width: 100% !important;
        margin-right: 0;
        margin: 0px;
    }

    .service-section-container {
        display: flex;
        justify-content: center;
        gap: 48px;
        align-items: center;
        /* width: 92%; */
        /* margin: auto; */
        flex-direction: column;
    }

    .service-section-container {
        height: auto !important;
    }

    .service-main-container {
        text-align: center;
        padding: 20px;
        background-color: #EDF2EF;
        height: auto;
        background-image: url("/images/custom/contactusbg.png");
        background-size: contain;
        background-blend-mode: overlay;
    }

    .service-section-container .service-box {
        width: 97%;
    }

    .inner-service-section {
        overflow: visible;
        height: auto;
        transition: all 0.5s ease;
    }

    .service-title, .explore-div {
        color: red;
        font-family: GeneralSans-Variable;
        font-size: 2em;
        text-wrap: nowrap;
        text-align: start;
    }

    .service-subtitle, .slogan-subtitle {
        font-size: 1.0em;
        font-weight: 900;
        /* padding: 0% 8%; */
        text-align: start;
    }

    .courses_swiper-wrapper {
        display: flex;
        justify-content: flex-start !important;
        align-items: center;
        gap: 0px !important;
        margin-top: 20px;
    }

    .third-container .container-holder {
        padding: 0%;
        padding-top: 3em;
        padding-bottom: 3em;
    }
}

.courses_swiper-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.library-container .swiper-button-next.swiper-button-next-1 {
    display: none;
}

.library-container .swiper-button-prev.swiper-button-prev-1 {
    display: none;
}

.third-container .swiper-button-next.swiper-button-next-1 {
    display: none;
}

.third-container .swiper-button-prev.swiper-button-prev-1 {
    display: none;
}



.library-container .swiper-slide_1 {
    width: 30%;
}

@media screen and (max-width: 1570px) {
    .courses_swiper-wrapper .swiper-slide_1:nth-child(4) {
        display: none;
    }
}

@media screen and (max-width: 880px) {
    .tab-content {
        width: 100%;
    }

    .category-container {
        margin: auto;
        margin-top: 4em;
        display: grid; /* Use grid layout */
        grid-template-columns: repeat(2, 1fr); /* Create 3 equal-width columns */
        gap: 1em; /* Add space between items */
        width: 96% !important; /* Ensures proper alignment */
    }
}

@media (max-width: 800px) {
    .hero-banner-collapsable {
        width: 350px;
    }

    .explore-div {
        width: 84%;
    }

        .explore-div h2 {
            color: #344054;
            margin-right: 18rem;
            font-family: GeneralSans-Variable;
            font-size: 1em;
        }

    .library {
        max-width: 100%;
    }


    .library-container .swiper-button-next.swiper-button-next-1 {
        display: inline-block;
    }

    .library-container .swiper-button-prev.swiper-button-prev-1 {
        display: inline-block;
    }

    .third-container .swiper-button-next.swiper-button-next-1 {
        display: inline-block;
    }

    .third-container .swiper-button-prev.swiper-button-prev-1 {
        display: inline-block;
    }

    .category-container {
        margin:auto;
        margin-top: 4em;
        display: grid; /* Use grid layout */
        grid-template-columns: repeat(2, 1fr) ; /* Create 3 equal-width columns */
        gap: 1em; /* Add space between items */
        width: 96%; /* Ensures proper alignment */
    }
}


.community.generalPage.community-container.third-container .tab-button {
    font-size: 16px;
}

.main-cat-container {
    display: flex;
    flex-direction: column;
    gap: 1em;
    align-items: center;
}
.main-cat-title {
    font-size: 2.4em;
    font-weight: bold;
}

.main-cat-subtitle {
    font-size: 1.6em;
    text-align: center;
    font-weight: 500;
}

.category-container-wrapper {
    display: flex;
    justify-content: center; /* Center the entire grid */
}

.category-container {
    margin-top: 4em;
    display: grid; /* Use grid layout */
    grid-template-columns: repeat(3, 1fr); /* Create 3 equal-width columns */
    gap: 1em; /* Add space between items */
    width: 100%; /* Ensures proper alignment */
}

    .category-container > .cat-card:nth-child(7) {
        justify-self: center; /* Center the last item in an incomplete row */
    }

.cat-card {
    background: white;
    border-radius: 7px 7px 16px 16px;
    padding: 24px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    margin-top: 2em;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: ease 0.4s;
}
    .cat-card:hover {
        transform: translatey(-4px);
        box-shadow: 0px 0px 8px 3px #9e9a9a;
    }


.cat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
}

.cat-card-title {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin-top: 1em;
}

.cat-card-icon {
    width: 65px;
    height: 65px;
    background: var(--General-theme-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -2em;
    right: 2em;
}

    .cat-card-icon img {
        width: 2em;  
    }

.cat-card-description {
    color: #808080;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 12px;
    min-height: 3em;
}

.cat-card-button-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 12px;
}

.cat-card-button {
    background: #ECECEC;
    border: none;
    border-radius: 5px;
    padding: 5px;
    color: #000000;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    text-align: center;
}

    .cat-card-button:hover {
        background: #c7c7c7;
    }