:root {
    /* Semantic color aliases (primary) */
    --color-primary: #991b1b;
    --color-primary-dark: #7f1d1d;
    --color-secondary: #4c1d95;
    --color-accent: #7c3aed;
    --color-highlight: #dc2626;
    --color-bg-light: #fef2f2;
    --color-bg-lighter: #f5f3ff;
    --color-text-primary: #1e1b2e;
    --color-text-muted: #6b7280;

    /* Legacy aliases (for backward compatibility) */
    --brand-green: var(--color-primary);
    --brand-green-dark: var(--color-primary-dark);
    --brand-teal: var(--color-secondary);
    --brand-gold: var(--color-accent);
    --brand-coral: var(--color-highlight);
    --brand-sky: var(--color-bg-light);
    --brand-cream: var(--color-bg-lighter);
    --brand-ink: var(--color-text-primary);
    --brand-muted: var(--color-text-muted);
}

body {
    color: var(--brand-ink);
    font-family: 'Noto Sans Devanagari', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 100%;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 8% 8%, rgba(124, 58, 237, 0.18), transparent 28%),
        radial-gradient(circle at 92% 12%, rgba(153, 27, 27, 0.15), transparent 30%),
        radial-gradient(circle at 18% 88%, rgba(76, 29, 149, 0.12), transparent 26%),
        linear-gradient(180deg, #f5f3ff 0%, #fef2f2 42%, #ffffff 100%);
    background-attachment: fixed;
}

.navbar.bg-dark {
    background: linear-gradient(135deg, var(--brand-green-dark), #2d1056) !important;
    box-shadow: 0 4px 18px rgba(127, 29, 29, 0.16);
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}

.top-bar {
    background: #ffffff;
    color: #333333;
    padding: 10px 0;
    font-size: 1rem;
    border-bottom: 3px solid #991b1b;
    overflow: hidden;
}

.top-bar a {
    color: #333333;
    text-decoration: none;
    transition: color 0.2s;
}

.top-bar a:hover {
    color: #991b1b;
}

.top-bar-logo {
    height: 100px;
    width: auto;
    border-radius: 4px; 
    object-fit: contain;
    filter: contrast(1.4) saturate(1.5);
}

.top-bar-name {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.top-bar .brand-primary {
    color: #991b1b;
    font-size: 2rem;
    line-height: 1.1;
}

.top-bar .brand-divider {
    background: #991b1b;
    height: 2px;
}

.top-bar .brand-suffix {
    color: #4c1d95;
    font-style: italic;
    font-size: 1.6rem;
    line-height: 1.1;
}

.top-bar-info i {
    margin-right: 5px;
    color: #4c1d95;
}

@media (max-width: 991.98px) {

    /* Keep header bar clean on smaller screens */
    .top-bar-info {
        display: none;
    }



    .top-bar-grid {
        align-items: start;
    }
}

/* Top bar responsive layout (mobile/tablet only) */
.top-bar-grid {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 24px;
    overflow: hidden;
}

.top-bar-row {
    display: flex;
    align-items: center;
    min-width: 0;
    overflow: hidden;
}

.top-bar-row-1 {
    gap: 4px;
    flex: 1 1 auto;
}

.top-bar-row-2 {
    min-width: 0;
    gap: 28px;
    flex: 0 1 auto;
}

.top-bar-row-3 {
    flex: 0 1 auto;
}

.top-bar-logo-wrapper {
    display: flex;
    align-items: center;
}

.top-bar-contact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    color: #333333;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.15rem;
}

.top-bar-address {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    color: #333333;
    font-weight: 600;
    font-size: 1.15rem;
}

@media (max-width: 767.98px) {
    .top-bar-grid {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    /* Row 1: logo + company name */
    .top-bar-row-1 {
        width: 100%;
        justify-content: flex-start;
        gap: 12px;
    }   

    /* Row 2: email + phone */
    .top-bar-row-2 {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
    }

    .top-bar-contact {
        flex: 1 1 0;
        justify-content: center;
        text-align: center;
    }

    /* Row 3: address full width */
    .top-bar-row-3 {
        width: 100%;
    }

    .top-bar-address {
        white-space: normal;
        width: 100%;
    }

    /* Avoid overflow */
    .top-bar-address,
    .top-bar-contact {
        overflow-wrap: anywhere;
        word-break: break-word;
    }
}

@media (max-width: 399.98px) {
    .top-bar-row-2 {
        flex-direction: column;
        align-items: stretch;
    }

    .top-bar-contact {
        justify-content: flex-start;
        text-align: left;
    }
}

.navbar .brand-primary {
    color: #ffffff;
}

.navbar .brand-divider {
    background: #ffffff;
}

.navbar .brand-suffix {
    color: #e0d4f5;
}

.brand-signature {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    line-height: 1;
    white-space: nowrap;
}

.brand-mark {
    width: 200px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 8px;
    overflow: visible;
    font-size: 1.08rem;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-wordmark {
    display: inline-flex;
    align-items: center;
    gap: 0;
    min-width: 0;
    flex-direction: column;
}

.brand-primary {
    color: #991b1b;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.36rem;
    font-weight: 900;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

.brand-divider {
    display: block;
    width: 100%;
    height: 2px;
    background: #ffffff;
    margin: 3px 0;
}

.brand-suffix {
    color: #4c1d95;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.6rem;
    font-style: italic;
    font-weight: 700;
}

.navbar-brand:hover .brand-mark,
.navbar-brand:focus .brand-mark {
    transform: translateY(-1px) rotate(-6deg);
    box-shadow: 0 14px 28px rgba(127, 29, 29, 0.26);
}

.brand-mark {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-brand {
    margin-bottom: 12px;
    display: inline-block;
    padding: 8px 16px;
    overflow: hidden;
}

.footer-brand .brand-signature-footer {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}

.brand-signature-footer .brand-mark {
    width: 72px;
    height: 72px;
    font-size: 1.3rem;
    overflow: hidden;
    flex-shrink: 0;
}

.brand-signature-footer .brand-mark img {
    max-width: 72px;
    max-height: 72px;
}

.brand-signature-footer .brand-primary {
    font-size: 1.6rem;
}

.brand-signature-footer .brand-suffix {
    font-size: 1.4rem;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.86);
    padding: 8px 16px;
}

.navbar-dark .navbar-nav .nav-link:hover,
    .navbar-dark .navbar-nav .nav-link:focus,
    .navbar-dark .navbar-nav .nav-link.active {
        color: #ffffff;
        background: var(--brand-teal);
        border-radius: 6px;
        padding: 8px 16px;
    }

@media (max-width: 991.98px) {

    .navbar-nav .dropdown-menu{
        background:transparent !important;
        border:none;
        box-shadow:none;
        padding:8px 0 8px 15px;
        margin:0;
    }

    .navbar-nav .dropdown-item{
        background:rgba(255,255,255,.06);
        color:#fff;
        border-radius:8px;
        margin:6px 0;
        padding:12px 18px;
        transition:.25s;
    }

    .navbar-nav .dropdown-item:hover,
    .navbar-nav .dropdown-item:focus{
        background:#5b21b6;
        color:#fff;
    }
}

.navbar-nav .show > .nav-link{
    background:#5b21b6;
    color:#fff;
    border-radius:8px;
}

/* Share dropdown open animation – triggered by Bootstrap's .show class */
.share-dropdown.show {
    animation: shareDropIn 0.2s ease;
}

@keyframes shareDropIn {
    from { opacity: 0; transform: scale(0.95) translateY(-4px); }
    to   { opacity: 1; transform: scale(1)    translateY(0); }
}

/* Elevate card when its dropdown is open – kill hover transform so it doesn't
   create a stacking context that traps the dropdown below sibling cards */
.card:has(.dropdown-menu.show) {
    z-index: 10000;
    transform: none !important;
}

.card:has(.dropdown-menu.show):hover {
    transform: none !important;
}

.navbar-nav {
    gap: 4px;
    max-width: 100%;
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.navbar-nav .nav-item {
    list-style: none;
}

.navbar-nav .nav-item .nav-link {
    text-decoration: none;
}

.dropdown-menu {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu li a {
    text-decoration: none;
}

.lang-switcher-wrapper {
    list-style: none;
}

.lang-switcher-wrapper .dropdown-menu {
    list-style: none;
    padding-left: 0;
}

.lang-switcher-wrapper 
/* Prevent any global horizontal overflow (common on mobile) */
*, *::before, *::after {
    box-sizing: border-box;
}




/* Ensure navbar always fits the viewport */
.navbar {
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

.dropdown-menu {
    border: 0;
    background: var(--brand-green-dark);
    box-shadow: 0 12px 32px rgba(30, 27, 46, 0.14);
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.86);
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: #ffffff;
    background: var(--brand-teal);
}

.hero-section {
    background: #000;
    height: clamp(420px, 70vh, 620px);
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}


.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}


.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-bg-img.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.hero-section h1 {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero-section h1::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    margin: 14px 0;
    background: linear-gradient(90deg, var(--brand-gold), var(--brand-teal));
    border-radius: 999px;
}

.hero-english .hero-subtitle {
    font-size: 1.05rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 14px;
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.7;
    max-width: 480px;
}

.btn-primary {
    background: var(--brand-green);
    border-color: var(--brand-green);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--brand-green-dark);
    border-color: var(--brand-green-dark);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    color: var(--brand-green-dark);
    background: var(--brand-gold);
    border-color: var(--brand-gold);
}

.btn-danger {
    background: var(--brand-coral);
    border-color: var(--brand-coral);
}

.text-primary {
    color: var(--brand-teal) !important;
}

.bg-light {
    background: linear-gradient(180deg, var(--brand-sky), #ffffff) !important;
}

section.py-5 {
    position: relative;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(2px);
}

section.py-5:nth-of-type(even) {
    background:
        linear-gradient(135deg, rgba(245, 243, 255, 0.9), rgba(254, 242, 242, 0.88));
}

/* Keep media from overflowing on small screens */
img,
video {
    max-width: 100%;
    height: auto;
}


section.py-5:nth-of-type(odd):not(.hero-section) {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(245, 243, 255, 0.78));
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--brand-green-dark);
}

.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section h4,
.hero-section h5,
.hero-section h6 {
    color: #ffffff;
}

section h2 {
    font-weight: 800;
}

section h2::after {
    content: "";
    display: block;
    width: 74px;
    height: 4px;
    margin: 14px auto 0;
    background: linear-gradient(90deg, var(--brand-green), var(--brand-teal));
    border-radius: 999px;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.whatsapp-float i {
    line-height: 1;
}


.whatsapp-float:hover {
    text-decoration: none;
    color: #FFF;
    background-color: #128c7e;
}

.share-dropdown {
    min-width: 220px;
    background: #fff;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(76, 29, 149, 0.1);
}

.share-dropdown .dropdown-item {
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.share-dropdown .dropdown-item:hover {
    background: linear-gradient(135deg, rgba(76, 29, 149, 0.08), rgba(153, 27, 27, 0.08));
    color: var(--brand-green-dark);
}

.share-dropdown .dropdown-item i {
    width: 20px;
    text-align: center;
}

.btn-share-hero {
    background: linear-gradient(135deg, var(--brand-teal), var(--brand-green)) !important;
    border: none;
    color: #fff !important;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(76, 29, 149, 0.3);
}

.btn-share-hero:hover,
.btn-share-hero:focus {
    background: linear-gradient(135deg, var(--brand-green), var(--brand-teal)) !important;
    color: #fff !important;
    box-shadow: 0 8px 24px rgba(76, 29, 149, 0.4);
}

.btn-share-hero.dropdown-toggle::after {
    margin-left: 0.5rem;
    border-top-color: #fff;
    vertical-align: middle;
}

/* Share button in card body (blog, package pages) */
.card .btn-outline-secondary.dropdown-toggle {
    background: linear-gradient(135deg, var(--brand-teal), var(--brand-green));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 3px 10px rgba(76, 29, 149, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card .btn-outline-secondary.dropdown-toggle:hover,
.card .btn-outline-secondary.dropdown-toggle:focus {
    background: linear-gradient(135deg, var(--brand-green), var(--brand-teal));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 20px rgba(76, 29, 149, 0.35);
    transform: translateY(-1px);
}

.card .btn-outline-secondary.dropdown-toggle::after {
    border-top-color: #fff;
    margin-left: 0.4rem;
    vertical-align: middle;
}

.btn-whatsapp-share {
    background-color: #25d366;
    border-color: #25d366;
    color: #fff;
}

.btn-whatsapp-share:hover {
    background-color: #128c7e;
    border-color: #128c7e;
    color: #fff;
}

/* --- Premium Glassmorphism Cards --- */
@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes starPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

@keyframes gradientText {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.about-photo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.about-photo-item {
    position: relative;
    min-height: 180px;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(30, 27, 46, 0.16);
}

.about-photo-featured {
    grid-column: 1 / -1;
    min-height: clamp(240px, 40vw, 320px);
}


.about-photo-item img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    display: block;
}

.about-photo-item figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 12px;
    color: #ffffff;
    font-weight: 700;
    background: linear-gradient(180deg, transparent, rgba(127, 29, 29, 0.86));
}

.star-rating {
    color: #d9a441;
}

.form-control:focus {
    border-color: var(--brand-teal);
    box-shadow: 0 0 0 0.2rem rgba(76, 29, 149, 0.18);
}

.alert-success {
    color: var(--brand-green-dark);
    background: #fef2f2;
    border-color: #fecaca;
}

footer.bg-dark {
    background: linear-gradient(135deg, var(--brand-green-dark), #2d1056) !important;
}

.admin-wrapper {
    min-height: calc(100vh - 120px);
    padding: 2rem 1rem;
    max-width: 1140px;
    margin: 0 auto;
}

@media (max-width: 767.98px) {
    .hero-section {
        height: auto;
        min-height: 700px;
        padding: 60px 0 40px;
    }

    .hero-content {
        width: 100%;
        padding: 0 20px;
        overflow: hidden;
    }

    .hero-content .row {
        flex-direction: column;
        align-items: center;
    }

    .hero-bg-img {
        object-fit: contain;
        object-position: center;
    }

    .hero-overlay {
        background: rgba(0, 0, 0, 0.50);
    }

    .hero-english {
        text-align: center;
        width: 100%;
        padding: 0;
        margin-bottom: 10px;
    }

    .hero-english h1 {
        font-size: 1.6rem;
        font-weight: 700;
        margin-bottom: 6px;
    }

    .hero-english h1::after {
        margin: 10px auto 0;
    }

    .hero-english .hero-subtitle {
        font-size: 0.95rem;
        font-weight: 400;
        margin-bottom: 10px;
    }

    .hero-english .lead {
        font-size: 0.88rem;
        line-height: 1.65;
        padding: 0;
        margin-bottom: 0;
        max-width: 100%;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        margin-top: 24px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 320px;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .hero-arabic {
        text-align: center;
        width: 100%;
        padding: 0;
        margin-top: 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-arabic h1 {
        font-size: 28px;
        font-weight: 800;
        margin-bottom: 8px;
    }

    .hero-arabic .hero-subtitle {
        font-size: 18px;
        font-weight: 400;
        margin-bottom: 12px;
    }

    .hero-arabic .lead {
        font-size: 16px;
        line-height: 1.8;
        padding: 0;
    }

    .whatsapp-float {
        right: 20px;
        bottom: 20px;
    }

    .about-photo-grid {
        grid-template-columns: 1fr;
    }

    .about-photo-featured,
    .about-photo-item {
        min-height: clamp(200px, 36vw, 260px);
    }


    .brand-signature {
        gap: 8px;
    }

    .brand-mark {
        width: 100px;
        height: 40px;
    }

    .brand-primary {
        font-size: 1.08rem;
    }

    .brand-suffix {
        font-size: 0.9rem;
    }
}

@media (max-width: 399.98px) {
    .brand-wordmark {
        flex-direction: column;
        align-items: center;
        gap: 2px;
    }

    .whatsapp-float {
        width: 48px;
        height: 48px;
        bottom: 18px;
        right: 18px;
        font-size: 24px;
    }


    .brand-primary {
        font-size: 0.98rem;
    }

    .brand-suffix {
        font-size: 0.82rem;
    }
}

/* Page back button */
.page-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-green);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 16px;
    margin-bottom: 1.5rem;
    background: var(--brand-sky);
    border: 1px solid rgba(153, 27, 27, 0.2);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    line-height: 1;
}

.page-back-btn i {
    font-size: 0.8rem;
    transition: transform 0.25s ease;
}

.page-back-btn:hover,
.page-back-btn:focus {
    color: #fff;
    background: var(--brand-green);
    border-color: var(--brand-green);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(153, 27, 27, 0.25);
}

.page-back-btn:hover i,
.page-back-btn:focus i {
    transform: translateX(-3px);
}

/* Page header row: title + action button side by side */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 12px;
}

.page-header h1 {
    margin-bottom: 0;
}

/* Card buttons pushed to bottom */
.card .card-body {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.card .card-body .mt-auto {
    margin-top: auto !important;
}

/* Hero section buttons */
.hero-section .btn {
    margin-top: 10px;
}

/* Flex gap support */
.gap-2 {
    gap: 0.5rem !important;
}

/* Contact / package-details form action buttons */
.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

/* Review page header */
.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 12px;
}

.review-header h1 {
    margin-bottom: 0;
}

/* Footer back link */
.footer-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--brand-muted);
    text-decoration: none;
    font-size: 0.92rem;
    margin-bottom: 1rem;
    transition: color 0.2s;
}

.footer-back-link:hover {
    color: var(--brand-green);
    text-decoration: none;
}

/* Footer quick actions */
.footer-quick-actions {
    margin-top: 18px;
}

.footer-quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.footer-quick-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
}

.footer-quick-link i {
    font-size: 0.95rem;
}

.footer-quick-link:hover,
.footer-quick-link:focus {
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(153, 27, 27, 0.26), rgba(76, 29, 149, 0.26));
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
    text-decoration: none;
}

/* Footer headings with white text border */
footer.bg-dark h5,
footer.bg-dark h5.footer-brand {
    color: #0b0b0b !important;
    font-weight: 800 !important;
    -webkit-text-stroke: 1px white;
    paint-order: stroke fill;
}



@media (max-width: 767.98px) {
    .footer-quick-actions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 399.98px) {
    .footer-quick-actions-grid {
        grid-template-columns: 1fr;
    }
}


/* Admin form action buttons */
.admin-form-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

/* Ensure spacing before form actions */
.card-body>.form-group:last-of-type,
.card-body>.row:last-of-type,
.card-body>.mb-3:last-of-type {
    margin-bottom: 0;
}

/* Admin pages */
.admin-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 12px;
}

.admin-page-header h1 {
    margin-bottom: 0;
}

/* ------------------------------
   Global typography + spacing
------------------------------- */
html {
    scroll-behavior: smooth;
}

p {
    margin-bottom: 0.85rem;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

section {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

@media (min-width: 768px) {
    section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

/* ------------------------------
   Focus states (accessibility)
-------------------------------- */
.btn:focus,
.btn:focus-visible,
.nav-link:focus,
.nav-link:focus-visible,
.form-control:focus,
.form-select:focus,
textarea:focus,
input:focus,
a:focus,
a:focus-visible {
    outline: none !important;
    box-shadow: 0 0 0 0.25rem rgba(76, 29, 149, 0.25) !important;
    }

/* ------------------------------
   Reduced motion (accessibility)
------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ------------------------------
   Focus visible for custom elements
------------------------------- */
.page-back-btn:focus-visible,
.lang-switcher-btn:focus-visible,
.footer-quick-link:focus-visible,
.whatsapp-float:focus-visible,
.btn-share-hero:focus-visible,
.btn-whatsapp-share:focus-visible,
.card .btn-primary:focus-visible,
.navbar-brand:focus-visible,
.lang-dropdown .dropdown-item:focus-visible {
    outline: 2px solid var(--brand-teal);
    outline-offset: 2px;
}

/* ------------------------------
   Buttons + links polish
-------------------------------- */
.btn {
    border-radius: 10px;
    padding-left: 1.05rem;
    padding-right: 1.05rem;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:active {
    transform: translateY(1px);
}

.btn-outline-light {
    border-width: 2px;
}

.dropdown-item {
    border-radius: 8px;
}

/* ------------------------------
   Cards + images polish
------------------------------- */

.card {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(30, 27, 46, 0.06);
    overflow: visible;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, var(--brand-green), var(--brand-teal), var(--brand-gold), var(--brand-coral));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
    pointer-events: none;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 12px 32px rgba(76, 29, 149, 0.12), 0 4px 12px rgba(153, 27, 27, 0.08);
}

.card-img-top {
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
    width: 100%;
    max-height: clamp(220px, 36vw, 260px);
    overflow: hidden;
    background: #f3f6f6;
}

.card-title {
    color: var(--brand-green-dark);
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: color 0.3s ease, -webkit-text-fill-color 0.3s ease;
}

.card:hover .card-title {
    background: linear-gradient(135deg, var(--brand-green), var(--brand-teal), var(--brand-gold), var(--brand-coral));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientText 3s ease infinite;
}

.card-text {
    line-height: 1.7;
    color: #374151;
}

.card-text strong {
    color: var(--brand-coral);
}

.card .btn-primary {
    position: relative;
    background: linear-gradient(135deg, var(--brand-green), var(--brand-teal));
    border: none;
    border-radius: 50px;
    padding: 0.55rem 1.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 3px 10px rgba(153, 27, 27, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
    z-index: 1;
}

.card .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(153, 27, 27, 0.3);
}

.card-body {
    padding: 1.5rem;
}

.star-rating i {
    text-shadow: 0 0 8px rgba(217, 164, 65, 0.35);
}

.gallery-card .card-img-top {
    background: #f3f6f6;
}


.gallery-card {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.5);
}

/* --- Testimonial Premium --- */
.card:has(.star-rating) {
    text-align: center;
    padding: 2rem 1.5rem;
}

.card:has(.star-rating)::before {
    display: none;
}

.card:has(.star-rating)::after {
    content: "\201C";
    position: absolute;
    top: 12px;
    left: 18px;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: var(--brand-teal);
    opacity: 0.1;
    line-height: 1;
    pointer-events: none;
}

.card:has(.star-rating) .star-rating {
    justify-content: center;
    display: flex;
}

.card:has(.star-rating) .star-rating i {
    transition: transform 0.2s ease;
}

.card:has(.star-rating):hover .star-rating i {
    animation: starPulse 2s ease-in-out infinite;
}

.card:has(.star-rating) .star-rating i:nth-child(1) {
    animation-delay: 0s;
}

.card:has(.star-rating) .star-rating i:nth-child(2) {
    animation-delay: 0.15s;
}

.card:has(.star-rating) .star-rating i:nth-child(3) {
    animation-delay: 0.3s;
}

.card:has(.star-rating) .star-rating i:nth-child(4) {
    animation-delay: 0.45s;
}

.card:has(.star-rating) .star-rating i:nth-child(5) {
    animation-delay: 0.6s;
}

.card:has(.star-rating) .card-text {
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4b5563;
    position: relative;
    z-index: 1;
}

.card:has(.star-rating) .card-subtitle {
    font-weight: 600;
    color: var(--brand-green-dark) !important;
    font-size: 0.95rem;
}

/* --- Ripple Click Effect --- */
.card:not(:has(.star-rating))::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(76, 29, 149, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    z-index: 0;
    pointer-events: none;
}

.card:not(:has(.star-rating)):active::after {
    width: 300px;
    height: 300px;
    opacity: 1;
    transition: 0s;
}

/* --- Animated Underline on Card Buttons --- */
.card .btn-primary::before {
    content: "";
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.7);
    transition: width 0.3s ease, left 0.3s ease;
    z-index: 2;
}

.card .btn-primary:hover::before {
    width: 60%;
    left: 20%;
}

/* --- Featured Badge Ribbon --- */
.card-ribbon {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--brand-coral);
    color: #fff;
    padding: 4px 14px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 50px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
    pointer-events: none;
}

/* --- Image Parallax on Hover --- */
.card-img-top {
    transition: transform 0.4s ease;
}

.card:hover .card-img-top {
    transform: scale(1.04);
}

/* ------------------------------
   Forms polish
-------------------------------- */
.form-control,
.form-select {
    border-radius: 10px;
    border-color: rgba(30, 27, 46, 0.18);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

textarea.form-control {
    min-height: 120px;
}

input[type="file"].form-control {
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
}

/* ------------------------------
   Alerts polish
-------------------------------- */
.alert {
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0.9rem 1.1rem;
}

/* ------------------------------
   Admin page improvements
-------------------------------- */
.admin-page-header .btn {
    border-radius: 12px;
}

.admin-wrapper .card {
    background: rgba(255, 255, 255, 0.92);
}

/* ------------------------------
   Admin Table Responsive & Horizontal Scroll Fixes
-------------------------------- */
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.admin-wrapper .card-body {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.admin-wrapper .table {
    margin-bottom: 0;
    min-width: 680px; /* Ensures tables scroll horizontally on mobile rather than squeezing columns */
}

@media (max-width: 767.98px) {
    .admin-wrapper {
        padding: 1rem 0.5rem;
    }
    
    .admin-wrapper .card-body {
        padding: 0.75rem;
    }
}

/* ------------------------------
   Small utility helpers
-------------------------------- */
.text-muted-soft {
    color: rgba(30, 27, 46, 0.72) !important;
}

.mt-6 {
    margin-top: 3.5rem !important;
}

.mb-6 {
    margin-bottom: 3.5rem !important;
}

/* ==========================================================
   Admin hardening: ensure UI is always clickable
   ==========================================================
   The symptom: clicks don't reach inputs at all.
   This is typically caused by an overlay/backdrop/modal element
   sitting above the UI with pointer-events capturing clicks.
*/
body.admin-panel {
    position: relative;
}

/* Only disable interaction on BACKDROPS/OVERLAY layers that typically block clicks */
body.admin-panel .modal-backdrop,
body.admin-panel .backdrop,
body.admin-panel .overlay {
    pointer-events: none !important;
}

/*
 * Do NOT disable pointer-events on `.modal` itself; in some layouts,
 * the `.modal` element can contain the form controls.
 */

/* Hard guarantee: form controls must remain interactive */
body.admin-panel input,
body.admin-panel textarea,
body.admin-panel select,
body.admin-panel button {
    pointer-events: auto !important;
}

/* ------------------------------
   Language Switcher
-------------------------------- */
.lang-switcher-wrapper {
    margin-left: auto;
}

.lang-switcher-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.86) !important;
    font-size: 0.92rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    padding: 8px 14px;
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease;
}

.lang-switcher-btn:hover,
.lang-switcher-btn:focus {
    color: #ffffff !important;
    background: var(--brand-teal);
}

.lang-switcher-btn .fa-globe {
    font-size: 0.95rem;
}

.lang-dropdown {
    min-width: 160px;
    background: var(--brand-green-dark);
    border: 0;
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(30, 27, 46, 0.25);
    padding: 6px 0;
    margin-top: 6px;
    animation: langDropIn 0.2s ease;
}

@keyframes langDropIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lang-dropdown .dropdown-item {
    color: rgba(255, 255, 255, 0.86);
    padding: 8px 16px;
    font-size: 0.92rem;
    font-weight: 500;
    border-radius: 0;
    transition: background 0.15s ease, color 0.15s ease;
}

.lang-dropdown .dropdown-item:hover,
.lang-dropdown .dropdown-item:focus {
    color: #ffffff;
    background: var(--brand-teal);
}

.lang-dropdown .dropdown-item.active {
    color: #ffffff;
    background: rgba(76, 29, 149, 0.35);
    font-weight: 700;
}

.lang-dropdown .dropdown-item.active::before {
    content: "\2713";
    margin-right: 8px;
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .lang-switcher-wrapper {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 8px;
        margin-top: 8px;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .lang-switcher-btn {
        margin-left: auto;
        margin-right: auto;
        max-width: 180px;
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
    }
}

/* RTL Support - Override mobile language switcher centering */
[dir="rtl"] .lang-switcher-wrapper {
    text-align: center;
}

/* ============================================================
   ABOUT PAGE — Premium Redesign
   ============================================================ */

/* --- About Hero Banner --- */
.about-hero {
    position: relative;
    background: linear-gradient(135deg, var(--brand-green-dark) 0%, #2d1056 50%, var(--brand-green-dark) 100%);
    background-size: 200% 200%;
    animation: aboutHeroGradient 12s ease infinite;
    min-height: clamp(260px, 40vh, 380px);
    display: flex;
    align-items: center;
    color: #ffffff;
    padding: 60px 0 48px;
    overflow: hidden;
}

@keyframes aboutHeroGradient {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(124, 58, 237, 0.25), transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(220, 38, 38, 0.18), transparent 50%);
    pointer-events: none;
}

.about-hero-title {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

.about-hero-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    margin: 14px 0 0;
    background: linear-gradient(90deg, var(--brand-gold), var(--brand-teal));
    border-radius: 999px;
}

.about-hero-subtitle {
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    font-weight: 400;
    line-height: 1.7;
    max-width: 580px;
}

.page-back-btn-hero {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
}

.page-back-btn-hero:hover,
.page-back-btn-hero:focus {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* --- About Section shared --- */
.about-section {
    position: relative;
}

.about-intro-text {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #374151;
}


/* --- Scroll-triggered animations --- */
.about-animate {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-animate.about-visible {
    opacity: 1;
    transform: translateY(0);
}

.about-animate-delay-1 {
    transition-delay: 0.15s;
}

.about-animate-delay-2 {
    transition-delay: 0.3s;
}

.about-animate-delay-3 {
    transition-delay: 0.45s;
}

/* --- Mission / Vision Cards (Glassmorphism) --- */
.about-card {
    position: relative;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 2.5rem 2rem 2rem;
    box-shadow: 0 8px 32px rgba(30, 27, 46, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    overflow: hidden;
    height: 100%;
}

.about-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--brand-green), var(--brand-teal), var(--brand-gold));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.about-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 16px 48px rgba(76, 29, 149, 0.14), 0 4px 16px rgba(153, 27, 27, 0.08);
}

.about-card:hover::before {
    opacity: 1;
}

.about-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--brand-green), var(--brand-teal));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 6px 20px rgba(153, 27, 27, 0.25);
    transition: transform 0.3s ease;
}

.about-card:hover .about-card-icon {
    transform: scale(1.08) rotate(-4deg);
}

.about-card-icon-vision {
    background: linear-gradient(135deg, var(--brand-teal), var(--brand-gold));
    box-shadow: 0 6px 20px rgba(76, 29, 149, 0.25);
}

.about-card-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--brand-green-dark);
    margin-bottom: 0.85rem;
}

.about-card-title::after {
    margin: 10px 0 0;
    width: 50px;
}

.about-card-text {
    font-size: 0.98rem;
    line-height: 1.8;
    color: #4b5563;
}

/* --- About Stats Section --- */
.about-stats-section {
    background:
        linear-gradient(135deg, rgba(245, 243, 255, 0.95), rgba(254, 242, 242, 0.92)) !important;
}

.about-stat-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 18px;
    padding: 2rem 1rem 1.5rem;
    box-shadow: 0 4px 20px rgba(30, 27, 46, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(76, 29, 149, 0.12);
}

.about-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-green), var(--brand-teal));
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 14px rgba(153, 27, 27, 0.2);
}

.about-stat-number {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 900;
    color: var(--brand-green-dark);
    line-height: 1.1;
    margin-bottom: 0.35rem;
}

.about-stat-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--brand-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* --- About Photo hover effects --- */
.about-photo-item img {
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-photo-item:hover img {
    transform: scale(1.06);
}

.about-photo-item figcaption {
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-photo-item:hover figcaption {
    transform: translateY(0);
}

/* --- About page responsive --- */
@media (max-width: 767.98px) {
    .about-hero {
        min-height: 220px;
        padding: 48px 0 36px;
    }

    .about-hero-title {
        font-size: 1.6rem;
    }

    .about-card {
        padding: 1.75rem 1.25rem 1.5rem;
    }

    .about-card-icon {
        width: 46px;
        height: 46px;
        font-size: 1.15rem;
    }

    .about-stat-card {
        padding: 1.5rem 0.75rem 1.2rem;
    }
}

@media (max-width: 399.98px) {
    .about-hero {
        min-height: 180px;
        padding: 40px 0 28px;
    }

    .about-hero-title {
        font-size: 1.35rem;
    }

    .about-stat-number {
        font-size: 1.6rem;
    }

    .about-stat-label {
        font-size: 0.78rem;
    }
}
/* ==========================================
   MOBILE NAVBAR FIX
   ========================================== */
@media (max-width: 991.98px) {

    .navbar {
        padding: .6rem 1rem;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        background: linear-gradient(135deg,#7f1d1d,#2d1056);

        padding: 15px;

        border-radius: 0 0 12px 12px;

        box-shadow: 0 12px 30px rgba(0,0,0,.25);

        z-index: 9999;
    }

    .navbar-nav {
        width: 100%;
        gap: 0;
    }

    .navbar-nav .nav-item{
        width:100%;
    }

    .navbar-nav .nav-link{
        display:block;
        padding:14px 16px;
        border-bottom:1px solid rgba(255,255,255,.08);
    }

    .navbar-nav .nav-item:last-child .nav-link{
        border-bottom:none;
    }

    .dropdown-menu{
        position:static !important;
        transform:none !important;
        float:none;
        width:100%;
        margin-top:8px;
        border-radius:8px;
    }

    .dropdown-item{
        padding:12px 18px;
    }

    .lang-switcher-wrapper{
        width:100%;
        margin-top:10px;
    }

    .lang-switcher-btn{
        width:100%;
        justify-content:center;
    }

    .whatsapp-float{
        z-index:50;
    }

    .navbar-collapse.show ~ .whatsapp-float{
        display:none;
    }

    .blog-detail-hero {
        height: 300px;
    }
}

/* ============================
   Blog Detail Page
   ============================ */
.blog-detail-section {
    overflow-x: hidden;
}

.blog-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px;
    width: 100%;
    box-sizing: border-box;
}

.blog-detail-hero {
    width: 100%;
    max-width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 24px;
    display: block;
    margin: 0 auto 2rem;
}

.blog-detail-content {
    max-width: 850px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.blog-detail-content h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--brand-ink);
}

.blog-detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    color: var(--brand-muted);
    font-size: 0.95rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.blog-detail-body {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #374151;
}

.blog-detail-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    margin: 1.5rem auto;
}

.blog-detail-body p {
    margin-bottom: 1.25rem;
}

.blog-detail-body h2,
.blog-detail-body h3,
.blog-detail-body h4 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--brand-ink);
}

.blog-detail-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* ============================================================
   HAJJ INTRODUCTION SECTION
   ============================================================ */

/* Fade-in animation */
@keyframes hajjIntroFadeUp {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hajj-intro-section {
    position: relative;
    padding: 80px 0 88px;
    overflow: hidden;
}

/* Islamic geometric SVG pattern overlay */
.hajj-intro-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23991b1b' stroke-width='0.6' opacity='0.12'%3E%3Cpolygon points='40,4 52,16 68,16 68,32 80,40 68,48 68,64 52,64 40,76 28,64 12,64 12,48 0,40 12,32 12,16 28,16'/%3E%3Cpolygon points='40,14 50,22 62,22 62,34 72,40 62,46 62,58 50,58 40,66 30,58 18,58 18,46 8,40 18,34 18,22 30,22'/%3E%3Ccircle cx='40' cy='40' r='8'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 80px 80px;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}

.hajj-intro-section .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
}

/* Animate in when visible */
.hajj-intro-section.is-visible .hajj-intro-badge,
.hajj-intro-section.is-visible .hajj-intro-heading,
.hajj-intro-section.is-visible .hajj-intro-desc,
.hajj-intro-section.is-visible .hajj-intro-cards {
    animation: hajjIntroFadeUp 0.65s ease both;
}
.hajj-intro-section.is-visible .hajj-intro-heading  { animation-delay: 0.08s; }
.hajj-intro-section.is-visible .hajj-intro-desc     { animation-delay: 0.16s; }
.hajj-intro-section.is-visible .hajj-intro-cards    { animation-delay: 0.24s; }

/* Badge / subtitle */
.hajj-intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(153,27,27,0.1), rgba(76,29,149,0.08));
    border: 1px solid rgba(153,27,27,0.25);
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 18px;
}

.hajj-intro-badge i {
    font-size: 0.9rem;
    color: var(--color-primary);
}

/* Heading */
.hajj-intro-heading {
    font-size: clamp(1.35rem, 2.6vw, 1.85rem);
    font-weight: 800;
    line-height: 1.25;
    color: var(--color-text-primary);
    margin-bottom: 16px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.hajj-intro-heading span {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Description */
.hajj-intro-desc {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--color-text-muted);
    max-width: 640px;
    margin: 0 auto 52px;
}

.hajj-intro-section .hajj-intro-desc:last-child {
    margin-bottom: 0;
}

/* Cards grid */
.hajj-intro-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 0;
}

/* Individual card */
.hajj-intro-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 32px 24px 28px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
    border: 1px solid rgba(153,27,27,0.07);
    transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.28s ease, border-color 0.28s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.hajj-intro-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(153,27,27,0.03), rgba(76,29,149,0.04));
    opacity: 0;
    transition: opacity 0.28s ease;
    border-radius: 18px;
}

.hajj-intro-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 40px rgba(153,27,27,0.12), 0 4px 12px rgba(0,0,0,0.07);
    border-color: rgba(153,27,27,0.18);
}

.hajj-intro-card:hover::after {
    opacity: 1;
}

/* Card icon wrapper */
.hajj-intro-card-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(153,27,27,0.1) 0%, rgba(76,29,149,0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: background 0.28s ease, transform 0.28s ease;
}

.hajj-intro-card:hover .hajj-intro-card-icon {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    transform: scale(1.1) rotate(-5deg);
}

.hajj-intro-card-icon i {
    font-size: 1.6rem;
    color: var(--color-primary);
    transition: color 0.28s ease;
}

.hajj-intro-card:hover .hajj-intro-card-icon i {
    color: #ffffff;
}

/* Card title */
.hajj-intro-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 10px;
    line-height: 1.3;
}

/* Card description */
.hajj-intro-card-desc {
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

/* Decorative bottom accent on card */
.hajj-intro-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    border-radius: 2px 2px 0 0;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    opacity: 0;
    transition: opacity 0.28s ease, width 0.28s ease;
}

.hajj-intro-card:hover::before {
    opacity: 1;
    width: 60px;
}

/* CTA button */
.hajj-intro-cta .btn-hajj-intro {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: linear-gradient(135deg, var(--color-primary), #b91c1c);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(153,27,27,0.32);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
    letter-spacing: 0.01em;
}

.hajj-intro-cta .btn-hajj-intro:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(153,27,27,0.4);
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    color: #ffffff;
}

.hajj-intro-cta .btn-hajj-intro i {
    font-size: 0.9rem;
    transition: transform 0.22s ease;
}

.hajj-intro-cta .btn-hajj-intro:hover i {
    transform: translateX(4px);
}

/* Responsive — tablet */
@media (max-width: 991px) {
    .hajj-intro-section {
        padding: 64px 0 72px;
    }

    .hajj-intro-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Responsive — mobile */
@media (max-width: 575px) {
    .hajj-intro-section {
        padding: 48px 0 56px;
    }

    .hajj-intro-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hajj-intro-card {
        padding: 24px 20px 22px;
    }

    .hajj-intro-desc {
        font-size: 0.97rem;
        margin-bottom: 36px;
    }
}

/* ── Introduction Section Images ──────────────────────── */
.intro-images-section {
    background-color: #f8f9fa;
}

.intro-images-section .row {
    justify-content: center;
}

.intro-image-card {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.intro-image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.intro-image-card img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .intro-image-card img {
        height: auto;
    }
}

@media (max-width: 576px) {
    .intro-image-card img {
        height: auto;
    }
}