/* ============================================================================
   VALUATIONZONE - CUSTOM COMPONENT STYLES
   ----------------------------------------------------------------------------
   These are classes used throughout the site (pillar pages, contact/empanel
   forms, navigation) that were NOT present anywhere in the compiled Tailwind
   output (app.min.css / style.min.css) or any inline <style> block - found by
   ultimate_audit.py's Tailwind/CSS usage check.

   This is a hand-maintained, plain CSS file - NOT a Tailwind build output.
   That's deliberate: it will not be overwritten the next time Tailwind is
   rebuilt, and it works immediately without requiring a build step. It's
   linked AFTER app.min.css in header.php, so it can complement Tailwind's
   utility classes without fighting them.

   Colors and fonts match the palette already established in
   city_service_master.php (--vz-enterprise-navy / --vz-enterprise-accent /
   --vz-gold, Inter + Merriweather) for visual consistency across both page
   systems.
   ============================================================================ */

:root {
    --cc-navy: #051C2C;
    --cc-accent: #005FCC;
    --cc-gold: #D4AF37;
    --cc-text: #0F172A;
    --cc-muted: #475569;
    --cc-border: #E2E8F0;
    --cc-bg-light: #F8FAFC;
    --cc-danger: #DC2626;
    --cc-success: #10B981;
}

/* ----------------------------------------------------------------------
   Page / section layout
   ---------------------------------------------------------------------- */

.main-content-section {
    display: block;
    width: 100%;
}

.key-factors-section,
.major-purposes-section,
.why-choose-us-section,
.our-process-section {
    display: block;
    width: 100%;
}

.key-factors-grid,
.major-purposes-grid,
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.service-card {
    background: #FFFFFF;
    border: 1px solid var(--cc-border);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.service-card .icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cc-bg-light);
    color: var(--cc-accent);
    font-size: 1.1rem;
    margin-bottom: 14px;
}

.pan-india-highlight {
    color: var(--cc-gold);
}

/* ----------------------------------------------------------------------
   Accordion (FAQ / process steps)
   ---------------------------------------------------------------------- */

.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accordion-item {
    border: 1px solid var(--cc-border);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.accordion-header {
    cursor: pointer;
    font-weight: 600;
    color: var(--cc-navy);
}

.accordion-content {
    border-top: 1px solid var(--cc-border);
}

/* ----------------------------------------------------------------------
   Page header (pillar page hero)
   ---------------------------------------------------------------------- */

.page-header {
    background: linear-gradient(135deg, var(--cc-navy) 0%, #0a2e4a 100%);
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.page-header-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-header h1 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin: 0 0 16px;
}

/* ----------------------------------------------------------------------
   Contact CTA band (end of pillar pages)
   ---------------------------------------------------------------------- */

.contact-cta {
    background: var(--cc-bg-light);
    border-top: 1px solid var(--cc-border);
    padding: 50px 20px;
    text-align: center;
}

.contact-cta .button {
    display: inline-block;
    background: var(--cc-accent);
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.contact-cta .button:hover {
    background: #004a9f;
}

/* ----------------------------------------------------------------------
   Forms (contact.php / empanel-with-us.php)
   These specific names (form-group / invalid-feedback) are the classic
   Bootstrap 4 form-validation convention. No Bootstrap stylesheet is
   loaded on this site (only Tailwind + Font Awesome), so these had zero
   styling. Defined here to match Tailwind's visual language instead.
   ---------------------------------------------------------------------- */

.form-section {
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--cc-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    border: 1px solid var(--cc-border);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 2px solid var(--cc-accent);
    outline-offset: 1px;
    border-color: var(--cc-accent);
}

.invalid-feedback {
    color: var(--cc-danger);
    font-size: 0.82rem;
    display: none;
}

.form-group.is-invalid .invalid-feedback {
    display: block;
}

.form-group.is-invalid input,
.form-group.is-invalid select,
.form-group.is-invalid textarea {
    border-color: var(--cc-danger);
}

.form-message {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.92rem;
    margin-bottom: 16px;
}

.form-message.success {
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.form-message.error {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

.form-submit-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--cc-accent);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.form-submit-button:hover {
    background: #004a9f;
}

.form-submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.button-text {
    display: inline-block;
}

.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: cc-spin 0.7s linear infinite;
}

@keyframes cc-spin {
    to { transform: rotate(360deg); }
}

/* ----------------------------------------------------------------------
   Misc components
   ---------------------------------------------------------------------- */

.contact-info-card {
    background: #fff;
    border: 1px solid var(--cc-border);
    border-radius: 12px;
    padding: 24px;
}

.option-card {
    border: 1px solid var(--cc-border);
    border-radius: 10px;
    padding: 18px;
    cursor: pointer;
    transition: all 0.2s;
}

.option-card:hover,
.option-card.selected {
    border-color: var(--cc-accent);
    box-shadow: 0 4px 15px rgba(0, 95, 204, 0.1);
}

.service-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
}

.razorpay-section {
    background: var(--cc-bg-light);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.gold-offer-banner,
.visa-offer-banner {
    background: linear-gradient(135deg, var(--cc-navy) 0%, #0a2e4a 100%);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 16px;
    padding: 24px 32px;
    color: #fff;
}

.animate-shadow-glow {
    animation: cc-glow 2.5s ease-in-out infinite;
}

@keyframes cc-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.35); }
    50% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
}

/* Nav active-state hooks (header.php) */
.nav-home.active,
.nav-why-us.active,
.nav-services.active,
.nav-locations.active,
.nav-calculator.active,
.nav-contact.active,
.nav-empanel.active {
    color: var(--cc-accent);
    font-weight: 600;
}

/* ----------------------------------------------------------------------
   Small utility fixes for a couple of non-standard class names found in
   the audit (likely typos for standard Tailwind classes) - defined here
   so nothing visually breaks regardless; consider correcting the source
   to text-base / no-underline on your next content pass for consistency.
   ---------------------------------------------------------------------- */

.text-md {
    font-size: 1rem;
    line-height: 1.5rem;
}

.decoration-none {
    text-decoration: none;
}

/* Minimal prose-style defaults (Tailwind Typography plugin substitute) */
.prose {
    max-width: 68ch;
    line-height: 1.75;
    color: var(--cc-muted);
}

.prose p { margin-bottom: 1.25em; }
.prose h2 { font-family: 'Merriweather', Georgia, serif; margin-top: 1.5em; color: var(--cc-navy); }
.prose h3 { font-family: 'Merriweather', Georgia, serif; margin-top: 1.25em; color: var(--cc-navy); }
.prose ul, .prose ol { margin-bottom: 1.25em; padding-left: 1.5em; }
.prose a { color: var(--cc-accent); }
