/* ==========================================================================
   Vedic Astrology, Numerology, Vaastu & Energy Healing
   ========================================================================== */

:root {
    --bg-dark-primary: #0a0e27;
    --bg-dark-secondary: #12183a;
    --bg-dark-card: #1c234b;
    --gold-primary: #d4af37;
    --gold-hover: #f3c642;
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f39c12 50%, #f1c40f 100%);
    --blue-gradient: linear-gradient(135deg, #0b2545 0%, #134074 100%);
    --purple-gradient: linear-gradient(135deg, #12183a 0%, #2b1b54 100%);
    --accent-orange: #ff9f43;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --text-light: #f8fafc;
    --bg-light: #f8fafc;
    --bg-light-card: #ffffff;
    --border-color: #cbd5e1;
    --whatsapp-color: #25d366;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 25px rgba(212, 175, 55, 0.3);
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-pill: 50px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-font {
    font-family: 'Outfit', sans-serif;
}

.font-cinzel {
    font-family: 'Cinzel', serif;
}

/* Top Announcement Bar */
.top-bar {
    background: linear-gradient(90deg, #0a0e27 0%, #134074 50%, #0a0e27 100%);
    color: #ffd700;
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.top-bar a {
    color: #ffffff;
    text-decoration: none;
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--gold-primary);
}

.container,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
    max-width: 1400px;
}

img.rounded-circle.border.border-warning {
    width: 130px;
}

/* Sticky Navbar */
.navbar {
    background: rgba(10, 14, 39, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    padding: 10px 0;
    transition: var(--transition);
}

.navbar-brand img {
    height: 54px;
    width: 54px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--gold-primary);
    background: #ffffff;
}

.brand-text-title {
    font-weight: 700;
    font-size: 1.35rem;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.brand-text-accent {
    color: var(--gold-primary);
}

.brand-subtitle {
    font-size: 0.65rem;
    color: #cbd5e1;
    display: block;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-link {
    color: #e2e8f0 !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 14px !important;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-primary) !important;
}

.btn-whatsapp-nav {
    background-color: var(--whatsapp-color);
    color: #ffffff !important;
    font-weight: 600;
    border-radius: var(--radius-pill);
    padding: 8px 18px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
    text-decoration: none;
}

.btn-whatsapp-nav:hover {
    background-color: #1ebd56;
    transform: translateY(-2px);
}

.btn-call-nav {
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary) !important;
    font-weight: 600;
    border-radius: var(--radius-pill);
    padding: 8px 18px;
    transition: var(--transition);
    text-decoration: none;
}

.btn-call-nav:hover {
    background-color: var(--gold-primary);
    color: #0a0e27 !important;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    position: relative;
    background: var(--bg-dark-primary) url('../images/hero-bg.png') no-repeat center center / cover;
    min-height: 90vh;
    padding: 130px 0 70px 0;
    color: #ffffff;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(10, 14, 39, 0.65) 0%, rgba(10, 14, 39, 0.95) 80%);
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
}

.badge-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #ffd700;
    padding: 6px 18px;
    border-radius: var(--radius-pill);
    font-size: 0.88rem;
    font-weight: 600;
}

.hero-title {
    font-size: 2.7rem;
    font-weight: 800;
    line-height: 1.25;
    margin-top: 15px;
}

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

.hero-subtitle {
    font-size: 1.15rem;
    color: #cbd5e1;
    font-weight: 400;
}

.hero-lead {
    color: #94a3b8;
    font-size: 1rem;
    margin-bottom: 25px;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px 16px;
    border-radius: var(--radius-md);
}

.badge-icon-box {
    font-size: 1.4rem;
}

.badge-number {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    color: var(--gold-primary);
}

.badge-label {
    font-size: 0.75rem;
    color: #cbd5e1;
}

.btn-gold-action {
    background: var(--gold-gradient);
    color: #0a0e27;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    border: none;
    box-shadow: var(--shadow-glow);
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-gold-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
    color: #000;
}

/* Quick Lead Form Card */
.hero-form-wrapper {
    position: relative;
    background: #ffffff;
    color: var(--text-dark);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 3px solid var(--gold-primary);
    overflow: hidden;
}

.corner-ribbon {
    position: absolute;
    top: 18px;
    right: -35px;
    transform: rotate(45deg);
    background: #e74c3c;
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 10;
    text-transform: uppercase;
}

.form-header-box {
    background: linear-gradient(135deg, #0b2545 0%, #134074 100%);
    color: #ffffff;
    padding: 20px;
    border-bottom: 2px solid var(--gold-primary);
}

.form-header-title {
    color: var(--gold-primary);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 4px;
}

/* Marquee Ticker */
.marquee-wrapper {
    background: #080b1f;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding: 12px 0;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 40px;
    white-space: nowrap;
    animation: marquee 28s linear infinite;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e2e8f0;
    font-size: 0.9rem;
    font-weight: 500;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Pillars Section Bar */
.pillars-bar {
    background: linear-gradient(90deg, #0b2545 0%, #134074 50%, #0b2545 100%);
    color: #ffffff;
    padding: 25px 0;
    border-bottom: 2px solid var(--gold-primary);
}

.pillar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
}

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

.pillar-title {
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
    margin: 0;
}

/* Section Common Styling */
.section-padding {
    padding: 80px 0;
}

.bg-soft-gradient {
    background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
}

.bg-dark-section {
    background: var(--bg-dark-primary);
    color: #ffffff;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.12);
    color: #b78a10;
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 10px;
    margin-bottom: 15px;
}

.bg-dark-section .section-title {
    color: #ffffff;
}

/* Service Item Cards */
.service-item-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 22px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-item-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-primary);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.service-item-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0b2545 0%, #134074 100%);
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-item-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.service-item-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

/* Online Course Cards */
.course-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    border: 2px solid #e2e8f0;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gold-gradient);
}

.course-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-primary);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.2);
}

/* Dark Course Card Fix for Workshops & Batches */
.course-card-dark {
    background: linear-gradient(135deg, #0a0e27 0%, #134074 100%) !important;
    border: 2px solid var(--gold-primary) !important;
    color: #ffffff !important;
}

.course-card-dark .course-title {
    color: #ffffff !important;
}

.course-card-dark p,
.course-card-dark li {
    color: #e2e8f0 !important;
}

.course-num-badge {
    background: var(--gold-gradient);
    color: #0a0e27;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 10px;
}

.course-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0b2545;
    margin-bottom: 8px;
}

.course-hindi-sub {
    font-size: 0.95rem;
    color: #b78a10;
    font-weight: 600;
    margin-bottom: 10px;
}



/* Why Choose Us Cards */
.why-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    height: 100%;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--gold-primary);
}

.why-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0b2545 0%, #134074 100%);
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 18px auto;
}

/* Address Cards */
.address-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    border: 2px solid #e2e8f0;
    box-shadow: var(--shadow-soft);
    height: 100%;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.address-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-3px);
}

.address-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.address-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.15);
    color: #b78a10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.address-card-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 15px;
    flex-wrap: wrap;
}

.btn-map-action {
    background: #f8fafc;
    color: #1e293b;
    border: 1.5px solid #cbd5e1;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 9px 18px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition);
    line-height: 1.2;
}

.btn-map-action:hover {
    background: #e2e8f0;
    color: #0f172a;
    border-color: #94a3b8;
}

.btn-call-action {
    background: var(--gold-gradient);
    color: #0a0e27;
    border: 1.5px solid transparent;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 9px 18px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
    line-height: 1.2;
}

.btn-call-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.4);
    color: #0a0e27;
}

/* Floating Buttons */
.floating-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: var(--whatsapp-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: var(--transition);
    text-decoration: none;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    color: white;
}

.floating-call {
    position: fixed;
    bottom: 25px;
    left: 25px;
    background-color: var(--gold-primary);
    color: #0a0e27;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
    z-index: 999;
    transition: var(--transition);
    text-decoration: none;
}

.animate-pulse-gold {
    animation: pulseGold 2s infinite;
}

@keyframes pulseGold {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

/* ==========================================================================
   Responsive Design & Mobile Ergonomics
   ========================================================================== */

/* Universal Responsive Fixes */
img,
svg {
    max-width: 100%;
    height: auto;
}

/* Touch Friendly Targets on Mobile */
button,
.btn,
input,
select,
textarea,
.nav-link {
    touch-action: manipulation;
}

/* Breakpoint: Desktop / Laptop (Max 1199.98px) */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 2.3rem;
    }

    .service-item-card {
        padding: 18px;
    }
}

/* Breakpoint: Tablet & Mobile Navigation (Max 991.98px) */
@media (max-width: 991.98px) {
    .navbar {
        padding: 8px 0;
    }

    .navbar-brand {
        max-width: calc(100% - 65px);
        margin-right: 0;
    }

    .navbar-brand img {
        height: 46px;
        width: 46px;
        flex-shrink: 0;
    }

    .brand-text-title {
        font-size: 1.1rem;
        line-height: 1.15;
        white-space: nowrap;
    }

    .brand-subtitle {
        font-size: 0.55rem;
        letter-spacing: 0.3px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 220px;
        line-height: 1.2;
    }

    .navbar-toggler {
        padding: 4px 8px;
        margin-left: auto;
    }

    .navbar-collapse {
        background: #0a0e27;
        padding: 20px;
        border-radius: var(--radius-md);
        margin-top: 10px;
        border: 1px solid rgba(212, 175, 55, 0.3);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .navbar-nav {
        text-align: center;
    }

    .navbar-nav .nav-link {
        padding: 10px 0 !important;
        font-size: 1.05rem;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
    }

    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }

    .nav-cta-group {
        flex-direction: column;
        width: 100%;
        margin-top: 15px;
    }

    .nav-cta-group .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-section {
        padding: 100px 0 50px 0;
        text-align: center;
    }

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

    .badge-tagline {
        font-size: 11px;
        padding: 5px 14px;
        white-space: normal;
        text-align: center;
        justify-content: center;
    }

    .hero-lead {
        font-size: 0.95rem;
    }

    .trust-badge-item {
        flex: 1 1 calc(50% - 10px);
        justify-content: center;
    }

    .hero-cta-box {
        justify-content: center;
    }

    .hero-form-wrapper {
        margin-top: 20px;
    }
}

/* Breakpoint: Medium Mobile & Tablets (Max 767.98px) */
@media (max-width: 767.98px) {
    .top-bar {
        font-size: 0.78rem;
        padding: 6px 0;
    }

    .section-padding {
        padding: 55px 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .pillars-bar {
        padding: 20px 0;
    }

    .pillar-item {
        padding: 8px 4px;
        gap: 10px;
    }

    .pillar-icon {
        font-size: 1.6rem;
    }

    .pillar-title {
        font-size: 0.85rem;
    }

    .trust-badge-item {
        flex: 1 1 100%;
        justify-content: flex-start;
    }

    .course-card {
        padding: 20px 16px;
    }

    .address-card {
        padding: 20px 16px;
    }

    .address-header {
        align-items: flex-start;
    }
}

/* Breakpoint: Standard Mobile (Max 575.98px) */
@media (max-width: 575.98px) {
    .top-bar {
        display: none;
    }

    .hero-section {
        padding: 36px 0 40px 0;
    }

    .hero-title {
        font-size: 1.65rem;
        line-height: 1.3;
    }

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

    .hero-cta-box .btn {
        width: 100%;
        justify-content: center;
    }

    .corner-ribbon {
        font-size: 0.65rem;
        padding: 3px 30px;
        right: -32px;
        top: 14px;
    }

    .form-header-box {
        padding: 16px;
    }

    .form-header-title {
        font-size: 1.15rem;
    }



    .why-card {
        padding: 20px 16px;
    }

    .floating-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 26px;
        bottom: 20px;
        right: 15px;
    }

    .floating-call {
        width: 48px;
        height: 48px;
        font-size: 22px;
        bottom: 20px;
        left: 15px;
    }
}

/* Breakpoint: Extra Small Mobile (Max 375px) */
@media (max-width: 375px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .brand-text-title {
        font-size: 1.05rem;
    }

    .brand-subtitle {
        display: none;
    }

    .navbar-brand img {
        height: 44px;
        width: 44px;
    }

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

    .section-title {
        font-size: 1.45rem;
    }

    .btn-gold-action {
        padding: 12px 20px;
        font-size: 0.9rem;
    }


}