/* ==========================================================================
   TechLand Ghana — stylesheet
   Brand colors pulled from the company logo.
   ========================================================================== */

:root {
  --blue: #0f75bc;
  --blue-dark: #0b5a92;
  --gold: #f1a921;
  --gold-dark: #dd9933;
  --dark: #0a0a0a;
  --bg-light: #f5f5f5;
  --footer-bg: #1c1c1c;
  --footer-text: #b3b3b3;
  --text: #1a1a1a;
  --text-soft: #565656;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(10, 10, 10, 0.08);
  --shadow-hover: 0 16px 40px rgba(10, 10, 10, 0.14);
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Montserrat', -apple-system, Segoe UI, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  margin: 0 0 0.5em;
  line-height: 1.25;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

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

.eyebrow {
  display: inline-block;
  color: var(--gold-dark);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 10px;
}

.section { padding: 88px 0; }
.section-light { background: var(--bg-light); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-header h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.section-header p { color: var(--text-soft); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary { background: var(--gold); color: var(--dark); }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-outline { border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--dark); transform: translateY(-2px); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: var(--shadow-hover); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand img { height: 42px; }

.main-nav ul { display: flex; align-items: center; gap: 6px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: block;
  padding: 12px 16px;
  color: #e9e9e9;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 6px;
  transition: color 0.15s ease;
}
.main-nav > ul > li > a:hover { color: var(--gold); }
.caret { font-size: 0.7em; margin-left: 2px; }

.dropdown {
  position: absolute;
  top: calc(100% - 4px);
  left: 0;
  min-width: 240px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.15s ease;
}
.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: 10px 14px;
  color: var(--text);
  border-radius: 6px;
  font-size: 0.92rem;
}
.dropdown li a:hover { background: var(--bg-light); color: var(--blue); }

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

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(120deg, #0a0a0a 0%, #142a3d 55%, #0a3a5c 100%);
  color: var(--white);
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(241,169,33,0.14), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(15,117,188,0.28), transparent 45%);
}
.hero-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 90px 24px;
  width: 100%;
}
.hero-slide { display: none; }
.hero-slide.active { display: block; animation: fadeUp 0.6s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  max-width: 760px;
}
.hero .subtitle {
  font-size: 1.15rem;
  color: #d8dee5;
  max-width: 560px;
  margin-bottom: 32px;
}
.hero-tagline {
  font-family: 'Poppins', sans-serif;
  font-style: italic;
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 18px;
}
.hero-dots { position: absolute; right: 24px; bottom: 28px; display: flex; gap: 10px; z-index: 2; }
.hero-dots button {
  width: 10px; height: 10px; border-radius: 50%;
  border: none; background: rgba(255,255,255,0.35); cursor: pointer; padding: 0;
}
.hero-dots button.active { background: var(--gold); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
.about-copy p { color: var(--text-soft); }
.value-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.value-pills span {
  background: var(--white); border: 1px solid #e7e7e7; padding: 8px 16px;
  border-radius: 50px; font-size: 0.85rem; font-weight: 600; color: var(--blue);
}
.mv-cards { display: grid; gap: 18px; }
.mv-card {
  background: var(--white); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow); border-top: 3px solid var(--gold);
}
.mv-card:nth-child(2) { border-top-color: var(--blue); }
.mv-card h3 { font-size: 1.05rem; }
.mv-card p { color: var(--text-soft); margin: 0; font-size: 0.95rem; }

/* ---------- Cards grid (products/services) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 26px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; color: var(--dark); flex-shrink: 0;
}
.card-icon.blue { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: var(--white); }
.card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.card p { color: var(--text-soft); font-size: 0.95rem; flex-grow: 1; }
.card .card-link { margin-top: 16px; font-weight: 600; color: var(--blue); font-size: 0.9rem; }
.card .card-link:hover { color: var(--gold-dark); }

/* ---------- Closing CTA ---------- */
.cta-banner {
  background: var(--dark);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}
.cta-banner h2 { color: var(--gold); }
.cta-banner p { max-width: 680px; margin: 0 auto 28px; color: #d6d6d6; }

/* ---------- Inner pages (services / products) ---------- */
.page-hero {
  background: linear-gradient(120deg, #0a0a0a 0%, #142a3d 100%);
  color: var(--white);
  padding: 70px 0 60px;
}
.breadcrumb { font-size: 0.85rem; color: #b7c2cc; margin-bottom: 12px; }
.breadcrumb a { color: var(--gold); }
.page-body { padding: 70px 0; }
.page-body .lede { font-size: 1.08rem; color: var(--text-soft); max-width: 760px; }
.feature-list { display: grid; gap: 14px; margin-top: 28px; max-width: 640px; }
.feature-list li {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--bg-light); padding: 14px 18px; border-radius: 8px;
}
.feature-list li::before { content: "\2713"; color: var(--blue); font-weight: 700; }
.coming-soon-badge {
  display: inline-block; background: var(--gold); color: var(--dark);
  padding: 6px 16px; border-radius: 50px; font-weight: 700; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px;
}

/* ---------- Forms ---------- */
.form-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 36px; max-width: 620px;
}
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 12px 14px; border: 1px solid #dcdcdc; border-radius: 8px;
  font-family: inherit; font-size: 0.95rem;
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--blue); }
.form-note { font-size: 0.85rem; color: var(--text-soft); margin-top: 14px; }
.alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 22px; font-size: 0.92rem; }
.alert-success { background: #e6f6ea; color: #17703a; border: 1px solid #bfe6cb; }
.alert-error { background: #fdecec; color: #a5271e; border: 1px solid #f5c2c2; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info-card {
  background: var(--dark); color: var(--white); border-radius: var(--radius);
  padding: 36px; height: fit-content;
}
.contact-info-card h3 { color: var(--gold); }
.contact-info-card .contact-row { display: flex; gap: 12px; margin-top: 18px; align-items: flex-start; }
.contact-info-card .contact-row strong { display: block; font-size: 0.85rem; color: #a9b4bd; font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding-top: 64px; }
.footer-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px 48px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px;
}
.footer-logo { height: 38px; margin-bottom: 14px; filter: brightness(1.1); }
.footer-brand p { font-style: italic; color: var(--gold); font-size: 0.9rem; }
.footer-col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--gold); }
.contact-list li { display: flex; gap: 8px; }
.social-links { display: flex; gap: 10px; margin-top: 18px; }
.social-links a {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700;
}
.social-links a:hover { background: var(--gold); color: var(--dark); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); text-align: center;
  padding: 20px 24px; font-size: 0.83rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--dark); max-height: 0; overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .main-nav.open { max-height: 640px; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 10px 0; }
  .main-nav > ul > li > a { padding: 14px 24px; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; background: rgba(255,255,255,0.04); display: none; margin: 0 12px;
  }
  .has-dropdown.open .dropdown { display: block; }
  .dropdown li a { color: #e9e9e9; }
  .dropdown li a:hover { background: rgba(255,255,255,0.08); color: var(--gold); }
  .footer-inner { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}
