/* ══════════════════════════════════════════════
   Beyond Insite — Main Stylesheet
   Design: Dark navy hero, teal accents, clean white sections
   ══════════════════════════════════════════════ */

/* ── Variables ── */
:root {
    --navy:       #0b1a2e;
    --navy-light: #112240;
    --navy-mid:   #1a3050;
    --teal:       #1abc9c;
    --teal-dark:  #17a589;
    --teal-light: #48c9b0;
    --white:      #ffffff;
    --off-white:  #f5f7fa;
    --gray-100:   #f0f2f5;
    --gray-200:   #e2e8f0;
    --gray-400:   #94a3b8;
    --gray-600:   #64748b;
    --gray-800:   #1e293b;
    --text:       #1e293b;
    --text-light: #64748b;
    --border:     #e2e8f0;
    --shadow:     0 4px 24px rgba(0,0,0,0.08);
    --shadow-md:  0 8px 40px rgba(0,0,0,0.12);
    --radius:     12px;
    --radius-sm:  8px;
    --transition: all 0.25s ease;
    --font:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --container:  1200px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { color: var(--teal); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--teal-dark); }
ul { list-style: none; }

/* ── Container ── */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Typography — ── */
h1, h2, h3, h4, h5 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-800);
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

.teal  { color: var(--teal); }
.mt-2  { margin-top: 1rem; }
.mb-4  { margin-bottom: 2rem; }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.7rem 1.6rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}
.btn-primary {
    background: var(--teal);
    color: var(--white);
    border-color: var(--teal);
}
.btn-primary:hover {
    background: var(--teal-dark);
    border-color: var(--teal-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(26,188,156,0.35);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--navy);
}
.btn-outline-teal {
    background: transparent;
    color: var(--teal);
    border-color: var(--teal);
}
.btn-outline-teal:hover {
    background: var(--teal);
    color: var(--white);
}
.btn-lg { padding: 0.9rem 2rem; font-size: 1.05rem; }

/* ── Badges / Pills ── */
.badge {
    display: inline-block;
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.badge-teal    { background: var(--teal); color: var(--white); }
.badge-navy    { background: var(--navy-mid); color: var(--teal); }
.badge-outline { background: transparent; border: 1px solid var(--teal); color: var(--teal); }

/* ══════════════════════════════════════════
   TOP BAR
   ══════════════════════════════════════════ */
.topbar {
    background: var(--navy);
    color: var(--gray-400);
    font-size: 0.8rem;
    padding: 0.45rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.topbar a { color: var(--gray-400); }
.topbar a:hover { color: var(--teal); }
.topbar-contact { display: flex; gap: 1.5rem; }

/* ══════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0.9rem 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: var(--transition);
}
.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    flex-shrink: 0;
}
.navbar-logo { height: 44px; width: auto; }
.navbar-name { font-size: 1.25rem; color: var(--gray-800); }
.navbar-name strong { font-weight: 800; }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: auto;
    flex-wrap: wrap;
}
.nav-links a {
    color: var(--gray-600);
    font-weight: 500;
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--teal);
    background: rgba(26,188,156,0.08);
}
.navbar-cta { margin-left: 0.5rem; flex-shrink: 0; padding: 0.55rem 1.3rem; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    margin-left: auto;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: var(--transition);
}

/* ══════════════════════════════════════════
   HERO — DARK NAVY
   ══════════════════════════════════════════ */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #0d2137 100%);
    color: var(--white);
    padding: 5rem 2rem 5rem;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 60%;
    height: 180%;
    background: radial-gradient(ellipse at center, rgba(26,188,156,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.hero-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.hero-logo-box {
    background: var(--navy-mid);
    border: 1px solid rgba(26,188,156,0.2);
    border-radius: var(--radius);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    max-width: 420px;
}
.hero-logo-box img { height: 52px; }
.hero-logo-box-text h2 { color: var(--white); font-size: 1.6rem; }
.hero-logo-box-text p  { color: var(--teal); font-size: 0.9rem; margin-top: 0.25rem; }

.hero p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 520px;
}
.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.hero-phone { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.hero-phone a { color: var(--teal); font-weight: 600; }

/* Hero right panel */
.hero-panel {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(26,188,156,0.2);
    border-radius: var(--radius);
    padding: 2rem;
    backdrop-filter: blur(10px);
}
.hero-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.hero-feature-item {
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius-sm);
    padding: 0.9rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
}
.hero-feature-item .feat-icon { color: var(--teal); font-size: 1.6rem; }

.hero-stat-bar {
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
}
.hero-stat-label {
    display: flex;
    justify-content: space-between;
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}
.hero-stat-label strong { color: var(--teal); font-size: 1rem; }
.hero-stat-bar-inner {
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
}
.hero-stat-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--teal), var(--teal-light));
    border-radius: 3px;
    transition: width 1.4s cubic-bezier(0.4,0,0.2,1);
}

/* ── Page Hero (non-home pages) ── */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
}
.page-hero h1 { color: var(--white); margin-top: 0.75rem; }
.page-hero p  { color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 600px; margin: 0.75rem auto 0; }

/* ══════════════════════════════════════════
   SECTIONS
   ══════════════════════════════════════════ */
.section { padding: 5rem 2rem; }
.section-light  { background: var(--off-white); }
.section-white  { background: var(--white); }
.section-navy   { background: var(--navy); color: var(--white); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 3rem; }
.section-header .badge { margin-bottom: 0.75rem; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p  { color: var(--text-light); font-size: 1.05rem; }
.section-navy .section-header h2 { color: var(--white); }
.section-navy .section-header p  { color: rgba(255,255,255,0.7); }

/* ══════════════════════════════════════════
   SERVICE CARDS
   ══════════════════════════════════════════ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
    max-width: var(--container);
    margin: 0 auto;
}
.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--teal);
    transform: scaleX(0);
    transition: var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 72px; height: 72px;
    background: rgba(26,188,156,0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 2rem;
}
.service-card h3 { margin-bottom: 0.75rem; }
.service-card p  { color: var(--text-light); font-size: 0.95rem; margin-bottom: 1.25rem; }
.service-card ul { color: var(--text-light); font-size: 0.9rem; }
.service-card ul li {
    padding: 0.3rem 0;
    padding-left: 1.25rem;
    position: relative;
}
.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: 700;
}
open .faq-chevron {
    background: var(--teal);
    color: var(--white);
    transform: rotate(180deg);
}
.faq-answer {
    display: none;
    padding: 0 1.5rem 1.25rem;
    color: var(--text-light);
    font-size: 0.97rem;
    line-height: 1.7;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}
.faq-item.open .faq-answer { display: block; }

/* ══════════════════════════════════════════
   GUIDE / RESOURCE CARDS (CFO Services)
   ══════════════════════════════════════════ */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
    max-width: var(--container);
    margin: 0 auto;
}
.guide-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: var(--transition);
}
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.guide-icon {
    width: 64px; height: 64px;
    background: rgba(26,188,156,0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}
.guide-card .badge { margin-bottom: 0.75rem; }
.guide-card h3 { margin-bottom: 0.75rem; }
.guide-card blockquote {
    border-left: 3px solid var(--teal);
    padding-left: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}
.guide-card ul { color: var(--text-light); font-size: 0.9rem; }
.guide-card ul li {
    padding: 0.25rem 0 0.25rem 1.25rem;
    position: relative;
}
.guide-card ul li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: var(--teal);
    font-size: 0.5rem;
    top: 0.5rem;
}

/* ══════════════════════════════════════════
   FORMS
   ══════════════════════════════════════════ */
.form-section {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    color: var(--gray-800);
}
.form-group label .req { color: var(--teal); margin-left: 2px; }
.form-control {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    transition: var(--transition);
    appearance: none;
}
.form-control:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(26,188,156,0.12);
}
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }

.form-submit { margin-top: 0.5rem; }
.form-submit .btn { width: 100%; justify-content: center; padding: 0.85rem; font-size: 1rem; }

.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    font-weight: 500;
}
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

/* Upload area */
.upload-dropzone {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--off-white);
}
.upload-dropzone:hover,
.upload-dropzone.dragover {
    border-color: var(--teal);
    background: rgba(26,188,156,0.04);
}
.upload-icon { font-size: 2.5rem; color: var(--teal); margin-bottom: 0.75rem; }
.upload-dropzone p { color: var(--text-light); font-size: 0.95rem; }
.upload-dropzone .browse-link { color: var(--teal); font-weight: 600; cursor: pointer; }
.upload-hint { font-size: 0.8rem; color: var(--gray-400); margin-top: 0.5rem; }

/* ══════════════════════════════════════════
   BLOG
   ══════════════════════════════════════════ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    max-width: var(--container);
    margin: 0 auto;
}
.blog-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card-img {
    height: 200px;
    background: linear-gradient(135deg, var(--navy-light), var(--navy-mid));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    overflow: hidden;
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    color: var(--gray-400);
}
.blog-card-meta .cat { color: var(--teal); font-weight: 600; }
.blog-card h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.blog-card h3 a { color: var(--gray-800); }
.blog-card h3 a:hover { color: var(--teal); }
.blog-card p { color: var(--text-light); font-size: 0.9rem; line-height: 1.6; flex: 1; }
.blog-card-footer { margin-top: 1.25rem; }
.read-more { color: var(--teal); font-weight: 600; font-size: 0.9rem; }
.read-more:hover { color: var(--teal-dark); }

/* Blog single post */
.blog-post-wrap {
    max-width: 780px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}
.blog-post-header { margin-bottom: 2rem; }
.blog-post-header h1 { margin: 0.75rem 0; }
.blog-post-meta { color: var(--text-light); font-size: 0.85rem; margin-top: 0.5rem; }
.blog-post-content { font-size: 1.05rem; line-height: 1.8; color: var(--text); }
.blog-post-content h2 { margin: 2rem 0 0.75rem; font-size: 1.4rem; }
.blog-post-content p  { margin-bottom: 1.25rem; }
.blog-post-content a  { color: var(--teal); border-bottom: 1px solid rgba(26,188,156,0.3); }
.blog-post-content ul, .blog-post-content ol { margin: 1rem 0 1.25rem 1.5rem; }
.blog-post-content li { margin-bottom: 0.4rem; }

/* Related posts */
.related-posts { padding: 4rem 2rem; background: var(--off-white); }
.related-posts h2 { text-align: center; margin-bottom: 2rem; }

/* ══════════════════════════════════════════
   CTA BANNER
   ══════════════════════════════════════════ */
.cta-banner {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    text-align: center;
    padding: 5rem 2rem;
}
.cta-banner h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-banner p  { color: rgba(255,255,255,0.75); font-size: 1.05rem; margin-bottom: 2rem; max-width: 550px; margin-left: auto; margin-right: auto; }
.cta-banner .cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════════════════
   CONTACT INFO
   ══════════════════════════════════════════ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 3rem;
    max-width: var(--container);
    margin: 0 auto;
    align-items: start;
}
.contact-info-card {
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem;
}
.contact-info-card h3 { color: var(--white); margin-bottom: 1.5rem; }
.contact-detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.contact-detail:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.contact-detail-icon {
    width: 40px; height: 40px;
    background: rgba(26,188,156,0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.contact-detail-text strong { display: block; color: var(--teal); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.2rem; }
.contact-detail-text a, .contact-detail-text span { color: rgba(255,255,255,0.85); font-size: 0.95rem; }
.contact-detail-text a:hover { color: var(--teal); }

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.footer {
    background: var(--navy);
    color: rgba(255,255,255,0.75);
    padding: 4rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}
.footer-logo { height: 40px; }
.footer-brand-name { font-size: 1.15rem; color: var(--white); }
.footer-tagline { color: var(--teal); font-size: 0.85rem; font-weight: 600; margin-bottom: 0.6rem; }
.footer-desc { font-size: 0.85rem; line-height: 1.6; color: rgba(255,255,255,0.55); }

.footer-col h4 {
    color: var(--white);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul a { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-col ul a:hover { color: var(--teal); }
.footer-contact-list li { margin-bottom: 0.5rem; }
.footer-contact-list a { color: rgba(255,255,255,0.7); font-size: 1rem; }
.footer-contact-list a:hover { color: var(--teal); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
}
.footer-bottom-links a { color: rgba(255,255,255,0.4); margin-left: 1.25rem; }
.footer-bottom-links a:hover { color: var(--teal); }

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-inner  { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-panel  { max-width: 560px; }
}

@media (max-width: 768px) {
    .topbar { display: none; }

    .nav-toggle { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 1.5rem 1.5rem;
        border-top: 1px solid var(--border);
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
        gap: 0.1rem;
    }
    .nav-links.open { display: flex; }
    .nav-links a { width: 100%; padding: 0.6rem 0.75rem; }
    .navbar-cta { display: none; }
    .navbar { padding: 0.75rem 1.25rem; position: relative; flex-wrap: wrap; }

    .hero { padding: 3rem 1.5rem; }
    .hero-logo-box { max-width: 100%; }
    .hero-features-grid { grid-template-columns: 1fr 1fr; }

    .form-row { grid-template-columns: 1fr; }

    .contact-grid { grid-template-columns: 1fr; }
    .guides-grid  { grid-template-columns: 1fr; }

    .section { padding: 3rem 1.25rem; }
    .page-hero { padding: 3rem 1.25rem; }

    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
}

@media (max-width: 480px) {
    .hero-features-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .cta-banner .cta-btns { flex-direction: column; align-items: center; }
}

/* ── Animations ── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fadeInUp 0.5s ease forwards; }

/* ══════════════════════════════════════════
   RESPONSIVE ICON SIZING
   ══════════════════════════════════════════ */
@media (max-width: 768px) {
    .service-icon { width: 60px; height: 60px; font-size: 1.7rem; }
    .guide-icon   { width: 54px; height: 54px; font-size: 1.5rem; }
    .hero-feature-item .feat-icon { font-size: 1.4rem; }
    .navbar-logo  { height: 36px; }
}
@media (max-width: 480px) {
    .service-icon { width: 52px; height: 52px; font-size: 1.5rem; }
    .guide-icon   { width: 48px; height: 48px; font-size: 1.3rem; }
}

/* ── Footer contact icons: phone + email same size ── */
.footer-contact-list li { margin-bottom: 0.6rem; }
.footer-contact-list a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
    line-height: 1;
}
.footer-contact-list a .contact-icon {
    font-size: 1.2rem;
    line-height: 1;
    display: inline-block;
    min-width: 1.4rem;
    text-align: center;
}
.footer-contact-list a:hover { color: var(--teal); }

/* ── Funding Opportunity card ── */
.funding-card {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    border-radius: var(--radius);
    padding: 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
    color: var(--white);
}
.funding-card-body { flex: 1; min-width: 240px; }
.funding-card .badge { margin-bottom: 0.75rem; }
.funding-card h3 { color: var(--white); margin-bottom: 0.75rem; font-size: 1.5rem; }
.funding-card p  { color: rgba(255,255,255,0.8); font-size: 0.97rem; line-height: 1.65; }
.funding-card .btn-primary { white-space: nowrap; flex-shrink: 0; }

/* ── Guide card download link ── */
.guide-download {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.25rem;
    color: var(--teal);
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--teal);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    transition: var(--transition);
}
.guide-download:hover {
    background: var(--teal);
    color: var(--white);
}

/* ── Upload redirect page ── */
.upload-redirect {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 600px;
    margin: 0 auto;
}
.upload-redirect .upload-icon-box {
    width: 100px; height: 100px;
    background: rgba(26,188,156,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    margin: 0 auto 1.75rem;
}
.upload-redirect h2 { margin-bottom: 1rem; }
.upload-redirect p  { color: var(--text-light); margin-bottom: 2rem; font-size: 1.05rem; }
