/**
 * Qiblatain Tours — Global Design System
 * Islamic premium design: Midnight · Amber Gold · Ivory
 */

/* ==========================================
   CSS VARIABLES — Design Tokens
   ========================================== */
:root {
    /* ——— Core Brand Palette ——— */
    --emerald:          #1C1C2E;   /* Midnight (primary) */
    --emerald-mid:      #2E2E42;   /* Mid Midnight */
    --emerald-light:    #4A4A6A;   /* Light Midnight */
    --emerald-pale:     #EEEFF6;   /* Pale Midnight tint */

    --gold:             #ba701d;   /* Deep amber (primary accent) */
    --gold-light:       #f4a120;   /* Bright amber highlight */
    --islamic-gold:     #ba701d;   /* Brand deep gold (alias) */
    --gold-pale:        #F5E9C8;   /* Pale Gold tint */
    --gold-muted:       #A87B2A;   /* Deep Muted Gold */

    --ivory:            #FAF7F2;   /* Warm Ivory background */
    --ivory-mid:        #F3EDE1;   /* Mid Ivory */
    --ivory-dark:       #E8DFD0;   /* Darker Ivory / divider */

    --charcoal:         #1C1C2E;   /* Deep Charcoal (text) */
    --charcoal-mid:     #2E2E42;   /* Mid Charcoal */
    --charcoal-light:   #4A4A6A;   /* Light Charcoal */
    --slate:            #6B7280;   /* Slate (secondary text) */
    --white:            #FFFFFF;

    /* ——— Legacy Aliases (used across existing CSS/PHP) ——— */
    --color-kaaba:      var(--emerald);
    --color-gold:       var(--gold);
    --color-gold-light: var(--gold-light);
    --color-gold-muted: var(--gold-muted);
    --color-charcoal:   var(--charcoal);
    --primary-blue:     var(--emerald);
    --dark-blue:        var(--emerald-mid);
    --primary-gold:     var(--gold);
    --light-gold:       var(--gold-light);
    --secondary-color:  var(--gold);

    /* ——— Shadows ——— */
    --shadow-xs:    0 1px 4px rgba(26, 60, 52, 0.06);
    --shadow-sm:    0 2px 10px rgba(26, 60, 52, 0.08);
    --shadow-md:    0 8px 28px rgba(26, 60, 52, 0.12);
    --shadow-lg:    0 20px 56px rgba(26, 60, 52, 0.16);
    --shadow-xl:    0 32px 80px rgba(26, 60, 52, 0.20);
    --shadow-gold:  0 8px 28px rgba(186, 112, 29, 0.28);
    --shadow-glow:  0 0 40px rgba(244, 161, 32, 0.22);

    /* ——— Transitions ——— */
    --transition-fast:   all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow:   all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* ——— Spacing ——— */
    --section-padding:  88px 0;
    --section-padding-sm: 56px 0;

    /* ——— Typography ——— */
    --font-display:  'Cormorant Garamond', 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-primary:  'Poppins', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-size-base: 1rem;
    --line-height-base: 1.7;

    /* ——— Radii ——— */
    --radius-sm:  8px;
    --radius-md:  14px;
    --radius-lg:  20px;
    --radius-xl:  28px;
    --radius-pill: 100px;
}

/* ==========================================
   GLOBAL RESETS & BASE STYLES
   ========================================== */
*, *::before, *::after {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--charcoal);
    background: var(--ivory);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-anchor: none; /* suppress scroll-anchoring console warnings */
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    transition: var(--transition-fast);
    color: inherit;
}

/* ==========================================
   ISLAMIC GEOMETRIC PATTERN (SVG-based)
   ========================================== */

/* Eight-pointed star pattern — used as bg on sections */
.pattern-bg {
    position: relative;
}
.pattern-bg::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='%231A3C34' stroke-opacity='0.045' stroke-width='1'%3E%3Cpath d='M40 10 L46 28 L65 28 L50 39 L56 57 L40 46 L24 57 L30 39 L15 28 L34 28 Z'/%3E%3Cpath d='M40 0 L40 10 M40 70 L40 80 M10 40 L0 40 M80 40 L70 40'/%3E%3Ccircle cx='40' cy='40' r='28' stroke-dasharray='4 6'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
    pointer-events: none;
    z-index: 0;
}
.pattern-bg > * {
    position: relative;
    z-index: 1;
}

/* Subtle diagonal line pattern */
.pattern-lines {
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 18px,
        rgba(196, 150, 58, 0.04) 18px,
        rgba(196, 150, 58, 0.04) 19px
    );
}

/* ==========================================
   CONTAINER & LAYOUT
   ========================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
}

@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: 1260px; } }

.section,
section {
    padding: var(--section-padding);
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Global section pattern layer (keeps existing section colors intact) */
.section::before,
section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23C4963A' stroke-opacity='0.12' stroke-width='1'%3E%3Cpath d='M60 15 L69 42 L99 42 L75 59 L84 86 L60 69 L36 86 L45 59 L21 42 L51 42 Z'/%3E%3Ccircle cx='60' cy='60' r='52' stroke-dasharray='5 8'/%3E%3Cpath d='M0 0 L120 120 M120 0 L0 120' stroke-opacity='0.07'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 120px 120px;
    background-repeat: repeat;
    pointer-events: none;
    opacity: 0.7;
    z-index: 0;
}

.section > *,
section > * {
    position: relative;
    z-index: 1;
}

.section:nth-child(even) {
    background: var(--ivory-mid);
}

.section:nth-child(odd) {
    background: var(--white);
}

.section-ivory { background: var(--ivory) !important; }
.section-white { background: var(--white) !important; }
.section-emerald {
    background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-mid) 100%) !important;
    color: var(--white);
}
.section-dark {
    background: var(--charcoal) !important;
    color: var(--white);
}

/* ==========================================
   DECORATIVE DIVIDER
   ========================================== */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 0 auto 16px;
}
.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    max-width: 120px;
    opacity: 0.6;
}
.section-divider .divider-ornament {
    width: 10px;
    height: 10px;
    background: var(--gold);
    transform: rotate(45deg);
    flex-shrink: 0;
}

/* ==========================================
   SECTION TITLES
   ========================================== */
.section-title {
    text-align: center;
    margin-bottom: 56px;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.section-title h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--emerald);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--slate);
    margin-top: 24px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* ==========================================
   BUTTONS
   ========================================== */

/* Primary: Gold fill */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 36px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--emerald);
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-gold);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-mid) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), var(--shadow-gold);
}

.btn-primary i { transition: transform 0.3s ease; }
.btn-primary:hover i { transform: translateX(4px); }

/* Secondary: Emerald fill */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 36px;
    background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-mid) 100%);
    color: var(--white);
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-md);
    border: none;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--gold-light);
}

/* Outline: Gold border */
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 36px;
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--emerald);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

/* White outline (on dark backgrounds) */
.btn-outline-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 36px;
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    cursor: pointer;
    text-decoration: none;
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--emerald);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* ==========================================
   PACKAGE CARDS — Universal Design
   ========================================== */
.package-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.package-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    position: relative;
    border: 1px solid rgba(196, 150, 58, 0.12);
    transform: translateZ(0);
    will-change: transform;
    display: flex;
    flex-direction: column;
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 4;
}

.package-card:hover::before { opacity: 1; }

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg), var(--shadow-gold);
    border-color: rgba(196, 150, 58, 0.35);
}

.package-image {
    position: relative;
    height: 230px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--emerald-pale), var(--ivory-mid));
    flex-shrink: 0;
}

.package-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(26, 60, 52, 0.75) 100%);
    z-index: 1;
    opacity: 0;
    transition: var(--transition-smooth);
}

.package-card:hover .package-image::before { opacity: 1; }

.package-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.package-card:hover .package-image img { transform: scale(1.07); }

/* Placeholder when no image is set */
.package-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--emerald-pale), var(--ivory-mid));
}

.package-image-placeholder i {
    font-size: 3.5rem;
    color: rgba(26, 60, 52, 0.18);
}

.package-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--emerald);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(196, 150, 58, 0.4);
    z-index: 3;
}

.package-featured-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--emerald);
    color: var(--white);
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 700;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 5px;
}

.package-featured-badge i { color: var(--gold-light); }

.package-body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.package-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--emerald);
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.package-desc {
    color: var(--slate);
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.package-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
    flex-wrap: wrap;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--ivory-dark);
}

.package-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--charcoal-light);
    font-size: 0.85rem;
    font-weight: 500;
    background: var(--ivory);
    padding: 5px 11px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.package-meta-item:hover {
    background: var(--emerald-pale);
    color: var(--emerald);
}

.package-meta-item i { color: var(--gold); font-size: 0.9rem; }

.package-price-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 18px;
    margin-top: auto;
}

.package-price {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--gold-muted);
    font-weight: 700;
    line-height: 1;
}

.package-price-label {
    font-size: 0.72rem;
    color: var(--slate);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.package-price-old {
    font-size: 1.1rem;
    color: #bbb;
    text-decoration: line-through;
    font-weight: 500;
}

.package-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 20px;
    background: var(--emerald);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.92rem;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.package-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.package-btn:hover::before { opacity: 1; }

.package-btn span, .package-btn i { position: relative; z-index: 1; }

.package-btn:hover {
    color: var(--emerald);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.package-btn i { transition: transform 0.3s ease; }
.package-btn:hover i { transform: translateX(4px); }

/* ==========================================
   PAGE BANNER — Inner pages
   ========================================== */
.page-banner {
    position: relative;
    background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-mid) 100%);
    color: var(--white);
    padding: 96px 0 72px;
    text-align: center;
    overflow: hidden;
}

.page-banner::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%3Cpath d='M40 10 L46 28 L65 28 L50 39 L56 57 L40 46 L24 57 L30 39 L15 28 L34 28 Z' fill='none' stroke='%23C4963A' stroke-opacity='0.12' stroke-width='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 80px 80px;
    animation: patternFloat 40s linear infinite;
    pointer-events: none;
}

@keyframes patternFloat {
    from { background-position: 0 0; }
    to   { background-position: 80px 80px; }
}

.page-banner-content {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--white);
    line-height: 1.15;
}

.page-banner .page-banner-subtitle {
    font-size: 1.1rem;
    opacity: 0.88;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.7;
}

.page-banner p { opacity: 0.88; max-width: 620px; margin: 0 auto; }

.page-banner.has-image {
    background-size: cover;
    background-position: center;
}

.page-banner.has-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(28, 28, 46, 0.82);
}

.page-banner.has-image .page-banner-content { z-index: 3; }

/* Breadcrumbs */
.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
}

.breadcrumb-item {
    color: rgba(255,255,255,0.72);
    font-size: 0.88rem;
}

.breadcrumb-item a {
    color: var(--gold-light);
    text-decoration: none;
}

.breadcrumb-item a:hover { color: var(--white); }

.breadcrumb-item::after {
    content: '/';
    margin-left: 8px;
    color: rgba(255,255,255,0.4);
}

.breadcrumb-item:last-child::after { display: none; }
.breadcrumb-item.active { color: var(--white); }

/* ==========================================
   CONTENT TYPOGRAPHY
   ========================================== */
.content-typography h1, .content-typography h2, .content-typography h3 {
    font-family: var(--font-display);
    color: var(--emerald);
    line-height: 1.25;
    margin-bottom: 0.75em;
}

.content-typography p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #4A4A5A;
    margin-bottom: 1.25em;
}

.content-typography ul, .content-typography ol {
    padding-left: 28px;
    margin-bottom: 1.5em;
}

.content-typography li {
    font-size: 1.02rem;
    line-height: 1.8;
    color: #4A4A5A;
    margin-bottom: 8px;
}

.content-typography img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin: 28px 0;
}

/* ==========================================
   FORMS — Global
   ========================================== */
.form-control,
.form-select {
    border: 1.5px solid var(--ivory-dark);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 0.95rem;
    font-family: var(--font-primary);
    color: var(--charcoal);
    background: var(--white);
    transition: var(--transition-fast);
    width: 100%;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--gold);
    outline: none;
    box-shadow: 0 0 0 3px rgba(196, 150, 58, 0.14);
}

.form-control::placeholder { color: #9CA3AF; }

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--emerald);
    margin-bottom: 6px;
    letter-spacing: 0.2px;
}

/* ==========================================
   ANIMATIONS & UTILITIES
   ========================================== */
.fade-in {
    animation: fadeInUp 0.65s ease-out forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }
.fade-in:nth-child(4) { animation-delay: 0.4s; }
.fade-in:nth-child(5) { animation-delay: 0.5s; }
.fade-in:nth-child(6) { animation-delay: 0.6s; }

/* Gold accent line */
.gold-line {
    display: block;
    width: 56px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px;
    margin: 12px auto 0;
}

/* Skeleton shimmer */
.img-skeleton {
    background: linear-gradient(90deg, #f0ede8 25%, #e5e0d8 50%, #f0ede8 75%);
    background-size: 200% 100%;
    animation: shimmer 1.6s infinite;
}

@keyframes shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position:  200% 0; }
}

/* ==========================================
   STAT COUNTERS
   ========================================== */
.stat-item {
    text-align: center;
    padding: 32px 20px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    display: block;
}

.stat-suffix {
    font-size: 1.8rem;
    color: var(--gold);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
    margin-top: 8px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Dark bg stat labels */
.stat-label-dark { color: var(--slate); }
.stat-number-dark { color: var(--emerald); }

/* ==========================================
   SHORTCODE SECTIONS
   ========================================== */
.shortcode-section { margin-bottom: 0; }
.section .shortcode-section { padding-bottom: 0 !important; }

.shortcode-section .section-title { margin-bottom: 50px; }

.shortcode-section .section-title h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--emerald);
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.shortcode-section .section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 56px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px;
}

.content-typography .shortcode-section {
    margin: 50px -15px;
    padding: 60px 15px;
    background: var(--ivory-mid);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--gold);
}

/* Search and contact special sections */
.contact-section {
    background: var(--ivory) !important;
}

.search-section {
    background: var(--ivory-mid) !important;
}

/* ==========================================
   HOME DYNAMIC CONTENT SCROLLABLE AREA
   ========================================== */
.page-content > .content-typography,
.home-dynamic-content-wrapper {
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1rem 0;
    margin: 30px auto;
    max-width: 1200px;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) rgba(26, 60, 52, 0.06);
}

.page-content > .content-typography { padding: 1rem; }

.page-content > .content-typography::-webkit-scrollbar,
.home-dynamic-content-wrapper::-webkit-scrollbar { width: 6px; }

.page-content > .content-typography::-webkit-scrollbar-track,
.home-dynamic-content-wrapper::-webkit-scrollbar-track {
    background: rgba(26, 60, 52, 0.06);
    border-radius: 3px;
}

.page-content > .content-typography::-webkit-scrollbar-thumb,
.home-dynamic-content-wrapper::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold), var(--emerald));
    border-radius: 3px;
}

@media (max-width: 768px) {
    .page-content > .content-typography,
    .home-dynamic-content-wrapper { max-height: 60vh; }
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
    :root { --section-padding: 56px 0; }

    .section-title h2 { font-size: 1.9rem; }
    .page-banner h1   { font-size: 2rem; }
    .page-banner      { padding: 72px 0 52px; }

    .package-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .btn-primary,
    .btn-secondary,
    .btn-outline {
        padding: 13px 28px;
        font-size: 0.92rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .package-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    body { overflow-x: hidden !important; }
}

/* ==========================================
   SLIDER / SWIPER ENHANCEMENTS
   ========================================== */
.slider-section .swiper-slide .package-card {
    height: 100%;
    margin: 0;
}

.slider-section .swiper {
    padding-bottom: 64px;
    overflow: hidden;
    width: 100%;
}

.slider-section .swiper-button-next,
.slider-section .swiper-button-prev {
    top: 50%;
    margin-top: -25px;
}

@media (max-width: 768px) {
    .slider-section .swiper { padding: 0; margin: 0; }
    .slider-section .swiper-button-next,
    .slider-section .swiper-button-prev { display: none; }
    .slider-section .swiper-pagination { bottom: 20px; }
}

/* Section alternating in shortcodes */
.shortcode-section:nth-of-type(even) {
    background: var(--ivory-mid);
}

.shortcode-section:nth-of-type(odd) {
    background: var(--white);
}
