/* ─────────────────────────────────────────────
   GS Consults
   Theme: Deep Navy #0B1F33 · Teal #0E8F8F · Gold #C9A227
   Font: Inter — mirroring godsway-sackey.org
───────────────────────────────────────────── */

:root {
  /* Brand colours — identical to main profile site */
  --navy:      #0B1F33;
  --teal:      #0E8F8F;
  --teal-dark: #0c8080;
  --teal-light:#e0f5f5;
  --gold:      #C9A227;
  --gold-light:#fdf8e8;
  --offwhite:  #F7F9FB;
  --charcoal:  #1F2933;
  --slate:     #64748B;
  --border:    #E5E7EB;
  --white:     #FFFFFF;

  --whatsapp-green: #25D366;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(11, 31, 51, 0.05);
  --shadow-md: 0 8px 30px rgba(11, 31, 51, 0.08);
  --shadow-lg: 0 20px 40px rgba(11, 31, 51, 0.12);

  --transition: all 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── Typography ──────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin: 0 0 1rem 0;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

p {
  margin-bottom: 1rem;
  color: var(--slate);
  font-size: 1.05rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* ── Layout ──────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding { padding: 5rem 0; }

/* ── Navbar ──────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}
#navbar.scrolled {
  box-shadow: 0 1px 12px rgba(11, 31, 51, 0.08);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--teal-light);
}
.logo-text {
  line-height: 1.2;
}
.logo-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.logo-sub {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--teal);
  margin-top: 2px;
}

/* Desktop nav links */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate);
  position: relative;
  transition: color 0.2s ease;
}
.nav-link:hover { color: var(--navy); }

.nav-link-active { color: var(--teal) !important; }

/* CTA button in nav */
.nav-cta {
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  background: var(--teal);
  border-radius: 0;
  transition: background 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-cta:hover { background: var(--teal-dark); }

/* Hamburger */
#menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--navy);
  padding: 0.4rem;
  cursor: pointer;
}

/* Mobile menu */
#mobile-menu { display: none; background: var(--white); border-top: 1px solid var(--border); }
#mobile-menu.open { display: block; }
#mobile-menu .px-5 { padding: 0.5rem 1.25rem 1.5rem; }
#mobile-menu a {
  display: block;
  padding: 0.65rem 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--charcoal);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s ease;
}
#mobile-menu a:hover { color: var(--teal); }
#mobile-menu a.cta-mobile {
  display: block;
  margin-top: 0.75rem;
  padding: 0.75rem;
  text-align: center;
  font-weight: 700;
  color: var(--white);
  background: var(--teal);
  border-bottom: none;
}
#mobile-menu a.cta-mobile:hover { background: var(--teal-dark); }

/* ── Hero — Deep Navy + Dot Pattern ───────── */
.hero-bg {
  background: var(--navy);
}
.dot-pattern {
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 26px 26px;
}
.hero {
  padding: 9rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero .subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.80);
  line-height: 1.75;
  margin-bottom: 2.25rem;
}
.gradient-text { color: var(--teal); }

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero image */
.hero-image .image-wrapper {
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

/* ── Section backgrounds (alternating) ───── */
.bg-white   { background: var(--white); }
.bg-light   { background: var(--offwhite); }
.bg-navy    { background: var(--navy); color: var(--white); }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }
.bg-navy p  { color: rgba(255,255,255,0.75); }

/* ── Section heading style ───────────────── */
.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 0.35rem;
}
.section-eyebrow.on-navy { color: rgba(14, 143, 143, 0.85); }

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.section-title.on-navy { color: var(--white); }

.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.5rem 0 2.5rem;
}
.section-divider.on-navy { border-color: rgba(255,255,255,0.10); }

/* ── Buttons ─────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  border-radius: 0;         /* square — matches main site */
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: var(--white);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.10);
  transform: translateY(-1px);
}
.btn-outline-navy {
  background: transparent;
  border: 1.5px solid var(--navy);
  color: var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-whatsapp {
  background: var(--whatsapp-green);
  color: var(--white);
}
.btn-whatsapp:hover {
  background: #128C7E;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
}
.btn-block { width: 100%; }

/* ── Tags / Pills ────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 3px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  line-height: 1.5;
}
.tag-teal  { background: var(--teal-light); color: #0a6e6e; border: 1px solid #b3e8e8; }
.tag-gold  { background: var(--gold-light);  color: #8a6d0c; border: 1px solid #f0d870; }
.tag-slate { background: var(--offwhite);    color: var(--slate); border: 1px solid var(--border); }
.tag-white { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.80); border: 1px solid rgba(255,255,255,0.15); }

/* ── Service Cards ───────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  padding: 2.25rem 1.75rem;
  border: 1px solid var(--border);
  border-top: 3px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: border-top-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  border-top-color: var(--teal);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.card.on-light { background: var(--white); }
.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--teal);
}
.card h3 { color: var(--navy); margin-bottom: 0.5rem; }
.card p   { font-size: 0.95rem; color: var(--slate); margin: 0; }

.border-top-accent { border-top: 3px solid var(--teal); }

/* ── Pricing / Packages ──────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  align-items: center;
}

.pricing-card {
  background: var(--white);
  padding: 2.5rem 1.75rem;
  border: 1px solid var(--border);
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow-sm);
}
.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.pricing-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.pricing-card.featured {
  background: var(--navy);
  border-color: var(--teal);
  border-top: 3px solid var(--teal);
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured h4 { color: var(--white); }
.pricing-card.featured .pricing-best-for { color: rgba(255,255,255,0.65); }
.pricing-card.featured .price { border-top-color: rgba(255,255,255,0.12); }
.pricing-card.featured .price span { color: var(--teal); }
.pricing-card.featured:hover { transform: scale(1.03) translateY(-4px); }

.pricing-best-for {
  font-size: 0.88rem;
  flex-grow: 1;
  margin-bottom: 1.5rem;
  color: var(--slate);
}
.price {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate);
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}
.price span {
  display: block;
  font-size: 2.2rem;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  color: var(--navy);
  margin-top: 0.25rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

/* ── Notice Box ──────────────────────────── */
.notice-box {
  margin-top: 2.5rem;
  padding: 1rem 1.5rem;
  background: var(--offwhite);
  border-left: 4px solid var(--teal);
  color: var(--navy);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ── Sample Pills ────────────────────────── */
.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.pill {
  padding: 0.5rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--slate);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.pill:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* ── Process / How It Works ──────────────── */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.process-list {
  padding: 0;
  list-style: none;
  counter-reset: process-counter;
}
.process-list li {
  position: relative;
  padding-left: 3.5rem;
  margin-bottom: 1.25rem;
  font-size: 1rem;
  color: var(--slate);
  line-height: 1.6;
}
.process-list li::before {
  counter-increment: process-counter;
  content: "0" counter(process-counter);
  position: absolute;
  left: 0;
  top: -3px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--teal);
  opacity: 0.5;
}

.terms-list {
  padding: 0;
  list-style: none;
  space-y: 1rem;
}
.terms-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--slate);
  line-height: 1.65;
}
.terms-list li strong { color: var(--navy); }
.small-text {
  font-size: 0.85rem;
  color: var(--slate);
  margin-top: 1rem;
  font-style: italic;
}

/* ── Contact Form ────────────────────────── */
.contact-container {
  max-width: 640px;
  margin: 0 auto;
}
.contact-form {
  background: var(--white);
  padding: 3rem 2.5rem;
  border: 1px solid var(--border);
  border-top: 4px solid var(--teal);
  box-shadow: var(--shadow-lg);
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--charcoal);
  background: var(--offwhite);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(14, 143, 143, 0.12);
}

/* ── Fade-in Animation ───────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in.delay-1 { transition-delay: 0.1s; }
.fade-in.delay-2 { transition-delay: 0.2s; }
.fade-in.delay-3 { transition-delay: 0.3s; }

/* ── Footer ──────────────────────────────── */
.footer {
  background: var(--navy);
  padding: 4rem 0 2rem;
  color: rgba(255,255,255,0.70);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.footer-brand .logo-img { border-color: rgba(14,143,143,0.4); }
.footer-brand .logo-name { color: var(--white); font-size: 1.05rem; }
.footer-brand .logo-sub  { color: var(--teal); }
.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.60);
  margin-top: 0.75rem;
  line-height: 1.6;
}
.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  space-y: 0.5rem;
}
.footer-links li + li { margin-top: 0.5rem; }
.footer-links a {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.60);
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--teal); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: var(--teal); }

/* ── Portfolio Tabs ──────────────────────── */
.portfolio-tabs {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.tab-btn {
  background: transparent;
  border: none;
  color: var(--slate);
  padding: 0.4rem 0;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease;
  position: relative;
}
.tab-btn::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--teal);
  transition: width 0.25s ease;
}
.tab-btn:hover { color: var(--navy); }
.tab-btn.active { color: var(--navy); }
.tab-btn.active::after { width: 100%; }

.tab-content { display: none; animation: fadeInUp 0.45s ease; }
.tab-content.active { display: block; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Project Cards ───────────────────────── */
.project-card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.project-img-container {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--offwhite);
}
.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover .project-img { transform: scale(1.05); }
.project-info {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.project-info h3 { color: var(--navy); margin-bottom: 0.35rem; }
.project-info p   { font-size: 0.9rem; color: var(--slate); flex-grow: 1; }
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal);
  margin-top: 1rem;
  transition: color 0.2s ease;
}
.project-link:hover { color: var(--teal-dark); }

/* ── Back to Top ─────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  background: var(--teal);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, background 0.2s ease;
  box-shadow: var(--shadow-md);
}
#back-to-top.visible-btn {
  opacity: 1;
  pointer-events: auto;
}
#back-to-top:hover { background: var(--teal-dark); }

/* ── Scrollbar ───────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--offwhite); }
::-webkit-scrollbar-thumb { background: #b3e8e8; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--teal); }

/* ── Responsive ──────────────────────────── */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-buttons { justify-content: center; }
  .hero-image { display: none; }
  .split-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-5px); }
}

@media (max-width: 768px) {
  .desktop-nav { display: none; }
  #menu-btn { display: flex; }
  .section-padding { padding: 3.5rem 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-form { padding: 2rem 1.25rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.5rem; }
}
