/** 
 * Jai Sri Mannarayana Tours - Premium CSS
 * Version: 2.0
 * Features: Indian Authenticity, Dark Mode, PWA, Responsive
 */

/* === CSS VARIABLES - THEMES === */
:root {
    /* Indian Colors - Sacred Palette */
    --saffron: #FF6B35;
    --saffron-dark: #E55A2B;
    --deep-orange: #FF4500;
    --maroon: #800000;
    --gold: #FFD700;
    --light-gold: #FFF8DC;
    
    /* Brand Colors */
    --primary: #FF6B35;
    --primary-dark: #E55A2B;
    --secondary: #0066CC;
    --accent: #1A936F;
    --gold-accent: #DAA520;
    
    /* Neutrals */
    --dark: #1A1A2E;
    --dark-lighter: #2D2D44;
    --light: #FFFFFF;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-600: #6c757d;
    --gray-800: #343a40;
    
    /* Fonts */
    --font-display: 'Playfair Display', serif;
    --font-telugu: 'Noto Sans Telugu', sans-serif;
    --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.15);
    --shadow-glow: 0 0 30px rgba(255,107,53,0.3);
    
    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Layout */
    --container-width: 1280px;
    --navbar-height: 80px;
}

/* Dark Mode Variables */
.dark-mode {
    --dark: #f8f9fa;
    --light: #1A1A2E;
    --gray-100: #2D2D44;
    --gray-200: #3a3a55;
    --gray-600: #b0b0b0;
    --gray-800: #e0e0e0;
}

/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--light);
    transition: background-color var(--transition-base), color var(--transition-base);
}

body.dark-mode {
    background: #1a1a2e;
    color: #f8f9fa;
}

/* Selection */
::selection {
    background: var(--primary);
    color: var(--light);
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

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

/* Media Elements */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
}

/* === UTILITIES === */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--saffron) 0%, var(--gold) 50%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-telugu {
    font-family: var(--font-telugu);
    display: block;
    font-size: 0.9em;
    opacity: 0.9;
}

/* Skip Link - Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: var(--light);
    padding: 8px 16px;
    z-index: 10000;
}

.skip-link:focus {
    top: 0;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
    text-align: center;
    line-height: 1.2;
}

.btn-primary {
    background: linear-gradient(135deg, var(--saffron) 0%, var(--deep-orange) 100%);
    color: var(--light);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

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

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-secondary {
    background: transparent;
    color: var(--light);
    border: 2px solid rgba(255,255,255,0.8);
}

.btn-secondary:hover {
    background: var(--light);
    color: var(--dark);
}

.dark-mode .btn-secondary {
    border-color: var(--gray-600);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--light);
}

.btn-card {
    background: var(--primary);
    color: var(--light);
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-card:hover {
    background: var(--primary-dark);
}

.btn-full {
    width: 100%;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* === LANGUAGE WIDGET === */
.lang-widget {
    position: fixed;
    top: 100px;
    right: 10px;
    z-index: 9999;
}

.dark-mode .lang-widget {
    filter: invert(1);
}

/* Audio Player */
.audio-player {
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 1000;
    background: var(--light);
    border-radius: 50px;
    padding: 10px 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
}

.dark-mode .audio-player {
    background: var(--dark-lighter);
}

.audio-icon {
    font-size: 1.2rem;
}

.audio-text {
    font-size: 0.85rem;
    font-weight: 500;
}

.audio-toggle {
    background: var(--primary);
    color: var(--light);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all var(--transition-base);
}

.audio-toggle:hover {
    transform: scale(1.1);
}

.audio-toggle.playing {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7); }
    50% { box-shadow: 0 0 0 10px rgba(255, 107, 53, 0); }
}

/* === NAVIGATION === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all var(--transition-base);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

.dark-mode .navbar.scrolled {
    background: rgba(26,26,46,0.95);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--light);
}

.navbar.scrolled .nav-logo,
.navbar.scrolled .nav-link {
    color: var(--dark);
}

.dark-mode .navbar.scrolled .nav-logo,
.dark-mode .navbar.scrolled .nav-link {
    color: var(--light);
}

.nav-logo .logo-icon {
    font-size: 1.5rem;
}

.nav-telugu {
    font-family: var(--font-telugu);
    font-size: 0.75em;
    display: block;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.theme-toggle {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all var(--transition-base);
}

.navbar.scrolled .theme-toggle {
    background: var(--gray-100);
}

.dark-mode .navbar.scrolled .theme-toggle {
    background: var(--dark-lighter);
}

.theme-toggle:hover {
    transform: rotate(180deg);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link {
    color: var(--light);
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    padding: 5px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--saffron);
    transition: all var(--transition-base);
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--saffron);
}

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

.nav-cta {
    background: var(--saffron);
    color: var(--light) !important;
    padding: 10px 20px !important;
    border-radius: 50px;
    font-weight: 600;
    border: none;
}

.nav-cta:hover {
    background: var(--primary-dark);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    width: 30px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--light);
    transition: all var(--transition-base);
}

.navbar.scrolled .nav-toggle span {
    background: var(--dark);
}

.dark-mode .navbar.scrolled .nav-toggle span {
    background: var(--light);
}

/* === HERO === */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(26,26,46,0.9) 0%, rgba(128,0,0,0.85) 50%, rgba(255,107,53,0.8) 100%),
                url('https://images.unsplash.com/photo-1561361513-2d000a50f0dc?w=1920&q=80') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 24px 80px;
}

.sacred-geometry {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0.1;
}

.lotus-pattern {
    position: absolute;
    width: 600px;
    height: 600px;
    top: -200px;
    right: -200px;
    background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
    border-radius: 50%;
    animation: rotate 60s linear infinite;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,107,53,0.15), transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 850px;
    color: var(--light);
}

.hero-badge {
    display: inline-block;
    background: rgba(255,215,0,0.15);
    backdrop-filter: blur(10px);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 30px;
    border: 1px solid rgba(255,215,0,0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-title .line-1 {
    display: block;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    opacity: 0.95;
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-telugu {
    display: inline-block;
    margin-top: 10px;
    font-family: var(--font-telugu);
    font-size: 0.9em;
    color: var(--gold);
}

.hero-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.btn-telugu {
    font-family: var(--font-telugu);
    font-size: 0.75em;
    display: block;
    font-weight: 400;
}

.hero-trust {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

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

.trust-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--gold);
}

.trust-suffix {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gold);
}

.trust-label {
    display: block;
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: 5px;
    line-height: 1.4;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--light);
    text-align: center;
}

.hero-scroll span:first-child {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.scroll-telugu {
    font-family: var(--font-telugu);
    font-size: 0.7rem;
    opacity: 0.8;
}

.scroll-indicator {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    margin: 10px auto 0;
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; height: 60px; }
    50% { opacity: 1; height: 80px; }
}

/* === YOUTUBE SECTION === */
.youtube-section {
    padding: 100px 0;
    background: var(--dark);
    color: var(--light);
    position: relative;
    overflow: hidden;
}

.youtube-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255,107,53,0.1), transparent);
}

.youtube-section .section-title,
.youtube-section .section-subtitle,
.youtube-section .section-tag {
    color: var(--light);
}

.youtube-btn {
    margin-top: 20px;
    background: #FF0000;
    border: none;
}

.youtube-btn:hover {
    background: #cc0000;
}

.youtube-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: start;
}

.youtube-featured {
    position: relative;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    background: var(--dark-lighter);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 25px 0;
}

.video-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.video-info p {
    opacity: 0.8;
    margin-bottom: 15px;
}

.shorts-grid {
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-lg);
    padding: 25px;
}

.shorts-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.shorts-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.short-item {
    aspect-ratio: 9/16;
    background: var(--dark-lighter);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.short-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255,107,53,0.3), rgba(128,0,0,0.3));
}

.short-placeholder span {
    font-size: 2rem;
}

.short-placeholder p {
    font-size: 0.75rem;
    margin-top: 10px;
    opacity: 0.9;
}

/* === SECTIONS Common === */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 15px;
    color: var(--dark);
}

.dark-mode .section-title {
    color: var(--light);
}

.section-subtitle {
    color: var(--gray-600);
    font-size: 1.1rem;
}

.dark-mode .section-subtitle {
    color: var(--gray-300);
}

/* === PACKAGES === */
.packages {
    padding: 100px 0;
    background: var(--gray-100);
}

.dark-mode .packages {
    background: var(--dark-lighter);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.package-card {
    background: var(--light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.dark-mode .package-card {
    background: #2a2a45;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--saffron);
}

.package-card.featured {
    border: 2px solid var(--saffron);
    position: relative;
}

.package-card.featured::before {
    content: '★';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--saffron);
    color: var(--light);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.package-image {
    position: relative;
    height: 220px;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
}

.image-placeholder.tirupati {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.image-placeholder.shirdi {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.image-placeholder.kashi {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.image-placeholder.chardham {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.image-placeholder.north {
    background: linear-gradient(135deg, #FF6B35 0%, #FF4500 100%);
}

.image-placeholder.south {
    background: linear-gradient(135deg, #1A936F 0%, #88d4ab 100%);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.temple-name-telugu {
    font-family: var(--font-telugu);
    color: var(--gold);
    font-size: 1.8rem;
    font-weight: 500;
}

.package-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--saffron);
    color: var(--light);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
}

.package-badge.new {
    background: var(--accent);
}

.package-content {
    padding: 25px;
}

.package-content h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--dark);
}

.dark-mode .package-content h3 {
    color: var(--light);
}

.package-telugu {
    font-family: var(--font-telugu);
    font-size: 0.8em;
    font-weight: 500;
    color: var(--gray-600);
}

.dark-mode .package-telugu {
    color: var(--gray-300);
}

.package-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.dark-mode .package-meta {
    color: var(--gray-300);
}

.package-features {
    margin-bottom: 20px;
}

.package-features li {
    padding: 6px 0;
    font-size: 0.9rem;
    color: var(--gray-700);
    border-bottom: 1px dashed var(--gray-200);
}

.dark-mode .package-features li {
    color: var(--gray-300);
    border-color: var(--dark);
}

.package-features li:last-child {
    border-bottom: none;
}

.package-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 2px solid var(--gray-200);
}

.dark-mode .package-footer {
    border-color: var(--dark);
}

.price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 5px;
}

.price-original {
    text-decoration: line-through;
    color: var(--gray-500);
    font-size: 0.85rem;
}

.price-current {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--saffron);
}

.price-person {
    font-size: 0.8rem;
    color: var(--gray-600);
}

.cta-telugu {
    font-family: var(--font-telugu);
    font-size: 0.85em;
    margin-top: 5px;
    display: block;
    font-weight: 500;
}

.packages-cta {
    text-align: center;
}

/* === FEATURES === */
.features {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    background: var(--light);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid var(--gray-200);
}

.dark-mode .feature-card {
    background: var(--dark-lighter);
    border-color: var(--dark);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--saffron);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--saffron) 0%, var(--maroon) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.dark-mode .feature-card h3 {
    color: var(--light);
}

.feature-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.dark-mode .feature-card p {
    color: var(--gray-400);
}

/* === STATS BANNER === */
.stats-banner {
    background: linear-gradient(135deg, var(--maroon) 0%, var(--dark) 100%);
    padding: 80px 0;
    color: var(--light);
    position: relative;
    overflow: hidden;
}

.stats-banner::before {
    content: '🙏';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4rem;
    opacity: 0.1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--gold);
}

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

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 5px;
    font-weight: 500;
}

/* === TESTIMONIALS === */
.testimonials {
    padding: 100px 0;
    background: var(--gray-100);
}

.dark-mode .testimonials {
    background: var(--dark-lighter);
}

.testimonials-slider {
    position: relative;
    max-width: 750px;
    margin: 0 auto;
    min-height: 300px;
}

.testimonial-card {
    position: absolute;
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-rating {
    font-size: 1.5rem;
    letter-spacing: 4px;
    margin-bottom: 25px;
    color: var(--gold);
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--gray-700);
    font-style: italic;
    margin-bottom: 30px;
    padding: 0 20px;
}

.dark-mode .testimonial-text {
    color: var(--gray-300);
}

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

.author-avatar {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--saffron) 0%, var(--maroon) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-weight: 600;
    font-size: 1.1rem;
}

.author-info h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 3px;
    color: var(--dark);
}

.dark-mode .author-info h4 {
    color: var(--light);
}

.author-info span {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-top: 40px;
}

.nav-prev, .nav-next {
    width: 50px;
    height: 50px;
    border: 2px solid var(--gray-300);
    background: var(--light);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.dark-mode .nav-prev,
.dark-mode .nav-next {
    background: var(--dark-lighter);
    border-color: var(--dark);
    color: var(--light);
}

.nav-prev:hover, .nav-next:hover {
    background: var(--saffron);
    border-color: var(--saffron);
    color: var(--light);
}

.dots {
    display: flex;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
    cursor: pointer;
    transition: all var(--transition-base);
}

.dark-mode .dot {
    background: var(--dark);
}

.dot.active {
    background: var(--saffron);
    width: 30px;
    border-radius: 6px;
}

/* === FAQ === */
.faq {
    padding: 100px 0;
}

.faq-grid {
    max-width: 850px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--light);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.dark-mode .faq-item {
    background: var(--dark-lighter);
    border-color: var(--dark);
}

.faq-question {
    width: 100%;
    padding: 22px 25px;
    background: transparent;
    border: none;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all var(--transition-base);
    color: var(--dark);
}

.dark-mode .faq-question {
    color: var(--light);
}

.faq-question:hover {
    background: var(--gray-100);
}

.dark-mode .faq-question:hover {
    background: var(--dark);
}

.faq-icon {
    color: var(--saffron);
    font-size: 1.5rem;
    transition: transform var(--transition-base);
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.faq-item.active .faq-answer {
    max-height: 250px;
}

.faq-answer p {
    padding: 0 25px 22px;
    color: var(--gray-600);
    line-height: 1.7;
}

.dark-mode .faq-answer p {
    color: var(--gray-400);
}

/* === CONTACT === */
.contact {
    padding: 100px 0;
    background: var(--gray-100);
}

.dark-mode .contact {
    background: var(--dark-lighter);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info .section-title {
    font-size: 2.5rem;
}

.contact-text {
    color: var(--gray-600);
    margin: 20px 0 40px;
    font-size: 1.1rem;
}

.dark-mode .contact-text {
    color: var(--gray-400);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    background: var(--light);
    border: 1px solid transparent;
}

.dark-mode .contact-item {
    background: var(--dark);
}

.contact-item:hover {
    background: var(--light);
    border-color: var(--saffron);
    transform: translateX(5px);
}

.dark-mode .contact-item:hover {
    background: #333;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--saffron) 0%, var(--maroon) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item .label {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 3px;
}

.contact-item .value {
    font-weight: 600;
    color: var(--dark);
    font-size: 1.1rem;
}

.dark-mode .contact-item .value {
    color: var(--light);
}

.contact-form-wrapper {
    background: var(--light);
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.dark-mode .contact-form-wrapper {
    background: var(--dark);
    border-color: var(--dark-lighter);
}

.contact-form-wrapper h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--dark);
}

.dark-mode .contact-form-wrapper h3 {
    color: var(--light);
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--dark);
}

.dark-mode .form-group label {
    color: var(--light);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all var(--transition-base);
    background: var(--light);
    color: var(--dark);
}

.dark-mode .form-group input,
.dark-mode .form-group select,
.dark-mode .form-group textarea {
    background: var(--dark-lighter);
    border-color: var(--dark);
    color: var(--light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--saffron);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* === FOOTER === */
.footer {
    background: var(--dark);
    color: var(--light);
    padding: 80px 0 30px;
    position: relative;
}

.footer::before {
    content: '🙏';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4rem;
    opacity: 0.05;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-about p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-location {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

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

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--saffron);
    transform: translateY(-5px);
}

.footer-links h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--gold);
}

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

.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: color var(--transition-base);
}

.footer-links a:hover {
    color: var(--light);
    padding-left: 5px;
}

.footer-newsletter h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--gold);
}

.footer-newsletter p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 16px;
    border: none;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.newsletter-form button {
    padding: 0 20px;
    background: var(--saffron);
    color: var(--light);
    border: none;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    cursor: pointer;
    font-size: 1.3rem;
    transition: background var(--transition-base);
}

.newsletter-form button:hover {
    background: var(--primary-dark);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.footer-credit {
    font-family: var(--font-display);
    color: var(--gold) !important;
    font-size: 1rem !important;
}

/* === WHATSAPP WIDGET === */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 20px;
    z-index: 1000;
    background: #25D366;
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all var(--transition-base);
    animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.whatsapp-widget:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
    animation: none;
}

.whatsapp-icon {
    font-size: 1.5rem;
}

.whatsapp-text {
    font-size: 0.95rem;
}

/* === SCROLL TO TOP === */
.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 55px;
    height: 55px;
    background: var(--saffron);
    color: var(--light);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    transform: translateY(100px);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .youtube-grid {
        grid-template-columns: 1fr;
    }
    
    .shorts-grid {
        order: -1;
    }
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--light);
        flex-direction: column;
        padding: 100px 30px;
        gap: 25px;
        transition: right var(--transition-base);
        box-shadow: -10px 0 40px rgba(0,0,0,0.2);
    }
    
    .dark-mode .nav-menu {
        background: var(--dark-lighter);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        color: var(--dark);
        font-size: 1.1rem;
    }
    
    .dark-mode .nav-link {
        color: var(--light);
    }
    
    .nav-telugu {
        display: inline;
        margin-left: 5px;
        font-size: 0.8em;
    }
    
    .hero-trust {
        gap: 30px;
    }
    
    .trust-number {
        font-size: 2.2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .stats-number {
        font-size: 2.5rem;
    }
    
    .whatsapp-widget .whatsapp-text {
        display: none;
    }
    
    .whatsapp-widget {
        padding: 12px;
        margin-bottom: 60px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .scroll-top {
        bottom: 100px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 25px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .whatsapp-widget {
        bottom: 20px;
        right: 20px;
    }
}

/* === MOBILE COLOR OVERRIDES === */
@media (max-width: 768px) {
    /* Mobile-specific color variables */
    :root {
        --mobile-cream: #F5F0E0;
        --mobile-dark: #2C1810;
        --mobile-saffron: #E67E00;
        --mobile-brown: #5D3A1A;
        --mobile-light: #FFF8E7;
    }
.why-choose-container {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 20px;
}

/* Sacred Mandala Background Pattern */
.sacred-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.03;
    background-image:
        radial-gradient(circle at 20% 80%, #FF9933 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, #800000 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, #FFD700 0%, transparent 30%);
    z-index: 0;
}

/* Floating Particles Animation */
.particles {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #FFD700;
    border-radius: 50%;
    opacity: 0.6;
    animation: float-particle 15s linear infinite;
}

@keyframes float-particle {
    0%, 100% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

/* AI Trip Planner Widget */
.ai-planner-widget {
    background: linear-gradient(135deg, #800000 0%, #5C0000 100%);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(128, 0, 0, 0.3);
}

.ai-planner-inner {
    background: linear-gradient(135deg, #800000 0%, #5C0000 100%);
    border-radius: 15px;
    padding: 35px;
    position: relative;
    z-index: 1;
}

.ai-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.ai-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #800000;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

.ai-title-group h3 {
    font-family: 'Teko', sans-serif;
    font-size: 2rem;
    color: #FFD700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ai-title-telugu {
    font-size: 1rem;
    color: #FFB366;
    font-weight: 400;
}

.ai-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
}

.ai-input-group {
    flex: 1;
    min-width: 200px;
}

.ai-input-group label {
    display: block;
    color: #FFF8E7;
    font-size: 0.85rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ai-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.ai-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.ai-input:focus {
    outline: none;
    border-color: #FFD700;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.ai-button {
    padding: 15px 35px;
    background: linear-gradient(135deg, #FF9933 0%, #E67E00 100%);
    border: none;
    border-radius: 12px;
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ai-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 153, 51, 0.4);
}

/* Real-time Availability Banner */
.availability-banner {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 248, 231, 0.95) 100%);
    border-left: 5px solid #ff4444;
    border-radius: 12px;
    padding: 20px 30px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 40px rgba(255, 153, 51, 0.15);
    animation: slide-in-left 0.6s ease-out;
}

@keyframes slide-in-left {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.availability-indicator {
    width: 20px;
    height: 20px;
    background: #ff4444;
    border-radius: 50%;
    animation: pulse-red 1.5s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse-red {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.7); }
    50% { box-shadow: 0 0 0 15px rgba(255, 68, 68, 0); }
}

.availability-content {
    flex: 1;
}

.availability-title {
    font-weight: 600;
    color: #2C1810;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.availability-title span {
    background: linear-gradient(135deg, #ff4444 0%, #ff6666 100%);
    color: white;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.availability-text {
    color: #800000;
    font-size: 0.95rem;
}

.availability-text-telugu {
    color: #E67E00;
    font-size: 0.9rem;
    margin-top: 3px;
}

/* Mini Availability Cards */
.mini-availability {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.mini-availability-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 4px solid #FF9933;
    transition: all 0.3s ease;
}

.mini-availability-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.mini-availability-card.urgent {
    border-left-color: #ff4444;
    background: rgba(255, 68, 68, 0.05);
}

.availability-pulse {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #44ff44;
    flex-shrink: 0;
}

.mini-availability-card.urgent .availability-pulse {
    background: #ff4444;
    animation: pulse-red 1.5s ease-in-out infinite;
}

.mini-availability-content h4 {
    font-size: 0.95rem;
    color: #2C1810;
    margin-bottom: 3px;
}

.mini-availability-content p {
    font-size: 0.85rem;
    color: #800000;
}

.mini-availability-seats {
    margin-left: auto;
    background: linear-gradient(135deg, #FF9933 0%, #E67E00 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Pilgrimage Miles */
.pilgrimage-miles {
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.3);
}

.miles-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.miles-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 3px solid #800000;
}

.miles-title h3 {
    font-family: 'Teko', sans-serif;
    font-size: 1.8rem;
    color: #800000;
    display: flex;
    align-items: center;
    gap: 10px;
}

.miles-title-telugu {
    font-size: 1rem;
    color: #5C0000;
}

.miles-progress-container {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    padding: 25px;
    position: relative;
}

.miles-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.miles-current {
    font-size: 2.5rem;
    font-weight: 700;
    color: #800000;
    font-family: 'Teko', sans-serif;
}

.miles-current span {
    font-size: 1rem;
    color: #A52A2A;
    display: block;
    font-weight: 400;
}

.miles-next-reward {
    text-align: right;
}

.miles-reward-text {
    font-size: 0.9rem;
    color: #A52A2A;
    margin-bottom: 5px;
}

.miles-reward-name {
    font-weight: 600;
    color: #800000;
    font-size: 1.1rem;
}

.miles-progress-bar {
    height: 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.miles-progress-fill {
    height: 100%;
    width: 68%;
    background: linear-gradient(90deg, #FF9933 0%, #800000 100%);
    border-radius: 10px;
}

.miles-milestones {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.miles-milestone {
    text-align: center;
}

.miles-milestone-dot {
    width: 12px;
    height: 12px;
    background: #FF9933;
    border-radius: 50%;
    margin: 0 auto 8px;
    border: 2px solid #800000;
    transition: all 0.3s ease;
}

.miles-milestone.completed .miles-milestone-dot {
    background: #800000;
    transform: scale(1.3);
}

.miles-milestone-label {
    font-size: 0.75rem;
    color: #800000;
    font-weight: 500;
}

/* 3D Feature Cards */
.features-section {
    margin-top: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.flip-card {
    background: transparent;
    height: 380px;
    perspective: 1000px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(255, 153, 51, 0.15);
}

.flip-card-front {
    background: linear-gradient(145deg, #FFFFFF 0%, #FFF8E7 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
    border: 1px solid rgba(255, 153, 51, 0.2);
}

.flip-card-back {
    background: linear-gradient(145deg, #800000 0%, #5C0000 100%);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
    color: #FFFFFF;
}

.flip-card .feature-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #FF9933 0%, #FFB366 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #FFFFFF;
    margin-bottom: 25px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 10px 30px rgba(255, 153, 51, 0.3);
}

.flip-card .feature-icon::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px dashed #FFD700;
    opacity: 0.6;
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.flip-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(255, 153, 51, 0.4);
}

.feature-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.4) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.flip-card:hover .feature-icon::after {
    opacity: 1;
}

@keyframes lotus-glow {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.flip-card .feature-title {
    font-family: 'Teko', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #800000;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-title-telugu {
    font-size: 1rem;
    color: #E67E00;
    margin-bottom: 15px;
    font-weight: 500;
}

.feature-description {
    text-align: center;
    color: #2C1810;
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.9;
}

.flip-card-back .feature-title {
    color: #FFD700;
}

.flip-card-back .feature-title-telugu {
    color: #FFB366;
}

.feature-details {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.feature-cta {
    padding: 12px 30px;
    background: linear-gradient(135deg, #FF9933 0%, #E67E00 100%);
    border: none;
    border-radius: 25px;
    color: #FFFFFF;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.feature-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 153, 51, 0.4);
}

/* Card Color Variations */
.flip-card:nth-child(1) .feature-icon {
    background: linear-gradient(135deg, #FF9933 0%, #FF6B35 100%);
}

.flip-card:nth-child(2) .feature-icon {
    background: linear-gradient(135deg, #800000 0%, #FF9933 100%);
}

.flip-card:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, #FFD700 0%, #FF9933 100%);
    color: #800000;
}

.flip-card:nth-child(4) .feature-icon {
    background: linear-gradient(135deg, #FF6B9D 0%, #C44569 100%);
}

.flip-card:nth-child(5) .feature-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.flip-card:nth-child(6) .feature-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* Loading Animation for AI */
.ai-loading {
    display: none;
    position: absolute;
    inset: 0;
    background: rgba(128, 0, 0, 0.9);
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 10;
}

.ai-loading.active {
    display: flex;
}

.ai-loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #FFD700;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.ai-loading-text {
    color: #FFD700;
    margin-top: 20px;
    font-size: 1.1rem;
}

/* === PREFER REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .particle, .flip-card-inner, .miles-progress-fill,
    .sacred-divider i, .ai-icon, .float-icon, .rotate-coin {
        animation: none !important;
    }

    .flip-card:hover .flip-card-inner {
        transform: none;
    }
}

/* === MOBILE-ONLY IMPROVEMENTS (max-width: 768px) === */
@media (max-width: 768px) {
    /* === Mobile Color Contrast Fixes === */

    /* Hero Section - Darker overlay for better text contrast */
    .hero {
        background: linear-gradient(135deg, rgba(26, 26, 46, 0.92) 0%, rgba(128, 0, 0, 0.88) 50%, rgba(255, 107, 53, 0.85) 100%),
                    url('https://images.unsplash.com/photo-1561361513-2d000a50f0dc?w=1920&q=80') center/cover;
    }

    .hero-title {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }

    .hero-subtitle {
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    }

    /* Package Cards - Better contrast */
    .package-card {
        background: #FFFFFF;
        box-shadow: 0 4px 15px rgba(44, 24, 16, 0.1);
    }

    .package-content h3 {
        color: #2C1810;
    }

    .package-telugu {
        color: #5D3A1A;
    }

    .package-features li {
        color: #3D2914;
        border-bottom-color: rgba(255, 153, 51, 0.2);
    }

    .price-current {
        color: #E67E00;
    }

    /* Feature Cards - Static display instead of flip */
    .flip-card {
        height: auto;
        perspective: none;
    }

    .flip-card-inner {
        transform: none !important;
        transform-style: none;
        position: relative;
    }

    .flip-card:hover .flip-card-inner {
        transform: none;
    }

    .flip-card-front,
    .flip-card-back {
        position: relative;
        width: 100%;
        height: auto;
        backface-visibility: visible;
        transform: none;
        border-radius: 16px;
    }

    .flip-card-front {
        background: linear-gradient(145deg, #FFFFFF 0%, #FFF8E7 100%);
        padding: 25px 20px;
        border: 1px solid rgba(255, 153, 51, 0.3);
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 20px;
        text-align: left;
    }

    .flip-card-back {
        background: linear-gradient(145deg, #800000 0%, #5C0000 100%);
        color: #FFF8E7;
        padding: 25px 20px;
        margin-top: 15px;
        display: none;
    }

    .flip-card:hover .flip-card-back {
        display: flex;
    }

    .flip-card .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .flip-card .feature-icon::before,
    .feature-icon::after {
        display: none;
    }

    .flip-card .feature-title {
        font-size: 1.3rem;
        margin-bottom: 5px;
        color: #2C1810;
    }

    .feature-title-telugu {
        color: #5D3A1A;
        margin-bottom: 8px;
    }

    .feature-description {
        display: none;
    }

    .flip-card-back .feature-title {
        color: #FFD700;
    }

    .flip-card-back .feature-title-telugu {
        color: #FFB366;
    }

    .feature-details {
        font-size: 0.85rem;
        line-height: 1.6;
        text-align: left;
    }

    .feature-cta {
        margin-top: 15px;
        padding: 10px 25px;
        font-size: 0.85rem;
    }

    /* Feature Icon Spinning Border - Remove on Mobile */
    .flip-card .feature-icon::before {
        display: none;
    }

    /* === Animation Simplifications === */

    /* Reduce particles on mobile */
    .particle {
        opacity: 0.3;
        width: 4px;
        height: 4px;
    }

    /* Disable shimmer animations on mobile */
    .miles-progress-fill {
        animation: none;
    }

    .miles-progress-fill::after {
        display: none;
    }

    /* Disable sacred border glow */
    .sacred-border-glow::after {
        display: none;
    }

    /* Reduce AI icon pulse */
    .ai-icon {
        animation: none;
    }

    /* Disable sacred divider rotation */
    .sacred-divider i {
        animation: none;
    }

    /* Disable lotus pattern rotation */
    .lotus-pattern {
        animation: none;
    }

    /* Disable scroll indicator pulse */
    .scroll-indicator {
        animation: none;
    }

    /* Disable hero badge float */
    .hero-badge {
        animation: none;
    }

    /* === Touch Target Improvements === */

    .btn {
        padding: 16px 28px;
        min-height: 48px;
    }

    .btn-card {
        padding: 12px 20px;
        min-height: 44px;
    }

    .nav-link {
        padding: 12px 16px;
        min-height: 44px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 16px 18px;
        min-height: 48px;
    }

    .ai-input {
        padding: 16px 20px;
        min-height: 48px;
    }

    .ai-button {
        padding: 16px 35px;
        min-height: 48px;
    }

    .contact-item {
        padding: 16px 18px;
        min-height: 48px;
    }

    /* === Spacing Adjustments === */

    .why-choose-container {
        padding: 40px 15px;
    }

    .features-section {
        margin-top: 40px;
    }

    .ai-planner-widget {
        padding: 25px;
        margin-bottom: 40px;
    }

    .ai-planner-inner {
        padding: 25px;
    }

    .ai-header {
        flex-direction: column;
        text-align: center;
        margin-bottom: 20px;
    }

    .ai-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .ai-form {
        flex-direction: column;
    }

    .ai-input-group {
        min-width: 100%;
    }

    .miles-header {
        flex-direction: column;
        text-align: center;
    }

    .miles-stats {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .miles-next-reward {
        text-align: center;
    }

    .miles-current {
        font-size: 2rem;
    }

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

    /* === Mini Availability Cards === */
    .mini-availability-card {
        padding: 12px 15px;
    }

    .mini-availability-card:hover {
        transform: none;
    }

    /* === WhatsApp Widget - Better Position === */
    .whatsapp-widget {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
    }

    /* === Footer Improvements === */
    .footer-links a {
        padding: 8px 0;
        display: inline-block;
        min-height: 40px;
    }

    .footer-links a:hover {
        padding-left: 10px;
    }

    /* === Section Headers === */
    .section-header {
        margin-bottom: 40px;
    }
}

/* === EXTRA SMALL MOBILE (max-width: 480px) === */
@media (max-width: 480px) {
    .flip-card-front {
        padding: 20px 15px;
        flex-direction: column;
        text-align: center;
    }

    .flip-card .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .flip-card .feature-title {
        font-size: 1.1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

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

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

    .ai-planner-widget,
    .ai-planner-inner,
    .pilgrimage-miles {
        padding: 20px;
    }

    .miles-progress-container {
        padding: 20px;
    }
}

/* === PRINT STYLES === */
@media print {
    .navbar, .footer, .whatsapp-widget, .scroll-top {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 40px 20px;
    }

    .package-card {
        break-inside: avoid;
    }
}