
/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
 }

 #spinner.show {
     transition: opacity .8s ease-out, visibility 0s linear .0s;
     visibility: visible;
     opacity: 1;
 }
/*** Spinner End ***/


/*** Common CSS Start ***/
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

h1,
h2,
h3,
.h1,
.h2,
.h3 {
    font-weight: 200;
    font-family: 'Montserrat', sans-serif;
}

h4,
h5,
h6,
.h4,
.h5,
.h6 {
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-weight: 700;
    font-family: 'Fredoka', sans-serif;
}

.display-4,
.display-5,
.display-6 {
    font-weight: 600;
}

.wow,
.animated {
    animation-duration: 2s !important;
}
/*** Common CSS End ***/


/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    border: 0;
    color: var(--bs-white);
}

.btn.btn-primary:hover {
    background: var(--bs-secondary);
    color: var(--bs-primary);
}

.btn-border-radius {
    border-radius: 25% 10%;
}

.img-border-radius {
    border-radius: 50% 20% / 10% 40%;
}

.title-border-radius {
    border-radius: 10% 30%;
}
/*** Button End ***/


/*** Topbar Start ***/
.topbar .top-info {
    font-size: medium;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.topbar .top-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar .top-link a {
    margin-right: 10px;
}

.topbar .top-link a:hover {
    background: var(--bs-secondary) !important;
}

.topbar .top-link a:hover i {
    color: var(--bs-primary) !important;
}

.top-language {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
}

.mobile-language-top {
    gap: 8px;
    width: 100%;
    padding: 0.55rem 0.2rem 0 0.2rem;
}

.lang-flag-link {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid transparent;
    transition: .25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.lang-flag-link:hover {
    transform: translateY(-1px);
    border-color: rgba(29, 124, 30, 0.45);
}

.lang-flag-link.is-active {
    border-color: #e91040;
}

.lang-flag-img {
    width: 16px;
    height: 16px;
    border-radius: 3px;
}

.lang-flag-fallback {
    font-size: 11px;
    font-weight: 700;
    color: #1d7c1e;
    line-height: 1;
}
/*** Topbar End ***/


/*** Navbar Start ***/
.navbar {
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.navbar .navbar-nav .nav-link {
    padding: 10px 12px;
    font-size: 16px;
    font-weight: 600;
    transition: .5s;
    white-space: nowrap;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.fixed-top.bg-white .navbar .navbar-nav .nav-link:hover,
.fixed-top.bg-white .navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        font-weight: 400;
        font-family: 'Fredoka', sans-serif;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        transition: .5s;
        opacity: 0;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-secondary);
    color: var(--bs-primary);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    border-radius: 10px !important;
    transition: .5s;
    opacity: 1;
}

#searchModal .modal-content {
    background: rgba(255, 255, 255, .8);
}
/*** Navbar End ***/


/*** Hero Header ***/
.hero-header,
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.05)), url(../images/talaki/hero-img4.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
/*** Hero Header ***/


/*** About Start ***/
.video {
    position: relative;
    height: 100%;
    min-height: 400px;
    /*background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)), url(../images/<?php echo $currentresultaboutus['image_name'];?>);*/
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 10px;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--bs-secondary);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--bs-primary);
    border-radius: 50%;
    transition: all 200ms;
}

.video .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--bs-white);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}

.video.border {
    border-radius: 50% 20% / 10% 40%;
}

.about {
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url(../images/background.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.about-page {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 251, 253, 0.98) 100%);
}

.about-flow-card {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 16px 36px rgba(15, 35, 95, 0.1);
    border: 1px solid rgba(15, 35, 95, 0.08);
    padding: 1.5rem;
    overflow: hidden;
}

.about-flow-media {
    position: relative;
    float: left;
    width: min(48%, 560px);
    height: 500px;
    margin: 0 1.6rem 1rem 0;
    border-radius: 18px;
    overflow: hidden;
}

.about-flow-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.5rem;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(15, 35, 95, 0.1);
}

.about-hero-media {
    position: relative;
    min-height: 420px;
}

.about-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-hero-badge {
    position: absolute;
    left: 1.2rem;
    top: 1.2rem;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 14px;
    padding: 0.75rem 1rem;
    display: inline-flex;
    flex-direction: column;
    box-shadow: 0 10px 24px rgba(15, 35, 95, 0.16);
}

.about-hero-badge strong {
    color: var(--bs-primary);
    line-height: 1.1;
}

.about-hero-badge span {
    color: #1d7c1e;
    font-size: 0.92rem;
}

.about-hero-content {
    padding: 2.2rem 2.2rem 2rem 1rem;
    display: flex;
    flex-direction: column;
}

.about-eyebrow {
    display: inline-block;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1d7c1e;
    margin-bottom: 0.75rem;
}

.about-title {
    font-family: 'Fredoka', sans-serif;
    color: #152f66;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-size: clamp(1.9rem, 3.2vw, 2.8rem);
}

.about-description-text {
    color: #3f4652;
    line-height: 1.8;
    font-size: clamp(1rem, 1.9vw, 1.15rem);
}

.about-lead {
    color: #6b7280;
    font-size: clamp(0.92rem, 1.5vw, 1.02rem);
    line-height: 1.65;
    font-weight: 500;
    margin-bottom: 0.9rem;
}

.about-prose p {
    margin-bottom: 0.9rem;
}

.about-prose ul,
.about-prose ol {
    margin: 0 0 1rem 1.2rem;
}

.about-cta-wrap {
    margin-top: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.about-stat-item {
    background: #fff;
    border: 1px solid rgba(15, 35, 95, 0.08);
    box-shadow: 0 8px 22px rgba(15, 35, 95, 0.08);
    border-radius: 14px;
    padding: 0.95rem 1rem;
    text-align: center;
}

.about-stat-value {
    display: block;
    font-family: 'Fredoka', sans-serif;
    color: #152f66;
    font-size: clamp(1.35rem, 2.5vw, 2rem);
    line-height: 1.1;
    margin-bottom: 0.18rem;
}

.about-stat-label {
    color: #4a5568;
    font-weight: 600;
    font-size: 0.93rem;
}

.about-what-we-do {
    background: linear-gradient(180deg, #f7fbfd 0%, #ffffff 100%);
}

.about-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.6rem;
    border: 1px solid rgba(15, 35, 95, 0.08);
    box-shadow: 0 12px 28px rgba(15, 35, 95, 0.08);
}

.about-subtitle {
    font-family: 'Fredoka', sans-serif;
    margin-bottom: 0.9rem;
    color: #152f66;
    line-height: 1.2;
    font-size: clamp(1.45rem, 2.5vw, 2.1rem);
}

.about-secondary-text {
    color: #505968;
    line-height: 1.85;
    font-size: clamp(1rem, 1.8vw, 1.08rem);
}

.about-feature-list {
    margin: 0.95rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.45rem;
}

.about-feature-list li {
    padding: 0.5rem 0.7rem;
    border-radius: 10px;
    background: rgba(21, 47, 102, 0.05);
    color: #1f355f;
    font-weight: 600;
}

.about-image-card {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(15, 35, 95, 0.12);
}

.about-image-card img {
    min-height: 360px;
    object-fit: cover;
}

.rtl-language .about-flow-media {
    float: right;
    margin: 0 0 1rem 1.6rem;
}

.rtl-language .about-hero-badge {
    left: auto;
    right: 1.2rem;
}

.rtl-language .about-eyebrow {
    letter-spacing: 0;
    font-size: 0.9rem;
}

.rtl-language .about-prose ul,
.rtl-language .about-prose ol {
    margin: 0 1.2rem 1rem 0;
}

.rtl-language .about-description-text,
.rtl-language .about-secondary-text {
    line-height: 2;
    text-align: right;
}

.rtl-language .about-title {
    font-size: clamp(2.1rem, 3.4vw, 3rem);
}

.rtl-language .about-subtitle {
    font-size: clamp(1.6rem, 2.7vw, 2.25rem);
}

.rtl-language .q11-rtl {
    padding-right: 1.5em;
    padding-left: 0;
}

.rtl-language .q11-rtl .form-check-input {
    float: right;
    margin-right: -1.5em;
    margin-left: 0;
}

.rtl-language .q15-rtl {
    padding-right: 1.5em;
    padding-left: 0;
}

.rtl-language .q15-rtl .form-check-input {
    float: right;
    margin-right: -1.5em;
    margin-left: 0;
}

.event-details-page {
    background: linear-gradient(180deg, #f7fbfd 0%, #ffffff 100%);
}

.event-details-card {
    background: #fff;
    border-radius: 22px;
    border: 1px solid rgba(15, 35, 95, 0.08);
    box-shadow: 0 16px 36px rgba(15, 35, 95, 0.1);
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.event-details-media {
    min-height: 400px;
    background: #ecf4f8;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-details-media .carousel,
.event-details-media .carousel-inner,
.event-details-media .carousel-item {
    width: min(100%, 550px);
    height: 400px;
}

.event-details-media .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-details-content {
    padding: 2rem;
}

.event-details-title {
    font-family: 'Fredoka', sans-serif;
    color: #152f66;
    line-height: 1.2;
    font-size: clamp(1.6rem, 2.9vw, 2.35rem);
    margin-bottom: 0.8rem;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.25rem;
    margin-bottom: 1rem;
    color: #4a4f5a;
    font-size: 0.95rem;
}

.event-details-text {
    color: #404754;
    line-height: 1.8;
    font-size: clamp(1rem, 1.8vw, 1.08rem);
}

.event-gallery-empty {
    height: 100%;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5f6f87;
    font-weight: 600;
}

.event-gallery-title {
    font-family: 'Fredoka', sans-serif;
    color: #152f66;
    font-size: clamp(1.3rem, 2.4vw, 1.8rem);
}

.event-photo-item {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(15, 35, 95, 0.08);
    box-shadow: 0 8px 18px rgba(15, 35, 95, 0.1);
    transition: 0.3s ease;
}

.event-photo-item img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: 0.35s ease;
}

.event-photo-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(15, 35, 95, 0.14);
}

.event-photo-item:hover img {
    transform: scale(1.05);
}

.contact-page {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.contact-page .contact-info-card {
    width: 100%;
}

@media (min-width: 992px) {
    .contact-page .contact-info-column {
        display: flex;
    }

    .contact-page .contact-info-card {
        min-height: 22.5rem;
        display: flex;
        flex-direction: column;
    }
}

.contact-page .divider-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 0.6rem 0 1.5rem;
}

.contact-page .divider-custom-line {
    width: 72px;
    height: 2px;
    background: rgba(29, 124, 30, 0.35);
}

.contact-page .divider-custom-icon {
    color: #e91040;
    font-size: 0.9rem;
}

.contact-page .form-floating.mb-3 {
    margin-bottom: 0.85rem !important;
}

.contact-page .form-control,
.contact-page .form-floating > .form-control,
.contact-page .form-floating > .form-select {
    min-height: 3rem;
    height: calc(3rem + 2px);
}

.contact-page .form-floating > label {
    padding-top: 0.72rem;
}

.contact-page textarea.form-control {
    min-height: 170px !important;
    height: auto !important;
    resize: vertical;
    overflow: auto;
}

@media (max-width: 767.98px) {
    .contact-page {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .contact-page .divider-custom {
        margin-bottom: 1rem;
    }

}

@media (max-width: 1199.98px) {
    .event-details-card {
        grid-template-columns: 1fr;
    }

    .event-details-media {
        min-height: 400px;
    }

    .about-flow-media {
        width: min(50%, 500px);
        height: 440px;
    }

    .about-hero-panel {
        grid-template-columns: 1fr;
    }

    .about-hero-media {
        min-height: 360px;
    }

    .about-hero-content {
        padding: 1.6rem 1.4rem 1.7rem;
    }
}

@media (max-width: 767.98px) {
    .event-details-card {
        border-radius: 16px;
    }

    .event-details-content {
        padding: 1.2rem;
    }

    .event-details-media {
        min-height: 400px;
    }

    .event-details-media .carousel,
    .event-details-media .carousel-inner,
    .event-details-media .carousel-item {
        height: 400px;
    }

    .about-flow-card {
        border-radius: 16px;
        padding: 1rem;
    }

    .about-flow-media {
        float: none;
        width: 100%;
        height: 300px;
        margin: 0 0 1rem 0;
        border-radius: 14px;
    }

    .about-hero-panel {
        border-radius: 16px;
    }

    .about-hero-media {
        min-height: 280px;
    }

    .about-hero-badge {
        left: 0.8rem;
        top: 0.8rem;
        padding: 0.55rem 0.8rem;
    }

    .rtl-language .about-hero-badge {
        left: auto;
        right: 0.8rem;
    }

    .about-card {
        padding: 1.2rem;
        border-radius: 14px;
    }

    .about-stats-grid {
        grid-template-columns: 1fr;
    }

    .about-image-card {
        border-radius: 14px;
    }

    .about-image-card img {
        min-height: 260px;
    }
}
/*** About End ***/


/*** service Start ***/
.service {
    background: linear-gradient(rgba(255, 72, 128, 0.05), rgba(255, 72, 128, 0.2));
}

.service .service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .1);
    width: 100%;
    height: 100%;
    border-radius: 50% 20% / 10% 40%;
    transition: 0.5s;
    position: relative;
}

.service-content::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    right: auto;
    background: transparent;
    border-radius: 50% 20% / 10% 40%;
    transition: .5s;
}

.service-item:hover {
    border: 1px solid var(--bs-secondary) !important;
}

.service-item:hover .service-content::after {
    background: var(--bs-secondary);
    width: 100%;
    opacity: 1;
    z-index: 1;
}

.service-item .service-content .service-content-inner {
    position: relative;
    z-index: 2;
}

.service-item .service-content-inner i,
.service-item .service-content-inner p,
.service-item .service-content-inner a.h4 {
    transition: 0.5s;
}

.service-item:hover .service-content-inner i,
.service-item:hover .service-content-inner p {
    color: var(--bs-white) !important;
}
.service-item:hover .service-content-inner a.h4 {
    color: var(--bs-primary);
}

.service-item:hover .service-content-inner a.btn-primary {
    background: var(--bs-white) !important;
    color: var(--bs-primary) !important;
}

.service-item .service-content-inner a.btn-primary:hover {
    background: var(--bs-primary) !important;
    color: var(--bs-white) !important;
}
/*** Service End ***/


/*** Programs Start ***/
.program {
    background: linear-gradient(rgba(255, 72, 128, 0.1), rgba(255, 72, 128, 0.1));
}

.program .program-item .program-img .program-rate {
    position: absolute;
    width: 100px; 
    top: -20px; 
    left: 50%; 
    margin-left: -50px; 
    border-radius: 10% / 50%;
}

.program .program-item .program-text {
    padding-top: 150px; 
    margin-top: -125px;
}

.program .program-item .program-img img,
.program .program-item .program-teacher img,
.program .program-item:hover .program-text-inner a.h4 {
    transition: 0.5s;
}

.program .program-item:hover .program-img img,
.program .program-item:hover .program-teacher img {
    transform: scale(1.2);
}

.program .program-item:hover .program-text-inner a.h4 {
    color: var(--bs-primary) !important;
}
/*** Programs End ***/


/*** Events Start ***/
.event-note {
    max-width: 760px;
    padding: 0.95rem 1.15rem;
    border-radius: 18px;
    border: 1px solid rgba(25, 135, 84, 0.18);
    background: rgba(255, 255, 255, 0.92);
    color: #29435c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-align: center;
    box-shadow: 0 10px 24px rgba(15, 35, 95, 0.08);
}

.event-note-icon {
    color: var(--bs-primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.events-section-title {
    display: inline-block;
    margin: 0;
    padding-bottom: 0.45rem;
    border-bottom: 2px solid rgba(25, 135, 84, 0.22);
}

.event-empty-state {
    padding: 1.15rem 1.25rem;
    border-radius: 18px;
    background: #ffffff;
    color: #5f6b7a;
    border: 1px solid rgba(15, 35, 95, 0.08);
    box-shadow: 0 10px 24px rgba(15, 35, 95, 0.05);
}

.calendar-helper-text {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    color: #607083;
}

.event-calendar-card {
    background: #ffffff;
    border-radius: 22px;
    border: 1px solid rgba(15, 35, 95, 0.08);
    box-shadow: 0 16px 36px rgba(15, 35, 95, 0.08);
    padding: 1.25rem;
}

.event-calendar-month {
    font-size: 1.15rem;
    font-weight: 700;
    color: #29435c;
    text-align: center;
    margin-bottom: 1rem;
}

.event-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.45rem;
}

.event-calendar-weekdays {
    margin-bottom: 0.55rem;
}

.event-calendar-weekday {
    text-align: center;
    font-size: 0.84rem;
    font-weight: 600;
    color: #6a7a8d;
    padding: 0.35rem 0;
}

.event-calendar-day {
    min-height: 56px;
    border-radius: 14px;
    background: #f7fbfd;
    border: 1px solid rgba(15, 35, 95, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #29435c;
    text-decoration: none;
}

.event-calendar-day-empty {
    background: transparent;
    border-color: transparent;
}

.event-calendar-day-number {
    font-weight: 600;
}

.event-calendar-day.has-event {
    background: rgba(25, 135, 84, 0.12);
    border-color: rgba(25, 135, 84, 0.25);
    color: #1d7c1e;
    box-shadow: inset 0 0 0 1px rgba(25, 135, 84, 0.05);
}

.event-calendar-day.has-event:hover {
    transform: translateY(-1px);
    background: rgba(25, 135, 84, 0.18);
    color: #166316;
}

.event-calendar-day-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--bs-primary);
    position: absolute;
    bottom: 9px;
    left: 50%;
    transform: translateX(-50%);
}

.classic-event-wrap {
    color: #29435c;
    background: linear-gradient(135deg, #dff4f1 0%, #e8f7f5 100%);
    border-radius: 24px;
    overflow: visible;
    border: 1px solid rgba(41, 67, 92, 0.08);
    box-shadow: 0 20px 45px rgba(41, 67, 92, 0.12);
}

.home-calendar-preview {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

.classic-block-event {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) 378px;
    align-items: start;
    gap: 2rem;
    max-width: 1170px;
    margin: 0 auto;
    padding: 2rem 2rem 1.5rem;
}

.classic-upcoming-event h2,
.classic-widget-calendar .month {
    font-family: "Comic Sans MS", "Trebuchet MS", cursive;
}

.classic-upcoming-event h2 {
    margin: 0 0 1.25rem;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.05;
    color: #29435c;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.35);
}

.classic-event-description {
    margin-right: 8%;
    padding: 1.25rem 1.35rem 1.4rem;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(25, 135, 84, 0.14);
    box-shadow: 0 12px 28px rgba(41, 67, 92, 0.08);
}

.classic-event-description h3 {
    margin-bottom: 0.75rem;
}

.classic-event-description h3 a {
    font-size: 1.1rem;
    font-weight: 700;
    color: #29435c;
}

.classic-event-description h3 a:hover {
    color: var(--bs-primary);
}

.classic-event-description p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #5f6f80;
}

.classic-event-metadata {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.5rem;
    padding: 0.85rem 0 1rem;
    color: #5f6f80;
    font-size: 0.95rem;
}

.classic-event-metadata time,
.classic-event-metadata span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.classic-event-metadata time::before,
.classic-event-metadata span::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--bs-primary);
    opacity: 1;
}

.classic-event-metadata time::before {
    content: "\f073";
}

.classic-event-metadata span::before {
    content: "\f3c5";
}

.classic-widget-calendar {
    width: 100%;
    max-width: 378px;
}

.classic-event-calendar {
    width: 100%;
    margin-bottom: 1rem;
    color: #29435c;
    font-family: "Comic Sans MS", "Trebuchet MS", cursive;
    font-size: 1.4rem;
    text-align: center;
}

.classic-event-calendar col {
    width: 54px;
}

.classic-event-calendar th {
    padding-bottom: 0.7rem;
    font-size: 1.05rem;
    font-weight: 700;
    text-align: center;
    color: #4f657b;
}

.classic-event-calendar td {
    position: relative;
    vertical-align: middle;
}

.classic-event-calendar .controls,
.classic-event-calendar .month {
    height: 72px;
    padding: 0;
    vertical-align: middle;
    font-size: 1.5rem;
}

.classic-event-calendar .controls a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 auto;
    border-radius: 50%;
    background: rgba(25, 135, 84, 0.12);
    color: var(--bs-primary);
    text-decoration: none;
    font-size: 2rem;
    line-height: 1;
    border: 1px solid rgba(25, 135, 84, 0.14);
    box-shadow: 0 8px 16px rgba(25, 135, 84, 0.12);
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.classic-event-calendar .controls a:hover {
    background: var(--bs-primary);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 12px 20px rgba(25, 135, 84, 0.2);
}

.classic-event-calendar .controls .calendar-nav-disabled {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 auto;
    border-radius: 50%;
    background: rgba(41, 67, 92, 0.06);
    color: rgba(79, 101, 123, 0.45);
    border: 1px solid rgba(41, 67, 92, 0.08);
    font-size: 2rem;
    line-height: 1;
}

.classic-event-calendar td .cell-wrap {
    display: block;
    width: 48px;
    height: 48px;
    line-height: 48px;
    margin: 3px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(41, 67, 92, 0.08);
    position: relative;
    color: #29435c;
}

.classic-event-calendar td .another-day {
    background: rgba(255, 255, 255, 0.45);
    color: #9aacb9;
}

.classic-event-calendar td .upcoming {
    background: rgba(25, 135, 84, 0.16);
    border-color: rgba(25, 135, 84, 0.2);
}

.classic-event-calendar td .archival {
    background: rgba(41, 67, 92, 0.12);
    border-color: rgba(41, 67, 92, 0.16);
}

.classic-event-calendar td .notice {
    background: rgba(77, 101, 249, 0.12);
    border-color: rgba(77, 101, 249, 0.18);
}

.classic-event-calendar .upcoming > a {
    display: block;
    color: var(--bs-primary);
    text-decoration: none;
}

.classic-event-calendar .archival > a {
    display: block;
    color: #29435c;
    text-decoration: none;
}

.classic-event-calendar .notice > a {
    display: block;
    color: #3653b8;
    text-decoration: none;
}

.classic-event-calendar .js-calendar-trigger {
    border-radius: inherit;
    transition: color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.classic-event-calendar .upcoming > .js-calendar-trigger.is-active,
.classic-event-calendar .archival > .js-calendar-trigger.is-active,
.classic-event-calendar .notice > .js-calendar-trigger.is-active {
    box-shadow: inset 0 0 0 2px #29435c;
    transform: scale(0.96);
}

.classic-event-calendar .upcoming:hover,
.classic-event-calendar .archival:hover,
.classic-event-calendar .notice:hover {
    background: #bfe8e2;
    border-color: rgba(41, 67, 92, 0.18);
}

.classic-event-calendar .upcoming:hover > a,
.classic-event-calendar .archival:hover > a,
.classic-event-calendar .notice:hover > a {
    color: #29435c;
}

.classic-event-calendar .tooltip {
    width: 320px;
    position: absolute;
    top: -0.5rem;
    right: calc(100% + 0.85rem);
    z-index: 20;
    display: none;
}

.classic-event-calendar .upcoming:hover .tooltip,
.classic-event-calendar .archival:hover .tooltip {
    display: block;
}

.classic-event-calendar .event-tooltip {
    padding: 1rem 1rem 0.95rem;
    border-radius: 14px;
    background: #ffffff;
    color: #29435c;
    text-align: left;
    border: 1px solid rgba(41, 67, 92, 0.08);
    box-shadow: 0 16px 30px rgba(41, 67, 92, 0.14);
    position: relative;
}

.classic-event-calendar .event-tooltip::after {
    content: "";
    position: absolute;
    right: -14px;
    top: 24px;
    border: 7px solid transparent;
    border-left-color: #ffffff;
}

.classic-event-calendar .event-tooltip h4 {
    margin-bottom: 0.55rem;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.45;
    color: #29435c;
}

.classic-event-calendar .event-tooltip p {
    margin-bottom: 0;
    font-size: 0.84rem;
    line-height: 1.65;
    color: #5f6f80;
}

.classic-event-calendar .event-tooltip .metadata {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
    margin-bottom: 0.7rem;
    font-size: 0.8rem;
}

.classic-event-calendar .event-tooltip .metadata time,
.classic-event-calendar .event-tooltip .metadata span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.classic-event-calendar .event-tooltip .metadata time::before,
.classic-event-calendar .event-tooltip .metadata span::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.classic-event-calendar .event-tooltip .metadata time::before {
    content: "\f073";
}

.classic-event-calendar .event-tooltip .metadata span::before {
    content: "\f3c5";
}

.classic-widget-calendar .legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.4rem;
    padding-bottom: 0.5rem;
    font-size: 0.95rem;
    color: #4f657b;
}

.classic-widget-calendar .legend .upcoming,
.classic-widget-calendar .legend .archival,
.classic-widget-calendar .legend .notice {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.classic-widget-calendar .legend .upcoming::before,
.classic-widget-calendar .legend .archival::before,
.classic-widget-calendar .legend .notice::before {
    content: "";
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-block;
}

.classic-widget-calendar .legend .upcoming::before {
    background: rgba(25, 135, 84, 0.5);
}

.classic-widget-calendar .legend .archival::before {
    background: rgba(41, 67, 92, 0.28);
}

.classic-widget-calendar .legend .notice::before {
    background: rgba(77, 101, 249, 0.55);
}

.events .events-item {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 30%;
    position: relative;
}

.events .events-item .events-inner .events-rate {
    position: absolute;
    width: 120px; 
    top: -20px; 
    left: 50%; 
    margin-left: -60px; 
    border-radius: 10% / 50%;
    z-index: 2;
}

.events .events-item .events-inner .events-img .event-overlay {
    position: absolute;
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.5s;
    z-index: 1;
    opacity: 0;
}

.events .events-item .events-inner .events-img:hover .event-overlay {
    opacity: 1;
}

.events-page .events-item .events-inner .events-img {
    width: min(100%, 550px);
    height: 400px;
    margin: 0 auto;
    border-radius: 16px !important;
}

.events-page .events-item .events-inner .events-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px !important;
}

.events .events-item .events-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    bottom: auto;
    background: rgba(77, 101, 249, .7);
    border-radius: 10px;
    transition: 0.5s;
}

.events .events-item:hover .events-img::after {
    height: 100%;
    opacity: 1;
}

.events .events-item .events-text a.h4,
.events .events-item .events-img img {
    transition: 0.5s;
}

.events .events-item .events-text {
    height: 250px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.events .events-item .events-text a.h4 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.events .events-item .events-text p {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.events .events-item:hover .events-text a.h4 {
    color: var(--bs-primary) !important;
}

.events .events-item:hover .events-img img {
    transform: scale(1.3);
}
/*** Events End ***/


/*** Blog Start ***/
.blog .blog-item .blog-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    bottom: auto;
    background: rgba(77, 101, 249, .7);
    border-radius: 10px 10px 0 0;
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img::after {
    height: 100%;
    opacity: 1;
}

.blog .blog-item .blog-date-comments {
    padding-top: 150px !important; 
    margin-top: -125px;
}

.blog .blog-item .blog-img img,
.blog .blog-item .blog-content img,
.blog .blog-item .blog-text-inner a.h4 {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.3);
}

.blog .blog-item:hover .blog-content img {
    transform: scale(1.3);
}

.blog .blog-item:hover .blog-text-inner a.h4 {
    color: var(--bs-primary);
}
/*** Blog End ***/



/*** Team Start ***/
.team .team-item {
    position: relative;
    width: 100%;
    height: 100%;
}

.team .team-item .team-icon {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
}

.team .team-item .team-icon a.share-link {
    opacity: 0;
    transition: 0.5s;
}

.team .team-item:hover .team-icon a.share-link {
    opacity: 1;
}

.team .team-item .team-content,
.team .team-item .team-content h4,
.team .team-item .team-content p {
    transition: 0.5s;
}

.team .team-item:hover .team-content {
    background: var(--bs-primary) !important;
    border-radius: 0 0 10px 10px;
}

.team .team-item:hover .team-content h4 {
    color: var(--bs-white) !important;
}

.team .team-item:hover .team-content p {
    color: var(--bs-dark) !important;
}
/*** Team end ***/


/*** testimonial Start ***/
.testimonial .testimonial-carousel {
    position: relative;
    
}

.testimonial .testimonial-carousel .owl-dots {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial .testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--bs-primary);
    border-radius: 10px;
    transition: 0.5s;
}

.testimonial .testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--bs-secondary);
}
/*** testimonial End ***/


/*** Footer Start ***/
.footer {
    /*background: linear-gradient(rgba(255, 255, 255, .8), rgba(255, 255, 255, 1)), url(../images/background.jpg);*/
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
}

.footer .footer-galary-img img {
    width: 100%;
    border-style: dotted; 
    border-color: var(--bs-primary);
    transition: 0.5s;
}

.footer .footer-galary-img img:hover {
    transform: scale(1.2);
}

.footer-item a.text-body:hover {
    color: var(--bs-secondary) !important;
}

.footer-association-logo {
    width: 140px !important;
    height: auto !important;
    display: block;
    margin: 0 auto;
}

.site-footer .row > .col-md-6.col-lg-4.col-xl-3 .footer-item {
    text-align: center;
}

.site-footer .row > .col-md-6.col-lg-4.col-xl-3 .font-arabic-footer {
    margin-left: 0 !important;
}

.site-footer .footer-logo-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.site-footer .footer-logo-column .footer-icon {
    justify-content: center;
}

.site-footer .footer-item .d-flex.flex-column.align-items-start {
    align-items: flex-start !important;
}

.site-footer .footer-item a.text-body.mb-4 {
    display: block;
    width: 100%;
    text-align: left !important;
}

.site-footer .footer-item .text-body.mb-3 {
    display: block;
    width: 100%;
    text-align: start !important;
}

.site-footer .footer-contact-line {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    width: 100%;
    min-width: 0;
    line-height: 1.45;
}

.site-footer .footer-contact-line i {
    flex: 0 0 1rem;
    margin-top: 0.2rem;
}

.site-footer .footer-contact-line span {
    min-width: 0;
}

.site-footer .footer-contact-email span {
    overflow-wrap: anywhere;
    word-break: break-word;
}
/*** Footer End ***/

/** Header **/
/**CSS written by Hind***/
 .text-secondary-logo{color:#1d7c1e !important }
 .text-primary-logo{color:#e91040 !important }
 .font-arabic{ font-size: 20px;  margin-left: 80px; color:#1d7c1e !important;}
.font-arabic-footer{ font-size: 20px;  margin-left: 40px !important; color:#1d7c1e !important;}
 
  .bg-blue{background-color:#d7ebf3 !important }


  /** calendar **/

/** Responsive and UI polish **/
html,
body {
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

.site-footer {
    margin-top: 0 !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.main-navbar-wrap {
    position: sticky;
    top: 0;
    z-index: 1035;
}

.main-navbar {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(15, 35, 95, 0.12);
    backdrop-filter: blur(6px);
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.header-register-btn {
    white-space: nowrap;
    border: 1px solid transparent;
}

.header-register-btn.active,
.header-register-btn:hover {
    border-color: rgba(29, 124, 30, 0.35);
}

.registration-section {
    min-height: 100vh;
}

.hero-header {
    min-height: 72vh;
    display: flex;
    align-items: center;
}

.hero-header h1.display-1 {
    font-size: clamp(2.1rem, 5.2vw, 4.25rem);
    line-height: 1.15;
}

.navbar-brand {
    margin-right: 0;
    max-width: min(100%, 420px);
}

.navbar-brand h1 {
    margin-bottom: 0.35rem;
}

.main-navbar .navbar-brand .text-primary-logo {
    font-size: clamp(1.2rem, 2.2vw, 1.7rem) !important;
    line-height: 1.2;
}

.navbar-brand .font-arabic {
    margin-left: 0;
}

.navbar > a img {
    height: clamp(56px, 10vw, 100px);
    width: auto;
}

.topbar .top-info {
    gap: 0.75rem;
    flex-wrap: wrap;
}

.navbar .navbar-nav .nav-link {
    border-radius: 10px;
}

@media (min-width: 992px) {
    .navbar .navbar-nav .nav-link {
        padding: 10px 8px;
        font-size: 15px;
    }
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    background: rgba(233, 16, 64, 0.08);
}

.service .service-item,
.program .program-item,
.events .events-item,
.blog .blog-item,
.team .team-item,
.testimonial .testimonial-item {
    box-shadow: 0 10px 28px rgba(15, 35, 95, 0.08);
}

.page-header .display-3,
.page-header .display-4 {
    font-size: clamp(2rem, 4.7vw, 3.5rem);
}

.about-description {
    font-size: clamp(1rem, 2vw, 1.28rem) !important;
}

.font-arabic {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.font-arabic-footer {
    margin-left: 0 !important;
    font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.footer-icon {
    flex-wrap: wrap;
    gap: 0.6rem;
}

.footer-icon .btn {
    margin-right: 0 !important;
}

@media (max-width: 1199.98px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .topbar {
        border-radius: 0 0 24px 24px !important;
    }

    .navbar {
        gap: 0.8rem;
    }

    .navbar-collapse {
        margin-top: 0.8rem;
        padding: 1rem;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.86);
        backdrop-filter: blur(6px);
        border: 1px solid rgba(233, 16, 64, 0.12);
    }

    .main-navbar {
        border-radius: 12px;
    }

    .navbar .navbar-nav {
        gap: 0.25rem;
    }

    .navbar .d-flex.me-4 {
        margin-right: 0 !important;
        margin-top: 0.8rem;
        padding-top: 0.8rem;
        border-top: 1px dashed rgba(29, 124, 30, 0.3);
    }

    .page-header {
        margin-bottom: 2.25rem !important;
    }

    .events .events-item {
        border-radius: 22px;
    }

    .events .events-item .events-inner .events-img,
    .events .events-item .events-inner .events-img img {
        border-radius: 20px !important;
    }
}

@media (max-width: 991.98px) {
    .hero-header {
        min-height: 58vh;
    }

    .hero-header .btn {
        margin-bottom: 0.75rem;
    }

    .page-header .container {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .registration-section .card-body {
        padding: 1.5rem !important;
    }

    .registration-section h3 {
        margin-bottom: 1.5rem !important;
    }

    #phone-tada {
        display: none !important;
    }
}

@media (max-width: 767.98px) {
    .home-section {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .home-section .home-section-inner {
        padding-top: 1.25rem !important;
        padding-bottom: 1.25rem !important;
    }

    .home-hero-section {
        min-height: 46vh;
    }

    .home-hero-section h1.mb-5 {
        margin-bottom: 1.1rem !important;
    }

    .home-hero-section .btn {
        margin-bottom: 0.5rem;
    }

    .home-about-preview,
    .home-event-preview {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .home-about-preview {
        -webkit-line-clamp: 5;
    }

    .home-event-preview {
        -webkit-line-clamp: 4;
    }

    .home-service-grid,
    .home-events-grid {
        --bs-gutter-y: 1.2rem;
    }

    .home-service-grid {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 0.85rem;
        margin-left: 0;
        margin-right: 0;
        padding: 0.2rem 0.2rem 0.8rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .home-service-grid::-webkit-scrollbar {
        display: none;
    }

    .home-service-grid > .home-service-card {
        flex: 0 0 82%;
        max-width: 82%;
        padding-left: 0;
        padding-right: 0;
        scroll-snap-align: start;
    }

    .home-events-grid {
        flex-wrap: nowrap;
        justify-content: flex-start !important;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 0.85rem;
        margin-left: 0;
        margin-right: 0;
        padding: 1rem 0.2rem 0.8rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .home-events-grid::-webkit-scrollbar {
        display: none;
    }

    .home-events-grid > .home-event-card {
        flex: 0 0 86%;
        max-width: 86%;
        padding-left: 0;
        padding-right: 0;
        scroll-snap-align: start;
    }

    .home-events-grid .events-item {
        background: #ffffff !important;
        overflow: visible;
    }

    .home-events-grid .events-inner {
        display: flex;
        flex-direction: column;
    }

    .home-events-grid .events-inner .events-img,
    .home-events-grid .events-inner .events-img img {
        height: 240px;
        object-fit: cover;
    }

    .home-events-grid .events-inner > .d-flex.justify-content-between {
        min-height: 56px;
        align-items: flex-start;
    }

    .home-events-grid .events-text {
        background: #ffffff !important;
        min-height: 220px;
        height: 220px;
    }

    .home-service-controls {
        margin-top: 0.35rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.6rem;
    }

    .home-service-nav-btn {
        width: 38px;
        height: 38px;
        border: 1px solid rgba(29, 124, 30, 0.35);
        background: #fff;
        color: #1d7c1e;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: 0.2s ease;
    }

    .home-service-nav-btn:hover,
    .home-service-nav-btn:focus {
        background: #1d7c1e;
        color: #fff;
        outline: none;
    }

    .home-mobile-hide {
        display: none !important;
    }

    .container-fluid.py-5,
    .container.py-5,
    .container-xxl.py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .display-3 {
        font-size: clamp(1.8rem, 7vw, 2.6rem);
    }

    .display-5,
    .display-6 {
        font-size: clamp(1.35rem, 6vw, 2rem);
    }

    .about .video,
    .video {
        min-height: 260px;
        border-radius: 22px;
    }

    .about-hero-image {
        min-height: 300px !important;
        padding-left: 1.2rem !important;
        padding-top: 1.2rem !important;
    }

    .events .events-item .events-text {
        height: auto;
    }

    .event-note {
        width: 100%;
        font-size: 0.95rem;
        padding: 0.85rem 1rem;
        gap: 0.55rem;
    }

    .event-empty-state {
        padding: 1rem;
    }

    .classic-block-event {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.35rem;
    }

    .classic-event-description {
        margin-right: 0;
    }

    .classic-widget-calendar {
        max-width: 100%;
    }

    .classic-event-calendar {
        font-size: 1.15rem;
    }

    .classic-event-calendar .tooltip {
        width: min(280px, calc(100vw - 3rem));
        right: auto;
        left: 0;
        top: calc(100% + 0.45rem);
    }

    .classic-event-calendar .event-tooltip::after {
        right: auto;
        left: 22px;
        top: -14px;
        border-left-color: transparent;
        border-bottom-color: #ffffff;
    }

    .event-calendar-card {
        padding: 1rem;
    }

    .event-calendar-grid {
        gap: 0.3rem;
    }

    .event-calendar-day {
        min-height: 48px;
        border-radius: 12px;
    }

    .service .service-item,
    .program .program-item,
    .events .events-item,
    .blog .blog-item,
    .team .team-item,
    .testimonial .testimonial-item {
        border-radius: 18px !important;
    }

    .team .team-item .team-icon {
        position: static;
        transform: none;
        margin: 0.75rem 0;
    }

    .team .team-item .team-icon a.share-link {
        opacity: 1;
    }

    .footer-icon {
        justify-content: center;
    }

    .navbar-brand h1 {
        line-height: 1.2;
    }

    .header-cta-wrap {
        width: 100%;
        margin-top: 0.8rem;
        display: flex;
        align-items: stretch;
        gap: 0.55rem;
        flex-wrap: nowrap;
    }

    .header-cta-wrap .btn {
        margin-right: 0 !important;
        margin-bottom: 0 !important;
        min-height: 44px;
        padding: 0.6rem 0.9rem !important;
        line-height: 1.15;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .header-cta-wrap .btn:first-child {
        flex: 1.15 1 0;
        min-width: 0;
        white-space: nowrap;
    }

    .header-register-btn {
        flex: 0.9 1 0;
        width: auto;
        text-align: center;
        white-space: nowrap;
    }

    .event-details-media {
        min-height: clamp(260px, 58vw, 360px);
    }

    .event-details-media .carousel,
    .event-details-media .carousel-inner,
    .event-details-media .carousel-item {
        height: clamp(260px, 58vw, 360px);
    }

    .mobile-language-top {
        margin-top: 0;
        margin-bottom: 0.35rem;
        padding-right: 0.3rem;
    }

    .mobile-language-top .lang-flag-link {
        width: 34px;
        height: 34px;
    }

    .mobile-language-top .lang-flag-img {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 575.98px) {
    .home-service-grid > .home-service-card {
        flex-basis: 88%;
        max-width: 88%;
    }

    .home-events-grid > .home-event-card {
        flex-basis: 90%;
        max-width: 90%;
    }

    .home-events-grid .events-inner .events-img,
    .home-events-grid .events-inner .events-img img {
        height: 220px;
    }

    .home-events-grid .events-text {
        min-height: 220px;
        height: 220px;
    }

    .classic-block-event {
        padding: 1rem;
    }

    .classic-upcoming-event h2 {
        font-size: 1.8rem;
    }

    .classic-event-calendar th {
        font-size: 0.9rem;
    }

    .classic-event-calendar td .cell-wrap,
    .classic-event-calendar .controls a {
        width: 40px;
        height: 40px;
        line-height: 40px;
    }

    .classic-widget-calendar .legend {
        font-size: 0.9rem;
    }

    .home-section {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    .home-section .home-section-inner {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .home-hero-section .btn.me-4 {
        margin-right: 0.5rem !important;
    }

    .header-cta-wrap .btn {
        font-size: 0.92rem;
        padding: 0.58rem 0.75rem !important;
    }

    .navbar-toggler {
        margin-left: auto;
    }

    .navbar-brand {
        max-width: 100%;
    }

    .navbar-brand h1 {
        font-size: 1.05rem;
    }

    .font-arabic {
        font-size: 0.95rem;
    }

    .page-header .container {
        padding-top: 2.25rem !important;
        padding-bottom: 2.25rem !important;
    }

    .registration-section .card {
        border-radius: 12px !important;
    }

    .events .events-item .events-inner .events-rate {
        top: 0.5rem;
        left: 0.5rem;
        right: 0.5rem;
        margin-left: 0 !important;
        min-width: 0 !important;
        width: auto;
        max-width: calc(100% - 1rem);
        white-space: normal;
        overflow-wrap: anywhere;
        line-height: 1.3;
        border-radius: 14px;
    }

    .events .events-item .events-inner .d-flex.justify-content-between {
        flex-wrap: wrap;
        gap: 0.35rem 0.75rem;
    }
}

@media (max-width: 420px) {
    .header-cta-wrap {
        flex-wrap: wrap;
    }

    .header-cta-wrap .btn,
    .header-cta-wrap .btn:first-child,
    .header-register-btn {
        flex: 1 1 100%;
        width: 100%;
        white-space: normal;
    }

    #phoneNumberCountryCode,
    #phoneNumber2CountryCode,
    #whatsappCountryCode {
        width: 92px !important;
        max-width: 92px !important;
    }
}
