/* ================================================================
   OMO MICROFINANCE — Main Stylesheet
   Author: Omo Microfinance Web Team
   Structure:
     1. CSS Variables (colors, fonts, spacing, radius)
     2. Reset & Base
     3. Utility Classes
     4. Layout (Container)
     5. Buttons
     6. Navbar
     7. Hero Section
     8. Services Section
     9. Stats Section
    10. About / Why Choose Us
    11. Testimonials
    12. Contact / Apply Form
    13. Footer
    14. Scroll Reveal Animations
    15. Responsive (Mobile & Tablet)
================================================================ */


/* ============================================================
   1. CSS VARIABLES
   Edit colors, fonts, and spacing here to rebrand the site.
============================================================ */
:root {
  /* Brand Colors */
  --color-primary:        #1a5c38;   /* Deep forest green — main brand color     */
  --color-primary-light:  #2a7a4e;   /* Lighter green for hover states            */
  --color-primary-faint:  #edf5f0;   /* Very light green for backgrounds          */
  --color-gold:           #c9950a;   /* Warm Ethiopian gold — accent color        */
  --color-gold-light:     #f6c94e;   /* Lighter gold for highlights               */
  --color-gold-faint:     #fdf8ea;   /* Very light gold for backgrounds           */

  /* Neutral Colors */
  --color-white:          #ffffff;
  --color-bg:             #f8f7f4;   /* Warm off-white page background            */
  --color-surface:        #ffffff;   /* Card / panel background                   */
  --color-border:         #e8e4dc;   /* Subtle warm border                        */
  --color-text:           #1a1a1a;   /* Main body text                            */
  --color-text-muted:     #6b6b6b;   /* Secondary / muted text                    */

  /* Accent Palette (service cards) */
  --color-blue:           #2563eb;
  --color-blue-faint:     #eff6ff;
  --color-green-accent:   #059669;
  --color-green-faint:    #ecfdf5;
  --color-amber:          #d97706;
  --color-amber-faint:    #fffbeb;
  --color-purple:         #7c3aed;
  --color-purple-faint:   #f5f3ff;

  /* Typography */
  --font-body:       'Inter', sans-serif;
  --font-display:    'Playfair Display', Georgia, serif;
  --font-ethiopic:   'Noto Serif Ethiopic', serif;

  /* Spacing */
  --space-xs:   0.5rem;    /*  8px */
  --space-sm:   1rem;      /* 16px */
  --space-md:   1.5rem;    /* 24px */
  --space-lg:   2rem;      /* 32px */
  --space-xl:   3rem;      /* 48px */
  --space-2xl:  5rem;      /* 80px */
  --space-3xl:  6rem;      /* 96px */

  /* Border Radius */
  --radius-sm:  0.5rem;    /*  8px */
  --radius-md:  0.75rem;   /* 12px */
  --radius-lg:  1rem;      /* 16px */
  --radius-xl:  1.5rem;    /* 24px */
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 30px rgba(0,0,0,0.14);

  /* Transitions */
  --transition: 0.25s ease;
}


/* ============================================================
   2. RESET & BASE STYLES
============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

input, select, textarea, button {
  font-family: inherit;
  font-size: inherit;
}


/* ============================================================
   3. UTILITY CLASSES
============================================================ */

/* Text color shortcuts */
.text-primary { color: var(--color-primary); }
.text-gold    { color: var(--color-gold); }
.text-muted   { color: var(--color-text-muted); }

/* Section shared spacing */
.section {
  padding: var(--space-3xl) 0;
}

/* Section header block (centered) */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-2xl);
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}


/* ============================================================
   4. LAYOUT — CONTAINER
============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}


/* ============================================================
   5. BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), border-color var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

/* Green (primary) button */
.btn--green {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(26, 92, 56, 0.3);
}

.btn--green:hover {
  background-color: var(--color-primary-light);
  border-color: var(--color-primary-light);
  box-shadow: 0 6px 24px rgba(26, 92, 56, 0.4);
}

/* Gold (accent) button */
.btn--gold {
  background-color: var(--color-gold);
  color: var(--color-white);
  border-color: var(--color-gold);
  box-shadow: 0 4px 16px rgba(201, 149, 10, 0.30);
}

.btn--gold:hover {
  background-color: #b07f08;
  border-color: #b07f08;
  box-shadow: 0 6px 20px rgba(201, 149, 10, 0.40);
}

/* Outline button */
.btn--outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: rgba(26, 92, 56, 0.35);
}

.btn--outline:hover {
  border-color: var(--color-primary);
  background-color: var(--color-primary-faint);
}

/* Modifiers */
.btn--large { padding: 0.9rem 2.25rem; font-size: 1rem; }
.btn--full  { width: 100%; justify-content: center; }


/* ============================================================
   6. NAVBAR
============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background-color var(--transition), padding var(--transition), box-shadow var(--transition);
}

/* Scrolled state — added by JavaScript */
.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  padding: 0.75rem 0;
  box-shadow: var(--shadow-sm);
}

.navbar__inner {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

/* Brand / Logo */
.navbar__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.navbar__logo-wrap {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: var(--color-primary-faint);
  padding: 0.2rem;
  overflow: hidden;
}

.navbar__logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.navbar__brand-text {
  display: flex;
  flex-direction: column;
}

.navbar__brand-en {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--color-primary);
  line-height: 1.2;
}

.navbar__brand-am {
  font-family: var(--font-ethiopic);
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  line-height: 1;
}

/* Desktop links */
.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-left: auto;
}

.navbar__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  opacity: 0.85;
  transition: color var(--transition), opacity var(--transition);
}

.navbar__link:hover {
  color: var(--color-gold);
  opacity: 1;
}

.navbar__cta {
  margin-left: var(--space-sm);
  flex-shrink: 0;
}

/* Hamburger button */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  margin-left: auto;
}

.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Hamburger "open" animation */
.navbar__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.open span:nth-child(2) { opacity: 0; }
.navbar__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.navbar__mobile {
  display: none;
  background-color: var(--color-white);
  padding: var(--space-sm) var(--space-md) var(--space-md);
  border-top: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.navbar__mobile.open {
  display: block;
}

.navbar__mobile-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: var(--space-md);
}

.navbar__mobile-links .navbar__link {
  display: block;
  padding: 0.75rem var(--space-sm);
  border-radius: var(--radius-sm);
}

.navbar__mobile-links .navbar__link:hover {
  background-color: var(--color-primary-faint);
}


/* ============================================================
   7. HERO SECTION
============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: 80px;       /* offset for fixed navbar */
  overflow: hidden;
}

/* Background image layer */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Gradient overlay: white on left → transparent on right */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0.96) 0%,
    rgba(255,255,255,0.82) 50%,
    rgba(26,92,56,0.18) 100%
  );
}

/* Two-column content layout */
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

/* Left: headline content */
.hero__content {
  max-width: 560px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background-color: var(--color-primary-faint);
  border: 1px solid rgba(26, 92, 56, 0.2);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-gold);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.85); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

/* Amharic subtitle */
.hero__title-am {
  font-family: var(--font-ethiopic);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
  line-height: 1.4;
}

.hero__subtitle {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: var(--space-lg);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* Right: floating approval card */
.hero__card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.7);
  max-width: 360px;
  margin-left: auto;
  transition: transform 0.4s ease;
}

.hero__card:hover {
  transform: translateY(-6px);
}

.hero__card-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.hero__card-sub {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

/* Approval steps list inside hero card */
.hero__steps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero__step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background-color: rgba(248, 247, 244, 0.8);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
}

.hero__step-num {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: var(--color-primary-faint);
  color: var(--color-primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__step-check {
  margin-left: auto;
  color: var(--color-gold);
  flex-shrink: 0;
}

/* Spinning loader for step 2 */
.hero__spinner {
  margin-left: auto;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(26, 92, 56, 0.2);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  flex-shrink: 0;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.hero__step-circle {
  margin-left: auto;
  width: 18px;
  height: 18px;
  border: 2px solid var(--color-border);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero__step--pending .hero__step-num {
  opacity: 0.45;
}

.hero__step--pending span {
  color: var(--color-text-muted);
}


/* ============================================================
   8. SERVICES SECTION
============================================================ */
.services {
  background-color: var(--color-bg);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

/* Individual Service Card */
.service-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Accent bar at top (shown on hover) */
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--color-primary), var(--color-gold));
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover::before {
  opacity: 1;
}

/* Icon wrapper — color variants */
.service-card__icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  transition: transform var(--transition);
}

.service-card:hover .service-card__icon {
  transform: scale(1.1);
}

.service-card__icon--blue   { background-color: var(--color-blue-faint);   color: var(--color-blue); }
.service-card__icon--green  { background-color: var(--color-green-faint);  color: var(--color-green-accent); }
.service-card__icon--amber  { background-color: var(--color-amber-faint);  color: var(--color-amber); }
.service-card__icon--purple { background-color: var(--color-purple-faint); color: var(--color-purple); }

.service-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.25rem;
  transition: color var(--transition);
}

.service-card:hover .service-card__title {
  color: var(--color-primary);
}

/* Amharic name */
.service-card__amharic {
  font-family: var(--font-ethiopic);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.service-card__desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: var(--space-md);
}

/* Rate / Amount metadata */
.service-card__meta {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-sm);
  margin-bottom: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-card__row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
}

.service-card__label { color: var(--color-text-muted); }
.service-card__value { font-weight: 600; color: var(--color-text); }

/* Learn More link */
.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: gap var(--transition);
}

.service-card__cta:hover {
  gap: 0.75rem;
}


/* ============================================================
   9. STATS SECTION
============================================================ */
.stats {
  background-color: var(--color-primary);
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
}

/* Decorative blobs behind stats */
.stats::before,
.stats::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.stats::before {
  width: 320px; height: 320px;
  background-color: rgba(201, 149, 10, 0.25);
  top: -80px; right: -80px;
}

.stats::after {
  width: 320px; height: 320px;
  background-color: rgba(255,255,255,0.08);
  bottom: -80px; left: -80px;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Dividers between stat items */
.stats__grid .stat:not(:first-child) {
  border-left: 1px solid rgba(255,255,255,0.15);
}

.stat {
  padding: var(--space-sm);
}

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--color-gold-light);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat__label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: 0.25rem;
}

.stat__amharic {
  font-family: var(--font-ethiopic);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}


/* ============================================================
   10. ABOUT / WHY CHOOSE US
============================================================ */
.about {
  background-color: var(--color-white);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

/* Left visual panel */
.about__visual {
  position: relative;
}

.about__panel {
  background-color: var(--color-primary);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-xl);
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.about__panel-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

.about__panel-text {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  max-width: 340px;
}

/* Floating badge overlay */
.about__badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.about__badge-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-gold-faint);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about__badge-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
}

.about__badge-sub {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* Feature cards inside About section */
.features__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.feature__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--color-primary-faint);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.feature__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.feature__desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}


/* ============================================================
   11. TESTIMONIALS
============================================================ */
.testimonials {
  background-color: var(--color-bg);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.testimonial-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Large decorative quote mark */
.testimonial-card__quote-mark {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 7rem;
  line-height: 1;
  color: var(--color-primary);
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
}

/* Gold stars */
.testimonial-card__stars {
  color: var(--color-gold);
  font-size: 1.125rem;
  letter-spacing: 2px;
  margin-bottom: var(--space-sm);
}

.testimonial-card__text {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  font-style: italic;
  line-height: 1.75;
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
  min-height: 120px;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-sm);
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-primary-faint);
  flex-shrink: 0;
}

.testimonial-card__name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text);
}

.testimonial-card__role {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}


/* ============================================================
   12. CONTACT / APPLY FORM
============================================================ */
.contact {
  background-color: var(--color-white);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

/* Contact Info Column */
.contact__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.contact__detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.contact__detail-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--color-primary-faint);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact__detail-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.contact__detail-text {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Form Column */
.contact__form-wrap {
  background-color: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

/* Subtle gold glow top-right */
.contact__form-wrap::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background-color: var(--color-gold-faint);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

.contact__form-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-md);
  position: relative;
}

/* Form Elements */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  position: relative;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
}

.form-input,
.form-select,
.form-textarea {
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  background-color: var(--color-bg);
  color: var(--color-text);
  font-size: 0.9375rem;
  transition: border-color var(--transition), background-color var(--transition);
  width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: var(--color-white);
}

/* Make select look consistent */
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236b6b6b' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

/* Inline validation error */
.form-error {
  font-size: 0.8125rem;
  color: #dc2626;
  display: none;
}

.form-error.visible {
  display: block;
}

/* Input in error state */
.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: #dc2626;
}

/* Success message shown after submission */
.form-success {
  display: none;
  align-items: center;
  gap: 0.75rem;
  padding: var(--space-sm) var(--space-md);
  background-color: var(--color-primary-faint);
  border: 1px solid rgba(26,92,56,0.25);
  border-radius: var(--radius-md);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9375rem;
  margin-top: var(--space-xs);
}

.form-success.visible {
  display: flex;
}


/* ============================================================
   13. FOOTER
============================================================ */
.footer {
  background-color: var(--color-primary);
  color: rgba(255,255,255,0.85);
  padding: var(--space-2xl) 0 var(--space-md);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

/* Brand column */
.footer__brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 0.5rem 0.75rem;
  display: inline-flex;
  margin-bottom: var(--space-sm);
}

.footer__logo-box {
  width: 36px;
  height: 36px;
  background-color: var(--color-white);
  border-radius: var(--radius-sm);
  padding: 0.2rem;
  overflow: hidden;
  flex-shrink: 0;
}

.footer__logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer__brand-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
}

.footer__brand-am {
  font-family: var(--font-ethiopic);
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.65);
  line-height: 1;
}

.footer__tagline {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: var(--space-md);
}

.footer__social {
  display: flex;
  gap: 0.75rem;
}

.footer__social-link {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: background-color var(--transition), color var(--transition);
}

.footer__social-link:hover {
  background-color: var(--color-gold);
}

/* Footer columns */
.footer__col-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: var(--space-md);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  display: inline-block;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--transition);
}

.footer__link:hover {
  color: var(--color-gold-light);
}

.footer__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-gold);
  flex-shrink: 0;
}

/* Footer contact list */
.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
}

.footer__contact-list svg {
  color: var(--color-gold-light);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Bottom bar */
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.15);
  flex-wrap: wrap;
}

.footer__copyright {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
}

.footer__legal {
  display: flex;
  gap: var(--space-md);
}

.footer__legal-link {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.footer__legal-link:hover {
  color: var(--color-white);
}


/* ============================================================
   14. SCROLL REVEAL ANIMATIONS
   Elements with .reveal start invisible and animate in when
   they enter the viewport (triggered by JavaScript).
============================================================ */
.fade-in-left,
.fade-in-right,
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left  { transform: translateX(-30px); }
.fade-in-right { transform: translateX(30px); }

.fade-in-left.visible,
.fade-in-right.visible,
.reveal.visible {
  opacity: 1;
  transform: translate(0, 0);
}


/* ============================================================
   15. RESPONSIVE — TABLET & MOBILE
============================================================ */

/* ---------- Tablet: ≤ 1024px ---------- */
@media (max-width: 1024px) {

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats__grid .stat:nth-child(2n+1) {
    border-left: none;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
}

/* ---------- Small Tablet: ≤ 900px ---------- */
@media (max-width: 900px) {

  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .hero__card {
    margin: 0 auto;
    max-width: 420px;
  }

  .about__inner {
    grid-template-columns: 1fr;
  }

  .about__badge {
    position: static;
    margin-top: var(--space-sm);
    align-self: flex-start;
  }

  .testimonials__grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact__inner {
    grid-template-columns: 1fr;
  }
}

/* ---------- Mobile: ≤ 640px ---------- */
@media (max-width: 640px) {

  .navbar__links,
  .navbar__cta {
    display: none;
  }

  .navbar__hamburger {
    display: flex;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .stats__grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats__grid .stat {
    border-left: none !important;
  }

  .features__grid {
    grid-template-columns: 1fr;
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero__title {
    font-size: 2.25rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .about__panel {
    padding: var(--space-xl) var(--space-md);
    aspect-ratio: unset;
  }
}
