/* ═══════════════════════════════════════════════════════════
   MAKICHA ENTREPRISES LIMITED — MAIN STYLESHEET
   Author: Design System v1.0
   Structure: 
     1. CSS Variables & Reset
     2. Typography
     3. Layout & Containers
     4. Components (Buttons, Badges, Cards)
     5. Navigation
     6. Hero Section
     7. About Section
     8. Services Section
     9. Construction Section
     10. Projects Section
     11. Certifications Section
     12. Why Us Section
     13. Contact Section
     14. Footer
     15. Animations & Utilities
═══════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────
   1. CSS VARIABLES & RESET
───────────────────────────────────────────────────────── */
:root {
  /* Brand Colors */
  --teal:        #2a7a6f;
  --teal-dark:   #1e5c53;
  --teal-light:  #3a9d8e;
  --teal-pale:   #e8f5f3;
  --teal-subtle: #f0f8f7;

  /* Neutrals */
  --navy:        #0f1e2a;
  --navy-mid:    #1a2e3e;
  --slate:       #2e4050;
  --mid-grey:    #6b7e8a;
  --light-grey:  #e8edef;
  --off-white:   #f5f7f6;
  --white:       #ffffff;

  /* Text */
  --text:        #1c2e25;
  --text-light:  #526660;
  --text-muted:  #8a9e98;

  /* Accent */
  --gold:        #c9a227;

  /* Shadows */
  --shadow-sm:   0 2px 12px rgba(15,30,42,0.07);
  --shadow-md:   0 8px 32px rgba(15,30,42,0.10);
  --shadow-lg:   0 20px 60px rgba(15,30,42,0.14);
  --shadow-teal: 0 8px 32px rgba(42,122,111,0.22);

  /* Spacing */
  --section-pad: 7rem;
  --container-w: 1220px;
  --gutter:      2rem;

  /* Borders */
  --radius:      4px;
  --radius-lg:   8px;

  /* Transitions */
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:    cubic-bezier(0, 0, 0.2, 1);

  /* Fonts */
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Outfit', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

/* ─────────────────────────────────────────────────────────
   2. TYPOGRAPHY
───────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  line-height: 1.12;
  font-weight: 400;
  color: var(--navy);
}

h1 { font-size: clamp(2.6rem, 5.5vw, 5rem); font-weight: 300; }
h2 { font-size: clamp(1.9rem, 3.5vw, 3.2rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 500; }
h4 { font-family: var(--font-sans); font-size: 1rem; font-weight: 600; }
h5 { font-family: var(--font-sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; }
h6 { font-family: var(--font-sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }

p {
  font-size: 0.96rem;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.78;
}

strong {
  font-weight: 600;
  color: var(--text);
}

/* ─────────────────────────────────────────────────────────
   3. LAYOUT & CONTAINERS
───────────────────────────────────────────────────────── */
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.1rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 26px;
  height: 1.5px;
  background: currentColor;
  flex-shrink: 0;
}

.section-label.light {
  color: var(--teal-light);
}

.section-header.center {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4.5rem;
}

.section-header.center .section-label {
  justify-content: center;
}

.section-header.center h2 {
  margin-bottom: 1rem;
}

.section-header.center p {
  font-size: 1rem;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--teal);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ─────────────────────────────────────────────────────────
   4. COMPONENTS — Buttons, Badges
───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius);
  transition: all 0.25s var(--ease);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--teal-light);
  box-shadow: var(--shadow-teal);
  transform: translateY(-1px);
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.28);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.55);
  color: white;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--teal-pale);
  color: var(--teal-dark);
  font-size: 0.74rem;
  font-weight: 500;
  padding: 0.42rem 0.9rem;
  border-radius: var(--radius);
  border: 1px solid rgba(42,122,111,0.15);
  transition: background 0.2s, box-shadow 0.2s;
}
.badge:hover {
  background: #d8efeb;
  box-shadow: var(--shadow-sm);
}
.badge svg {
  color: var(--teal);
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────
   5. NAVIGATION
───────────────────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

#navbar {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(42,122,111,0.10);
  transition: box-shadow 0.3s var(--ease);
}

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

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

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;

}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 0.22rem;
}

.logo-name {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--teal-dark);
  letter-spacing: 0.03em;
}

.logo-sub {
  font-family: var(--font-sans);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--slate);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.2s;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav-links a:hover {
  color: var(--teal);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

/* AFTER */
.nav-cta {
  background: var(--teal) !important;
  color: white !important;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius);
  font-size: 0.76rem !important;
  letter-spacing: 0.1em !important;
  transition: background 0.2s, transform 0.2s !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--teal-dark) !important;
  transform: translateY(-1px) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  width: 40px;
  height: 40px;
}

.ham-line {
  display: block;
  height: 2px;
  background: var(--teal-dark);
  border-radius: 2px;
  transition: all 0.28s var(--ease);
}

.ham-line:nth-child(1) { width: 26px; }
.ham-line:nth-child(2) { width: 18px; }
.ham-line:nth-child(3) { width: 22px; }

.hamburger.active .ham-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  width: 24px;
}
.hamburger.active .ham-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.active .ham-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  width: 24px;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--light-grey);
  padding: 1rem var(--gutter) 1.5rem;
  box-shadow: var(--shadow-md);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.mob-link {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--light-grey);
  letter-spacing: 0.04em;
  transition: color 0.2s, padding-left 0.2s;
}

.mob-link:hover {
  color: var(--teal);
  padding-left: 0.5rem;
}

.mob-cta {
  display: inline-flex;
  align-items: center;
  background: var(--teal);
  color: white !important;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius);
  margin-top: 1rem;
  font-size: 0.84rem;
  text-align: center;
  justify-content: center;
  border-bottom: none !important;
}
.mob-cta:hover {
  background: var(--teal-dark) !important;
  padding-left: 1.4rem !important;
}

/* ─────────────────────────────────────────────────────────
   6. HERO SECTION
───────────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, #0e2030 45%, var(--teal-dark) 100%);
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
  position: relative;
}

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

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(42,122,111,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42,122,111,0.06) 1px, transparent 1px);
  background-size: 56px 56px;
}

.hero-rings {
  position: absolute;
  right: -10%;
  top: 50%;
  transform: translateY(-50%);
  width: 680px;
  height: 680px;
}

.hero-rings::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(42,122,111,0.18);
  border-radius: 50%;
}

.hero-rings::after {
  content: '';
  position: absolute;
  inset: 70px;
  border: 1px solid rgba(42,122,111,0.11);
  border-radius: 50%;
}

.hero-illustration {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: auto;
  opacity: 0.7;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Hero Left */
#hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

#hero h1 em {
  color: var(--teal-light);
  font-style: italic;
}

.hero-desc {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  margin-bottom: 2.5rem;
  max-width: 500px;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

/* Hero Right — Stats */
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5px;
  background: rgba(42,122,111,0.18);
  border: 1px solid rgba(42,122,111,0.22);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-card {
  background: rgba(255,255,255,0.04);
  padding: 2.2rem 2rem;
  backdrop-filter: blur(8px);
  transition: background 0.25s;
}

.stat-card:hover {
  background: rgba(255,255,255,0.07);
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 2.9rem;
  font-weight: 300;
  color: var(--teal-light);
  line-height: 1;
  margin-bottom: 0.4rem;
}

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

.hero-cert-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(42,122,111,0.2);
  padding: 0.75rem 1.2rem;
  border-radius: var(--radius);
  margin-top: 1.2rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
}

/* Scroll indicator */
.scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}

.scroll-down span {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.scroll-line {
  width: 1.5px;
  height: 42px;
  background: linear-gradient(to bottom, rgba(42,122,111,0.7), transparent);
  animation: scrollAnim 2s ease-in-out infinite;
}

/* ─────────────────────────────────────────────────────────
   7. ABOUT SECTION
───────────────────────────────────────────────────────── */
#about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.about-left h2 {
  margin-bottom: 1.4rem;
}

.about-left p {
  margin-bottom: 1.1rem;
}

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2rem;
}

/* About Cards */
.about-card {
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  margin-bottom: 1.2rem;
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  pointer-events: none;
}

.about-card.dark {
  background: var(--teal-dark);
}
.about-card.dark::before {
  border: 1px solid rgba(255,255,255,0.07);
}
.about-card.dark .about-card-label {
  color: var(--teal-light);
}
.about-card.dark h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
}
.about-card.dark p {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
}

.about-card.light {
  background: var(--off-white);
  border: 1px solid var(--light-grey);
}
.about-card.light::before {
  border: 1px solid rgba(42,122,111,0.08);
}
.about-card.light .about-card-label {
  color: var(--teal);
}
.about-card.light h3 {
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
}
.about-card.light p {
  font-size: 0.88rem;
}

.about-card-label {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  display: block;
}

/* ─────────────────────────────────────────────────────────
   8. SERVICES SECTION
───────────────────────────────────────────────────────── */
#services {
  background: var(--off-white);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5px;
  background: rgba(42,122,111,0.08);
  border: 1px solid rgba(42,122,111,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service-card {
  background: var(--white);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.35s var(--ease);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--teal-dark);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}

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

.service-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--teal-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  transition: background 0.35s, color 0.35s;
  flex-shrink: 0;
}

.service-card:hover .service-icon-wrap {
  background: rgba(255,255,255,0.12);
  color: white;
}

.service-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--light-grey);
  line-height: 1;
  transition: color 0.35s;
}

.service-card:hover .service-num {
  color: rgba(255,255,255,0.12);
}

.service-card h3 {
  position: relative;
  z-index: 1;
  color: var(--navy);
  margin-bottom: 0.85rem;
  font-size: 1.45rem;
  transition: color 0.35s;
}

.service-card:hover h3 {
  color: var(--white);
}

.service-card > p {
  position: relative;
  z-index: 1;
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
  transition: color 0.35s;
}

.service-card:hover > p {
  color: rgba(255,255,255,0.7);
}

.service-card--featured {
  background: var(--teal-subtle);
}

.featured-tag {
  position: relative;
  z-index: 1;
  display: inline-block;
  background: var(--teal);
  color: white;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.6rem;
  transition: background 0.35s;
}

.service-card:hover .featured-tag {
  background: rgba(255,255,255,0.25);
}

.service-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.81rem;
  color: var(--text-light);
  font-weight: 400;
  transition: color 0.35s;
}

.service-list li svg {
  color: var(--teal);
  flex-shrink: 0;
  transition: color 0.35s;
}

.service-card:hover .service-list li {
  color: rgba(255,255,255,0.75);
}

.service-card:hover .service-list li svg {
  color: rgba(255,255,255,0.55);
}

/* ─────────────────────────────────────────────────────────
   9. CONSTRUCTION SECTION
───────────────────────────────────────────────────────── */
#construction {
  background: var(--navy);
  overflow: hidden;
}

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

.construction-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(42,122,111,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42,122,111,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
}

.construction-illustration {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 55%;
  height: auto;
  opacity: 0.5;
}

.construction-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.construction-header h2 {
  color: var(--white);
}

.construction-header > p {
  max-width: 360px;
  text-align: right;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.construction-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.pillar {
  padding: 2.5rem 2rem;
  background: rgba(255,255,255,0.02);
  transition: background 0.3s var(--ease);
}

.pillar:hover {
  background: rgba(42,122,111,0.18);
}

.pillar-icon {
  color: var(--teal-light);
  margin-bottom: 1.1rem;
  opacity: 0.85;
}

.pillar h4 {
  color: var(--teal-light);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
}

.pillar p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
}

.pillar-cert {
  display: inline-block;
  margin-top: 0.9rem;
  background: rgba(42,122,111,0.2);
  border: 1px solid rgba(42,122,111,0.3);
  color: var(--teal-light);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  text-transform: uppercase;
}

.nca-banner {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  background: rgba(42,122,111,0.1);
  border: 1px solid rgba(42,122,111,0.22);
  border-radius: var(--radius-lg);
  padding: 1.8rem 2.2rem;
  position: relative;
  z-index: 1;
}

.nca-icon {
  width: 56px;
  height: 56px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.nca-text {
  flex: 1;
}

.nca-text h4 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.nca-text p {
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
}

.nca-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(42,122,111,0.2);
  border: 1px solid rgba(42,122,111,0.35);
  color: var(--teal-light);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}

.nca-link:hover {
  background: rgba(42,122,111,0.32);
  border-color: rgba(42,122,111,0.55);
}

/* ─────────────────────────────────────────────────────────
   10. PROJECTS SECTION
───────────────────────────────────────────────────────── */
#projects {
  background: var(--white);
}

.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  gap: 2rem;
}

.projects-header h2 {
  flex-shrink: 0;
}

.projects-header > p {
  max-width: 300px;
  text-align: right;
  font-size: 0.88rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.project-card {
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(42,122,111,0.18);
}

.project-card-header {
  background: var(--teal-dark);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
}

.project-card-header::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 110px;
  height: 110px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 50%;
  pointer-events: none;
}

.project-card--alt .project-card-header {
  background: var(--navy);
}

.project-num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 300;
  color: rgba(255,255,255,0.1);
  line-height: 1;
  margin-bottom: 0.8rem;
}

.project-client {
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 0.4rem;
}

.project-card-header h3 {
  color: var(--white);
  font-size: 1.2rem;
  position: relative;
  z-index: 1;
}

.project-ref {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  margin-top: 0.5rem;
  font-family: var(--font-sans);
  position: relative;
  z-index: 1;
}

.project-card-body {
  padding: 1.8rem 2rem;
}

.project-card-body p {
  font-size: 0.85rem;
  margin-bottom: 1.3rem;
  line-height: 1.72;
}

.project-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-tag {
  display: inline-block;
  background: var(--teal-pale);
  color: var(--teal-dark);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.75rem;
  border-radius: 20px;
}

/* ─────────────────────────────────────────────────────────
   11. CERTIFICATIONS SECTION
───────────────────────────────────────────────────────── */
#certifications {
  background: var(--off-white);
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.cert-card {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.cert-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.cert-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(42,122,111,0.15);
}

.cert-card:hover::after {
  transform: scaleX(1);
}

.cert-icon {
  width: 58px;
  height: 58px;
  background: var(--teal-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin: 0 auto 1.1rem;
}

.cert-card h4 {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.cert-card p {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.cert-valid {
  display: inline-block;
  margin-top: 0.9rem;
  background: var(--teal-pale);
  color: var(--teal-dark);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.28rem 0.75rem;
  border-radius: 20px;
}

/* ─────────────────────────────────────────────────────────
   12. WHY US SECTION
───────────────────────────────────────────────────────── */
#why {
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 7rem;
  align-items: start;
}

.why-left h2 {
  margin-bottom: 1.3rem;
}

.why-left > p {
  margin-bottom: 1.1rem;
}

.why-agpo-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--teal-dark);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 2rem;
}

.agpo-num {
  font-family: var(--font-serif);
  font-size: 3.8rem;
  font-weight: 300;
  color: var(--teal-light);
  line-height: 1;
  flex-shrink: 0;
}

.why-agpo-card strong {
  display: block;
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.why-agpo-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.84rem;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.value-item {
  padding: 1.8rem;
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s;
}

.value-item:hover {
  border-color: var(--teal);
  box-shadow: 0 4px 20px rgba(42,122,111,0.08);
  transform: translateY(-2px);
}

.value-icon {
  width: 40px;
  height: 40px;
  background: var(--teal-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-bottom: 0.9rem;
}

.value-item h4 {
  color: var(--navy);
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
}

.value-item p {
  font-size: 0.8rem;
  line-height: 1.65;
}

/* ─────────────────────────────────────────────────────────
   13. CONTACT SECTION
───────────────────────────────────────────────────────── */
#contact {
  background: var(--navy);
  overflow: hidden;
}

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

.contact-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(42,122,111,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42,122,111,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  position: relative;
  z-index: 1;
}

.contact-left h2 {
  color: var(--white);
  margin-bottom: 1.2rem;
}

.contact-left > p {
  color: rgba(255,255,255,0.52);
  margin-bottom: 2.8rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-style: normal;
}

.contact-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  background: rgba(42,122,111,0.18);
  border: 1px solid rgba(42,122,111,0.28);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-light);
  flex-shrink: 0;
}

.contact-item h5 {
  color: var(--teal-light);
  margin-bottom: 0.3rem;
}

.contact-item p {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
}

.contact-item a {
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.contact-item a:hover {
  color: var(--teal-light);
}

/* Form */
.contact-form-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-form-wrap h3 {
  color: var(--white);
  font-size: 1.55rem;
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.form-group {
  margin-bottom: 1.3rem;
}

.form-group label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.5rem;
}

.form-group label span {
  color: var(--teal-light);
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  padding: 0.8rem 1rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.22s, background 0.22s;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.2);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  background: rgba(255,255,255,0.07);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}

.select-wrap {
  position: relative;
}

.select-wrap select {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.65);
  padding: 0.8rem 2.5rem 0.8rem 1rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.22s;
}

.select-wrap select:focus {
  border-color: var(--teal);
}

.select-wrap select option {
  background: var(--navy);
  color: var(--white);
}

.select-arrow {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.4);
  pointer-events: none;
}

.btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--teal);
  color: var(--white);
  border: none;
  padding: 0.95rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
}

.btn-submit:hover {
  background: var(--teal-light);
  transform: translateY(-1px);
}

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

.btn-submit.success {
  background: #1e7e34;
}

/* ─────────────────────────────────────────────────────────
   14. FOOTER
───────────────────────────────────────────────────────── */
footer {
  background: #0a1520;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 5rem;
  padding-top: 4rem;
  padding-bottom: 3rem;
  align-items: start;
}

.footer-brand {
  max-width: 380px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  opacity: 0.8;
}

.footer-logo span {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  font-weight: 400;
}

.footer-brand > p {
  color: rgba(255,255,255,0.3);
  font-size: 0.82rem;
  line-height: 1.7;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-nav-col h6 {
  color: rgba(255,255,255,0.35);
  margin-bottom: 1rem;
}

.footer-nav-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-nav-col a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.28);
  transition: color 0.2s;
}

.footer-nav-col a:hover {
  color: var(--teal-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 1.3rem 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom-inner p {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.22);
}

/* ─────────────────────────────────────────────────────────
   15. ANIMATIONS & UTILITIES
───────────────────────────────────────────────────────── */

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Keyframes */
@keyframes pulseAnim {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.45; transform: scale(0.8); }
}

@keyframes scrollAnim {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Utility: visually hidden (accessible) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ─────────────────────────────────────────────────────────
   SOCIAL MEDIA BLOCK (Contact Section)
───────────────────────────────────────────────────────── */
.social-block {
  margin-top: 2.2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.social-label {
  color: var(--teal-light);
  margin-bottom: 1rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
}

.social-links {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s var(--ease), background 0.22s, box-shadow 0.22s;
  text-decoration: none;
  flex-shrink: 0;
}

.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

/* WhatsApp */
.social-btn--whatsapp {
  background: #25D366;
  color: white;
}
.social-btn--whatsapp:hover { background: #1da851; }

/* Facebook */
.social-btn--facebook {
  background: #1877F2;
  color: white;
}
.social-btn--facebook:hover { background: #1060c9; }

/* Instagram */
.social-btn--instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: white;
}
.social-btn--instagram:hover { opacity: 0.88; }

/* X / Twitter */
.social-btn--x {
  background: #000000;
  color: white;
  border: 1px solid rgba(255,255,255,0.15);
}
.social-btn--x:hover { background: #1a1a1a; }

/* LinkedIn */
.social-btn--linkedin {
  background: #0A66C2;
  color: white;
}
.social-btn--linkedin:hover { background: #004f9a; }

/* TikTok */
.social-btn--tiktok {
  background: #010101;
  color: white;
  border: 1px solid rgba(255,255,255,0.1);
}
.social-btn--tiktok:hover { background: #1a1a1a; }

/* ─────────────────────────────────────────────────────────
   FOOTER SOCIAL LINKS
───────────────────────────────────────────────────────── */
.footer-social {
  display: flex;
  gap: 0.55rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}

.footer-social-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.footer-social-link:hover {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
  transform: translateY(-2px);
}

/* Contact link hover states */
.contact-item a {
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
  text-decoration: none;
}
.contact-item a:hover {
  color: var(--teal-light);
  text-decoration: underline;
}
