/* ==========================================================================
   Base & Variables (PREMIUM UPGRADE)
   ========================================================================== */
:root {
    --primary-navy: #0f172a;
    --primary-orange: #f59e0b;
    --gold-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --premium-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.1), 0 0 20px rgba(245, 158, 11, 0.05);
    --hover-shadow: 0 30px 60px -15px rgba(245, 158, 11, 0.2);
    --text-gray: #475569;
    --bg-light: #fafaf9;
    --border-color: #e2e8f0;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    color: var(--text-gray);
    line-height: 1.7;
    
    background-color: #fcfcfc; 
    background-image: 
        radial-gradient(circle at 10% 15%, rgba(245, 158, 11, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 85% 85%, rgba(15, 23, 42, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 80% 40%, rgba(245, 158, 11, 0.08) 0%, transparent 35%),
        radial-gradient(circle at 15% 80%, rgba(245, 158, 11, 0.10) 0%, transparent 40%);
    
    background-attachment: fixed !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    
    overflow-x: hidden;
    padding-top: 80px; 
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--primary-navy); line-height: 1.2; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Subtitles Elegance */
.section-subtitle {
    letter-spacing: 2px !important;
    font-weight: 700 !important;
}

/* ==========================================================================
   Header / Navbar
   ========================================================================== */
.glass-header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 9999;
    background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3); box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05); transition: all 0.3s ease;
}
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo i { color: var(--primary-orange); font-size: 28px; }
.logo h2 { font-size: 22px; font-weight: 700; margin-bottom: -4px; }
.logo p { font-size: 10px; color: var(--text-gray); letter-spacing: 0.5px; }
.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a { font-weight: 500; font-size: 15px; color: var(--primary-navy); position: relative; padding-bottom: 5px; }
.nav-links a.active { color: var(--primary-orange); }
.nav-links a.active::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background-color: var(--primary-orange); }
.header-actions { display: flex; align-items: center; gap: 15px; }
.menu-bar { font-size: 24px; color: var(--primary-navy); cursor: pointer; display: none; }

/* ==========================================================================
   Buttons (Glowing Premium)
   ========================================================================== */
.btn-primary {
    background: var(--gold-gradient);
    color: #fff; padding: 14px 32px; border-radius: 50px; font-weight: 600; 
    display: inline-flex; align-items: center; gap: 10px; border: none; cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); font-family: var(--font-body);
    width: 100%; justify-content: center; box-shadow: 0 10px 20px -5px rgba(245, 158, 11, 0.4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 30px -10px rgba(245, 158, 11, 0.6); }

/* ==========================================================================
   Services Page Specific Styles (Premium Glass)
   ========================================================================== */
.page-hero, .services-section, .spiritual-box-section {
    background: transparent !important;
}
.page-hero { text-align: center; padding: 60px 20px; }
.page-hero h1 { font-size: 36px; margin-bottom: 10px; }
.page-hero p { max-width: 600px; margin: 0 auto; }
.services-section { padding: 40px 0 80px 0; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 30px; }

/* Glassmorphism for Service Cards & Content Areas */
.service-card, .spiritual-content, .modal-box {
    background-color: rgba(255, 255, 255, 0.4) !important; 
    backdrop-filter: blur(24px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important; 
    border-right: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.05), inset 0 0 15px rgba(255, 255, 255, 0.5) !important;
    border-radius: 20px !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02) !important;
    background-color: rgba(255, 255, 255, 0.6) !important; 
    box-shadow: 0 35px 60px rgba(245, 158, 11, 0.15), inset 0 0 25px rgba(255, 255, 255, 0.8) !important;
    border-color: rgba(245, 158, 11, 0.4) !important; 
}

.service-image { width: 100%; height: 150px; object-fit: cover; border-bottom: 3px solid var(--primary-orange); }
.service-image i { scale: 8; position: relative; top: 60px; left: 120px; color: var(--primary-orange); }
.service-content { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.service-content h3 { font-size: 20px; margin-bottom: 10px; }
.service-content p { font-size: 14px; margin-bottom: 15px; flex-grow: 1; }
.mantra-box {display: none;}
/* Modal */
.modal-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(17, 24, 39, 0.7); backdrop-filter: blur(5px);
    z-index: 100000; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.3s ease;
}
.modal-overlay.show { display: flex; opacity: 1; }
.modal-box { width: 90%; max-width: 450px; transform: translateY(-20px); transition: transform 0.3s ease; }
.modal-overlay.show .modal-box { transform: translateY(0); }
.modal-header { padding: 20px 25px; border-bottom: 1px solid rgba(255,255,255,0.3); display: flex; justify-content: space-between; align-items: center; }
.modal-header h3 { margin: 0; font-size: 20px; color: var(--primary-navy); }
.close-modal-btn { background: transparent; border: none; font-size: 28px; color: var(--text-gray); cursor: pointer; line-height: 1; }
.close-modal-btn:hover { color: #ef4444; }
.modal-body { padding: 25px; }

/* Forms Inside Glass */
.custom-form input, .custom-form textarea {
    width: 100%; padding: 12px 15px; margin-bottom: 15px; 
    border: 1px solid rgba(255,255,255,0.8); background: rgba(255,255,255,0.6);
    border-radius: 8px; font-family: var(--font-body); color: var(--primary-navy); outline: none; transition: border 0.3s;
}
.custom-form input:focus, .custom-form textarea:focus { border-color: var(--primary-orange); }
input.readonly-input { background-color: rgba(241, 245, 249, 0.7); cursor: not-allowed; color: var(--text-gray); font-weight: 600; pointer-events: none; }

/* Spiritual Box */
.spiritual-box-section { padding: 80px 0; }
.spiritual-container {
    position: relative; width: 100%; min-height: 450px;
    background-image: url('../assets/srv-custom.jpg'); 
    background-size: cover; background-position: left center; background-repeat: no-repeat;
    border-radius: 20px; box-shadow: var(--premium-shadow); overflow: hidden; display: flex; justify-content: flex-end;
}
.spiritual-container::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.75) 45%, rgba(255, 255, 255, 0.95) 60%);
    z-index: 1;
}
.spiritual-content { position: relative; z-index: 2; width: 100%; max-width: 550px; padding: 50px 40px; }

/* ==========================================================================
   Media Queries (Responsive PRESERVED)
   ========================================================================== */
@media (max-width: 768px) {
    .glass-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255, 255, 255, 0.98); }
    .nav-links, .lang-btn { display: none; }
    .nav-links {
        display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%;
        background: rgba(255, 255, 255, 0.65); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); 
        border-top: 1px solid rgba(255, 255, 255, 0.5); border-bottom: 1px solid rgba(255, 255, 255, 0.5);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08); padding: 20px; gap: 20px; text-align: center;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); transition: clip-path 0.4s ease-in-out;
    }
    .nav-links.active { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
    .nav-links a { font-size: 18px; display: block; padding: 10px 0; }
    .menu-bar { display: block; transition: transform 0.3s ease; }
    .menu-bar.active-icon { transform: rotate(90deg); }
    
    .services-grid { grid-template-columns: 1fr; }
    .page-hero h1 { font-size: 28px; }
    .page-hero p { font-size: 14px; }

    .spiritual-container { background-position: center top; justify-content: center; }
    .spiritual-container::before { background: linear-gradient(to bottom, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.95) 30%); }
    .spiritual-content { padding: 40px 20px 30px 20px; max-width: 100%; }
}
@media (min-width: 769px) and (max-width: 992px) {
    .spiritual-container { background-position: left center; justify-content: flex-end; }
    .spiritual-container::before { background: linear-gradient(to right, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.9) 35%, rgba(255, 255, 255, 1) 60%); }
    .spiritual-content { max-width: 60%; padding: 40px; }
}


/* ==========================================================================
   Language Toggle Button
   ========================================================================== */
.lang-toggle-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border: 1px solid var(--primary-orange);
    border-radius: 50px;
    background-color: transparent;
    color: var(--primary-navy);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.lang-toggle-btn:hover {
    background-color: var(--primary-orange);
    color: #fff;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.2);
}

.lang-toggle-btn i {
    font-size: 18px;
}

.lang-toggle-btn:hover i {
    color: #fff;
}

@media (max-width: 768px) {
    .lang-toggle-btn {
        padding: 8px 10px;
        gap: 0;
    }
    
    .lang-text {
        display: none; 
    }
    
    .lang-toggle-btn i {
        font-size: 18px;
    }
}