/* ==========================================================
   Tax Margin — Shared Site Stylesheet
   Used across every page (index, gst-refund, gst-accounting-services,
   housing-loan, mutual-funds, contact, ai-tools). Cached for 1 month
   via .htaccess so repeat page views load instantly.
   ========================================================== */

/* --- RESET & VARIABLES --- */
:root {
    --primary: #003366;
    --secondary: #008CBA;
    --light: #f0f8ff;
    --dark: #333;
    --white: #ffffff;
    --success: #27ae60;
    --soft-bg: #e3f2fd;
    --saffron: #FF9933;
    --india-green: #138808;

    /* Calendar Specific Colors */
    --gst-bg: #e8f5e9;
    --gst-text: #2e7d32;
    --tds-bg: #fff3e0;
    --tds-text: #ef6c00;
    --roc-bg: #e3f2fd;
    --roc-text: #1565c0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, .nav-logo {
    font-family: 'Poppins', sans-serif;
}

/* --- INDIA THEME STRIP --- */
.india-strip {
    height: 5px;
    width: 100%;
    background: linear-gradient(90deg, var(--saffron) 33%, #ffffff 33%, #ffffff 66%, var(--india-green) 66%);
    position: fixed;
    top: 0;
    z-index: 1002;
}

/* --- TOP CONTACT BAR --- */
.top-contact-bar {
    background-color: #002244;
    color: #ffffff;
    padding: 8px 5%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 0.85rem;
    margin-top: 5px;
    position: relative;
    z-index: 1001;
}

.top-contact-item {
    margin-left: 25px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #e0e0e0;
    transition: color 0.3s;
    font-weight: 600;
}

.top-contact-item:hover { color: var(--secondary); }
.top-contact-item i { margin-right: 8px; color: var(--secondary); font-size: 0.9rem; }

/* --- NAVIGATION --- */
nav {
    background: var(--primary);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 5px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-logo {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo i { color: var(--secondary); margin-right: 8px; }

.india-flag-icon { height: 20px; margin-left: 10px; border-radius: 2px; }

.nav-links { display: flex; align-items: center; flex-wrap: wrap; }

.nav-links a {
    color: var(--white);
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
    transition: color 0.3s;
    cursor: pointer;
    font-size: 0.95rem;
}

.nav-links a:hover, .nav-links a.active { color: var(--secondary); }

.ai-link { color: #ffeb3b !important; }
.ai-link i { margin-right: 5px; }

.cta-btn {
    background: var(--secondary);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    margin-left: 20px;
}

.cta-btn:hover { background: #005f7f; }

/* --- BREADCRUMBS --- */
.breadcrumb-bar { background: var(--soft-bg); padding: 12px 5%; font-size: 0.85rem; }
.breadcrumb-bar ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; max-width: 1400px; margin: 0 auto; }
.breadcrumb-bar li { display: flex; align-items: center; gap: 6px; color: #667; }
.breadcrumb-bar a { color: var(--secondary); text-decoration: none; font-weight: 600; }
.breadcrumb-bar a:hover { text-decoration: underline; }
.breadcrumb-bar li:last-child { color: var(--primary); font-weight: 700; }

/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.7)), url('https://images.unsplash.com/photo-1586486855514-8c633cc6fd38?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    height: 85vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    position: relative;
}

.hero-housing {
    background: linear-gradient(rgba(0, 51, 102, 0.85), rgba(0, 51, 102, 0.6)), url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
}

.hero-mutual {
    background: linear-gradient(rgba(0, 51, 102, 0.85), rgba(0, 51, 102, 0.6)), url('https://images.unsplash.com/photo-1579532537598-459ecdaf39cc?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
}

.hero-home {
    background: linear-gradient(rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.75)), url('https://images.unsplash.com/photo-1554224155-8d04cb21cd6c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    height: 75vh;
}

.hero-contact {
    background: linear-gradient(rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.75)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    height: 45vh;
    min-height: 320px;
}

.hero h1, .hero .hero-title {
    font-size: 3.2rem;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.hero p { font-size: 1.2rem; margin-bottom: 30px; max-width: 700px; margin-left: auto; margin-right: auto; }

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: #ffda79;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* --- SECTION STYLING --- */
.section-padding { padding: 80px 5%; }
.bg-white { background-color: var(--white); }
.bg-soft { background-color: var(--soft-bg); }

.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 2.5rem; color: var(--primary); margin-bottom: 15px; font-weight: 700; }
.section-title h4 { color: var(--secondary); text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; margin-bottom: 10px; display: block; }
.section-title p { color: #555; max-width: 700px; margin: 0 auto; font-size: 1.1rem; }

/* --- HOME HUB: SERVICE CARDS --- */
.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}
.service-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid var(--secondary);
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.12); }
.service-card .service-icon {
    width: 60px; height: 60px; border-radius: 14px; background: var(--soft-bg); color: var(--secondary);
    display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin: 30px 0 0 30px;
}
.service-card .service-body { padding: 20px 30px 30px; flex-grow: 1; display: flex; flex-direction: column; }
.service-card h3 { color: var(--primary); font-size: 1.3rem; margin-bottom: 10px; }
.service-card p { color: #666; font-size: 0.95rem; line-height: 1.6; margin-bottom: 20px; flex-grow: 1; }
.service-card .service-link { color: var(--secondary); font-weight: 700; font-size: 0.9rem; }
.service-card .service-link i { margin-left: 6px; transition: transform 0.3s; }
.service-card:hover .service-link i { transform: translateX(4px); }
.service-card.featured { border-top-color: var(--saffron); }
.service-card.featured .service-icon { background: #fff3e0; color: #ef6c00; }

/* --- COST COMPARISON SECTION --- */
.comparison-wrapper { display: flex; align-items: center; justify-content: space-between; gap: 50px; max-width: 1200px; margin: 0 auto; }
.comparison-text { flex: 1; padding-right: 20px; }
.comparison-text h2 { font-size: 3.5rem; line-height: 1.2; color: var(--primary); margin-bottom: 30px; }
.comparison-text p { font-size: 1.1rem; color: #666; margin-bottom: 20px; line-height: 1.8; }

.cost-card { flex: 0.8; background: var(--white); border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.08); padding: 40px; border: 1px solid #dbeafe; min-width: 350px; }
.cost-row { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid #eee; font-size: 1rem; color: var(--dark); }
.cost-row span:last-child { font-weight: 600; text-align: right; }
.cost-row small { display: block; font-size: 0.85em; color: #7f8c8d; font-weight: normal; }

.total-in-house { margin-top: 20px; margin-bottom: 30px; display: flex; justify-content: space-between; font-size: 1.3rem; font-weight: 700; color: var(--primary); }

.savings-box { background-color: #d1fae5; border-radius: 12px; padding: 25px; text-align: center; border: 1px solid #a7f3d0; }
.savings-title { color: #065f46; font-weight: 700; font-size: 1.1rem; margin-bottom: 5px; display: block; }
.savings-price { font-size: 1.5rem; color: #059669; font-weight: 800; display: block; margin-bottom: 5px; }
.savings-highlight { color: #10b981; font-weight: 700; }

/* --- FEATURES GRID --- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; max-width: 1400px; margin: 0 auto; }
.feature-card { background: #fff; padding: 35px; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: transform 0.3s ease; border-bottom: 4px solid transparent; }
.feature-card:hover { transform: translateY(-5px); border-bottom: 4px solid var(--secondary); }
a.feature-card { text-decoration: none; color: inherit; display: block; cursor: pointer; }
a.feature-card .card-link { color: var(--secondary); font-weight: 700; font-size: 0.85rem; margin-top: 12px; display: block; }
a.feature-card .card-link i { margin-left: 5px; transition: transform 0.3s; }
a.feature-card:hover .card-link i { transform: translateX(4px); }
.feature-icon-box { background-color: #e0f2f1; width: 50px; height: 50px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 1.4rem; color: var(--secondary); }
.feature-card h3 { margin-bottom: 15px; color: var(--primary); font-size: 1.25rem; }
.feature-card p { color: #666; font-size: 0.95rem; line-height: 1.6; }

/* --- CALENDAR WIDGET --- */
.calendar-dashboard { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; max-width: 1400px; margin: 0 auto; }
.calendar-month-card { flex: 1; min-width: 300px; max-width: 400px; background: #fff; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); border: 1px solid #e1e4e8; overflow: hidden; display: flex; flex-direction: column; }
.calendar-header { background: var(--primary); color: white; padding: 15px; text-align: center; }
.current-month { font-size: 18px; font-weight: 700; letter-spacing: 0.5px; display: block; }
.calendar-body { max-height: 400px; overflow-y: auto; flex-grow: 1; padding: 0; }
.due-date-row { display: flex; align-items: flex-start; padding: 12px 15px; border-bottom: 1px solid #f0f0f0; transition: background 0.2s ease; }
.due-date-row:last-child { border-bottom: none; }
.due-date-row:hover { background-color: #fcfcfc; }
.date-badge { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 45px; height: 45px; background: #f8f9fa; border: 1px solid #e9ecef; border-radius: 8px; margin-right: 12px; flex-shrink: 0; }
.date-badge .dd { font-size: 16px; font-weight: 700; color: #333; line-height: 1.1; }
.date-badge .mm { font-size: 9px; text-transform: uppercase; color: #666; font-weight: 600; }
.calendar-details { flex-grow: 1; }
.form-name { font-size: 14px; font-weight: 600; color: var(--primary); display: block; margin-bottom: 2px; }
.form-desc { font-size: 11px; color: #7f8c8d; line-height: 1.3; }
.cat-tag { font-size: 9px; font-weight: 700; padding: 3px 6px; border-radius: 4px; letter-spacing: 0.5px; text-transform: uppercase; }
.cat-gst { background-color: var(--gst-bg); color: var(--gst-text); }
.cat-tds { background-color: var(--tds-bg); color: var(--tds-text); }
.cat-roc { background-color: var(--roc-bg); color: var(--roc-text); }
.no-dates { text-align: center; padding: 30px; color: #999; font-size: 14px; }

/* --- PROCESS --- */
.process-container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; max-width: 1200px; margin: 0 auto; position: relative; padding-top: 20px; }
.process-step { flex: 1; min-width: 200px; text-align: center; position: relative; z-index: 2; }
.step-circle { width: 70px; height: 70px; background: var(--white); border: 2px solid #ddd; border-radius: 50%; margin: 0 auto 25px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: bold; color: var(--primary); box-shadow: 0 5px 15px rgba(0,0,0,0.08); transition: all 0.3s; }
.process-step:hover .step-circle { background: var(--secondary); color: var(--white); border-color: var(--secondary); }
.process-step h3 { margin-bottom: 10px; color: var(--primary); font-size: 1.2rem; }
.process-step p { font-size: 0.95rem; color: #666; padding: 0 15px; }

@media (min-width: 768px) {
    .process-container::before { content: ''; position: absolute; top: 55px; left: 12%; width: 76%; height: 3px; background: linear-gradient(90deg, #ddd 0%, var(--secondary) 50%, #ddd 100%); z-index: 1; }
}

/* --- PRICING & TABLES --- */
.table-container { overflow-x: auto; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); border-radius: 12px; background-color: #fff; margin: 0 auto; max-width: 1400px; -webkit-overflow-scrolling: touch; }
.pricing-table { width: 100%; border-collapse: collapse; min-width: 1000px; }
.pricing-table thead th { background-color: var(--primary); color: var(--white); padding: 20px 10px; text-align: center; position: sticky; top: 0; z-index: 10; vertical-align: top; }
.pricing-table thead th:first-child { background-color: #002244; width: 220px; text-align: left; padding-left: 20px; }
.pricing-table thead th:nth-child(2) { background-color: #607d8b; }
.pricing-table thead th:nth-child(3) { background-color: #008CBA; }
.pricing-table thead th:nth-child(4) { background-color: #0097a7; }
.pricing-table thead th:nth-child(5) { background-color: #00acc1; }
.pricing-table thead th:nth-child(6) { background-color: #0288d1; }
.pricing-table thead th:nth-child(7) { background-color: #37474f; }

.header-btn { display: block; margin-top: 15px; background-color: var(--white); color: var(--primary); padding: 8px 20px; border-radius: 20px; text-decoration: none; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; box-shadow: 0 3px 6px rgba(0,0,0,0.15); width: fit-content; margin-left: auto; margin-right: auto; transition: all 0.3s; }
.header-btn:hover { transform: translateY(-2px); box-shadow: 0 5px 10px rgba(0,0,0,0.2); background-color: #e3f2fd; }

.price-row td { font-weight: bold; font-size: 1.1em; background-color: #f8f9fa; color: var(--primary); border-bottom: 2px solid #ddd; }
.monthly-price { font-size: 1.4em; color: var(--secondary); display: block; }

.pricing-table tbody td { padding: 15px 10px; text-align: center; border-bottom: 1px solid #eee; }
.pricing-table tbody td:first-child { text-align: left; font-weight: 600; background-color: #fcfcfc; padding-left: 20px; position: sticky; left: 0; z-index: 5; border-right: 1px solid #ddd; }
.pricing-table tbody tr:hover { background-color: #e1f5fe; }
.yes { color: var(--success); font-weight: bold; }
.no { color: #bdc3c7; }
.limit { color: #f57f17; font-weight: bold; font-size: 0.9em; }
.section-header { background-color: #cfd8dc; font-weight: bold; text-transform: uppercase; font-size: 0.9em; padding-left: 10px; color: var(--primary); }

/* --- MOBILE PRICING CARDS --- */
.mobile-pricing-container { display: none; padding: 20px; }
.price-card-mobile { background: #fff; border-radius: 15px; padding: 25px; margin-bottom: 25px; box-shadow: 0 5px 15px rgba(0,0,0,0.08); border: 1px solid #eee; text-align: center; position: relative; overflow: hidden; }
.price-card-mobile.popular { border: 2px solid var(--secondary); }
.price-card-mobile.popular::before { content: 'MOST POPULAR'; background: var(--secondary); color: white; position: absolute; top: 15px; right: -30px; transform: rotate(45deg); padding: 5px 40px; font-size: 10px; font-weight: bold; }
.mobile-plan-name { font-size: 1.4rem; color: var(--primary); font-weight: 700; margin-bottom: 5px; }
.mobile-plan-price { font-size: 2rem; color: var(--secondary); font-weight: 800; margin-bottom: 15px; }
.mobile-plan-limit { background: #f0f8ff; display: inline-block; padding: 5px 15px; border-radius: 20px; font-size: 0.9rem; color: #555; margin-bottom: 20px; }
.mobile-features-list { text-align: left; margin-bottom: 20px; list-style: none; padding: 0; }
.mobile-features-list li { padding: 8px 0; border-bottom: 1px dashed #eee; font-size: 0.95rem; color: #666; }
.mobile-features-list li i { color: var(--success); margin-right: 10px; }
.mobile-features-list li.missing i { color: #ccc; }

/* --- FUND / DATA TABLE --- */
.fund-table-wrapper { overflow-x: auto; margin-top: 30px; background: white; border-radius: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); border: 1px solid #eee; }
.fund-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.fund-table th { background: var(--primary); color: white; padding: 15px; text-align: left; font-weight: 600; }
.fund-table td { padding: 15px; border-bottom: 1px solid #eee; color: #555; vertical-align: middle; }
.fund-table tr:last-child td { border-bottom: none; }
.fund-table tr:hover { background-color: #f9f9f9; }
.fund-table .return-value { color: var(--success); font-weight: 700; font-size: 1.1rem; }
.fund-table .category-name { font-weight: 700; color: var(--primary); }
.fund-examples { font-size: 0.85rem; color: #888; display: block; margin-top: 4px; }

/* --- ADD-ONS --- */
.addons-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; max-width: 1400px; margin: 0 auto; }
.addon-card { background: var(--white); border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.08); overflow: hidden; transition: transform 0.3s; display: flex; flex-direction: column; }
.addon-card:hover { transform: translateY(-5px); }
.addon-image { width: 100%; height: 180px; object-fit: cover; }
.addon-content { padding: 25px; flex-grow: 1; }
.addon-content h3 { color: var(--primary); border-bottom: 2px solid var(--secondary); padding-bottom: 10px; margin-bottom: 15px; display: inline-block; font-size: 1.2rem; }
.addon-content ul { list-style: none; padding: 0; }
.addon-content li { margin-bottom: 10px; color: #555; font-size: 0.9em; display: flex; align-items: start; }
.addon-content li i { color: var(--secondary); margin-right: 10px; margin-top: 5px; font-size: 0.8rem; }

/* --- TERMS --- */
.terms-container { background-color: #fff; padding: 40px; border-radius: 8px; border-left: 6px solid var(--secondary); max-width: 1400px; margin: 0 auto; }
.terms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.terms-column h3 { font-size: 1.2em; margin-bottom: 15px; color: var(--primary); }
.terms-column ul { padding-left: 20px; }
.terms-column li { margin-bottom: 10px; font-size: 0.9em; color: #666; }

/* --- CONTACT SECTION --- */
.contact-grid { display: flex; max-width: 1100px; margin: 0 auto; background: #fff; border-radius: 15px; box-shadow: 0 15px 40px rgba(0,0,0,0.1); overflow: hidden; }
.contact-info { flex: 1; background-color: var(--primary); color: #fff; padding: 50px 40px; display: flex; flex-direction: column; justify-content: center; position: relative; }
.contact-info h3 { color: rgba(255,255,255,0.7); font-size: 1.2rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px; font-weight: 700; }
.contact-info p.lead-text { font-size: 1.1rem; margin-bottom: 30px; line-height: 1.6; color: #e0e0e0; }
.info-row { display: flex; align-items: center; margin-bottom: 20px; font-size: 1rem; }
.info-row i { width: 25px; margin-right: 15px; color: var(--secondary); font-size: 1.1rem; }
.info-row a { color: inherit; text-decoration: none; }

.whatsapp-static-btn { background-color: var(--secondary); color: #fff; text-decoration: none; padding: 12px 25px; border-radius: 6px; display: inline-flex; align-items: center; font-weight: 600; margin-top: 25px; width: fit-content; transition: background 0.3s; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.whatsapp-static-btn i { margin-right: 10px; font-size: 1.3rem; color: #fff; }
.whatsapp-static-btn:hover { background-color: #005f7f; }

.contact-form { flex: 1.2; padding: 50px 40px; background-color: #fff; }
.contact-form label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--primary); font-size: 0.9rem; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 12px 15px; margin-bottom: 20px; border: 1px solid #e1e1e1; border-radius: 6px; background: #f9f9f9; font-family: inherit; }
.contact-form button { background: var(--secondary); color: var(--white); border: none; padding: 15px 30px; font-size: 1rem; border-radius: 6px; cursor: pointer; width: 100%; font-weight: 600; transition: background 0.3s; }
.contact-form button:hover { background: var(--primary); }

/* --- CTA BAND (compact contact prompt used on every page) --- */
.cta-band { background: linear-gradient(120deg, var(--primary), #004a8f); color: #fff; border-radius: 16px; padding: 45px; text-align: center; max-width: 1000px; margin: 0 auto; }
.cta-band h2 { color: #fff; font-size: 2rem; margin-bottom: 12px; }
.cta-band p { color: #d7e6f5; max-width: 600px; margin: 0 auto 25px; }
.cta-band .cta-btn { margin: 0 8px; }

/* --- FOOTER --- */
footer { background: var(--primary); color: #bdc3c7; padding: 50px 5% 20px; font-size: 0.9rem; border-top: 5px solid var(--secondary); margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: var(--white); margin-bottom: 20px; }
.footer-col a { color: #bdc3c7; text-decoration: none; display: block; margin-bottom: 10px; }
.disclaimer { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; font-size: 0.8rem; }

/* Footer NAP block — <address> defaults to italic, which reads as a quote here.
   Kept as <address> (not <p>) so directories and parsers can find the contact
   details as structured contact info rather than body copy. */
.footer-nap { font-style: normal; margin-top: 18px; line-height: 2; color: #bdc3c7; font-size: 0.85rem; }
.footer-nap i { color: var(--secondary); width: 16px; margin-right: 6px; }
.footer-nap a { color: #bdc3c7; text-decoration: none; display: inline; margin: 0; }
.footer-nap a:hover { color: var(--secondary); }

/* --- WHATSAPP FLOAT BUTTON --- */
.whatsapp-float { position: fixed; width: 60px; height: 60px; bottom: 40px; right: 40px; background-color: #25d366; color: #FFF; border-radius: 50px; text-align: center; font-size: 30px; box-shadow: 2px 2px 3px #999; z-index: 10000; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: all 0.3s ease; }
.whatsapp-float:hover { background-color: #128c7e; transform: scale(1.1); }

/* --- CALCULATOR STYLES --- */
.calculator-box { background: white; padding: 30px; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.1); max-width: 600px; margin: 0 auto; border: 1px solid #e3f2fd; }
.calc-input-group { margin-bottom: 20px; }
.calc-input-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--primary); }
.calc-input-group input { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 6px; font-size: 1rem; }
.calc-result { background: var(--soft-bg); padding: 20px; border-radius: 8px; text-align: center; margin-top: 20px; border: 1px solid var(--secondary); }
.calc-result h4 { color: var(--primary); margin-bottom: 10px; }
.calc-result .amount { font-size: 2rem; font-weight: 700; color: var(--secondary); }
.calc-btn { background: var(--primary); color: white; border: none; padding: 12px 25px; width: 100%; border-radius: 6px; font-weight: 600; cursor: pointer; transition: 0.3s; }
.calc-btn:hover { background: var(--secondary); }

/* Inline validation message injected by showCalcError() in main.js */
.calc-error { background: #fdecea; border: 1px solid #f5c2bd; color: #a4302a; padding: 12px 15px; border-radius: 8px; margin-top: 20px; font-size: 0.9rem; line-height: 1.5; }

/* =========================================
   LEAD GENERATION ENHANCEMENTS
   ========================================= */

.popup-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 34, 68, 0.85); z-index: 99999; align-items: center; justify-content: center; backdrop-filter: blur(5px); opacity: 0; transition: opacity 0.4s ease; }
.popup-overlay.show { display: flex; opacity: 1; }
.popup-content { background: #fff; border-radius: 15px; padding: 40px; max-width: 450px; width: 90%; text-align: center; position: relative; transform: translateY(20px); transition: transform 0.4s ease; box-shadow: 0 25px 50px rgba(0,0,0,0.3); border-top: 5px solid var(--secondary); }
.popup-overlay.show .popup-content { transform: translateY(0); }
.close-popup { position: absolute; top: 15px; right: 20px; font-size: 28px; color: #999; cursor: pointer; transition: color 0.3s; line-height: 1; background: none; border: none; padding: 0; font-family: inherit; }
.close-popup:focus-visible { outline: 2px solid var(--secondary); outline-offset: 3px; border-radius: 4px; }
.close-popup:hover { color: var(--dark); }
.popup-badge { background: #ffeaa7; color: #d35400; padding: 5px 15px; border-radius: 20px; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; display: inline-block; margin-bottom: 15px; }
.popup-content h2 { color: var(--primary); font-size: 1.8rem; margin-bottom: 15px; line-height: 1.2; }
.highlight-free { color: var(--success); font-weight: 800; font-size: 2.2rem; display: block; margin-top: 5px; }
.popup-content p { color: #555; margin-bottom: 25px; font-size: 1.05rem; }
.popup-actions .cta-btn { display: block; width: 100%; padding: 15px; font-size: 1.1rem; border-radius: 8px; margin: 0; }
.popup-footer { font-size: 0.8rem !important; color: #888 !important; margin-top: 15px; margin-bottom: 0 !important; }

.pulse-btn { animation: pulse-animation 2s infinite; }
@keyframes pulse-animation {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.mobile-sticky-cta { display: none; position: fixed; bottom: 0; left: 0; width: 100%; background: #fff; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); z-index: 1000; }
.sticky-btn { flex: 1; text-align: center; padding: 15px 0; color: #fff; text-decoration: none; font-weight: 700; font-size: 1rem; display: flex; align-items: center; justify-content: center; gap: 8px; }
.sticky-btn.whatsapp { background: #25d366; }
.sticky-btn.call { background: var(--primary); }

@media (max-width: 768px) {
    .mobile-sticky-cta { display: flex; }
    .whatsapp-float { bottom: 70px; right: 20px; }
    body { padding-bottom: 60px; }
}

/* --- MOBILE OPTIMIZATION --- */
@media (max-width: 900px) {
    .comparison-wrapper { flex-direction: column; text-align: center; }
    .comparison-text { padding-right: 0; margin-bottom: 40px; }
    .comparison-text h2 { font-size: 2.5rem; }
    .cost-card { width: 100%; }
    .table-container { display: none; }
    .mobile-pricing-container { display: block; }
    .calendar-dashboard { flex-direction: column; align-items: center; }
    .calendar-month-card { width: 100%; max-width: 100%; margin-bottom: 20px; }
}

@media (max-width: 768px) {
    .top-contact-bar { justify-content: center; flex-direction: column; gap: 5px; padding: 10px; }
    .top-contact-item { margin-left: 0; }
    .section-padding { padding: 40px 5%; }
    nav { flex-direction: column; gap: 10px; }
    .nav-links { display: flex; flex-wrap: wrap; justify-content: center; row-gap: 10px; margin-top: 10px; }
    .nav-links a { margin: 0 10px; font-size: 0.85rem; }
    .hero h1, .hero .hero-title { font-size: 2.2rem; }
    .section-title h2 { font-size: 2rem; }
    .contact-grid { flex-direction: column; }
    .contact-info, .contact-form { padding: 40px 20px; }
    .terms-container { padding: 25px; }
    .whatsapp-float { width: 50px; height: 50px; bottom: 80px; right: 20px; font-size: 25px; }
}

/* --- COMPLIANCE COUNTDOWN BAR --- */
.countdown-bar { background: linear-gradient(90deg, var(--primary), #004a8f); color: var(--white); padding: 14px 5%; display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; font-size: 0.95rem; }
.countdown-bar .cd-label { font-weight: 600; }
.countdown-bar .cd-form { background: var(--saffron); color: #fff; padding: 3px 10px; border-radius: 20px; font-weight: 600; font-size: 0.85rem; }
.cd-timer { display: flex; gap: 8px; }
.cd-unit { background: rgba(255,255,255,0.15); border-radius: 8px; padding: 4px 10px; text-align: center; min-width: 52px; }
.cd-unit b { display: block; font-size: 1.1rem; font-family: 'Poppins', sans-serif; }
.cd-unit span { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.8; }
.countdown-bar .cd-cta { color: #fff; text-decoration: underline; font-size: 0.85rem; opacity: 0.9; }

.gst-toggle { display: flex; gap: 10px; margin-bottom: 20px; }
.gst-toggle button { flex: 1; padding: 12px; border: 2px solid var(--secondary); background: var(--white); color: var(--secondary); border-radius: 8px; font-weight: 600; cursor: pointer; transition: 0.3s; font-family: 'Poppins', sans-serif; }
.gst-toggle button.active { background: var(--secondary); color: var(--white); }
.gst-breakup { display: flex; justify-content: space-around; margin-top: 15px; padding-top: 15px; border-top: 1px dashed #ccc; font-size: 0.9rem; }
.gst-breakup div { text-align: center; }
.gst-breakup b { display: block; color: var(--primary); font-size: 1.05rem; }

.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; max-width: 1100px; margin: 0 auto; }
.testimonial-card { background: var(--white); border-radius: 12px; padding: 30px; box-shadow: 0 5px 20px rgba(0,51,102,0.08); border-top: 4px solid var(--secondary); }
.testimonial-card .stars { color: #f5b301; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-card p { font-style: italic; color: #555; font-size: 0.95rem; line-height: 1.7; }
.testimonial-card .client { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.testimonial-card .client .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--soft-bg); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: 'Poppins', sans-serif; }
.testimonial-card .client b { display: block; color: var(--primary); font-size: 0.95rem; }
.testimonial-card .client span { font-size: 0.8rem; color: #888; }

.faq-wrap { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--white); border-radius: 10px; margin-bottom: 12px; box-shadow: 0 2px 10px rgba(0,51,102,0.06); overflow: hidden; }
.faq-item summary { padding: 18px 22px; cursor: pointer; font-weight: 600; color: var(--primary); font-family: 'Poppins', sans-serif; list-style: none; display: flex; justify-content: space-between; align-items: center; font-size: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--secondary); transition: transform 0.3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 22px 18px; color: #555; font-size: 0.95rem; line-height: 1.7; }

#backToTop { position: fixed; bottom: 90px; left: 25px; width: 45px; height: 45px; border-radius: 50%; background: var(--primary); color: #fff; border: none; cursor: pointer; font-size: 1.1rem; opacity: 0; visibility: hidden; transition: 0.3s; z-index: 998; box-shadow: 0 4px 12px rgba(0,0,0,0.25); }
#backToTop.show { opacity: 1; visibility: visible; }
#backToTop:hover { background: var(--secondary); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
@media (max-width: 600px) { .countdown-bar { gap: 10px; font-size: 0.85rem; } .cd-unit { min-width: 44px; padding: 3px 7px; } }

/* --- GST REFUND PAGE ADDITIONS --- */
.quick-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 1100px; margin: 0 auto; }
.quick-nav a { cursor: pointer; background: var(--soft-bg); color: var(--primary); padding: 8px 18px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; border: 1px solid #cfe4fb; transition: 0.3s; text-decoration: none; }
.quick-nav a:hover { background: var(--secondary); color: #fff; border-color: var(--secondary); }

.stat-band { display: flex; flex-wrap: wrap; justify-content: center; gap: 25px; max-width: 1100px; margin: 0 auto; }
.stat-item { flex: 1; min-width: 200px; background: #fff; border-radius: 12px; padding: 25px 15px; text-align: center; box-shadow: 0 5px 20px rgba(0,0,0,0.06); border-top: 4px solid var(--secondary); }
.stat-num { display: block; font-family: 'Poppins', sans-serif; font-size: 2rem; font-weight: 800; color: var(--primary); }
.stat-label { display: block; font-size: 0.85rem; color: #666; margin-top: 5px; }

@media (max-width: 768px) {
    .quick-nav a { padding: 7px 14px; font-size: 0.8rem; }
}
