:root {
    --bs-primary: #062f25;
    --bs-success: #006a45;
    --bs-warning: #d4af37;
    --bs-light: #f7f2e7;
    --bs-dark: #061a16;
    --istiqama-emerald: #006a45;
    --istiqama-deep: #062f25;
    --istiqama-gold: #d4af37;
    --istiqama-cream: #f7f2e7;
}

@media (min-width: 992px) {
    body {
        zoom: 0.8;
        background: #fffdf7;
    }
}

@media (max-width: 991px) {
    body {
        zoom: 1;
    }
}

body {
    color: #50615d;
}

.wow {
    visibility: visible !important;
}

.wow:not(.animated) {
    opacity: 1 !important;
}

/*** Spinner Start ***/
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.5s ease-out,
        visibility 0s linear 0.5s;
    z-index: 99999;
}

#spinner.show {
    transition:
        opacity 0.5s ease-out,
        visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/

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

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: 0.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;
    border-radius: 50%;
}

.btn.btn-primary {
    background: var(--bs-success) !important;
    color: var(--bs-white) !important;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    transition: 0.5s;
}

.btn.btn.btn-primary:hover {
    background: var(--bs-primary) !important;
    color: var(--bs-warning);
    border: 1px solid var(--bs-success);
}

.btn.btn-secondary {
    background: transparent;
    color: var(--bs-success);
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    border: none;
    transition: 0.5s;
}

.btn.btn-secondary:hover {
    color: var(--bs-primary) !important;
}

/*** Section Title Start ***/
.section-title {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.section-title .sub-style {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-success);
}

.section-title .sub-style::before {
    content: "";
    width: 100px;
    position: absolute;
    bottom: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-bottom: -6px;
    margin-left: -100px;
    border: 1px solid var(--bs-success) !important;
}

.section-title .sub-style::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-top: -8px;
    margin-left: -50px;
    border: 1px solid var(--bs-primary) !important;
}

.sub-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.sub-title::before {
    content: "";
    width: 100px;
    position: absolute;
    bottom: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-bottom: -8px;
    margin-right: -100px;
    border: 1px solid var(--bs-success) !important;
}

.sub-title::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-top: -6px;
    margin-right: -50px;
    border: 1px solid var(--bs-primary) !important;
}

/*** Topbar Start ***/
.fixed-top .container {
    transition: 0.5s;
}

.topbar,
.site-topbar.bg-primary {
    position: relative;
    overflow: hidden;
    padding: 2px 10px 2px 20px;
    background:
        linear-gradient(135deg, #041f19, #062f25 52%, #0b4b35) !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.32);
    box-shadow: 0 8px 24px rgba(3, 23, 18, 0.18);
}

.topbar::before {
    content: "";
    position: absolute;
    top: -72px;
    right: 8%;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.16);
    box-shadow: inset 0 0 46px rgba(212, 175, 55, 0.07);
    pointer-events: none;
}

.topbar .container {
    position: relative;
    z-index: 1;
}

.topbar a,
.topbar a i {
    transition: 0.5s;
}

.topbar a,
.topbar small {
    color: rgba(255, 255, 255, 0.84) !important;
}

.topbar a i,
.topbar .fab {
    color: var(--istiqama-gold) !important;
}

.topbar a:hover,
.topbar a i:hover {
    color: var(--istiqama-gold) !important;
}

.topbar-link-button {
    padding: 0;
    border: 0;
    color: rgba(255, 255, 255, 0.78);
    background: transparent;
    font: inherit;
}

.topbar-link-button:hover {
    color: var(--istiqama-gold);
}

@media (max-width: 768px) {
    .topbar {
        display: none;
    }
}
/*** Topbar End ***/

/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    font-family: "Poppins", sans-serif;
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    color: var(--bs-primary) !important;
    font-size: 17px;
    font-weight: 400;
    outline: none;
    transition: 0.5s;
}

.sticky-top .navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--bs-primary) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--bs-success) !important;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: 0.5s;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 230px;
    max-width: 300px;
}

.brand-lockup img {
    flex: 0 0 auto;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.35);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.04;
    min-width: 0;
}

.brand-main {
    color: var(--istiqama-emerald);
    font-family: "Poppins", sans-serif;
    font-size: 23px;
    font-weight: 700;
    white-space: nowrap;
}

.brand-sub {
    color: var(--istiqama-deep);
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: uppercase;
    white-space: nowrap;
}

/*** Modern website pages ***/
.min-vh-60 {
    min-height: 60vh;
}

.gap-3 {
    gap: 1rem;
}

.site-page-hero {
    position: relative;
    min-height: 72vh;
    overflow: hidden;
    background-position: center;
    background-size: cover;
}

.site-page-hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -25% auto;
    width: 45%;
    height: 55%;
    background: rgba(25, 135, 84, 0.25);
    filter: blur(80px);
    transform: rotate(-12deg);
}

.site-page-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 29, 24, 0.92), rgba(5, 29, 24, 0.62), rgba(5, 29, 24, 0.2)),
        linear-gradient(0deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.05));
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    color: var(--bs-white);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 0;
}

.hero-stat-strip {
    position: absolute;
    right: 12px;
    bottom: -42px;
    left: 12px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    border-radius: 8px;
    background: var(--bs-white);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.18);
    z-index: 2;
}

.hero-stat-strip div {
    padding: 22px;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.hero-stat-strip div:last-child {
    border-right: 0;
}

.hero-stat-strip strong {
    display: block;
    color: var(--bs-success);
    font-size: 34px;
    line-height: 1;
}

.hero-stat-strip span {
    color: var(--bs-primary);
    font-weight: 600;
}

.image-lift {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.16);
}

.image-lift img {
    width: 100%;
    min-height: 430px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.image-lift:hover img {
    transform: scale(1.06);
}

.index-image-stack {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: var(--istiqama-deep);
    box-shadow: 0 24px 65px rgba(6, 47, 37, 0.18);
}

.index-image-stack::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(212, 175, 55, 0.55);
    border-radius: 8px;
    z-index: 2;
    pointer-events: none;
}

.index-image-stack img {
    min-height: 560px;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 0.7s ease;
}

.index-image-stack:hover img {
    transform: scale(1.06);
}

.index-image-badge {
    position: absolute;
    right: 28px;
    bottom: 28px;
    z-index: 3;
    width: 150px;
    padding: 18px;
    border-radius: 8px;
    color: var(--bs-white);
    background: rgba(6, 47, 37, 0.88);
    border: 1px solid rgba(212, 175, 55, 0.55);
    backdrop-filter: blur(8px);
}

.index-image-badge strong {
    display: block;
    color: var(--istiqama-gold);
    font-size: 38px;
    line-height: 1;
}

.index-image-badge span {
    font-weight: 600;
}

.mini-proof {
    display: flex;
    align-items: center;
    min-height: 76px;
    padding: 18px;
    border-radius: 8px;
    background: var(--bs-light);
    box-shadow: inset 0 0 0 1px rgba(25, 135, 84, 0.12);
}

.mini-proof i {
    width: 42px;
    font-size: 24px;
}

.mini-proof span {
    color: var(--bs-primary);
    font-weight: 600;
}

.page-feature-band {
    background:
        linear-gradient(180deg, rgba(248, 249, 250, 0.96), rgba(255, 255, 255, 1));
}

.modern-service-card {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border-radius: 8px;
    background: var(--bs-white);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.modern-service-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--bs-success), var(--bs-primary));
}

.modern-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.14);
}

.modern-service-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 24px;
    border-radius: 50%;
    background: rgba(25, 135, 84, 0.12);
    color: var(--bs-success);
    font-size: 24px;
}

.modern-service-card h4 {
    margin-bottom: 14px;
    color: var(--bs-primary);
}

.modern-service-card p {
    margin-bottom: 0;
}

.process-timeline {
    position: relative;
    display: grid;
    gap: 18px;
}

.process-step {
    display: grid;
    grid-template-columns: 72px 1fr;
    align-items: center;
    min-height: 92px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--bs-white);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
}

.process-step span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: var(--bs-success);
    color: var(--bs-white);
    font-size: 24px;
    font-weight: 700;
}

.process-step p {
    margin: 0;
    padding: 18px 24px;
    color: var(--bs-primary);
    font-weight: 600;
}

.modern-form,
.prayer-panel {
    padding: 28px;
    border-radius: 8px;
    background: var(--bs-white);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}

.prayer-panel thead {
    color: var(--bs-white);
    background: var(--bs-primary);
}

.prayer-panel th,
.prayer-panel td {
    padding: 18px;
}

/*** About submenu rich pages ***/
.agency-history {
    display: grid;
    gap: 18px;
}

.agency-history-item,
.identity-card,
.leader-bio-card,
.service-detail-card,
.strength-panel,
.testimonial-year-card,
.chat-guide-card,
.social-card,
.trip-day-card {
    border-radius: 8px;
    background: var(--bs-white);
    box-shadow: 0 18px 45px rgba(6, 47, 37, 0.09);
}

.agency-history-item {
    position: relative;
    padding: 28px 30px 28px 110px;
    overflow: hidden;
}

.agency-history-item span {
    position: absolute;
    top: 28px;
    left: 24px;
    width: 62px;
    color: var(--istiqama-gold);
    font-weight: 700;
    text-transform: uppercase;
}

.agency-history-item::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 92px;
    width: 3px;
    background: linear-gradient(var(--istiqama-gold), var(--istiqama-emerald));
}

.identity-card {
    height: 100%;
    padding: 28px;
    border-top: 4px solid var(--istiqama-gold);
}

.identity-card i,
.chat-guide-card i {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 50%;
    color: var(--istiqama-gold);
    background: rgba(6, 47, 37, 0.08);
    font-size: 22px;
}

.leader-bio-card {
    overflow: hidden;
}

.leader-bio-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.leader-bio-card div {
    padding: 24px;
}

.leader-bio-card span,
.testimonial-year-card span,
.trip-day-card span {
    color: var(--istiqama-gold);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.service-detail-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    overflow: hidden;
}

.service-detail-card img {
    width: 100%;
    height: 100%;
    min-height: 230px;
    object-fit: cover;
}

.service-detail-card div {
    padding: 26px;
}

.strength-panel {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 28px;
    padding: 32px;
    color: var(--bs-white);
    background: linear-gradient(135deg, var(--istiqama-deep), var(--istiqama-emerald));
}

.strength-panel h3 {
    color: var(--bs-white);
}

.strength-panel p {
    color: rgba(255, 255, 255, 0.76);
}

.strength-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.strength-list span {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.88);
}

.strength-list i {
    color: var(--istiqama-gold);
    margin-top: 4px;
}

.testimonial-timeline {
    position: relative;
    display: grid;
    gap: 22px;
}

.testimonial-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: rgba(212, 175, 55, 0.45);
}

.testimonial-year-card {
    position: relative;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 22px;
    width: calc(50% - 36px);
    padding: 22px;
}

.testimonial-year-card:nth-child(even) {
    margin-left: calc(50% + 36px);
}

.testimonial-year-card img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-year {
    position: absolute;
    top: 18px;
    right: -92px;
    width: 64px;
    text-align: center;
    color: var(--bs-white) !important;
    background: var(--istiqama-emerald);
    border-radius: 999px;
    padding: 7px 0;
}

.testimonial-year-card:nth-child(even) .testimonial-year {
    right: auto;
    left: -92px;
}

.group-chat-depth {
    background: var(--istiqama-cream);
}

.chat-guide-card {
    padding: 28px;
}

.social-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.social-card {
    padding: 26px;
    text-align: center;
}

.social-card i {
    color: var(--istiqama-emerald);
    font-size: 38px;
    margin-bottom: 16px;
}

.trip-route-circle {
    position: relative;
    width: min(920px, 100%);
    min-height: 760px;
    margin: 0 auto;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, rgba(247, 242, 231, 0.98) 0 28%, transparent 29%),
        conic-gradient(from 0deg, rgba(212, 175, 55, 0.22), rgba(0, 106, 69, 0.3), rgba(212, 175, 55, 0.22));
    border: 1px solid rgba(212, 175, 55, 0.45);
    box-shadow: inset 0 0 65px rgba(6, 47, 37, 0.08), 0 28px 70px rgba(6, 47, 37, 0.12);
}

.trip-route-circle::before {
    content: "";
    position: absolute;
    inset: 86px;
    border-radius: 50%;
    border: 2px dashed rgba(6, 47, 37, 0.25);
    animation: routeCircleSpin 28s linear infinite;
}

.trip-route-circle::after {
    content: "";
    position: absolute;
    inset: 120px;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: rgba(212, 175, 55, 0.75);
    border-right-color: rgba(0, 106, 69, 0.55);
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.28));
    animation: routeCircleSpin 12s linear infinite;
}

.trip-route-center {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: flex;
    width: 250px;
    height: 250px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    color: var(--bs-white);
    background: linear-gradient(135deg, var(--istiqama-deep), var(--istiqama-emerald));
    border: 1px solid rgba(212, 175, 55, 0.6);
    box-shadow: 0 18px 50px rgba(6, 47, 37, 0.2);
}

.trip-route-center i {
    color: var(--istiqama-gold);
    font-size: 38px;
    margin-bottom: 14px;
}

.trip-route-center strong {
    font-size: 22px;
}

.trip-route-center span {
    max-width: 180px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 13px;
}

.route-node {
    position: absolute;
    z-index: 3;
    width: 162px;
    min-height: 122px;
    padding: 14px;
    border-radius: 8px;
    text-align: center;
    background: var(--bs-white);
    border: 1px solid rgba(212, 175, 55, 0.42);
    box-shadow: 0 15px 38px rgba(6, 47, 37, 0.12);
    animation: routeNodeFloat 4s ease-in-out infinite;
}

.route-node span {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    border-radius: 50%;
    color: var(--bs-white);
    background: var(--istiqama-emerald);
    font-weight: 700;
}

.route-node strong {
    display: block;
    color: var(--istiqama-deep);
    line-height: 1.1;
}

.route-node small {
    display: block;
    color: #65756f;
    line-height: 1.2;
    margin-top: 6px;
}

.route-node em,
.trip-day-card em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 9px;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--istiqama-deep);
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.5);
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
    line-height: 1.1;
}

.route-node-start,
.route-node-end {
    color: var(--bs-white);
    background: linear-gradient(135deg, var(--istiqama-deep), var(--istiqama-emerald));
    border: 2px solid var(--istiqama-gold);
    box-shadow: 0 22px 54px rgba(6, 47, 37, 0.24), 0 0 0 7px rgba(212, 175, 55, 0.15);
}

.route-node-start::before,
.route-node-end::before {
    position: absolute;
    top: -14px;
    left: 50%;
    padding: 5px 10px;
    transform: translateX(-50%);
    border-radius: 999px;
    color: var(--istiqama-deep);
    background: var(--istiqama-gold);
    box-shadow: 0 10px 24px rgba(6, 47, 37, 0.18);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.6px;
}

.route-node-start::before {
    content: "START";
}

.route-node-end::before {
    content: "ZANZIBAR ARRIVAL";
    min-width: 118px;
}

.route-node-start span,
.route-node-end span {
    color: var(--istiqama-deep);
    background: var(--istiqama-gold);
}

.route-node-start strong,
.route-node-end strong,
.route-node-start small,
.route-node-end small {
    color: var(--bs-white);
}

.route-node-start em,
.route-node-end em {
    color: var(--istiqama-deep);
    background: rgba(255, 255, 255, 0.92);
}

.route-connector {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--istiqama-deep);
    background: var(--istiqama-gold);
    box-shadow: 0 10px 24px rgba(6, 47, 37, 0.16);
    animation: connectorPulse 2.8s ease-in-out infinite;
}

.route-connector i {
    font-size: 13px;
}

.route-node-1 { top: 2%; left: 50%; transform: translateX(-50%); }
.route-node-2 { top: 9%; left: 75%; }
.route-node-3 { top: 27%; left: 88%; }
.route-node-4 { top: 51%; left: 86%; }
.route-node-5 { top: 72%; left: 73%; }
.route-node-6 { top: 82%; left: 50%; transform: translateX(-50%); }
.route-node-7 { top: 72%; left: 14%; }
.route-node-8 { top: 51%; left: -2%; }
.route-node-9 { top: 28%; left: -1%; }
.route-node-10 { top: 9%; left: 13%; }
.route-node-11 { top: 39%; left: 50%; transform: translateX(-50%) translateY(-230px); }
.route-node-12 { top: 39%; left: 50%; transform: translateX(-50%) translateY(230px); }
.route-node-13 { top: 50%; left: 50%; transform: translateX(-315px) translateY(-50%); }
.route-node-14 { top: 50%; left: 50%; transform: translateX(153px) translateY(-50%); }

.route-connector-1 { top: 8%; left: 67%; transform: rotate(35deg); }
.route-connector-2 { top: 21%; left: 84%; transform: rotate(68deg); }
.route-connector-3 { top: 43%; left: 89%; transform: rotate(98deg); }
.route-connector-4 { top: 64%; left: 81%; transform: rotate(126deg); }
.route-connector-5 { top: 77%; left: 64%; transform: rotate(166deg); }
.route-connector-6 { top: 77%; left: 35%; transform: rotate(204deg); }
.route-connector-7 { top: 64%; left: 14%; transform: rotate(238deg); }
.route-connector-8 { top: 43%; left: 9%; transform: rotate(270deg); }
.route-connector-9 { top: 22%; left: 15%; transform: rotate(308deg); }
.route-connector-10 { top: 19%; left: 43%; transform: rotate(18deg); }
.route-connector-11 { top: 39%; left: 58%; transform: rotate(95deg); }
.route-connector-12 { top: 64%; left: 49%; transform: rotate(205deg); }
.route-connector-13 { top: 49%; left: 38%; transform: rotate(0deg); }

@keyframes routeCircleSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes routeNodeFloat {
    0%, 100% { margin-top: 0; }
    50% { margin-top: -6px; }
}

@keyframes connectorPulse {
    0%, 100% { opacity: 0.72; box-shadow: 0 10px 24px rgba(6, 47, 37, 0.16); }
    50% { opacity: 1; box-shadow: 0 10px 24px rgba(212, 175, 55, 0.36), 0 0 0 8px rgba(212, 175, 55, 0.14); }
}

.trip-day-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.trip-day-card {
    padding: 24px;
    border-left: 4px solid var(--istiqama-gold);
}

.trip-day-start,
.trip-day-end {
    border-left-color: var(--istiqama-emerald);
    background:
        linear-gradient(135deg, rgba(0, 106, 69, 0.08), rgba(212, 175, 55, 0.12)),
        var(--bs-white);
}

.trip-day-card em {
    margin: 0 0 12px;
    color: var(--istiqama-emerald);
    background: rgba(0, 106, 69, 0.08);
}

.trip-day-card h6 {
    color: var(--istiqama-emerald);
    font-weight: 700;
}

.training-depth-section {
    background:
        linear-gradient(135deg, rgba(247, 242, 231, 0.94), rgba(255, 255, 255, 1));
}

.seminar-stat-grid,
.learning-topic-grid,
.tour-site-grid,
.vaccine-grid,
.resource-tool-grid {
    display: grid;
    gap: 22px;
}

.seminar-stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.seminar-stat-card,
.learning-topic-card,
.tour-site-card,
.vaccine-card,
.resource-tool-card,
.health-collab-panel,
.clinic-step,
.demo-step {
    border-radius: 8px;
    background: var(--bs-white);
    box-shadow: 0 18px 45px rgba(6, 47, 37, 0.09);
}

.seminar-stat-card {
    position: relative;
    overflow: hidden;
    min-height: 150px;
    padding: 26px;
    border: 1px solid rgba(212, 175, 55, 0.28);
}

.seminar-stat-card::before {
    content: "";
    position: absolute;
    inset: auto -30px -48px auto;
    width: 116px;
    height: 116px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.2);
}

.seminar-stat-card strong {
    display: block;
    color: var(--istiqama-emerald);
    font-size: 42px;
    line-height: 1;
}

.seminar-stat-card span {
    display: block;
    margin-top: 14px;
    color: var(--istiqama-deep);
    font-weight: 700;
}

.learning-topic-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.learning-topic-card {
    position: relative;
    overflow: hidden;
    min-height: 268px;
    padding: 30px;
    border: 1px solid rgba(0, 106, 69, 0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.learning-topic-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 106, 69, 0.08), transparent 55%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.learning-topic-card:hover,
.tour-site-card:hover,
.resource-tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 65px rgba(6, 47, 37, 0.14);
}

.learning-topic-card:hover::after {
    opacity: 1;
}

.learning-topic-card i {
    position: relative;
    z-index: 1;
    display: inline-flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 50%;
    color: var(--istiqama-deep);
    background: rgba(212, 175, 55, 0.22);
    font-size: 24px;
}

.learning-topic-card h4,
.learning-topic-card p {
    position: relative;
    z-index: 1;
}

.learning-topic-card h4,
.tour-site-card h4,
.vaccine-card h4,
.resource-tool-card h4 {
    color: var(--istiqama-deep);
}

.demo-flow {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 28px;
    align-items: stretch;
}

.demo-flow__intro {
    position: relative;
    overflow: hidden;
    padding: 34px;
    border-radius: 8px;
    color: var(--bs-white);
    background:
        linear-gradient(135deg, rgba(6, 47, 37, 0.94), rgba(0, 106, 69, 0.88)),
        url("../img/training-2.jpg") center/cover;
}

.demo-flow__intro h3 {
    color: var(--bs-white);
}

.demo-flow__intro p {
    color: rgba(255, 255, 255, 0.78);
}

.demo-flow__steps {
    display: grid;
    gap: 14px;
}

.demo-step {
    display: grid;
    grid-template-columns: 66px 1fr;
    gap: 18px;
    padding: 20px;
    border-left: 4px solid var(--istiqama-gold);
}

.demo-step span,
.clinic-step span {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--bs-white);
    background: var(--istiqama-emerald);
    font-weight: 800;
}

.demo-step h5,
.demo-step p,
.clinic-step p {
    margin-bottom: 0;
}

.tour-depth-section {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(247, 242, 231, 0.76));
}

.tour-site-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tour-site-card {
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.tour-site-card__image {
    position: relative;
    overflow: hidden;
    min-height: 220px;
}

.tour-site-card__image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.tour-site-card:hover .tour-site-card__image img {
    transform: scale(1.08);
}

.tour-site-card__image span {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--istiqama-deep);
    background: var(--istiqama-gold);
    font-size: 12px;
    font-weight: 800;
}

.tour-site-card__body {
    padding: 24px;
}

.tour-site-card__body div {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 10px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(6, 47, 37, 0.1);
    color: var(--istiqama-emerald);
    font-weight: 700;
}

.tour-site-card__body div i {
    color: var(--istiqama-gold);
    line-height: 1.7;
}

.vaccination-depth-section {
    background:
        linear-gradient(135deg, rgba(6, 47, 37, 0.05), rgba(212, 175, 55, 0.12));
}

.health-collab-panel {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 24px;
    align-items: center;
    padding: 30px;
    border: 1px solid rgba(0, 106, 69, 0.14);
}

.health-collab-panel i {
    display: inline-flex;
    width: 76px;
    height: 76px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--bs-white);
    background: var(--istiqama-emerald);
    font-size: 30px;
    box-shadow: 0 0 0 10px rgba(0, 106, 69, 0.1);
    animation: healthPulse 2.8s ease-in-out infinite;
}

.health-collab-panel p {
    margin-bottom: 0;
    color: var(--istiqama-deep);
    font-size: 17px;
    font-weight: 600;
}

.vaccine-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vaccine-card {
    position: relative;
    overflow: hidden;
    min-height: 230px;
    padding: 28px;
    border-top: 4px solid var(--istiqama-emerald);
}

.vaccine-card span {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--istiqama-deep);
    background: rgba(212, 175, 55, 0.24);
    font-size: 12px;
    font-weight: 800;
}

.clinic-flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.clinic-step {
    position: relative;
    padding: 24px;
}

.clinic-step::after {
    content: "";
    position: absolute;
    top: 46px;
    right: -14px;
    width: 26px;
    height: 2px;
    background: var(--istiqama-gold);
}

.clinic-step:last-child::after {
    display: none;
}

.clinic-step p {
    margin-top: 18px;
    color: var(--istiqama-deep);
    font-weight: 600;
}

.resource-tools-section {
    background: var(--bs-white);
}

.resource-tool-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resource-tool-card {
    display: block;
    min-height: 260px;
    padding: 30px;
    color: inherit;
    text-decoration: none;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.resource-tool-card > i {
    display: inline-flex;
    width: 60px;
    height: 60px;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 50%;
    color: var(--istiqama-deep);
    background: rgba(212, 175, 55, 0.22);
    font-size: 24px;
}

.resource-tool-card span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--istiqama-emerald);
    font-weight: 800;
}

.faq-ai-section,
.worship-guide-section,
.important-links-section,
.facility-depth-section {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(247, 242, 231, 0.72));
}

.faq-chat-accordion {
    display: grid;
    gap: 16px;
}

.faq-chat-item {
    overflow: hidden;
    border-radius: 8px;
    background: var(--bs-white);
    box-shadow: 0 18px 45px rgba(6, 47, 37, 0.09);
}

.faq-chat-item button {
    display: grid;
    grid-template-columns: 64px 1fr 28px;
    gap: 16px;
    align-items: center;
    width: 100%;
    padding: 22px 24px;
    border: 0;
    color: var(--istiqama-deep);
    background: var(--bs-white);
    text-align: left;
    font-weight: 800;
}

.faq-chat-item button span {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--bs-white);
    background: var(--istiqama-emerald);
    font-size: 13px;
}

.faq-chat-item button i {
    color: var(--istiqama-gold);
    transition: transform 0.3s ease;
}

.faq-chat-item button:not(.collapsed) i {
    transform: rotate(180deg);
}

.faq-answer-bubble {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 16px;
    margin: 0 24px 24px 88px;
    padding: 22px;
    border-radius: 8px 8px 8px 0;
    color: var(--istiqama-deep);
    background:
        linear-gradient(135deg, rgba(0, 106, 69, 0.08), rgba(212, 175, 55, 0.14));
    animation: answerTypeIn 0.45s ease both;
}

.faq-answer-bubble i {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--istiqama-deep);
    background: var(--istiqama-gold);
}

.faq-answer-bubble p {
    margin-bottom: 0;
}

.suggestion-depth-section,
.suggestion-form-section,
.prayer-live-section {
    background:
        linear-gradient(135deg, rgba(6, 47, 37, 0.05), rgba(212, 175, 55, 0.1));
}

.suggestion-guide-card,
.suggestion-form,
.prayer-control-panel,
.prayer-live-panel,
.worship-guide-card,
.important-link-card,
.facility-detail-card {
    border-radius: 8px;
    background: var(--bs-white);
    box-shadow: 0 18px 45px rgba(6, 47, 37, 0.09);
}

.suggestion-guide-card {
    position: relative;
    overflow: hidden;
    padding: 28px;
}

.suggestion-guide-card span {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 50%;
    color: var(--istiqama-deep);
    background: var(--istiqama-gold);
    font-weight: 900;
}

.suggestion-guide-card h4,
.worship-guide-card h4,
.facility-detail-card h4 {
    color: var(--istiqama-deep);
}

.suggestion-promise {
    display: grid;
    gap: 12px;
}

.suggestion-promise span {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: var(--istiqama-deep);
    font-weight: 700;
}

.suggestion-promise i {
    color: var(--istiqama-gold);
}

.suggestion-form {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.22);
}

.suggestion-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--istiqama-deep);
    font-weight: 600;
}

.suggestion-check input {
    margin-top: 4px;
    accent-color: var(--istiqama-emerald);
}

.suggestion-submit {
    position: relative;
    min-width: 190px;
}

.button-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.42);
    border-top-color: var(--bs-white);
    border-radius: 50%;
    animation: routeCircleSpin 0.8s linear infinite;
}

.suggestion-submit.is-loading .button-text {
    display: none;
}

.suggestion-submit.is-loading .button-loader {
    display: inline-flex;
}

.suggestion-notice {
    display: none;
    padding: 16px 18px;
    border-radius: 8px;
    font-weight: 700;
}

.suggestion-notice.is-success,
.suggestion-notice.is-error {
    display: block;
    animation: answerTypeIn 0.35s ease both;
}

.suggestion-notice.is-success {
    color: #063d2f;
    background: rgba(0, 106, 69, 0.12);
    border: 1px solid rgba(0, 106, 69, 0.24);
}

.suggestion-notice.is-error {
    color: #7a1b1b;
    background: rgba(180, 40, 40, 0.12);
    border: 1px solid rgba(180, 40, 40, 0.22);
}

.suggestion-notice span {
    display: block;
    margin-top: 6px;
    font-size: 13px;
}

.worship-guide-grid,
.important-link-grid,
.facility-detail-grid,
.prayer-times-grid {
    display: grid;
    gap: 18px;
}

.worship-guide-grid,
.important-link-grid,
.facility-detail-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.worship-guide-card {
    padding: 28px;
    border-top: 4px solid var(--istiqama-gold);
}

.worship-guide-card > span {
    display: block;
    margin-bottom: 18px;
    color: var(--istiqama-emerald);
    font-size: 13px;
    font-weight: 800;
}

.worship-guide-card ol {
    margin-bottom: 0;
    padding-left: 20px;
}

.worship-guide-card li {
    margin-bottom: 10px;
}

.important-link-card {
    display: block;
    min-height: 252px;
    padding: 28px;
    color: inherit;
    text-decoration: none;
    border: 1px solid rgba(0, 106, 69, 0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.important-link-card:hover,
.facility-detail-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 65px rgba(6, 47, 37, 0.14);
}

.important-link-card > span {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--istiqama-deep);
    background: rgba(212, 175, 55, 0.22);
    font-size: 12px;
    font-weight: 800;
}

.important-link-card strong {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: var(--istiqama-emerald);
}

.facility-detail-card {
    min-height: 250px;
    padding: 30px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.facility-detail-card i {
    display: inline-flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 50%;
    color: var(--istiqama-deep);
    background: rgba(212, 175, 55, 0.22);
    font-size: 24px;
}

.prayer-control-panel,
.prayer-live-panel {
    padding: 30px;
}

.prayer-control-panel h3,
.prayer-live-panel h3 {
    color: var(--istiqama-deep);
}

.prayer-status,
.prayer-source-note {
    color: #65756f;
    font-size: 13px;
    font-weight: 700;
}

#loadPrayerTimes.is-loading i {
    animation: routeCircleSpin 0.8s linear infinite;
}

.prayer-live-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.prayer-live-header span {
    color: var(--istiqama-emerald);
    font-weight: 900;
}

.prayer-live-header i {
    color: var(--istiqama-gold);
    font-size: 44px;
}

.prayer-times-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.prayer-time-card,
.prayer-placeholder {
    padding: 22px;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(0, 106, 69, 0.08), rgba(212, 175, 55, 0.13));
}

.prayer-time-card span {
    display: block;
    color: var(--istiqama-emerald);
    font-weight: 800;
}

.prayer-time-card strong {
    display: block;
    margin-top: 8px;
    color: var(--istiqama-deep);
    font-size: 32px;
}

.prayer-source-note {
    margin-top: 18px;
}

@keyframes answerTypeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.site-search-modal-body {
    display: flex;
    width: 100%;
    min-height: calc(100vh - 78px);
    align-items: center;
    justify-content: center;
    padding: clamp(22px, 5vw, 72px);
}

.site-search-panel {
    width: min(1120px, 100%);
    padding: clamp(20px, 4vw, 42px);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(10px);
}

.site-search-panel .input-group {
    width: 100%;
    box-shadow: 0 18px 45px rgba(6, 47, 37, 0.12);
}

.site-search-panel .form-control,
.site-search-panel .input-group-text {
    border: 0;
}

.site-search-results {
    display: grid;
    gap: 12px;
    width: 100%;
}

.search-empty,
.search-result-item {
    display: block;
    padding: 18px 20px;
    border-radius: 8px;
    background: var(--bs-white);
    box-shadow: 0 14px 35px rgba(6, 47, 37, 0.09);
}

.search-result-item {
    color: inherit;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.search-result-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 50px rgba(6, 47, 37, 0.14);
}

.search-result-item span {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 4px 9px;
    border-radius: 999px;
    color: var(--istiqama-deep);
    background: rgba(212, 175, 55, 0.22);
    font-size: 11px;
    font-weight: 800;
}

.search-result-item strong,
.search-result-item small {
    display: block;
}

.search-result-item strong {
    color: var(--istiqama-deep);
}

.notice-ticker-section {
    display: grid;
    grid-template-columns: 150px 1fr;
    align-items: center;
    overflow: hidden;
    color: var(--bs-white);
    background: var(--istiqama-deep);
    border-top: 1px solid rgba(212, 175, 55, 0.26);
}

.notice-ticker-label {
    position: relative;
    z-index: 1;
    padding: 14px 22px;
    color: var(--istiqama-deep);
    background: var(--istiqama-gold);
    font-weight: 900;
}

.notice-ticker-track {
    overflow: hidden;
    white-space: nowrap;
}

.notice-ticker-content {
    display: inline-flex;
    gap: 44px;
    min-width: 100%;
    padding-left: 100%;
    animation: noticeTicker 28s linear infinite;
}

.notice-ticker-content span {
    padding: 14px 0;
}

.dynamic-gallery-section,
.training-video-section,
.auth-shell,
.dashboard-shell {
    background:
        linear-gradient(135deg, rgba(247, 242, 231, 0.88), rgba(255, 255, 255, 1));
}

.dynamic-gallery-grid,
.training-video-grid,
.dashboard-grid,
.admin-content-grid,
.admin-review-grid,
.admin-stat-grid {
    display: grid;
    gap: 20px;
}

.dynamic-gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dynamic-gallery-card,
.training-video-card,
.auth-panel,
.dashboard-hero,
.dashboard-card,
.admin-form,
.admin-list,
.admin-stat-grid > div {
    border-radius: 8px;
    background: var(--bs-white);
    box-shadow: 0 18px 45px rgba(6, 47, 37, 0.09);
}

.dynamic-gallery-card {
    overflow: hidden;
}

.dynamic-gallery-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.dynamic-gallery-card div,
.training-video-card div:last-child {
    padding: 22px;
}

.dynamic-gallery-card span {
    color: var(--istiqama-emerald);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.dynamic-gallery-card h4,
.training-video-card h4,
.dashboard-card h4,
.admin-form h3,
.admin-list h3 {
    color: var(--istiqama-deep);
}

.training-video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.training-video-card {
    overflow: hidden;
}

.training-video-thumb {
    display: flex;
    min-height: 170px;
    align-items: center;
    justify-content: center;
    color: var(--bs-white);
    background: linear-gradient(135deg, var(--istiqama-deep), var(--istiqama-emerald));
    font-size: 54px;
}

.training-video-card a {
    color: var(--istiqama-emerald);
    font-weight: 900;
}

.auth-shell {
    min-height: 78vh;
    padding: 90px 16px;
}

.auth-panel {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    width: min(980px, 100%);
    margin: 0 auto;
    overflow: hidden;
}

.auth-panel-wide {
    width: min(1120px, 100%);
}

.auth-copy {
    padding: 44px;
    color: var(--bs-white);
    background:
        linear-gradient(135deg, rgba(6, 47, 37, 0.94), rgba(0, 106, 69, 0.9)),
        url("../img/pexels-fahadputhawala-34999013.jpg") center/cover;
}

.auth-copy span {
    color: var(--istiqama-gold);
    font-weight: 900;
}

.auth-copy h1 {
    color: var(--bs-white);
}

.auth-copy p {
    color: rgba(255, 255, 255, 0.78);
}

.auth-form {
    display: grid;
    gap: 16px;
    padding: 44px;
}

.auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.auth-form input,
.auth-form select,
.admin-form input,
.admin-form select,
.admin-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 0;
    border-radius: 8px;
    background: var(--istiqama-cream);
}

.role-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.role-switch label {
    cursor: pointer;
}

.role-switch input {
    display: none;
}

.role-switch span {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    border-radius: 8px;
    color: var(--istiqama-deep);
    background: var(--istiqama-cream);
    font-weight: 900;
}

.role-switch input:checked + span {
    color: var(--bs-white);
    background: var(--istiqama-emerald);
}

.auth-check {
    color: var(--istiqama-deep);
    font-weight: 700;
}

.auth-error {
    padding: 12px 14px;
    border-radius: 8px;
    color: #7a1b1b;
    background: rgba(180, 40, 40, 0.12);
}

.dashboard-shell {
    min-height: 78vh;
}

.dashboard-app-shell {
    position: relative;
    display: grid;
    grid-template-columns: 272px minmax(0, 1fr);
    min-height: calc(100vh - 0px);
    background:
        linear-gradient(90deg, #062f25 0 272px, transparent 272px),
        linear-gradient(135deg, #eef4ef 0%, #fbfaf5 55%, #ffffff 100%);
    isolation: isolate;
}

.dashboard-sidebar {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    align-self: start;
    min-height: 100vh;
    padding: 18px 14px;
    color: var(--bs-white);
    background:
        radial-gradient(circle at 20% 0%, rgba(212, 175, 55, 0.14), transparent 30%),
        linear-gradient(180deg, var(--istiqama-deep), #031f19);
    border-right: 1px solid rgba(212, 175, 55, 0.24);
    box-shadow: 18px 0 55px rgba(6, 47, 37, 0.16);
    z-index: 5;
}

.dashboard-sidebar__brand {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 18px;
    padding: 12px 10px 16px;
    color: var(--bs-white);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-sidebar__brand:hover {
    color: var(--bs-white);
}

.dashboard-sidebar__brand img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(212, 175, 55, 0.7);
}

.dashboard-sidebar__brand strong,
.dashboard-sidebar__brand small {
    display: block;
}

.dashboard-sidebar__brand strong {
    font-size: 18px;
    line-height: 1.05;
}

.dashboard-sidebar__brand small {
    color: rgba(255, 255, 255, 0.62);
    font-size: 11px;
}

.dashboard-sidebar__profile {
    position: relative;
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
    padding: 14px;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(212, 175, 55, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    overflow: hidden;
    isolation: isolate;
}

.dashboard-sidebar__profile::after {
    content: "";
    position: absolute;
    inset: auto -30px -45px auto;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
}

.dashboard-sidebar__profile > span {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--istiqama-deep);
    background: var(--istiqama-gold);
    font-weight: 900;
    position: relative;
    z-index: 1;
}

.dashboard-sidebar__profile strong,
.dashboard-sidebar__profile small {
    display: block;
    position: relative;
    z-index: 1;
}

.dashboard-sidebar__profile small {
    color: rgba(255, 255, 255, 0.66);
}

.dashboard-sidebar nav {
    display: grid;
    gap: 6px;
    flex: 1;
    align-content: start;
}

.dashboard-sidebar nav a {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 13px;
    border-radius: 8px;
    border: 1px solid transparent;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-weight: 800;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.dashboard-sidebar nav a:hover,
.dashboard-sidebar nav a.active {
    color: var(--istiqama-deep);
    background: linear-gradient(135deg, var(--istiqama-gold), #f2d772);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(4px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
}

.dashboard-sidebar nav a i {
    width: 18px;
    text-align: center;
}

.dashboard-sidebar__footer {
    margin-top: 22px;
    padding: 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(212, 175, 55, 0.18);
}

.dashboard-sidebar__footer > div {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
}

.dashboard-sidebar__footer i {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--istiqama-deep);
    background: var(--istiqama-gold);
}

.dashboard-sidebar__footer strong,
.dashboard-sidebar__footer small {
    display: block;
}

.dashboard-sidebar__footer small {
    color: rgba(255, 255, 255, 0.64);
    font-size: 11px;
}

.dashboard-sidebar__footer a {
    display: block;
    padding: 9px 11px;
    border-radius: 8px;
    color: var(--istiqama-deep);
    background: rgba(212, 175, 55, 0.9);
    font-size: 12px;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
}

.dashboard-sidebar #radioWidget.dashboard-talbiya-widget {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    display: grid;
    place-items: center;
    width: 118px;
    height: 118px;
    margin: 18px auto 0;
    z-index: 1;
}

.dashboard-sidebar .dashboard-talbiya-widget .radio-main-btn {
    width: 58px;
    height: 58px;
    font-size: 18px;
}

.dashboard-sidebar .dashboard-talbiya-widget #volumeControl {
    position: absolute;
    right: 50%;
    bottom: -2px;
    width: 78px;
    transform: translateX(50%);
}

.dashboard-sidebar .dashboard-talbiya-widget::after {
    content: "Talbiya";
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.78);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dashboard-main {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    min-width: 0;
    padding: 20px clamp(20px, 2.4vw, 34px) 34px;
    animation: dashboardFadeIn 0.45s ease both;
}

.dashboard-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding: 14px 18px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(6, 47, 37, 0.08);
    box-shadow: 0 12px 30px rgba(6, 47, 37, 0.06);
    backdrop-filter: blur(10px);
}

.dashboard-topbar span,
.dashboard-topbar strong {
    display: block;
}

.dashboard-topbar span {
    color: #65756f;
    font-size: 12px;
    font-weight: 800;
}

.dashboard-topbar strong {
    color: var(--istiqama-deep);
}

.dashboard-topbar__actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.dashboard-topbar__actions a,
.dashboard-topbar__actions button {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 10px 13px;
    border: 0;
    border-radius: 8px;
    color: var(--istiqama-deep);
    background: rgba(212, 175, 55, 0.18);
    font-weight: 800;
    text-decoration: none;
}

.dashboard-footer {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding: 18px 20px;
    border-radius: 8px;
    color: #65756f;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(6, 47, 37, 0.08);
    box-shadow: 0 12px 30px rgba(6, 47, 37, 0.06);
}

.dashboard-footer strong,
.dashboard-footer span {
    display: block;
}

.dashboard-footer strong {
    color: var(--istiqama-deep);
}

.dashboard-footer div:last-child {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.dashboard-footer a {
    color: var(--istiqama-emerald);
    font-weight: 900;
    text-decoration: none;
}

.dashboard-page-head {
    padding: 24px 26px;
    border-radius: 8px;
    color: var(--bs-white);
    background: linear-gradient(135deg, var(--istiqama-deep), var(--istiqama-emerald));
    box-shadow: 0 16px 38px rgba(6, 47, 37, 0.1);
}

.dashboard-page-head span {
    color: var(--istiqama-gold);
    font-weight: 900;
    text-transform: uppercase;
}

.dashboard-page-head h1 {
    color: var(--bs-white);
}

.dashboard-page-head p {
    max-width: 840px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.78);
}

.dashboard-hero {
    display: flex;
    gap: 22px;
    align-items: center;
    justify-content: space-between;
    padding: 34px;
    color: var(--bs-white);
    background: linear-gradient(135deg, var(--istiqama-deep), var(--istiqama-emerald));
}

.dashboard-hero h1 {
    color: var(--bs-white);
}

.dashboard-hero span {
    color: var(--istiqama-gold);
    font-weight: 900;
}

.dashboard-hero p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.78);
}

.dashboard-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dashboard-card,
.admin-list,
.admin-form {
    padding: 26px;
}

.dashboard-card i {
    display: inline-flex;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 50%;
    color: var(--istiqama-deep);
    background: rgba(212, 175, 55, 0.22);
    font-size: 22px;
}

.dashboard-card span {
    display: block;
    margin-top: 8px;
    color: var(--istiqama-emerald);
    font-weight: 900;
}

.dashboard-action-grid,
.document-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dashboard-action-grid a,
.document-card {
    display: block;
    padding: 26px;
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
    background: var(--bs-white);
    box-shadow: 0 18px 45px rgba(6, 47, 37, 0.09);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dashboard-action-grid a:hover,
.document-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 26px 65px rgba(6, 47, 37, 0.14);
}

.dashboard-action-grid i,
.document-card > i {
    display: inline-flex;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 50%;
    color: var(--istiqama-deep);
    background: rgba(212, 175, 55, 0.22);
    font-size: 22px;
}

.dashboard-action-grid strong,
.dashboard-action-grid span,
.document-card span,
.document-card a {
    display: block;
}

.dashboard-action-grid strong,
.document-card h4 {
    color: var(--istiqama-deep);
    font-size: 19px;
}

.dashboard-action-grid span,
.document-card span {
    color: #65756f;
}

.admin-stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-stat-grid > div {
    padding: 26px;
}

.admin-stat-grid strong {
    display: block;
    color: var(--istiqama-emerald);
    font-size: 38px;
}

.admin-content-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-form {
    display: grid;
    gap: 13px;
}

.admin-review-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-review-grid:last-child {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-list-row {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(6, 47, 37, 0.1);
}

.admin-list-row button {
    border: 0;
    color: #8a1d1d;
    background: transparent;
    font-weight: 900;
}

.support-command-grid,
.client-support-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    gap: 20px;
}

.support-map-panel,
.group-chat-panel,
.shared-doc-panel,
.support-list {
    border-radius: 8px;
    background: var(--bs-white);
    box-shadow: 0 18px 45px rgba(6, 47, 37, 0.09);
}

.support-map-panel,
.group-chat-panel,
.shared-doc-panel,
.support-list {
    padding: 24px;
}

.support-panel-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin-bottom: 18px;
}

.support-panel-head span {
    color: var(--istiqama-emerald);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.support-panel-head h3,
.support-list h3,
.support-list h4 {
    margin-bottom: 0;
    color: var(--istiqama-deep);
}

.support-panel-head > i {
    display: inline-flex;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--istiqama-deep);
    background: rgba(212, 175, 55, 0.22);
    font-size: 22px;
}

.support-map-frame {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(4, 31, 25, 0.95), rgba(11, 75, 53, 0.9));
}

.support-map-iframe-frame {
    width: 100%;
    height: clamp(620px, 72vh, 820px);
    min-height: 620px;
    border: 0;
    border-radius: 0;
}

.support-map-iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #041f19;
}

.support-map {
    position: relative;
    z-index: 1;
    min-height: 440px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(6, 47, 37, 0.12);
    background: #dfe7dc;
}

.support-map .leaflet-container,
.leaflet-container {
    font-family: "Open Sans", sans-serif;
}

.support-map .leaflet-pane,
.support-map .leaflet-map-pane,
.support-map .leaflet-tile-pane,
.support-map .leaflet-overlay-pane,
.support-map .leaflet-marker-pane,
.support-map .leaflet-shadow-pane {
    will-change: transform;
}

.leaflet-container img,
.leaflet-container .leaflet-tile {
    max-width: none !important;
    max-height: none !important;
    opacity: 1 !important;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.leaflet-control-layers,
.leaflet-control-zoom a,
.leaflet-control-scale-line {
    border: 0 !important;
    border-radius: 8px !important;
    box-shadow: 0 12px 28px rgba(6, 47, 37, 0.18) !important;
}

.checkpoint-div-icon,
.user-location-div-icon {
    background: transparent;
    border: 0;
}

.checkpoint-div-icon span,
.user-location-div-icon span {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--istiqama-deep);
    background: var(--istiqama-gold);
    border: 3px solid var(--bs-white);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.user-location-div-icon span {
    width: 42px;
    height: 42px;
    color: var(--bs-white);
    background: var(--istiqama-emerald);
    animation: userLocationPulse 1.8s ease-in-out infinite;
}

.map-popup strong,
.map-popup span,
.map-popup a {
    display: block;
}

.map-popup strong {
    color: var(--istiqama-deep);
}

.map-popup span {
    color: var(--istiqama-emerald);
    font-weight: 800;
}

.map-popup p {
    margin: 6px 0;
}

.map-popup a {
    color: var(--istiqama-emerald);
    font-weight: 900;
}

.live-map-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 20px;
    align-items: start;
}

.live-map-panel {
    padding: 0;
    overflow: hidden;
}

.live-map-panel .support-panel-head {
    margin: 0;
    padding: 22px 24px;
    border-bottom: 1px solid rgba(6, 47, 37, 0.1);
}

.support-map-large {
    width: 100%;
    height: clamp(620px, 72vh, 820px);
    min-height: 620px;
    border: 0;
    border-radius: 0;
}

.live-map-panel .location-actions {
    margin: 0;
    padding: 16px 24px 22px;
    background: var(--bs-white);
}

.map-side-panel {
    position: sticky;
    top: 18px;
}

.checkpoint-coordinates {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.checkpoint-form small {
    color: #65756f;
    font-weight: 700;
}

.live-monitor-card p {
    margin: 8px 0 0;
    color: #65756f;
    font-size: 13px;
    font-weight: 700;
}

.monitor-legend {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.monitor-legend span {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    color: var(--istiqama-deep);
    font-size: 12px;
    font-weight: 900;
}

.monitor-legend i {
    color: var(--istiqama-gold);
}

.monitor-legend span:first-child i {
    color: #c92a2a;
}

.location-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 16px;
}

.location-actions span {
    color: var(--istiqama-deep);
    font-weight: 700;
}

.group-chat-messages {
    display: grid;
    align-content: end;
    max-height: 430px;
    min-height: 330px;
    gap: 10px;
    overflow-y: auto;
    padding: 18px;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(247, 242, 231, 0.72), rgba(255, 255, 255, 0.92));
    border: 1px solid rgba(6, 47, 37, 0.08);
}

.group-message {
    position: relative;
    max-width: min(78%, 680px);
    padding: 12px 14px;
    border-radius: 14px 14px 14px 4px;
    background: var(--bs-white);
    border: 1px solid rgba(6, 47, 37, 0.08);
    box-shadow: 0 10px 25px rgba(6, 47, 37, 0.07);
    animation: answerTypeIn 0.24s ease both;
}

.group-message.is-admin {
    margin-left: auto;
    border-radius: 14px 14px 4px 14px;
    color: var(--bs-white);
    background: linear-gradient(135deg, #063226, #008056);
    border-color: rgba(212, 175, 55, 0.2);
}

.group-message.is-pinned {
    border-color: rgba(212, 175, 55, 0.78);
    box-shadow: 0 14px 30px rgba(212, 175, 55, 0.16);
}

.group-message.is-deleted {
    opacity: 0.72;
}

.group-message strong,
.group-message span {
    display: block;
}

.group-message span {
    color: #73827d;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.group-message.is-admin span,
.group-message.is-admin p,
.group-message.is-admin a {
    color: rgba(255, 255, 255, 0.82);
}

.group-message p {
    margin: 7px 0 0;
    line-height: 1.45;
}

.group-message a {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    margin-top: 8px;
    color: var(--istiqama-emerald);
    font-weight: 800;
}

.group-chat-form {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 44px 44px 44px;
    gap: 10px;
    align-items: end;
    margin-top: 12px;
    padding: 10px;
    border-radius: 8px;
    background: var(--bs-white);
    border: 1px solid rgba(6, 47, 37, 0.08);
    box-shadow: 0 12px 30px rgba(6, 47, 37, 0.07);
}

.group-chat-form textarea {
    resize: none;
    border: 0;
    border-radius: 8px;
    background: var(--istiqama-cream);
    padding: 12px 14px;
    min-height: 44px;
    max-height: 140px;
}

.chat-file-button,
.group-chat-form button {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    color: var(--istiqama-deep);
    background: var(--istiqama-gold);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chat-file-button:hover,
.group-chat-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(212, 175, 55, 0.24);
}

.group-chat-form.is-sending button {
    opacity: 0.65;
}

.chat-forwarded-label {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    margin-top: 8px;
    color: var(--istiqama-emerald);
    font-size: 11px;
    font-weight: 900;
}

.group-message.is-admin .chat-forwarded-label {
    color: rgba(255, 255, 255, 0.76);
}

.chat-reaction-row,
.chat-message-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.chat-reaction-row button,
.chat-message-actions button,
.chat-emoji-panel button {
    display: inline-flex;
    width: auto;
    min-width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    color: var(--istiqama-deep);
    background: rgba(212, 175, 55, 0.22);
    font-size: 13px;
    font-weight: 900;
}

.group-message.is-admin .chat-reaction-row button,
.group-message.is-admin .chat-message-actions button {
    color: var(--bs-white);
    background: rgba(255, 255, 255, 0.16);
}

.chat-forward-preview {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    padding: 9px 12px;
    border-radius: 8px;
    color: var(--istiqama-deep);
    background: rgba(212, 175, 55, 0.16);
    font-size: 12px;
    font-weight: 900;
}

.chat-forward-preview button {
    width: 26px;
    height: 26px;
    background: var(--bs-white);
}

.chat-emoji-panel {
    position: absolute;
    right: 78px;
    bottom: 68px;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(6, 34px);
    gap: 7px;
    padding: 10px;
    border-radius: 8px;
    background: var(--bs-white);
    box-shadow: 0 16px 38px rgba(6, 47, 37, 0.18);
}

.chat-emoji-panel[hidden],
.chat-forward-preview[hidden] {
    display: none;
}

.chat-file-button input {
    display: none;
}

.chat-file-label {
    grid-column: 1 / -1;
    color: var(--istiqama-emerald);
    font-size: 12px;
    font-weight: 800;
}

.support-list-row {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid rgba(6, 47, 37, 0.1);
}

.support-list-row-block {
    align-items: flex-start;
}

.support-list-row a {
    color: var(--istiqama-emerald);
    font-weight: 900;
}

.support-list-row button {
    border: 0;
    color: #8a1d1d;
    background: transparent;
    font-weight: 900;
}

.document-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.document-card span {
    margin-bottom: 12px;
    color: var(--istiqama-emerald);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.document-card a {
    color: var(--istiqama-emerald);
    font-weight: 900;
}

.document-card form {
    margin-top: 14px;
}

.document-card button {
    border: 0;
    color: #8a1d1d;
    background: transparent;
    font-weight: 900;
}

.dashboard-chat-page {
    min-width: 0;
}

.group-chat-messages-large {
    min-height: 58vh;
    max-height: 62vh;
}

.chat-workspace {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.chat-inbox-card,
.chat-side-card {
    position: sticky;
    top: 20px;
    padding: 22px;
    border-radius: 8px;
    background: var(--bs-white);
    box-shadow: 0 16px 38px rgba(6, 47, 37, 0.09);
}

.chat-inbox-card {
    display: grid;
    gap: 18px;
}

.chat-side-card__status {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 18px;
    color: var(--istiqama-emerald);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.chat-side-card__status span,
.chat-live-dot {
    display: inline-flex;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #13c47f;
    box-shadow: 0 0 0 6px rgba(19, 196, 127, 0.12);
}

.chat-side-card h3 {
    color: var(--istiqama-deep);
}

.chat-topic-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.chat-topic-list button {
    border: 0;
    border-radius: 999px;
    padding: 8px 11px;
    color: var(--istiqama-deep);
    background: rgba(212, 175, 55, 0.2);
    font-size: 12px;
    font-weight: 800;
}

.chat-panel-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin-bottom: 14px;
}

.chat-panel-header > div {
    display: grid;
    grid-template-columns: 12px 1fr;
    column-gap: 9px;
    align-items: center;
}

.chat-panel-header strong,
.chat-panel-header small {
    display: block;
}

.chat-panel-header strong {
    color: var(--istiqama-deep);
}

.chat-panel-header small {
    grid-column: 2;
    color: #65756f;
    font-size: 12px;
    font-weight: 800;
}

.chat-panel-header > i {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--istiqama-deep);
    background: rgba(212, 175, 55, 0.22);
}

.chat-search-box {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 10px;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid rgba(0, 106, 69, 0.13);
    border-radius: 8px;
    background: rgba(0, 106, 69, 0.045);
    color: var(--istiqama-emerald);
}

.chat-search-box input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--istiqama-deep);
    font-weight: 800;
}

.chat-user-results {
    display: grid;
    gap: 8px;
}

.chat-result-button,
.chat-conversation-button {
    width: 100%;
    border: 0;
    text-align: left;
    transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.chat-result-button {
    display: grid;
    grid-template-columns: 36px 1fr;
    column-gap: 10px;
    align-items: center;
    padding: 10px;
    border-radius: 8px;
    background: #f7faf7;
}

.chat-result-button span,
.chat-avatar-icon {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--istiqama-deep);
    background: rgba(212, 175, 55, 0.36);
    font-weight: 900;
}

.chat-result-button strong,
.chat-result-button small {
    display: block;
    grid-column: 2;
}

.chat-result-button small,
.chat-conversation-button small,
.chat-search-empty,
.chat-conversation-empty {
    color: #66756f;
    font-size: 12px;
    font-weight: 700;
}

.chat-conversation-heading {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: end;
    padding-top: 4px;
    color: var(--istiqama-deep);
}

.chat-conversation-heading small {
    color: #66756f;
    font-size: 12px;
    font-weight: 800;
}

.chat-conversation-list {
    display: grid;
    gap: 8px;
    max-height: 42vh;
    overflow: auto;
    padding-right: 3px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 106, 69, 0.35) transparent;
}

.chat-list-label {
    margin: 8px 0 2px;
    color: var(--istiqama-emerald);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.chat-group-create-form {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 8px;
    background: rgba(0, 106, 69, 0.05);
    border: 1px solid rgba(0, 106, 69, 0.1);
}

.chat-group-create-form input,
.chat-group-create-form textarea {
    width: 100%;
    border: 1px solid rgba(0, 106, 69, 0.12);
    border-radius: 8px;
    outline: 0;
    padding: 10px 12px;
    color: var(--istiqama-deep);
    background: var(--bs-white);
    font-weight: 800;
}

.chat-group-create-form > button {
    border: 0;
    border-radius: 999px;
    padding: 10px 13px;
    color: var(--bs-white);
    background: linear-gradient(135deg, var(--istiqama-deep), var(--istiqama-emerald));
    font-weight: 900;
}

.chat-selected-members {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.chat-selected-members button,
.chat-selected-members span {
    border: 0;
    border-radius: 999px;
    padding: 7px 10px;
    color: var(--istiqama-deep);
    background: rgba(212, 175, 55, 0.24);
    font-size: 12px;
    font-weight: 900;
}

.chat-conversation-button {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 11px;
    border: 1px solid rgba(0, 106, 69, 0.08);
    border-radius: 8px;
    background: #fff;
}

.chat-conversation-button:hover,
.chat-result-button:hover {
    background: rgba(0, 106, 69, 0.075);
}

.chat-conversation-button.is-active {
    border-color: rgba(212, 175, 55, 0.8);
    background: linear-gradient(135deg, rgba(0, 106, 69, 0.09), rgba(212, 175, 55, 0.16));
    box-shadow: inset 3px 0 0 var(--istiqama-gold);
}

.chat-conversation-button strong,
.chat-conversation-button small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-conversation-button em {
    color: var(--istiqama-emerald);
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
}

.chat-quick-prompts {
    padding-top: 14px;
    border-top: 1px solid rgba(0, 106, 69, 0.09);
}

.chat-quick-prompts > strong {
    color: var(--istiqama-deep);
}

.chat-live-loader {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    width: fit-content;
    margin: 10px 0 14px;
    padding: 7px 11px;
    border-radius: 999px;
    color: var(--istiqama-emerald);
    background: rgba(0, 106, 69, 0.07);
    font-size: 12px;
    font-weight: 900;
}

.chat-live-loader span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #13c47f;
}

.chat-live-loader span.is-pulsing {
    animation: chatLivePulse 0.45s ease;
}

.chat-empty-state {
    display: grid;
    place-items: center;
    min-height: 100%;
    padding: 42px 18px;
    color: #66756f;
    text-align: center;
}

.chat-empty-state i {
    display: inline-flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border-radius: 50%;
    color: var(--istiqama-deep);
    background: rgba(212, 175, 55, 0.25);
    font-size: 22px;
}

.chat-empty-state strong,
.chat-empty-state span {
    display: block;
}

.application-form-modern {
    box-shadow: 0 18px 45px rgba(6, 47, 37, 0.09);
}

.application-form-header {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 18px;
    align-items: center;
    margin-bottom: 24px;
    padding: 20px;
    border-radius: 8px;
    background: rgba(0, 106, 69, 0.08);
}

.application-form-header span {
    display: inline-flex;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--istiqama-deep);
    background: var(--istiqama-gold);
    font-weight: 900;
}

.application-form-header h4 {
    margin-bottom: 4px;
    color: var(--istiqama-deep);
}

.application-form-header p {
    margin-bottom: 0;
}

@keyframes noticeTicker {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

@keyframes dashboardFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes userLocationPulse {
    0%, 100% {
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28), 0 0 0 0 rgba(0, 106, 69, 0.32);
    }

    50% {
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28), 0 0 0 12px rgba(0, 106, 69, 0);
    }
}

@keyframes healthPulse {
    0%, 100% { box-shadow: 0 0 0 10px rgba(0, 106, 69, 0.1); }
    50% { box-shadow: 0 0 0 18px rgba(212, 175, 55, 0.18); }
}

@keyframes chatLivePulse {
    0% { box-shadow: 0 0 0 0 rgba(19, 196, 127, 0.35); }
    100% { box-shadow: 0 0 0 10px rgba(19, 196, 127, 0); }
}

@media (max-width: 991px) {
    .service-detail-grid,
    .strength-panel,
    .trip-day-grid,
    .seminar-stat-grid,
    .learning-topic-grid,
    .demo-flow,
    .tour-site-grid,
    .vaccine-grid,
    .clinic-flow,
    .resource-tool-grid {
        grid-template-columns: 1fr;
    }

    .worship-guide-grid,
    .important-link-grid,
    .facility-detail-grid,
    .prayer-times-grid {
        grid-template-columns: 1fr;
    }

    .dynamic-gallery-grid,
    .training-video-grid,
    .dashboard-grid,
    .admin-content-grid,
    .admin-review-grid,
    .admin-review-grid:last-child,
    .admin-stat-grid,
    .support-command-grid,
    .client-support-grid,
    .live-map-layout,
    .document-grid,
    .dashboard-action-grid,
    .chat-workspace,
    .auth-panel,
    .auth-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .notice-ticker-section {
        grid-template-columns: 110px 1fr;
    }

    .support-map {
        min-height: 340px;
    }

    .support-map-large {
        height: 62vh;
        min-height: 460px;
    }

    .dashboard-app-shell {
        grid-template-columns: 1fr;
        background:
            linear-gradient(135deg, rgba(247, 242, 231, 0.86), rgba(255, 255, 255, 1));
    }

    .dashboard-sidebar {
        position: relative;
        min-height: auto;
    }

    .dashboard-sidebar nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-sidebar__footer {
        margin-top: 14px;
    }

    .dashboard-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .chat-inbox-card,
    .chat-side-card,
    .map-side-panel {
        position: static;
    }

    .group-message {
        max-width: 94%;
    }

    .group-chat-messages-large {
        min-height: 52vh;
        max-height: 58vh;
    }

    .group-chat-form {
        grid-template-columns: 1fr 44px 44px;
    }

    .map-side-panel {
        position: static;
    }

    .location-actions,
    .support-panel-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .group-chat-form {
        grid-template-columns: 1fr 44px 44px;
    }

    .faq-chat-item button {
        grid-template-columns: 48px 1fr 22px;
        padding: 18px;
    }

    .faq-answer-bubble {
        grid-template-columns: 1fr;
        margin: 0 18px 18px;
    }

    .service-detail-card {
        grid-template-columns: 1fr;
    }

    .testimonial-timeline::before {
        left: 16px;
    }

    .testimonial-year-card,
    .testimonial-year-card:nth-child(even) {
        width: 100%;
        margin-left: 0;
        padding-left: 42px;
    }

    .testimonial-year,
    .testimonial-year-card:nth-child(even) .testimonial-year {
        right: auto;
        left: -2px;
        top: 20px;
        width: 40px;
        font-size: 10px;
    }

    .social-strip {
        grid-template-columns: 1fr;
    }

    .trip-route-circle {
        min-height: auto;
        border-radius: 8px;
        padding: 22px;
        background: var(--istiqama-cream);
    }

    .trip-route-circle::before,
    .trip-route-circle::after {
        display: none;
    }

    .route-connector {
        display: none;
    }

    .trip-route-center,
    .route-node,
    .route-node-1,
    .route-node-2,
    .route-node-3,
    .route-node-4,
    .route-node-5,
    .route-node-6,
    .route-node-7,
    .route-node-8,
    .route-node-9,
    .route-node-10,
    .route-node-11,
    .route-node-12,
    .route-node-13,
    .route-node-14 {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        height: auto;
        min-height: auto;
        margin-bottom: 14px;
        transform: none;
    }

    .trip-route-center {
        border-radius: 8px;
        padding: 24px;
    }

    .route-node-start::before,
    .route-node-end::before {
        top: 12px;
        left: 16px;
        transform: none;
    }

    .health-collab-panel {
        grid-template-columns: 1fr;
    }

    .clinic-step::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .site-page-hero {
        min-height: 82vh;
    }

    .hero-stat-strip {
        position: relative;
        bottom: auto;
        grid-template-columns: 1fr;
        margin-top: -35px;
    }

    .hero-stat-strip div {
        border-right: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .image-lift img {
        min-height: 320px;
    }
}

.sticky-top .navbar-light .navbar-brand img {
    max-height: 45px;
}

.sticky-top .brand-lockup img {
    width: 44px;
    height: 44px;
}

.sticky-top .brand-main {
    font-size: 20px;
}

.sticky-top .brand-sub {
    font-size: 10px;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: 0.5s;
        opacity: 0;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-success);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    transition: 0.5s;
    opacity: 1;
}

@media (max-width: 991.98px) {
    .sticky-top {
        position: relative;
        background: var(--bs-white);
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 20px;
        border: 1px solid var(--bs-primary) !important;
        color: var(--bs-primary);
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #dddddd;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top .navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--bs-dark) !important;
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }

    .brand-lockup {
        max-width: calc(100vw - 110px);
        min-width: 0;
    }

    .brand-lockup img {
        width: 44px;
        height: 44px;
    }

    .brand-main {
        font-size: 19px;
    }

    .brand-sub {
        font-size: 10px;
        white-space: normal;
        line-height: 1.1;
    }
}

@media (min-width: 991.98px) {
    .sticky-top .navbar-light {
        background: var(--bs-light) !important;
    }

    /*** Top and Bottom borders go out ***/
    .navbar-light .navbar-nav .nav-link:after,
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        top: 30px;
        bottom: 30px;
        left: 0px;
        width: 100%;
        height: 2px;
        background: var(--bs-primary);
        opacity: 0;
        transition: all 0.5s;
    }

    .navbar-light .navbar-nav .nav-link:before {
        bottom: auto;
    }

    .navbar-light .navbar-nav .nav-link:after {
        top: auto;
    }

    .navbar-light .navbar-nav .nav-link:hover:before,
    .navbar-light .navbar-nav .nav-link.active:before {
        top: 20px;
        opacity: 1;
    }

    .navbar-light .navbar-nav .nav-link:hover::after,
    .navbar-light .navbar-nav .nav-link.active::after {
        bottom: 20px;
        opacity: 1;
    }
}

#searchModal .modal-content {
    min-height: 100vh;
    background:
        linear-gradient(135deg, rgba(3, 31, 25, 0.97), rgba(6, 47, 37, 0.96)),
        url("../img/pexels-fahadputhawala-34999013.jpg") center/cover;
}

#searchModal .modal-dialog {
    margin: 0;
    max-width: none;
}

#searchModal .modal-header {
    border-bottom: 1px solid rgba(212, 175, 55, 0.28);
    background: rgba(3, 31, 25, 0.92);
}

#searchModal .modal-title {
    color: var(--istiqama-gold) !important;
}

#searchModal .btn-close {
    filter: invert(1) grayscale(1) brightness(1.7);
}
/*** Navbar End ***/

/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    background:
        linear-gradient(rgba(0, 58, 102, 0.9), rgba(0, 58, 102, 0.8)),
        url(../img/breadcrumb.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    padding: 100px 0 60px 0;
}
/*** Single Page Hero Header End ***/

/*** Carousel Hero Header Start ***/
.istiqama-hero {
    position: relative;
    overflow: hidden;
    background: var(--istiqama-deep);
}

.istiqama-hero::after {
    content: "";
    position: absolute;
    right: 8%;
    bottom: 8%;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 50%;
    pointer-events: none;
    z-index: 3;
}

.carousel-header .carousel-control-prev .carousel-control-prev-icon,
.carousel-header .carousel-control-next .carousel-control-next-icon {
    width: 3.2rem;
    height: 3.2rem;
    margin-left: 24px;
    border-radius: 50%;
    background-size: 60% 60%;
    background-color: rgba(6, 47, 37, 0.72) !important;
    border: 1px solid rgba(212, 175, 55, 0.5);
    transition: 0.35s;
}

.carousel-header .carousel-control-next .carousel-control-next-icon {
    margin-left: 0;
    margin-right: 24px;
}

.carousel-header .carousel .carousel-indicators {
    padding-bottom: 18px;
    transition: 0.5s;
}

.carousel-header .carousel .carousel-indicators li,
.carousel-header .carousel .carousel-indicators li,
.carousel-header .carousel .carousel-indicators li {
    width: 32px;
    height: 4px;
    border: 0;
    border-radius: 999px;
    margin-right: 10px;
    background: rgba(255, 255, 255, 0.45);
    transition: 0.5s;
}

.carousel-header .carousel .carousel-indicators li.active {
    width: 54px;
    height: 4px;
    border: 0;
    background: var(--istiqama-gold);
}

.carousel-header .carousel-inner .carousel-item {
    position: relative;
    height: calc(100vh - 116px);
    min-height: 620px;
    max-height: 820px;
    transition: opacity 1.1s ease-in-out;
}

.carousel-header .carousel-inner .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.06);
    transition: transform 7s ease;
}

.carousel-header .carousel-inner .carousel-item.active img {
    transform: scale(1);
}

.carousel-header .carousel-inner .carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    background:
        linear-gradient(90deg, rgba(2, 20, 16, 0.92), rgba(6, 47, 37, 0.72), rgba(6, 47, 37, 0.18)),
        linear-gradient(0deg, rgba(0, 0, 0, 0.45), transparent 55%);
    background-size: cover;
    padding: 0 9%;
}

.hero-copy {
    max-width: 820px;
    padding: 24px 0 62px;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 9px 18px;
    border: 1px solid rgba(212, 175, 55, 0.6);
    border-radius: 999px;
    color: #ffe8a3;
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(10px);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.hero-pill::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--istiqama-gold);
    box-shadow: 0 0 18px var(--istiqama-gold);
}

.hero-title,
.hero-subtitle,
.hero-text,
.hero-actions {
    opacity: 0;
    transform: translateY(24px);
}

.carousel-item.active .hero-subtitle {
    animation: heroTextIn 0.7s ease 0.18s forwards;
}

.carousel-item.active .hero-title {
    animation: heroTextIn 0.85s ease 0.32s forwards;
}

.carousel-item.active .hero-text {
    animation: heroTextIn 0.85s ease 0.48s forwards;
}

.carousel-item.active .hero-actions {
    animation: heroTextIn 0.85s ease 0.64s forwards;
}

@keyframes heroTextIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

@media (max-width: 768px) {
    .carousel-header {
        height: auto !important;
    }

    .carousel-header .carousel-inner .carousel-item {
        height: 78vh;
        min-height: 620px;
        max-height: none;
    }

    .carousel-header .carousel-inner .carousel-item .carousel-caption {
        padding: 0 24px;
        background:
            linear-gradient(90deg, rgba(2, 20, 16, 0.9), rgba(6, 47, 37, 0.65)),
            linear-gradient(0deg, rgba(0, 0, 0, 0.35), transparent 55%);
    }

    .hero-copy {
        padding: 34px 0 70px;
    }

    .hero-title {
        font-size: 2.45rem;
    }

    .carousel-header .carousel-control-prev .carousel-control-prev-icon,
    .carousel-header .carousel-control-next .carousel-control-next-icon {
        margin-top: 440px;
    }

    .carousel-header .carousel-control-prev .carousel-control-prev-icon {
        margin-left: 0px;
    }

    .carousel-header .carousel-control-next .carousel-control-next-icon {
        margin-right: 0px;
    }

    .carousel-header .carousel .carousel-indicators {
        padding: 0;
    }
}
/*** Carousel Hero Header End ***/

/*** Counter Facts Start ***/
.counter-facts {
    background:
        linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8)),
        url(../img/breadcrumb.png);
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
}

.counter-facts .counter {
    position: relative;
    text-align: center;
    width: 200px;
    min-height: 215px;
    padding: 10px 15px;
    margin: 0 auto;
    border-radius: 100px;
    box-shadow: 0 8px 5px rgba(0, 0, 0, 0.2);
    background: var(--bs-white);
}

.counter-facts .counter:before {
    content: "";
    position: absolute;
    height: 105px;
    width: 100%;
    left: 0;
    top: 0;
    border-radius: 10px 10px 0 0;
    background-color: var(--bs-primary);
}
.counter-facts .counter .counter-icon {
    position: relative;
    width: 120px;
    height: 100px;
    margin: 0 auto 10px;
    border-radius: 10px 10px 0 0;
    transform: translateY(-20px);
    font-size: 50px;
    line-height: 90px;
    color: var(--bs-success);
    background: rgba(1, 143, 252, 0.5);
    clip-path: polygon(0% 0%, 100% 0, 100% 70%, 50% 100%, 0 70%);
}
.counter-facts .counter .counter-icon:before {
    content: "";
    position: absolute;
    width: 120px;
    height: 90px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px 10px 0 0;
    background: rgba(0, 58, 102, 0.5);
    z-index: -1;
    clip-path: polygon(0% 0%, 100% 0, 100% 70%, 50% 100%, 0 70%);
}
.counter-facts .counter:hover .counter-icon i {
    transform: rotate(360deg);
    transition: all 0.3s ease;
}
.counter-facts .counter h3 {
    color: var(--bs-primary);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 5px 0;
}
.counter-facts .counter .counter-value {
    font-size: 30px;
    font-weight: 700;
    display: block;
    color: var(--bs-success);
}

@media screen and (max-width: 1200px) {
    .counter-facts .counter {
        margin-bottom: 40px;
    }
}
/*** Counter Facts End ***/

/*** service Start ***/
.service .service-item {
    position: relative;
    overflow: hidden;
}

.service .service-item .service-inner .service-title {
    position: relative;
    margin-top: -30px;
    text-align: center;
    transition: 0.5s;
}

.service .service-item .service-inner .service-title .service-content {
    position: absolute;
    bottom: -100%;
    left: 0;
    margin-left: 30px;
    margin-right: 30px;
    text-align: center;
    border-radius: 10px;
    background: var(--bs-primary);
    opacity: 0;
    transition: 0.5s;
}

.service .service-item:hover .service-inner .service-title .service-content {
    bottom: 0;
    opacity: 1;
}

.service .service-item .service-inner .service-title .service-content a h4 {
    border-bottom: 1px solid rgba(256, 256, 256, 0.1);
}

.service .service-item .service-inner .service-title .service-title-name {
    transition: 0.5s;
}

.service .service-item:hover .service-inner .service-title .service-title-name {
    opacity: 0;
}

.service .service-item .service-inner .service-img {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.service .service-item .service-inner .service-img::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.5);
    transition: 0.5s;
    opacity: 0;
}

.service .service-item:hover .service-inner .service-img::after {
    height: 100%;
    opacity: 1;
}

.service .service-item .service-inner .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-inner .service-img img {
    transform: scale(1.3);
}
/*** Service End ***/

/*** Homepage card normalization ***/
.service .row > [class*="col-"],
.country .row > [class*="col-"] {
    display: flex;
}

.service .service-item {
    width: 100%;
    height: 430px;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(6, 47, 37, 0.12);
}

.service .service-item .service-inner {
    position: relative;
    height: 100%;
}

.service .service-item .service-inner .service-img {
    height: 100%;
    border-radius: 8px;
}

.service .service-item .service-inner .service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service .service-item .service-inner .service-title {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-top: 0;
    padding: 24px;
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(6, 47, 37, 0.02), rgba(6, 47, 37, 0.82));
}

.service .service-item .service-inner .service-title .service-title-name {
    width: 100%;
}

.service .service-item .service-inner .service-title .service-title-name .bg-primary {
    margin-right: 0 !important;
    margin-left: 0 !important;
    background: rgba(6, 47, 37, 0.88) !important;
    border: 1px solid rgba(212, 175, 55, 0.45);
}

.service .service-item .service-inner .service-title .service-content {
    right: 24px;
    bottom: -120%;
    left: 24px;
    margin-right: 0;
    margin-left: 0;
    padding-bottom: 0 !important;
    border-radius: 8px;
    background: rgba(6, 47, 37, 0.94);
}

.service .service-item:hover .service-inner .service-title .service-content {
    bottom: 24px;
}

.service .service-item .service-inner .service-title .service-content .px-4 {
    padding-right: 20px !important;
    padding-left: 20px !important;
}

.service .service-item .service-inner .service-title .service-content p {
    min-height: 96px;
    color: rgba(255, 255, 255, 0.82);
}

.country .country-item {
    width: 100%;
    height: 330px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(6, 47, 37, 0.1);
    background: var(--istiqama-deep);
}

.country .country-item > .rounded {
    height: 100%;
    border-radius: 8px !important;
}

.country .country-item > .rounded > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.country .country-item .country-flag {
    z-index: 3;
    overflow: hidden;
    background: var(--bs-white);
}

.country .country-item .country-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.country .country-item .country-name {
    z-index: 3;
    width: calc(100% - 48px);
    padding: 14px 18px;
    border-radius: 8px;
    background: rgba(6, 47, 37, 0.78);
    border: 1px solid rgba(212, 175, 55, 0.42);
    backdrop-filter: blur(8px);
}

@media (max-width: 575px) {
    .service .service-item {
        height: 390px;
    }

    .country .country-item {
        height: 300px;
    }
}

/*** Features Start ***/
.features .feature-item {
    position: relative;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.features .feature-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-radius: 10px;
    background: rgba(0, 58, 102, 0.1);
    z-index: -1;
    transition: 0.5s;
}

.features .feature-item:hover::after {
    height: 100%;
}

.features .feature-item .feature-icon {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bs-light);
    transition: 0.5s;
}

.features .feature-item:hover .feature-icon {
    border-radius: 50%;
    background: var(--bs-white) !important;
}

.features .feature-item .feature-icon i {
    transition: 0.5s;
}

.features .feature-item:hover .feature-icon i {
    color: var(--bs-success) !important;
    transform: rotate(360deg);
    transition: all 0.5s ease;
}
/*** Features End ***/

/*** Country Start ***/
.country .country-item {
    position: relative;
}

.country .country-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 58, 102, 0.7);
    border-radius: 10px;
    transition: 0.5s;
    z-index: 1;
}

.country .country-item:hover::after {
    height: 100%;
}

.country .country-item .country-flag {
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    transition: 0.5s;
    z-index: 2;
}

.country .country-item .country-flag img {
    border: 5px solid var(--bs-white);
    transition: 0.5s;
}

.country .country-item:hover .country-flag img {
    border: 5px solid var(--bs-white);
    transform: rotate(360deg);
    transition: all 0.5s ease;
}

.country .country-item .country-name {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.5s;
    opacity: 0;
    z-index: 3;
}

.country .country-item:hover .country-name {
    opacity: 1;
}

.country .country-item img {
    transition: 0.5s;
}

.country .country-item:hover img {
    transform: scale(1.2);
}

.country .country-item .country-name a.fs-4 {
    transition: 0.5s;
}

.country .country-item .country-name a.fs-4:hover {
    color: var(--bs-success) !important;
}
/*** Country End ***/

/*** testimonial Start ***/
.testimonial .owl-carousel.testimonial-carousel {
    position: relative;
}

.testimonial
    .owl-carousel.testimonial-carousel
    .testimonial-item
    .testimonial-content {
    position: relative;
    border-radius: 10px;
    background: var(--bs-light);
}

.testimonial
    .owl-carousel.testimonial-carousel
    .testimonial-item
    .testimonial-content::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 45px;
    bottom: -20px;
    left: 30px;
    transform: rotate(45deg);
    background: var(--bs-light);
    z-index: -1;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav {
    position: absolute;
    top: -60px;
    right: 0;
    display: flex;
    font-size: 40px;
    color: var(--bs-primary);
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev {
    margin-right: 40px;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev,
.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-next {
    transition: 0.5s;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--bs-success);
}
/*** testimonial end ***/

/*** training Start ***/
.training .training-item .training-inner {
    position: relative;
}

.training .training-item .training-inner .training-title-name {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    padding: 20px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: end;
    text-align: center;
    transition: 0.5s;
}

.training .training-item {
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.training .training-item:hover .training-inner .training-title-name {
    background: rgba(0, 58, 102, 0.5);
}

.training .training-item:hover .training-inner .training-title-name a {
    opacity: 0;
}

.training .training-item .training-inner img {
    transition: 0.5s;
}

.training .training-item:hover .training-inner img {
    transform: scale(1.3);
}

.training .training-item .training-content {
    position: absolute;
    width: 100%;
    bottom: -100%;
    left: 0;
    transition: 0.5s;
}

.training .training-item:hover .training-content {
    bottom: 0;
}
/*** training End ***/

/*** Contact Start ***/
.contact .office .office-item {
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.2);
    background: var(--bs-light);
    transition: 0.5s;
}

.contact .office .office-item:hover {
    box-shadow: 20px 20px 20px rgba(0, 58, 102, 0.3);
}

.contact .office .office-item .office-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.contact .office .office-item .office-img img {
    transition: 0.5s;
}

.contact .office .office-item:hover .office-img img {
    transform: scale(1.3);
}

.contact .office .office-item .office-content a.text-secondary,
.contact .office .office-item .office-content a.text-muted {
    transition: 0.5s;
}

.contact .office .office-item .office-content a.text-muted:hover {
    color: var(--bs-success) !important;
}

.contact .office .office-item .office-content a.text-secondary:hover {
    color: var(--bs-primary) !important;
}
/*** Contact End ***/

/*** Footer Start ***/
.footer {
    background: var(--bs-primary);
}
.footer .footer-item a {
    line-height: 30px;
    color: var(--bs-white);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 30px;
}

.footer .footer-item a:hover {
    letter-spacing: 2px;
    color: var(--bs-success);
}

/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-success) !important;
}
/*** copyright end ***/

/*** Final homepage consistency overrides ***/
.contact-cta {
    background: var(--istiqama-cream);
}

.contact-cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 28px 34px;
    border-radius: 8px;
    color: var(--bs-white);
    background:
        linear-gradient(135deg, rgba(6, 47, 37, 0.98), rgba(0, 106, 69, 0.9)),
        radial-gradient(circle at 85% 10%, rgba(212, 175, 55, 0.32), transparent 35%);
    box-shadow: 0 18px 48px rgba(6, 47, 37, 0.18);
}

.contact-cta-panel h2 {
    color: var(--bs-white);
}

.contact-cta-panel p {
    color: rgba(255, 255, 255, 0.78);
}

.contact-cta-kicker {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--istiqama-gold);
    font-weight: 700;
    text-transform: uppercase;
}

.contact-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex: 0 0 auto;
}

.site-footer {
    position: relative;
    overflow: hidden;
    padding-top: 34px;
    padding-bottom: 28px;
    background:
        linear-gradient(135deg, #041f19, #062f25 52%, #0b4b35) !important;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: -110px;
    right: -90px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.22);
    box-shadow: inset 0 0 80px rgba(212, 175, 55, 0.08);
}

.site-footer .footer-item h4 {
    color: var(--istiqama-gold) !important;
}

.site-footer .footer-item a {
    color: rgba(255, 255, 255, 0.78);
}

.site-footer .footer-item a:hover {
    letter-spacing: 0;
    color: var(--istiqama-gold);
    transform: translateX(4px);
}

.site-footer .footer-item p {
    color: rgba(255, 255, 255, 0.75);
}

.copyright {
    background: #031712 !important;
}

.country .country-item {
    height: 330px;
    overflow: hidden;
    border-radius: 8px;
}

.country .country-item > .rounded {
    height: 100%;
}

.country .country-item > .rounded > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.country .country-item::after {
    height: 100%;
    background: linear-gradient(180deg, rgba(6, 47, 37, 0.08), rgba(6, 47, 37, 0.74));
    border-radius: 8px;
}

.country .country-item .country-name {
    opacity: 1;
    z-index: 4;
    width: calc(100% - 48px);
    padding: 14px 18px;
    border-radius: 8px;
    background: rgba(6, 47, 37, 0.78);
    border: 1px solid rgba(212, 175, 55, 0.42);
}

.country .country-item .country-flag {
    z-index: 5;
}

.footer {
    visibility: visible !important;
    opacity: 1 !important;
}

.homepage-no-delay .wow,
.homepage-no-delay .animated {
    visibility: visible !important;
}

@media (max-width: 991px) {
    .contact-cta-panel {
        align-items: flex-start;
        flex-direction: column;
        padding: 24px;
    }

    .contact-cta-actions {
        width: 100%;
    }

    .contact-cta-actions .btn {
        width: 100%;
    }
}
