/* ============================================
   GEO CONSULT LTD — MASTER STYLESHEET v5
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Barlow:wght@300;400;500;600&family=Barlow+Condensed:wght@400;600;700&family=Nunito:wght@700;800&display=swap');

:root {
  --navy:         #1B3A7A;
  --navy-dark:    #122860;
  --navy-light:   #243F80;
  --cobalt:       #2D7DD2;
  --cobalt-light: #4A9AE8;
  --cobalt-pale:  #EBF4FC;
  --white:        #FFFFFF;
  --cream:        #F7F9FC;
  --gray-light:   #EAECF2;
  --gray-mid:     #8A9ABB;
  --gray-dark:    #3C4A68;
  --text:         #1A2540;
  --shadow:    0 4px 24px rgba(27,58,122,0.09);
  --shadow-lg: 0 14px 48px rgba(27,58,122,0.16);
  --radius:    5px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --nav-h: 110px;  /* nav height token */
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Barlow', sans-serif; color: var(--text); background: var(--white); line-height: 1.7; overflow-x: hidden; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4 { font-family: 'Playfair Display', serif; line-height: 1.15; color: var(--navy); }
h1 { font-size: clamp(2rem, 4.5vw, 4rem); }   /* global h1 */
h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.1rem; }
p  { color: var(--gray-dark); font-weight: 300; text-align: justify; }

.label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--cobalt); font-weight: 600;
}

/* ── LAYOUT ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section   { padding: 5rem 0; }
.section--cream { background: var(--cream); }
.section--gray  { background: var(--gray-light); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.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; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 2rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; border: none; cursor: pointer;
  border-radius: var(--radius); transition: var(--transition);
}
.btn-primary { background: var(--cobalt); color: var(--white); }
.btn-primary:hover { background: var(--cobalt-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(45,125,210,0.38); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.7); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-light); transform: translateY(-2px); }
.btn-cobalt-outline { background: transparent; color: var(--cobalt); border: 2px solid var(--cobalt); }
.btn-cobalt-outline:hover { background: var(--cobalt); color: var(--white); }

/* ════════════════════════════════════════
   HEADER / NAV  — req #1
   Always navy, always visible, no transparent phase.
   The home page hero starts BELOW the nav using
   padding-top: var(--nav-h).
   ════════════════════════════════════════ */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--navy-dark);                    /* always solid */
  box-shadow: 0 2px 20px rgba(18,40,96,0.35);      /* always present */
  /* No scroll-based colour change needed */
}

.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

/* ── LOGO — circular white bg + sized text ── */
.nav-logo { display: flex; align-items: center; gap: 1.1rem; text-decoration: none; }
.nav-logo .gcl-logo {
  height: 88px; width: 88px;
  object-fit: contain;
  border-radius: 50%;              /* req #2: circular */
  background: rgba(255,255,255,0.96); /* req #2: white bg restored */
  padding: 5px; flex-shrink: 0;
}
.nav-logo-text {
  display: flex; flex-direction: column;
}
.nav-logo-text .company-name {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;             /* req #1: +10% from 2rem */
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
  line-height: 1.15;
  white-space: nowrap;
}
.nav-logo-text .company-tagline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 600;
  margin-top: 0.18rem;
  white-space: nowrap;
}

.nav-links { display: flex; align-items: center; gap: 0.1rem; }
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.11em;
  text-transform: uppercase; color: rgba(255,255,255,0.85);
  padding: 0.5rem 0.8rem; border-radius: var(--radius);
  transition: var(--transition); position: relative;
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: 0; left: 0.8rem; right: 0.8rem;
  height: 2px; background: var(--cobalt-light);
  transform: scaleX(0); transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links .btn-primary { font-size: 0.76rem; padding: 0.52rem 1.1rem; }
.nav-links .btn-primary::after { display: none; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--white); transition: var(--transition); border-radius: 2px; }

/* ── PAGE HERO (inner pages) — WHITE BG, offset by nav ── */
.page-hero {
  background: var(--white);
  padding-top: calc(var(--nav-h) + 3.5rem);   /* starts right below the always-visible nav */
  padding-bottom: 3.5rem;
  position: relative;
  border-bottom: 4px solid var(--cobalt);
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: linear-gradient(to bottom, var(--cobalt), var(--navy));
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(var(--gray-light) 1px, transparent 1px);
  background-size: 28px 28px; opacity: 0.5; pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--navy); font-size: clamp(1.5rem, 3.2vw, 2.5rem); } /* req #4: -40% vs normal h1 */
.page-hero .breadcrumb {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gray-mid); margin-bottom: 1rem;
}
.page-hero .breadcrumb a { color: var(--cobalt); }
.page-hero .breadcrumb span { margin: 0 0.5rem; }
.page-hero p.hero-sub { color: var(--gray-dark); max-width: 600px; margin-top: 1rem; font-size: 1.1rem; }

/* Divider accent */
.divider { display: flex; align-items: center; gap: 1rem; margin: 1.2rem 0; }
.divider::before {
  content: ''; width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--cobalt), var(--cobalt-light));
  border-radius: 2px;
}

/* ── SECTION HEADER ── */
.section-header { margin-bottom: 3.5rem; }
.section-header.centered { text-align: center; }
.section-header .label { margin-bottom: 0.5rem; display: block; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { max-width: 620px; font-size: 1.05rem; }
.section-header.centered p { margin: 0 auto; }

/* ── CARDS ── */
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: var(--transition); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-body { padding: 1.8rem; }
.card-icon { width: 52px; height: 52px; background: var(--cobalt-pale); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; font-size: 1.4rem; color: var(--cobalt); }

/* ── STATS BAR ── */
.stats-bar { background: var(--navy); padding: 3rem 0; border-top: 4px solid var(--cobalt); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; text-align: center; }
.stat-item .number { font-family: 'Playfair Display', serif; font-size: 3.2rem; font-weight: 700; color: var(--white); line-height: 1; }
.stat-item .stat-label { font-family: 'Barlow Condensed', sans-serif; font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.72); margin-top: 0.5rem; }

/* ── FOOTER ── */
.footer { background: var(--navy-dark); color: rgba(255,255,255,0.68); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1.5fr 2fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.09); }
.footer-brand .nav-logo { margin-bottom: 1.2rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.8; }
.footer h4 { color: var(--white); font-family: 'Barlow Condensed', sans-serif; font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer ul li { margin-bottom: 0.6rem; }
.footer ul li a { font-size: 0.9rem; transition: var(--transition); display: flex; align-items: center; gap: 0.5rem; }
.footer ul li a:hover { color: var(--cobalt-light); padding-left: 4px; }
.footer-contact li { display: flex; gap: 0.8rem; font-size: 0.9rem; margin-bottom: 0.9rem; align-items: flex-start; }
.footer-contact li span.icon { color: var(--cobalt-light); margin-top: 2px; flex-shrink: 0; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 0; font-size: 0.8rem; color: rgba(255,255,255,0.35); }
.footer-bottom a { color: var(--cobalt-light); }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from{opacity:0;transform:translateY(28px);} to{opacity:1;transform:translateY(0);} }
@keyframes fadeIn { from{opacity:0;} to{opacity:1;} }
.animate { opacity: 0; }
.animate.visible { animation: fadeUp 0.7s ease forwards; }

/* ── FORMS ── */
.form-group { margin-bottom: 1.4rem; }
.form-group label { display: block; font-family: 'Barlow Condensed', sans-serif; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--navy); margin-bottom: 0.5rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.85rem 1rem; border: 1.5px solid var(--gray-light); border-radius: var(--radius); font-family: 'Barlow', sans-serif; font-size: 0.95rem; color: var(--text); background: var(--white); outline: none; transition: var(--transition); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(45,125,210,0.12); }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }

/* ── CTA BANNER ── */
.cta-banner { background: var(--navy); padding: 5rem 0; text-align: center; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(74,154,232,0.07) 1px,transparent 1px),linear-gradient(90deg,rgba(74,154,232,0.07) 1px,transparent 1px); background-size: 44px 44px; }
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p  { color: rgba(255,255,255,0.68); max-width: 520px; margin: 0 auto 2.5rem; }
.cta-actions   { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  :root { --nav-h: 96px; }
  .nav-logo .gcl-logo { height: 74px; width: 74px; }
  .nav-logo-text .company-name { font-size: 1.8rem; }
}
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  :root { --nav-h: 80px; }
  .nav-logo .gcl-logo { height: 60px; width: 60px; }
  .nav-logo-text .company-name { font-size: 1.3rem; }
  .nav-logo-text .company-tagline { font-size: 0.58rem; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--navy-dark); padding: 2rem; gap: 0.4rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.35); align-items: flex-start; z-index: 999;
  }
  .nav-links a { font-size: 1rem; padding: 0.7rem 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .nav-links a::after { display: none; }
  .nav-links .btn-primary { margin-top: 0.5rem; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .container { padding: 0 1.2rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* Footer brand text — fully white and readable (req #3) */
.footer-brand .company-name     { color: var(--white) !important; font-size: 1.6rem !important; }
.footer-brand .company-tagline  { color: var(--white) !important; opacity: 0.82; }
/* Footer logo: keep circular white bg so it shows on dark footer */
.footer-brand img.gcl-logo {
  background: rgba(255,255,255,0.96) !important;
  border-radius: 50% !important;
  padding: 4px !important;
  height: 64px !important; width: 64px !important;
}

/* ── req #5: Section-level h2 titles reduced 40% (from ~3.4rem → ~2rem) ── */
/* Applied to h2 inside .section, .cta-banner, .iso-section, .why-content etc */
.section h2,
.section--cream h2,
.section--gray h2,
.cta-banner h2,
.why-content h2,
.iso-section h2,
.iso-layout h2,
.about-grid h2,
.about-grid h3,
section.section h2 {
  font-size: clamp(1.2rem, 2.2vw, 2rem) !important; /* -40% of clamp(2.2→3.4rem) */
}

/* ════════════════════════════════════════════════════════
   FINAL OVERRIDES — FOOTER + CENTURY GOTHIC FONT
   ════════════════════════════════════════════════════════ */

/* req #4: Century Gothic (or nearest web-safe equivalent) for company name everywhere */
/* Century Gothic is not on Google Fonts; use 'Nunito' as closest geometric sans */

.company-name {
  font-family: 'Century Gothic', 'Nunito', 'Trebuchet MS', 'Futura', sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em;
}

/* req #3: footer company-name same size as nav (2.2rem) */
.footer-brand .company-name {
  font-family: 'Century Gothic', 'Nunito', 'Trebuchet MS', 'Futura', sans-serif !important;
  font-weight: 800 !important;
  color: var(--white) !important;
  font-size: 2.2rem !important;   /* same as nav .company-name */
}

/* req #2 + #3: footer tagline and description fully white and readable */
.footer-brand .company-tagline {
  color: var(--white) !important;
  opacity: 1 !important;
  font-weight: 600 !important;
}
.footer-brand p {
  color: rgba(255,255,255,0.82) !important;
}

/* Responsive: match nav breakpoints */
@media (max-width: 1100px) {
  .footer-brand .company-name { font-size: 1.8rem !important; }
}
@media (max-width: 768px) {
  .footer-brand .company-name { font-size: 1.4rem !important; }
}

/* Footer brand: rightmost column — logo + name + description stacked vertically */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
