/* ============================================================
   Twin Hearts Meditation — Main Stylesheet
   Colors: Deep indigo, warm gold, soft cream, rose gold
   Fonts: Cormorant Garamond (display) + Nunito Sans (body)
   ============================================================ */

:root {
    --primary:     #4a3270;   /* Deep violet */
    --primary-light: #6b4fa0;
    --primary-dark: #2d1f45;
    --gold:        #c9a84c;
    --gold-light:  #e8c97a;
    --gold-dark:   #9a7a32;
    --cream:       #f9f7f2;
    --cream-dark:  #f0ebe0;
    --text-dark:   #1a1a2e;
    --text-body:   #3a3a4e;
    --text-light:  #7a7a9a;
    --rose:        #c0697a;
    --green:       #3a8a6a;
    --blue:        #2a6aaa;
    --sidebar-bg:  #faf8f5;
    --border:      rgba(74,50,112,0.12);
    --shadow-sm:   0 2px 12px rgba(74,50,112,0.08);
    --shadow-md:   0 6px 30px rgba(74,50,112,0.14);
    --shadow-lg:   0 16px 60px rgba(74,50,112,0.18);
    --radius:      12px;
    --radius-sm:   8px;
    --transition:  all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-body);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--text-dark);
    line-height: 1.3;
    font-weight: 600;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-light); }

/* ---- Preloader ---- */
#preloader {
    position: fixed; inset: 0; background: var(--primary-dark);
    display: flex; align-items: center; justify-content: center;
    z-index: 9999; transition: opacity 0.6s ease;
}
#preloader.hidden { opacity: 0; pointer-events: none; }

.lotus-loader {
    position: relative; width: 80px; height: 80px;
}
.lotus-loader .petal {
    position: absolute; width: 20px; height: 36px;
    background: linear-gradient(180deg, var(--gold-light), var(--gold));
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    top: 50%; left: 50%; transform-origin: 50% 100%;
    margin-left: -10px; margin-top: -36px;
    animation: petalPulse 1.4s ease-in-out infinite;
    opacity: 0.85;
}
.lotus-loader .petal:nth-child(1) { transform: rotate(0deg); animation-delay: 0s; }
.lotus-loader .petal:nth-child(2) { transform: rotate(60deg); animation-delay: 0.23s; }
.lotus-loader .petal:nth-child(3) { transform: rotate(120deg); animation-delay: 0.46s; }
.lotus-loader .petal:nth-child(4) { transform: rotate(180deg); animation-delay: 0.69s; }
.lotus-loader .petal:nth-child(5) { transform: rotate(240deg); animation-delay: 0.92s; }
.lotus-loader .petal:nth-child(6) { transform: rotate(300deg); animation-delay: 1.15s; }
.lotus-loader .glow-ring {
    position: absolute; inset: 10px;
    border-radius: 50%; background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
    animation: glowPulse 1.4s ease-in-out infinite;
}
@keyframes petalPulse { 0%,100%{opacity:0.6;transform:scaleY(0.85) rotate(var(--r,0deg))} 50%{opacity:1;transform:scaleY(1.1) rotate(var(--r,0deg))} }
@keyframes glowPulse  { 0%,100%{opacity:0.4;transform:scale(0.8)} 50%{opacity:1;transform:scale(1.2)} }

/* ---- Top Bar ---- */
.topbar {
    background: var(--primary-dark); color: rgba(255,255,255,0.85);
    padding: 6px 0; font-size: 0.8rem;
}
.topbar a { color: rgba(255,255,255,0.85); }
.topbar a:hover { color: var(--gold-light); }

/* ---- Navbar ---- */
#mainNav {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    padding: 12px 0;
    transition: var(--transition);
    border-bottom: 1px solid var(--border);
}
#mainNav.scrolled { padding: 8px 0; box-shadow: var(--shadow-md); }

.brand-logo { display: flex; align-items: center; gap: 10px; }
.logo-symbol { font-size: 1.8rem; color: var(--primary); line-height: 1; animation: slowSpin 20s linear infinite; }
.logo-symbol.large { font-size: 3rem; }
@keyframes slowSpin { 0%{transform:rotate(0deg)} 100%{transform:rotate(360deg)} }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-main { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 600; color: var(--primary-dark); }
.brand-sub  { font-size: 0.68rem; color: var(--gold-dark); letter-spacing: 0.08em; text-transform: uppercase; }

.navbar-nav .nav-link {
    font-size: 0.88rem; font-weight: 600; letter-spacing: 0.02em;
    color: var(--text-dark) !important; padding: 6px 14px !important;
    border-radius: var(--radius-sm); transition: var(--transition);
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: var(--primary) !important; background: rgba(74,50,112,0.07);
}
.btn-contact {
    background: var(--primary) !important; color: #fff !important;
    border-radius: 50px !important; padding: 7px 20px !important;
}
.btn-contact:hover { background: var(--primary-light) !important; }

.dropdown-menu {
    border: none; box-shadow: var(--shadow-md); border-radius: var(--radius);
    padding: 8px;
}
.dropdown-item { border-radius: var(--radius-sm); font-size: 0.88rem; padding: 8px 14px; }
.dropdown-item:hover { background: rgba(74,50,112,0.07); color: var(--primary); }

/* ---- Hero ---- */
.hero-section {
    position: relative; min-height: 90vh;
    background: linear-gradient(145deg, var(--primary-dark) 0%, #2d1f55 40%, #1a0f30 100%);
    display: flex; align-items: center; overflow: hidden;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 60% 40%, rgba(201,168,76,0.15) 0%, transparent 70%),
                radial-gradient(ellipse at 20% 70%, rgba(192,105,122,0.1) 0%, transparent 50%);
}
.hero-particles {
    position: absolute; inset: 0; overflow: hidden;
}
.particle {
    position: absolute; border-radius: 50%;
    background: rgba(201,168,76,0.4);
    animation: floatParticle linear infinite;
}
@keyframes floatParticle {
    0%   { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { transform: translateY(-20vh) rotate(720deg); opacity: 0; }
}
.hero-content {
    position: relative; z-index: 2; padding: 100px 0 60px;
}
.chakra-symbol {
    font-size: 5rem; color: var(--gold-light);
    display: block; margin-bottom: 20px;
    text-shadow: 0 0 40px rgba(201,168,76,0.6);
}
.animate-float { animation: float 4s ease-in-out infinite; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300; color: #fff; letter-spacing: 0.02em;
    margin-bottom: 8px;
}
.hero-subtitle {
    font-size: 1.1rem; color: var(--gold-light);
    letter-spacing: 0.25em; text-transform: uppercase; font-weight: 300;
    margin-bottom: 20px;
}
.hero-desc {
    font-size: 1.05rem; color: rgba(255,255,255,0.75);
    max-width: 600px; margin: 0 auto;
}
.btn-primary-glow {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff !important; border: none;
    padding: 12px 28px; border-radius: 50px;
    font-weight: 700; font-size: 0.9rem;
    box-shadow: 0 4px 20px rgba(74,50,112,0.4);
    transition: var(--transition);
}
.btn-primary-glow:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(74,50,112,0.5); }

.hero-wave {
    position: absolute; bottom: -1px; left: 0; right: 0;
}
.hero-wave svg { display: block; }

/* ---- Page Header ---- */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark), #3d2870);
    padding: 50px 0 35px; color: white;
}
.page-header .breadcrumb { margin-bottom: 12px; }
.page-header .breadcrumb-item a { color: rgba(255,255,255,0.7); }
.page-header .breadcrumb-item.active { color: var(--gold-light); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }
.page-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 4vw, 3rem); color: #fff; font-weight: 300;
}

/* ---- Main Content ---- */
.main-content { padding: 50px 0 60px; background: var(--cream); }

/* ---- Navpill Sidebar ---- */
.navpill-sidebar {
    background: white; border-radius: var(--radius);
    box-shadow: var(--shadow-sm); overflow: hidden;
    border: 1px solid var(--border);
}
.sidebar-header {
    background: linear-gradient(135deg, var(--primary-dark), #3d2870);
    color: white; padding: 16px 20px; font-weight: 700;
    font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.sidebar-pills .nav-link {
    color: var(--text-body); padding: 10px 20px; border-radius: 0;
    font-size: 0.88rem; font-weight: 600;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition);
    display: flex; align-items: center;
}
.sidebar-pills .nav-link:hover { background: rgba(74,50,112,0.06); color: var(--primary); }
.sidebar-pills .nav-link.active {
    background: linear-gradient(135deg, rgba(74,50,112,0.1), rgba(74,50,112,0.05));
    color: var(--primary); border-left: 3px solid var(--primary);
}
.sidebar-pills .nav-link i { width: 18px; text-align: center; }
.sidebar-divider { padding: 6px 20px; background: var(--cream-dark); }
.sidebar-divider span {
    font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--text-light); font-weight: 700;
}
.sidebar-qr { padding: 0 16px 16px; }
.qr-label { font-size: 0.78rem; text-align: center; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.qr-img { width: 100%; border-radius: var(--radius-sm); border: 2px solid var(--border); padding: 4px; background: white; }
.btn-whatsapp { background: #25D366; color: white; border: none; font-size: 0.78rem; border-radius: 6px; }
.btn-whatsapp:hover { background: #1da856; color: white; }
.btn-call { background: var(--primary); color: white; border: none; font-size: 0.78rem; border-radius: 6px; }
.btn-call:hover { background: var(--primary-light); color: white; }

/* ---- Content Area ---- */
.content-area {
    background: white; border-radius: var(--radius);
    box-shadow: var(--shadow-sm); padding: 40px;
    border: 1px solid var(--border); min-height: 400px;
}

/* ---- Page Article ---- */
.page-article h3 { font-size: 1.6rem; color: var(--primary-dark); margin: 32px 0 14px; }
.page-article h4 { font-size: 1.25rem; color: var(--primary); margin-bottom: 10px; }
.page-article p  { margin-bottom: 16px; }

/* ---- Intro Highlight ---- */
.intro-highlight {
    display: flex; gap: 20px; align-items: flex-start;
    background: linear-gradient(135deg, rgba(74,50,112,0.06), rgba(201,168,76,0.06));
    border-radius: var(--radius); padding: 28px; margin-bottom: 32px;
    border-left: 4px solid var(--primary);
}
.step-badge-icon {
    width: 52px; height: 52px; min-width: 52px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; color: white;
}
.step-badge-icon.green { background: linear-gradient(135deg, var(--green), #5ab890); }
.step-badge-icon.blue  { background: linear-gradient(135deg, var(--blue), #4a9adf); }
.step-badge-icon.gold  { background: linear-gradient(135deg, var(--gold-dark), var(--gold)); }
.step-badge-icon.purple{ background: linear-gradient(135deg, #7a3aaa, #a060d0); }
.step-badge-icon.red   { background: linear-gradient(135deg, var(--rose), #e08090); }
.intro-highlight h2    { font-size: 1.8rem; margin-bottom: 10px; }
.intro-highlight .lead { font-size: 1rem; color: var(--text-body); margin: 0; }

/* ---- Chakra Cards ---- */
.chakra-badge { display: flex; gap: 8px; font-size: 2rem; color: var(--primary); margin-bottom: 8px; }
.chakra-card  {
    background: white; border-radius: var(--radius); padding: 24px;
    border: 1px solid var(--border); text-align: center;
    transition: var(--transition); box-shadow: var(--shadow-sm);
}
.chakra-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.chakra-card-icon { font-size: 2.5rem; margin-bottom: 12px; }
.chakra-card.heart .chakra-card-icon { color: var(--rose); }
.chakra-card.crown .chakra-card-icon { color: var(--gold); }
.chakra-card h4 { font-size: 1.2rem; margin-bottom: 8px; }
.chakra-visual { padding: 20px; }
.chakra-circle {
    width: 80px; height: 80px; border-radius: 50%; margin: 0 auto;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
}
.crown-circle { background: radial-gradient(circle, rgba(201,168,76,0.3), rgba(201,168,76,0.05)); color: var(--gold); border: 2px solid var(--gold-light); }
.heart-circle { background: radial-gradient(circle, rgba(192,105,122,0.3), rgba(192,105,122,0.05)); color: var(--rose); border: 2px solid #e89aaa; }
.heart-back-circle { background: radial-gradient(circle, rgba(192,105,122,0.2), rgba(192,105,122,0.03)); color: var(--rose); border: 2px dashed #e89aaa; }
.chakra-label { font-size: 0.8rem; color: var(--text-light); font-weight: 700; margin-top: 8px; text-transform: uppercase; letter-spacing: 0.06em; }

/* ---- Spiritual Quote ---- */
.spiritual-quote {
    background: linear-gradient(135deg, rgba(74,50,112,0.06), rgba(201,168,76,0.06));
    border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0;
    padding: 24px 28px; margin: 28px 0; position: relative;
}
.spiritual-quote::before { content: '"'; font-family: 'Cormorant Garamond', serif; font-size: 5rem; color: var(--gold-light); position: absolute; top: -10px; left: 16px; line-height: 1; opacity: 0.5; }
.spiritual-quote p  { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-style: italic; color: var(--primary-dark); margin: 0 0 10px; padding-left: 20px; }
.spiritual-quote cite { font-size: 0.85rem; color: var(--gold-dark); font-weight: 700; display: block; padding-left: 20px; }

/* ---- Traditions Grid ---- */
.traditions-grid, .prana-names-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px; margin: 20px 0;
}
.tradition-item, .prana-item {
    background: white; border: 1px solid var(--border); border-radius: var(--radius-sm);
    padding: 12px 16px;
}
.trad-name, .prana-culture { display: block; font-size: 0.75rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.trad-val,  .prana-word    { display: block; font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--primary); font-weight: 600; }

/* ---- Info Boxes ---- */
.info-box {
    border-radius: var(--radius); padding: 22px 26px; margin: 24px 0;
    border: 1px solid var(--border);
}
.info-box h4 { font-size: 1.1rem; margin-bottom: 12px; }
.info-box ul  { padding-left: 20px; margin: 0; }
.info-box li  { margin-bottom: 8px; }
.warning-box  { background: rgba(255,193,7,0.08); border-color: rgba(255,193,7,0.3); }
.warning-box h4 { color: #856404; }
.tip-box  { background: rgba(74,50,112,0.05); border-color: rgba(74,50,112,0.15); }

/* ---- Steps ---- */
.steps-section, .preparation-section { margin-top: 32px; }
.prep-card {
    background: white; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 20px; text-align: center; box-shadow: var(--shadow-sm);
}
.prep-card i { font-size: 1.8rem; margin-bottom: 10px; }
.prep-card h5 { font-size: 1rem; margin-bottom: 6px; }
.prep-card p  { font-size: 0.88rem; color: var(--text-light); margin: 0; }

.step-card {
    display: flex; gap: 20px; margin-bottom: 24px;
    background: white; border-radius: var(--radius);
    padding: 24px; border: 1px solid var(--border);
    box-shadow: var(--shadow-sm); transition: var(--transition);
}
.step-card:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.step-num {
    width: 42px; height: 42px; min-width: 42px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1rem; font-family: 'Cormorant Garamond', serif;
}
.step-body h4 { font-size: 1.15rem; margin-bottom: 8px; }
.step-body p  { margin: 0; }
.blessing-text {
    background: rgba(74,50,112,0.05); border-left: 3px solid var(--primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 14px 18px; margin-top: 12px; font-style: italic;
    color: var(--primary-dark); font-size: 0.95rem;
}

/* ---- Benefits ---- */
.benefit-card {
    background: white; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 28px; box-shadow: var(--shadow-sm);
    transition: var(--transition); height: 100%;
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(74,50,112,0.2); }
.benefit-icon { font-size: 2rem; color: var(--primary); margin-bottom: 14px; }
.benefit-card h4 { font-size: 1.15rem; margin-bottom: 10px; }

/* ---- Testimonials ---- */
.testimonial-card {
    background: white; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 22px; box-shadow: var(--shadow-sm);
}
.stars { color: var(--gold); font-size: 1rem; margin-bottom: 10px; }
.testimonial-card p { font-style: italic; color: var(--text-body); margin-bottom: 12px; }
.testimonial-card cite { font-size: 0.82rem; color: var(--text-light); font-weight: 700; }

/* ---- Master Profile ---- */
.master-profile {
    display: flex; gap: 28px; align-items: flex-start;
    background: linear-gradient(135deg, rgba(74,50,112,0.06), rgba(201,168,76,0.04));
    border-radius: var(--radius); padding: 32px; margin-bottom: 28px;
}
.master-avatar { text-align: center; min-width: 120px; }
.master-avatar-circle {
    width: 100px; height: 100px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex; align-items: center; justify-content: center;
    font-size: 3.5rem; color: rgba(255,255,255,0.9); margin: 0 auto 10px;
}
.master-badge {
    background: var(--gold); color: white; border-radius: 50px;
    padding: 3px 12px; font-size: 0.75rem; font-weight: 700; display: inline-block;
}
.master-title { color: var(--gold-dark); font-weight: 700; margin-bottom: 12px; }
.achievements-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 16px; }
.achievement-card {
    background: white; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 20px; text-align: center; box-shadow: var(--shadow-sm);
}
.achieve-icon { font-size: 2rem; color: var(--gold); margin-bottom: 10px; }
.achievement-card h5 { font-size: 1rem; margin-bottom: 8px; }

/* ---- Yoga Paths ---- */
.yoga-path-card {
    background: white; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 20px; text-align: center; box-shadow: var(--shadow-sm); transition: var(--transition);
}
.yoga-path-card:hover { border-color: var(--gold); box-shadow: var(--shadow-md); }
.yoga-path-card i { font-size: 1.8rem; color: var(--gold); margin-bottom: 10px; display: block; }
.yoga-path-card h5 { font-size: 1rem; margin-bottom: 6px; }
.yoga-path-card p  { font-size: 0.82rem; color: var(--text-light); margin: 0; }

/* ---- Pillars ---- */
.pillars-list { display: flex; flex-direction: column; gap: 14px; }
.pillar-item {
    display: flex; gap: 18px; align-items: flex-start;
    background: white; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 20px; box-shadow: var(--shadow-sm);
}
.pillar-num {
    width: 42px; height: 42px; min-width: 42px; background: var(--gold);
    color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-family: 'Cormorant Garamond', serif; font-size: 1rem; font-weight: 700;
}
.pillar-item h5 { font-size: 1rem; margin-bottom: 6px; }
.pillar-item p  { margin: 0; font-size: 0.9rem; }

/* ---- Levels Timeline ---- */
.levels-timeline { display: flex; flex-direction: column; gap: 12px; margin: 20px 0; }
.level-item {
    display: flex; gap: 16px; align-items: center;
    background: white; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 18px;
}
.level-badge {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white; border-radius: 50px; padding: 4px 14px;
    font-size: 0.78rem; font-weight: 700; white-space: nowrap;
}
.level-item p { margin: 0; font-size: 0.9rem; }

/* ---- Courses ---- */
.section-heading { font-size: 1.5rem; color: var(--primary-dark); margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--cream-dark); }
.courses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 18px; }
.course-card {
    background: white; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
    transition: var(--transition);
}
.course-card:hover { border-color: rgba(74,50,112,0.25); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.course-header { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 12px; }
.course-icon {
    width: 44px; height: 44px; min-width: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
    color: white; font-size: 1.1rem;
}
.course-icon.purple { background: linear-gradient(135deg, #7a3aaa, #a060d0); }
.course-icon.green  { background: linear-gradient(135deg, var(--green), #5ab890); }
.course-header h4   { font-size: 1rem; margin-bottom: 4px; }
.course-level {
    background: rgba(74,50,112,0.1); color: var(--primary);
    border-radius: 50px; padding: 2px 10px; font-size: 0.72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.04em;
}
.course-level.purple { background: rgba(122,58,170,0.1); color: #7a3aaa; }
.course-level.green  { background: rgba(58,138,106,0.1); color: var(--green); }
.course-card p       { font-size: 0.88rem; flex: 1; margin-bottom: 14px; }
.course-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.course-note   { font-size: 0.78rem; color: var(--text-light); }
.btn-course {
    background: var(--primary); color: white; border: none;
    padding: 6px 16px; border-radius: 50px; font-size: 0.8rem; font-weight: 700;
    transition: var(--transition); white-space: nowrap;
}
.btn-course:hover { background: var(--primary-light); color: white; }
.btn-course.purple { background: #7a3aaa; }
.btn-course.purple:hover { background: #a060d0; }
.btn-course.green  { background: var(--green); }
.btn-course.green:hover  { background: #5ab890; }

.enroll-box {
    background: linear-gradient(135deg, var(--primary-dark), #3d2870);
    color: white; border-radius: var(--radius); padding: 40px; text-align: center;
}
.enroll-box h3 { color: white; font-size: 1.8rem; margin-bottom: 14px; }
.enroll-box p  { color: rgba(255,255,255,0.8); max-width: 500px; margin: 0 auto 24px; }
.btn-whatsapp-lg {
    background: #25D366; color: white; border: none;
    padding: 12px 28px; border-radius: 50px; font-weight: 700; font-size: 0.9rem;
    transition: var(--transition);
}
.btn-whatsapp-lg:hover { background: #1da856; color: white; transform: translateY(-2px); }

/* ---- Healing Steps ---- */
.healing-step-card {
    background: white; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 24px; text-align: center; box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.healing-step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.healing-step-num {
    width: 40px; height: 40px; border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), #4a9adf);
    color: white; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.1rem; margin: 0 auto 14px;
}
.healing-step-card h5 { font-size: 1.1rem; margin-bottom: 8px; }
.system-list { display: flex; flex-direction: column; gap: 14px; }
.system-item {
    display: flex; gap: 16px; align-items: flex-start;
    background: white; border: 1px solid var(--border); border-radius: var(--radius-sm);
    padding: 18px;
}
.system-item i { font-size: 1.2rem; margin-top: 2px; }
.system-item h5 { font-size: 0.95rem; margin-bottom: 4px; }
.system-item p  { margin: 0; font-size: 0.88rem; color: var(--text-light); }

/* ---- Contact ---- */
.contact-info-card, .contact-form-card {
    background: white; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 32px; box-shadow: var(--shadow-sm); height: 100%;
}
.contact-info-card h3, .contact-form-card h3 { font-size: 1.4rem; margin-bottom: 22px; color: var(--primary-dark); }
.contact-detail-item {
    display: flex; gap: 14px; margin-bottom: 18px; align-items: flex-start;
}
.contact-detail-item i { color: var(--primary); font-size: 1.1rem; margin-top: 2px; width: 20px; text-align: center; }
.contact-detail-item strong { display: block; font-size: 0.8rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }
.contact-detail-item p { margin: 0; line-height: 1.6; }
.contact-detail-item a { color: var(--text-body); }
.contact-detail-item a:hover { color: var(--primary); }

.qr-section h4 { font-size: 1rem; margin-bottom: 14px; color: var(--primary-dark); }
.qr-display-card { text-align: center; padding: 16px; background: var(--cream); border-radius: var(--radius-sm); }
.qr-large { width: 140px; height: 140px; object-fit: contain; }
.qr-caption { font-size: 0.78rem; color: var(--text-light); margin-top: 8px; margin-bottom: 0; }
.quick-links-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.quick-link-btn {
    background: white; border: 1px solid var(--border); border-radius: var(--radius-sm);
    padding: 10px 8px; text-align: center; color: var(--primary); font-size: 0.8rem;
    font-weight: 700; display: flex; flex-direction: column; align-items: center; gap: 4px;
    transition: var(--transition);
}
.quick-link-btn i { font-size: 1.2rem; }
.quick-link-btn:hover { background: var(--primary); color: white; transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* Form */
.form-control, .form-select {
    border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    padding: 10px 14px; font-size: 0.9rem; transition: var(--transition);
    font-family: 'Nunito Sans', sans-serif;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary); box-shadow: 0 0 0 3px rgba(74,50,112,0.12);
}
.form-label { font-size: 0.85rem; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }

.map-card {
    background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm);
}
.map-card h4 { font-size: 1rem; margin-bottom: 14px; color: var(--primary-dark); }
.map-embed {
    position: relative;
    width: 100%;
    height: 280px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--cream-dark);
    display: block;
}
.map-embed iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    display: block !important;
}

/* ---- Page Nav CTA ---- */
.page-nav-cta { padding-top: 24px; border-top: 1px solid var(--cream-dark); }

/* ---- Footer ---- */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,0.8); }
.footer-top { padding: 60px 0 40px; }
.footer-brand .logo-symbol { color: var(--gold-light); }
.footer-brand h3 { font-family: 'Cormorant Garamond', serif; color: white; font-size: 1.5rem; margin: 12px 0 10px; }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 16px; }
.badge-cert {
    background: rgba(201,168,76,0.2); border: 1px solid rgba(201,168,76,0.4);
    color: var(--gold-light); border-radius: 50px; padding: 4px 12px; font-size: 0.75rem;
    font-weight: 700; margin-right: 6px; display: inline-block;
}

.footer-heading { font-family: 'Nunito Sans', sans-serif; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold-light); margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.65); font-size: 0.88rem; }
.footer-links a:hover { color: var(--gold-light); }

.footer-contact { list-style: none; padding: 0; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 10px; font-size: 0.85rem; align-items: flex-start; }
.footer-contact i { color: var(--gold-light); margin-top: 3px; width: 16px; text-align: center; }
.footer-contact a { color: rgba(255,255,255,0.75); }
.footer-contact a:hover { color: var(--gold-light); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 18px 0; font-size: 0.82rem; color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--gold-light); }

/* ---- Back to Top ---- */
#backToTop {
    position: fixed; bottom: 28px; right: 28px;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--primary); color: white; border: none;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-md); cursor: pointer;
    opacity: 0; transform: translateY(20px);
    transition: var(--transition); z-index: 500;
}
#backToTop.visible { opacity: 1; transform: translateY(0); }
#backToTop:hover { background: var(--primary-light); transform: translateY(-2px); }

/* ---- Responsive ---- */
@media (max-width: 767px) {
    .content-area { padding: 24px 18px; }
    .intro-highlight { flex-direction: column; }
    .master-profile { flex-direction: column; text-align: center; }
    .hero-content { padding: 80px 0 60px; }
    .step-card { flex-direction: column; }
    .navpill-sidebar { margin-bottom: 20px; }
    .courses-grid { grid-template-columns: 1fr; }
    .traditions-grid, .prana-names-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .chakra-symbol { font-size: 3.5rem; }
    .quick-links-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- Utility ---- */
.btn-outline-primary {
    border: 2px solid var(--primary); color: var(--primary);
    padding: 10px 24px; border-radius: 50px; font-weight: 700;
    font-size: 0.9rem; transition: var(--transition);
}
.btn-outline-primary:hover { background: var(--primary); color: white; }
.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.7); color: rgba(255,255,255,0.9);
    padding: 12px 28px; border-radius: 50px; font-weight: 700;
    font-size: 0.9rem; transition: var(--transition);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.15); }

/* Animate on scroll */
.fade-in-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   FLOATING WHATSAPP BUTTON + MODAL
   ============================================================ */

/* ---- Floating Button ---- */
.wa-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37,211,102,0.5);
    z-index: 1050;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.wa-float-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 10px 36px rgba(37,211,102,0.65);
}
.wa-float-icon {
    font-size: 2rem;
    color: white;
    line-height: 1;
}
/* Pulse ring */
.wa-float-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 3px solid rgba(37,211,102,0.5);
    animation: waPulse 2s ease-out infinite;
}
@keyframes waPulse {
    0%   { transform: scale(1);   opacity: 0.8; }
    70%  { transform: scale(1.35); opacity: 0; }
    100% { transform: scale(1.35); opacity: 0; }
}

/* Push back-to-top button so they don't overlap */
#backToTop {
    bottom: 100px;
}

/* ---- WhatsApp Modal ---- */
.wa-modal-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.wa-modal-header {
    background: linear-gradient(135deg, #075e54, #128c7e);
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}
.wa-modal-avatar {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: white;
}
.wa-modal-title {
    color: white;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 2px;
}
.wa-modal-subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 0.82rem;
    margin: 0 0 6px;
}
.wa-online-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.15);
    border-radius: 50px;
    padding: 2px 10px;
    font-size: 0.73rem;
    color: rgba(255,255,255,0.9);
}
.wa-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    animation: waDot 1.5s ease-in-out infinite;
    display: inline-block;
}
@keyframes waDot {
    0%,100% { opacity: 1; }
    50%      { opacity: 0.3; }
}
.wa-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: rgba(255,255,255,0.15);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.2s;
}
.wa-modal-close:hover { background: rgba(255,255,255,0.3); }

/* Modal body styling */
.wa-modal-content .modal-body { background: #f0f2f5; }
.wa-modal-content .form-label  { font-size: 0.83rem; font-weight: 700; color: var(--text-dark); }
.wa-modal-content .form-control,
.wa-modal-content .form-select {
    background: white;
    border-radius: 8px;
    border: 1.5px solid #e0e0e0;
    font-size: 0.9rem;
}
.wa-modal-content .form-control:focus,
.wa-modal-content .form-select:focus {
    border-color: #25D366;
    box-shadow: 0 0 0 3px rgba(37,211,102,0.15);
}

/* Action buttons */
.wa-modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}
.btn-wa-send {
    flex: 1;
    background: #25D366;
    color: white;
    border: none;
    padding: 11px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.88rem;
    transition: all 0.3s ease;
}
.btn-wa-send:hover {
    background: #1da856;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,211,102,0.4);
}
.btn-wa-email {
    flex: 1;
    background: var(--primary);
    color: white;
    border: none;
    padding: 11px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.88rem;
    transition: all 0.3s ease;
}
.btn-wa-email:hover {
    background: var(--primary-light);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74,50,112,0.4);
}

/* ============================================================
   JS-GENERATED QR CODE STYLES
   ============================================================ */

/* Sidebar QR */
.sidebar-qr-canvas {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background: white;
    border-radius: var(--radius-sm);
    border: 2px solid var(--border);
    margin-bottom: 6px;
    min-height: 180px;
}
.sidebar-qr-canvas img,
.sidebar-qr-canvas canvas {
    display: block !important;
    width: 160px !important;
    height: 160px !important;
    max-width: 100% !important;
}
.qr-caption-small {
    font-size: 0.72rem;
    color: var(--text-light);
    text-align: center;
    margin: 4px 0 8px;
}

/* Contact page — dual main QRs */
.qr-dual-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 8px;
}
.qr-dual-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.qr-generated-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.qr-generated-box img,
.qr-generated-box canvas {
    display: block !important;
    width: 160px !important;
    height: 160px !important;
    max-width: 100% !important;
    max-height: 100% !important;
}

/* Quick-link tiles with embedded mini QR */
.quick-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.quick-link-btn {
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px 6px 8px;
    background: white;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    overflow: hidden;
}
.quick-link-btn:hover {
    background: var(--primary);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.quick-link-btn:hover .qr-tile-canvas { opacity: 0.1; }
.quick-link-btn > i { font-size: 0.9rem; line-height: 1; }

.qr-tile-canvas {
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 60px;
}
.qr-tile-canvas img,
.qr-tile-canvas canvas {
    display: block !important;
    width: 128px !important;
    height: 128px !important;
    max-width: 100% !important;
    max-height: 100% !important;
}

/* ============================================================
   FIXES: Sidebar QR + Float Button + QR Sizes + Font
   ============================================================ */

/* FIX 1 — Sidebar: remove overflow:hidden that clips QR canvas */
.navpill-sidebar {
    overflow: visible !important;
}
.sidebar-qr {
    padding: 0 12px 16px;
}
body[data-page="contact"] .sidebar-qr {
    display: none;
}
/* FIX 2 — Floating WhatsApp button — highest z-index, fixed position */
.wa-float-btn {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    z-index: 99999 !important;
    width: 60px !important;
    height: 60px !important;
}
/* Move back-to-top above it */
#backToTop {
    bottom: 102px !important;
    right: 30px !important;
    z-index: 99998 !important;
}

/* FIX 4 — Slightly increase content font size for readability */
body {
    font-size: 16.5px !important;
}
.content-area,
.page-article p,
.page-article li {
    font-size: 1.02rem;
    line-height: 1.85;
}
.page-article h2 { font-size: 2rem; }
.page-article h3 { font-size: 1.75rem; }
.page-article h4 { font-size: 1.3rem; }
.intro-highlight .lead {
    font-size: 1.08rem !important;
    line-height: 1.8;
}
.step-body p,
.benefit-card p,
.course-card p,
.system-item p,
.pillar-item p {
    font-size: 0.97rem;
    line-height: 1.8;
}
.spiritual-quote p {
    font-size: 1.22rem !important;
}

/* Mobile QR responsive */
@media (max-width: 576px) {
    .qr-dual-row {
        flex-direction: row;
        gap: 8px;
    }
    .qr-generated-box img,
    .qr-generated-box canvas {
        width: 120px !important;
        height: 120px !important;
    }
    .quick-links-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .wa-float-btn {
        bottom: 20px !important;
        right: 20px !important;
        width: 54px !important;
        height: 54px !important;
    }
    #backToTop {
        bottom: 86px !important;
        right: 20px !important;
    }
}

/* ============================================================
   CRITICAL OVERRIDES — Float Button (works for <a> AND <button>)
   ============================================================ */
a.wa-float-btn,
button.wa-float-btn,
.wa-float-btn {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    left: auto !important;
    top: auto !important;
    width: 62px !important;
    height: 62px !important;
    border-radius: 50% !important;
    background: #25D366 !important;
    border: none !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 6px 24px rgba(37,211,102,0.55) !important;
    z-index: 999999 !important;
    text-decoration: none !important;
    padding: 0 !important;
    margin: 0 !important;
    transform: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
a.wa-float-btn:hover,
button.wa-float-btn:hover,
.wa-float-btn:hover {
    transform: scale(1.12) !important;
    box-shadow: 0 10px 36px rgba(37,211,102,0.7) !important;
    background: #20c05a !important;
}
a.wa-float-btn i,
button.wa-float-btn i,
.wa-float-btn i,
.wa-float-btn .fa-whatsapp,
.wa-float-btn .wa-float-icon {
    font-size: 2rem !important;
    color: white !important;
    line-height: 1 !important;
    display: block !important;
}
.wa-float-pulse {
    position: absolute !important;
    inset: -5px !important;
    border-radius: 50% !important;
    border: 3px solid rgba(37,211,102,0.5) !important;
    animation: waPulse 2s ease-out infinite !important;
    pointer-events: none !important;
}
button#backToTop,
#backToTop {
    position: fixed !important;
    bottom: 104px !important;
    right: 30px !important;
    left: auto !important;
    z-index: 999998 !important;
}
@media (max-width: 576px) {
    a.wa-float-btn,
    button.wa-float-btn,
    .wa-float-btn {
        bottom: 20px !important;
        right: 20px !important;
        width: 54px !important;
        height: 54px !important;
    }
    button#backToTop,
    #backToTop {
        bottom: 86px !important;
        right: 20px !important;
    }
}

/* Fix for duplicate QR codes: hide any additional canvas/img elements in QR containers */
.sidebar-qr-canvas > *:nth-child(n+2),
.qr-generated-box > *:nth-child(n+2),
.qr-tile-canvas > *:nth-child(n+2) {
    display: none !important;
}