/* ===========================================================
   A+ Website Designs — clone stylesheet
   Brand: teal #1AA2CF / dark teal #0189B6
   =========================================================== */

:root {
  --brand: #1AA2CF;
  --brand-dark: #0189B6;
  --bg: #f5f5f5;
  --bg-alt: #f7f7f7;
  --text: #333333;
  --text-muted: #666666;
  --border: #e0e0e0;
  --font-title: 'Baloo Da 2', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --font-nav: 'Encode Sans', sans-serif;
  --radius-pill: 9999px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-title);
  margin: 0 0 16px;
  line-height: 1.2;
  color: #1c2a33;
}
h1 { font-size: 42px; }
h2 { font-size: 32px; }
h3 { font-size: 22px; }
p { margin: 0 0 16px; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-nav);
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  flex-wrap: wrap;
  gap: 12px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  color: #1c2a33;
}
.logo img {
  height: 42px;
  width: auto;
  display: block;
}
.logo .badge {
  background: var(--brand);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.logo .badge svg { width: 20px; height: 20px; }
.logo span.accent { color: var(--brand); }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.main-nav a {
  font-family: var(--font-nav);
  font-size: 15px;
  font-weight: 600;
  color: #1c2a33;
}
.main-nav a:hover, .main-nav a.active { color: var(--brand); }
.nav-toggle { display: none; }

.lang-switch {
  display: flex;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2px;
  margin-left: 10px;
}
.lang-btn {
  border: none;
  background: none;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-nav);
  color: var(--text-muted);
  border-radius: 6px;
  cursor: pointer;
  letter-spacing: .03em;
}
.lang-btn:hover { color: var(--brand); }
.lang-btn.active { background: var(--brand); color: #fff; }

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
  }
  .main-nav {
    display: none;
    width: 100%;
    order: 3;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 10px; }
}

/* Hero */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 100px 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,25,35,.88) 0%, rgba(10,25,35,.55) 55%, rgba(10,25,35,.25) 100%);
}
.hero .container { position: relative; z-index: 1; max-width: 720px; }
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--brand); }
.hero p { font-size: 18px; color: #eef4f7; }

/* Page header (non-home pages) */
.page-hero {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff;
  padding: 70px 0;
  text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: 8px; }

/* Feature strip */
.feature-strip {
  background: var(--brand);
  color: #fff;
  padding: 56px 0;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-grid .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.feature-grid h3 { color: #fff; font-size: 19px; }
.feature-grid p { color: #eaf7fc; font-size: 15px; margin: 0; }

/* Generic sections */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-alt); }
.section.white { background: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head p { color: var(--text-muted); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; align-items: center; }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}
.step { text-align: center; }
.step img { width: 90px; margin: 0 auto 16px; }

/* Checklist style used across About/Services copy */
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { padding-left: 30px; position: relative; margin-bottom: 14px; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  background: var(--brand);
  border-radius: 50%;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center / 10px no-repeat;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center / 10px no-repeat;
}

/* Email directory */
.email-directory { margin-top: 56px; }
.email-directory h3 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 6px;
}
.email-directory-sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.email-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 860px) { .email-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .email-grid { grid-template-columns: 1fr; } }
.email-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.email-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -16px rgba(28,42,51,.3);
  border-color: var(--brand);
}
.email-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(26,162,207,.1);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
}
.email-label { font-weight: 700; font-size: 15px; line-height: 1.3; }
.email-address { color: var(--brand); font-size: 13.5px; word-break: break-all; }

/* Form */
.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px;
  max-width: 640px;
  margin: 0 auto;
}
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; }
.form-row input, .form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 15px;
}
.form-row textarea { min-height: 110px; resize: vertical; }

/* Dark CTA band */
.cta-band {
  background: #000;
  color: #fff;
  padding: 56px 0;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band .contact-line { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; margin-top: 24px; font-size: 16px; }

/* Footer */
.site-footer {
  background: var(--brand);
  color: #fff;
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 17px; }
.site-footer a { color: #eaf7fc; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.social-links { display: flex; gap: 14px; margin-top: 14px; }
.social-links a {
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.3);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #eaf7fc;
}

/* Blog list */
.blog-card img { border-radius: 10px 10px 0 0; }
.blog-card { overflow: hidden; padding: 0; }
.blog-card .body { padding: 20px; }
.blog-card .meta { font-size: 13px; color: var(--text-muted); margin-bottom: 6px; }

/* Team cards: square/rounded-top photo, matching the source site's layout */
.team-card img, .team-card .avatar-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.team-card img[src*="folorunsho-olajide"] { object-position: center 20%; }
.team-card .avatar-placeholder {
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 40px;
}
.team-card .body { padding: 22px; }
.team-card h3 { margin-bottom: 4px; }
.team-card .role { color: var(--brand); font-weight: 600; font-size: 14px; margin-bottom: 10px; }
.team-card .bio { font-size: 14px; text-align: left; }

/* Testimonials */
.testimonial {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px;
}
.testimonial .stars { color: #f7c444; margin-bottom: 10px; }
.testimonial .author { font-weight: 700; margin-top: 12px; }

/* News gallery */
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 860px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .news-grid { grid-template-columns: 1fr; } }
.news-thumb {
  position: relative;
  display: block;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-alt);
  aspect-ratio: 4 / 3;
}
.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.news-thumb:hover img { transform: scale(1.06); }
.news-thumb:active img { transform: scale(1.01); transition-duration: .1s; }
.news-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 12px 10px;
  background: linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,0));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  pointer-events: none;
}

/* News lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10,15,20,.92);
  opacity: 0;
  transition: opacity .25s ease;
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox-img {
  max-width: min(88vw, 1100px);
  max-height: 84vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  transform: scale(.97);
  transition: transform .25s cubic-bezier(.22,1,.36,1);
}
.lightbox.open .lightbox-img { transform: scale(1); }
.lightbox-close, .lightbox-nav {
  position: absolute;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,.2); }
.lightbox-close {
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
}
.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: #eaf7fc;
  font-family: var(--font-nav);
  font-size: 14px;
  letter-spacing: .04em;
}
@media (max-width: 640px) {
  .lightbox-nav { width: 42px; height: 42px; font-size: 24px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 10px; right: 10px; }
}

/* Pricing */
.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  text-align: center;
}
.price-card .price { font-family: var(--font-title); font-size: 36px; color: var(--brand); margin: 8px 0 16px; }
.price-card.featured { border-color: var(--brand); box-shadow: 0 12px 30px rgba(26,162,207,.18); transform: translateY(-8px); }

/* Accessibility: visible keyboard focus */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--brand-dark);
  outline-offset: 2px;
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* Scroll reveal — content fades and settles in as it enters view.
   Critically-damped feel (no overshoot): content appearing is a passive
   event, not a gesture, so we ease out rather than bounce. */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Press feedback fires on pointer-down, not on release */
.btn:active { transform: scale(0.97); transition-duration: .1s; }
.card:active, .testimonial:active, .price-card:active { transform: scale(0.99); }

/* Translucent header — content scrolls underneath, edge fades instead of a hard rule */
.site-header {
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border-bottom: none;
  box-shadow: 0 1px 0 rgba(28,42,51,.08), 0 8px 24px -16px rgba(28,42,51,.15);
}

@media (prefers-reduced-transparency: reduce) {
  .site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
}
