/* Mahira Tour - Optimized Home CSS */
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;600;700&family=Inter:wght@300;400;600;700&display=swap');

:root {
    --primary: #001D5F;
    --primary-dark: #001440;
    --gold: #D4AF37;
    --white: #FFFFFF;
    --light: #F8F9FA;
    --gray: #6B7280;
    --dark: #1F2937;
    --cream: #F5F1E8;
    --taupe: #8B7F6E;
}

* { box-sizing: border-box; }

html, body {
    font-family: 'Inter', sans-serif;
    padding-top: 0;
    overflow-x: hidden;
    width: 100%;
}

/* ========== GLOBAL COMPONENTS ========== */
.section-header-center {
    text-align: center;
    margin: 0 auto 64px;
    max-width: 700px;
}

.section-badge {
    display: inline-block;
    color: var(--gold);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--gold);
}

.section-title {
    font-size: 36px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
    font-family: 'Lora', serif;
    line-height: 1.4;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 15px;
    color: var(--taupe);
    font-weight: 300;
    line-height: 1.8;
}

/* Button Base */
.btn-primary-lg,
.btn-outline-primary,
.btn-story {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: white;
    padding: 16px 40px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    border: 2px solid var(--primary);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary-lg:hover,
.btn-outline-primary:hover,
.btn-story:hover {
    background: transparent;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 29, 95, 0.15);
}

.btn-primary-lg i,
.btn-outline-primary i,
.btn-story i {
    transition: transform 0.3s ease;
}

.btn-primary-lg:hover i,
.btn-outline-primary:hover i,
.btn-story:hover i {
    transform: translateX(4px);
}

/* ========== HERO ========== */
.hero-video-section {
    position: relative;
    height: 100vh;
    min-height: 650px;
    overflow: hidden;
    background: linear-gradient(135deg, #001D5F 0%, #1a3a6e 50%, #2d5a8a 100%);
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: brightness(0.45) contrast(1.1);
    opacity: 0.85;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 29, 95, 0.85) 0%, rgba(212, 175, 55, 0.20) 50%, rgba(0, 20, 64, 0.90) 100%);
    z-index: 2;
}

.hero-content-wrapper {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 72px;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 24px;
    margin: 0 auto;
}

.hero-title {
    font-size: 52px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: 'Lora', serif;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 2px 8px rgba(0, 0, 0, 0.6);
    letter-spacing: -0.5px;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-title .highlight { color: var(--gold); font-weight: 700; }

.hero-spiritual {
    font-family: 'Lora', serif;
    font-size: 15px;
    font-style: italic;
    color: var(--gold);
    margin-bottom: 20px;
    opacity: 0.95;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-subtitle {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 36px;
    opacity: 0.96;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    padding: 10px 24px;
    border-radius: 50px;
    margin-bottom: 32px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(212, 175, 55, 0.5);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    animation: fadeInDown 1s ease both;
}

.hero-badge i { color: var(--gold); }

.hero-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.5s both;
}

.btn-primary, .btn-outline {
    padding: 15px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: white;
    color: var(--primary);
}

.btn-primary:hover {
    background: var(--gold);
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    transform: translateY(-2px);
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== STATS ========== */
.stats-section {
    background: white;
    padding: 0;
    margin-top: 76px;
    position: relative;
    z-index: 20;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.stat-card {
    padding: 40px 30px;
    text-align: center;
    border-right: 1px solid #E5E7EB;
    transition: all 0.3s ease;
}

.stat-card:last-child { border-right: none; }

.stat-card:hover {
    background: var(--light);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* ========== ABOUT ========== */
.about-section { padding: 100px 0; background: white; }

.about-content { padding-right: 40px; }

.founder-quote {
    font-family: 'Lora', serif;
    font-size: 17px;
    line-height: 1.8;
    color: var(--taupe);
    border-left: 3px solid var(--gold);
    padding-left: 24px;
    margin: 32px 0 40px 0;
    font-style: italic;
}

.founder-quote strong { color: var(--primary); font-weight: 600; }

.quote-author {
    display: block;
    margin-top: 16px;
    font-size: 14px;
    font-style: normal;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 0.3px;
}

.trust-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.metric {
    text-align: center;
    padding: 24px 16px;
    background: linear-gradient(135deg, #F5F1E8 0%, #FAFAF8 100%);
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    transition: all 0.3s ease;
}

.metric:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.15);
    border-color: var(--gold);
}

.metric strong {
    display: block;
    font-size: 32px;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 8px;
}

.metric span {
    font-size: 13px;
    color: var(--taupe);
    font-weight: 500;
    line-height: 1.4;
}

.about-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    height: 550px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image:hover img { transform: scale(1.05); }

/* ========== WHY ========== */
.why-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #F5F1E8 0%, #FFFFFF 100%);
}

.why-card {
    text-align: center;
    padding: 48px 32px;
    background: white;
    border-radius: 20px;
    transition: all 0.4s ease;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 29, 95, 0.06);
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.15);
}

.why-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #D4AF37 0%, #F4D03F 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.25);
}

.why-card:hover .why-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(212, 175, 55, 0.35);
}

.why-icon i { font-size: 36px; color: white; }

.why-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    font-family: 'Lora', serif;
}

.why-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--gray);
    margin: 0;
}

/* ========== HADITH PARALLAX SECTION ========== */
.hadith-section {
    position: relative;
    background-image: url('../images/hero/hero-about.webp'); /* Placeholder Image */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 140px 0;
    text-align: center;
    color: white;
}

.hadith-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 20, 64, 0.85) 0%, rgba(0, 29, 95, 0.75) 100%);
    backdrop-filter: blur(2px);
    z-index: 1;
}

.hadith-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hadith-icon {
    font-size: 48px;
    color: var(--gold);
    margin-bottom: 32px;
    opacity: 0.9;
}

.hadith-text {
    font-family: 'Lora', serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 40px;
    font-style: italic;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hadith-source {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.source-line {
    height: 1px;
    width: 60px;
    background: var(--gold);
    opacity: 0.6;
}

.source-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Responsive Hadith */
@media (max-width: 768px) {
    .hadith-text { font-size: 24px; }
    .hadith-section { padding: 100px 0; }
}

/* ========== PACKAGE ========== */
.package-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #F5F1E8 0%, #FAFAF8 100%);
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 48px;
    margin-bottom: 64px;
}

.package-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0, 29, 95, 0.04);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(139, 127, 110, 0.08);
    position: relative;
}

.package-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.08);
}

.package-card.featured {
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 2px 20px rgba(212, 175, 55, 0.08);
}

.package-card.featured:hover {
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.18);
}

.featured-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--gold);
    color: white;
    padding: 8px 20px;
    font-size: 11px;
    font-weight: 600;
    z-index: 10;
    border-bottom-left-radius: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.package-image {
    position: relative;
    height: 420px;
    overflow: hidden;
    background: #FAFAF8;
    padding: 16px;
}

.package-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.98);
}

.package-card:hover .package-image img {
    transform: scale(1.02);
    filter: brightness(1);
}

.quick-info {
    padding: 24px 20px;
    background: white;
    border-top: 1px solid rgba(139, 127, 110, 0.08);
}

.package-title {
    font-family: 'Lora', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.3;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--taupe);
    font-weight: 400;
}

.info-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(212, 175, 55, 0.12) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i { color: var(--gold); font-size: 12px; }

.info-text { color: #374151; font-weight: 500; }

.info-highlight {
    color: var(--gold);
    font-weight: 600;
    font-size: 14px;
}

.info-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(139, 127, 110, 0.1), transparent);
    margin: 10px 0;
}

/* ========== TESTIMONIAL ========== */
.testimonial-section { padding: 100px 0; background: white; }

.testimonial-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-video {
    position: relative;
    width: 100%;
    height: 250px;
    background: #000;
    overflow: hidden;
}

.testimonial-video iframe {
    width: 100%;
    height: 100%;
}

.testimonial-content { padding: 24px; }

.testimonial-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.testimonial-name {
    font-size: 14px;
    color: var(--gray);
    margin: 0;
}

/* ========== GALLERY ========== */
.gallery-section {
    padding: 100px 0;
    background: var(--light);
}

/* Replaced Grid with Slider for Mobile Performance */
.gallery-slider-wrapper {
    position: relative;
    padding: 0 10px;
    max-width: 100%;
}

.gallery-slider {
    display: flex;
    flex-wrap: nowrap; /* Force single row */
    width: 100%;      /* Ensure full width */
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    scroll-behavior: smooth;
}

.gallery-slider::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Slider Nav Buttons (Desktop) */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--primary);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.slider-nav:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev { left: -24px; }
.slider-nav.next { right: -24px; }

/* Hide nav buttons on mobile */
@media (max-width: 768px) {
    .slider-nav { display: none; }
    
    .gallery-slider-wrapper {
        padding: 0 20px; /* More breathing room on mobile */
        margin: 0 -10px; /* Slight offset compensation */
    }
}

.gallery-item {
    flex: 0 0 300px; /* Fixed width cards */
    scroll-snap-align: center;
    position: relative;
    height: 400px; /* Taller for better visual */
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.1); }

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 29, 95, 0.4); /* Lighter overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay i { font-size: 48px; color: white; }

/* Responsive Adjustments */
@media (max-width: 768px) {
    /* Mobile Layout Updates */
    .hero-video-section { min-height: 550px; }
    .hero-content-wrapper { padding-top: 90px; }
    .hero-content { padding: 0 20px; }
    .hero-title { font-size: 32px; word-wrap: break-word; }
    .hero-spiritual { font-size: 13px; }
    .hero-subtitle { font-size: 15px; }
    .hero-badge { font-size: 12px; padding: 8px 20px; }
    .hero-cta { flex-direction: column; width: 100%; gap: 12px; }
    .btn-primary, .btn-outline { width: 100%; justify-content: center; padding: 14px 28px; }
    
    .section-header-center { margin-bottom: 48px; padding: 0 20px; }
    .section-title { font-size: 28px; }
    .section-subtitle { font-size: 14px; }
    
    .about-section, .why-section, .package-section, .testimonial-section, 
    .gallery-section, .location-section, .partners-section, .cta-section { padding: 60px 0; }
    
    .about-section .container { padding: 0; max-width: 100%; }
    .about-section .row { margin: 0; flex-direction: column; }
    .about-section .col-lg-6:last-child { order: -1; padding: 0; }
    .about-image { height: 45vh; min-height: 320px; max-height: 380px; margin: 0; border-radius: 0; box-shadow: none; }
    .about-content { padding: 40px 24px; }
    .founder-quote { font-size: 15px; padding-left: 20px; margin: 24px 0 32px 0; }
    .trust-metrics { gap: 12px; margin: 32px 0; }
    .metric { padding: 20px 12px; }
    .metric strong { font-size: 24px; }
    .metric span { font-size: 11px; }
    
    .why-card { padding: 40px 28px; margin-bottom: 20px; }
    .why-icon { width: 70px; height: 70px; }
    .why-icon i { font-size: 32px; }
    
    .package-grid { grid-template-columns: 1fr; gap: 40px; padding: 0 20px; }
    .package-image { height: 380px; padding: 12px; }
    .quick-info { padding: 20px 16px; }
    .package-title { font-size: 16px; }
    
    /* Gallery Mobile Updates */
    .gallery-item { height: 180px; }
    
    .gallery-modal-alpine .gallery-close { top: 20px; right: 20px; font-size: 35px; width: 50px; height: 50px; }
    .gallery-modal-alpine .gallery-counter { top: 20px; left: 20px; font-size: 16px; padding: 10px 20px; }
    .gallery-modal-alpine .gallery-nav { width: 50px; height: 50px; font-size: 24px; }
    .gallery-modal-alpine .gallery-nav.prev { left: 15px; }
    .gallery-modal-alpine .gallery-nav.next { right: 15px; }
    .gallery-modal-alpine .gallery-modal-content img { max-width: 95vw; max-height: 75vh; }
    
    .location-wrapper iframe { height: 350px; }
    
    .partners-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .partner-item { padding: 24px 16px; }
    .partner-logo-wrapper { width: 90px; height: 90px; padding: 16px; }
    .partner-logo-wrapper img { max-height: 60px; }
    .partner-name { font-size: 13px; }
    .partner-desc { font-size: 11px; }
    
    .cta-title { font-size: 32px; }
    .cta-buttons { flex-direction: column; width: 100%; }
    .btn-cta-primary, .btn-cta-secondary { width: 100%; justify-content: center; }
    
    .btn-primary-lg, .btn-outline-primary, .btn-story { width: 100%; justify-content: center; padding: 16px 32px; font-size: 14px; }
    
    .floating-whatsapp { bottom: 20px; right: 20px; }
    .whatsapp-button { width: 56px; height: 56px; font-size: 28px; }
    .whatsapp-button i { font-size: 28px; }
}

/* Small Mobile */
@media (max-width: 576px) {
    .hero-video-section { min-height: 500px; }
    .hero-title { font-size: 28px; }
    .hero-subtitle { font-size: 14px; }
    
    .section-title { font-size: 24px; }
    .stat-number { font-size: 36px; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-card { border-right: none; border-bottom: 1px solid #E5E7EB; }
    .stat-card:last-child { border-bottom: none; }
    
    .about-image { height: 40vh; min-height: 280px; max-height: 320px; }
    .about-content { padding: 36px 20px; }
    .founder-quote { font-size: 14px; }
    .trust-metrics { gap: 10px; }
    .metric { padding: 16px 10px; }
    .metric strong { font-size: 22px; }
    .metric span { font-size: 10px; }
    
    .package-image { height: 360px; padding: 10px; }
    .package-title { font-size: 15px; }
    
    .gallery-item { height: 220px; }
    
    .partners-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 10px !important; }
    .partner-item { padding: 16px 10px !important; }
    .partner-logo-wrapper { width: 65px !important; height: 65px !important; padding: 10px !important; }
    .partner-logo-wrapper img { max-height: 45px !important; }
    .partner-name { font-size: 11px !important; line-height: 1.2; }
    .partner-desc { font-size: 9px !important; line-height: 1.3; }
    
    .btn-primary-lg, .btn-outline-primary, .btn-story { padding: 14px 28px; font-size: 13px; }
    
    .floating-whatsapp { bottom: 80px; right: 16px; }
    .whatsapp-button { width: 52px; height: 52px; font-size: 26px; }
    .whatsapp-button i { font-size: 26px; }
    
    .gallery-modal-alpine .gallery-close { width: 45px; height: 45px; font-size: 30px; top: 15px; right: 15px; }
    .gallery-modal-alpine .gallery-counter { font-size: 14px; padding: 8px 16px; top: 15px; left: 15px; }
    .gallery-modal-alpine .gallery-nav { width: 45px; height: 45px; font-size: 20px; }
    .gallery-modal-alpine .gallery-nav.prev { left: 10px; }
    .gallery-modal-alpine .gallery-nav.next { right: 10px; }
}

/* Extra Small */
@media (max-width: 375px) {
    .hero-title { font-size: 24px; line-height: 1.3; }
    .hero-spiritual { font-size: 12px; }
    .section-title { font-size: 22px; }
    .stat-number { font-size: 28px; }
    .about-image { height: 35vh; min-height: 260px; }
    .metric strong { font-size: 18px; }
    .package-image { height: 340px; }
    .cta-title { font-size: 24px; }
    .cta-subtitle { font-size: 14px; }
    
    /* Ensure content doesn't overflow */
    .hero-content { padding: 0 16px; }
    .hero-badge { width: 100%; justify-content: center; box-sizing: border-box; }
}

/* ========== UTILITIES ========== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.no-scroll { overflow: hidden; }

::selection { background: var(--primary); color: white; }
::-moz-selection { background: var(--primary); color: white; }



html { scroll-behavior: smooth; }

a:focus, button:focus, input:focus, select:focus, textarea:focus {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

a:focus:not(:focus-visible), button:focus:not(:focus-visible),
input:focus:not(:focus-visible), select:focus:not(:focus-visible),
textarea:focus:not(:focus-visible) { outline: none; }

@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;
    }
}

/* ========== PPIU MODAL ========== */
.btn-view-legalitas {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--primary);
    color: white;
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-view-legalitas:hover {
    background: transparent;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 29, 95, 0.2);
}

.ppiu-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ppiu-modal.active {
    display: flex;
}

.ppiu-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 30px;
    animation: modalZoom 0.3s ease;
}

@keyframes modalZoom {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.ppiu-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: none;
    background: #F3F4F6;
    color: #374151;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.ppiu-modal-close:hover {
    background: var(--primary);
    color: white;
    transform: rotate(90deg);
}

.ppiu-modal-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ppiu-modal-content h4 i {
    color: var(--gold);
}

.ppiu-modal-image {
    background: #F9FAFB;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
}

.ppiu-modal-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-download-ppiu {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #10B981, #0D9488);
    color: white;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.btn-download-ppiu:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
    color: white;
}

@media (max-width: 576px) {
    .ppiu-modal-content {
        padding: 20px;
    }
    
    .ppiu-modal-content h4 {
        font-size: 1.1rem;
    }
}

[x-cloak] { display: none !important; }

.gallery-modal-alpine {
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.gallery-modal-alpine .gallery-modal-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal-alpine .gallery-modal-content img {
    max-width: 90vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.gallery-modal-alpine .gallery-close {
    position: absolute;
    top: 30px;
    right: 50px;
    font-size: 50px;
    color: white;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.5);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    user-select: none;
}

.gallery-modal-alpine .gallery-close:hover {
    transform: rotate(90deg) scale(1.1);
    background: rgba(212, 175, 55, 0.9);
}

.gallery-modal-alpine .gallery-counter {
    position: absolute;
    top: 30px;
    left: 50px;
    color: white;
    font-size: 20px;
    font-weight: 600;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.7);
    padding: 12px 24px;
    border-radius: 50px;
    user-select: none;
}

.gallery-modal-alpine .gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 0;
    font-size: 30px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

.gallery-modal-alpine .gallery-nav:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-50%) scale(1.15);
    border-color: white;
}

.gallery-modal-alpine .gallery-nav.prev { left: 30px; }
.gallery-modal-alpine .gallery-nav.next { right: 30px; }

/* ========== LOCATION ========== */
.location-section { padding: 100px 0; background: white; }

.location-wrapper {
    max-width: 100%;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.location-wrapper iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
}

/* ========== PARTNERS ========== */
.partners-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8F9FA 100%);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.partner-item {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 16px;
    border: 2px solid #E5E7EB;
    transition: all 0.3s ease;
}

.partner-item:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 29, 95, 0.15);
}

.partner-logo-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F9FAFB;
    border-radius: 50%;
    padding: 20px;
}

.partner-logo-wrapper img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.partner-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.partner-desc {
    font-size: 14px;
    color: var(--gray);
    margin: 0;
}

/* ========== CTA ========== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>') repeat;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.cta-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    font-family: 'Lora', serif;
}

.cta-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary, .btn-cta-secondary {
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-cta-primary {
    background: white;
    color: var(--primary);
}

.btn-cta-primary:hover {
    background: var(--gold);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.btn-cta-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-cta-secondary:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

/* ========== FLOATING WHATSAPP ========== */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-button {
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 32px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    animation: subtlePulse 2s infinite;
}

.whatsapp-button:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    background: #20BA55;
}

.whatsapp-button i { color: white; font-size: 32px; }

@keyframes subtlePulse {
    0%, 100% { box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3); }
    50% { box-shadow: 0 4px 12px rgba(37, 211, 102, 0.5), 0 0 0 8px rgba(37, 211, 102, 0.1); }
}

/* ========== RESPONSIVE ========== */

/* Tablet */
@media (max-width: 992px) {
    .hero-title { font-size: 42px; }
    .section-title { font-size: 32px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-card { border-right: none; border-bottom: 1px solid #E5E7EB; }
    .stat-card:nth-child(2n) { border-right: 1px solid #E5E7EB; }
    .stat-card:nth-last-child(-n+2) { border-bottom: none; }
    .about-content { padding-right: 20px; }
    .about-image { height: 480px; margin-top: 40px; }
    .package-grid, .partners-grid { gap: 30px; }
}

/* Mobile */
@media (max-width: 768px) {
    .hero-video-section { min-height: 550px; }
    .hero-content-wrapper { padding-top: 90px; }
    .hero-content { padding: 0 20px; }
    .hero-title { font-size: 32px; word-wrap: break-word; }
    .hero-spiritual { font-size: 13px; }
    .hero-subtitle { font-size: 15px; }
    .hero-badge { font-size: 12px; padding: 8px 20px; }
    .hero-cta { flex-direction: column; width: 100%; gap: 12px; }
    .btn-primary, .btn-outline { width: 100%; justify-content: center; padding: 14px 28px; }
    
    .section-header-center { margin-bottom: 48px; padding: 0 20px; }
    .section-title { font-size: 28px; }
    .section-subtitle { font-size: 14px; }
    
    .about-section, .why-section, .package-section, .testimonial-section, 
    .gallery-section, .location-section, .partners-section, .cta-section { padding: 60px 0; }
    
    .about-section .container { padding: 0; max-width: 100%; }
    .about-section .row { margin: 0; flex-direction: column; }
    .about-section .col-lg-6:last-child { order: -1; padding: 0; }
    .about-image { height: 45vh; min-height: 320px; max-height: 380px; margin: 0; border-radius: 0; box-shadow: none; }
    .about-content { padding: 40px 24px; }
    .founder-quote { font-size: 15px; padding-left: 20px; margin: 24px 0 32px 0; }
    .trust-metrics { gap: 12px; margin: 32px 0; }
    .metric { padding: 20px 12px; }
    .metric strong { font-size: 24px; }
    .metric span { font-size: 11px; }
    
    .why-card { padding: 40px 28px; margin-bottom: 20px; }
    .why-icon { width: 70px; height: 70px; }
    .why-icon i { font-size: 32px; }
    
    .package-grid { grid-template-columns: 1fr; gap: 40px; padding: 0 20px; }
    .package-image { height: 380px; padding: 12px; }
    .quick-info { padding: 20px 16px; }
    .package-title { font-size: 16px; }
    
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    @media (max-width: 400px) {
        .gallery-grid { grid-template-columns: 1fr; }
    }
    .gallery-item { height: 180px; }
    
    .gallery-modal-alpine .gallery-close { top: 20px; right: 20px; font-size: 35px; width: 50px; height: 50px; }
    .gallery-modal-alpine .gallery-counter { top: 20px; left: 20px; font-size: 16px; padding: 10px 20px; }
    .gallery-modal-alpine .gallery-nav { width: 50px; height: 50px; font-size: 24px; }
    .gallery-modal-alpine .gallery-nav.prev { left: 15px; }
    .gallery-modal-alpine .gallery-nav.next { right: 15px; }
    .gallery-modal-alpine .gallery-modal-content img { max-width: 95vw; max-height: 75vh; }
    
    .location-wrapper iframe { height: 350px; }
    
    .partners-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .partner-item { padding: 24px 16px; }
    .partner-logo-wrapper { width: 90px; height: 90px; padding: 16px; }
    .partner-logo-wrapper img { max-height: 60px; }
    .partner-name { font-size: 13px; }
    .partner-desc { font-size: 11px; }
    
    .cta-title { font-size: 32px; }
    .cta-buttons { flex-direction: column; width: 100%; }
    .btn-cta-primary, .btn-cta-secondary { width: 100%; justify-content: center; }
    
    .btn-primary-lg, .btn-outline-primary, .btn-story { width: 100%; justify-content: center; padding: 16px 32px; font-size: 14px; }
    
    .floating-whatsapp { bottom: 20px; right: 20px; }
    .whatsapp-button { width: 56px; height: 56px; font-size: 28px; }
    .whatsapp-button i { font-size: 28px; }
}

/* Small Mobile */
@media (max-width: 576px) {
    .hero-video-section { min-height: 500px; }
    .hero-title { font-size: 28px; }
    .hero-subtitle { font-size: 14px; }
    
    .section-title { font-size: 24px; }
    .stat-number { font-size: 36px; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-card { border-right: none; border-bottom: 1px solid #E5E7EB; }
    .stat-card:last-child { border-bottom: none; }
    
    .about-image { height: 40vh; min-height: 280px; max-height: 320px; }
    .about-content { padding: 36px 20px; }
    .founder-quote { font-size: 14px; }
    .trust-metrics { gap: 10px; }
    .metric { padding: 16px 10px; }
    .metric strong { font-size: 22px; }
    .metric span { font-size: 10px; }
    
    .package-image { height: 360px; padding: 10px; }
    .package-title { font-size: 15px; }
    
    .gallery-grid { grid-template-columns: 1fr; gap: 16px; }
    .gallery-item { height: 220px; }
    
    .partners-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 10px !important; }
    .partner-item { padding: 16px 10px !important; }
    .partner-logo-wrapper { width: 65px !important; height: 65px !important; padding: 10px !important; }
    .partner-logo-wrapper img { max-height: 45px !important; }
    .partner-name { font-size: 11px !important; line-height: 1.2; }
    .partner-desc { font-size: 9px !important; line-height: 1.3; }
    
    .btn-primary-lg, .btn-outline-primary, .btn-story { padding: 14px 28px; font-size: 13px; }
    
    .floating-whatsapp { bottom: 80px; right: 16px; }
    .whatsapp-button { width: 52px; height: 52px; font-size: 26px; }
    .whatsapp-button i { font-size: 26px; }
    
    .gallery-modal-alpine .gallery-close { width: 45px; height: 45px; font-size: 30px; top: 15px; right: 15px; }
    .gallery-modal-alpine .gallery-counter { font-size: 14px; padding: 8px 16px; top: 15px; left: 15px; }
    .gallery-modal-alpine .gallery-nav { width: 45px; height: 45px; font-size: 20px; }
    .gallery-modal-alpine .gallery-nav.prev { left: 10px; }
    .gallery-modal-alpine .gallery-nav.next { right: 10px; }
}

/* Extra Small */
@media (max-width: 375px) {
    .hero-title { font-size: 24px; line-height: 1.3; }
    .hero-spiritual { font-size: 12px; }
    .section-title { font-size: 22px; }
    .stat-number { font-size: 28px; }
    .about-image { height: 35vh; min-height: 260px; }
    .metric strong { font-size: 18px; }
    .package-image { height: 340px; }
    .cta-title { font-size: 24px; }
    .cta-subtitle { font-size: 14px; }
    
    /* Ensure content doesn't overflow */
    .hero-content { padding: 0 16px; }
    .hero-badge { width: 100%; justify-content: center; box-sizing: border-box; }
}

/* ========== UTILITIES ========== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.no-scroll { overflow: hidden; }

::selection { background: var(--primary); color: white; }
::-moz-selection { background: var(--primary); color: white; }



html { scroll-behavior: smooth; }

a:focus, button:focus, input:focus, select:focus, textarea:focus {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

a:focus:not(:focus-visible), button:focus:not(:focus-visible),
input:focus:not(:focus-visible), select:focus:not(:focus-visible),
textarea:focus:not(:focus-visible) { outline: none; }

@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;
    }
}

/* ========== PPIU MODAL ========== */
.btn-view-legalitas {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--primary);
    color: white;
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-view-legalitas:hover {
    background: transparent;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 29, 95, 0.2);
}

.ppiu-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ppiu-modal.active {
    display: flex;
}

.ppiu-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 30px;
    animation: modalZoom 0.3s ease;
}

@keyframes modalZoom {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.ppiu-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: none;
    background: #F3F4F6;
    color: #374151;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.ppiu-modal-close:hover {
    background: var(--primary);
    color: white;
    transform: rotate(90deg);
}

.ppiu-modal-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ppiu-modal-content h4 i {
    color: var(--gold);
}

.ppiu-modal-image {
    background: #F9FAFB;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
}

.ppiu-modal-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-download-ppiu {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #10B981, #0D9488);
    color: white;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.btn-download-ppiu:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
    color: white;
}

@media (max-width: 576px) {
    .ppiu-modal-content {
        padding: 20px;
    }
    
    .ppiu-modal-content h4 {
        font-size: 1.1rem;
    }
}
