/* ===================================
   Pilgrim's Path - Sacred Design System
   Islamic Patterns, Moon & Stars Theme
   =================================== */

/* CSS Variables - Sacred Color Palette */
:root {
    --primary-gold: #C9A227;
    --primary-gold-light: #F4E4BC;
    --primary-gold-dark: #8B6914;
    --deep-night: #2C1810;
    --midnight-blue: #3D2415;
    --sacred-blue: #5C3D2E;
    --celestial-blue: #8B6914;
    --soft-white: #FFFEF7;
    --pearl: #FDF6E3;
    --star-white: #FFFFFF;
    --cream: #FFF8E7;
    --warm-cream: #FAF0DC;
    --golden-light: #FBF3E0;
    --accent-emerald: #1D5C4A;
    --accent-teal: #2A9D8F;
    --text-primary: #2C1810;
    --text-secondary: #5C4033;
    --text-light: #2C1810;
    --text-muted: #7D5A45;
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #F4E4BC 50%, #D4AF37 100%);
    --gradient-light: linear-gradient(180deg, #FFFEF7 0%, #FDF6E3 50%, #F4E4BC 100%);
    --gradient-warm: linear-gradient(180deg, #FFF8E7 0%, #FAF0DC 100%);
    --gradient-golden: linear-gradient(135deg, #FDF6E3 0%, #F4E4BC 50%, #E8D5A3 100%);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-gold: 0 4px 30px rgba(212, 175, 55, 0.3);
    --shadow-deep: 0 10px 40px rgba(0, 0, 0, 0.3);
    --border-radius: 16px;
    --border-radius-lg: 24px;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--soft-white);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Islamic Pattern SVG Background */
.islamic-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4AF37' fill-opacity='0.08'%3E%3Cpath d='M40 0l40 40-40 40L0 40 40 0zm0 10L10 40l30 30 30-30-30-30zm0 10l20 20-20 20-20-20 20-20z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Geometric Mosaic Pattern */
.mosaic-pattern {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23D4AF37' fill-opacity='0.06'%3E%3Cpath d='M50 0L100 50 50 100 0 50 50 0zm0 20L20 50l30 30 30-30-30-30z'/%3E%3Cpath d='M0 0h50v50H0V0zm10 10v30h30V10H10zM50 50h50v50H50V50zm10 10v30h30V60H60z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Star Pattern Background */
.star-pattern {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='%23D4AF37' fill-opacity='0.1'%3E%3Cpath d='M30 5l2.5 7.5H40l-6 4.5 2.5 7.5-6.5-5-6.5 5 2.5-7.5-6-4.5h7.5L30 5z'/%3E%3C/g%3E%3C/svg%3E");
}

/* 8-Point Islamic Star Pattern */
.islamic-star-bg {
    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='%23D4AF37' stroke-width='0.5' stroke-opacity='0.15'%3E%3Cpolygon points='40,5 45,35 75,40 45,45 40,75 35,45 5,40 35,35'/%3E%3Ccircle cx='40' cy='40' r='20'/%3E%3Ccircle cx='40' cy='40' r='35'/%3E%3C/g%3E%3C/svg%3E");
}

/* Animated Geometric Border Effect */
.geometric-glow {
    position: relative;
}

.geometric-glow::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-gold), transparent, var(--primary-gold), transparent);
    background-size: 400% 400%;
    border-radius: inherit;
    z-index: -1;
    animation: gradientBorder 4s ease infinite;
    opacity: 0.5;
}

@keyframes gradientBorder {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ===================================
   Floating Decorative Moons & Stars
   =================================== */
.floating-decorations {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.deco-star, .deco-moon {
    position: absolute;
    color: var(--primary-gold);
    opacity: 0.3;
    animation: floatStar 15s ease-in-out infinite;
}

.deco-star.star-1 {
    top: 15%;
    left: 5%;
    font-size: 20px;
    animation-delay: 0s;
    animation-duration: 12s;
}

.deco-star.star-2 {
    top: 25%;
    right: 8%;
    font-size: 16px;
    animation-delay: 2s;
    animation-duration: 18s;
}

.deco-star.star-3 {
    top: 60%;
    left: 3%;
    font-size: 24px;
    animation-delay: 4s;
    animation-duration: 14s;
}

.deco-moon.moon-1 {
    top: 40%;
    right: 5%;
    font-size: 40px;
    animation-delay: 1s;
    animation-duration: 20s;
}

.deco-star.star-4 {
    top: 75%;
    right: 12%;
    font-size: 18px;
    animation-delay: 3s;
    animation-duration: 16s;
}

.deco-star.star-5 {
    top: 85%;
    left: 10%;
    font-size: 14px;
    animation-delay: 5s;
    animation-duration: 13s;
}

@keyframes floatStar {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.1;
    }
    25% {
        transform: translateY(-20px) rotate(10deg);
        opacity: 0.2;
    }
    50% {
        transform: translateY(-10px) rotate(-5deg);
        opacity: 0.15;
    }
    75% {
        transform: translateY(-30px) rotate(5deg);
        opacity: 0.25;
    }
}

/* ===================================
   Preloader with Crescent Moon
   =================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #FDF6E3 0%, #F4E4BC 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.crescent-loader {
    width: 80px;
    height: 80px;
    position: relative;
    margin: 0 auto 30px;
}

.crescent-loader::before {
    content: '☪';
    font-size: 60px;
    color: var(--primary-gold);
    animation: crescentPulse 2s ease-in-out infinite;
    display: block;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

.crescent-loader::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    border: 2px solid transparent;
    border-top-color: var(--primary-gold);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: spin 1.5s linear infinite;
}

@keyframes crescentPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.preloader-content p {
    color: var(--primary-gold-dark);
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.navbar.scrolled .logo-img {
    height: 45px;
}

.navbar.scrolled .logo {
    color: var(--text-primary);
}

.logo-icon {
    font-size: 2rem;
    color: var(--primary-gold);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
    transition: var(--transition-smooth);
}

.navbar.scrolled .nav-links a {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient-gold);
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    color: var(--deep-night);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-gold);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 35px rgba(212, 175, 55, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-smooth);
}

.navbar.scrolled .hamburger span {
    background: var(--text-primary);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: linear-gradient(180deg, #FDF6E3 0%, #F4E4BC 100%);
    z-index: 999;
    transition: right 0.4s ease;
    padding: 100px 40px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mobile-nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.mobile-nav-links a:hover {
    color: var(--primary-gold-dark);
}

.mobile-cta {
    margin-top: 20px;
    width: 100%;
}

/* ===================================
   Hero Section with Stars & Moon
   =================================== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 120px 40px 80px;
    overflow: hidden;
    background: linear-gradient(180deg, #FFFEF7 0%, #FDF6E3 30%, #F4E4BC 70%, #E8D5A3 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Animated Stars Background */
.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(3px 3px at 20px 30px, rgba(212, 175, 55, 0.6), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(184, 150, 12, 0.5), transparent),
        radial-gradient(2px 2px at 90px 40px, rgba(212, 175, 55, 0.4), transparent),
        radial-gradient(3px 3px at 130px 80px, rgba(201, 162, 39, 0.6), transparent),
        radial-gradient(2px 2px at 160px 120px, rgba(212, 175, 55, 0.4), transparent),
        radial-gradient(3px 3px at 200px 60px, rgba(184, 150, 12, 0.5), transparent),
        radial-gradient(2px 2px at 240px 150px, rgba(212, 175, 55, 0.5), transparent),
        radial-gradient(3px 3px at 280px 90px, rgba(201, 162, 39, 0.6), transparent),
        radial-gradient(2px 2px at 320px 200px, rgba(212, 175, 55, 0.4), transparent),
        radial-gradient(3px 3px at 360px 50px, rgba(184, 150, 12, 0.5), transparent),
        radial-gradient(2px 2px at 400px 180px, rgba(212, 175, 55, 0.4), transparent),
        radial-gradient(3px 3px at 450px 100px, rgba(201, 162, 39, 0.6), transparent),
        radial-gradient(2px 2px at 500px 220px, rgba(212, 175, 55, 0.3), transparent),
        radial-gradient(3px 3px at 550px 70px, rgba(184, 150, 12, 0.5), transparent),
        radial-gradient(2px 2px at 600px 160px, rgba(212, 175, 55, 0.4), transparent);
    background-repeat: repeat;
    background-size: 600px 250px;
    animation: twinkle 8s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Add Crescent Moon */
.hero-bg::before {
    content: '☪';
    position: absolute;
    top: 15%;
    right: 15%;
    font-size: 120px;
    color: var(--primary-gold);
    opacity: 0.25;
    text-shadow: 0 0 60px rgba(212, 175, 55, 0.5);
    animation: moonFloat 10s ease-in-out infinite;
}

@keyframes moonFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Islamic Geometric Overlay */
.gradient-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23C9A227' fill-opacity='0.08'%3E%3Cpath d='M50 0L100 50 50 100 0 50z M50 10L90 50 50 90 10 50z M50 20L80 50 50 80 20 50z M50 30L70 50 50 70 30 50z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(180deg, rgba(255, 254, 247, 0.1) 0%, rgba(244, 228, 188, 0.3) 100%);
}

/* Additional floating stars */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(4px 4px at 100px 100px, rgba(201, 162, 39, 0.5), transparent),
        radial-gradient(3px 3px at 300px 200px, rgba(184, 150, 12, 0.4), transparent),
        radial-gradient(4px 4px at 500px 150px, rgba(201, 162, 39, 0.5), transparent),
        radial-gradient(3px 3px at 700px 300px, rgba(212, 175, 55, 0.4), transparent),
        radial-gradient(4px 4px at 900px 100px, rgba(201, 162, 39, 0.5), transparent),
        radial-gradient(3px 3px at 1100px 250px, rgba(184, 150, 12, 0.4), transparent);
    background-size: 1200px 400px;
    animation: starsMove 60s linear infinite;
    pointer-events: none;
}

@keyframes starsMove {
    from { background-position: 0 0; }
    to { background-position: 1200px 0; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(201, 162, 39, 0.2);
    border: 1px solid rgba(201, 162, 39, 0.4);
    padding: 10px 20px;
    border-radius: 50px;
    color: var(--primary-gold-dark);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.badge-icon {
    font-size: 1rem;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 25px;
}

.hero-title .highlight {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.9;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.primary-btn {
    position: relative;
    background: var(--gradient-gold);
    border: none;
    padding: 16px 36px;
    border-radius: 50px;
    color: var(--deep-night);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-gold);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(212, 175, 55, 0.5);
}

.btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease;
}

.primary-btn:hover .btn-glow {
    transform: translate(-50%, -50%) scale(2);
}

.secondary-btn {
    background: transparent;
    border: 2px solid var(--primary-gold);
    padding: 14px 32px;
    border-radius: 50px;
    color: var(--primary-gold-dark);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
}

.secondary-btn:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--primary-gold-dark);
}

.secondary-btn i {
    font-size: 1.3rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    font-family: 'Playfair Display', serif;
}

.stat-number::after {
    content: '+';
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(212, 175, 55, 0.3);
}

/* Hero Visual - 3D Kaaba */
.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.vr-device-container {
    position: relative;
    width: 500px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vr-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

/* 3D Kaaba */
.kaaba-3d {
    width: 150px;
    height: 180px;
    perspective: 1000px;
    position: relative;
}

.kaaba-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateKaaba 20s linear infinite;
}

@keyframes rotateKaaba {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

.kaaba-face {
    position: absolute;
    width: 150px;
    height: 180px;
    background: linear-gradient(180deg, #2C1810 0%, #1a0f0a 100%);
    border: 3px solid var(--primary-gold);
    box-shadow: inset 0 0 30px rgba(212, 175, 55, 0.2), 0 0 40px rgba(212, 175, 55, 0.3);
}

.kaaba-face.front { transform: translateZ(75px); }
.kaaba-face.back { transform: rotateY(180deg) translateZ(75px); }
.kaaba-face.left { transform: rotateY(-90deg) translateZ(75px); }
.kaaba-face.right { transform: rotateY(90deg) translateZ(75px); }
.kaaba-face.top { 
    width: 150px; 
    height: 150px; 
    transform: rotateX(90deg) translateZ(90px);
    background: #0a0a0a;
}

.kaaba-band {
    position: absolute;
    width: 160px;
    height: 40px;
    top: 50px;
    left: -5px;
    background: var(--gradient-gold);
    transform-style: preserve-3d;
    animation: rotateKaaba 20s linear infinite;
}

/* Orbit Rings */
.orbit-ring {
    position: absolute;
    border: 2px solid rgba(201, 162, 39, 0.35);
    border-radius: 50%;
    animation: orbitSpin 15s linear infinite;
}

.ring-1 {
    width: 280px;
    height: 280px;
    animation-duration: 20s;
}

.ring-2 {
    width: 360px;
    height: 360px;
    animation-duration: 25s;
    animation-direction: reverse;
}

.ring-3 {
    width: 440px;
    height: 440px;
    animation-duration: 30s;
}

/* Add small stars on orbit rings */
.orbit-ring::before {
    content: '✦';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-gold);
    font-size: 12px;
}

.orbit-ring::after {
    content: '★';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-gold);
    font-size: 10px;
    opacity: 0.7;
}

@keyframes orbitSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--primary-gold);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary-gold);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0%, 100% { opacity: 1; top: 8px; }
    50% { opacity: 0.3; top: 20px; }
}

/* ===================================
   Animations
   =================================== */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.animate-fade-left {
    opacity: 0;
    transform: translateX(50px);
    animation: fadeLeft 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeLeft {
    to { opacity: 1; transform: translateX(0); }
}

/* ===================================
   Container
   =================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===================================
   Section Headers with Islamic Patterns
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.section-header::before {
    content: '✦';
    display: block;
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-bottom: 15px;
    opacity: 0.6;
    animation: sparkle 3s ease-in-out infinite;
}

/* Beautiful Islamic Divider */
.section-header::after {
    content: '';
    display: block;
    width: 120px;
    height: 20px;
    margin: 25px auto 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 20'%3E%3Cpath d='M0,10 L20,10 M100,10 L120,10' stroke='%23D4AF37' stroke-width='1' fill='none'/%3E%3Ccircle cx='30' cy='10' r='3' fill='%23D4AF37'/%3E%3Ccircle cx='60' cy='10' r='5' fill='%23D4AF37'/%3E%3Ccircle cx='90' cy='10' r='3' fill='%23D4AF37'/%3E%3Cpath d='M35,10 L55,10 M65,10 L85,10' stroke='%23D4AF37' stroke-width='1' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.7;
}

.section-tag {
    display: inline-block;
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-gold-dark);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.section-header.light .section-tag {
    background: rgba(212, 175, 55, 0.25);
    color: var(--primary-gold-dark);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.section-header.light .section-title {
    color: var(--text-primary);
}

.section-title .highlight {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-header.light .section-subtitle {
    color: var(--text-secondary);
}

/* ===================================
   Experience Section with Mosaic BG
   =================================== */
.experience-section {
    padding: 120px 0;
    position: relative;
    background: var(--soft-white);
    overflow: hidden;
}

/* Section Decorative Ornaments */
.section-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.corner-ornament {
    position: absolute;
    font-size: 60px;
    color: var(--primary-gold);
    opacity: 0.08;
    line-height: 1;
}

.corner-ornament.top-left {
    top: 30px;
    left: 30px;
}

.corner-ornament.top-right {
    top: 30px;
    right: 30px;
    transform: rotate(90deg);
}

.corner-ornament.bottom-left {
    bottom: 30px;
    left: 30px;
    transform: rotate(-90deg);
}

.corner-ornament.bottom-right {
    bottom: 30px;
    right: 30px;
    transform: rotate(180deg);
}

/* Islamic Mosaic Background Pattern */
.experience-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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='%23D4AF37' fill-opacity='0.04'%3E%3Cpath d='M40 0l40 40-40 40L0 40 40 0zm0 10L10 40l30 30 30-30-30-30z'/%3E%3Cpath d='M40 20l20 20-20 20-20-20 20-20zm0 10l10 10-10 10-10-10 10-10z'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

/* Decorative corner patterns */
.experience-section::after {
    content: '❋';
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 80px;
    color: var(--primary-gold);
    opacity: 0.08;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.experience-card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.experience-card:hover::before {
    transform: scaleX(1);
}

.experience-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.15);
}

/* Subtle star decoration on hover */
.experience-card::after {
    content: '✦';
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 40px;
    color: var(--primary-gold);
    opacity: 0;
    transition: var(--transition-smooth);
}

.experience-card:hover::after {
    opacity: 0.1;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
}

.card-icon i {
    font-size: 1.8rem;
    color: var(--primary-gold);
}

.icon-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.experience-card:hover .icon-glow {
    opacity: 1;
}

.experience-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.experience-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===================================
   360 Panorama Section
   =================================== */
.panorama-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #FDF6E3 0%, #F4E4BC 50%, #E8D5A3 100%);
    position: relative;
    overflow: hidden;
}

/* Stars background for panorama section */
.panorama-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(3px 3px at 50px 50px, rgba(201, 162, 39, 0.4), transparent),
        radial-gradient(3px 3px at 150px 100px, rgba(184, 150, 12, 0.5), transparent),
        radial-gradient(2px 2px at 250px 150px, rgba(201, 162, 39, 0.3), transparent),
        radial-gradient(3px 3px at 350px 80px, rgba(212, 175, 55, 0.4), transparent),
        radial-gradient(2px 2px at 450px 200px, rgba(184, 150, 12, 0.4), transparent);
    background-size: 500px 300px;
    opacity: 0.6;
}

/* Crescent moon decoration */
.panorama-section::after {
    content: '☪';
    position: absolute;
    top: 60px;
    left: 60px;
    font-size: 60px;
    color: var(--primary-gold);
    opacity: 0.3;
}

.panorama-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(212, 175, 55, 0.2);
    top: -100px;
    right: -100px;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(201, 162, 39, 0.15);
    bottom: -50px;
    left: -50px;
}

.panorama-container {
    position: relative;
    z-index: 2;
}

.panorama-viewer {
    width: 100%;
    height: 500px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    position: relative;
    background: #000;
    box-shadow: 0 20px 80px rgba(139, 105, 20, 0.3);
    border: 3px solid rgba(201, 162, 39, 0.5);
}

.panorama-image {
    width: 300%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1591604129939-f1efa4d9f7fa?w=2000');
    background-size: cover;
    background-position: center;
    animation: panoramaRotate 60s linear infinite;
}

@keyframes panoramaRotate {
    from { transform: translateX(0); }
    to { transform: translateX(-66.666%); }
}

.panorama-image.paused {
    animation-play-state: paused;
}

.panorama-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.5) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
}

.panorama-controls {
    display: flex;
    gap: 15px;
    align-self: flex-end;
}

.control-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background: rgba(212, 175, 55, 0.3);
    border-color: var(--primary-gold);
}

.panorama-info {
    align-self: flex-start;
}

.location-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 50px;
    color: white;
    font-size: 0.9rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.location-badge i {
    color: var(--primary-gold);
}

/* Hotspots */
.panorama-hotspots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hotspot {
    position: absolute;
    width: 30px;
    height: 30px;
    transform: translate(-50%, -50%);
    pointer-events: auto;
    cursor: pointer;
}

.hotspot-pulse {
    width: 100%;
    height: 100%;
    background: var(--primary-gold);
    border-radius: 50%;
    animation: hotspotPulse 2s ease-in-out infinite;
}

@keyframes hotspotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
}

.hotspot-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    margin-bottom: 10px;
}

.hotspot:hover .hotspot-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Panorama Thumbnails */
.panorama-thumbnails {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
}

.thumbnail {
    width: 150px;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: var(--transition-smooth);
    position: relative;
}

.thumbnail.active {
    border-color: var(--primary-gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.thumbnail:hover {
    transform: translateY(-5px);
}

.thumbnail img {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

.thumbnail span {
    display: block;
    padding: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 0.75rem;
    text-align: center;
}

/* ===================================
   Ambassador Section
   =================================== */
.ambassador-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    background: var(--soft-white);
}

.ambassador-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Beautiful Islamic pattern overlay */
.pattern-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%23D4AF37' stroke-width='0.5' stroke-opacity='0.1'%3E%3Cpath d='M30 0L60 30 30 60 0 30z'/%3E%3Cpath d='M30 10L50 30 30 50 10 30z'/%3E%3Cpath d='M30 20L40 30 30 40 20 30z'/%3E%3C/g%3E%3C/svg%3E");
}

.ambassador-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.ambassador-image-container {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-deep);
}

.frame-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--primary-gold), transparent, var(--primary-gold), transparent);
    animation: frameRotate 8s linear infinite;
    opacity: 0.3;
}

@keyframes frameRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.ambassador-img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
    object-fit: cover;
    background: linear-gradient(180deg, #FDF6E3 0%, #F4E4BC 100%);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 50%, rgba(244, 228, 188, 0.6) 100%);
    z-index: 2;
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gradient-gold);
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--deep-night);
    font-weight: 600;
    box-shadow: var(--shadow-gold);
    z-index: 10;
}

.floating-badge i {
    font-size: 1.2rem;
}

/* Decorative elements */
.decorative-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.deco-circle {
    position: absolute;
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
}

.deco-circle.c1 {
    width: 150px;
    height: 150px;
    top: -30px;
    left: -30px;
}

.deco-circle.c2 {
    width: 100px;
    height: 100px;
    bottom: 50px;
    right: -50px;
    border-style: dashed;
}

.deco-line {
    position: absolute;
    background: var(--primary-gold);
    opacity: 0.3;
}

.deco-line.l1 {
    width: 100px;
    height: 2px;
    top: 50%;
    left: -120px;
}

.deco-line.l2 {
    width: 2px;
    height: 100px;
    bottom: -50px;
    right: 30%;
}

.ambassador-text {
    position: relative;
}

.ambassador-text .section-tag {
    margin-bottom: 15px;
}

.ambassador-name {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.ambassador-title {
    color: var(--primary-gold-dark);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 30px;
}

.ambassador-quote {
    position: relative;
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--text-secondary);
    font-style: italic;
    padding: 30px;
    background: white;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-gold);
    margin-bottom: 30px;
    box-shadow: var(--shadow-soft);
}

.quote-mark {
    font-size: 3rem;
    color: var(--primary-gold);
    font-family: 'Playfair Display', serif;
    line-height: 0;
    vertical-align: middle;
    opacity: 0.5;
}

.ambassador-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 35px;
}

.credential {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(212, 175, 55, 0.1);
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.credential i {
    color: var(--primary-gold);
}

.ambassador-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* ===================================
   Journey Steps Section
   =================================== */
.journey-section {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--pearl) 0%, var(--soft-white) 100%);
    position: relative;
}

/* Subtle star pattern */
.journey-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill='%23D4AF37' fill-opacity='0.05'%3E%3Cpath d='M20 5l1.5 4.5H26l-3.5 2.5 1.5 4.5-4-3-4 3 1.5-4.5L14 9.5h4.5L20 5z'/%3E%3C/g%3E%3C/svg%3E");
}

.journey-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}

.journey-line {
    position: absolute;
    top: 80px;
    left: 20%;
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-gold), rgba(212, 175, 55, 0.3), var(--primary-gold));
}

.step-card {
    text-align: center;
    position: relative;
    padding: 50px 30px;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.15);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-gold);
    opacity: 0.2;
}

.step-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
    z-index: 1;
}

.step-icon i {
    font-size: 2rem;
    color: var(--deep-night);
}

.step-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials-section {
    padding: 120px 0;
    background: var(--soft-white);
    position: relative;
}

/* Decorative moons */
.testimonials-section::before,
.testimonials-section::after {
    font-size: 100px;
    color: var(--primary-gold);
    opacity: 0.05;
    position: absolute;
}

.testimonials-section::before {
    content: '☪';
    top: 50px;
    left: 50px;
}

.testimonials-section::after {
    content: '✦';
    bottom: 50px;
    right: 50px;
    font-size: 60px;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.12);
}

.stars {
    margin-bottom: 20px;
}

.stars i {
    color: var(--primary-gold);
    font-size: 1rem;
    margin-right: 3px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--deep-night);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
}

.author-location {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #E8D5A3 0%, #D4C4A0 50%, #C9B896 100%);
}

/* Beautiful Islamic pattern for CTA */
.cta-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    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='%23D4AF37' stroke-width='1' stroke-opacity='0.1'%3E%3Cpath d='M60 0L120 60 60 120 0 60z'/%3E%3Cpath d='M60 15L105 60 60 105 15 60z'/%3E%3Cpath d='M60 30L90 60 60 90 30 60z'/%3E%3Cpath d='M60 45L75 60 60 75 45 60z'/%3E%3Ccircle cx='60' cy='60' r='55'/%3E%3Ccircle cx='60' cy='60' r='40'/%3E%3C/g%3E%3C/svg%3E");
}

/* Stars in CTA */
.cta-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(3px 3px at 100px 50px, rgba(139, 105, 20, 0.4), transparent),
        radial-gradient(3px 3px at 300px 100px, rgba(184, 150, 12, 0.5), transparent),
        radial-gradient(2px 2px at 500px 80px, rgba(139, 105, 20, 0.3), transparent),
        radial-gradient(3px 3px at 700px 120px, rgba(201, 162, 39, 0.4), transparent),
        radial-gradient(2px 2px at 900px 60px, rgba(184, 150, 12, 0.4), transparent);
    background-size: 1000px 200px;
    animation: starsMove 40s linear infinite;
}

/* Crescent moon */
.cta-bg::after {
    content: '☪';
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    font-size: 200px;
    color: var(--primary-gold-dark);
    opacity: 0.15;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 35px;
    line-height: 1.8;
}

.cta-text strong {
    color: var(--primary-gold-dark);
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.cta-feature i {
    color: var(--primary-gold-dark);
    font-size: 1.2rem;
}

.primary-btn.large {
    padding: 20px 50px;
    font-size: 1.1rem;
}

.primary-btn.large i {
    margin-left: 10px;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: linear-gradient(180deg, #C9B896 0%, #B8A888 100%);
    padding: 80px 0 30px;
    position: relative;
}

/* Subtle pattern */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='%238B6914' fill-opacity='0.08'%3E%3Cpath d='M30 0l30 30-30 30L0 30z'/%3E%3C/g%3E%3C/svg%3E");
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 1;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.footer-logo .logo-icon {
    font-size: 2rem;
    color: var(--primary-gold);
}

.footer-logo .logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-link:hover {
    background: var(--primary-gold);
    color: var(--deep-night);
    transform: translateY(-3px);
}

.footer-links h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--primary-gold-dark);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-badges {
    display: flex;
    gap: 20px;
}

.footer-badges .badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.footer-badges .badge i {
    color: var(--primary-gold-dark);
}

/* ===================================
   Modal Styles
   =================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(201, 162, 39, 0.85);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 50px;
    max-width: 550px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(30px);
    transition: var(--transition-smooth);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.3);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(212, 175, 55, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.modal-close:hover {
    background: var(--primary-gold);
    color: white;
}

.modal-header {
    text-align: center;
    margin-bottom: 35px;
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
    color: var(--deep-night);
    box-shadow: var(--shadow-gold);
}

.modal-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.modal-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group select {
    padding: 14px 18px;
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition-smooth);
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.password-input {
    position: relative;
}

.password-input input {
    width: 100%;
    padding-right: 50px;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.form-checkbox input {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-gold);
    margin-top: 2px;
}

.form-checkbox label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.form-checkbox a {
    color: var(--primary-gold);
    text-decoration: none;
}

.submit-btn {
    background: var(--gradient-gold);
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--deep-night);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition-smooth);
    margin-top: 10px;
}

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

.modal-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.modal-footer p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.modal-footer a {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
}

/* Success Modal */
.success-content {
    text-align: center;
    padding: 60px 50px;
}

.success-animation {
    margin-bottom: 30px;
}

.success-circle {
    width: 100px;
    height: 100px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: successPop 0.5s ease;
}

@keyframes successPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.success-circle i {
    font-size: 3rem;
    color: var(--deep-night);
}

.success-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.success-content p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.7;
}

/* ===================================
   SUBPAGE SHARED STYLES
   =================================== */

/* --- Page Hero Banner (all subpages) --- */
.page-hero {
    position: relative;
    padding: 160px 20px 80px;
    text-align: center;
    background: linear-gradient(135deg, var(--pearl) 0%, var(--primary-gold-light) 50%, var(--warm-cream) 100%);
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 40%, rgba(201,162,39,0.12) 0%, transparent 60%),
                radial-gradient(circle at 70% 60%, rgba(201,162,39,0.08) 0%, transparent 50%);
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--deep-night);
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Content Sections --- */
.content-section {
    padding: 80px 20px;
}

.content-section.alt-bg {
    background: var(--pearl);
}

/* --- Intro Block --- */
.intro-block {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-block h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--deep-night);
    margin-bottom: 20px;
}

.intro-block p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 15px;
}

.intro-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-gold-light), rgba(201,162,39,0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--primary-gold);
}

/* --- Verse / Quote Block --- */
.verse-block {
    background: var(--soft-white);
    border-left: 4px solid var(--primary-gold);
    border-radius: 0 16px 16px 0;
    padding: 30px;
    margin: 30px 0;
    text-align: left;
}

.arabic-text {
    font-family: 'Amiri', serif;
    font-size: 1.6rem;
    color: var(--primary-gold-dark);
    line-height: 2;
    margin-bottom: 12px;
    direction: rtl;
    text-align: right;
}

.translation {
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 8px;
}

.reference {
    font-size: 0.85rem;
    color: var(--primary-gold);
    font-weight: 600;
}

/* --- Steps / Ritual Section --- */
.steps-section {
    padding: 80px 20px;
    background: var(--pearl);
}

/* --- Ritual Timeline --- */
.ritual-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.ritual-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-gold-light), var(--primary-gold), var(--primary-gold-light));
    border-radius: 3px;
}

.timeline-day {
    margin: 40px 0 20px;
    padding-left: 70px;
}

.day-marker {
    display: inline-flex;
    flex-direction: column;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
    color: white;
    padding: 12px 24px;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(201,162,39,0.3);
}

.day-number {
    font-weight: 700;
    font-size: 1.1rem;
}

.day-date {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* --- Ritual Card --- */
.ritual-card {
    position: relative;
    background: var(--soft-white);
    border-radius: 20px;
    padding: 30px 30px 30px 90px;
    margin-bottom: 20px;
    border: 1px solid rgba(201,162,39,0.1);
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.ritual-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(201,162,39,0.15);
}

.ritual-card.featured {
    border-color: var(--primary-gold);
    box-shadow: 0 4px 20px rgba(201,162,39,0.15);
}

.ritual-card.final {
    background: linear-gradient(135deg, var(--pearl), var(--primary-gold-light));
    border-color: var(--primary-gold);
}

.ritual-number {
    position: absolute;
    left: 15px;
    top: 30px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 3px 12px rgba(201,162,39,0.3);
}

.ritual-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-gold-light), rgba(201,162,39,0.15));
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--primary-gold);
}

.ritual-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--deep-night);
    margin-bottom: 10px;
}

.ritual-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* --- Dua Box --- */
.dua-box {
    background: rgba(201,162,39,0.06);
    border-radius: 12px;
    padding: 18px;
    margin-top: 15px;
    border: 1px solid rgba(201,162,39,0.1);
}

.dua-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

.arabic-small {
    font-family: 'Amiri', serif;
    font-size: 1.2rem;
    color: var(--primary-gold-dark);
    direction: rtl;
    text-align: right;
    line-height: 1.8;
    margin-bottom: 8px;
}

.translation-small {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- Highlight / Info Boxes --- */
.highlight-box {
    background: linear-gradient(135deg, var(--primary-gold-light), rgba(201,162,39,0.1));
    border-radius: 16px;
    padding: 25px;
    margin: 20px 0;
    border-left: 4px solid var(--primary-gold);
}

.highlight-box h4 {
    font-family: 'Playfair Display', serif;
    color: var(--deep-night);
    margin-bottom: 10px;
}

.highlight-box p,
.highlight-box li {
    color: var(--text-secondary);
    line-height: 1.7;
}

.info-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-gold-light);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary-gold-dark);
    font-weight: 600;
    margin-top: 12px;
}

.info-badge i {
    color: var(--primary-gold);
}

/* --- Restrictions Box (Umrah) --- */
.restrictions-box {
    background: var(--soft-white);
    border-radius: 16px;
    padding: 30px;
    margin: 30px 0;
    border: 1px solid rgba(201,162,39,0.1);
}

.restrictions-box h3 {
    font-family: 'Playfair Display', serif;
    color: var(--deep-night);
    margin-bottom: 15px;
}

.restrictions-box ul {
    list-style: none;
    padding: 0;
}

.restrictions-box li {
    padding: 8px 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.restrictions-box li::before {
    content: '✗';
    color: #c0392b;
    font-weight: 700;
}

/* --- Benefits Grid (Umrah) --- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.benefit-card {
    background: var(--soft-white);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(201,162,39,0.1);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(201,162,39,0.12);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-gold-light), rgba(201,162,39,0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.4rem;
    color: var(--primary-gold);
}

.benefit-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--deep-night);
    margin-bottom: 10px;
}

.benefit-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- Acts Grid (Umrah) --- */
.acts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.act-card {
    background: var(--soft-white);
    border-radius: 14px;
    padding: 24px;
    text-align: center;
    border: 1px solid rgba(201,162,39,0.1);
    transition: all 0.3s ease;
}

.act-card:hover {
    box-shadow: 0 5px 20px rgba(201,162,39,0.1);
}

.act-card i {
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-bottom: 12px;
    display: block;
}

.act-card h4 {
    font-size: 1rem;
    color: var(--deep-night);
    margin-bottom: 8px;
}

.act-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- About Page --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.about-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--deep-night);
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-image .image-frame {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.about-image .image-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 40px auto 0;
}

.value-card {
    background: var(--soft-white);
    border-radius: 20px;
    padding: 35px 30px;
    text-align: center;
    border: 1px solid rgba(201,162,39,0.1);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(201,162,39,0.12);
}

.value-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-gold-light), rgba(201,162,39,0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.6rem;
    color: var(--primary-gold);
}

.value-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--deep-night);
    margin-bottom: 12px;
}

.value-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* --- Stats Section (About) --- */
.stats-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.stat-card {
    color: white;
}

.stat-card .stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 6px;
}

.stat-card .stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* --- Team Grid (About) --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 40px auto 0;
}

.team-card {
    background: var(--soft-white);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(201,162,39,0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(201,162,39,0.12);
}

.team-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-gold-light), var(--warm-cream));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-gold);
}

.team-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--deep-night);
    padding: 20px 20px 5px;
}

.team-role {
    font-size: 0.85rem;
    color: var(--primary-gold);
    font-weight: 500;
    padding: 0 20px;
}

.team-card p:last-child {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 10px 20px 25px;
    line-height: 1.6;
}

/* --- Ambassador Feature (About page variation) --- */
.ambassador-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

/* ===================================
   Responsive Design - Enhanced Mobile
   =================================== */

/* Tablet Landscape */
@media (max-width: 1200px) {
    .hero-visual {
        right: 0;
    }
    
    .vr-device-container {
        width: 400px;
        height: 400px;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .container {
        padding: 0 30px;
    }
}

/* Tablet Portrait */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        padding: 140px 30px 80px;
        min-height: auto;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin-top: 50px;
    }
    
    .experience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ambassador-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .ambassador-image-container {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .ambassador-text {
        text-align: center;
    }
    
    .ambassador-credentials {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .journey-steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .journey-line {
        display: none;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-header {
        margin-bottom: 50px;
    }
    
    .experience-section,
    .panorama-section,
    .ambassador-section,
    .journey-section,
    .testimonials-section,
    .cta-section {
        padding: 80px 0;
    }
}

/* Mobile Landscape / Small Tablet */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .nav-links,
    .nav-cta {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    .navbar {
        padding: 15px 0;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .hero {
        padding: 120px 20px 60px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .hero-badge {
        padding: 8px 16px;
        font-size: 0.75rem;
    }
    
    .section-title {
        font-size: 1.9rem;
        line-height: 1.3;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .experience-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .experience-card {
        padding: 30px 25px;
    }
    
    .panorama-viewer {
        height: 300px;
        border-radius: 16px;
    }
    
    .panorama-thumbnails {
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }
    
    .thumbnail {
        width: 100px;
    }
    
    .thumbnail img {
        height: 60px;
    }
    
    .thumbnail span {
        font-size: 0.65rem;
        padding: 8px;
    }
    
    .panorama-controls {
        gap: 10px;
    }
    
    .control-btn {
        width: 40px;
        height: 40px;
    }
    
    .location-badge {
        font-size: 0.8rem;
        padding: 10px 15px;
    }
    
    .ambassador-name {
        font-size: 2rem;
    }
    
    .ambassador-title {
        font-size: 1rem;
    }
    
    .ambassador-quote {
        padding: 20px;
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .ambassador-credentials {
        gap: 12px;
    }
    
    .credential {
        padding: 10px 16px;
        font-size: 0.8rem;
    }
    
    .floating-badge {
        bottom: -15px;
        right: 10px;
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    
    .step-card {
        padding: 40px 25px;
    }
    
    .step-icon {
        width: 70px;
        height: 70px;
    }
    
    .step-icon i {
        font-size: 1.5rem;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 12px;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-text {
        font-size: 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }
    
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-links ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 20px;
    }
    
    .footer-links li {
        margin-bottom: 0;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-badges {
        justify-content: center;
    }
    
    .modal-content {
        padding: 30px 20px;
        max-width: 95%;
        margin: 10px;
        max-height: 85vh;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .modal-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-group input,
    .form-group select {
        padding: 12px 14px;
        font-size: 16px; /* Prevents iOS zoom on focus */
    }
    
    .submit-btn {
        padding: 14px;
    }
    
    /* Mobile menu improvements */
    .mobile-menu {
        width: 100%;
        max-width: 100%;
        padding: 80px 30px;
    }
    
    .mobile-nav-links {
        gap: 25px;
    }
    
    .mobile-nav-links a {
        font-size: 1.1rem;
    }
    
    /* Hide decorations on mobile */
    .floating-decorations {
        display: none;
    }
    
    .corner-ornament {
        display: none;
    }
    
    .section-header::after {
        width: 80px;
    }
    
    /* Testimonial cards */
    .testimonial-card {
        padding: 25px 20px;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
    }

    /* --- Subpage Responsive (768px) --- */
    .page-hero {
        padding: 130px 20px 60px;
    }

    .page-title {
        font-size: 2.2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .content-section {
        padding: 60px 16px;
    }

    .intro-block h2 {
        font-size: 1.6rem;
    }

    .intro-block p {
        font-size: 0.95rem;
    }

    .arabic-text {
        font-size: 1.3rem;
    }

    .verse-block {
        padding: 20px;
    }

    .steps-section {
        padding: 60px 16px;
    }

    .ritual-timeline::before {
        left: 20px;
    }

    .ritual-card {
        padding: 25px 20px 25px 65px;
    }

    .ritual-number {
        left: 6px;
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }

    .ritual-content h3 {
        font-size: 1.1rem;
    }

    .timeline-day {
        padding-left: 55px;
    }

    .day-marker {
        padding: 10px 18px;
    }

    .day-number {
        font-size: 1rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .ambassador-feature {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .team-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .acts-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

/* Mobile Portrait - Small Phones */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 110px 16px 50px;
    }
    
    .hero-title {
        font-size: 1.85rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .primary-btn,
    .secondary-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 0.95rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat-item {
        padding: 10px 0;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .stat-divider {
        width: 50px;
        height: 1px;
    }
    
    .vr-device-container {
        width: 240px;
        height: 240px;
    }
    
    .kaaba-3d {
        width: 80px;
        height: 100px;
    }
    
    .orbit-ring.ring-1 { width: 180px; height: 180px; }
    .orbit-ring.ring-2 { width: 220px; height: 220px; }
    .orbit-ring.ring-3 { width: 260px; height: 260px; }
    
    .scroll-indicator {
        display: none;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-tag {
        font-size: 0.75rem;
        padding: 6px 14px;
    }
    
    .experience-section,
    .panorama-section,
    .ambassador-section,
    .journey-section,
    .testimonials-section,
    .cta-section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .experience-card {
        padding: 25px 20px;
    }
    
    .card-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 20px;
    }
    
    .card-icon i {
        font-size: 1.4rem;
    }
    
    .experience-card h3 {
        font-size: 1.2rem;
    }
    
    .experience-card p {
        font-size: 0.9rem;
    }
    
    .panorama-viewer {
        height: 250px;
        border-radius: 12px;
    }
    
    .panorama-overlay {
        padding: 15px;
    }
    
    .hotspot {
        display: none; /* Hide hotspots on small mobile */
    }
    
    .panorama-thumbnails {
        gap: 8px;
        margin-top: 20px;
    }
    
    .thumbnail {
        width: 75px;
    }
    
    .thumbnail img {
        height: 50px;
    }
    
    .thumbnail span {
        font-size: 0.6rem;
        padding: 6px;
    }
    
    .ambassador-name {
        font-size: 1.7rem;
    }
    
    .ambassador-title {
        font-size: 0.9rem;
    }
    
    .ambassador-quote {
        padding: 16px;
        font-size: 0.9rem;
    }
    
    .quote-mark {
        font-size: 2rem;
    }
    
    .credential {
        padding: 8px 14px;
        font-size: 0.75rem;
    }
    
    .image-frame {
        border-radius: 16px;
    }
    
    .decorative-elements {
        display: none;
    }
    
    .step-card {
        padding: 35px 20px;
    }
    
    .step-number {
        font-size: 2.5rem;
        top: -15px;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
    }
    
    .step-card h3 {
        font-size: 1.2rem;
    }
    
    .step-card p {
        font-size: 0.9rem;
    }
    
    .testimonial-card {
        padding: 20px 16px;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .author-avatar {
        width: 40px;
        height: 40px;
        font-size: 0.85rem;
    }
    
    .author-name {
        font-size: 0.9rem;
    }
    
    .author-location {
        font-size: 0.75rem;
    }
    
    .cta-title {
        font-size: 1.7rem;
    }
    
    .cta-text {
        font-size: 0.95rem;
    }
    
    .cta-feature {
        font-size: 0.85rem;
    }
    
    .primary-btn.large {
        padding: 16px 30px;
        font-size: 1rem;
    }
    
    .footer {
        padding: 50px 0 25px;
    }
    
    .footer-logo .logo-text {
        font-size: 1.3rem;
    }
    
    .footer-tagline {
        font-size: 0.9rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .footer-links h4 {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .footer-bottom {
        padding-top: 20px;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
    
    .footer-badges {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .footer-badges .badge {
        font-size: 0.75rem;
    }
    
    /* Modal mobile optimization */
    .modal-content {
        padding: 25px 16px;
        border-radius: 16px;
    }
    
    .modal-close {
        top: 12px;
        right: 12px;
        width: 35px;
        height: 35px;
    }
    
    .modal-header {
        margin-bottom: 25px;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }
    
    .modal-header p {
        font-size: 0.85rem;
    }
    
    .registration-form {
        gap: 15px;
    }
    
    .form-group label {
        font-size: 0.85rem;
    }
    
    .form-checkbox label {
        font-size: 0.8rem;
    }
    
    .success-content {
        padding: 40px 20px;
    }
    
    .success-circle {
        width: 80px;
        height: 80px;
    }
    
    .success-circle i {
        font-size: 2.5rem;
    }
    
    .success-content h2 {
        font-size: 1.5rem;
    }
    
    .success-content p {
        font-size: 0.9rem;
    }

    /* --- Subpage Responsive (480px) --- */
    .page-hero {
        padding: 120px 16px 50px;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .page-subtitle {
        font-size: 0.9rem;
    }

    .content-section {
        padding: 50px 16px;
    }

    .intro-block h2 {
        font-size: 1.4rem;
    }

    .intro-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .arabic-text {
        font-size: 1.1rem;
    }

    .verse-block {
        padding: 16px;
        margin: 20px 0;
    }

    .steps-section {
        padding: 50px 16px;
    }

    .ritual-timeline::before {
        left: 16px;
    }

    .ritual-card {
        padding: 20px 16px 20px 55px;
        border-radius: 14px;
    }

    .ritual-number {
        left: 3px;
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }

    .ritual-image {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .ritual-content h3 {
        font-size: 1rem;
    }

    .ritual-content p {
        font-size: 0.85rem;
    }

    .dua-box {
        padding: 14px;
    }

    .arabic-small {
        font-size: 1rem;
    }

    .translation-small {
        font-size: 0.82rem;
    }

    .timeline-day {
        padding-left: 45px;
        margin: 30px 0 15px;
    }

    .day-marker {
        padding: 8px 14px;
    }

    .day-number {
        font-size: 0.9rem;
    }

    .day-date {
        font-size: 0.7rem;
    }

    .about-grid {
        gap: 25px;
    }

    .about-content h2 {
        font-size: 1.5rem;
    }

    .value-card {
        padding: 25px 20px;
    }

    .value-icon {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-image {
        height: 160px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-card .stat-number {
        font-size: 2rem;
    }

    .acts-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefit-card {
        padding: 24px 20px;
    }

    .highlight-box {
        padding: 18px;
    }

    .restrictions-box {
        padding: 20px;
    }
}

/* Extra Small Phones */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .ambassador-name {
        font-size: 1.5rem;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .thumbnail {
        width: 65px;
    }
    
    .thumbnail img {
        height: 40px;
    }
    
    .vr-device-container {
        width: 200px;
        height: 200px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .primary-btn:hover,
    .secondary-btn:hover,
    .experience-card:hover,
    .step-card:hover,
    .testimonial-card:hover {
        transform: none;
    }
    
    .nav-links a::after {
        display: none;
    }
    
    .hotspot-tooltip {
        display: none;
    }
}

/* Landscape Mode on Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 100px 30px 50px;
    }
    
    .hero-visual {
        display: none;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .preloader {
        display: none;
    }
}

/* High DPI / Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .kaaba-face {
        border-width: 2px;
    }
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .panorama-image {
        animation: none;
    }
    
    .floating-particles,
    .floating-decorations {
        display: none;
    }
}

/* ===================================
   GLOSSY & SHINE EFFECTS — Professional Minimal
   =================================== */

/* --- Glass-morphism Navbar Upgrade --- */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.08);
}

/* --- Hero Badge — subtle glass chip --- */
.hero-badge {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(212, 175, 55, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 16px rgba(201, 162, 39, 0.08), inset 0 1px 0 rgba(255,255,255,0.6);
}

/* --- Primary Button — glossy shine sweep --- */
.primary-btn {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #D4AF37 0%, #F4E4BC 45%, #D4AF37 100%);
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.3), inset 0 1px 0 rgba(255,255,255,0.4);
}

.primary-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.5) 45%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0.5) 55%, transparent 60%);
    transform: skewX(-20deg);
    transition: left 0.8s ease;
    pointer-events: none;
}

.primary-btn:hover::after {
    left: 125%;
}

/* --- Nav CTA — same shine sweep --- */
.nav-cta {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.25), inset 0 1px 0 rgba(255,255,255,0.4);
}

.nav-cta::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.45) 45%, rgba(255,255,255,0.65) 50%, rgba(255,255,255,0.45) 55%, transparent 60%);
    transform: skewX(-20deg);
    transition: left 0.8s ease;
    pointer-events: none;
}

.nav-cta:hover::after {
    left: 125%;
}

/* --- Experience Cards — glossy glass surface --- */
.experience-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(212, 175, 55, 0.1);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.8);
}

.experience-card:hover {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.15), 0 0 0 1px rgba(212, 175, 55, 0.08), inset 0 1px 0 rgba(255,255,255,0.9);
}

/* --- Card Icon — subtle inner glow --- */
.card-icon {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(212, 175, 55, 0.04) 100%);
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.6), 0 2px 8px rgba(201, 162, 39, 0.08);
}

/* --- Step Cards — soft frost finish --- */
.step-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.06);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05), inset 0 1px 0 rgba(255,255,255,0.7);
}

.step-card:hover {
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.15), inset 0 1px 0 rgba(255,255,255,0.9);
}

/* --- Step Icon — glossy sphere effect --- */
.step-icon {
    background: linear-gradient(145deg, #F4E4BC 0%, #D4AF37 40%, #C9A227 60%, #B89620 100%);
    box-shadow: 0 6px 24px rgba(201, 162, 39, 0.35), inset 0 2px 4px rgba(255,255,255,0.5), inset 0 -2px 4px rgba(139, 105, 20, 0.2);
}

/* --- Testimonial Cards — glass refinement --- */
.testimonial-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.7);
}

.testimonial-card:hover {
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.12), inset 0 1px 0 rgba(255,255,255,0.9);
}

/* --- Author Avatar — glossy gold sphere --- */
.author-avatar {
    background: linear-gradient(145deg, #F4E4BC, #D4AF37 40%, #C9A227 70%, #8B6914);
    box-shadow: 0 4px 12px rgba(201, 162, 39, 0.3), inset 0 1px 2px rgba(255,255,255,0.45);
}

/* --- Ambassador Quote Box — frosted panel --- */
.ambassador-quote {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 24px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.7);
    border-left: 4px solid var(--primary-gold);
}

/* --- Credential Pills — glass chips --- */
.credential {
    background: rgba(212, 175, 55, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
    border: 1px solid rgba(212, 175, 55, 0.12);
}

/* --- Floating Badge — shiny metallic --- */
.floating-badge {
    background: linear-gradient(145deg, #F4E4BC, #D4AF37 50%, #C9A227 100%);
    box-shadow: 0 6px 24px rgba(201, 162, 39, 0.4), inset 0 1px 2px rgba(255,255,255,0.5);
}

/* --- Panorama Viewer — refined border glow --- */
.panorama-viewer {
    border: 2px solid rgba(201, 162, 39, 0.4);
    box-shadow: 0 20px 80px rgba(139, 105, 20, 0.25), 0 0 60px rgba(201, 162, 39, 0.1);
}

/* --- Control Buttons — frosted glass --- */
.control-btn {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}

.control-btn:hover {
    background: rgba(212, 175, 55, 0.25);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 0 20px rgba(201, 162, 39, 0.2), inset 0 1px 0 rgba(255,255,255,0.15);
}

/* --- Location Badge — glass label --- */
.location-badge {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

/* --- CTA Section — subtle gradient shine --- */
.cta-glow {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.45) 0%, rgba(255,255,255,0.15) 40%, transparent 70%);
}

/* --- Hero Stats — refined stat items --- */
.stat-number {
    text-shadow: 0 2px 8px rgba(201, 162, 39, 0.15);
}

/* --- Section Tags — glass pill --- */
.section-tag {
    background: rgba(212, 175, 55, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.1);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}

/* --- Social Links — hover glow ring --- */
.social-link:hover {
    box-shadow: 0 0 20px rgba(201, 162, 39, 0.3), inset 0 1px 0 rgba(255,255,255,0.2);
}

/* --- Modal — premium glass overlay --- */
.modal-backdrop {
    background: rgba(44, 24, 16, 0.65);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.modal-content {
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(212, 175, 55, 0.08), inset 0 1px 0 rgba(255,255,255,0.6);
}

/* --- Submit Button — shine sweep --- */
.submit-btn {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(201, 162, 39, 0.2), inset 0 1px 0 rgba(255,255,255,0.35);
}

.submit-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.4) 45%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0.4) 55%, transparent 60%);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
    pointer-events: none;
}

.submit-btn:hover::after {
    left: 125%;
}

/* --- Success Circle — shiny orb --- */
.success-circle {
    background: linear-gradient(145deg, #F4E4BC, #D4AF37 45%, #C9A227 65%, #8B6914);
    box-shadow: 0 8px 30px rgba(201, 162, 39, 0.4), inset 0 2px 4px rgba(255,255,255,0.5), inset 0 -2px 6px rgba(139, 105, 20, 0.25);
}

/* --- Modal Icon — metallic finish --- */
.modal-icon {
    background: linear-gradient(145deg, #F4E4BC, #D4AF37 45%, #C9A227);
    box-shadow: 0 6px 24px rgba(201, 162, 39, 0.35), inset 0 2px 4px rgba(255,255,255,0.5);
}

/* --- Form Inputs — refined focus glow --- */
.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.08), 0 2px 12px rgba(201, 162, 39, 0.08);
}

/* --- Ambient Shimmer on Hero --- */
@keyframes ambientShimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.hero-title .highlight {
    background: linear-gradient(90deg, #D4AF37, #F4E4BC, #D4AF37, #F4E4BC, #D4AF37);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: ambientShimmer 6s linear infinite;
}

/* --- Orbit Rings — subtle glow --- */
.orbit-ring {
    border-color: rgba(201, 162, 39, 0.25);
    box-shadow: 0 0 12px rgba(201, 162, 39, 0.06);
}

/* --- Preloader — polished circle --- */
.crescent-loader::before {
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.5), 0 0 80px rgba(212, 175, 55, 0.2);
}

/* ===================================
   Utility Classes
   =================================== */
.text-gold {
    color: var(--primary-gold);
}

.bg-gold {
    background: var(--gradient-gold);
}

.shadow-gold {
    box-shadow: var(--shadow-gold);
}

/* ===================================
   Nav Logged-In User Button
   =================================== */
.nav-user-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px 6px 6px;
    background: linear-gradient(135deg, var(--primary-gold-light), rgba(201,162,39,0.15));
    border-radius: 50px;
    text-decoration: none;
    color: var(--deep-night);
    transition: all 0.3s ease;
    border: 1px solid rgba(201,162,39,0.15);
}

.nav-user-btn:hover {
    background: linear-gradient(135deg, var(--primary-gold-light), rgba(201,162,39,0.25));
    box-shadow: 0 4px 16px rgba(201,162,39,0.15);
    transform: translateY(-1px);
}

.nav-user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-user-name {
    font-weight: 500;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .nav-user-btn {
        display: none;
    }
}

/* ===================================
   Beautiful Islamic Arabesque Borders
   =================================== */
.arabesque-border {
    position: relative;
}

.arabesque-border::before,
.arabesque-border::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 30'%3E%3Cpath d='M0,15 Q25,0 50,15 T100,15 T150,15 T200,15' fill='none' stroke='%23D4AF37' stroke-width='2'/%3E%3Cpath d='M0,15 Q25,30 50,15 T100,15 T150,15 T200,15' fill='none' stroke='%23D4AF37' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.5;
}

.arabesque-border::before {
    top: -15px;
}

.arabesque-border::after {
    bottom: -15px;
    transform: translateX(-50%) rotate(180deg);
}

/* ===================================
   Glowing Effects
   =================================== */
.glow-text {
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5),
                 0 0 40px rgba(212, 175, 55, 0.3),
                 0 0 60px rgba(212, 175, 55, 0.1);
}

/* ===================================
   8-Point Star (Islamic Symbol)
   =================================== */
.eight-point-star {
    position: relative;
    display: inline-block;
}

.eight-point-star::before {
    content: '✴';
    color: var(--primary-gold);
}

/* ===================================
   Smooth Page Transitions
   =================================== */
.page-transition {
    animation: pageIn 0.6s ease;
}

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

/* ===================================
   Custom Scrollbar
   =================================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--pearl);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-gold) 0%, var(--primary-gold-dark) 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gold);
}

/* ===================================
   Selection Highlight
   =================================== */
::selection {
    background: rgba(212, 175, 55, 0.3);
    color: var(--deep-night);
}

::-moz-selection {
    background: rgba(212, 175, 55, 0.3);
    color: var(--deep-night);
}

/* ===================================
   Focus States (Accessibility)
   =================================== */
*:focus-visible {
    outline: 2px solid var(--primary-gold);
    outline-offset: 3px;
}

/* ===================================
   Print Styles
   =================================== */
@media print {
    .navbar,
    .preloader,
    .floating-decorations,
    .modal {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* ===================================
   MOBILE OVERRIDES (must be last)
   Ensures glossy styles don't break mobile
   =================================== */
@media (max-width: 768px) {
    .nav-links,
    .nav-cta {
        display: none !important;
    }

    .hamburger {
        display: flex !important;
    }

    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    .hero {
        overflow: hidden;
    }

    .hero-visual {
        max-width: 100%;
        overflow: hidden;
    }

    .orbit-ring {
        display: none;
    }

    .experience-card:hover,
    .step-card:hover,
    .testimonial-card:hover {
        transform: none;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
        justify-content: center;
    }
}
