/**
 * Al-Makhdoom Haj Umrah Tours - Official Stylesheet
 * Luxury Royal Blue & Radiant Imperial Gold Theme
 * Inspired by Premier Arab Hospitality & Bulletproof Mobile Responsiveness
 */

:root {
    /* Royal Navy & Sapphire Blue Palette */
    --navy-deep: #06152B;
    --navy-royal: #0B2545;
    --navy-rich: #133E72;
    --blue-vivid: #1D58B5;
    --blue-bright: #2563EB;
    --blue-light: #60A5FA;
    --blue-ice: #F0F4FA;
    --blue-slate: #E2E8F0;
    --navy-glow: rgba(11, 37, 69, 0.35);

    /* Radiant Imperial & Metallic Gold Palette */
    --gold-radiant: #F59E0B;
    --gold-metallic: #D4AF37;
    --gold-bright: #FBBF24;
    --gold-sun: #FCD34D;
    --gold-light: #FEF3C7;
    --gold-dark: #B45309;
    --gold-deep: #92400E;
    --gold-glow: rgba(245, 158, 11, 0.45);

    /* Aliases for backwards compatibility with existing templates */
    --primary-emerald: #0B2545;
    --dark-emerald: #06152B;
    --emerald-vibrant: #133E72;
    --emerald-bright: #1D58B5;
    --emerald-glow: rgba(19, 62, 114, 0.35);
    --brand-terracotta: #D4AF37;
    --brand-copper: #E5A93C;
    --brand-copper-bright: #F59E0B;
    --brand-brown-dark: #06152B;
    --brand-brown-rich: #0B2545;
    --accent-gold: #F59E0B;

    /* Clean, Crisp Backgrounds & High Contrast Typography */
    --bg-pure: #FFFFFF;
    --bg-cream: #FFFFFF;
    --bg-sand: #F0F4FA;
    --bg-warm-sand: #EBF2FC;
    --bg-ice: #F8FAFC;
    --text-dark: #0F172A;
    --text-navy: #0B2545;
    --text-body: #334155;
    --text-muted: #64748B;

    /* Borders & Elevated Royal Shadows */
    --border-gold: rgba(212, 175, 55, 0.45);
    --border-navy: rgba(11, 37, 69, 0.25);
    --border-subtle: rgba(226, 232, 240, 0.9);
    --shadow-soft: 0 10px 30px rgba(11, 37, 69, 0.08);
    --shadow-hover: 0 18px 42px rgba(11, 37, 69, 0.18);
    --shadow-gold: 0 8px 26px rgba(245, 158, 11, 0.35);
    --shadow-card: 0 12px 36px rgba(11, 37, 69, 0.07);

    /* Typography */
    --font-heading: 'Cinzel', 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-arabic: 'Amiri', serif;
}

/* STRICT OVERFLOW PREVENTION ON ALL SCREENS */
html {
    overflow-x: clip !important;
    overflow-y: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0;
    padding: 0;
}

body {
    overflow-x: clip !important;
    overflow-y: visible !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative;
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-ice);
    line-height: 1.65;
}

@supports not (overflow-x: clip) {
    html, body {
        overflow-x: hidden !important;
    }
}

.site-main-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: clip !important;
    overflow-y: visible !important;
    position: relative;
}

@supports not (overflow-x: clip) {
    .site-main-wrapper {
        overflow-x: hidden !important;
    }
}

*, *::before, *::after {
    box-sizing: border-box;
}

img, svg, video, canvas, audio, embed, object {
    max-width: 100%;
    height: auto;
}

.container, .container-fluid {
    width: 100%;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
@media (min-width: 1400px) { .container { max-width: 1320px; } }

.row {
    margin-left: -10px;
    margin-right: -10px;
}

.row > * {
    padding-left: 10px;
    padding-right: 10px;
    max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.font-arabic {
    font-family: var(--font-arabic);
}

/* Background Helpers */
.bg-royal-navy {
    background: linear-gradient(135deg, #0B2545 0%, #133E72 50%, #06152B 100%) !important;
    color: #FFFFFF !important;
}

.bg-dark-emerald,
.bg-navy-deep {
    background: linear-gradient(180deg, #06152B 0%, #030B17 100%) !important;
    color: #FFFFFF !important;
}

.bg-emerald {
    background: linear-gradient(135deg, #0B2545 0%, #1D58B5 100%) !important;
    color: #FFFFFF !important;
}

.bg-light-cream,
.bg-pure-white {
    background-color: #FFFFFF !important;
}

.bg-sand,
.bg-ice {
    background-color: var(--blue-ice) !important;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(29, 88, 181, 0.05) 0%, transparent 45%),
        radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.07) 0%, transparent 45%) !important;
}

.bg-warm-sand {
    background: linear-gradient(180deg, #FFFFFF 0%, #F0F4FA 100%) !important;
}

.bg-gold {
    background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 50%, #D97706 100%) !important;
    color: #06152B !important;
    font-weight: 700;
}

.bg-terracotta {
    background: linear-gradient(135deg, #F59E0B 0%, #D4AF37 50%, #B45309 100%) !important;
    color: #06152B !important;
}

.bg-bronze {
    background: linear-gradient(135deg, #133E72 0%, #0B2545 100%) !important;
    color: #FFFFFF !important;
}

/* Text Colors */
.text-royal-navy { color: var(--navy-royal) !important; }
.text-navy-deep { color: var(--navy-deep) !important; }
.text-emerald { color: var(--navy-royal) !important; }
.text-emerald-bright { color: var(--blue-vivid) !important; }
.text-terracotta { color: var(--gold-dark) !important; }
.text-copper { color: var(--gold-metallic) !important; }
.text-brown { color: var(--navy-royal) !important; }
.text-gold { color: var(--gold-radiant) !important; }
.text-gold-metallic { color: var(--gold-metallic) !important; }
.text-gold-dark { color: #92400E !important; }
.bg-gold-subtle { background-color: #FEF3C7 !important; color: #0F172A !important; }
.badge.bg-gold-subtle { color: #0F172A !important; background-color: #FEF3C7 !important; border: 1.5px solid #D97706 !important; }
.badge-triple-price {
    background-color: #FEF3C7 !important;
    color: #0F172A !important;
    border: 1.5px solid #D97706 !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
}

/* Radiant Gradient Text */
.text-gradient-navy {
    background: linear-gradient(135deg, #0B2545 0%, #1D58B5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-emerald {
    background: linear-gradient(135deg, #0B2545 0%, #1D58B5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
    background: linear-gradient(135deg, #FFF9C4 0%, #FBBF24 45%, #F59E0B 80%, #D97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-terracotta {
    background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 50%, #B45309 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Border Helpers */
.border-gold { border-color: var(--gold-metallic) !important; }
.border-navy { border-color: var(--navy-royal) !important; }
.border-emerald { border-color: var(--navy-royal) !important; }
.border-terracotta { border-color: var(--gold-metallic) !important; }
.hover-gold:hover { color: var(--gold-bright) !important; }
.hover-underline:hover { text-decoration: underline !important; }

/* Topbar */
.topbar-wrap {
    background: linear-gradient(90deg, #040D1B 0%, #06152B 50%, #0B2545 100%);
    border-bottom: 2px solid var(--gold-metallic);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
    font-size: 0.83rem;
}

.topbar-link {
    transition: color 0.2s ease;
}

.topbar-link:hover {
    color: var(--gold-bright) !important;
}

/* Navbar */
.main-navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, #0B2545 0%, #D4AF37 50%, #1D58B5 100%) 1;
    box-shadow: 0 4px 24px rgba(11, 37, 69, 0.08);
    transition: all 0.3s ease;
}

.brand-logo-img {
    height: 48px;
    max-height: 48px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
}

.footer-logo {
    height: 50px;
    max-height: 50px;
    width: auto;
    max-width: 230px;
    object-fit: contain;
    display: block;
}

.navbar-toggler {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(11, 37, 69, 0.35) !important;
    border-radius: 8px;
    background: #FFFFFF;
    color: var(--navy-royal);
    padding: 0;
    transition: all 0.25s ease;
}

.navbar-toggler:hover, 
.navbar-toggler:focus {
    background: rgba(11, 37, 69, 0.08);
    border-color: var(--gold-metallic) !important;
    box-shadow: none !important;
}

@media (min-width: 992px) {
    .navbar-toggler {
        display: none !important;
    }
}

.navbar-nav .nav-link {
    font-weight: 700;
    color: #0F172A;
    padding: 0.65rem 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--blue-vivid) !important;
}

.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 1rem;
    right: 1rem;
    height: 3px;
    background: linear-gradient(90deg, var(--navy-royal), var(--gold-radiant));
    border-radius: 2px;
}

.nav-icon {
    color: var(--gold-radiant);
    font-size: 0.85rem;
}

/* Vibrant Buttons */
.btn-gold {
    background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 50%, #D97706 100%);
    color: #06152B !important;
    border: 1px solid #FCD34D;
    font-weight: 800;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #FFF9C4 0%, #FBBF24 50%, #F59E0B 100%);
    color: #000000 !important;
    border-color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(245, 158, 11, 0.55);
}

.btn-royal-blue,
.btn-emerald {
    background: linear-gradient(135deg, #1D58B5 0%, #0B2545 100%);
    color: #FFFFFF !important;
    border: 1px solid rgba(212, 175, 55, 0.6);
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(11, 37, 69, 0.32);
    transition: all 0.3s ease;
}

.btn-royal-blue:hover,
.btn-emerald:hover {
    background: linear-gradient(135deg, #2563EB 0%, #133E72 100%);
    color: #FFFFFF !important;
    border-color: var(--gold-bright);
    box-shadow: 0 10px 28px rgba(29, 88, 181, 0.45);
    transform: translateY(-2px);
}

.btn-terracotta {
    background: linear-gradient(135deg, #0B2545 0%, #133E72 60%, #D4AF37 100%);
    color: #FFFFFF !important;
    border: 1px solid var(--gold-metallic);
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(11, 37, 69, 0.28);
    transition: all 0.3s ease;
}

.btn-terracotta:hover {
    background: linear-gradient(135deg, #133E72 0%, #1D58B5 50%, #F59E0B 100%);
    color: #FFFFFF !important;
    border-color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(212, 175, 55, 0.45);
}

.btn-outline-gold {
    border: 2px solid var(--gold-radiant);
    color: var(--gold-dark);
    background: transparent;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 100%);
    color: #06152B;
    border-color: var(--gold-radiant);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
    transform: translateY(-2px);
}

.btn-outline-navy,
.btn-outline-emerald {
    border: 2px solid var(--navy-royal);
    color: var(--navy-royal);
    background: transparent;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-outline-navy:hover,
.btn-outline-emerald:hover {
    background: var(--navy-royal);
    color: #FFFFFF !important;
    box-shadow: 0 6px 20px rgba(11, 37, 69, 0.3);
    transform: translateY(-2px);
}

.btn-outline-terracotta {
    border: 2px solid var(--gold-metallic);
    color: var(--navy-royal);
    background: transparent;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-outline-terracotta:hover {
    background: var(--gold-metallic);
    color: #06152B;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
    transform: translateY(-2px);
}

/* ==========================================================================
   HERO CAROUSEL - RADIANT, VIVID, CRISP LUXURY (NO DULL MUD OVERLAY)
   ========================================================================== */
.hero-carousel-section {
    position: relative;
    background-color: #06152B;
    overflow: hidden;
}

.hero-carousel-item {
    min-height: 74vh;
    position: relative;
    display: flex;
    align-items: center;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: brightness(1.05);
}

/* Subtle gradient: keeps the holy image bright and majestic while ensuring contrast */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(4, 13, 27, 0.38) 0%,
        rgba(4, 13, 27, 0.08) 32%,
        rgba(4, 13, 27, 0.12) 65%,
        rgba(4, 13, 27, 0.58) 100%
    );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 3.5rem;
    padding-bottom: 5.5rem;
    width: 100%;
}

/* Centered hero content wrapper without any card box - wide ambient soft vignette for perfect legibility */
.hero-text-wrap {
    position: relative;
    max-width: 940px;
    margin: 0 auto;
    text-align: center;
    padding: 2.2rem 1.6rem;
    z-index: 3;
    background: radial-gradient(ellipse at center, rgba(4, 13, 27, 0.55) 0%, rgba(4, 13, 27, 0.22) 55%, transparent 80%);
    border-radius: 40px;
}

.hero-pill-badge {
    background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 60%, #D97706 100%);
    color: #040D1B !important;
    font-weight: 800;
    font-size: 0.84rem;
    letter-spacing: 1.5px;
    padding: 8px 22px;
    border-radius: 30px;
    border: 1.5px solid #FFFFFF;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.75), 0 0 15px rgba(245, 158, 11, 0.45);
    display: inline-flex;
    align-items: center;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2.3rem, 4.8vw, 4.2rem);
    font-weight: 900;
    line-height: 1.15;
    color: #FFFFFF !important;
    text-shadow: 
        0 2px 4px #000000,
        0 4px 18px rgba(0, 0, 0, 0.95),
        0 8px 32px rgba(0, 0, 0, 0.9);
    letter-spacing: -0.5px;
}

.hero-title .highlight {
    color: #FCD34D !important;
    text-shadow: 
        0 2px 4px #000000,
        0 4px 18px rgba(0, 0, 0, 0.95),
        0 0 25px rgba(245, 158, 11, 0.7);
    display: inline-block;
    background: none !important;
    -webkit-text-fill-color: initial !important;
    filter: none !important;
}

.hero-subtitle {
    font-size: clamp(1.08rem, 1.9vw, 1.28rem);
    color: #F8FAFC !important;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 
        0 2px 4px #000000,
        0 3px 14px rgba(0, 0, 0, 0.95),
        0 6px 24px rgba(0, 0, 0, 0.85);
    font-weight: 600;
    line-height: 1.65;
}

/* Elegant Frosted Carousel Indicators */
.carousel-indicators {
    bottom: 65px;
    z-index: 5;
    margin-bottom: 0;
}

.carousel-indicators [data-bs-target] {
    width: 36px;
    height: 6px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.6);
    border: none;
    transition: all 0.35s ease;
    margin: 0 5px;
}

.carousel-indicators .active {
    width: 60px;
    background: linear-gradient(90deg, #FBBF24, #F59E0B);
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.8);
}

/* Frosted Carousel Arrow Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 52px;
    height: 52px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(6, 21, 43, 0.55);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 50%;
    opacity: 0.85;
    transition: all 0.3s ease;
    margin: 0 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--navy-royal);
    border-color: var(--gold-radiant);
    opacity: 1;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
}

/* ==========================================================================
   QUICK INQUIRY BAR OVERLAY
   ========================================================================== */
.hero-inquiry-container {
    margin-top: -55px;
}

.hero-inquiry-card {
    background: #FFFFFF;
    border-radius: 18px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-top: 5px solid;
    border-image: linear-gradient(90deg, #0B2545 0%, #D4AF37 50%, #1D58B5 100%) 1;
    box-shadow: 0 20px 50px rgba(11, 37, 69, 0.16), 0 8px 24px rgba(212, 175, 55, 0.12);
    padding: 1.6rem;
    overflow: hidden;
}

.hero-inquiry-card .form-select,
.hero-inquiry-card .input-group-text {
    background-color: #F8FAFC;
    border-color: rgba(11, 37, 69, 0.18);
}

.hero-inquiry-card .form-select:focus {
    border-color: var(--gold-radiant);
    box-shadow: 0 0 0 0.25rem rgba(245, 158, 11, 0.25);
    background-color: #FFFFFF;
}

/* ==========================================================================
   SECTION TITLES & ORNAMENTS
   ========================================================================== */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.86rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--navy-royal);
    background: rgba(11, 37, 69, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 6px 18px;
    border-radius: 30px;
    margin-bottom: 0.6rem;
}

.section-tag-emerald,
.section-tag-gold {
    color: var(--gold-deep);
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
}

.section-title {
    font-size: clamp(1.85rem, 3.2vw, 2.65rem);
    font-weight: 800;
    color: var(--navy-royal);
    position: relative;
    margin-bottom: 0.75rem;
}

.section-desc {
    color: var(--text-body);
    font-size: 1.05rem;
    max-width: 740px;
    margin: 0 auto;
}

.title-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 1.35rem;
}

.title-ornament span {
    display: block;
    height: 3px;
    width: 48px;
    background: linear-gradient(90deg, transparent, var(--gold-metallic), var(--gold-radiant), transparent);
    border-radius: 2px;
}

.title-ornament i {
    color: var(--gold-radiant);
    font-size: 1.15rem;
}

/* ==========================================================================
   STAT & COUNTER BADGES - ROYAL BLUE & GOLD IDENTITY
   ========================================================================== */
.stat-card {
    background: #FFFFFF;
    border-radius: 18px;
    padding: 1.8rem 1.2rem;
    border: 1px solid rgba(11, 37, 69, 0.15);
    border-top: 4px solid var(--navy-royal);
    box-shadow: 0 10px 30px rgba(11, 37, 69, 0.08);
    text-align: center;
    transition: all 0.35s ease;
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 42px rgba(11, 37, 69, 0.16);
}

.stat-card-terracotta,
.stat-card-gold {
    border-top: 4px solid var(--gold-radiant);
    background: linear-gradient(180deg, #FFFDF8 0%, #FFFFFF 100%);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.1);
}

.stat-card-emerald,
.stat-card-navy {
    border-top: 4px solid var(--navy-royal);
    background: linear-gradient(180deg, #F8FAFD 0%, #FFFFFF 100%);
    box-shadow: 0 10px 30px rgba(11, 37, 69, 0.1);
}

.stat-card-sapphire {
    border-top: 4px solid var(--blue-vivid);
    background: linear-gradient(180deg, #F8FBFF 0%, #FFFFFF 100%);
    box-shadow: 0 10px 30px rgba(29, 88, 181, 0.1);
}

.stat-card-bronze {
    border-top: 4px solid var(--gold-metallic);
    background: linear-gradient(180deg, #FFFDF5 0%, #FFFFFF 100%);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.12);
}

.stat-number {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.4rem;
    font-family: var(--font-heading);
}

.stat-label {
    font-weight: 800;
    font-size: 0.84rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--navy-royal);
    margin-bottom: 0.35rem;
}

.stat-text {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ==========================================================================
   PACKAGE CARDS & BADGES
   ========================================================================== */
.package-card {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid rgba(11, 37, 69, 0.12);
    box-shadow: 0 12px 36px rgba(11, 37, 69, 0.08);
    transition: all 0.35s ease;
    overflow: hidden;
    position: relative;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 50px rgba(11, 37, 69, 0.18);
    border-color: rgba(212, 175, 55, 0.4);
}

.package-card-featured {
    border-top: 5px solid var(--gold-radiant);
    box-shadow: 0 18px 45px rgba(245, 158, 11, 0.15), 0 6px 20px rgba(11, 37, 69, 0.08);
}

.package-card-emerald {
    border-top: 5px solid var(--navy-royal);
}

.package-card-terracotta {
    border-top: 5px solid var(--gold-metallic);
}

.package-card-bronze {
    border-top: 5px solid var(--blue-vivid);
}

.package-badge-float {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    font-weight: 800;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 30px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.package-price-wrap {
    background: linear-gradient(135deg, #F0F4FA 0%, #FFFFFF 100%);
    border: 1px solid rgba(11, 37, 69, 0.1);
    border-radius: 14px;
    padding: 1.2rem;
    text-align: center;
}

.package-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--navy-royal);
    font-family: var(--font-heading);
}

/* Hotels Badge */
.hotel-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
}

.hotel-tag-makkah {
    background: rgba(11, 37, 69, 0.1);
    color: var(--navy-royal);
    border: 1px solid rgba(11, 37, 69, 0.2);
}

.hotel-tag-madinah {
    background: rgba(245, 158, 11, 0.12);
    color: var(--gold-deep);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Feature Box Grid */
.feature-box {
    background: #FFFFFF;
    border-radius: 18px;
    padding: 2rem 1.6rem;
    border: 1px solid rgba(11, 37, 69, 0.1);
    border-top: 4px solid var(--navy-royal);
    box-shadow: 0 10px 30px rgba(11, 37, 69, 0.07);
    transition: all 0.35s ease;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(11, 37, 69, 0.15);
    border-top-color: var(--gold-radiant);
}

.feature-box-emerald {
    border-top: 4px solid var(--gold-metallic);
}

.feature-icon-sq {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    background: linear-gradient(135deg, #0B2545 0%, #1D58B5 100%);
    color: #FBBF24;
    box-shadow: 0 8px 24px rgba(29, 88, 181, 0.25);
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.feature-box:hover .feature-icon-sq {
    transform: scale(1.08) rotate(3deg);
    background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 100%);
    color: #06152B;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}

/* About Section Visual Frame - Stretches and matches text height */
.about-img-tall-wrap {
    position: relative;
    height: 100%;
    min-height: 520px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(11, 37, 69, 0.2);
    border: 3px solid #FFFFFF;
    outline: 2px solid var(--gold-metallic);
    display: flex;
    flex-direction: column;
}

.about-img-tall {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    display: block;
}

.about-floating-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-left: 5px solid var(--gold-radiant);
    z-index: 3;
}

/* Package Card Improvements & Proper Formatting */
.package-card {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid rgba(11, 37, 69, 0.12);
    box-shadow: 0 12px 36px rgba(11, 37, 69, 0.08);
    transition: all 0.35s ease;
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.package-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.package-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.package-card:hover .package-img-wrap img {
    transform: scale(1.06);
}

.package-badge-top {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.package-badge-airline {
    position: absolute;
    bottom: 12px;
    right: 14px;
    z-index: 2;
    background: rgba(6, 21, 43, 0.88);
    backdrop-filter: blur(6px);
    color: #FBBF24;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 15px;
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.package-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hotel-spec-box {
    background: #F8FAFD;
    border: 1px solid rgba(11, 37, 69, 0.08);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 14px;
}

.hotel-spec-row {
    font-size: 0.85rem;
    color: #1E293B;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 5px 0;
    border-bottom: 1px dashed rgba(11, 37, 69, 0.1);
}

.hotel-spec-row:last-child {
    border-bottom: none;
}

.hotel-spec-badge {
    background: #E2E8F0;
    color: var(--navy-royal);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    white-space: nowrap;
}

.rate-chips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.rate-chip {
    background: #F8FAFD;
    border: 1px solid rgba(11, 37, 69, 0.12);
    border-radius: 10px;
    padding: 8px 4px;
    text-align: center;
    transition: all 0.25s ease;
}

.rate-chip:hover {
    background: #FFFFFF;
    border-color: var(--gold-radiant);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.18);
    transform: translateY(-2px);
}

.rate-chip .chip-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748B;
    letter-spacing: 0.3px;
    margin-bottom: 2px;
}

.rate-chip .chip-price {
    display: block;
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--navy-royal);
    font-family: var(--font-heading);
}

/* Map Container Frame - Full Height & Modern */
.map-frame {
    border-radius: 22px;
    overflow: hidden;
    border: 3px solid #FFFFFF;
    box-shadow: 0 16px 45px rgba(11, 37, 69, 0.18);
    outline: 2px solid var(--gold-metallic);
    width: 100%;
    height: 100%;
    min-height: 440px;
    background: #F0F4FA;
}

.map-frame iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 440px !important;
    border: 0;
    display: block;
}

/* ==========================================================================
   INNER PAGES HERO HEADER WITH VIBRANT BACKGROUND IMAGE
   ========================================================================== */
.inner-page-hero {
    position: relative;
    padding: 5.5rem 0 4.5rem;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #FFFFFF;
    overflow: hidden;
}

.inner-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(6, 21, 43, 0.52) 0%,
        rgba(11, 37, 69, 0.72) 100%
    );
    z-index: 1;
}

.inner-page-hero .container {
    position: relative;
    z-index: 2;
}

.inner-page-hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.85);
    margin-bottom: 0.75rem;
}

.inner-page-hero p {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.inner-page-hero .breadcrumb-item a {
    color: var(--gold-bright);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

.inner-page-hero .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.75);
}

/* Floating Contact & Back-To-Top Buttons */
.floating-actions {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1050;
}

.floating-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid #FFFFFF;
}

.floating-whatsapp {
    background: #25D366;
    color: #FFFFFF;
}

.floating-whatsapp:hover {
    background: #1EBE5D;
    color: #FFFFFF;
    transform: scale(1.1);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
}

.floating-call {
    background: #0B2545;
    color: var(--gold-radiant);
    border-color: var(--gold-metallic);
}

.floating-call:hover {
    background: var(--gold-radiant);
    color: #06152B;
    transform: scale(1.1);
    box-shadow: 0 8px 28px rgba(245, 158, 11, 0.45);
}

.back-to-top-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #06152B;
    border: 2px solid var(--gold-metallic);
    color: var(--gold-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top-btn.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top-btn:hover {
    background: var(--gold-radiant);
    color: #06152B;
    transform: translateY(-3px);
}

/* ==========================================================================
   FOOTER - ROYAL MIDNIGHT SAPPHIRE & IMPERIAL GOLD
   ========================================================================== */
.footer-wrap {
    background: linear-gradient(180deg, #06152B 0%, #030B17 100%);
    color: #E2E8F0;
    border-top: 3px solid var(--gold-metallic);
    position: relative;
}

.footer-title {
    font-family: var(--font-heading);
    color: var(--gold-bright);
    font-weight: 700;
    font-size: 1.15rem;
    position: relative;
    padding-bottom: 0.75rem;
    margin-bottom: 1.25rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-bright), transparent);
}

.footer-links a {
    color: #CBD5E1;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
}

.footer-links a:hover {
    color: var(--gold-bright);
    transform: translateX(4px);
}

.footer-bottom {
    background: #02070F;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    font-size: 0.84rem;
    color: #94A3B8;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS & ZERO OVERFLOW POLISH
   ========================================================================== */
@media (max-width: 991.98px) {
    .hero-carousel-item {
        min-height: 64vh;
    }
    
    .hero-inquiry-container {
        margin-top: 0;
        padding-top: 20px;
    }
    
    .hero-content {
        padding-top: 2.5rem;
        padding-bottom: 3.5rem;
    }
    
    .stat-card {
        padding: 1.4rem 1rem;
    }
    
    .stat-number {
        font-size: 2.1rem;
    }
}

@media (max-width: 575.98px) {
    .hero-carousel-item {
        min-height: 58vh;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.92rem;
    }
    
    .hero-pill-badge {
        font-size: 0.72rem;
        padding: 5px 12px;
    }
    
    .carousel-indicators {
        bottom: 25px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        display: none !important;
    }

    .hero-text-wrap {
        padding: 1rem 0.25rem;
    }

    .about-img-tall-wrap,
    .about-img-tall {
        min-height: 340px;
    }

    .map-frame,
    .map-frame iframe {
        min-height: 320px !important;
    }

    .rate-chips-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
    }

    .rate-chip {
        padding: 6px 2px;
    }

    .rate-chip .chip-label {
        font-size: 0.65rem;
    }

    .rate-chip .chip-price {
        font-size: 0.82rem;
    }
}

/* ==========================================================================
   FLOATING ACTION BUTTONS (Back to Top, WhatsApp, Call)
   ========================================================================== */
.floating-contact-container {
    position: fixed;
    bottom: 24px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 1050;
    pointer-events: auto;
}

.floating-btn {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.35rem;
    border: none;
    outline: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #ffffff;
}

.floating-top {
    background: linear-gradient(135deg, var(--navy-royal) 0%, var(--blue-vivid) 100%);
    border: 2px solid var(--gold-radiant);
    color: var(--gold-bright);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.floating-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-top:hover {
    background: var(--gold-radiant);
    color: var(--navy-deep);
    border-color: var(--navy-royal);
    transform: translateY(-4px);
}

.floating-wa {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
}

.floating-wa:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.55);
    color: #ffffff;
}

.floating-call {
    background: linear-gradient(135deg, var(--navy-royal) 0%, var(--blue-vivid) 100%);
    border: 2px solid var(--gold-radiant);
    color: var(--gold-bright);
    box-shadow: 0 6px 18px rgba(11, 37, 69, 0.4);
}

.floating-call:hover {
    transform: translateY(-4px) scale(1.06);
    background: var(--gold-radiant);
    color: var(--navy-deep);
    border-color: var(--navy-royal);
}

.floating-tooltip {
    position: absolute;
    right: 60px;
    background: var(--navy-deep);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: all 0.25s ease;
}

.floating-btn:hover .floating-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 575.98px) {
    .floating-contact-container {
        bottom: 18px;
        right: 14px;
        gap: 10px;
    }
    .floating-btn {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
    .floating-tooltip {
        display: none;
    }
}

/* Fix mobile AOS horizontal overflow */
@media (max-width: 991.98px) {
    [data-aos="fade-left"],
    [data-aos="fade-right"] {
        transform: translateY(25px) !important;
    }
    [data-aos="fade-left"].aos-animate,
    [data-aos="fade-right"].aos-animate {
        transform: translateY(0) !important;
    }
}
