:root {
    --primary-orange: #f48c22;
    --primary-red: #e32626;
    --primary-green: #378225;
    --bg-light: #ffffff;
    --bg-card: #f8f9fa;
    --text-main: #222222;
    --text-muted: #555555;
    --border-color: #e5e7eb;
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --whatsapp-green: #25D366;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { overflow-x: clip; scroll-behavior: smooth; }
body {
    font-family: var(--font-primary); 
    background-color: #fdfcf9;
    background-image: 
        radial-gradient(at 0% 0%, #fff0dc 0px, transparent 50%),
        radial-gradient(at 100% 0%, #e6f6f0 0px, transparent 50%),
        radial-gradient(at 100% 100%, #fff7eb 0px, transparent 50%),
        radial-gradient(at 0% 100%, #ffe9d6 0px, transparent 50%);
    background-attachment: fixed;
    color: var(--text-main); line-height: 1.6; overflow-x: clip;
    display: flex; flex-direction: column; min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; margin-bottom: 1rem; color: #111; }
.hindi-text { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 1.5rem; }

/* Global Navigation & Announcement */
.site-header {
    position: sticky; top: 0; z-index: 1000;
}
.announcement-bar {
    background-color: var(--primary-green); color: white; padding: 0.5rem 0;
    overflow: hidden; white-space: nowrap; position: relative; z-index: 1001;
    font-size: 0.95rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
}
.announcement-text {
    display: inline-block;
    animation: scroll-left 50s linear infinite;
}
@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.announcement-bar a { color: white; text-decoration: underline; font-weight: 700; margin-left: 0.2rem; }

.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.8rem 3rem; background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04); backdrop-filter: blur(10px);
}
.nav-brand { display: flex; align-items: center; text-decoration: none; }
.nav-logo { height: 60px; width: auto; object-fit: contain; margin-right: 0.8rem; }
.nav-brand .logo-text { font-size: 1rem; font-weight: 900; color: #222; text-transform: uppercase; line-height: 1; display: none; }
.footer-logo { height: 110px; width: auto; object-fit: contain; margin-bottom: 1rem; display: block; }

.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a { 
    text-decoration: none; color: var(--text-main); font-weight: 600; font-size: 1rem; 
    transition: color 0.3s; position: relative; padding: 0.5rem 0;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 3px;
    background-color: var(--primary-orange); transition: width 0.3s ease; border-radius: 3px;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary-orange); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 1.5rem; }
.nav-phone {
    font-weight: 700; color: var(--text-main); text-decoration: none; font-size: 1.05rem;
    display: flex; align-items: center; gap: 0.4rem; transition: color 0.3s;
}
.nav-phone svg { color: var(--primary-orange); }
.nav-phone:hover { color: var(--primary-orange); }

.nav-cta { 
    background-color: var(--primary-green); color: white !important; 
    padding: 0.8rem 1.8rem; border-radius: 50px; font-weight: bold; text-decoration: none;
    box-shadow: 0 4px 15px rgba(55, 130, 37, 0.2); transition: all 0.3s ease;
}
.nav-cta:hover { 
    background-color: #2c6e1c; color: white !important; 
    transform: translateY(-2px); box-shadow: 0 6px 20px rgba(55, 130, 37, 0.3);
}

/* WhatsApp Sticky Button */
.whatsapp-float {
    position: fixed; width: 60px; height: 60px; bottom: 40px; right: 40px;
    background-color: var(--whatsapp-green); color: #FFF; border-radius: 50px;
    text-align: center; font-size: 30px; box-shadow: 2px 2px 10px rgba(0,0,0,0.2); z-index: 100;
    display: flex; justify-content: center; align-items: center; text-decoration: none;
    transition: transform 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); color: white; }

/* Sticky Social Sidebar (Left) */
.social-sidebar {
    position: fixed; left: 0; top: 50%; transform: translateY(-50%);
    display: flex; flex-direction: column; gap: 0; z-index: 1000;
    pointer-events: auto;
}
.social-sidebar a {
    display: flex; justify-content: center; align-items: center;
    width: 45px; height: 45px; background: white; color: var(--primary-green);
    box-shadow: 2px 2px 10px rgba(0,0,0,0.1); transition: all 0.3s ease;
    border-right: 2px solid transparent; text-decoration: none;
}
.social-sidebar a:hover {
    background: var(--primary-orange); color: white; width: 55px; border-right-color: var(--primary-orange);
}
.social-sidebar a:first-child { border-radius: 0 8px 0 0; }
.social-sidebar a:last-child { border-radius: 0 0 8px 0; }

/* Media query for .social-sidebar removed to show on mobile */

/* Buttons */
.btn-primary {
    display: inline-block; background-color: var(--primary-orange); color: white;
    padding: 1rem 2rem; text-decoration: none; font-size: 1.2rem; font-weight: bold;
    border-radius: 5px; margin-top: 1rem; transition: background 0.3s; cursor: pointer; border: none;
}
.btn-primary:hover { background-color: #e07b1a; }

/* Hero Section */
.hero {
    min-height: calc(100vh - 110px); display: flex; flex-direction: column; justify-content: center;
    align-items: flex-start; text-align: left; padding: 2rem 5%;
    position: relative; color: white; overflow: hidden; background-color: #002d0f;
}
.hero-video {
    position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%;
    width: auto; height: auto; transform: translateX(-50%) translateY(-50%);
    object-fit: cover; z-index: 0;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(0, 15, 5, 0.98) 0%, rgba(0, 15, 5, 0.95) 45%, rgba(0, 15, 5, 0) 80%);
    z-index: 1;
}
.hero-content { 
    position: relative; z-index: 2; max-width: 800px; width: 100%;
    padding: 2rem 0; margin-top: -6rem;
}
.hero-badge {
    display: inline-block; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff; padding: 0.5rem 1.5rem; border-radius: 50px; font-weight: 600; font-size: 0.9rem;
    letter-spacing: 2px; text-transform: uppercase; margin-bottom: 2rem;
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hero .hero-title, .hero .hero-subtitle, .hero .hero-desc, .hero .hindi-text { color: white; }
.hero-title { font-size: 2.6rem; margin-bottom: 1rem; line-height: 1.2; font-weight: 900; letter-spacing: -0.5px; text-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.hero-title .highlight { 
    color: transparent; 
    background-image: linear-gradient(90deg, #ff8c00, #ffb347);
    -webkit-background-clip: text;
    background-clip: text;
    position: relative; display: inline-block; 
}
.hero-title .highlight::after { display: none; }
.hero-desc { font-size: 1.3rem; font-weight: 400; margin-bottom: 3rem; color: rgba(255, 255, 255, 0.95); line-height: 1.6; max-width: 800px; margin-left: 0; margin-right: 0; text-shadow: 0 10px 20px rgba(0,0,0,0.5); }

.hero-cta-group { display: flex; gap: 1rem; justify-content: flex-start; align-items: center; flex-wrap: wrap; margin-top: 1rem; }
.btn-primary.btn-glow {
    background: var(--primary-green); box-shadow: 0 0 25px rgba(37, 211, 102, 0.4);
    border-radius: 50px; padding: 0.8rem 1.8rem; font-size: 1rem; margin-top: 0;
}
.btn-primary.btn-glow:hover { box-shadow: 0 0 40px rgba(37, 211, 102, 0.8); transform: translateY(-4px); }
.btn-outline {
    display: inline-block; background-color: transparent; color: white;
    padding: 0.8rem 1.8rem; text-decoration: none; font-size: 1rem; font-weight: bold;
    border-radius: 50px; transition: all 0.3s; cursor: pointer; border: 2px solid white;
}
.btn-outline:hover { background-color: white; color: var(--primary-green); transform: translateY(-4px); box-shadow: 0 10px 25px rgba(255,255,255,0.2); }

/* Shape Divider */
.custom-shape-divider-bottom {
    position: absolute; bottom: 0; left: 0; width: 100%; overflow: hidden;
    line-height: 0; z-index: 2; transform: translateY(2px);
}
.custom-shape-divider-bottom svg {
    position: relative; display: block; width: calc(100% + 1.3px); height: 90px;
}
.custom-shape-divider-bottom .shape-fill { fill: #ffffff; }

@media (max-width: 768px) {
    .hero-content { padding: 2rem 1.5rem; margin-top: 0; }
    .hero-overlay { background: rgba(0, 30, 10, 0.85); }
    .hero-title { font-size: 2.2rem; }
    .hero-desc { font-size: 1.1rem; }
    .hero-cta-group { flex-direction: column; gap: 1rem; width: 100%; }
    .btn-primary.btn-glow, .btn-outline { width: 100%; box-sizing: border-box; text-align: center; }
    .trust-badges { margin-top: 1rem !important; gap: 1.5rem; }
}

/* General Sections */
.section-pad { padding: 4rem 2rem; max-width: 1450px; margin: 0 auto; width: 100%; box-sizing: border-box; }
@media (max-width: 768px) { .section-pad { padding: 3rem 1rem; } }

/* Grid Layouts */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
@media (max-width: 768px) { .grid-2 { grid-template-columns: 1fr; gap: 2rem; } }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; align-items: stretch; }
@media (max-width: 992px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .grid-3 { grid-template-columns: 1fr; } }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; align-items: stretch; }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .grid-4 { grid-template-columns: 1fr; } }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.service-card { background: white; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.05); border: 1px solid var(--border-color); }
.service-img { width: 100%; height: 200px; object-fit: cover; }
.service-content { padding: 1.5rem; }
.service-content h3 { color: var(--primary-green); margin-bottom: 0.5rem; }

/* Blog UI Layout for Knowledge Centre */
.filter-bar { display: flex; gap: 1rem; justify-content: center; margin-bottom: 3rem; flex-wrap: wrap; }
.filter-btn {
    padding: 0.5rem 1.5rem; border: 1px solid var(--border-color); background: white;
    border-radius: 50px; cursor: pointer; font-weight: 600; color: var(--text-muted);
    transition: all 0.3s ease;
}
.filter-btn.active, .filter-btn:hover { background: var(--primary-orange); color: white; border-color: var(--primary-orange); }

.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2.5rem; }

.blog-card {
    background: white; border-radius: 16px; overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03); border: 1px solid var(--border-color);
    transition: transform 0.4s ease, box-shadow 0.4s ease; display: flex; flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.blog-img-wrapper { height: 220px; overflow: hidden; position: relative; }
.blog-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.blog-card:hover .blog-img { transform: scale(1.05); }

.blog-content { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.blog-meta { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; }
.tag-badge { background: #f0fdf4; color: var(--primary-green); padding: 0.2rem 0.6rem; border-radius: 4px; }
.read-time { color: #888; }
.blog-title { font-size: 1.3rem; line-height: 1.4; margin-bottom: 0.5rem; color: #111; }
.blog-excerpt { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.5rem; flex-grow: 1; }
.blog-link { color: var(--primary-orange); font-weight: 700; text-decoration: none; display: flex; align-items: center; gap: 0.5rem; cursor: pointer; }
.blog-link:hover { color: #e07b1a; }

/* Modal Styling */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); z-index: 2000; display: flex;
    justify-content: center; align-items: center; padding: 2rem;
    opacity: 0; visibility: hidden; transition: all 0.3s ease; backdrop-filter: blur(4px);
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-content-box {
    background: white; width: 100%; max-width: 800px; max-height: 90vh;
    border-radius: 16px; overflow-y: auto; padding: 3rem; position: relative;
    transform: translateY(30px); transition: transform 0.4s ease; box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.modal-overlay.active .modal-content-box { transform: translateY(0); }

.modal-close {
    position: absolute; top: 1.5rem; right: 1.5rem; background: #f1f3f5;
    border: none; width: 40px; height: 40px; border-radius: 50%;
    font-size: 1.5rem; cursor: pointer; display: flex; justify-content: center; align-items: center;
    transition: background 0.3s;
}
.modal-close:hover { background: #e5e7eb; color: var(--primary-red); }

/* Accordion (Kept for Services Page segmentation) */
.accordion { margin-bottom: 1rem; border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; }
.accordion-header {
    background-color: var(--bg-card); padding: 1.5rem; cursor: pointer; display: flex;
    justify-content: space-between; align-items: center; font-weight: 700; font-size: 1.2rem; color: var(--text-main);
    transition: background 0.3s;
}
.accordion-header:hover { background-color: #f1f3f5; }
.accordion-header::after { content: '+'; font-size: 1.5rem; color: var(--primary-orange); }
.accordion.active .accordion-header::after { content: '-'; }
.accordion-content { padding: 0 1.5rem; max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out, padding 0.3s ease; background: white; }
.accordion.active .accordion-content { padding: 1.5rem; max-height: 2000px; }

/* Scrollable Cards (Fun Facts) */
.scroll-container { display: flex; overflow-x: auto; gap: 1.5rem; padding: 2rem 1rem; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -1rem; }
.scroll-container::-webkit-scrollbar { display: none; } 
.scroll-card {
    min-width: 320px; background: white; padding: 2rem; border-radius: 12px;
    scroll-snap-align: center; border-top: 4px solid var(--primary-orange); box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.scroll-card:hover { transform: translateY(-5px); }
.scroll-card .fact-num { font-size: 3rem; font-weight: 900; color: rgba(244, 140, 34, 0.2); line-height: 1; margin-bottom: 1rem; }

/* Myths vs Reality */
.myth-card { background: #fff5f5; border-left: 4px solid var(--primary-red); padding: 1.5rem; margin-bottom: 1rem; border-radius: 0 8px 8px 0; }
.reality-card { background: #f0fdf4; border-left: 4px solid var(--primary-green); padding: 1.5rem; margin-bottom: 2.5rem; border-radius: 0 8px 8px 0; }

/* Trust Badges */
.trust-badges { 
    display: flex; justify-content: space-around; flex-wrap: wrap; gap: 1.5rem; 
    padding: 0 1rem; background: transparent; max-width: 1100px; margin: -70px auto 3rem auto; 
    position: relative; z-index: 10;
}
.badge { 
    text-align: center; background: white; padding: 1.5rem 1rem; border-radius: 16px; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.08); border: 1px solid rgba(0,0,0,0.05);
    flex: 1; min-width: 160px; transition: transform 0.3s, box-shadow 0.3s;
}
.badge:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,0.12); border-color: var(--primary-green); }
.badge-number { font-family: var(--font-heading); font-size: 2.8rem; font-weight: 900; color: var(--primary-orange); line-height: 1; margin-bottom: 0.4rem; }
.badge-text { font-size: 0.9rem; color: #444; text-transform: uppercase; font-weight: 700; letter-spacing: 0.5px; }

@media (max-width: 1200px) {
    .trust-badges { gap: 1rem; padding: 0 1rem; margin-top: -60px; }
    .badge { padding: 1.2rem 0.8rem; min-width: 140px; }
    .badge-number { font-size: 2.2rem; }
    .badge-text { font-size: 0.8rem; }
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 0 2%;
}
@media (max-width: 1100px) { .features-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
@media (max-width: 650px) { .features-grid { grid-template-columns: 1fr; gap: 1.5rem; } }

.feature-card {
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    text-align: left;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px;
    background: transparent; transition: background 0.4s ease; opacity: 0.8;
}
.feature-card:nth-child(1)::before { background: var(--primary-green); }
.feature-card:nth-child(2)::before { background: var(--primary-orange); }
.feature-card:nth-child(3)::before { background: var(--primary-red); }
.feature-card:nth-child(4)::before { background: #1976D2; }

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.feature-icon {
    width: 65px; height: 65px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem; transition: transform 0.4s ease;
}
.feature-card:hover .feature-icon { transform: scale(1.1) rotate(-5deg); }
.feature-card h3 {
    font-size: 1.4rem; color: #1a1a1a; margin-bottom: 1rem; font-weight: 700;
}
.feature-card p {
    color: #555; line-height: 1.7; font-size: 1rem;
}

/* Premium Footer */
.footer-wrapper { position: relative; margin-top: clamp(6rem, 15vw, 10rem); }
.footer-cta-card {
    background: linear-gradient(135deg, var(--primary-green) 0%, #1e5c10 100%);
    color: white; border-radius: 16px; padding: 3rem 4rem;
    display: flex; justify-content: space-between; align-items: center;
    position: absolute; top: -140px; left: 0; right: 0; margin: 0 auto;
    width: 90%; max-width: 1200px; box-shadow: 0 20px 40px rgba(0,0,0,0.15); z-index: 10;
}
.cta-text h3 { color: white; font-size: 2rem; margin-bottom: 0.5rem; }
.cta-text p { font-size: 1.1rem; opacity: 0.9; }
.footer-cta-card .btn-cta {
    background: white; color: var(--primary-green); padding: 1rem 2.5rem;
    border-radius: 50px; font-weight: bold; text-decoration: none; font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}
.footer-cta-card .btn-cta:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

/* Floating Actions */
.floating-actions {
    position: fixed; bottom: 20px; right: 20px; z-index: 1000;
    display: flex; flex-direction: column; align-items: flex-end; gap: 15px;
    pointer-events: none;
}
.floating-buttons {
    display: flex; flex-direction: column; gap: 15px;
    pointer-events: auto;
}
.wa-float-btn, .bot-float-btn {
    width: 50px; height: 50px; border-radius: 50%; box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; border: none; transition: transform 0.3s, background-color 0.3s;
    pointer-events: auto;
}
.wa-float-btn svg, .bot-float-btn svg { width: 24px; height: 24px; }
.wa-float-btn { background-color: #25D366; color: white; }
.wa-float-btn:hover { background-color: #128C7E; transform: translateY(-3px); }
.bot-float-btn { background-color: var(--primary-orange); color: white; }
.bot-float-btn:hover { background-color: #d15600; transform: translateY(-3px); }

/* Chat Bot Box */
.chat-bot-box {
    background: white; width: 340px; border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2); margin-bottom: 10px;
    overflow: hidden; opacity: 0; transform: translateY(20px);
    visibility: hidden; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: bottom right; display: flex; flex-direction: column;
    pointer-events: auto;
}
.chat-bot-box.show { opacity: 1; transform: translateY(0); visibility: visible; }
.chat-bot-header {
    background: var(--primary-orange); color: white; padding: 15px;
    display: flex; justify-content: space-between; align-items: center;
}
.chat-bot-title { display: flex; align-items: center; gap: 10px; font-weight: bold; font-size: 1.1rem; }
.chat-bot-close {
    background: none; border: none; color: white; font-size: 1.8rem;
    cursor: pointer; opacity: 0.8; line-height: 1; margin-top: -5px;
}
.chat-bot-close:hover { opacity: 1; }
.chat-bot-body {
    background: #f4f5f7; padding: 20px; min-height: 150px;
    display: flex; flex-direction: column; gap: 15px; max-height: 350px; overflow-y: auto;
}
.chat-bot-message {
    padding: 12px 15px; border-radius: 15px; font-size: 0.95rem; line-height: 1.4; max-width: 85%;
}
.chat-bot-message.bot { 
    background: white; color: #333; align-self: flex-start; 
    border-bottom-left-radius: 2px; box-shadow: 0 1px 2px rgba(0,0,0,0.05); 
}
.chat-bot-message.user { 
    background: var(--primary-green); color: white; align-self: flex-end; 
    border-bottom-right-radius: 2px; 
}
.chat-bot-footer { padding: 15px; background: white; border-top: 1px solid #eee; }
.chat-bot-form { display: flex; gap: 10px; }
.chat-bot-form input {
    flex: 1; padding: 10px 15px; border: 1px solid var(--border-color);
    border-radius: 20px; font-family: inherit; font-size: 0.95rem; outline: none;
}
.chat-bot-form input:focus { border-color: var(--primary-orange); }
.chat-bot-form button {
    background: var(--primary-orange); color: white; border: none; width: 40px; height: 40px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: background 0.3s;
}
.chat-bot-form button:hover { background: #d15600; }

/* Google Reviews Slider */
.reviews-section {
    background: linear-gradient(135deg, #f4f8f5 0%, #e8f5e9 100%);
    position: relative; overflow: hidden;
}
.reviews-slider-container {
    max-width: 1450px; margin: 0 auto; overflow: hidden; position: relative; padding: 0 2rem;
}
.reviews-track {
    display: flex; gap: 30px; overflow-x: auto; scroll-snap-type: x mandatory;
    scroll-behavior: smooth; scrollbar-width: none; padding: 20px 0 40px 0;
}
.reviews-track::-webkit-scrollbar { display: none; }

.review-card {
    flex: 0 0 calc(33.333% - 20px); scroll-snap-align: start;
    box-sizing: border-box; background: white; padding: 2.5rem;
    border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.02); position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.review-card:hover {
    transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.review-card::after {
    content: '"'; position: absolute; top: 15px; right: 25px;
    font-size: 6rem; font-family: serif; color: rgba(37, 211, 102, 0.1); line-height: 1;
}

@media (max-width: 1024px) {
    .review-card { flex: 0 0 calc(50% - 15px); }
}
@media (max-width: 768px) {
    .reviews-slider-container { padding: 0 1rem; }
    .review-card { flex: 0 0 100%; scroll-snap-align: center; }
    .reviews-track { padding: 20px 0 40px 0; }
}
.review-header {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;
}
.reviewer-info {
    display: flex; align-items: center; gap: 15px;
}
.reviewer-avatar {
    width: 60px; height: 60px; background: linear-gradient(135deg, var(--primary-green), #128C7E); color: white;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; font-weight: bold; box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.stars { font-size: 1.3rem; margin-top: 0.2rem; letter-spacing: 2px; }
.review-text { font-size: 1.05rem; color: #555; line-height: 1.7; position: relative; z-index: 2; }
.slider-controls {
    display: flex; justify-content: center; gap: 1.5rem; margin-top: 1rem;
}
.slider-btn {
    background: white; border: none; width: 50px; height: 50px;
    border-radius: 50%; cursor: pointer; font-size: 1.5rem; color: var(--primary-green);
    transition: all 0.3s ease; box-shadow: 0 5px 20px rgba(0,0,0,0.15); 
    display: flex; align-items: center; justify-content: center;
}
.slider-btn:hover {
    background: var(--primary-green); color: white; transform: translateY(-5px) scale(1.1); box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

/* Animated Gradient Border Card Style */
.animated-border-card {
    position: relative;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.05);
    z-index: 1;
}

.animated-border-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px; /* Border thickness */
    background: linear-gradient(45deg, var(--primary-green), var(--primary-orange), var(--primary-green), var(--primary-orange));
    background-size: 300% 300%;
    animation: gradientBorderAnim 4s ease infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
}
@keyframes gradientBorderAnim {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Alternative Animated Gradient Border (Sweeping Diagonal) */
.animated-border-card-alt {
    position: relative;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.05);
    z-index: 1;
}
.animated-border-card-alt::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, transparent 20%, var(--primary-green) 50%, transparent 80%, var(--primary-orange) 100%);
    background-size: 300% 300%;
    animation: gradientBorderSweep 4s linear infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
}
@keyframes gradientBorderSweep {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

/* Service Pages UI */
.benefit-card {
    display: flex; gap: 1rem; align-items: flex-start;
    padding: 2rem;
    margin-bottom: 1.5rem; transition: transform 0.3s;
}
.benefit-card:hover { transform: translateX(10px); }
.benefit-icon {
    font-size: 2rem; line-height: 1; background: rgba(255,255,255,0.5); padding: 1rem; border-radius: 50%;
}

.process-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
}
.process-step {
    padding: 3rem 2rem;
    text-align: center;
    position: relative; transition: all 0.3s ease;
}
.process-step:hover {
    transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}
.step-num {
    font-size: 4rem; font-weight: 900; color: rgba(37, 211, 102, 0.1);
    position: absolute; top: -10px; right: 20px; line-height: 1;
}
.process-step h3 {
    font-size: 1.3rem; color: #1a1a1a; margin-bottom: 1rem; position: relative; z-index: 2;
}
.process-step p {
    color: #666; font-size: 1rem; line-height: 1.6; position: relative; z-index: 2; margin: 0;
}
@media (max-width: 992px) {
    .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .process-grid { grid-template-columns: 1fr; }
}

footer {
    background-color: transparent; padding: 8rem 2rem 4rem 2rem;
    border-top: 1px solid var(--border-color); position: relative; z-index: 1;
}
.footer-content {
    max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border-color);
}
.footer-col h4 { font-size: 1.2rem; color: #111; margin-bottom: 1.5rem; }
.footer-col p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.5rem; line-height: 1.6; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.8rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.95rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--primary-orange); }
.social-icons { display: flex; gap: 1rem; }
.social-icon {
    width: 35px; height: 35px; background: #f1f3f5; border-radius: 50%;
    display: flex; justify-content: center; align-items: center; color: var(--text-main);
    text-decoration: none; transition: background 0.3s, color 0.3s;
}
.social-icon:hover { background: var(--primary-orange); color: white; }
.contact-info { display: flex; align-items: center; gap: 0.8rem; color: var(--text-muted); margin-bottom: 1rem; font-size: 0.95rem; }

.footer-bottom {
    max-width: 1200px; margin: 2rem auto 0; display: flex; justify-content: space-between;
    align-items: center; color: var(--text-muted); font-size: 0.85rem;
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
.footer-bottom-links a:hover { color: var(--primary-orange); }

/* Newsletter Form */
.newsletter-form { display: flex; flex-direction: column; gap: 0.5rem; }
.newsletter-form input { padding: 0.8rem 1rem; border: 1px solid var(--border-color); border-radius: 5px; font-family: inherit; font-size: 0.95rem; outline: none; }
.newsletter-form input:focus { border-color: var(--primary-green); }
.newsletter-form button { background: var(--primary-green); color: white; border: none; padding: 0.8rem; border-radius: 5px; font-weight: bold; cursor: pointer; transition: background 0.3s; }
.newsletter-form button:hover { background: #2c6e1c; }

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-content { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-cta-card { flex-direction: column; text-align: center; gap: 2rem; padding: 2rem; top: -160px; }
}
@media (max-width: 768px) {
    .footer-content { grid-template-columns: 1fr; padding-left: 25px; padding-right: 15px; } /* Avoid social sidebar */
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 1rem; }
    footer { padding-top: 18rem; } /* Extra space for tall stacked CTA card */
}

/* Responsive Typography Overrides for Mobile */
.service-hero h1 { font-size: 4rem !important; }
.service-hero p { font-size: 1.3rem !important; }
.trust-badges h3 { font-size: 3.5rem !important; }
@media (max-width: 768px) {
    .service-hero h1 { font-size: 2.5rem !important; }
    .service-hero p { font-size: 1.1rem !important; line-height: 1.4 !important; }
    .trust-badges h3 { font-size: 2.5rem !important; }
    .footer-wrapper { margin-top: 14rem; } /* more space for stacked cta */
}

/* Responsive Navigation */
.mobile-menu-btn {
    display: none; background: none; border: none; font-size: 2rem;
    color: var(--text-main); cursor: pointer; line-height: 1; padding: 0 0.5rem;
}
@media (max-width: 1024px) { 
    .nav-links { 
        display: none; position: absolute; top: 100%; left: 0; width: 100%;
        background: white; flex-direction: column; padding: 1.5rem 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1); border-top: 1px solid var(--border-color);
        text-align: center; gap: 1rem;
    }
    .nav-links.active { display: flex; }
    .mobile-menu-btn { display: block; }
    .nav-cta { display: none; }
}
@media (max-width: 480px) {
    .navbar { padding: 0.8rem 1rem; }
    .phone-text { display: inline; font-size: 0.95rem; font-weight: bold; }
    .nav-actions { gap: 0.8rem; }
    .logo-text { font-size: 0.95rem; }
    .nav-logo { height: 48px; }
}


/* Knowledge Centre Layout */
.knowledge-layout { display: flex; gap: 3rem; max-width: 1400px; margin: 0 auto; }
.knowledge-sidebar { width: 300px; flex-shrink: 0; position: sticky; top: 120px; align-self: flex-start; max-height: calc(100vh - 140px); overflow-y: auto; background: #f8fff9; border: 1px solid var(--border-color); border-radius: 10px; padding: 1.5rem; scrollbar-width: thin; }
.knowledge-sidebar h3 { font-size: 1.2rem; margin-bottom: 1rem; color: var(--primary-green); border-bottom: 2px solid var(--primary-orange); padding-bottom: 0.5rem; }
.knowledge-sidebar ul { list-style: none; padding: 0; margin: 0; }
.knowledge-sidebar ul li { margin-bottom: 0.8rem; }
.knowledge-sidebar ul li a { text-decoration: none; color: var(--text-main); font-weight: 500; font-size: 0.95rem; transition: color 0.3s; display: block; line-height: 1.4; }
.knowledge-sidebar ul li a:hover { color: var(--primary-orange); }

.knowledge-content { flex-grow: 1; max-width: 900px; background: white; padding: 3rem; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.knowledge-chapter { margin-bottom: 4rem; padding-bottom: 3rem; border-bottom: 1px solid #eee; }
.knowledge-chapter:last-child { border-bottom: none; }
.knowledge-chapter h2 { font-size: 2.2rem; color: var(--primary-green); margin-bottom: 0.5rem; line-height: 1.2; }
.knowledge-chapter h3 { font-size: 1.5rem; color: var(--primary-orange); margin-bottom: 1.5rem; font-family: var(--font-hindi); font-weight: 400; }
.knowledge-chapter p { margin-bottom: 1.5rem; font-size: 1.1rem; line-height: 1.8; }
.knowledge-chapter ul { margin-bottom: 1.5rem; padding-left: 2rem; font-size: 1.1rem; line-height: 1.8; }
.knowledge-chapter .hindi-text { margin-bottom: 1.5rem; font-size: 1.15rem; line-height: 1.8; }
.knowledge-chapter .summary-box { background: #fdf5ec; border-left: 4px solid var(--primary-orange); padding: 1.5rem; margin: 2rem 0; border-radius: 0 8px 8px 0; }

html { scroll-behavior: smooth; }

@media (max-width: 1024px) {
    .knowledge-layout { flex-direction: column; }
    .knowledge-sidebar { width: 100%; position: relative; top: 0; max-height: none; margin-bottom: 2rem; }
    .knowledge-content { padding: 1.5rem; }
}

/* Fix Chapter 19 Myths Spacing */
#ch-19 > div > h4 { margin-top: 0 !important; margin-bottom: 0.3rem !important; }
#ch-19 > div > p { margin-bottom: 0.3rem !important; line-height: 1.5 !important; }
#ch-19 > div > .hindi-text { margin-bottom: 0 !important; line-height: 1.5 !important; }
#ch-19 > div { padding: 1rem 1.2rem !important; }


/* Dropdown CSS */
.nav-links li { position: relative; }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: white; min-width: 220px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-radius: 8px; padding: 0.5rem 0; z-index: 1000; flex-direction: column; gap: 0; list-style: none; }
.dropdown-menu li { width: 100%; }
.dropdown-menu a { padding: 0.8rem 1.5rem !important; display: block; width: 100%; color: #333 !important; font-weight: 500 !important; font-size: 0.95rem !important; border-bottom: 1px solid #f0f0f0; }
.dropdown-menu li:last-child a { border-bottom: none; }
.dropdown-menu a:hover { background: #f9f9f9; color: var(--primary-green) !important; padding-left: 1.8rem !important; }
.has-dropdown:hover .dropdown-menu { display: flex; }
@media (max-width: 992px) { .dropdown-menu { position: static; box-shadow: none; padding: 0; padding-left: 1rem; } }

.dropdown-menu a::after { display: none; }

@media (max-width: 768px) { .social-sidebar { display: none !important; } }

@media (max-width: 992px) { .has-dropdown.mobile-dropdown-open .dropdown-menu { display: flex; } }

/* Mobile Dropdown Menu Enhancements */
@media (max-width: 1024px) {
    .dropdown-menu { 
        background: #f4f4f4 !important; 
        border-radius: 12px !important; 
        margin: 0.5rem 2rem !important; 
        padding: 0.5rem 0 !important;
        box-shadow: inset 0 2px 5px rgba(0,0,0,0.03) !important;
    }
    .dropdown-menu a { 
        font-size: 0.95rem !important; 
        padding: 0.6rem 1rem !important; 
        color: #222 !important;
        font-weight: 500 !important;
        border-bottom: 1px solid #ddd !important;
    }
    .dropdown-menu li:last-child a {
        border-bottom: none !important;
    }
    .dropdown-menu a:hover {
        background: rgba(0, 168, 89, 0.05) !important;
        color: var(--primary-green) !important;
    }
}

/* FAQ Mobile Spacing Fixes */
@media (max-width: 768px) {
    .accordion { margin-bottom: 0.8rem !important; }
    .grid-2 { gap: 0.8rem !important; }
    .accordion-header { padding: 1rem 1.2rem !important; font-size: 1.05rem !important; }
}

/* Hide mobile menu extras on desktop */
.mobile-menu-extras { display: none !important; }
@media (max-width: 1024px) { .mobile-menu-extras { display: flex !important; } }
