/* ==========================================================================
   1. CSS Variables & Base Resets
   ========================================================================== */
:root {
    --brand-primary: #1B365D;
    --brand-primary-dark: #10233E;
    --brand-primary-light: #EAF0F8;
    --brand-accent: #D97724;
    --brand-accent-hover: #BC6116;
    --brand-teal: #1E6B52;
    --brand-gold: #F2B705;
    --bg-ivory: #FCFBF9;
    --bg-sand: #F4EFE8;
    --text-charcoal: #1E2530;
    --text-muted-custom: #566273;
    --border-subtle: rgba(27, 54, 93, 0.12);

    /* Bootstrap Overrides */
    --bs-primary: #1B365D;
    --bs-primary-rgb: 27, 54, 93;
    --bs-secondary: #D97724;
    --bs-secondary-rgb: 217, 119, 36;
    --bs-body-bg: #FCFBF9;
    --bs-body-color: #1E2530;
    --bs-font-sans-serif: 'Plus Jakarta Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-ivory);
    color: var(--text-charcoal);
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
    line-height: 1.7;
}

h1, h2, h3, h4, .font-serif {
    font-family: 'Playfair Display', serif;
    color: var(--brand-primary);
}

/* ==========================================================================
   2. Utility & Typography Classes
   ========================================================================== */
.section-padding { padding: 5rem 0; }
.section-eyebrow {
    color: var(--brand-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.82rem;
    display: block;
    margin-bottom: 0.5rem;
}
.section-heading { font-size: clamp(1.85rem, 3.2vw, 2.55rem); margin-bottom: 1rem; }
.section-subtitle { max-width: 680px; color: var(--text-muted-custom); }

.text-muted-brand { color: var(--text-muted-custom); }
.text-accent-brand { color: var(--brand-accent); }
.text-primary-brand { color: var(--brand-primary); }
.bg-sand-surface { background-color: var(--bg-sand); }
.highlight-gold { color: var(--brand-gold); font-weight: 600; }
.hero-eyebrow-gold { color: var(--brand-gold); letter-spacing: 0.08em; }

.badge-accent { background-color: var(--brand-accent); color: #FFFFFF; }
.badge-teal { background-color: var(--brand-teal); color: #FFFFFF; }
.badge-soft-primary { background-color: var(--brand-primary-light); color: var(--brand-primary); }

/* ==========================================================================
   3. Buttons
   ========================================================================== */
.btn-emerald {
    background-color: var(--brand-primary);
    color: #FFFFFF;
    border: 1px solid var(--brand-primary);
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}
.btn-emerald:hover, .btn-emerald:focus {
    background-color: var(--brand-primary-dark);
    border-color: var(--brand-primary-dark);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(27, 54, 93, 0.24);
}

.btn-terracotta {
    background-color: var(--brand-accent);
    color: #FFFFFF;
    border: 1px solid var(--brand-accent);
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}
.btn-terracotta:hover, .btn-terracotta:focus {
    background-color: var(--brand-accent-hover);
    border-color: var(--brand-accent-hover);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(217, 119, 36, 0.3);
}

.btn-outline-emerald {
    background-color: transparent;
    color: var(--brand-primary);
    border: 1.5px solid var(--brand-primary);
    padding: 0.7rem 1.65rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}
.btn-outline-emerald:hover {
    background-color: var(--brand-primary);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.btn-gold-pill {
    background-color: var(--brand-gold);
    color: var(--brand-primary-dark);
    font-weight: 700;
    border-radius: 50px;
    padding: 0.4rem 1.1rem;
    border: none;
    transition: all 0.25s ease;
}
.btn-gold-pill:hover {
    background-color: #FFFFFF;
    color: var(--brand-primary-dark);
}

/* ==========================================================================
   4. Top Bar & Navigation
   ========================================================================== */
.top-institutional-bar {
    background-color: var(--brand-primary-dark);
    color: #EAF0F8;
    font-size: 0.85rem;
    padding: 0.5rem 0;
    border-bottom: 2px solid var(--brand-gold);
}
.top-institutional-bar a { color: var(--brand-gold); text-decoration: none; transition: color 0.2s; }
.top-institutional-bar a:hover { color: #FFFFFF; }

.navbar-custom {
    background-color: rgba(252, 251, 249, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}
.navbar-custom.scrolled {
    box-shadow: 0 8px 30px rgba(27, 54, 93, 0.1);
    padding: 0.55rem 0;
}

.brand-logo-img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 50%;
    background: #FFFFFF;
    padding: 2px;
    box-shadow: 0 4px 12px rgba(27, 54, 93, 0.18);
    border: 2.5px solid var(--brand-gold);
    transition: transform 0.3s ease;
}
.navbar-brand:hover .brand-logo-img { transform: scale(1.05); }

.navbar-brand-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--brand-primary);
    line-height: 1.15;
}
.navbar-brand-subtitle {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-accent);
    font-weight: 700;
}
.navbar-toggler-text {
    color: var(--brand-primary);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.4rem 0.85rem;
    border: 1.5px solid var(--brand-primary);
    border-radius: 8px;
}

.navbar-nav .nav-link {
    color: var(--text-charcoal);
    font-weight: 600;
    font-size: 0.94rem;
    padding: 0.6rem 1rem !important;
    border-radius: 8px;
    transition: all 0.25s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active,
.navbar-nav .show > .nav-link {
    color: var(--brand-accent);
    background-color: rgba(217, 119, 36, 0.09);
}

.dropdown-menu-custom {
    background-color: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-top: 3px solid var(--brand-gold);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(27, 54, 93, 0.13);
    padding: 0.65rem;
    min-width: 245px;
    margin-top: 0.1rem;
}
.dropdown-item-custom {
    color: var(--text-charcoal);
    font-weight: 500;
    font-size: 0.92rem;
    padding: 0.6rem 0.95rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
}
.dropdown-item-custom:hover, .dropdown-item-custom:focus {
    background-color: var(--brand-primary-light);
    color: var(--brand-primary);
    font-weight: 600;
    transform: translateX(3px);
}

.dropdown-submenu { position: relative; }
.dropdown-submenu > .dropdown-menu { top: 0; left: 100%; margin-top: -0.4rem; margin-left: 0.25rem; }

@media (min-width: 992px) {
    .navbar-nav .dropdown:hover > .dropdown-menu,
    .dropdown-submenu:hover > .dropdown-menu { display: block; }
}
@media (max-width: 991.98px) {
    .dropdown-submenu > .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        border-left: 2px solid var(--brand-accent);
        border-radius: 0;
        margin-left: 1rem;
        padding-left: 0.5rem;
    }
}

/* ==========================================================================
   5. Heroes (Home Slider & Inner Page Hero)
   ========================================================================== */
/* Home Hero Slider */
.hero-slider-wrapper { position: relative; background-color: var(--brand-primary-dark); color: #FFFFFF; }
.hero-slide { position: relative; height: 650px; display: flex; align-items: center; padding: 4rem 0 5.5rem; overflow: hidden; }
.hero-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; z-index: 1; }
.hero-overlay-1 { background: linear-gradient(120deg, rgba(16, 35, 62, 0.93) 0%, rgba(27, 54, 93, 0.85) 55%, rgba(30, 107, 82, 0.78) 100%); }
.hero-overlay-2 { background: linear-gradient(120deg, rgba(16, 35, 62, 0.92) 0%, rgba(27, 54, 93, 0.84) 60%, rgba(217, 119, 36, 0.75) 100%); }
.hero-overlay-3 { background: linear-gradient(120deg, rgba(16, 35, 62, 0.93) 0%, rgba(30, 107, 82, 0.84) 55%, rgba(217, 119, 36, 0.8) 100%); }
.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(242, 183, 5, 0.14) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 2;
}
.hero-content-layer { position: relative; z-index: 3; }

@media (max-width: 991.98px) { .hero-slide { height: 780px; padding: 3.5rem 0 5.5rem; } }
@media (max-width: 575.98px) { .hero-slide { height: 860px; padding: 3rem 0 5.5rem; } }

.hero-badge {
    display: inline-block;
    background-color: rgba(242, 183, 5, 0.18);
    border: 1px solid rgba(242, 183, 5, 0.65);
    color: #FFF0A6;
    padding: 0.45rem 1.15rem;
    border-radius: 50px;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}
.hero-title { color: #FFFFFF; font-size: clamp(2.15rem, 4.3vw, 3.45rem); line-height: 1.15; margin-top: 1.25rem; margin-bottom: 1.15rem; }
.hero-motto { font-family: 'Playfair Display', serif; font-style: italic; color: var(--brand-gold); font-size: 1.25rem; margin-bottom: 1rem; }
.hero-lead { color: rgba(255, 255, 255, 0.92); font-size: 1.06rem; max-width: 620px; margin-bottom: 2rem; }

.hero-card {
    background: rgba(16, 35, 62, 0.78);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(242, 183, 5, 0.35);
    border-radius: 22px;
    padding: 2rem;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}
.hero-card-header { border-bottom: 1px solid rgba(255, 255, 255, 0.15); padding-bottom: 1rem; margin-bottom: 1rem; }
.hero-emblem-sm { width: 58px; height: 58px; border-radius: 50%; background: #FFFFFF; padding: 2px; border: 2px solid var(--brand-gold); object-fit: contain; }
.hero-stat-box { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(242, 183, 5, 0.32); border-radius: 14px; padding: 1.1rem; height: 100%; }
.hero-stat-number { font-family: 'Playfair Display', serif; font-size: 1.75rem; font-weight: 700; color: var(--brand-gold); line-height: 1.1; }
.hero-trustee-strip { background-color: rgba(255, 255, 255, 0.08); border-radius: 12px; padding: 0.85rem 1rem; }

.hero-slider-controls { position: absolute; bottom: 1.5rem; left: 0; right: 0; z-index: 10; }
.slider-nav-btn {
    background-color: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    border: 1px solid rgba(242, 183, 5, 0.45);
    border-radius: 50px;
    padding: 0.4rem 1.15rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: all 0.25s ease;
}
.slider-nav-btn:hover { background-color: var(--brand-gold); color: var(--brand-primary-dark); border-color: var(--brand-gold); }
.hero-indicators { position: static; margin: 0; gap: 0.5rem; }
.hero-indicators [data-bs-target] { width: 28px; height: 4px; border-radius: 4px; background-color: rgba(255, 255, 255, 0.4); border: none; margin: 0; }
.hero-indicators .active { background-color: var(--brand-gold); width: 42px; }

/* Inner Page Hero */
.inner-hero {
    position: relative;
    background: linear-gradient(120deg, rgba(16, 35, 62, 0.94) 0%, rgba(27, 54, 93, 0.88) 60%, rgba(30, 107, 82, 0.82) 100%);
    color: #FFFFFF;
    padding: 4.5rem 0 4rem;
    border-bottom: 4px solid var(--brand-gold);
    overflow: hidden;
}
.inner-hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(242, 183, 5, 0.14) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}
.inner-hero-title { color: #FFFFFF; font-size: clamp(2rem, 4vw, 3rem); margin-top: 0.75rem; margin-bottom: 0.75rem; }
.breadcrumb-custom {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(242, 183, 5, 0.4);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.84rem;
}
.breadcrumb-custom a { color: var(--brand-gold); text-decoration: none; font-weight: 600; }
.breadcrumb-custom span { color: rgba(255, 255, 255, 0.8); }

/* ==========================================================================
   6. Cards, Objectives & Features
   ========================================================================== */
.elegant-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    padding: 2rem;
    height: 100%;
    transition: all 0.35s ease;
    box-shadow: 0 6px 20px rgba(27, 54, 93, 0.04);
}
.elegant-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(27, 54, 93, 0.12);
    border-color: rgba(217, 119, 36, 0.4);
}
.vision-card { border-left: 5px solid var(--brand-primary); }
.mission-card { border-left: 5px solid var(--brand-accent); }

.objective-tag {
    display: inline-block;
    background-color: var(--brand-primary-light);
    color: var(--brand-primary);
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}
.elegant-card:hover .objective-tag { background-color: var(--brand-accent); color: #FFFFFF; }

.objective-item-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-left: 4px solid var(--brand-primary);
    border-radius: 14px;
    padding: 1.25rem 1.4rem;
    height: 100%;
    transition: all 0.25s ease;
}
.objective-item-card:hover {
    border-left-color: var(--brand-accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(27, 54, 93, 0.08);
}
.obj-num {
    display: inline-block;
    background-color: var(--brand-primary-light);
    color: var(--brand-primary);
    font-weight: 700;
    font-size: 0.78rem;
    padding: 0.2rem 0.65rem;
    border-radius: 50px;
    margin-bottom: 0.5rem;
}

.feature-img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(27, 54, 93, 0.14);
    border: 4px solid #FFFFFF;
}
.feature-img-wrapper img { width: 100%; height: 360px; object-fit: cover; transition: transform 0.5s ease; }
.feature-img-wrapper:hover img { transform: scale(1.04); }
.feature-img-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(16, 35, 62, 0.92), transparent);
    color: #FFFFFF;
    padding: 2rem 1.5rem 1.25rem;
}

/* ==========================================================================
   7. Programmes, CSR & Timeline Track
   ========================================================================== */
.anchor-strip { background-color: #FFFFFF; border-bottom: 1px solid var(--border-subtle); padding: 1rem 0; }
.anchor-pill {
    display: inline-block;
    padding: 0.45rem 1.05rem;
    border-radius: 50px;
    background-color: var(--brand-primary-light);
    color: var(--brand-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}
.anchor-pill:hover { background-color: var(--brand-primary); color: #FFFFFF; }

.programme-block {
    background-color: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: 22px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(27, 54, 93, 0.06);
    margin-bottom: 3rem;
    scroll-margin-top: 100px;
}
.programme-img { width: 100%; height: 330px; object-fit: cover; border-radius: 16px; border: 1px solid var(--border-subtle); }
.deliverable-box { background-color: var(--bg-sand); border-left: 4px solid var(--brand-accent); border-radius: 12px; padding: 1.15rem; height: 100%; }

.csr-nav-pills .nav-link {
    background-color: #FFFFFF;
    color: var(--text-charcoal);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 0.95rem 1.25rem;
    font-weight: 600;
    text-align: left;
    margin-bottom: 0.65rem;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.csr-nav-pills .nav-link:hover { border-color: var(--brand-accent); color: var(--brand-primary); }
.csr-nav-pills .nav-link.active { background-color: var(--brand-primary); color: #FFFFFF; border-color: var(--brand-primary); box-shadow: 0 10px 24px rgba(27, 54, 93, 0.22); }
.csr-framework-box { background-color: var(--brand-primary-light); border: 1px solid rgba(27, 54, 93, 0.18); border-radius: 20px; scroll-margin-top: 100px; }
.csr-tab-img { width: 100%; height: auto; object-fit: cover; border-radius: 14px; margin-bottom: 1.25rem; border: 1px solid var(--border-subtle); }

.track-item { position: relative; padding-left: 2rem; padding-bottom: 1.75rem; border-left: 2px solid rgba(217, 119, 36, 0.38); }
.track-item:last-child { border-left-color: transparent; padding-bottom: 0; }
.track-dot { position: absolute; left: -9px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background-color: var(--brand-accent); border: 3px solid var(--bg-sand); }

/* ==========================================================================
   8. Legal, Trustees, Tables & Partners
   ========================================================================== */
.legal-card { background-color: var(--brand-primary); color: #FFFFFF; border-radius: 20px; padding: 2.25rem; border-top: 4px solid var(--brand-gold); }
.legal-row { border-bottom: 1px solid rgba(255, 255, 255, 0.14); padding: 0.85rem 0; }
.legal-row:last-child { border-bottom: none; }
.legal-note-box { background-color: rgba(255, 255, 255, 0.09); color: #FFF0A6; border-radius: 12px; padding: 1rem; margin-top: 1.5rem; }

.trustee-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--brand-primary);
    color: var(--brand-gold);
    border: 1.5px solid var(--brand-gold);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.table-custom thead th { background-color: var(--brand-primary); color: #FFFFFF; font-weight: 600; border: none; padding: 0.9rem 1rem; }
.table-custom tbody td { padding: 0.9rem 1rem; vertical-align: middle; border-color: var(--border-subtle); }
.table-custom tbody tr:hover { background-color: var(--brand-primary-light); }

.partner-badge {
    background-color: #FFFFFF;
    border: 1px solid var(--border-subtle);
    color: var(--brand-primary);
    padding: 0.65rem 1.2rem;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    display: inline-block;
    transition: all 0.25s ease;
}
.partner-badge:hover { background-color: var(--brand-primary); color: #FFFFFF; border-color: var(--brand-primary); }

/* ==========================================================================
   9. Gallery, Filters & Lightbox
   ========================================================================== */
.gallery-card { position: relative; border-radius: 18px; overflow: hidden; height: 270px; box-shadow: 0 10px 26px rgba(27, 54, 93, 0.1); }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.gallery-card:hover img { transform: scale(1.06); }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(16, 35, 62, 0.9) 10%, rgba(16, 35, 62, 0.15) 70%, transparent); display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; color: #FFFFFF; }

.filter-btn {
    background-color: #FFFFFF;
    color: var(--brand-primary);
    border: 1.5px solid var(--border-subtle);
    border-radius: 50px;
    padding: 0.55rem 1.35rem;
    font-weight: 600;
    font-size: 0.88rem;
    transition: all 0.25s ease;
    cursor: pointer;
}
.filter-btn:hover, .filter-btn.active {
    background-color: var(--brand-primary);
    color: #FFFFFF;
    border-color: var(--brand-primary);
    box-shadow: 0 8px 20px rgba(27, 54, 93, 0.18);
}

.photo-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 8px 24px rgba(27, 54, 93, 0.06);
    transition: all 0.35s ease;
    cursor: pointer;
}
.photo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(27, 54, 93, 0.14);
    border-color: rgba(217, 119, 36, 0.45);
}
.photo-thumb-wrap { position: relative; height: 245px; overflow: hidden; background-color: var(--brand-primary-light); }
.photo-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.photo-card:hover .photo-thumb-wrap img { transform: scale(1.07); }
.photo-zoom-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(16, 35, 62, 0.82);
    color: var(--brand-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.photo-card:hover .photo-zoom-badge { opacity: 1; }
.photo-cat-tag {
    display: inline-block;
    background-color: var(--brand-primary-light);
    color: var(--brand-primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 0.6rem;
}

.lightbox-modal .modal-content { background-color: var(--brand-primary-dark); color: #FFFFFF; border: 2px solid var(--brand-gold); border-radius: 20px; overflow: hidden; }
.lightbox-img { width: 100%; max-height: 70vh; object-fit: contain; background-color: #091526; }

/* ==========================================================================
   10. Contact, Map, Footer & UI Overlays
   ========================================================================== */
.contact-badge-box {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background-color: var(--brand-primary-light);
    color: var(--brand-primary);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.map-frame { width: 100%; height: 300px; border: 0; border-radius: 18px; box-shadow: 0 10px 28px rgba(27, 54, 93, 0.1); }

.footer-elegant {
    background-color: var(--brand-primary-dark);
    color: rgba(255, 255, 255, 0.85);
    padding-top: 4.5rem;
    padding-bottom: 2rem;
    border-top: 4px solid var(--brand-gold);
}
.footer-logo-img { width: 62px; height: 62px; border-radius: 50%; background: #FFFFFF; padding: 2px; border: 2px solid var(--brand-gold); object-fit: contain; }
.footer-heading { letter-spacing: 0.06em; }
.footer-link { color: rgba(255, 255, 255, 0.78); text-decoration: none; display: inline-block; margin-bottom: 0.5rem; transition: color 0.2s; }
.footer-link:hover { color: var(--brand-gold); }

#customToastBox {
    position: fixed;
    bottom: 90px;
    right: 24px;
    z-index: 1060;
    max-width: 360px;
    background-color: var(--brand-primary-dark);
    color: #FFFFFF;
    border-left: 5px solid var(--brand-gold);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    display: none;
}

#moveToTopBtn {
    position: fixed;
    bottom: 26px;
    right: 26px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--brand-accent);
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
    box-shadow: 0 10px 25px rgba(27, 54, 93, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 1050;
}
#moveToTopBtn.show { opacity: 1; visibility: visible; transform: translateY(0); }
#moveToTopBtn:hover { background-color: var(--brand-primary); transform: translateY(-4px); }

/* Page Preloader */
.page-loader { position: fixed; inset: 0; background-color: var(--bg-ivory); z-index: 9999; display: flex; align-items: center; justify-content: center; text-align: center; }
.loader-box { display: flex; flex-direction: column; align-items: center; padding: 1.5rem; }
.loader-ring { position: relative; width: 96px; height: 96px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.loader-ring::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 4px solid var(--brand-primary-light);
    border-top-color: var(--brand-accent);
    border-right-color: var(--brand-primary);
    animation: atrdSpin 0.95s linear infinite;
}
.loader-logo { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; }
.loader-title { font-family: 'Playfair Display', Georgia, serif; font-size: 1.15rem; font-weight: 700; color: var(--brand-primary); margin: 0 0 0.25rem 0; }
.loader-subtitle { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-accent); }

@keyframes atrdSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}