
/* Color system: corporate, high-contrast, color-blind friendly */
:root {
    --bg: #f7fafc;               /* subtle off-white */
    --surface: #ffffff;          /* white surfaces */
    --surface-alt: #f8fafc;      /* very light alternate */
    --text: #0f172a;             /* near-black for high contrast */
    --muted: #475569;            /* muted text */
    /* Corporate-friendly palette: clean blue primary and accessible accents */
    --primary: #0b61ff;          /* corporate blue */
    --primary-rgb: 11,97,255;
    --accent: #0b84ff;           /* lighter blue accent */
    --accent-rgb: 11,132,255;
    /* per-card accent tokens (hex + rgb) so icons can adapt to themes */
    --card-accent-1: #0b6ef6; --card-accent-1-rgb: 11,110,246;
    --card-accent-2: #0b3d91; --card-accent-2-rgb: 11,61,145;
    --card-accent-3: #06b39b; --card-accent-3-rgb: 6,179,155;
    --card-accent-4: #ea580c; --card-accent-4-rgb: 234,88,12;
    --card-accent-5: #7c3aed; --card-accent-5-rgb: 124,58,237;
    --card-accent-6: #0ea5e9; --card-accent-6-rgb: 14,165,233;
    --card-accent-7: #ef4444; --card-accent-7-rgb: 239,68,68;
    --card-accent-8: #6366f1; --card-accent-8-rgb: 99,102,241;
    --border: #e6eaf0;           /* light border */
    --focus: #c7e0ff;            /* soft focus ring */
    --shadow: 0 8px 24px rgba(15,23,42,0.06);
}

/* Dark theme variables */
html[data-theme="dark"] {
    /* Professional dark-navy theme */
    --bg: #001226;            /* very dark navy background */
    --surface: #041425;       /* slightly lighter surface panels */
    --surface-alt: #02131b;   /* alternate surface for subtle contrast */
    /* Text should be near-white for readability */
    --text: #eaf4ff;
    /* Muted text slightly desaturated but legible on dark */
    --muted: #9fb0c8;
    /* Keep navy primary (brand) and provide RGB tokens for rgba usages */
    --primary: #001540;       /* brand navy */
    --primary-rgb: 0,21,64;   /* 0,21,64 == #001540 */
    --accent: #3b6fc8;        /* brighter accent for highlights */
    --accent-rgb: 59,111,200; /* rgb for accent */
    /* Slightly stronger borders on dark for separation */
    --border: rgba(255,255,255,0.08);
    --focus: rgba(59,111,200,0.18);
    --shadow: 0 18px 48px rgba(0,0,0,0.6);
}

/* In dark mode, ensure per-card accents are brighter/visible against dark surfaces */
html[data-theme="dark"] {
    --card-accent-1: #66a9ff; --card-accent-1-rgb: 102,169,255;
    --card-accent-2: #3b6fc8; --card-accent-2-rgb: 59,111,200;
    --card-accent-3: #3fe0c8; --card-accent-3-rgb: 63,224,200;
    --card-accent-4: #ff974d; --card-accent-4-rgb: 255,151,77;
    --card-accent-5: #bfa0ff; --card-accent-5-rgb: 191,160,255;
    --card-accent-6: #6ed6ff; --card-accent-6-rgb: 110,214,255;
    --card-accent-7: #ff7b7b; --card-accent-7-rgb: 255,123,123;
    --card-accent-8: #9aa6ff; --card-accent-8-rgb: 154,166,255;
}

/* Dark-theme specific component overrides to keep visual harmony */
html[data-theme="dark"] .hero {
    background: linear-gradient(180deg, rgba(var(--primary-rgb),0.06), transparent 40%);
}

html[data-theme="dark"] .pill { /* pills and tags should use a soft tint of brand */
    background: rgba(var(--primary-rgb),0.06);
    border-color: rgba(var(--primary-rgb),0.06);
    color: var(--primary);
}

html[data-theme="dark"] .nav-list a:hover,
html[data-theme="dark"] .nav-list a:focus { background: rgba(var(--primary-rgb),0.06); color: var(--primary); }

html[data-theme="dark"] .card-cta { box-shadow: 0 8px 20px rgba(var(--accent-rgb),0.12); }

html[data-theme="dark"] .sector-icon { background: rgba(var(--primary-rgb),0.06); color: var(--primary); }

html[data-theme="dark"] .chat-launch { background: var(--primary); color: var(--on-primary); }

/* Classic theme - warmer, more neutral */
html[data-theme="classic"] {
    --bg: #fbfaf6;
    --surface: #ffffff;
    --surface-alt: #fffaf0;
    --text: #0b2a2f;
    --muted: #55606a;
    /* Classic corporate: muted slate with a warm accent */
    --primary: #1f3a55; /* deep slate blue */
    --primary-rgb: 31,58,85;
    --accent: #b08b3c;  /* warm gold accent */
    --accent-rgb: 176,139,60;
    --border: #e9e2d8;
    --focus: rgba(42,157,143,0.12);
    --shadow: 0 8px 24px rgba(11,43,38,0.06);
}

/* Additional dark-mode component overrides to ensure readability and consistent surfaces */
html[data-theme="dark"] .card,
html[data-theme="dark"] .mini-post,
html[data-theme="dark"] .contact-form,
html[data-theme="dark"] .chatbot {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
}

/* Professional golden-brown theme variables */


html[data-theme="dark"] .mini-post { box-shadow: none; }
html[data-theme="dark"] .mini-post h3 { color: var(--text); }
html[data-theme="dark"] .mini-post p { color: var(--muted); }

/* Forms & inputs on dark surfaces */
html[data-theme="dark"] .contact-form input,
html[data-theme="dark"] .contact-form textarea,
html[data-theme="dark"] .chat-input input {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    color: var(--text);
}

/* Buttons: use variable-driven shadows and outlines */
html[data-theme="dark"] .btn-primary { box-shadow: 0 8px 20px rgba(var(--accent-rgb),0.12); }
html[data-theme="dark"] .btn-outline { color: var(--text); border-color: rgba(var(--primary-rgb),0.12); }
html[data-theme="dark"] .btn-outline:hover, html[data-theme="dark"] .btn-outline:focus { background: rgba(var(--primary-rgb),0.06); color: var(--text); }

/* Replace hard-coded white chat/header backgrounds with dark surfaces */
html[data-theme="dark"] .chat-header { background: rgba(var(--primary-rgb),0.04); border-bottom: 1px solid var(--border); }
html[data-theme="dark"] .chat-body .msg.bot { background: var(--surface-alt); color: var(--text); border-color: var(--border); }
html[data-theme="dark"] .chat-body .msg.user { background: var(--primary); color: var(--on-primary); border-color: rgba(var(--primary-rgb),0.12); }

/* Ensure hero text and leads are readable */
html[data-theme="dark"] .hero-title, html[data-theme="dark"] .hero-lead { color: var(--text); }

/* Make the page background and section separators use dark tokens */
html[data-theme="dark"] body { background: var(--bg); }
html[data-theme="dark"] .section { background: var(--surface); }
html[data-theme="dark"] .section-alt { background: var(--surface-alt); }

/* Fix any remaining hard-coded subtle borders/shadows to better match dark theme */
html[data-theme="dark"] .site-header { background: var(--surface); box-shadow: 0 6px 18px rgba(0,0,0,0.35); border-bottom: 1px solid var(--border); }


* { box-sizing: border-box; }
html, body { height: 100%; }
body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    --primary-rgb: 11,97,255;
    /* Add top padding so fixed header does not overlap content */
    --accent-rgb: 11,132,255;
    --on-primary: #ffffff;      /* text color used on primary buttons */
    padding-top: 72px;
    transition: background-color 260ms ease, color 260ms ease;
}

.container {
    width: min(1100px, 92%);
    margin: 0 auto;
}

/* Header */
.site-header {
    /* Fixed header so the menu remains visible while scrolling */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
    background: var(--surface);
    box-shadow: 0 6px 18px rgba(15,23,42,0.04);
    border-bottom: 1px solid var(--border);
    height: 72px;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    padding: 0; /* reduce vertical padding since header has fixed height */
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { display: block; border-radius: 8px; }
.brand-name { font-weight: 700; letter-spacing: 0.2px; color: var(--text); margin-left: 6px; }
.brand-logo { height: 44px; width: auto; display: block; object-fit: contain; }
.footer-logo { height: 36px; opacity: 0.95; }

.site-nav { position: relative; }
.nav-toggle { display: none; }
.nav-list {
    list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; align-items: center;
}
.nav-list a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    padding: 8px 10px; border-radius: 8px;
}
.nav-list a:hover, .nav-list a:focus { color: var(--primary); background: rgba(var(--primary-rgb),0.04); }

/* Hero */
.hero { padding: 72px 0 48px; background: linear-gradient(180deg, rgba(var(--primary-rgb),0.02), transparent 40%); }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; }
.hero-title { font-size: 42px; line-height: 1.08; margin: 0 0 12px; }
.hero-lead { color: var(--muted); margin: 0 0 22px; font-size: 18px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-media img { width: 100%; height: auto; border-radius: 14px; box-shadow: var(--shadow); object-fit: cover; }

/* Sections */
.section { padding: 64px 0; background: var(--surface); }
.section-alt { background: var(--surface-alt); }
.section + .section,
.section + .section-alt,
.section-alt + .section,
.section-alt + .section-alt { border-top: 1px solid var(--border); }
.section-header { text-align: center; margin-bottom: 30px; }
.section-header h2 { margin: 0 0 8px; font-size: 28px; }
.section-header p { margin: 0; color: var(--muted); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cards .card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.card img { width: 100%; height: 180px; object-fit: cover; }
.card-body { padding: 18px; }
.card-body h3 { margin: 0 0 8px; font-size: 20px; }
.card-body p { margin: 0; color: var(--muted); }

.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: center; }
.about-media img { width: 100%; border-radius: 12px; box-shadow: var(--shadow); }
.checklist { margin: 14px 0 0; padding: 0 0 0 18px; }
.checklist li { margin: 6px 0; }

.mini-post { background: var(--surface); border: 1px solid var(--border); padding: 16px; border-radius: 12px; display: flex; flex-direction: column; height: 100%; }
.mini-post h3 { margin: 0 0 10px; font-size: 18px; }
.mini-post p { margin: 0; color: var(--muted); }

/* Values and process grids: keep content aligned and visually consistent */
.values-grid .mini-post, .process-grid .mini-post { text-align: left; }
.values-grid .mini-post { text-align: center; }

.pill-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pill { display: inline-flex; padding: 10px 16px; border-radius: 999px; background: rgba(var(--primary-rgb),0.08); border: 1px solid rgba(var(--primary-rgb),0.08); color: var(--primary); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; }

/* Sectors grid */
.sectors-grid { margin-top: 8px; }
.sector-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 8px; min-height: 140px; box-shadow: 0 6px 18px rgba(2,6,23,0.03); }
.sector-card h3 { margin: 0 0 6px; font-size: 16px; color: var(--text); }
.sector-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }

/* Icon in sector card */
.sector-head { display:flex; align-items:center; gap:12px; margin-bottom:6px; }
.sector-icon { width:36px; height:36px; display:inline-flex; align-items:center; justify-content:center; flex:0 0 36px; border-radius:8px; background: rgba(var(--primary-rgb),0.06); color:var(--primary); }
.sector-icon svg { width:20px; height:20px; display:block; }

/* Reveal (fade + slide) utility */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 420ms cubic-bezier(.2,.9,.3,1), transform 420ms cubic-bezier(.2,.9,.3,1); will-change: opacity, transform; }
.reveal.visible { opacity: 1; transform: none; }

/* Footer social */
.footer-social { display:flex; gap:12px; align-items:center; margin-top:6px; }
.footer-social a { display:inline-flex; align-items:center; gap:8px; color:var(--muted); text-decoration:none; font-weight:600; }
.footer-social svg { width:18px; height:18px; display:block; fill:currentColor; }
/* Footer social images (e.g. linkedIn.png) */
.footer-social-img { width:18px; height:18px; display:inline-block; object-fit:contain; }

/* Card hover micro-interactions */
.sector-card { transition: transform 220ms ease, box-shadow 220ms ease; }
.sector-card:hover, .sector-card:focus-within { transform: translateY(-6px); box-shadow: 0 14px 36px rgba(2,6,23,0.12); }

/* Per-card icon color accents (keeps icons mono but with subtle background tint) */
.sectors-grid .sector-card:nth-child(1) .sector-icon { background: rgba(var(--card-accent-1-rgb),0.08); color: var(--card-accent-1); }
.sectors-grid .sector-card:nth-child(2) .sector-icon { background: rgba(var(--card-accent-2-rgb),0.06); color: var(--card-accent-2); }
.sectors-grid .sector-card:nth-child(3) .sector-icon { background: rgba(var(--card-accent-3-rgb),0.07); color: var(--card-accent-3); }
.sectors-grid .sector-card:nth-child(4) .sector-icon { background: rgba(var(--card-accent-4-rgb),0.06); color: var(--card-accent-4); }
.sectors-grid .sector-card:nth-child(5) .sector-icon { background: rgba(var(--card-accent-5-rgb),0.06); color: var(--card-accent-5); }
.sectors-grid .sector-card:nth-child(6) .sector-icon { background: rgba(var(--card-accent-6-rgb),0.06); color: var(--card-accent-6); }
.sectors-grid .sector-card:nth-child(7) .sector-icon { background: rgba(var(--card-accent-7-rgb),0.06); color: var(--card-accent-7); }
.sectors-grid .sector-card:nth-child(8) .sector-icon { background: rgba(var(--card-accent-8-rgb),0.06); color: var(--card-accent-8); }

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal, .sector-card { transition: none !important; transform: none !important; }
}

/* Hover CTA button that appears on cards */
.card, .sector-card, .mini-post { position: relative; }
.card-cta {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 12px);
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--primary);
    color: var(--on-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 8px 20px rgba(var(--accent-rgb),0.12);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease, transform 220ms ease;
}
.card:hover .card-cta, .card:focus-within .card-cta,
.sector-card:hover .card-cta, .sector-card:focus-within .card-cta,
.mini-post:hover .card-cta, .mini-post:focus-within .card-cta {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

@media (max-width: 820px) {
    .card-cta { display: none; }
}

<section id="contact" class="section" role="region" aria-label="Contact">
<div class="container">
<div class="contact-copy">
<h2>Contact Us</h2>
<p>Let’s discuss your hiring goals and timelines.</p>
<div class="contact-details" style="list-style:none;">
<p><strong>Company:</strong> Eminence HR Consulting</p>
<p><strong>Address:</strong> Pristine Alpine, KMR Estates, Hyderabad, Serilingampalle (M), TS 500084, India</p>
<p><strong>Email:</strong> <a href="mailto:nirmala@eminencehr.co.in">nirmala@eminencehr.co.in</a></p>
<p><a href="mailto:bindhu@eminencehr.co.in">bindhu@eminencehr.co.in</a></p>
</div>
</div>
</div>
</section>


#contact {
text-align: center;
}


#contact .container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}


#contact .contact-copy {
max-width: 700px;
margin: 0 auto;
}


#contact .contact-details p {
margin: 0.5rem 0;
color: var(--muted);
font-size: 15px;
list-style: none;
}


#contact .contact-details {
list-style: none;
padding: 0;
margin: 0;
}


#contact a {
color: var(--primary);
text-decoration: none;
}
#contact a:hover {
text-decoration: underline;
}


/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: 10px; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-weight: 700; }
.btn-primary { background: var(--primary); color: var(--on-primary); border-color: transparent; box-shadow: 0 6px 18px rgba(var(--accent-rgb),0.12); }
.btn-primary:hover, .btn-primary:focus { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(var(--accent-rgb),0.12); }
.btn-outline { background: transparent; color: var(--primary); border-color: rgba(var(--primary-rgb),0.12); }
.btn-outline:hover, .btn-outline:focus { background: rgba(var(--primary-rgb),0.04); }

/* Make these CTAs match the Book a Consultation treatment (use primary by default)
   and use the same bright-blue override in dark theme. */
.btn.light-cta {
    background: var(--primary);
    color: var(--on-primary);
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(var(--accent-rgb),0.12);
}
.btn.light-cta:hover, .btn.light-cta:focus {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(var(--accent-rgb),0.12);
}

/* Dark theme: match the Book CTA bright-blue override so these CTAs remain visible */
html[data-theme="dark"] .btn.light-cta {
    background: #0b6ef6; /* same bright blue used for book-cta */
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(11,110,246,0.12);
    border-color: rgba(255,255,255,0.06);
}
html[data-theme="dark"] .btn.light-cta:hover, html[data-theme="dark"] .btn.light-cta:focus {
    background: #095ed6;
    box-shadow: 0 14px 36px rgba(11,110,246,0.16);
}

/* Header CTA */
.header-ctas { margin-left: 18px; }
.header-ctas .btn { padding: 9px 14px; font-size: 14px; }

/* Theme select styles */
.theme-switch select {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    padding: 6px 8px;
    border-radius: 8px;
    font-weight: 600;
}
.theme-switch { display:inline-block; margin-left:10px; }
.sr-only { position: absolute !important; height: 1px; width: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Theme icon buttons (compact) */
.theme-buttons { display: inline-flex; gap: 6px; align-items: center; vertical-align: middle; }
.theme-btn {
    display: inline-flex; align-items: center; justify-content: center; gap:8px; min-width: 36px; height: 36px; border-radius: 8px; border: 1px solid transparent; background: var(--surface); color: var(--muted); cursor: pointer; padding: 6px 8px; font-weight:700; font-size:13px;
}
.theme-btn svg { display: block; width: 16px; height: 16px; }
.theme-btn .theme-label { display: inline-block; line-height: 1; }
.theme-btn[aria-pressed="true"] { background: rgba(var(--primary-rgb),0.08); color: var(--primary); border-color: rgba(var(--primary-rgb),0.08); }

/* Dark theme: make icon buttons blend with dark surfaces but highlight selected */
html[data-theme="dark"] .theme-btn { background: var(--surface); color: var(--muted); border-color: var(--border); }
html[data-theme="dark"] .theme-btn[aria-pressed="true"] {
    /* make the active theme label readable on dark backgrounds */
    background: rgba(var(--primary-rgb),0.14);
    color: var(--text);
    border-color: rgba(var(--primary-rgb),0.06);
}

/* Hide native select on wide view - keep for accessibility but out of the way */
@media (min-width: 820px) {
    .theme-switch select { display: none; }
}

/* Footer layout improvements */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 18px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0; color: var(--muted); flex-wrap: wrap; }
.footer-columns { display: flex; gap: 24px; align-items: flex-start; }
.footer-col { min-width: 180px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-newsletter input { padding: 8px 10px; border-radius: 8px; width: 220px; }

/* Trust signals placeholder */
.trust-logos { display: flex; gap: 12px; align-items: center; }
.trust-logos img { height: 28px; opacity: 0.85; }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; color: var(--muted); }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; }

/* Chatbot */
.chat-launch {
    position: fixed; right: 20px; bottom: 20px; z-index: 60;
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--primary);
    color: var(--on-primary);
    border: none; box-shadow: var(--shadow); font-size: 22px;
}
.chat-launch:hover { filter: brightness(1.08); }

chatbot {
    position: fixed; right: 20px; bottom: 90px; width: 340px; max-height: 70vh;
    background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
    display: grid; grid-template-rows: auto 1fr auto; box-shadow: var(--shadow); overflow: hidden; z-index: 70;
    transform: translateY(20px); opacity: 0; pointer-events: none; transition: 200ms ease; 
}
.chatbot.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.chat-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px; background: var(--surface-alt); border-bottom: 1px solid var(--border); }
.chat-title { font-weight: 700; }
.chat-close { background: transparent; color: var(--text); border: none; font-size: 18px; cursor: pointer; }
.chat-body { padding: 12px; overflow-y: auto; display: grid; gap: 8px; }
.msg { display: inline-flex; max-width: 85%; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border); color: var(--text); }
.msg.bot { background: var(--surface-alt); }
.msg.user { background: var(--text); color: var(--on-primary); border-color: var(--text); margin-left: auto; }
.msg small { display: block; color: var(--muted); margin-top: 4px; }
.chat-input { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 10px; border-top: 1px solid var(--border); background: var(--surface); }
.chat-input input { background: var(--surface); border: 1px solid var(--border); color: var(--text); border-radius: 8px; padding: 10px 12px; }
.chat-input input:focus { outline: 3px solid var(--focus); border-color: transparent; }

/* Responsive */

@media (max-width: 980px) {
    .hero-inner, .about-grid, .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
    .grid-3 { grid-template-columns: 1fr 1fr; }
    .grid-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }
    .nav-toggle { display: inline-flex; background: transparent; color: var(--text); border: 1px solid rgba(15,23,42,0.08); padding: 6px 10px; border-radius: 8px; }
    .nav-list { position: absolute; right: 16px; top: 72px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 10px; flex-direction: column; gap: 8px; min-width: 220px; display: none; }
    .nav-list.open { display: flex; }
    .header-ctas { display: none; }
    .footer-inner { flex-direction: column; align-items: center; text-align: center; }
}

/* Focus styles for accessibility */
a, button, input, textarea { outline-offset: 2px; }
a:focus, button:focus { outline: 3px solid var(--focus); }


/* Bright-blue override specifically for Book a Consultation buttons in dark theme */
html[data-theme="dark"] .btn.book-cta {
    background: #0b6ef6; /* bright, medium-blue */
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(11,110,246,0.12);
    border-color: rgba(255,255,255,0.06);
}
html[data-theme="dark"] .btn.book-cta:hover,
html[data-theme="dark"] .btn.book-cta:focus {
    background: #095ed6; /* slightly darker on hover */
    box-shadow: 0 14px 36px rgba(11,110,246,0.16);
}

/* KPI star - default and dark-mode override to ensure visibility */
.kpi-star { color: var(--primary); }
html[data-theme="dark"] .kpi-star { color: var(--accent); }

/* KPI up-arrow: default and dark override to ensure visibility */
.kpi-arrow { color: var(--primary); }
html[data-theme="dark"] .kpi-arrow { color: var(--accent); }

#contact ul,
#contact li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Center the Contact section content */
#contact {
  text-align: center;             /* Centers text */
  display: flex;                 
  justify-content: center;        /* Centers horizontally */
  align-items: center;            /* Centers vertically (if there's height) */
  flex-direction: column;         /* Stack items vertically */
  padding: 60px 20px;             /* Space around section */
}

#contact .contact-copy {
  max-width: 700px;               /* Keeps text readable */
  margin: 0 auto;                 /* Centers the block */
}

#contact .contact-details p {
  margin: 8px 0;
  color: var(--muted);
  font-size: 16px;
}
#contact {
  min-height: 80vh;  /* makes it fill 80% of viewport height */
}
/* Fix: Center-align the Contact section content fully */
#contact .container {
  display: flex;
  flex-direction: column;
  align-items: center;    /* Centers horizontally */
  justify-content: center;
  text-align: center;     /* Centers text inside */
}

#contact .contact-copy {
  text-align: center;
  width: 100%;
}

#contact .contact-details {
  text-align: center;
}

#contact .contact-details p {
  margin: 8px 0;
  font-size: 16px;
  color: var(--muted);
}
/* Force center alignment for Contact section */
#contact {
  width: 100%;
  text-align: center !important; /* ensures text is centered */
}

#contact .container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

#contact .contact-copy,
#contact .contact-details {
  text-align: center !important;
  margin: 0 auto !important;
}

#contact .contact-details p {
  margin: 8px 0 !important;
  font-size: 16px;
  color: var(--muted);
  text-align: center !important;
}

