/* ==================== GLOBAL – ASTROLOGY PREMIUM THEME ==================== */
:root {
    --gold: #d4a017;
    --gold-light: #f0c75e;
    --gold-dark: #a67c00;
    --header-bg: #1a2238;        /* navy blue, solid and a bit lighter */
    --footer-bg: #131b2c;        /* slightly darker for footer */
    --bg-card: rgba(20, 30, 50, 0.75);
    --text-primary: #e8e2d0;
    --text-muted: #b0a898;
    --heading-color: #ffffff;
    --border-subtle: rgba(212, 160, 23, 0.25);
    --heading-font: 'Cinzel', serif;
    --body-font: 'Poppins', sans-serif;
}

body {
    font-family: var(--body-font);
    background: radial-gradient(ellipse at 30% 20%, #24344d 0%, #121a28 70%);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--heading-color);
}

.text-gold { color: var(--gold) !important; }
.section-title { font-size: 2.5rem; font-weight: 800; line-height: 1.2; }
.section-label { font-size: 0.9rem; letter-spacing: 3px; text-transform: uppercase; display: block; margin-bottom: 0.5rem; color: var(--gold); }
.section-desc { color: var(--text-muted); }

/* -------------------- UNIVERSAL GLASS CARD -------------------- */
.glass-card,
.service-card,
.testimonial-card,
.gallery-item,
.why-card,
.cta-banner,
.accordion-item,
.process-card,
.timeline-content,
.contact-info-item,
.form-control,
.form-select {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover,
.service-card:hover,
.gallery-item:hover,
.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(212, 160, 23, 0.15);
}

/* ==================== NAVBAR – WARM NAVY ==================== */
#mainNavbar {
    background-color: var(--header-bg);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 2px 20px rgba(0,0,0,0.4);
    transition: background-color 0.4s;
    padding: 10px 0;
    z-index: 1000;
}
#mainNavbar.scrolled {
    background-color: rgba(18, 26, 42, 0.98);
}

.navbar-brand {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff !important;
}
.nav-link {
    color: rgba(232, 226, 208, 0.9) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s;
    position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--gold) !important; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* ==================== NAVBAR BUTTON – WHITE ==================== */
.navbar .btn-gold,
.navbar .btn-outline-gold {
    background: #ffffff;
    color: var(--gold-dark);
    border: 2px solid #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(255,255,255,0.2);
}
.navbar .btn-gold:hover,
.navbar .btn-outline-gold:hover {
    background: #f8f5ff;
    color: var(--gold);
    border-color: #f8f5ff;
    box-shadow: 0 6px 20px rgba(255,255,255,0.35);
    transform: translateY(-2px);
}

/* ==================== REGULAR BUTTONS (gold) ==================== */
.btn-gold {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    border: none;
    color: #000;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(212, 160, 23, 0.3);
    transition: all 0.3s;
}
.btn-gold:hover {
    background: linear-gradient(135deg, #ffe066, #e6b800);
    box-shadow: 0 6px 25px rgba(212, 160, 23, 0.6);
    transform: translateY(-2px);
    color: #000;
}

.btn-outline-gold {
    border: 2px solid var(--gold);
    color: var(--gold);
    background: transparent;
    font-weight: 600;
    transition: all 0.3s;
}
.btn-outline-gold:hover {
    background: var(--gold);
    color: #000;
    box-shadow: 0 6px 20px rgba(212, 160, 23, 0.4);
}

.glow-btn { animation: glowPulse 2s infinite; }
@keyframes glowPulse {
    0% { box-shadow: 0 0 10px rgba(212,160,23,0.5); }
    50% { box-shadow: 0 0 25px rgba(212,160,23,0.9); }
    100% { box-shadow: 0 0 10px rgba(212,160,23,0.5); }
}

/* ==================== HERO ==================== */
.hero-section {
    height: 100vh; min-height: 700px;
    background: radial-gradient(ellipse at 30% 30%, #2e4060 0%, #121a28 70%);
    position: relative; display: flex; align-items: center; overflow: hidden;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 40%, rgba(212,160,23,0.05), transparent 70%);
    z-index: 1;
}
.hero-content { position: relative; z-index: 2; color: #fff; }
.hero-badge {
    background: rgba(212, 160, 23, 0.15); padding: 8px 25px;
    border-radius: 50px; display: inline-block;
    font-size: 0.9rem; letter-spacing: 2px; color: var(--gold);
}
.hero-title { font-size: 3.5rem; font-weight: 900; line-height: 1.2; color: #fff; }
.hero-subtitle { font-size: 1.3rem; color: var(--text-muted); font-weight: 300; }
.hero-particles .particle {
    position: absolute; color: var(--gold); font-size: 1.5rem; opacity: 0.3;
    animation: floatParticle 6s ease-in-out infinite;
}
@keyframes floatParticle {
    0%,100% { transform: translateY(0) scale(1); opacity:0.3; }
    50% { transform: translateY(-20px) scale(1.2); opacity:0.6; }
}
.scroll-indicator {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    color: var(--gold); text-align: center; animation: bounce 2s infinite;
}
@keyframes bounce {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* ==================== ABOUT ASTROLOGY ==================== */
.about-image-wrapper { position: relative; display: flex; justify-content: center; }
.about-image-placeholder {
    width: 280px; height: 280px;
    background: rgba(255, 255, 255, 0.03); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--border-subtle); position: relative;
    box-shadow: 0 0 40px rgba(212,160,23,0.15);
}
.about-image-placeholder.large { width: 350px; height: 350px; }
.about-om-symbol { font-size: 6rem; color: var(--gold); opacity: 0.8; }
.orbit-ring {
    position: absolute; border: 1px dashed rgba(212,160,23,0.4);
    border-radius: 50%; animation: spin 15s linear infinite;
}
.orbit-1 { width: 110%; height: 110%; }
.orbit-2 { width: 130%; height: 130%; animation-duration: 20s; }
.orbit-3 { width: 150%; height: 150%; animation-duration: 25s; }
@keyframes spin { 100% { transform: rotate(360deg); } }
.stat-number { font-size: 2rem; font-weight: 800; color: var(--gold); }
.stat-label { display: block; font-size: 0.85rem; color: var(--text-muted); }

/* ==================== SERVICES ==================== */
.service-card { padding: 2rem 1.5rem; text-align: center; height: 100%; }
.service-icon-wrapper {
    width: 70px; height: 70px; margin: 0 auto 1.5rem;
    background: rgba(212,160,23,0.08); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--border-subtle);
}
.service-icon { font-size: 2rem; color: var(--gold); }
.service-title { font-size: 1.2rem; margin-bottom: 1rem; color: #fff; }
.service-desc { font-size: 0.9rem; color: var(--text-muted); min-height: 50px; }
.service-price { margin: 1.2rem 0; font-family: var(--heading-font); }
.price-amount { font-size: 1.8rem; color: var(--gold); font-weight: 700; }
.price-period { font-size: 1rem; color: #aaa; }
.featured-card { border-color: var(--gold); position: relative; }
.featured-badge {
    position: absolute; top: -12px; right: 20px;
    background: var(--gold); color: #000;
    padding: 4px 15px; border-radius: 20px; font-size: 0.8rem; font-weight: 700;
}

/* ==================== WHY CHOOSE US ==================== */
.why-icon-circle {
    width: 70px; height: 70px; background: rgba(212,160,23,0.08);
    border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.8rem; color: var(--gold); margin-bottom: 1.5rem;
}
.why-card { padding: 2rem 1.5rem; border-radius: 20px; transition: 0.3s; }
.why-card:hover { transform: translateY(-5px); }

/* ==================== GALLERY ==================== */
.gallery-item { padding: 0.5rem; text-align: center; }
.gallery-img-wrapper {
    width: 100%; height: 150px; background: rgba(212,160,23,0.05);
    border-radius: 15px; display: flex; align-items: center; justify-content: center;
    font-size: 3rem; color: var(--gold); transition: 0.3s;
}
.gallery-item:hover .gallery-img-wrapper {
    background: rgba(212,160,23,0.15); transform: scale(1.02);
}
.gallery-caption { color: var(--text-muted); font-weight: 500; margin-bottom: 0; }

/* ==================== TESTIMONIALS ==================== */
.testimonial-stars { color: var(--gold); font-size: 1.2rem; letter-spacing: 2px; }
.testimonial-text { color: #e0d8c0; font-style: italic; font-size: 1rem; line-height: 1.7; }
.testimonial-author {
    display: flex; align-items: center; gap: 12px; margin-top: 1.5rem;
    border-top: 1px solid var(--border-subtle); padding-top: 1.2rem;
}
.author-avatar {
    width: 50px; height: 50px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: #000; font-size: 1.2rem;
}
.author-avatar + div strong { color: #fff; display: block; }
.author-avatar + div small { color: var(--text-muted); }

/* ==================== FAQ ==================== */
.accordion-item { border: none; margin-bottom: 1rem; }
.accordion-button {
    background: transparent; font-weight: 600; color: #fff !important; box-shadow: none;
}
.accordion-button:not(.collapsed) {
    background: rgba(212,160,23,0.1); color: var(--gold) !important;
}
.accordion-body { color: var(--text-muted); }

/* ==================== CTA BANNER ==================== */
.cta-banner {
    position: relative; overflow: hidden;
    background: rgba(20, 30, 50, 0.8); border: 1px solid var(--border-subtle);
}
.cta-title { color: #fff; }

/* ==================== FOOTER ==================== */
.footer-section {
    background: var(--footer-bg);
    padding: 4rem 0 2rem;
    border-top: 2px solid var(--border-subtle);
}
.footer-heading { color: var(--gold); margin-bottom: 1.5rem; font-size: 1.1rem; }
.footer-links { list-style: none; padding: 0; }
.footer-links li a { color: var(--text-muted); text-decoration: none; transition: color 0.3s; line-height: 2; }
.footer-links li a:hover { color: var(--gold); }
.footer-links li span { color: var(--text-muted); }

.social-icon {
    width: 40px; height: 40px; background: rgba(212,160,23,0.1);
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; color: var(--gold); margin-right: 10px; transition: all 0.3s;
}
.social-icon:hover { background: var(--gold); color: #000; transform: translateY(-3px); }

.newsletter-input {
    background: rgba(255,255,255,0.08); border: 1px solid var(--border-subtle);
    color: #fff; padding: 12px 15px;
}
.newsletter-input::placeholder { color: #aaa; }
.newsletter-input:focus { border-color: var(--gold); box-shadow: 0 0 10px rgba(212,160,23,0.3); }
.footer-divider { border-color: rgba(255,255,255,0.1); margin: 2rem 0; }
.footer-copy { color: var(--text-muted); }

/* ==================== PAGE HEADERS ==================== */
.page-header {
    height: 50vh; min-height: 250px;
    background: radial-gradient(ellipse at 30% 30%, #2e4060 0%, #121a28 70%);
    position: relative; margin-top: 76px;
    display: flex; align-items: center;
    border-bottom: 1px solid var(--border-subtle);
}
.page-title { font-size: 3rem; font-weight: 900; color: #fff; }
.page-subtitle { color: var(--text-muted); }

/* ==================== CONTACT ==================== */
.contact-info-item {
    display: flex; gap: 15px; align-items: center; padding: 1rem; margin-bottom: 1rem;
    background: rgba(255,255,255,0.03); border-radius: 15px; border-left: 4px solid var(--gold);
}
.contact-info-item i { font-size: 1.5rem; color: var(--gold); width: 30px; }
.form-control, .form-select {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(212,160,23,0.3);
    color: #fff; padding: 12px 15px; border-radius: 12px;
}
.form-control:focus, .form-select:focus {
    border-color: var(--gold); box-shadow: 0 0 10px rgba(212,160,23,0.4);
    background: rgba(255,255,255,0.1);
}
.form-control::placeholder { color: #aaa; }
.benefits-list { list-style: none; padding: 0; }
.benefits-list li { margin-bottom: 0.8rem; display: flex; align-items: flex-start; color: var(--text-primary); }
.sticky-sidebar { position: sticky; top: 100px; }

/* ==================== DARKER SECTIONS ==================== */
.bg-darker,
.bg-dark-section {
    background: rgba(10, 18, 30, 0.5);
}

/* ==================== FLOATING BUTTONS ==================== */
.floating-actions {
    position: fixed; bottom: 25px; right: 25px;
    display: flex; flex-direction: column; gap: 12px; z-index: 999;
}
.float-btn {
    width: 55px; height: 55px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
    transition: transform 0.3s, box-shadow 0.3s; text-decoration: none;
}
.float-btn:hover { transform: scale(1.1); color: #fff; }
.float-whatsapp { background: #25D366; }
.float-call { background: var(--gold); color: #000; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 992px) {
    .hero-title { font-size: 2.8rem; }
    .section-title { font-size: 2rem; }
    .about-image-placeholder { width: 220px; height: 220px; }
    .about-image-placeholder.large { width: 280px; height: 280px; }
}
@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-badge { font-size: 0.8rem; }
    .section-title { font-size: 1.8rem; }
    .navbar-collapse {
        background: var(--header-bg);
        padding: 1rem; border-radius: 10px; margin-top: 10px;
        border: 1px solid var(--border-subtle);
    }
    .about-image-placeholder { width: 200px; height: 200px; }
    .about-om-symbol { font-size: 4rem; }
    .gallery-img-wrapper { height: 120px; font-size: 2.5rem; }
    .floating-actions { bottom: 20px; right: 20px; }
    .float-btn { width: 50px; height: 50px; font-size: 1.3rem; }
}
@media (max-width: 576px) {
    .hero-title { font-size: 1.8rem; }
    .hero-buttons .btn { display: block; width: 100%; margin-bottom: 10px; }
    .service-card { padding: 1.5rem; }
    .cta-banner { padding: 2rem 1rem !important; }
    .gallery-img-wrapper { height: 100px; font-size: 2rem; }
}

/* Make the toggler border subtle */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

/* Override the toggler icon with a white version */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}