/**
 * Baglamukhi Guru Design System v2.0
 * Unified design tokens for all service pages
 * Colors: Gold #F5C518, Saffron #FF6B00, Maroon #8B0000
 */

:root {
    /* Primary Colors */
    --gold: #F5C518;
    --gold-dark: #D4A017;
    --gold-light: #FFF3CD;
    --saffron: #FF6B00;
    --saffron-dark: #E65100;
    --maroon: #8B0000;
    --maroon-dark: #660000;
    --maroon-light: #A52A2A;

    /* Backgrounds */
    --bg-cream: #FFFEF5;
    --bg-white: #FFFFFF;
    --bg-light-gold: #FFFBEB;
    --bg-dark: #1A1A1A;
    --bg-maroon: #2D0101;

    /* Text Colors */
    --text-dark: #1E293B;
    --text-secondary: #64748B;
    --text-light: #FFFFFF;
    --text-gold: #F5C518;

    /* Functional */
    --success: #10B981;
    --whatsapp: #25D366;
    --cta-gradient: linear-gradient(135deg, #FF6B00 0%, #F5C518 100%);
    --gold-gradient: linear-gradient(135deg, #F5C518 0%, #D4A017 100%);
    --maroon-gradient: linear-gradient(135deg, #8B0000 0%, #660000 100%);

    /* Spacing */
    --section-padding: 80px 0;
    --card-padding: 24px;
    --border-radius: 12px;
    --border-radius-lg: 20px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.12);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.16);
    --shadow-gold: 0 8px 24px rgba(245,197,24,0.3);

    /* Transitions */
    --transition: all 0.3s ease;
}

/* ============================================
   BASE TYPOGRAPHY
   ============================================ */
body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-white);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }
h5 { font-size: 1.1rem; font-weight: 600; }

@media (max-width: 768px) {
    body { font-size: 16px; }
    h1 { font-size: 28px; }
    h2 { font-size: 24px; }
    h3 { font-size: 20px; }
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section {
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--maroon);
    font-weight: 700;
}

.section-title span {
    color: var(--gold);
}

.section-dark {
    background: var(--bg-maroon);
    color: var(--text-light);
}

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

.section-cream {
    background: var(--bg-cream);
}

.section-gold {
    background: var(--gold-gradient);
    color: var(--text-dark);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    background: var(--maroon-gradient);
    color: var(--text-light);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(245,197,24,0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245,197,24,0.15);
    border: 1px solid rgba(245,197,24,0.4);
    color: var(--gold);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-section h1 {
    color: var(--text-light);
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Trust Bar */
.trust-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 25px;
    background: rgba(0,0,0,0.2);
    border-radius: 16px;
    border: 1px solid rgba(245,197,24,0.2);
    max-width: 800px;
    margin: 0 auto;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.trust-item i {
    font-size: 1.5rem;
    color: var(--gold);
}

.trust-item strong {
    display: block;
    color: var(--text-light);
    font-weight: 700;
}

.trust-item span {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
}

@media (max-width: 768px) {
    .hero-section { padding: 100px 0 60px; }
    .trust-bar { gap: 20px; padding: 20px; }
    .trust-item { flex: 0 0 45%; }
}

/* ============================================
   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;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn i { font-size: 1rem; }

.btn-primary {
    background: var(--gold-gradient);
    color: var(--maroon-dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
    color: var(--maroon-dark);
}

.btn-success {
    background: var(--whatsapp);
    color: var(--text-light);
}

.btn-success:hover {
    background: #128C7E;
    transform: translateY(-2px);
    color: var(--text-light);
}

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

.btn-outline:hover {
    background: rgba(245,197,24,0.1);
    color: var(--gold);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.05rem;
}

.btn-card {
    width: 100%;
    padding: 14px 20px;
    background: var(--gold-gradient);
    color: var(--maroon-dark);
    border-radius: var(--border-radius);
    font-weight: 700;
    text-align: center;
}

.btn-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
    color: var(--maroon-dark);
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: var(--card-padding);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
}

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

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-light-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon i {
    font-size: 1.5rem;
    color: var(--saffron);
}

.card-title {
    color: var(--maroon);
    font-weight: 700;
    margin-bottom: 12px;
}

.card-text {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Problem Card */
.problem-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
}

.problem-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.problem-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(245,197,24,0.2), rgba(255,107,0,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.problem-icon i {
    font-size: 1.75rem;
    color: var(--saffron);
}

.problem-card h3 {
    color: var(--maroon);
    margin-bottom: 10px;
}

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

/* Package Card */
.package-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid var(--gold);
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(245,197,24,0.2);
}

.package-header {
    background: var(--maroon-gradient);
    color: var(--text-light);
    padding: 20px;
    text-align: center;
}

.package-name {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.package-duration {
    font-size: 0.85rem;
    color: var(--gold);
}

.package-price {
    padding: 25px;
    text-align: center;
    background: var(--bg-cream);
}

.package-price .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--maroon);
}

.package-price .currency {
    font-size: 1.25rem;
    vertical-align: super;
}

.package-features {
    list-style: none;
    padding: 0 25px;
    margin: 0 0 25px;
}

.package-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
}

.package-features li i {
    color: var(--success);
}

.package-body {
    padding: 0 25px 25px;
}

/* ============================================
   GRID LAYOUTS
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

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

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 992px) {
    .problem-grid,
    .package-grid,
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .problem-grid,
    .package-grid,
    .service-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ABOUT ACHARYA SECTION
   ============================================ */
.about-section {
    background: var(--bg-cream);
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold-gradient);
    color: var(--maroon-dark);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.about-content .about-label {
    color: var(--saffron);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
}

.about-content h2 {
    color: var(--maroon);
    margin: 10px 0 20px;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.about-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.credential {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--bg-white);
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
}

.credential i {
    color: var(--saffron);
    font-size: 1.1rem;
}

.credential span {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    background: var(--bg-white);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-cream);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    overflow: hidden;
}

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

.faq-question:hover {
    background: rgba(245,197,24,0.1);
}

.faq-question i {
    color: var(--saffron);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px 20px;
    display: none;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: var(--maroon-gradient);
    color: var(--text-light);
    text-align: center;
    padding: 80px 0;
}

.cta-box {
    max-width: 700px;
    margin: 0 auto;
}

.cta-box h2 {
    color: var(--text-light);
    margin-bottom: 15px;
}

.cta-box p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

/* ============================================
   FLOATING BUTTONS
   ============================================ */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-light);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.float-btn:hover {
    transform: scale(1.1);
}

.float-btn.whatsapp {
    background: var(--whatsapp);
}

.float-btn.call {
    background: var(--saffron);
}

@media (max-width: 768px) {
    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }
    .float-btn {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
}

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

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

.footer-logo {
    max-width: 180px;
    margin-bottom: 20px;
}

.footer-col p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
}

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

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gold);
    color: var(--maroon-dark);
}

.footer-col h4 {
    color: var(--gold);
    margin-bottom: 25px;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-col ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--gold);
}

.footer-col ul li i {
    color: var(--gold);
    margin-right: 10px;
    width: 20px;
}

.payment-badges {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.payment-badges i {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.5);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
}

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

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ============================================
   SERVICE CATEGORY SECTION
   ============================================ */
.category-section {
    background: var(--bg-cream);
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
}

.category-tab {
    padding: 12px 24px;
    border-radius: 50px;
    background: var(--bg-white);
    color: var(--text-dark);
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.category-tab:hover,
.category-tab.active {
    background: var(--gold-gradient);
    color: var(--maroon-dark);
    border-color: var(--gold-dark);
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.service-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--bg-light-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.service-card-icon i {
    font-size: 1.25rem;
    color: var(--saffron);
}

.service-card h3 {
    color: var(--maroon);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 15px;
    flex-grow: 1;
}

.service-card .btn {
    margin-top: auto;
}

/* ============================================
   TRUST BADGES SECTION
   ============================================ */
.trust-section {
    background: var(--maroon-gradient);
    padding: 60px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.trust-card {
    text-align: center;
    color: var(--text-light);
}

.trust-card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(245,197,24,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

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

.trust-card h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 5px;
}

.trust-card p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

@media (max-width: 992px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-gold { color: var(--gold) !important; }
.text-maroon { color: var(--maroon) !important; }
.text-saffron { color: var(--saffron) !important; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }
.container { width: 100%; }

/* ============================================
   MOBILE MENU
   ============================================ */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gold);
    cursor: pointer;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    background: var(--maroon-dark);
    z-index: 2000;
    padding: 30px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-nav.active {
    display: block;
    transform: translateX(0);
}

.mobile-nav .close-btn {
    background: none;
    border: none;
    color: var(--gold);
    font-size: 1.5rem;
    cursor: pointer;
    margin-bottom: 30px;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav ul li {
    margin-bottom: 15px;
}

.mobile-nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav .mobile-cta {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
}

.nav-overlay.active {
    display: block;
}

@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }
    .desktop-nav {
        display: none;
    }
}