/*
Theme Name: EarthGlow Solar Theme
Theme URI: https://earthglowsolar.com/
Author: Anand Digital
Author URI: https://ananddigital.shop/
Description: Fast, SEO-Optimized, High-Converting Custom WordPress Theme for EarthGlow Solar Private Limited.
Version: 1.0.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: earthglow-solar
*/

/* ==========================================================================
   1. Design Tokens & Core Variables (High-Contrast & Eye-Smooth Palette)
   ========================================================================== */
   :root {
    --bg-dark: #020b14;         /* Deep Solar Night Navy */
    --bg-surface: #081420;      /* Dark Ocean Slate */
    --bg-card: #0f2133;         /* Card Surface Solar Blue */
    --accent-gold: #f59e0b;     /* Solar Amber Gold */
    --accent-glow: #fbbf24;
    --eco-green: #10b981;       /* Clean Energy Green */
    --cyan-accent: #06b6d4;     /* Tech Solar Cyan */
    --text-main: #ffffff;       /* Pure Crisp White Text */
    --text-muted: #e2e8f0;      /* High-Contrast Crisp Slate Text for Eye Comfort */
    --text-subtle: #cbd5e1;     /* Smooth Visible Sub-labels */
    --border-color: rgba(255, 255, 255, 0.14);
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --container-max: 1240px;
}

/* ==========================================================================
   2. Reset & Core Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden !important;
    position: relative;
    scroll-behavior: smooth;
    font-family: var(--font-main);
    background: var(--bg-dark);
    color: var(--text-main);
}

body {
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.container {
    width: 90%;
    max-width: var(--container-max);
    margin: 0 auto;
    box-sizing: border-box;
}

.section-padding {
    padding: 60px 0;
}

.bg-surface {
    background-color: var(--bg-surface);
}

.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

/* ==========================================================================
   3. Buttons & Interactive Controls
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-gold);
    color: #000000;
    font-weight: 700;
}

.btn-primary:hover {
    background: var(--accent-glow);
    transform: translateY(-2px);
}

.btn-glow {
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
}

.btn-outline {
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.btn-accent {
    background: var(--eco-green);
    color: #ffffff;
}

.btn-full {
    width: 100%;
    text-align: center;
}

.btn-with-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: row !important;
    white-space: nowrap !important;
    gap: 8px !important;
    padding: 10px 18px !important;
    font-size: 0.88rem !important;
    line-height: 1 !important;
}

.btn-with-icon img,
.btn-with-icon i {
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
    font-size: 1.1rem !important;
    margin: 0 !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
}

.btn-with-icon span {
    display: inline-block !important;
    line-height: 1 !important;
    vertical-align: middle !important;
}

/* ==========================================================================
   4. Header & Navigation Area
   ========================================================================== */
.site-header {
    position: relative !important;
    width: 100% !important;
    max-width: 100%;
    z-index: 9999 !important;
    padding: 15px 0;
    background: rgba(2, 11, 20, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    box-sizing: border-box;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-nav ul {
    display: flex;
    gap: 28px;
    list-style: none;
}

.main-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--accent-gold);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--eco-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--eco-green);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-main);
    border-radius: 2px;
}

/* ==========================================================================
   5. Hero Section & Background Slider Engine (Images Visible & Clear)
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 85vh;
    padding: 60px 0 80px;
    display: flex;
    align-items: center;
    background-color: var(--bg-dark);
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-slider .slide.active {
    opacity: 1;
}

/* Optimized Overlay Gradient for Crystal Clear Image Visibility + Sharp Text */
/* Perfect Balance: Bright Image + Sharp Readable Text */
.hero-slider .slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(2, 11, 20, 0.82) 0%, rgba(2, 11, 20, 0.4) 50%, rgba(2, 11, 20, 0.6) 100%);
    z-index: 1;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.badge-pill-link {
    text-decoration: none;
    display: inline-block;
}

.badge-pill {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.5);
    color: var(--accent-gold);
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.88rem;
    margin-bottom: 20px;
    backdrop-filter: blur(8px);
}

.pill-gst {
    background: rgba(16, 185, 129, 0.25);
    border: 1px solid rgba(16, 185, 129, 0.6);
    color: var(--eco-green);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 800;
    margin-right: 6px;
    display: inline-block;
}

.hero-content h1 {
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-content h1 span {
    background: linear-gradient(90deg, var(--accent-gold), var(--eco-green));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 35px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-cta-group {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 30px;
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
}

.stat-card .stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-gold);
}

.stat-card p {
    font-size: 0.88rem;
    color: var(--text-subtle);
}

/* Glassmorphic ROI Calculator Card */
.glassmorphic {
    background: rgba(15, 33, 51, 0.88);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.widget-header h3 { font-size: 1.4rem; margin-bottom: 5px; }
.widget-header p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 25px; }
.slider-header { display: flex; justify-content: space-between; margin-bottom: 10px; }
.highlight-val { color: var(--accent-gold); font-size: 1.2rem; }
input[type=range] { width: 100%; accent-color: var(--accent-gold); margin-bottom: 25px; }
.calc-results { display: flex; gap: 15px; margin-bottom: 20px; }
.res-box { flex: 1; background: rgba(255, 255, 255, 0.03); padding: 15px; border-radius: 12px; border: 1px solid var(--border-color); }
.res-box.highlight { background: rgba(16, 185, 129, 0.08); border-color: rgba(16, 185, 129, 0.3); }
.res-label { display: block; font-size: 0.8rem; color: var(--text-subtle); font-weight: 600; }
.res-val { display: block; font-size: 1.4rem; font-weight: 800; color: #ffffff; }
.highlight .res-val { color: var(--eco-green); }

.subsidy-badge {
    font-size: 0.85rem;
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.25);
    padding: 10px;
    border-radius: 8px;
    color: var(--cyan-accent);
    margin-bottom: 20px;
    text-align: center;
}

/* ==========================================================================
   6. 3 EPC Pillars Section
   ========================================================================== */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.pillar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 35px 25px;
    border-radius: 20px;
    text-align: left;
    transition: all 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-gold);
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.15);
}

.pillar-card.highlight-pillar {
    background: rgba(15, 33, 51, 0.95);
    border-color: rgba(245, 158, 11, 0.4);
}

.pillar-icon {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.pillar-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.pillar-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.pillar-link {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
}

/* ==========================================================================
   7. Subsidy & Government Schemes Section
   ========================================================================== */
.subsidy-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 35px; 
    margin-top: 50px; 
}

.subsidy-card { 
    background: var(--bg-card); 
    padding: 35px; 
    border-radius: 20px; 
    border: 1px solid var(--border-color); 
    display: flex;
    flex-direction: column;
}

.subsidy-card.highlight-card { 
    background: rgba(245, 158, 11, 0.03); 
    border-color: rgba(245, 158, 11, 0.2); 
}

.subsidy-header p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 25px;
}

.slab-list { 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
    margin-top: 10px;
}

.slab-item { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 16px 20px; 
    background: rgba(255, 255, 255, 0.03); 
    border-radius: 12px; 
    border: 1px solid var(--border-color); 
}

.slab-info strong { display: block; font-size: 1rem; color: var(--text-main); }
.slab-info span { font-size: 0.85rem; color: var(--text-subtle); }
.slab-amount { font-weight: 800; color: var(--eco-green); font-size: 1.1rem; white-space: nowrap; }
.highlight-slab { background: rgba(16, 185, 129, 0.08); border-color: rgba(16, 185, 129, 0.3); }

.subsidy-card h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--text-main);
}

.checklist { 
    list-style: none; 
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.checklist li { 
    display: grid;
    grid-template-columns: 32px 140px 1fr;
    align-items: start;
    gap: 15px;
    color: var(--text-muted); 
    font-size: 0.92rem;
    line-height: 1.5;
}

.checklist li span { 
    background: var(--accent-gold); 
    color: #000000; 
    font-weight: 800; 
    width: 28px; 
    height: 28px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 0.85rem;
    margin-top: 2px;
}

.checklist li strong {
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 700;
}

.checklist li p {
    margin: 0;
    color: var(--text-muted);
}

/* ==========================================================================
   8. Solar Solutions, Segments & Process
   ========================================================================== */
.section-header h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 10px; }
.sub-title { color: var(--accent-gold); font-weight: 700; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; }

.segment-tabs { display: flex; justify-content: center; gap: 15px; margin: 40px 0; flex-wrap: wrap; }
.tab-btn { background: var(--bg-card); border: 1px solid var(--border-color); color: var(--text-muted); padding: 12px 24px; border-radius: 30px; font-weight: 700; cursor: pointer; transition: all 0.3s ease; }
.tab-btn.active, .tab-btn:hover { background: var(--accent-gold); color: #000000; border-color: var(--accent-gold); }

.tab-pane { display: none; opacity: 0; transition: opacity 0.4s ease-in-out; }
.tab-pane.active { display: block; opacity: 1; }
.tab-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: var(--bg-card); padding: 40px; border-radius: 20px; border: 1px solid var(--border-color); }
.tab-img img { width: 100%; border-radius: 15px; object-fit: cover; }
.feature-list { list-style: none; margin: 20px 0 30px; }
.feature-list li { margin-bottom: 10px; color: var(--text-muted); }

.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 25px; margin-top: 50px; }
.process-card { background: var(--bg-surface); padding: 30px; border-radius: 16px; border: 1px solid var(--border-color); position: relative; transition: transform 0.3s ease; }
.process-card:hover { transform: translateY(-8px); border-color: var(--accent-gold); }
.step-num { font-size: 2.5rem; font-weight: 800; color: rgba(255, 255, 255, 0.12); margin-bottom: 15px; }

/* ==========================================================================
   9. Environmental Impact Dashboard
   ========================================================================== */
.impact-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-surface) 100%);
    position: relative;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    align-items: stretch;
}

.impact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.impact-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-gold);
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.15);
}

.impact-card.highlight-card {
    background: rgba(15, 33, 51, 0.95);
    border-color: rgba(16, 185, 129, 0.3);
}

.impact-icon-wrapper {
    width: 65px;
    height: 65px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.impact-icon-svg {
    display: block;
    width: 30px;
    height: 30px;
}

.impact-val { font-size: 2.2rem; font-weight: 800; color: var(--accent-gold); line-height: 1.2; margin-bottom: 8px; letter-spacing: -0.5px; }
.highlight-card .impact-val { color: var(--eco-green); }
.impact-content h4 { font-size: 1.1rem; color: var(--text-main); margin-bottom: 10px; font-weight: 700; }
.impact-content p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; }

/* ==========================================================================
   10. Contact Page Layout & Map
   ========================================================================== */
.subsidy-grid.contact-grid-fix {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    align-items: stretch;
}

.contact-form-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.contact-form-card form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
}

.form-group-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.form-label {
    display: block;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.form-control {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid var(--border-color) !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    font-family: var(--font-main) !important;
    font-size: 0.92rem !important;
    outline: none !important;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--accent-gold) !important;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 100%;
}

.textarea-control {
    min-height: 100px;
    resize: vertical;
}

.contact-right-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    height: 100%;
}

.contact-map-card {
    padding: 20px;
}

.map-container-responsive {
    width: 100%;
    height: 310px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.map-container-responsive iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==========================================================================
   11. Interactive AI Chatbot Widget
   ========================================================================== */
.ai-widget-trigger {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000 !important;
}

.ai-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.8);
}

.ai-chat-window {
    display: none;
    position: fixed;
    bottom: 85px;
    right: 20px;
    width: 330px;
    height: 420px;
    max-height: calc(100vh - 120px);
    background: linear-gradient(180deg, #0d1e36 0%, #081220 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 16px;
    z-index: 10000 !important;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    overflow: hidden;
}

.ai-chat-window.open { 
    display: flex; 
}

.ai-header {
    padding: 12px 16px;
    background: #09172a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.ai-header-info { display: flex; align-items: center; gap: 8px; }
.online-indicator { width: 8px; height: 8px; background: #10b981; border-radius: 50%; box-shadow: 0 0 8px #10b981; }
.ai-header h4 { font-size: 0.88rem; color: #ffffff; font-weight: 700; }
.ai-close-btn { background: none; border: none; color: #9ca3af; font-size: 1.4rem; cursor: pointer; line-height: 1; }

.ai-body {
    flex: 1;
    padding: 12px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ai-msg {
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 0.82rem;
    max-width: 90%;
    line-height: 1.4;
}

.ai-msg.bot {
    background: rgba(255, 255, 255, 0.08);
    color: #f9fafb;
    align-self: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom-left-radius: 2px;
}

.ai-msg.user {
    background: #f59e0b;
    color: #000000;
    font-weight: 700;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.quick-questions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
}

.qs-chip {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
}

.qs-chip:hover {
    background: #10b981;
    color: #000000;
    border-color: #10b981;
}

.ai-footer {
    padding: 10px;
    display: flex;
    gap: 6px;
    background: #07101d;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.ai-footer input {
    flex: 1;
    background: #040912;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 8px 10px;
    color: #ffffff;
    border-radius: 6px;
    outline: none;
    font-size: 0.82rem;
}

.ai-footer button {
    background: #f59e0b;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.82rem;
    color: #000000;
    cursor: pointer;
}

/* ==========================================================================
   12. Footer Area & Social Icons
   ========================================================================== */
.site-footer { background: #01060b; border-top: 1px solid var(--border-color); padding-top: 80px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 60px; }
.footer-col h4 { color: #ffffff; margin-bottom: 20px; font-size: 1.1rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: var(--text-muted); text-decoration: none; transition: 0.3s; }
.footer-col a:hover { color: var(--accent-gold); }

.footer-social-links {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.footer-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social-links a:hover {
    background: var(--accent-gold);
    color: #000000;
    border-color: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

.footer-newsletter { margin-top: 18px; width: 100%; }
.phone-input-group { display: flex; align-items: center; background: #0d1826; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 10px; padding: 5px; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.phone-input-group:focus-within { border-color: var(--accent-gold); box-shadow: 0 0 15px rgba(245, 158, 11, 0.2); }
.country-code { padding: 0 12px; color: var(--text-muted); font-weight: 700; font-size: 0.9rem; border-right: 1px solid rgba(255, 255, 255, 0.1); }
.phone-input-group input { flex: 1; background: transparent; border: none; outline: none; padding: 10px 14px; color: #ffffff; font-size: 0.92rem; font-family: var(--font-main); width: 100%; }
.phone-input-group input::placeholder { color: #9ca3af; }
.phone-input-group button { background: var(--accent-gold); color: #000000; border: none; padding: 10px 20px; border-radius: 7px; font-weight: 800; font-size: 0.88rem; cursor: pointer; white-space: nowrap; transition: background 0.3s ease, transform 0.2s ease; }
.phone-input-group button:hover { background: var(--accent-glow); transform: translateY(-1px); }

.footer-bottom { border-top: 1px solid var(--border-color); padding: 25px 0; font-size: 0.85rem; color: var(--text-muted); }
.footer-bottom-flex { display: flex; justify-content: space-between; }
.footer-bottom-flex a { text-decoration: none; color: rgba(245, 158, 11, 0.75); transition: color 0.3s ease; }
.footer-bottom-flex a:hover { color: var(--accent-gold); }

/* On-Scroll Animations */
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* ==========================================================================
   13. Consolidated Responsive Media Queries
   ========================================================================== */
@media (max-width: 992px) {
    .pillars-grid, 
    .hero-grid, 
    .subsidy-grid, 
    .subsidy-grid.contact-grid-fix,
    .tab-grid, 
    .footer-top { 
        grid-template-columns: 1fr !important; 
    }

    .hero-content h1 { 
        font-size: 2.6rem; 
    }

    .header-actions {
        display: none !important;
    }

    .mobile-toggle {
        display: flex !important;
    }

    .main-nav {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
        height: auto !important;
        background: rgba(8, 20, 32, 0.98) !important;
        backdrop-filter: blur(16px);
        border-bottom: 2px solid var(--accent-gold);
        padding: 20px 0 !important;
        display: block !important;
        transform: translateY(-20px) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all 0.3s ease-in-out !important;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7);
        z-index: 9999 !important;
        box-sizing: border-box !important;
    }

    .main-nav.active {
        transform: translateY(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .main-nav ul {
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
    }

    .main-nav a {
        font-size: 1.05rem !important;
        font-weight: 700;
        color: #ffffff;
        padding: 8px 16px !important;
        display: block;
        width: 100%;
        text-align: center;
        border-radius: 6px;
    }

    .main-nav a:hover,
    .main-nav a.active {
        color: var(--accent-gold) !important;
        background: rgba(245, 158, 11, 0.1);
    }
}

@media (max-width: 768px) {
    .tab-img img,
    .impact-card img,
    .subsidy-card img,
    main img {
        width: 100% !important;
        height: auto !important;
        max-height: 240px !important;
        aspect-ratio: 16 / 9 !important;
        object-fit: cover !important;
        object-position: center !important;
        border-radius: 12px !important;
    }

    .hero-section {
        min-height: auto !important;
        padding-top: 40px !important;
        padding-bottom: 40px !important;
        background-color: var(--bg-dark) !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .hero-slider {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 600px !important;
        max-height: 600px !important;
        overflow: hidden !important;
    }

    .hero-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
        position: relative !important;
        z-index: 2 !important;
    }

    .hero-content {
        width: 100% !important;
    }

    .hero-widget-card,
    #calculator,
    .glassmorphic {
        width: 100% !important;
        margin-top: 15px !important;
        background: #0d1e33 !important;
        border: 1px solid var(--border-color) !important;
        padding: 24px 18px !important;
        border-radius: 16px !important;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7) !important;
        position: relative !important;
        z-index: 10 !important;
    }

    .calc-results {
        flex-direction: row !important;
        gap: 10px !important;
    }

    .res-box {
        padding: 12px 10px !important;
    }

    .res-val {
        font-size: 1.15rem !important;
    }

    .slab-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 6px !important;
        padding: 14px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .slab-amount {
        font-size: 1.05rem !important;
        white-space: normal !important;
        word-break: break-word !important;
        color: var(--eco-green) !important;
    }

    .checklist li {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .checklist li span {
        flex-shrink: 0 !important;
    }

    .checklist li p, 
    .checklist li strong {
        word-break: break-word !important;
    }

    .map-container-responsive {
        height: 200px !important;
    }

    .impact-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 600px) {
    .form-grid-2 {
        grid-template-columns: 1fr !important;
    }
}
/* Inner Page Hero Static Banner Fallback Fix */
.hero-section.inner-hero,
.inner-page-hero {
    background-size: cover !important;
    background-position: center !important;
    position: relative;
}

/* Ensure slide images stay visible if no JS slider is active */
.hero-slider .slide:only-child,
.hero-section:not(:has(.hero-slider)) {
    opacity: 1 !important;
}

/* ==========================================================================
   Inner Pages Dedicated Hero Banner (No JS Dependency & Perfect Spacing)
   ========================================================================== */
   .page-header-banner {
    position: relative;
    width: 100%;
    min-height: 380px;
    padding: 70px 0 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('images/slider-img1.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.page-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(2, 11, 20, 0.88) 0%, rgba(2, 11, 20, 0.65) 100%);
    z-index: 1;
}

.page-banner-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: 0 auto;
}

.page-banner-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.page-banner-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 auto;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

/* Mobile Responsiveness for Inner Hero */
@media (max-width: 768px) {
    .page-header-banner {
        min-height: 300px;
        padding: 50px 0 40px;
    }
    .page-banner-content h1 {
        font-size: 2.2rem;
    }
    .page-banner-content p {
        font-size: 0.98rem;
    }
}
/* 3 Pillars Section Grid Fix */
.pillars-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    margin-top: 40px !important;
}

.pillar-card {
    background: #0f2133 !important; /* Solid Card Background */
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    padding: 35px 25px !important;
    border-radius: 20px !important;
    text-align: left !important;
    transition: all 0.3s ease !important;
}

.pillar-card:hover {
    transform: translateY(-8px) !important;
    border-color: #f59e0b !important;
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.15) !important;
}

.pillar-card.highlight-pillar {
    background: rgba(15, 33, 51, 0.95) !important;
    border-color: rgba(245, 158, 11, 0.4) !important;
}

.pillar-icon {
    margin-bottom: 15px !important;
}

.pillar-card h3 {
    font-size: 1.25rem !important;
    margin-bottom: 12px !important;
    color: #ffffff !important;
}

.pillar-card p {
    color: #e2e8f0 !important; /* Smooth Crisp Visibility */
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
}

.pillar-link {
    color: #f59e0b !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 0.88rem !important;
}

@media (max-width: 992px) {
    .pillars-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Dynamic Custom Logo Alignment & Height Control */
.logo-box {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo-box img,
.custom-logo {
    max-height: 50px !important;
    width: auto !important;
    object-fit: contain !important;
}
/* WordPress Active Menu Link Highlighting Fix */
.main-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

/* Specific Targets for Active Links */
.main-nav li.current-menu-item > a,
.main-nav li.current_page_item > a,
.main-nav li.current-menu-ancestor > a,
.main-nav a.active,
.main-nav a:hover {
    color: var(--accent-gold) !important;
    font-weight: 700 !important;
}

/* GSTIN Badge High Contrast Styling */
.pill-gst {
    background: #10b981 !important; /* Solid Bright Eco-Green */
    color: #000000 !important; /* Bold Black Text for Maximum Contrast */
    border: 1px solid #34d399 !important;
    padding: 3px 10px !important;
    border-radius: 6px !important;
    font-weight: 800 !important;
    font-size: 0.82rem !important;
    letter-spacing: 0.5px !important;
    margin-right: 8px !important;
    display: inline-block !important;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5) !important;
}