/* =============================================
   Klique Marketing — Main Stylesheet
   klique.co.ke | Nairobi, Kenya
   ============================================= */

:root {
  --navy:         #0c2635;
  --navy-dark:    #071820;
  --navy-mid:     #183d52;
  --navy-light:   #e8f2f7;
  --orange:       #e06b1a;
  --orange-dark:  #c05812;
  --orange-light: #fff0e6;
  --text:         #1a2e3b;
  --text-mid:     #4a6070;
  --text-light:   #718096;
  --white:        #ffffff;
  --bg-light:     #f4f8fb;
  --border:       #dce8ef;
  --shadow-sm:    0 1px 4px rgba(12,38,53,0.10);
  --shadow-md:    0 4px 16px rgba(12,38,53,0.14);
  --radius:       6px;
  --radius-lg:    12px;
  --max-w:        1100px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

/* =============================================
   HEADER & NAVIGATION
   ============================================= */

#header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: var(--shadow-md);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

#logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

#logo img {
  height: 48px;
  width: auto;
}

#navigation ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
}

#navigation a {
  color: #c8dce8;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}

#navigation a:hover,
#navigation li.selected a {
  color: #ffffff;
  background: rgba(255,255,255,0.1);
}

.nav-cta {
  background: var(--orange) !important;
  color: #ffffff !important;
  padding: 9px 18px !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--orange-dark) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* =============================================
   BUTTONS
   ============================================= */

.btn {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
}

.btn-primary {
  background: var(--orange);
  color: #ffffff;
  border-color: var(--orange);
}

.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(224,107,26,0.4);
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.5);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: #ffffff;
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: #ffffff;
}

/* =============================================
   HERO SECTION
   ============================================= */

#hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-mid) 100%);
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/Header Pic.png') center/cover no-repeat;
  opacity: 0.10;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  gap: 48px;
}

.hero-content {
  flex: 1;
  min-width: 0;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--orange-light);
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(28px, 5vw, 50px);
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 18px;
  color: #b0cdd9;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-image {
  flex-shrink: 0;
  width: 400px;
}

.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  width: 100%;
  height: 320px;
}

/* =============================================
   TRUST BAR
   ============================================= */

#trust-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.trust-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 32px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-mid);
  font-weight: 500;
}

.trust-icon {
  color: var(--orange);
  font-size: 16px;
  font-weight: 700;
}

/* =============================================
   SECTIONS — General
   ============================================= */

.section {
  padding: 80px 24px;
}

.section-light {
  background: var(--bg-light);
}

.section-navy {
  background: var(--navy);
  color: #ffffff;
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-label {
  display: inline-block;
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.section-header h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 16px;
}

.section-navy .section-header h2 {
  color: #ffffff;
}

.section-header p {
  font-size: 17px;
  color: var(--text-mid);
  line-height: 1.7;
}

.section-navy .section-header p {
  color: #9bbfce;
}

/* =============================================
   SERVICES GRID (Homepage)
   ============================================= */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--orange-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
}

.service-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
}

/* =============================================
   WHY KLIQUE
   ============================================= */

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.why-content h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(26px, 3.5vw, 36px);
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 20px;
}

.why-lead {
  font-size: 17px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 32px;
}

.trust-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.trust-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
}

.bullet-icon {
  width: 22px;
  height: 22px;
  background: var(--orange);
  border-radius: 50%;
  color: white;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-weight: 700;
}

.why-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.why-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* =============================================
   CTA SECTIONS
   ============================================= */

#cta-mid,
#cta-bottom {
  background: var(--navy);
}

.cta-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}

.cta-inner h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 16px;
}

.cta-inner p {
  font-size: 17px;
  color: #9bbfce;
  line-height: 1.7;
  margin-bottom: 36px;
}

/* =============================================
   CONTACT STRIP
   ============================================= */

#contact-strip {
  background: var(--white);
  padding: 64px 24px;
  border-top: 1px solid var(--border);
}

.contact-strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: var(--navy-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-item-text h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-light);
  margin-bottom: 4px;
}

.contact-item-text p,
.contact-item-text a {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
}

.contact-item-text a:hover {
  color: var(--orange);
}

/* =============================================
   FOOTER
   ============================================= */

#footer {
  background: var(--navy-dark);
  color: #7da3b4;
  padding: 56px 24px 32px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .footer-logo {
  margin-bottom: 16px;
}

.footer-brand .footer-logo img {
  height: 44px;
  width: auto;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: #7da3b4;
  margin-bottom: 20px;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9bbfce;
  font-size: 15px;
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.social-link:hover {
  background: var(--orange);
  color: #ffffff;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col ul li a {
  font-size: 14px;
  color: #7da3b4;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #ffffff;
}

.footer-col address {
  font-style: normal;
  font-size: 14px;
  color: #7da3b4;
  line-height: 1.8;
}

.footer-col address a {
  color: #7da3b4;
  text-decoration: none;
}

.footer-col address a:hover {
  color: var(--orange);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: #5a7d8e;
}

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */

.page-hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 56px 24px 64px;
  text-align: center;
}

.breadcrumb {
  font-size: 13px;
  color: #7da3b4;
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--orange);
  text-decoration: none;
}

.page-hero h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(28px, 4vw, 44px);
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.2;
}

.page-hero p {
  font-size: 18px;
  color: #9bbfce;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* =============================================
   CONTENT PAGES — ABOUT
   ============================================= */

.page-section {
  padding: 72px 24px;
}

.page-section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.content-body h2 {
  font-family: Georgia, serif;
  font-size: clamp(22px, 3vw, 32px);
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.2;
}

.content-body p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 16px;
}

.content-body p:last-child {
  margin-bottom: 0;
}

/* =============================================
   SERVICES PAGE — Detail cards
   ============================================= */

.service-detail {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin-bottom: 24px;
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.service-detail .service-icon {
  flex-shrink: 0;
}

.service-detail h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}

.service-detail p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 8px;
}

.service-detail p:last-child {
  margin-bottom: 0;
}

/* =============================================
   CONTACT PAGE
   ============================================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}

.contact-info h2 {
  font-family: Georgia, serif;
  font-size: clamp(24px, 3vw, 32px);
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.2;
}

.contact-info > p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.whatsapp-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s;
}

.whatsapp-cta:hover {
  background: #1ab354;
}

.contact-form-wrap {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-form-wrap h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(26,64,96,0.1);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.form-note {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 12px;
  text-align: center;
}

.form-note a {
  color: var(--orange);
}

/* Form validation */
.field-required {
  color: var(--orange);
  font-weight: 700;
}

.field-error {
  display: none;
  font-size: 13px;
  color: #c0392b;
  margin-top: 4px;
}

.field-invalid {
  border-color: #c0392b !important;
  box-shadow: 0 0 0 3px rgba(192,57,43,0.12) !important;
}

/* Form success state */
.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success-icon {
  width: 56px;
  height: 56px;
  background: #27ae60;
  border-radius: 50%;
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.form-success h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.form-success p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
}

.form-success p a {
  color: var(--orange);
  text-decoration: underline;
}

.btn-full {
  width: 100%;
}

/* Utility helpers */
.text-center {
  text-align: center;
}

.mt-40 {
  margin-top: 40px;
}

.cta-bottom-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {
  .why-grid,
  .two-col,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .hero-image {
    display: none;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  #navigation {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    padding: 16px;
    box-shadow: var(--shadow-md);
  }

  #navigation.open {
    display: block;
  }

  #navigation ul {
    flex-direction: column;
    gap: 4px;
  }

  #navigation li {
    width: 100%;
  }

  #navigation a {
    display: block;
    padding: 12px 16px;
    font-size: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-strip-inner {
    grid-template-columns: 1fr;
  }

  .service-detail {
    flex-direction: column;
  }

  .trust-bar-inner {
    gap: 8px 20px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 56px 16px;
  }

  .page-section {
    padding: 48px 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    padding: 56px 16px;
  }

  .contact-form-wrap {
    padding: 28px 20px;
  }
}
