/* ============================================================
   NewView Consultancy Group — Shared Stylesheet
   Navy + Teal | Professional Financial Services
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary:       #0a1f44;
  --primary-light: #162d5e;
  --accent:        #0d9488;
  --accent-hover:  #0f766e;
  --accent-light:  #f0fdfa;
  --text:          #1e293b;
  --text-light:    #64748b;
  --text-muted:    #94a3b8;
  --white:         #ffffff;
  --bg-light:      #f8fafc;
  --bg-section:    #f1f5f9;
  --border:        #e2e8f0;
  --shadow-sm:     0 1px 4px rgba(0,0,0,0.07);
  --shadow-md:     0 4px 18px rgba(0,0,0,0.10);
  --shadow-lg:     0 20px 50px rgba(0,0,0,0.13);
  --radius:        8px;
  --radius-lg:     16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
  overflow-x: hidden;
}

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.4px; line-height: 1.2; color: var(--primary); }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p  { color: var(--text-light); line-height: 1.78; }
a  { text-decoration: none; color: inherit; }

/* ── Layout ───────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section    { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

/* ── Section Label ────────────────────────────────────────── */
.section-label {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-header { text-align: center; max-width: 680px; margin: 0 auto 3.5rem; }
.section-header h2 { margin-bottom: 0.9rem; }
.section-header p  { font-size: 1.08rem; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.78rem 1.9rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  white-space: nowrap;
}
.btn-primary  { background: var(--accent); color: var(--white); box-shadow: 0 8px 22px rgba(13,148,136,.25); }
.btn-primary:hover  { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(13,148,136,.35); }
.btn-secondary { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.6); }
.btn-secondary:hover { background: rgba(255,255,255,.12); border-color: var(--white); transform: translateY(-2px); }
.btn-outline  { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.btn-outline:hover  { background: var(--accent); color: var(--white); transform: translateY(-2px); }
.btn-dark     { background: var(--primary); color: var(--white); }
.btn-dark:hover     { background: var(--primary-light); transform: translateY(-2px); }
.btn-lg { padding: 0.95rem 2.4rem; font-size: 1rem; }
.btn-sm { padding: 0.52rem 1.3rem; font-size: 0.85rem; }

/* ── Navigation ───────────────────────────────────────────── */
header {
  position: fixed; top: 0; width: 100%;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 2rem;
  max-width: 1300px; margin: 0 auto;
}

.logo { display: flex; align-items: center; gap: 0.55rem; }
.logo-icon {
  width: 34px; height: 34px; background: var(--primary);
  border-radius: 7px; display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-weight: 900; font-size: 0.72rem; letter-spacing: -0.5px; flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-size: 1rem; font-weight: 800; color: var(--primary); letter-spacing: -0.4px; }
.logo-sub  { font-size: 0.6rem; color: var(--text-muted); font-weight: 500; letter-spacing: 0.4px; }

.nav-links { display: flex; align-items: center; gap: 0.2rem; list-style: none; }
.nav-links > li { position: relative; }
.nav-links a {
  color: var(--text); font-size: 0.88rem; font-weight: 500;
  padding: 0.45rem 0.7rem; border-radius: 6px;
  transition: all 0.2s; display: flex; align-items: center; gap: 0.25rem;
}
.nav-links a:hover { color: var(--accent); background: var(--accent-light); }
.nav-links a.active { color: var(--accent); }
.has-dropdown > a::after { content: '▾'; font-size: 0.65rem; opacity: 0.55; }

.dropdown {
  display: none; position: absolute; top: calc(100% + 6px); left: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 0.4rem; min-width: 210px; z-index: 200;
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown a {
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0.55rem 0.9rem; border-radius: 6px;
  font-size: 0.875rem; color: var(--text); background: transparent;
}
.dropdown a:hover { background: var(--accent-light); color: var(--accent); }
.dropdown-icon {
  width: 26px; height: 26px; background: var(--bg-light); border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; flex-shrink: 0;
}

.nav-cta { display: flex; align-items: center; gap: 0.7rem; }
.portal-link { color: var(--text-light); font-size: 0.84rem; font-weight: 500; transition: color 0.2s; }
.portal-link:hover { color: var(--accent); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 0.4rem; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--primary); border-radius: 2px; transition: all 0.3s; }

.mobile-menu {
  position: fixed; top: 60px; left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem; z-index: 999;
}
.mobile-menu ul { list-style: none; }
.mobile-menu ul li a {
  display: block; padding: 0.72rem 1rem;
  color: var(--text); font-weight: 500; font-size: 0.95rem;
  border-radius: var(--radius); transition: background 0.2s;
}
.mobile-menu ul li a:hover { background: var(--bg-light); color: var(--accent); }

/* ── Page Hero (inner pages) ──────────────────────────────── */
.page-hero {
  padding: 8rem 0 5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white); text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -30%; right: -8%;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(13,148,136,.12) 0%, transparent 70%);
  border-radius: 50%;
}
.page-hero h1 { color: var(--white); margin-bottom: 1.1rem; }
.page-hero p  { color: rgba(255,255,255,.78); font-size: 1.12rem; max-width: 580px; margin: 0 auto 2rem; }

.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; color: rgba(255,255,255,.6);
  margin-bottom: 1.5rem; justify-content: center;
}
.breadcrumb a { color: rgba(255,255,255,.6); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: rgba(255,255,255,.35); }

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: all 0.3s ease;
}
.card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-4px); }

.card-icon {
  width: 50px; height: 50px; background: var(--accent-light);
  border-radius: 11px; display: flex; align-items: center;
  justify-content: center; font-size: 1.45rem; margin-bottom: 1.2rem;
}

/* ── Grid ─────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── Trust Bar ────────────────────────────────────────────── */
.trust-bar { background: var(--primary); padding: 2.5rem 0; }
.trust-bar .container { display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 2rem; }
.trust-stat { text-align: center; }
.trust-stat-number { font-size: 2.1rem; font-weight: 800; color: var(--accent); letter-spacing: -1px; }
.trust-stat-label  { font-size: 0.82rem; color: rgba(255,255,255,.68); margin-top: 0.2rem; }

/* ── Testimonials ─────────────────────────────────────────── */
.testimonial-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
}
.stars { color: #f59e0b; font-size: 0.95rem; margin-bottom: 1rem; }
.testimonial-text { color: var(--text); font-size: 0.97rem; line-height: 1.78; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 0.7rem; }
.author-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem; color: var(--white); background: var(--accent);
}
.author-name  { font-weight: 700; color: var(--primary); font-size: 0.92rem; }
.author-title { font-size: 0.78rem; color: var(--text-muted); }

/* ── Team Cards ───────────────────────────────────────────── */
.team-card {
  text-align: center; padding: 2rem;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); transition: all 0.3s;
}
.team-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.team-avatar {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 1.2rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; font-weight: 800; color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--accent));
}
.team-card h3       { font-size: 1.08rem; color: var(--primary); margin-bottom: 0.25rem; }
.team-credentials   { font-size: 0.78rem; color: var(--accent); font-weight: 700; letter-spacing: 0.5px; margin-bottom: 0.3rem; }
.team-title         { font-size: 0.82rem; color: var(--text-light); margin-bottom: 1rem; }
.team-bio           { font-size: 0.875rem; color: var(--text-light); line-height: 1.65; }

/* ── Pricing ──────────────────────────────────────────────── */
.pricing-card {
  background: var(--white); border: 2px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.4rem;
  position: relative; transition: all 0.3s;
}
.pricing-card:hover { border-color: var(--accent); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.pricing-card.featured { border-color: var(--accent); background: var(--primary); }
.pricing-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--white);
  font-size: 0.72rem; font-weight: 700; padding: 0.28rem 0.9rem;
  border-radius: 50px; letter-spacing: 1px; text-transform: uppercase;
}
.pricing-tier { font-size: 0.82rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.45rem; }
.pricing-card.featured .pricing-tier { color: rgba(255,255,255,.75); }
.pricing-price { font-size: 2.7rem; font-weight: 800; color: var(--primary); letter-spacing: -1px; margin-bottom: 0.2rem; }
.pricing-price span { font-size: 0.95rem; font-weight: 500; color: var(--text-light); letter-spacing: 0; }
.pricing-card.featured .pricing-price { color: var(--white); }
.pricing-card.featured .pricing-price span { color: rgba(255,255,255,.65); }
.pricing-desc { font-size: 0.88rem; color: var(--text-light); margin-bottom: 1.8rem; line-height: 1.62; }
.pricing-card.featured .pricing-desc { color: rgba(255,255,255,.72); }
.pricing-features { list-style: none; margin-bottom: 2rem; }
.pricing-features li { display: flex; align-items: flex-start; gap: 0.7rem; margin-bottom: 0.8rem; font-size: 0.88rem; color: var(--text); }
.pricing-card.featured .pricing-features li { color: rgba(255,255,255,.88); }
.pricing-features li::before { content: '✓'; color: var(--accent); font-weight: 800; flex-shrink: 0; }
.pricing-divider { border: none; border-top: 1px solid var(--border); margin: 1.4rem 0; }
.pricing-card.featured .pricing-divider { border-color: rgba(255,255,255,.15); }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 0.65rem; overflow: hidden; }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 1.4rem; cursor: pointer; background: var(--white);
  font-weight: 600; color: var(--primary); font-size: 0.93rem;
  transition: background 0.2s; user-select: none;
}
.faq-question:hover { background: var(--bg-light); }
.faq-icon { font-size: 1.15rem; color: var(--accent); transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 1.4rem 1.2rem; font-size: 0.93rem; color: var(--text-light); line-height: 1.78; }
.faq-item.open .faq-answer { display: block; }

/* ── Process Steps ────────────────────────────────────────── */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; }
.process-steps::before {
  content: ''; position: absolute; top: 27px; left: 10%; right: 10%;
  height: 2px; background: var(--border); z-index: 0;
}
.step { text-align: center; position: relative; z-index: 1; }
.step-number {
  width: 54px; height: 54px; background: var(--primary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; font-weight: 800; color: var(--accent);
  margin: 0 auto 1.2rem; border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--primary);
}
.step h4 { font-size: 0.97rem; color: var(--primary); margin-bottom: 0.45rem; }
.step p  { font-size: 0.85rem; color: var(--text-light); }

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 5rem 0; text-align: center; color: var(--white); position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; bottom: -20%; left: -8%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(13,148,136,.14) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p  { color: rgba(255,255,255,.8); font-size: 1.08rem; max-width: 540px; margin: 0 auto 2rem; }
.cta-buttons   { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Footer ───────────────────────────────────────────────── */
footer { background: var(--primary); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { font-size: 0.88rem; line-height: 1.78; margin: 0.9rem 0 1.4rem; color: rgba(255,255,255,.6); }
.footer-col h4 {
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.2px; color: var(--white); margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul li a { color: rgba(255,255,255,.62); font-size: 0.88rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.4rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem; color: rgba(255,255,255,.5); flex-wrap: wrap; gap: 1rem;
}
.footer-bottom a { color: rgba(255,255,255,.5); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--accent); }
.social-links { display: flex; gap: 0.6rem; }
.social-link {
  width: 34px; height: 34px; background: rgba(255,255,255,.07);
  border-radius: 7px; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.65); font-size: 0.8rem; transition: all 0.2s;
  border: 1px solid rgba(255,255,255,.1);
}
.social-link:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }

/* ── Contact Form ─────────────────────────────────────────── */
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--primary); margin-bottom: 0.38rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 0.78rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: 0.93rem; font-family: inherit; color: var(--text);
  background: var(--white); transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(13,148,136,.1); }
.form-group textarea { height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── Animations ───────────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ── Utility ──────────────────────────────────────────────── */
.text-accent { color: var(--accent); }
.text-white  { color: var(--white); }
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  nav { padding: 0.75rem 1.25rem; }
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .hamburger { display: flex; }
  .page-hero { padding: 7rem 0 3.5rem; }
  .process-steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .section { padding: 3.5rem 0; }
  .trust-bar .container { gap: 1.5rem; }
  .cta-buttons { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.2rem; }
  .grid-4 { grid-template-columns: 1fr; }
  .btn-lg { padding: 0.85rem 1.8rem; }
}
