/* ============================================================
   MUKULU GLOBAL — style.css
   Enterprise SaaS agency stylesheet.

   TABLE OF CONTENTS
   -----------------
   1.  CSS Custom Properties (variables)
   2.  CSS Reset & Base
   3.  Typography
   4.  Utility Classes
   5.  Buttons
   6.  Navbar
   7.  Hero Section
   8.  Section Shared Styles
   9.  Services / Pricing Section
   10. About Section
   11. Projects / Clients Section
   12. Contact Section
   13. Footer
   14. Scroll Fade-In Animations
   15. Media Queries (responsive)
============================================================ */
/* ============================================================
   1. CSS CUSTOM PROPERTIES
   Define the entire design system here so changes propagate
   globally. Update a variable → every element using it updates.
============================================================ */
/* ============================================================
   1. CSS CUSTOM PROPERTIES
============================================================ */
:root {
  --blue-dark:    #0d1f6e;
  --blue-mid:     #1a4fcc;
  --blue-light:   #4a7fe6;
  --accent:       #2563eb;
  --accent-hover: #094afe;
  --gold:         #f0b429;

  --white:     #ffffff;
  --off-white: #f4f7ff;
  --gray-50:   #f8fafc;
  --gray-100:  #f1f5f9;
  --gray-200:  #e2e8f0;
  --gray-400:  #94a3b8;
  --gray-600:  #475569;
  --gray-800:  #1e293b;
  --dark:      #06091a;
  --dark-2:    #113383;

  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;

  /* ── Layout ── */
  --navbar-height: 100px;                              /* Compact nav, more room for content */
  --section-pad:   clamp(25px, 4vh, 60px);            /* Scales with viewport height —
                                                         tight on short laptops, generous on big screens */
  --container-max: 1240px;

  --shadow-sm: 0 1px 4px  rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(13, 31, 110, 0.10);
  --shadow-lg: 0 16px 48px rgba(13, 31, 110, 0.16);
  --shadow-xl: 0 24px 72px rgba(13, 31, 110, 0.22);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --transition:      0.3s ease;
  --transition-slow: 0.6s ease;
}


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

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

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

section { scroll-margin-top: var(--navbar-height); }

ul { list-style: none; }

a {
  color: var(--blue-mid);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--blue-light); }

img, video {
  max-width: 100%;
  display: block;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  transition: top 0.2s ease;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

/* ============================================================
   3. TYPOGRAPHY
============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.18;
  color: var(--blue-dark);
}

h1 { font-size: clamp(1.9rem, 3.2vw, 2.9rem); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 2.1vw, 1.9rem); font-weight: 600; }
h3 { font-size: 1.08rem; font-weight: 600; }
h4 { font-size: 0.95rem; font-weight: 600; color: var(--blue-dark); }

p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
}

strong { color: var(--gray-800); font-weight: 600; }
em     { color: var(--blue-mid); font-style: normal; font-weight: 500; }


/* ============================================================
   4. UTILITY CLASSES
============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}

.content-section { padding: var(--section-pad) 0; }

.content-section:nth-of-type(even) { background: var(--off-white); }


/* ============================================================
   5. BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.42);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.9);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-service {
  background: var(--gray-100);
  color: var(--blue-dark);
  border-color: var(--gray-200);
  width: 100%;
  text-align: center;
  justify-content: center;
  margin-top: auto;
  font-size: 0.78rem;
  padding: 11px 22px;                       /* Slimmer than default .btn padding */
}
.btn-service:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25);
}

.btn-service--featured {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-service--featured:hover {
  background: var(--white);
  color: var(--blue-dark);
  border-color: var(--white);
}

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


/* ============================================================
   6. NAVBAR
============================================================ */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--navbar-height);
  background: var(--white);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: box-shadow var(--transition), background var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  background: var(--white);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 30px;
}

.logo a {
  display: block;
  outline: none;
  border: none;
  line-height: 0;
}

.logo a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Logo height matches the compact 72px navbar */
.logo-img {
  height: 110px;
  width: auto;
  display: block;
  object-fit: contain;
  border: none;
  outline: none;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              filter   0.35s ease;
}

.logo a:hover .logo-img {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 14px rgba(37, 99, 235, 0.35));
}

.nav-links ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-600);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--blue-mid);
  background: var(--off-white);
}

.nav-links .nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: 40px;
  box-shadow: 0 3px 12px rgba(37, 99, 235, 0.28);
}
.nav-links .nav-cta:hover,
.nav-links .nav-cta.active {
  background: var(--accent-hover) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(37, 99, 235, 0.38);
}
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.hamburger:hover { background: var(--gray-100); }

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity   0.25s ease,
              width     0.3s ease;
}

.nav-open .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-open .hamburger span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.nav-open .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ============================================================
   7. HERO SECTION
============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(145deg,
    var(--dark) 0%,
    var(--blue-dark) 55%,
    #0c2b94 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 45px 30px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.15;
  animation: blobFloat 10s ease-in-out infinite;
}

.blob-1 {
  width: 640px; height: 640px;
  background: var(--blue-mid);
  top: -180px; left: -180px;
  animation-delay: 0s;
}
.blob-2 {
  width: 480px; height: 480px;
  background: var(--blue-light);
  bottom: -100px; right: -100px;
  animation-delay: -4s;
}
.blob-3 {
  width: 360px; height: 360px;
  background: var(--accent);
  top: 40%; left: 55%;
  transform: translate(-50%, -50%);
  animation-delay: -7s;
  animation-name: blobFloat3;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(25px, -35px) scale(1.04); }
  66%       { transform: translate(-18px, 22px) scale(0.97); }
}

@keyframes blobFloat3 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  33%       { transform: translate(calc(-50% + 25px), calc(-50% - 35px)) scale(1.04); }
  66%       { transform: translate(calc(-50% - 18px), calc(-50% + 22px)) scale(0.97); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-headline {
  color: var(--white);
  margin-bottom: 1.8rem;
  line-height: 1.15;
  font-weight: 700;
}

.hero-headline .line-1,
.hero-headline .line-2,
.hero-headline .line-3 {
  display: block;
  opacity: 0;
  transform: translateY(28px);
  animation: heroFadeUp 0.9s ease forwards;
}
.hero-headline .line-1 { animation-delay: 0.3s; }
.hero-headline .line-2 { animation-delay: 0.5s; }
.hero-headline .line-3 { animation-delay: 0.7s; }

.accent-text { color: var(--blue-light); }

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-desc {
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto 2.8rem;
  line-height: 1.75;
  font-weight: 400;
  animation: heroFadeUp 0.8s ease 0.9s both;
}

.hero-ctas {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  animation: heroFadeUp 0.8s ease 1.1s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  animation: heroFadeUp 0.8s ease 1.3s both;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 0.4rem;
}

.stat { text-align: center; }

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  display: block;
  font-size: 0.5rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(22, 22, 22, 0.15);
}


/* ============================================================
   8. SECTION SHARED STYLES
============================================================ */
.section-header {
  text-align: center;
  margin-bottom: clamp(28px, 4vh, 56px);   /* Scales with viewport height */
}

.section-eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

.section-header h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}
.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--blue-light));
  border-radius: 2px;
}

.section-subtext {
  max-width: 580px;
  margin: 18px auto 0;
  font-size: 0.98rem;                       /* Slightly smaller, leaves room for cards */
  color: var(--gray-600);
  line-height: 1.65;
}


/* ============================================================
   9. SERVICES / PRICING SECTION
============================================================ */
.services-section { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

/* Individual pricing card — compact for laptop screens */
.service-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 24px 22px;                       /* Reduced from 32px 26px */
  display: flex;
  flex-direction: column;
  gap: 12px;                                /* Reduced from 16px */
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-dark), var(--accent));
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--blue-light);
}
.service-card:hover::before { opacity: 1; }

.service-tier-label {
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.service-name { font-size: 1.1rem; color: var(--blue-dark); }      /* Reduced from 1.2rem */

.service-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 1.75rem;                       /* Reduced from 2rem */
  font-weight: 800;
  color: var(--blue-dark);
}
.price-note { font-size: 0.78rem; color: var(--gray-400); }

.service-features {
  display: flex;
  flex-direction: column;
  gap: 7px;                                 /* Reduced from 10px — tighter list */
  flex: 1;
}
.service-features li {
  font-size: 0.82rem;                       /* Reduced from 0.88rem */
  color: var(--gray-600);
  padding-left: 20px;
  position: relative;
  line-height: 1.45;                        /* Tighter line height */
}
.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Featured card */
.service-card--featured {
  background: linear-gradient(145deg, var(--blue-dark) 0%, #0e2880 100%);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.service-card--featured::before {
  background: linear-gradient(90deg, #4a7fe6, #90c4ff);
  opacity: 1;
}
.service-card--featured .service-tier-label            { color: #90c4ff; }
.service-card--featured .service-name,
.service-card--featured .price-amount                  { color: var(--white); }
.service-card--featured .price-note                    { color: rgba(255, 255, 255, 0.5); }
.service-card--featured .service-features li           { color: rgba(255, 255, 255, 0.82); }
.service-card--featured .service-features li::before   { color: #90c4ff; }
.service-card--featured:hover                          { border-color: transparent; }

.popular-badge {
  position: absolute;
  top: 18px; right: 16px;
  background: linear-gradient(135deg, var(--gold), #d97706);
  color: var(--dark);
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 30px;
}


/* ============================================================
   10. ABOUT SECTION
============================================================ */
.about-section { background: var(--off-white); }

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.about-text p { font-size: 1.05rem; }

.about-values {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.value-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  transition: all var(--transition);
}
.value-card:hover {
  border-color: var(--blue-light);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.value-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.value-card h4 { margin-bottom: 6px; font-size: 0.95rem; }
.value-card p  { font-size: 0.88rem; color: var(--gray-600); line-height: 1.6; }


/* ============================================================
   11. PROJECTS / CLIENTS SECTION
============================================================ */
.projects-section { background: var(--white); }

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.project-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--transition);
  overflow: hidden;
  position: relative;
}

.project-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-dark), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--blue-light);
}
.project-card:hover::after { transform: scaleX(1); }

.project-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 4px;
}

.project-logo-wrap {
  width: 140px;
  height: 80px;
  border-radius: 10px;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  flex-shrink: 0;
  overflow: hidden;
}

.project-logo-wrap--white { background: #ffffff; }
.project-logo-wrap--dark  { background: #1a1a1a; }

.project-client-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-placeholder span {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
}

.project-badge {
  background: var(--off-white);
  color: var(--blue-mid);
  border: 1px solid var(--gray-200);
  border-radius: 30px;
  padding: 5px 14px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge--upcoming {
  background: #fff7ed;
  color: #c2410c;
  border-color: #fed7aa;
}

.project-card h3 { font-size: 1.15rem; color: var(--blue-dark); }
.project-card p  { font-size: 0.93rem; flex: 1; }

.project-link {
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--blue-mid);
  margin-top: auto;
  letter-spacing: 0.03em;
}
.project-link:hover { color: var(--accent); }

.project-card--upcoming       { opacity: 0.85; }
.project-card--upcoming:hover { opacity: 1; }


/* ============================================================
   12. CONTACT SECTION
============================================================ */
.contact-section {
  background: var(--off-white);
  padding: 20px 0 32px;
}
.contact-section .section-header { margin-bottom: 16px; }
.contact-section .section-header h2 { padding-bottom: 12px; }
.contact-section .section-subtext { margin-top: 10px; font-size: 0.92rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info h3 { font-size: 1.35rem; margin-bottom: 20px; }

.contact-detail { margin-bottom: 18px; }

.contact-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 6px;
}
.contact-detail a {
  font-size: 1rem;
  color: var(--blue-dark);
  font-weight: 500;
}
.contact-detail a:hover { color: var(--blue-mid); }

.social-links { display: flex; gap: 16px; flex-wrap: wrap; }

.social-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--blue-mid);
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: all var(--transition);
  letter-spacing: 0.04em;
}
.social-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.contact-promise {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 22px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--gray-200);
}
.contact-promise p {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue-mid);
}

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.form-group { margin-bottom: 12px; }

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--gray-800);
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-mid);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(26, 79, 204, 0.1);
}
.form-group textarea { resize: vertical; min-height: 70px; }

.contact-form .btn-full { margin-top: 4px; padding-top: 12px; padding-bottom: 12px; }

.form-group.field-error input,
.form-group.field-error select,
.form-group.field-error textarea {
  border-color: #dc2626;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

/* :user-invalid only fires AFTER the user has interacted with the field —
   prevents required fields from showing red on initial page load.
   Triggers on pattern mismatches, type mismatches, and empty required. */
.form-group input:user-invalid,
.form-group textarea:user-invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.08);
}


/* ============================================================
   13. FOOTER
============================================================ */
.site-footer {
  background: var(--dark-2);
  padding: 56px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 10px;
}

.footer-branding {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
}

.about-branding {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
}
.about-mukulu {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: rgb(11, 11, 11);
  letter-spacing: 0.04em;
}


.brand-mukulu {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: rgb(11, 11, 11);
  letter-spacing: 0.04em;
}
.brand-global {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue-light);
  letter-spacing: 0.04em;
}

.footer-social {
  display: flex;
  gap: 22px;
}
.footer-social a {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--transition);
}
.footer-social a:hover { color: var(--white); }

/* Bottom strip — legal links + copyright */
.footer-bottom {
  border-top: 0.5px solid rgba(255, 255, 255, 0.08);
  padding: 10px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.32);
}
.footer-legal-links {
  display: flex;
  gap: 20px;
}
.footer-legal-links a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}
.footer-legal-links a:hover { color: var(--white); }

/* Responsive footer */
@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .footer-legal-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }
}
/* ============================================================
   14. SCROLL FADE-IN ANIMATIONS
============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.services-grid .service-card:nth-child(1).fade-in { transition-delay: 0.05s; }
.services-grid .service-card:nth-child(2).fade-in { transition-delay: 0.15s; }
.services-grid .service-card:nth-child(3).fade-in { transition-delay: 0.25s; }
.services-grid .service-card:nth-child(4).fade-in { transition-delay: 0.35s; }

.project-grid .project-card:nth-child(1).fade-in { transition-delay: 0.05s; }
.project-grid .project-card:nth-child(2).fade-in { transition-delay: 0.18s; }
.project-grid .project-card:nth-child(3).fade-in { transition-delay: 0.31s; }
.project-grid .project-card:nth-child(4).fade-in { transition-delay: 0.44s; }


/* ============================================================
   15. MEDIA QUERIES
============================================================ */

/* ── Large desktop ── */
@media (max-width: 1280px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Tablet / small desktop ── */
@media (max-width: 1024px) {
  :root {
    --section-pad: 60px;
  }
  .about-grid   { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* ── Tablet ── */
@media (max-width: 768px) {
  :root {
    --navbar-height: 120px;
    --section-pad:   50px;
  }

  /* Show hamburger */
  .hamburger { display: flex; }

  /* Mobile nav dropdown */
  .nav-links {
    position: absolute;
    top: var(--navbar-height);
    left: 0; right: 0;
    background: var(--white);
    box-shadow: var(--shadow-md);
    padding: 20px 24px 28px;
    display: none;
    border-top: 1px solid var(--gray-200);
    animation: navSlideDown 0.28s cubic-bezier(0.4, 0, 0.2, 1) both;
    z-index: 999;
  }

  .nav-open .nav-links { display: block !important; }

  .nav-links ul  { flex-direction: column; gap: 4px; }
  .nav-links a   { display: block; padding: 11px 14px; }

  /* Smaller logo for 70px navbar */
  .logo-img { height: 100px; }

  /* Hero */
  .hero-section { padding: 52px 24px 60px; }
  .hero-ctas    { flex-direction: column; align-items: center; }
  .hero-stats   { gap: 28px; }
  .stat-num     { font-size: 1.8rem; }

  /* Services: single column on tablet */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Project logos scale down */
  .project-logo-wrap {
    width: 110px;
    height: 65px;
    padding: 8px 10px;
  }

  /* Two-column projects on tablet */
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Stack about + contact */
  .about-grid    { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid  { grid-template-columns: 1fr; gap: 40px; }

  /* Slimmer form padding */
  .contact-form-wrap { padding: 28px 24px; }

  /* Footer stack */
  .footer-inner     { flex-direction: column; align-items: center; text-align: center; }
  .footer-branding  { max-width: 100%; text-align: center; align-items: center; }
  .footer-legal     { text-align: center; }
  .footer-social    { justify-content: center; }
}

/* ── Mobile ── */
@media (max-width: 600px) {
  :root {
    --section-pad: 48px;
  }

  .container { padding: 0 20px; }

  /* Section header tighter */
  .section-header { margin-bottom: 36px; }
  .section-subtext { font-size: 0.95rem; }

  /* Services single column */
  .services-grid { grid-template-columns: 1fr; }

  /* Projects single column */
  .project-grid { grid-template-columns: 1fr; }

  /* Contact form slimmer */
  .contact-form-wrap { padding: 24px 18px; }
}

/* ── Small mobile ── */
@media (max-width: 480px) {
  :root {
    --section-pad: 40px;
  }

  /* Stats stack vertically */
  .hero-stats    { flex-direction: column; gap: 20px; }
  .stat-divider  { display: none; }

  /* Very slim form */
  .contact-form-wrap { padding: 20px 16px; }

  /* Service cards a bit tighter */
  .service-card { padding: 24px 20px; }
}

/* ── Mobile nav slide-down entrance ── */
@keyframes navSlideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   16. SUCCESS MODAL
============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 9, 26, 0.75);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 24px;
  opacity: 0;
  animation: modalFadeIn 0.3s ease forwards;
}

.modal-overlay[hidden] { display: none; }

.modal-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-xl);
  transform: scale(0.92);
  animation: modalScaleIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.modal-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--blue-light));
  color: var(--white);
  font-size: 2.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.modal-title {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.modal-message {
  color: var(--gray-600);
  margin-bottom: 28px;
  font-size: 1rem;
}

#modal-countdown {
  font-weight: 700;
  color: var(--accent);
}

@keyframes modalFadeIn {
  to { opacity: 1; }
}

@keyframes modalScaleIn {
  to { transform: scale(1); }
}

/* Lock body scroll when modal is open */
body.modal-open { overflow: hidden; }

/* ============================================================
   17. COOKIE BANNER
============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 680px;
  background: var(--gray-800);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  z-index: 1500;
  box-shadow: var(--shadow-xl);
  animation: cookieSlideUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.cookie-banner[hidden] { display: none; }

@keyframes cookieSlideUp {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.cookie-text {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
  margin: 0;
  flex: 1;
  min-width: 200px;
}

.cookie-policy-link {
  color: var(--blue-light);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-policy-link:hover { color: var(--white); }

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.btn-cookie {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all var(--transition);
}

.btn-cookie--accept {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-cookie--accept:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-cookie--decline {
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  border-color: rgba(255, 255, 255, 0.25);
}
.btn-cookie--decline:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 480px) {
  .cookie-banner {
    bottom: 16px;
    width: calc(100% - 32px);
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-actions { width: 100%; }
  .btn-cookie { flex: 1; text-align: center; }
}