/* ============================================
   CLARIDGE SOLAR – Main Stylesheet
   Kenya's Premier Solar Energy Company
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;600;700;800;900&display=swap');

/* ---- CSS Variables – Official Claridge Solar Brand Colours ---- */
:root {
  /* PRIMARY – Amber Gold */
  --gold:        #E6A00D;
  --gold-light:  #F2B530;
  --gold-dark:   #B07800;
  --gold-rgb:    230, 160, 13;

  /* SECONDARY – Deep Teal */
  --teal:        #0e3536;
  --teal-light:  #1A5E5F;
  --teal-dark:   #0a2222;
  --teal-rgb:    14, 53, 54;

  /* BACKGROUND SYSTEM – only these two approved teal shades */
  --black:       #0a2222;   /* deepest bg – dark teal */
  --dark:        #0a2222;   /* section bg – dark teal */
  --dark-card:   #0e3536;   /* card bg – medium teal */
  --dark-card2:  #0e3536;   /* elevated card – medium teal */
  --dark-border: #1a3f40;   /* borders */
  --dark-border2:#265050;   /* hover borders */

  /* TEXT */
  --white:       #FFFFFF;
  --grey-light:  #C0CCCC;
  --grey:        #7A9090;
  --grey-dark:   #4A6060;

  /* ACCENT */
  --green:       #22C55E;
  --green-dim:   rgba(34,197,94,0.15);
  --light-grey:  #F4F4F4;

  /* TYPOGRAPHY */
  --font-head:   'Outfit', sans-serif;
  --font-body:   'Inter', sans-serif;

  /* EFFECTS – subtle, no excessive glow */
  --shadow-gold: 0 4px 16px rgba(230,160,13,0.12);
  --shadow-card: 0 8px 24px rgba(0,0,0,0.4);
  --radius:      14px;
  --radius-lg:   22px;
  --transition:  0.35s cubic-bezier(0.4,0,0.2,1);

  /* SPACING */
  --nav-h:       72px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; outline: none; }

/* ---- Utility ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 64px 0; }
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

/* ---- Section Labels ---- */
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold);
  background: rgba(230,160,13,0.12);
  border: 1px solid rgba(230,160,13,0.25);
  padding: 6px 18px; border-radius: 100px;
  margin-bottom: 20px;
}
.section-label::before {
  content: ''; width: 6px; height: 6px;
  background: var(--gold); border-radius: 50%;
}

/* ---- Section Heading ---- */
.section-heading {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; line-height: 1.15;
  color: var(--white); margin-bottom: 20px;
}
.section-heading span { color: var(--gold); }
.section-sub {
  font-size: 1.05rem; color: var(--grey);
  max-width: 560px; line-height: 1.7;
}
.section-sub.center { margin: 0 auto; }

/* ============================================
   NAVBAR
   ============================================ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1005;
  padding: 18px 0;
  background: linear-gradient(180deg, rgba(6,16,15,0.96) 0%, rgba(6,16,15,0.6) 60%, transparent 100%);
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: rgba(8,40,42,0.99);
  border-bottom: 1px solid var(--dark-border);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
}
.nav-logo img { height: 48px; width: auto; }
.nav-logo-text { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; }
.nav-logo-text span { color: var(--gold); }
.nav-links {
  display: flex; align-items: center; gap: 28px;
}
.nav-links a {
  font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.8);
  position: relative; transition: color var(--transition);
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-cta {
  background: var(--gold); color: var(--black) !important;
  padding: 10px 24px; border-radius: 100px;
  font-weight: 700; font-size: 0.88rem;
  transition: var(--transition) !important;
  box-shadow: none;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--gold-light) !important;
  transform: translateY(-2px);
  box-shadow: none !important;
}
/* Hamburger */
/* -- Hamburger (mobile menu trigger) -- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #0e3536;
  border: 1.5px solid rgba(230,160,13,0.45);
  transition: background var(--transition), border-color var(--transition), transform 0.2s ease;
  flex-shrink: 0;
}
.hamburger:hover {
  background: #1A5E5F;
  border-color: rgba(230,160,13,0.85);
  transform: scale(1.05);
  box-shadow: none;
}
.hamburger:active { transform: scale(0.96); }

.hamburger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #E6A00D, #F2B530);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1),
              opacity   0.25s ease,
              width     0.3s ease;
}
/* Three lines: top full, middle short, bottom full */
.hamburger span:nth-child(1) { width: 20px; }
.hamburger span:nth-child(2) { width: 14px; margin-left: -6px; opacity: 0.7; }
.hamburger span:nth-child(3) { width: 20px; }

/* X close state */
.hamburger.open {
  background: #1A5E5F;
  border-color: rgba(230,160,13,0.7);
}
.hamburger.open span:nth-child(1) {
  width: 20px;
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.hamburger.open span:nth-child(3) {
  width: 20px;
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   SERVICES DROPDOWN MEGA-MENU
   ============================================ */
.nav-dropdown {
  position: relative;
}
/* Invisible hover bridge connecting Services link to mega panel */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 25px;
  background: transparent;
  z-index: 1999;
}
.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 5px;
}
/* Chevron arrow */
.nav-dropdown > a .nav-chevron {
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.nav-dropdown:hover > a .nav-chevron,
.nav-dropdown.open > a .nav-chevron {
  transform: rotate(180deg);
}

/* The mega panel */
.nav-mega {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  width: 620px;
  background: rgba(8, 28, 29, 0.98);
  border: 1.5px solid rgba(230, 160, 13, 0.35);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 2000;
}
/* Pointer / caret */
.nav-mega::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid rgba(230, 160, 13, 0.35);
}
.nav-mega::after {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid rgba(8, 28, 29, 0.98);
}

/* Show on hover (desktop) */
@media (min-width: 900px) {
  .nav-dropdown:hover .nav-mega,
  .nav-dropdown.open .nav-mega {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
}

/* Grid of service items */
.nav-mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px;
}
.nav-mega-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  transition: background var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: var(--white);
}
.nav-mega-item:hover {
  background: rgba(230,160,13,0.08);
}
.nav-mega-item:hover .nmi-title {
  color: var(--gold);
}
.nmi-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(230,160,13,0.1);
  border: 1px solid rgba(230,160,13,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: background var(--transition), border-color var(--transition);
}
.nav-mega-item:hover .nmi-icon {
  background: rgba(230,160,13,0.18);
  border-color: rgba(230,160,13,0.35);
}
.nmi-text { flex: 1; min-width: 0; }
.nmi-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 3px;
  transition: color var(--transition);
  white-space: nowrap;
}
.nmi-desc {
  font-size: 0.74rem;
  color: var(--grey);
  line-height: 1.4;
}

/* Footer strip inside mega menu */
.nav-mega-footer {
  border-top: 1px solid var(--dark-border);
  margin-top: 8px;
  padding: 12px 10px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.nav-mega-footer-link {
  font-size: 0.8rem;
  color: var(--grey);
  transition: color var(--transition);
  font-weight: 500;
}
.nav-mega-footer-link:hover { color: var(--gold); }
.nav-mega-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold);
  color: var(--black) !important;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-mega-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}
.nav-mega-cta::after { display: none !important; }

/* ── Mobile accordion for services dropdown ── */
.nav-mobile-dropdown {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 0 4px 20px;
}
.nav-mobile-dropdown a {
  font-size: 0.84rem !important;
  color: var(--grey-light) !important;
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-mobile-dropdown a:hover { color: var(--gold) !important; }
.nav-mobile-dropdown.is-open { display: flex; }

/* ============================================
   HERO
   ============================================ */
#hero {
  min-height: 100vh;
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0a2222 0%, #0e3536 45%, #0a2222 100%);
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 55% at 70% 35%, rgba(15,61,62,0.7) 0%, transparent 65%),
    radial-gradient(ellipse 35% 35% at 20% 75%, rgba(230,160,13,0.06) 0%, transparent 60%);
}
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(15,61,62,0.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,61,62,0.25) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 60px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(230,160,13,0.12); border: 1px solid rgba(230,160,13,0.3);
  padding: 8px 18px; border-radius: 100px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 28px; width: fit-content;
  animation: fadeInDown 0.8s ease;
}
.hero-badge .dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; animation: pulse 2s infinite; }
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 900; line-height: 1.1;
  color: var(--white); margin-bottom: 24px;
  animation: fadeInUp 0.9s ease 0.1s both;
}
.hero-title span { color: var(--white); display: block; }
.hero-title span.gold-line { color: var(--gold); }
.hero-desc {
  font-size: 1.1rem; color: rgba(255,255,255,0.7);
  line-height: 1.75; margin-bottom: 40px; max-width: 520px;
  animation: fadeInUp 0.9s ease 0.2s both;
}
.hero-actions {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  animation: fadeInUp 0.9s ease 0.3s both;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: var(--black);
  padding: 16px 32px; border-radius: 100px;
  font-weight: 700; font-size: 0.95rem;
  transition: var(--transition);
  box-shadow: none;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-3px); box-shadow: none; }
.btn-primary svg { transition: transform var(--transition); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.2);
  padding: 14px 28px; border-radius: 100px;
  font-weight: 600; font-size: 0.95rem;
  transition: var(--transition);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 44px;
  background: linear-gradient(135deg, rgba(22, 40, 40, 0.75) 0%, rgba(12, 26, 26, 0.88) 100%);
  border: 1px solid rgba(230, 160, 13, 0.28);
  border-radius: 18px;
  padding: 18px 24px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: fadeInUp 0.9s ease 0.4s both;
  width: fit-content;
  max-width: 100%;
}
.hero-stats > div:not(.hero-stat-divider) {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.hero-stat-num {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--gold);
  white-space: nowrap;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.hero-stat-label {
  font-size: 0.76rem;
  color: var(--grey-light);
  font-weight: 500;
  margin-top: 4px;
  line-height: 1.3;
}
.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, transparent, rgba(230, 160, 13, 0.35), transparent);
  flex-shrink: 0;
}
/* Hero image collage */
.hero-visual {
  position: relative; height: 560px;
  animation: fadeInRight 0.9s ease 0.2s both;
}
.hero-img-main {
  position: absolute; top: 0; right: 0;
  width: 80%; height: 380px;
  border-radius: 24px; overflow: hidden;
  border: 2px solid rgba(230,160,13,0.2);
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
}
.hero-img-main img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-secondary {
  position: absolute; bottom: 0; left: 0;
  width: 55%; height: 220px;
  border-radius: 20px; overflow: hidden;
  border: 2px solid rgba(230,160,13,0.2);
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}
.hero-img-secondary img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge-float {
  position: absolute; top: 40px; left: -10px;
  background: var(--dark-card); border: 1px solid var(--dark-border);
  border-radius: 16px; padding: 16px 20px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  /* animation removed � no float */
}
.hero-badge-float-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.hero-badge-float-text { font-size: 0.82rem; }
.hero-badge-float-text strong { display: block; font-weight: 700; color: var(--white); }
.hero-badge-float-text span { color: var(--grey); font-size: 0.75rem; }
.hero-badge-float2 {
  position: absolute; bottom: 50px; right: -10px;
  background: var(--gold); border-radius: 16px;
  padding: 14px 20px; color: var(--black);
  box-shadow: none;
  /* animation removed � no float */
}
.hero-badge-float2 .num { font-family: var(--font-head); font-size: 1.6rem; font-weight: 900; }
.hero-badge-float2 .lbl { font-size: 0.72rem; font-weight: 700; opacity: 0.8; }

/* ============================================
   TRUST BAR
   ============================================ */
#trust-bar {
  background: #0e3536;
  border-top: 1px solid rgba(230,160,13,0.18);
  border-bottom: 1px solid rgba(230,160,13,0.18);
  padding: 28px 0;
}
.trust-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.trust-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.88rem; font-weight: 600; color: rgba(255,255,255,0.75);
}
.trust-item-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(230,160,13,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--gold);
}
.trust-divider { width: 1px; height: 30px; background: var(--dark-border); }

/* ============================================
   SERVICES
   ============================================ */
#services { background: #0a2222; }
#services-home { background: #0a2222; }
.services-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 28px;
  margin-top: 60px;
}
.service-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 36px 32px 0; cursor: pointer;
  position: relative; overflow: hidden;
  transition: var(--transition);
  group: true;
}
.service-card::before {
  content: ''; position: absolute;
  inset: 0; opacity: 0;
  background: linear-gradient(135deg, rgba(230,160,13,0.08), rgba(230,160,13,0.02));
  transition: opacity var(--transition);
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(230,160,13,0.35); box-shadow: 0 12px 32px rgba(0,0,0,0.4); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(230,160,13,0.2), rgba(230,160,13,0.05));
  border: 1px solid rgba(230,160,13,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin-bottom: 24px;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  box-shadow: none;
}
.service-title {
  font-family: var(--font-head); font-size: 1.2rem; font-weight: 700;
  color: var(--white); margin-bottom: 14px;
}
.service-desc { font-size: 0.9rem; color: var(--grey); line-height: 1.7; margin-bottom: 24px; }
.service-features { display: flex; flex-direction: column; gap: 8px; }
.service-feature {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.84rem; color: rgba(255,255,255,0.7);
}
.service-feature::before {
  content: '✓'; width: 20px; height: 20px;
  background: rgba(34,197,94,0.15); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; color: var(--green);
  flex-shrink: 0; text-align: center; line-height: 20px;
}
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 28px; color: var(--gold); font-size: 0.88rem;
  font-weight: 600; transition: gap var(--transition);
}
.service-card:hover .service-link { gap: 12px; }
.service-img-wrap {
  margin: 28px -32px 0; margin-top: 28px;
  height: 180px; overflow: hidden;
  border-radius: 0 0 var(--radius) var(--radius);
}
.service-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .service-img-wrap img { transform: scale(1.06); }

/* ---- Card Service / CS Cards ---- */
.card-service {
  background: linear-gradient(145deg, rgba(22, 40, 40, 0.95) 0%, rgba(12, 26, 26, 0.98) 100%);
  border: 1.5px solid rgba(230, 160, 13, 0.35);
  border-radius: 18px;
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.card-service::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  opacity: 0.9;
  transition: opacity var(--transition);
}
.card-service:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  background: linear-gradient(145deg, rgba(28, 50, 50, 0.98) 0%, rgba(15, 32, 32, 1) 100%);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.65);
}
.card-service:hover::before {
  opacity: 1;
}

.cs-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(230, 160, 13, 0.22), rgba(15, 61, 62, 0.5));
  border: 1.5px solid rgba(230, 160, 13, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 22px;
  flex-shrink: 0;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.card-service:hover .cs-icon {
  transform: scale(1.1) rotate(3deg);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-color: var(--gold-light);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
  color: var(--black);
}

.cs-title {
  font-family: var(--font-head);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.35;
  transition: color var(--transition);
}
.card-service:hover .cs-title {
  color: var(--gold-light);
}

.cs-desc {
  font-size: 0.93rem;
  color: var(--grey-light);
  line-height: 1.7;
  margin-bottom: 0;
  flex-grow: 1;
}


/* ============================================
   WHY CHOOSE US / ABOUT
   ============================================ */
#about { background: #0a2222; }
#about-home { background: #0a2222; }
.about-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-images {
  position: relative; height: 520px;
}
.about-img1 {
  position: absolute; top: 0; left: 0;
  width: 70%; height: 350px;
  border-radius: 20px; overflow: hidden;
  border: 2px solid rgba(230,160,13,0.2);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.about-img1 img { width: 100%; height: 100%; object-fit: cover; }
.about-img2 {
  position: absolute; bottom: 0; right: 0;
  width: 58%; height: 260px;
  border-radius: 20px; overflow: hidden;
  border: 2px solid rgba(230,160,13,0.2);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.about-img2 img { width: 100%; height: 100%; object-fit: cover; }
.about-exp-badge {
  position: absolute; top: 180px; right: 40px;
  background: var(--gold); color: var(--black);
  border-radius: 20px; padding: 20px 24px;
  text-align: center; box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 10;
}
.about-exp-badge .num { font-family: var(--font-head); font-size: 2.4rem; font-weight: 900; line-height: 1; }
.about-exp-badge .txt { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }
.about-points { display: flex; flex-direction: column; gap: 20px; margin: 32px 0; }
.about-point {
  display: flex; gap: 18px;
  background: var(--dark-card); border: 1px solid var(--dark-border);
  border-radius: 14px; padding: 22px 24px;
  transition: var(--transition);
}
.about-point:hover { border-color: rgba(230,160,13,0.3); transform: translateX(4px); }
.about-point-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(230,160,13,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.about-point-text h4 { font-weight: 700; margin-bottom: 4px; font-size: 0.95rem; }
.about-point-text p { color: var(--grey); font-size: 0.84rem; line-height: 1.6; }

/* ============================================
   STATS COUNTER SECTION
   ============================================ */
#stats {
  background: linear-gradient(135deg, #0e3536 0%, #1a5051 50%, #0e3536 100%);
  padding: 70px 0;
}
.stats-inner {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 0; text-align: center;
}
.stat-block {
  padding: 20px; position: relative;
  color: var(--white);
}
.stat-block:not(:last-child)::after {
  content: ''; position: absolute; right: 0; top: 20%; bottom: 20%;
  width: 1px; background: rgba(255,255,255,0.15);
}
.stat-block .num {
  font-family: var(--font-head); font-size: 3.2rem;
  font-weight: 900; line-height: 1; color: var(--white);
}
.stat-block .suffix { font-size: 1.8rem; }
.stat-block .lbl { font-size: 0.9rem; font-weight: 600; margin-top: 8px; opacity: 0.85; }

/* ============================================
   GALLERY / PROJECTS
   ============================================ */
#gallery { background: var(--dark); }
.gallery-tabs {
  display: flex; gap: 12px; margin: 40px 0; flex-wrap: wrap;
}
.gallery-tab {
  padding: 10px 22px; border-radius: 100px;
  font-size: 0.85rem; font-weight: 600;
  background: var(--dark-card); border: 1px solid var(--dark-border);
  color: var(--grey); transition: var(--transition); cursor: pointer;
}
.gallery-tab.active, .gallery-tab:hover {
  background: var(--gold); color: var(--black); border-color: var(--gold);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  border-radius: 14px; overflow: hidden;
  position: relative; cursor: pointer;
  border: 1px solid var(--dark-border);
  transition: var(--transition);
}
.gallery-item:nth-child(1),
.gallery-item:nth-child(4) {
  grid-row: span 2;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
  min-height: 200px;
}
.gallery-item:hover { border-color: rgba(230,160,13,0.35); box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  opacity: 0; transition: opacity var(--transition);
  display: flex; align-items: flex-end; padding: 20px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay-text { font-size: 0.88rem; font-weight: 600; color: var(--white); }

/* ============================================
   PROCESS / HOW IT WORKS
   ============================================ */
#process { background: #0a2222; }
.process-steps {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 30px; margin-top: 60px; position: relative;
}
.process-steps::before {
  content: '';
  position: absolute; top: 36px; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark), var(--gold));
  opacity: 0.3;
}
.process-step { text-align: center; position: relative; z-index: 1; }
.process-step-num {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 900;
  color: var(--black);
  box-shadow: none;
}
.process-step-title { font-family: var(--font-head); font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.process-step-desc { font-size: 0.85rem; color: var(--grey); line-height: 1.65; }

/* ============================================
   TESTIMONIALS
   ============================================ */
#testimonials { background: #0a2222; }
.testimonials-slider-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  margin-top: 50px;
}
.testimonials-slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform;
}
.testimonial-slide {
  flex: 0 0 33.333333%;
  box-sizing: border-box;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}
@media (max-width: 1024px) {
  .testimonial-slide {
    flex: 0 0 50%;
  }
}
@media (max-width: 768px) {
  .testimonial-slide {
    flex: 0 0 100%;
  }
}
.slider-bottom-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}
.slider-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(230, 160, 13, 0.25);
  background: rgba(15, 61, 62, 0.1);
  color: var(--gold);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  outline: none;
}
.slider-btn:hover:not(:disabled) {
  background: var(--gold);
  color: #0a2222;
  border-color: var(--gold);
  transform: scale(1.08);
}
.slider-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  border-color: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.3);
}
.slider-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.slider-dot.active {
  background: var(--gold);
  transform: scale(1.15);
  width: 20px;
  border-radius: 4px;
}
.testimonial-card {
  background: linear-gradient(145deg, rgba(22, 40, 40, 0.95) 0%, rgba(12, 26, 26, 0.98) 100%);
  border: 1.5px solid rgba(230, 160, 13, 0.35);
  border-radius: 20px; padding: 34px 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.testimonial-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.65);
}
.testimonial-stars { display: flex; gap: 4px; margin-bottom: 18px; }
.testimonial-stars span { color: var(--gold); font-size: 1rem; }
.testimonial-text {
  font-size: 0.92rem; color: var(--white); line-height: 1.75;
  font-style: italic; margin-bottom: 24px;
  flex: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1rem; color: var(--black);
}
.testimonial-name { font-weight: 700; font-size: 0.9rem; }
.testimonial-location { font-size: 0.78rem; color: var(--grey); margin-top: 2px; }

/* ============================================
   PRICING / PACKAGES
   ============================================ */
#pricing { background: var(--black); }
.pricing-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 28px; margin-top: 60px;
}
.pricing-card {
  background: linear-gradient(145deg, rgba(22, 40, 40, 0.95) 0%, rgba(12, 26, 26, 0.98) 100%);
  border: 1.5px solid rgba(230, 160, 13, 0.35);
  border-radius: 20px; padding: 42px 36px;
  position: relative; transition: var(--transition);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.pricing-card.popular {
  border-color: var(--gold);
  border-width: 2px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--black);
  padding: 6px 20px; border-radius: 100px;
  font-size: 0.75rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
}
.pricing-card:hover { transform: translateY(-6px); border-color: var(--gold); }
.pricing-title { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.pricing-subtitle { font-size: 0.82rem; color: var(--grey); margin-bottom: 28px; }
.pricing-price { margin-bottom: 8px; }
.pricing-price .currency { font-size: 1.2rem; font-weight: 700; color: var(--gold); vertical-align: top; margin-top: 8px; display: inline-block; }
.pricing-price .amount { font-family: var(--font-head); font-size: 2.8rem; font-weight: 900; color: var(--white); }
.pricing-price .period { font-size: 0.85rem; color: var(--grey); }
.pricing-note { font-size: 0.8rem; color: var(--grey); margin-bottom: 28px; }
.pricing-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.pricing-feature { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: rgba(255,255,255,0.8); }
.pricing-feature .check { color: var(--green); font-size: 0.85rem; flex-shrink: 0; }
.pricing-feature.disabled { opacity: 0.35; }
.pricing-feature.disabled .check { color: var(--grey); }
.btn-pricing {
  width: 100%; padding: 14px; border-radius: 100px; font-weight: 700; font-size: 0.9rem;
  transition: var(--transition); display: block; text-align: center;
}
.btn-pricing-gold { background: var(--gold); color: var(--black); }
.btn-pricing-gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-pricing-outline { background: transparent; color: var(--white); border: 2px solid var(--dark-border); }
.btn-pricing-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ============================================
   CONTACT
   ============================================ */
#contact { background: var(--dark); }
.contact-inner {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 60px; align-items: start;
}
.contact-info-items { display: flex; flex-direction: column; gap: 24px; margin: 36px 0; }
.contact-info-item {
  display: flex; gap: 18px; align-items: flex-start;
  background: linear-gradient(145deg, rgba(22, 40, 40, 0.9) 0%, rgba(12, 26, 26, 0.95) 100%);
  border: 1.5px solid rgba(230, 160, 13, 0.3);
  border-radius: 16px; padding: 24px 26px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  transition: var(--transition);
}
.contact-info-item:hover { border-color: var(--gold); transform: translateX(4px); }
.contact-info-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(230, 160, 13, 0.2), rgba(15, 61, 62, 0.4));
  border: 1px solid rgba(230, 160, 13, 0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0; color: var(--gold);
}
.contact-info-text h4 { font-weight: 700; margin-bottom: 4px; font-size: 0.92rem; }
.contact-info-text a, .contact-info-text p { color: var(--grey-light); font-size: 0.88rem; transition: color var(--transition); }
.contact-info-text a:hover { color: var(--gold); }
.whatsapp-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: #25D366; color: var(--white);
  padding: 16px 30px; border-radius: 100px;
  font-weight: 700; font-size: 0.95rem;
  box-shadow: none;
  transition: var(--transition);
}
.whatsapp-btn:hover { background: #20bc5a; transform: translateY(-3px); box-shadow: none; }
/* Form */
.contact-form {
  background: linear-gradient(145deg, rgba(22, 40, 40, 0.95) 0%, rgba(12, 26, 26, 0.98) 100%);
  border: 1.5px solid rgba(230, 160, 13, 0.35);
  border-radius: 22px; padding: 44px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.form-title { font-family: var(--font-head); font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; }
.form-subtitle { font-size: 0.88rem; color: var(--grey); margin-bottom: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.7); }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1.5px solid var(--dark-border);
  border-radius: 10px; padding: 14px 16px;
  color: var(--white); font-size: 0.9rem;
  font-family: var(--font-body);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--grey); }
.form-group select option { background: var(--dark-card); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); background: rgba(230,160,13,0.04); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit {
  width: 100%; padding: 16px; border-radius: 100px;
  background: var(--gold); color: var(--black);
  font-weight: 700; font-size: 1rem;
  font-family: var(--font-body);
  box-shadow: none;
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.form-submit:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: none; }
.form-success {
  display: none; background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3); border-radius: 12px;
  padding: 16px; color: var(--green); font-size: 0.9rem;
  text-align: center; margin-top: 16px;
}

/* ============================================
   FOOTER
   ============================================ */
#footer {
  background: var(--black);
  border-top: 1px solid var(--dark-border);
  padding: 80px 0 0;
}
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px; margin-bottom: 60px;
}
.footer-brand p { color: var(--grey); font-size: 0.88rem; line-height: 1.7; margin: 20px 0 28px; max-width: 280px; }
.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-logo img { height: 44px; width: auto; }
.footer-logo-text { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; }
.footer-logo-text span { color: var(--gold); }
.footer-social { display: flex; gap: 12px; }
.footer-social-link {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--dark-card); border: 1px solid var(--dark-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: var(--transition); color: var(--grey);
}
.footer-social-link:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
.footer-col-title { font-family: var(--font-head); font-size: 0.95rem; font-weight: 700; margin-bottom: 20px; color: var(--white); }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.86rem; color: var(--grey); transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--dark-border);
  padding: 24px 0; display: flex;
  justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom-text { font-size: 0.82rem; color: var(--grey); }
.footer-bottom-text span { color: var(--gold); }

/* ============================================
   FLOATING WHATSAPP
   ============================================ */
.float-wa {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: var(--transition); font-size: 1.5rem;
  /* float animation removed */
}
.float-wa:hover { transform: scale(1.1) translateY(-4px); box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5); }
.float-wa-tooltip {
  position: absolute; right: 70px; top: 50%; transform: translateY(-50%);
  background: var(--dark-card); border: 1px solid var(--dark-border);
  padding: 8px 14px; border-radius: 8px;
  font-size: 0.78rem; font-weight: 600; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.float-wa:hover .float-wa-tooltip { opacity: 1; }

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox-overlay {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.95);
  align-items: center; justify-content: center;
}
.lightbox-overlay.open { display: flex; }
.lightbox-inner { position: relative; max-width: 900px; width: 90%; }
.lightbox-inner img { width: 100%; border-radius: 16px; max-height: 80vh; object-fit: contain; }
.lightbox-close {
  position: absolute; top: -50px; right: 0;
  background: rgba(255,255,255,0.1); color: var(--white);
  width: 40px; height: 40px; border-radius: 50%; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background var(--transition);
}
.lightbox-close:hover { background: var(--gold); color: var(--black); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.1); color: var(--white);
  width: 50px; height: 50px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.2rem; transition: background var(--transition);
}
.lightbox-nav:hover { background: var(--gold); color: var(--black); }
.lightbox-prev { left: -70px; }
.lightbox-next { right: -70px; }

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed; bottom: 28px; left: 28px; z-index: 998;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--dark-card); border: 1px solid var(--dark-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--grey);
  cursor: pointer; transition: var(--transition);
  opacity: 0; pointer-events: none;
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.6; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Reveal animation */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE – FULL MULTI-DEVICE SYSTEM
   Breakpoints:
     xl:  1200px+  (large desktop)
     lg:  1024px   (laptop / small desktop)
     md:   768px   (tablet landscape)
     sm:   600px   (tablet portrait / large phone)
     xs:   480px   (phone landscape)
     xxs:  360px   (small phone)
   ============================================================ */

/* ── LARGE DESKTOP (1200px+): subtle tweaks only ── */
@media (min-width: 1200px) {
  .container { max-width: 1200px; }
}


/* ---- NAV COLLAPSE (=960px) ---- */
@media (max-width: 960px) {
  .hamburger          { display: flex; }

  /* Mobile menu drawer */
  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; right: -100%;
    width: min(320px, 85vw);
    height: 100dvh;
    background: linear-gradient(180deg, #061212 0%, #030808 100%);
    border-left: 1px solid rgba(230, 160, 13, 0.15);
    padding: 100px 24px 40px;
    gap: 8px;
    transition: right var(--transition);
    overflow-y: auto;
    z-index: 1001;
    box-shadow: -10px 0 40px rgba(0,0,0,0.7);
    align-items: stretch;
  }
  .nav-links::before {
    content: "CLARIDGE SOLAR";
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 20px;
    opacity: 0.8;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 12px;
    padding-left: 12px;
  }
  .nav-links.open     { right: 0; }
  .nav-links a        {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    padding: 12px 18px;
    border-radius: 8px;
    transition: all 0.25s ease;
    border-bottom: none !important;
    text-align: left;
    display: block;
  }
  .nav-links a::after {
    display: none !important;
  }
  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    padding-left: 24px;
  }
  .nav-links a.active {
    background: rgba(230, 160, 13, 0.1);
    color: var(--gold) !important;
    border-left: 4px solid var(--gold);
    border-radius: 0 8px 8px 0;
    padding-left: 14px;
  }
  .nav-links .nav-cta {
    margin-top: 24px;
    display: block;
    text-align: center;
    background: linear-gradient(135deg, var(--gold) 0%, #B8800A 100%);
    color: #0a2222 !important;
    font-weight: 700;
    padding: 14px;
    border-radius: 12px;
    box-shadow: none;
    border: none !important;
  }
  .nav-links .nav-cta:hover {
    background: linear-gradient(135deg, #F2B530 0%, var(--gold) 100%);
    transform: translateY(-2px);
    padding-left: 14px;
  }

  /* Mobile menu overlay */
  .nav-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.6); z-index: 1000;
  }
  .nav-overlay.open   { display: block; }
}
@media (max-width: 960px) {
  /* Hero: stack on tablet */
  .hero-inner         { grid-template-columns: 1fr; }
  .hero-content       { order: 1; }
  .hero-visual        { order: 2; height: 360px; margin-top: 40px; }
  .hero-img-main      { width: 82%; height: 260px; }
  .hero-img-secondary { width: 48%; height: 180px; }
  .hero-badge-float   { left: 0; }
  .hero-badge-float2  { right: 0; }

  /* Service grid: 2 cols */
  .services-grid      { grid-template-columns: repeat(2, 1fr); }

  /* About: stack */
  .about-inner        { grid-template-columns: 1fr; gap: 50px; }
  .about-images       { height: 340px; }
}

/* ── LAPTOP / SMALL DESKTOP (≤1100px) ── */
@media (max-width: 1100px) {
  .services-grid      { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid  { grid-template-columns: repeat(2, 1fr); }
  .footer-inner       { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
  .hero-title         { font-size: clamp(2.4rem, 4.5vw, 3.6rem); }

  /* Nav: compress at 1100px */
  .nav-links          { gap: 20px; }
  .nav-links a        { font-size: 0.85rem; }
  .nav-cta            { padding: 9px 18px; font-size: 0.82rem; }
}

/* ── TABLET LANDSCAPE / SMALL LAPTOP (≤1024px) ── */
@media (max-width: 1024px) {
  /* Hero: stack vertically */
  .hero-inner         { grid-template-columns: 1fr; gap: 0; padding-bottom: 40px; }
  .hero-content       { order: 1; }
  .hero-visual        { order: 2; height: 360px; margin-top: 48px; }
  .hero-img-main      { width: 80%; height: 260px; right: 0; left: auto; }
  .hero-img-secondary { width: 46%; height: 180px; }
  .hero-badge-float   { left: 0; top: 20px; }
  .hero-badge-float2  { right: 0; bottom: 20px; }

  /* About */
  .about-inner        { grid-template-columns: 1fr; gap: 50px; }
  .about-images       { height: 340px; }
  .about-img1         { width: 72%; height: 280px; }
  .about-img2         { width: 52%; height: 200px; }
  .about-exp-badge    { right: 30px; top: 150px; }
  .about-content .section-sub { max-width: 100%; }

  /* Stats */
  .stats-inner        { grid-template-columns: repeat(4, 1fr); }

  /* Process */
  .process-steps      { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .process-steps::before { display: none; }

  /* Footer */
  .footer-inner       { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand       { grid-column: 1 / -1; }
  .footer-brand p     { max-width: 100%; }

  /* Lightbox */
  .lightbox-prev      { left: -55px; }
  .lightbox-next      { right: -55px; }

  /* Pricing */
  .pricing-grid       { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
}

/* ── TABLET PORTRAIT (≤768px) ── */
@media (max-width: 768px) {

  /* ─ Global ─ */
  .section-pad        { padding: 72px 0; }
  .section-pad-sm     { padding: 48px 0; }
  .container          { padding: 0 20px; }
  .section-heading    { font-size: clamp(1.75rem, 5vw, 2.4rem); }
  .section-sub        { font-size: 0.95rem; }

  /* ─ Navbar ─ */
  #navbar             { padding: 14px 0; }
  #navbar.scrolled    { padding: 10px 0; }
  .nav-logo img       { height: 40px; }
  .nav-logo-text      { font-size: 1.05rem; }
  .hamburger          { display: flex; }

  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; right: -100%;
    width: min(320px, 85vw);
    height: 100dvh;
    background: linear-gradient(180deg, #061212 0%, #030808 100%);
    border-left: 1px solid rgba(230, 160, 13, 0.15);
    padding: 100px 24px 40px;
    gap: 8px;
    transition: right var(--transition);
    overflow-y: auto;
    z-index: 1001;
    box-shadow: -10px 0 40px rgba(0,0,0,0.7);
    align-items: stretch;
  }
  .nav-links::before {
    content: "CLARIDGE SOLAR";
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 20px;
    opacity: 0.8;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 12px;
    padding-left: 12px;
  }
  .nav-links.open     { right: 0; }
  .nav-links a        {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    padding: 12px 18px;
    border-radius: 8px;
    transition: all 0.25s ease;
    border-bottom: none !important;
    text-align: left;
    display: block;
  }
  .nav-links a::after {
    display: none !important;
  }
  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    padding-left: 24px;
  }
  .nav-links a.active {
    background: rgba(230, 160, 13, 0.1);
    color: var(--gold) !important;
    border-left: 4px solid var(--gold);
    border-radius: 0 8px 8px 0;
    padding-left: 14px;
  }
  .nav-links .nav-cta {
    margin-top: 24px;
    display: block;
    text-align: center;
    background: linear-gradient(135deg, var(--gold) 0%, #B8800A 100%);
    color: #0a2222 !important;
    font-weight: 700;
    padding: 14px;
    border-radius: 12px;
    box-shadow: none;
    border: none !important;
  }
  .nav-links .nav-cta:hover {
    background: linear-gradient(135deg, #F2B530 0%, var(--gold) 100%);
    transform: translateY(-2px);
    padding-left: 14px;
  }

  /* Mobile menu overlay */
  .nav-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.6); z-index: 1000;
  }
  .nav-overlay.open   { display: block; }

  /* ─ Hero ─ */
  #hero               { padding: 100px 0 60px; }
  .hero-badge         { font-size: 0.72rem; }
  .hero-title         { font-size: clamp(2rem, 7vw, 2.8rem); margin-bottom: 18px; }
  .hero-desc          { font-size: 0.97rem; margin-bottom: 28px; }
  .hero-actions       { gap: 12px; }
  .btn-primary, .btn-outline { padding: 13px 24px; font-size: 0.9rem; }
  .hero-stats         { gap: 20px; margin-top: 36px; flex-wrap: wrap; }
  .hero-stat-num      { font-size: 1.6rem; }
  .hero-stat-label    { font-size: 0.75rem; }

  .hero-visual        { height: 300px; margin-top: 40px; }
  .hero-img-main      { width: 88%; height: 230px; }
  .hero-img-secondary { width: 50%; height: 160px; }
  .hero-badge-float   { display: none; }
  .hero-badge-float2  { display: none; }

  /* ─ Trust Bar ─ */
  #trust-bar          { padding: 20px 0; }
  .trust-inner        { justify-content: flex-start; gap: 14px 24px; }
  .trust-divider      { display: none; }
  .trust-item         { font-size: 0.82rem; }
  .trust-item-icon    { width: 30px; height: 30px; font-size: 0.85rem; }

  /* ─ Services ─ */
  .services-grid      { grid-template-columns: 1fr !important; gap: 20px; margin-top: 40px; max-width: 500px; margin-left: auto; margin-right: auto; }
  .service-card       { padding: 28px 24px; }
  .service-img-wrap   { height: 180px; margin: 20px -24px 0; }
  .service-card:hover { transform: none; }

  /* ─ Stats ─ */
  .stats-inner        { grid-template-columns: repeat(2, 1fr); }
  .stat-block         { padding: 28px 16px; }
  .stat-block .num    { font-size: 2.4rem; }
  .stat-block:nth-child(2)::after { display: none; }
  .stat-block:nth-child(4)::after { display: none; }

  /* ─ About ─ */
  .about-images       { height: 280px; }
  .about-img1         { width: 76%; height: 230px; }
  .about-img2         { width: 55%; height: 180px; }
  .about-exp-badge    { right: 0; top: 120px; padding: 14px 16px; }
  .about-exp-badge .num { font-size: 1.8rem; }
  .about-points       { gap: 14px; }
  .about-point        { padding: 18px 18px; }

  /* ─ Gallery ─ */
  .gallery-tabs       { gap: 8px; margin: 28px 0; }
  .gallery-tab        { padding: 8px 16px; font-size: 0.8rem; }
  .gallery-grid       { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(4) { grid-row: span 1; }
  .gallery-item img   { min-height: 160px; }

  /* ─ Process ─ */
  .process-steps      { grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 40px; }
  .process-steps::before { display: none; }
  .process-step-num   { width: 60px; height: 60px; font-size: 1.3rem; }

  /* ─ Testimonials ─ */
  .testimonials-grid  { grid-template-columns: 1fr; gap: 18px; margin-top: 40px; }
  .testimonial-card   { padding: 26px 24px; }

  /* ─ Pricing ─ */
  .pricing-grid       { grid-template-columns: 1fr; max-width: 440px; margin: 40px auto 0; gap: 20px; }
  .pricing-card       { padding: 32px 28px; }

  /* ─ Contact ─ */
  .contact-inner      { grid-template-columns: 1fr; gap: 40px; margin-top: 40px !important; }
  .form-row           { grid-template-columns: 1fr; }
  .contact-form       { padding: 32px 26px; }
  .contact-info-items { gap: 16px; margin: 24px 0; }
  .contact-info-item  { padding: 18px 18px; }

  /* ─ Footer ─ */
  .footer-inner       { grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 40px; }
  .footer-brand       { grid-column: 1 / -1; }
  .footer-brand p     { max-width: 100%; }
  #footer             { padding: 60px 0 0; }

  /* ─ Lightbox ─ */
  .lightbox-inner     { width: 94%; }
  .lightbox-prev      { left: -44px; width: 40px; height: 40px; }
  .lightbox-next      { right: -44px; width: 40px; height: 40px; }
  .lightbox-close     { top: -44px; }
}

/* ── LARGE PHONE / PHABLET (≤600px) ── */
@media (max-width: 600px) {
  .hero-visual        { height: 260px; }
  .hero-img-main      { width: 92%; height: 210px; }
  .hero-img-secondary { display: none; }

  .trust-inner        { flex-direction: column; gap: 10px; align-items: flex-start; }

  .stats-inner        { grid-template-columns: repeat(2, 1fr); }
  .stat-block .num    { font-size: 2rem; }

  .process-steps      { grid-template-columns: 1fr; gap: 20px; }

  .gallery-grid       { grid-template-columns: repeat(2, 1fr); gap: 8px; }

  .footer-inner       { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom      { flex-direction: column; text-align: center; gap: 10px; }
}

/* ── PHONE LANDSCAPE / SMALL PHONE (≤480px) ── */
@media (max-width: 480px) {
  /* Global */
  .container          { padding: 0 16px; }
  .section-pad        { padding: 60px 0; }
  .section-heading    { font-size: clamp(1.55rem, 6.5vw, 2.1rem); }
  .section-label      { font-size: 0.7rem; padding: 5px 14px; }

  /* Navbar */
  .nav-logo-text      { display: inline-block !important; font-weight: 800; font-size: 0.95rem; color: #FFFFFF; letter-spacing: 0.02em; white-space: nowrap; }
  .nav-logo-text span { color: #FFFFFF; }
  .nav-logo img       { height: 38px; width: auto; }

  /* Hero */
  #hero               { padding: 88px 0 52px; }
  .hero-badge         { font-size: 0.7rem; padding: 6px 14px; }
  .hero-title         { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .hero-desc          { font-size: 0.9rem; }
  .hero-actions       { flex-direction: column !important; gap: 10px !important; align-items: stretch !important; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { width: 100% !important; justify-content: center !important; box-sizing: border-box; }
  .hero-stats         { gap: 14px; }
  .hero-stat-num      { font-size: 1.4rem; }
  .hero-visual        { height: 220px; margin-top: 32px; }
  .hero-img-main      { width: 100%; height: 200px; border-radius: 16px; }

  /* Trust bar */
  #trust-bar          { padding: 16px 0; }
  .trust-item         { font-size: 0.78rem; }

  /* Services */
  .services-grid      { grid-template-columns: 1fr !important; max-width: 420px; }
  .service-card       { padding: 24px 20px; }
  .service-icon       { width: 52px; height: 52px; font-size: 1.5rem; margin-bottom: 18px; }
  .service-title      { font-size: 1.1rem; }
  .service-desc       { font-size: 0.88rem; }
  .service-body       { font-size: 0.88rem; }
  .service-img-wrap   { margin: 16px -20px 0; height: 150px; }

  /* Stats */
  .stat-block .num    { font-size: 1.8rem; }
  .stat-block .lbl    { font-size: 0.78rem; }

  /* About */
  .about-images       { height: 230px; }
  .about-img1         { width: 80%; height: 200px; }
  .about-img2         { width: 58%; height: 155px; }
  .about-point        { flex-direction: column; gap: 12px; }
  .btn-primary        { padding: 13px 20px; font-size: 0.88rem; }
  .about-content .btn-primary { width: fit-content !important; }

  /* Gallery */
  .gallery-grid       { grid-template-columns: 1fr; gap: 10px; }
  .gallery-item img   { min-height: 200px; }

  /* Process */
  .process-step-num   { width: 54px; height: 54px; font-size: 1.2rem; margin-bottom: 18px; }

  /* Testimonials */
  .testimonial-card   { padding: 22px 18px; }
  .testimonial-text   { font-size: 0.86rem; }

  /* Pricing */
  .pricing-card       { padding: 28px 22px; }
  .pricing-price .amount { font-size: 2.2rem; }

  /* Contact */
  .contact-form       { padding: 24px 18px; }
  .form-title         { font-size: 1.2rem; }
  .whatsapp-btn       { width: 100%; justify-content: center; padding: 14px 20px; }

  /* Footer */
  #footer             { padding: 48px 0 0; }
  .footer-inner       { grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
  .footer-col-title   { font-size: 0.9rem; margin-bottom: 14px; }
  .footer-bottom      { flex-direction: column; text-align: center; gap: 8px; padding: 18px 0; }
  .footer-bottom-text { font-size: 0.78rem; flex-direction: column !important; gap: 8px !important; }

  /* Lightbox */
  .lightbox-prev, .lightbox-next { display: none; }
  .lightbox-inner     { width: 96%; }

  /* Floating elements */
  .float-wa           { width: 50px; height: 50px; bottom: 20px; right: 18px; }
  .back-to-top        { width: 40px; height: 40px; bottom: 20px; left: 18px; font-size: 0.85rem; }
}

/* ── SMALLEST PHONES (≤360px) ── */
@media (max-width: 360px) {
  .container          { padding: 0 12px; }
  .hero-title         { font-size: 1.7rem; }
  .hero-desc          { font-size: 0.85rem; }
  .section-heading    { font-size: 1.5rem; }
  .stat-block .num    { font-size: 1.6rem; }
  .pricing-price .amount { font-size: 2rem; }
  .contact-form       { padding: 20px 14px; }
  .testimonial-card   { padding: 18px 14px; }
  .service-card       { padding: 20px 16px; }
}

/* ── ENSURE TOUCH TARGETS ── */
@media (hover: none) and (pointer: coarse) {
  .btn-primary, .btn-outline, .btn-pricing,
  .nav-links a, .gallery-tab, .whatsapp-btn,
  .nav-cta, .form-submit   { min-height: 44px; }
  .service-card:hover      { transform: none; }
  .testimonial-card:hover  { transform: none; }
  .about-point:hover       { transform: none; }
}

/* ── PRINT ── */
@media print {
  #navbar, .float-wa, .back-to-top,
  .lightbox-overlay, #footer .footer-social { display: none !important; }
  body { background: #fff; color: #000; }
  .section-pad { padding: 30px 0; }
}

/* ============================================
   PAGE HERO (Inner pages)
   ============================================ */
.page-hero {
  position: relative; overflow: hidden;
  padding: 160px 0 90px;
  background: var(--black);
}
.page-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, #0a2222 0%, #0e3536 45%, #0a2222 100%);
}
.page-hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 80% 30%, rgba(15,61,62,0.6) 0%, transparent 65%),
    radial-gradient(ellipse 30% 40% at 10% 80%, rgba(230,160,13,0.05) 0%, transparent 60%);
}
.page-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(15,61,62,0.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,61,62,0.25) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-content {
  position: relative; z-index: 2;
  max-width: 720px;
  animation: fadeInUp 0.8s ease both;
}
.page-hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900; line-height: 1.1;
  color: var(--white); margin-bottom: 20px;
  margin-top: 12px;
}
.page-hero-title span { color: var(--gold); }
.page-hero-desc {
  font-size: 1.05rem; color: rgba(255,255,255,0.7);
  line-height: 1.75; margin-bottom: 28px; max-width: 600px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: var(--grey);
}
.breadcrumb a { color: var(--gold); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { color: var(--grey-dark); }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, #0e3536 0%, #1a5051 100%);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(15,61,62,0.5) 0%, transparent 70%);
}
.cta-banner-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center;
  justify-content: space-between; gap: 40px;
  flex-wrap: wrap;
}
.cta-banner-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800; margin-bottom: 10px;
}
.cta-banner-title span { color: var(--gold); }
.cta-banner-desc { color: var(--grey); font-size: 0.95rem; line-height: 1.65; max-width: 500px; }
.cta-banner-actions { display: flex; gap: 16px; flex-wrap: wrap; flex-shrink: 0; }

/* ============================================
   SERVICE DETAIL PAGE STYLES
   ============================================ */
.service-detail-section { background: var(--black); }
.service-detail-section.alt-bg { background: var(--dark); }
.service-detail-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.service-detail-inner.reverse .service-detail-content { order: 2; }
.service-detail-inner.reverse .service-detail-images  { order: 1; }
.service-detail-icon {
  width: 72px; height: 72px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(230,160,13,0.2), rgba(230,160,13,0.05));
  border: 1px solid rgba(230,160,13,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; margin-bottom: 24px;
}
.service-detail-features { display: flex; flex-direction: column; gap: 18px; margin: 28px 0; }
.service-detail-feature {
  display: flex; gap: 18px; align-items: flex-start;
}
.sdf-icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(230,160,13,0.1); border: 1px solid rgba(230,160,13,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.service-detail-feature strong { display: block; font-weight: 700; margin-bottom: 4px; font-size: 0.95rem; }
.service-detail-feature p { color: var(--grey); font-size: 0.86rem; line-height: 1.6; margin: 0; }
.service-detail-specs {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 16px; margin-bottom: 32px;
  background: var(--dark-card); border: 1px solid var(--dark-border);
  border-radius: 14px; padding: 20px;
}
.spec-item { text-align: center; }
.spec-item span { display: block; font-size: 0.72rem; color: var(--grey); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.spec-item strong { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--gold); }
/* Service detail images */
.service-detail-images { position: relative; height: 460px; }
.sdi-main {
  position: absolute; top: 0; right: 0;
  width: 82%; height: 320px;
  border-radius: 20px; overflow: hidden;
  border: 2px solid rgba(230,160,13,0.2);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.sdi-main img { width: 100%; height: 100%; object-fit: cover; }
.sdi-secondary {
  position: absolute; bottom: 0; left: 0;
  width: 52%; height: 200px;
  border-radius: 16px; overflow: hidden;
  border: 2px solid rgba(230,160,13,0.2);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}
.sdi-secondary img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================
   PROJECTS PAGE
   ============================================ */
/* Project stats bar */
.project-stats-bar {
  background: var(--dark-card);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
  padding: 28px 0;
}
.project-stats-inner {
  display: flex; align-items: center; justify-content: space-around;
  gap: 24px; flex-wrap: wrap;
}
.ps-item { text-align: center; }
.ps-num { font-family: var(--font-head); font-size: 2.4rem; font-weight: 900; color: var(--gold); line-height: 1; }
.ps-lbl { font-size: 0.8rem; color: var(--grey); margin-top: 4px; font-weight: 600; }
.ps-divider { width: 1px; height: 50px; background: var(--dark-border); }

/* Gallery overlay enhanced */
.gallery-overlay-text strong { display: block; font-size: 0.9rem; font-weight: 700; }
.gallery-overlay-text span   { font-size: 0.78rem; opacity: 0.8; margin-top: 3px; display: block; }

/* Case studies */
.case-studies-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 28px; margin-top: 60px;
}
.case-study-card {
  background: linear-gradient(145deg, rgba(22, 40, 40, 0.95) 0%, rgba(12, 26, 26, 0.98) 100%);
  border: 1.5px solid rgba(230, 160, 13, 0.35);
  border-radius: 20px; overflow: hidden; transition: var(--transition);
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
}
.case-study-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 18px 40px rgba(0,0,0,0.6); }
.cs-image { position: relative; height: 220px; overflow: hidden; }
.cs-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.case-study-card:hover .cs-image img { transform: scale(1.06); }
.cs-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--gold); color: var(--black);
  padding: 5px 14px; border-radius: 100px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
}
.cs-content { padding: 30px 32px 34px; }
.cs-content h3 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; }
.cs-content p  { font-size: 0.87rem; color: var(--grey-light); line-height: 1.7; margin-bottom: 24px; }
.cs-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.cs-stat { background: rgba(230,160,13,0.08); border: 1px solid rgba(230,160,13,0.2); border-radius: 10px; padding: 12px; text-align: center; }
.cs-stat span { display: block; font-size: 0.7rem; color: var(--grey); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.cs-stat strong { font-family: var(--font-head); font-size: 0.95rem; font-weight: 700; color: var(--gold); }

/* ============================================
   ABOUT PAGE
   ============================================ */
.values-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 24px; margin-top: 60px;
}
.value-card {
  background: linear-gradient(145deg, rgba(22, 40, 40, 0.95) 0%, rgba(12, 26, 26, 0.98) 100%);
  border: 1.5px solid rgba(230, 160, 13, 0.3);
  border-radius: 18px; padding: 34px 28px;
  text-align: center; transition: var(--transition);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.value-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.value-icon { font-size: 2.4rem; margin-bottom: 20px; display: block; }
.value-card h3 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; margin-bottom: 12px; }
.value-card p  { font-size: 0.86rem; color: var(--grey-light); line-height: 1.65; }

.certs-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 24px; margin-top: 60px;
}
.cert-card {
  background: linear-gradient(145deg, rgba(22, 40, 40, 0.95) 0%, rgba(12, 26, 26, 0.98) 100%);
  border: 1.5px solid rgba(230, 160, 13, 0.3);
  border-radius: 18px; padding: 34px 28px;
  text-align: center; transition: var(--transition);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.cert-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.cert-icon { font-size: 2.4rem; margin-bottom: 20px; display: block; }
.cert-card h3 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; margin-bottom: 12px; }
.cert-card p  { font-size: 0.85rem; color: var(--grey-light); line-height: 1.65; margin-bottom: 18px; }
.cert-badge {
  display: inline-block;
  background: rgba(230,160,13,0.12); border: 1px solid rgba(230,160,13,0.3);
  color: var(--gold); padding: 5px 14px; border-radius: 100px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 1px;
}

.why-us-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 30px; margin-top: 60px;
}
.why-us-item {
  background: linear-gradient(145deg, rgba(22, 40, 40, 0.95) 0%, rgba(12, 26, 26, 0.98) 100%);
  border: 1.5px solid rgba(230, 160, 13, 0.3);
  border-radius: 18px; padding: 34px 30px;
  transition: var(--transition); position: relative;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.why-us-item:hover { border-color: var(--gold); transform: translateX(4px); }
.why-us-num {
  font-family: var(--font-head); font-size: 3.5rem; font-weight: 900;
  color: rgba(230,160,13,0.15); line-height: 1;
  margin-bottom: 12px; display: block;
}
.why-us-item h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.why-us-item p  { font-size: 0.88rem; color: var(--grey-light); line-height: 1.65; }

/* ============================================
   PRICING PAGE
   ============================================ */
.financing-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 24px; margin-top: 60px;
}
.financing-card {
  background: linear-gradient(145deg, rgba(22, 40, 40, 0.95) 0%, rgba(12, 26, 26, 0.98) 100%);
  border: 1.5px solid rgba(230, 160, 13, 0.3);
  border-radius: 18px; padding: 34px 28px;
  text-align: center; transition: var(--transition);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.financing-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.financing-icon { font-size: 2.4rem; margin-bottom: 20px; display: block; }
.financing-card h3 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; margin-bottom: 12px; }
.financing-card p  { font-size: 0.85rem; color: var(--grey-light); line-height: 1.65; margin-bottom: 18px; }
.financing-badge {
  display: inline-block;
  background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.25);
  color: var(--green); padding: 5px 14px; border-radius: 100px;
  font-size: 0.72rem; font-weight: 700;
}

/* ROI Section */
.roi-section {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.roi-numbers {
  display: flex; gap: 32px; margin-bottom: 32px;
  flex-wrap: wrap;
}
.roi-num-item { text-align: center; }
.roi-num { font-family: var(--font-head); font-size: 2rem; font-weight: 900; color: var(--gold); }
.roi-lbl { font-size: 0.8rem; color: var(--grey); margin-top: 4px; }
.roi-chart {
  background: linear-gradient(145deg, rgba(22, 40, 40, 0.95) 0%, rgba(12, 26, 26, 0.98) 100%);
  border: 1.5px solid rgba(230, 160, 13, 0.35);
  border-radius: 20px; padding: 38px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
}
.roi-bar-title { font-family: var(--font-head); font-weight: 700; margin-bottom: 24px; font-size: 1rem; }
.roi-bars { display: flex; flex-direction: column; gap: 18px; }
.roi-bar-row { display: flex; align-items: center; gap: 16px; }
.roi-bar-label { font-size: 0.82rem; color: var(--grey); width: 100px; flex-shrink: 0; }
.roi-bar-wrap { flex: 1; background: rgba(255,255,255,0.04); border-radius: 100px; height: 40px; overflow: hidden; }
.roi-bar {
  height: 100%; border-radius: 100px;
  display: flex; align-items: center;
  padding: 0 16px; min-width: fit-content;
  transition: width 1.5s cubic-bezier(0.4,0,0.2,1);
}
.roi-bar span { font-size: 0.82rem; font-weight: 700; white-space: nowrap; }
.roi-bar-bad  { background: rgba(239,68,68,0.3); }
.roi-bar-bad span { color: #ef4444; }
.roi-bar-good { background: linear-gradient(90deg, var(--gold), var(--gold-light)); }
.roi-bar-good span { color: var(--black); }
.roi-bar-note { font-size: 0.75rem; color: var(--grey); margin-top: 20px; font-style: italic; }

/* FAQ */
.faq-list { max-width: 820px; margin: 60px auto 0; display: flex; flex-direction: column; gap: 16px; }
.faq-item {
  background: linear-gradient(145deg, rgba(22, 40, 40, 0.9) 0%, rgba(12, 26, 26, 0.95) 100%);
  border: 1.5px solid rgba(230, 160, 13, 0.3);
  border-radius: 16px; padding: 26px 30px;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.faq-item:hover { border-color: var(--gold); }
.faq-q { font-family: var(--font-head); font-weight: 700; font-size: 1rem; margin-bottom: 12px; color: var(--white); }
.faq-a { font-size: 0.9rem; color: var(--grey-light); line-height: 1.7; }

/* ============================================
   CONTACT US PAGE
   ============================================ */
.quick-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.quick-link-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(15, 61, 62, 0.4); border: 1.5px solid rgba(230, 160, 13, 0.3);
  border-radius: 100px; padding: 10px 20px;
  font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.9);
  transition: var(--transition);
}
.quick-link-btn:hover { border-color: var(--gold); color: var(--gold-light); background: rgba(230, 160, 13, 0.12); }

.coverage-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 24px; margin-top: 60px;
}
.coverage-card {
  background: linear-gradient(145deg, rgba(22, 40, 40, 0.95) 0%, rgba(12, 26, 26, 0.98) 100%);
  border: 1.5px solid rgba(230, 160, 13, 0.3);
  border-radius: 18px; padding: 32px 26px;
  text-align: center; transition: var(--transition);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.coverage-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.coverage-icon { font-size: 2.2rem; margin-bottom: 16px; display: block; }
.coverage-card h3 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.coverage-card p  { font-size: 0.85rem; color: var(--grey-light); line-height: 1.65; margin-bottom: 16px; }
.coverage-tag {
  display: inline-block;
  background: rgba(230,160,13,0.12); border: 1px solid rgba(230,160,13,0.3);
  color: var(--gold); padding: 4px 12px; border-radius: 100px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.5px;
}

.assurance-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 24px;
}
.assurance-item {
  text-align: center; padding: 20px 10px;
}
.assurance-icon { font-size: 2.2rem; margin-bottom: 16px; display: block; }
.assurance-item h3 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.assurance-item p  { font-size: 0.86rem; color: var(--grey); line-height: 1.65; }

/* Home services grid – show only 3 */
.home-services-grid { grid-template-columns: repeat(3,1fr) !important; }

/* ============================================
   RESPONSIVE – NEW MULTIPAGE COMPONENTS
   ============================================ */
@media (max-width: 1100px) {
  .values-grid, .certs-grid, .financing-grid { grid-template-columns: repeat(2,1fr); }
  .assurance-grid  { grid-template-columns: repeat(2,1fr); }
  .coverage-grid   { grid-template-columns: repeat(2,1fr); }
  .case-studies-grid { grid-template-columns: repeat(2,1fr); }
  .roi-section     { grid-template-columns: 1fr; gap: 50px; }
}
@media (max-width: 1024px) {
  .service-detail-inner { grid-template-columns: 1fr; gap: 50px; }
  .service-detail-inner.reverse .service-detail-content { order: 1; }
  .service-detail-inner.reverse .service-detail-images  { order: 2; }
  .service-detail-images { height: 360px; }
  .sdi-main { width: 80%; height: 260px; }
  .sdi-secondary { width: 50%; height: 180px; }
  .why-us-grid { grid-template-columns: repeat(2,1fr); }
  .service-detail-specs { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .page-hero { padding: 120px 0 70px; }
  .page-hero-title { font-size: clamp(2rem,6vw,3rem); }
  .case-studies-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .cta-banner-inner { flex-direction: column; text-align: center; }
  .cta-banner-actions { justify-content: center; }
  .cta-banner-desc { margin: 0 auto; }
  .values-grid, .certs-grid  { grid-template-columns: repeat(2,1fr); gap: 16px; }
  .financing-grid { grid-template-columns: repeat(2,1fr); gap: 16px; }
  .why-us-grid { grid-template-columns: 1fr; }
  .coverage-grid { grid-template-columns: repeat(2,1fr); gap: 16px; }
  .assurance-grid { grid-template-columns: repeat(2,1fr); gap: 20px; }
  .service-detail-specs { grid-template-columns: repeat(2,1fr); }
  .roi-section { gap: 36px; }
  .faq-list { margin-top: 40px; }
  .home-services-grid { grid-template-columns: 1fr !important; }
  .project-stats-inner { justify-content: space-around; }
}
@media (max-width: 480px) {
  .page-hero { padding: 100px 0 60px; }
  .page-hero-title { font-size: clamp(1.8rem,7.5vw,2.4rem); }
  .values-grid, .certs-grid  { grid-template-columns: 1fr; }
  .financing-grid { grid-template-columns: 1fr; }
  .coverage-grid  { grid-template-columns: 1fr; }
  .assurance-grid { grid-template-columns: 1fr; }
  .service-detail-images { height: 280px; }
  .sdi-main { width: 88%; height: 220px; }
  .sdi-secondary { width: 54%; height: 150px; }
  .service-detail-specs { grid-template-columns: repeat(2,1fr); }
  .roi-chart { padding: 24px 20px; }
  .roi-bar-row { flex-direction: column; align-items: flex-start; }
  .roi-bar-wrap { width: 100%; }
  .roi-numbers { gap: 20px; }
  .faq-item { padding: 18px 20px; }
  .cta-banner-actions { flex-direction: column; width: 100%; }
  .cta-banner-actions .btn-primary,
  .cta-banner-actions .btn-outline { justify-content: center; text-align: center; }
  .quick-links { gap: 8px; }
  .quick-link-btn { font-size: 0.8rem; padding: 7px 14px; }
  .cs-stats { grid-template-columns: 1fr; }
  .ps-divider { display: none; }
  .breadcrumb { font-size: 0.78rem; }
}


/* ============================================
   SERVICES PAGE HERO � Two-column with image
   ============================================ */
.services-hero {
  padding: 130px 0 70px;
}
.services-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
}

/* Service tag pills */
.services-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 28px;
}
.services-hero-tags span {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-body);
  background: rgba(230,160,13,0.1);
  border: 1px solid rgba(230,160,13,0.25);
  color: var(--gold-light);
  transition: background var(--transition), border-color var(--transition);
  cursor: default;
}
.services-hero-tags span:hover {
  background: rgba(230,160,13,0.18);
  border-color: rgba(230,160,13,0.45);
}

/* Right column image wrapper */
.services-hero-visual { position: relative; }
.services-hero-img-wrap {
  position: relative;
  border-radius: 22px;
  overflow: visible;
}
.services-hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  box-shadow: 0 16px 48px rgba(0,0,0,0.55);
  border: 1px solid rgba(230,160,13,0.15);
}

/* Floating stat badges */
.sh-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(6,16,15,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(230,160,13,0.3);
  border-radius: 14px;
  padding: 10px 16px;
  animation: shBadgeFloat 4s ease-in-out infinite;
}
@keyframes shBadgeFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
.sh-badge-tl {
  top: -18px;
  left: -18px;
  animation-delay: 0s;
}
.sh-badge-br {
  bottom: -18px;
  right: -18px;
  animation-delay: 1.4s;
}
.sh-badge-rating {
  top: 50%;
  right: -22px;
  transform: translateY(-50%);
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 10px 14px;
  animation-delay: 0.7s;
}

.sh-badge-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(230,160,13,0.2), rgba(230,160,13,0.05));
  border: 1px solid rgba(230,160,13,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.sh-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.sh-badge-text strong {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--gold);
}
.sh-badge-text span {
  font-size: 0.72rem;
  color: var(--grey);
  font-weight: 500;
}
.sh-stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 1px;
}
.sh-rating-text {
  font-size: 0.68rem;
  color: var(--grey);
  font-weight: 600;
  white-space: nowrap;
}

/* Responsive: stack on tablet */
@media (max-width: 900px) {
  .services-hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .services-hero-visual { max-width: 560px; margin: 0 auto; }
  .sh-badge-rating { right: -10px; }
}
@media (max-width: 540px) {
  .services-hero { padding: 110px 0 50px; }
  .services-hero-img { height: 280px; }
  .sh-badge-tl  { top: -12px; left: -8px; }
  .sh-badge-br  { bottom: -12px; right: -8px; }
  .sh-badge-rating { right: -8px; }
}

/* ================================================================
   COMPREHENSIVE MOBILE RESPONSIVENESS � ALL PAGES
   Covers: Navbar, Hero, Inner Pages, Service Details,
           About, Projects, Pricing, Contact, Chatbot
   ================================================================ */

/* ----------------------------------------------------------------
   TABLET LANDSCAPE =960px  (nav collapse already above)
---------------------------------------------------------------- */
@media (max-width: 960px) {

  /* ── Nav: show hamburger, hide desktop links ── */
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(320px, 88vw);
    background: rgba(8,28,29,0.99);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid var(--dark-border2);
    padding: 100px 28px 40px;
    gap: 6px;
    overflow-y: auto;
    z-index: 1010;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  }
  .nav-links.open {
    display: flex;
    transform: translateX(0);
  }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1rem !important;
    font-weight: 600;
    padding: 12px 0;
    border-bottom: 1px solid var(--dark-border);
    color: var(--white) !important;
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a::after { display: none !important; }
  .nav-cta {
    margin-top: 12px;
    border-radius: 100px !important;
    text-align: center;
    justify-content: center !important;
    background: var(--gold) !important;
    color: var(--black) !important;
    padding: 14px 24px !important;
    font-size: 0.95rem !important;
  }

  /* Mobile overlay backdrop */
  .nav-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1008;
    backdrop-filter: blur(3px);
  }
  .nav-overlay.open { display: block; }

  /* Hide desktop mega-menu on mobile */
  .nav-mega { display: none !important; }

  /* Services chevron on mobile */
  .nav-dropdown > a .nav-chevron { display: inline-block; }

  /* Page hero (inner pages) */
  .page-hero          { padding: 130px 0 60px; }
  .page-hero-title    { font-size: clamp(2rem, 5vw, 3rem); }

  /* Project stats bar */
  .project-stats-bar  { padding: 20px 0; }
  .project-stats-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
  }
  .project-stat-item  {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 20px 16px;
    text-align: center;
  }
  .project-stat-item::after { display: none; }

  /* Service detail 2-col ? 1-col */
  .service-detail-inner        { grid-template-columns: 1fr; gap: 40px; }
  .service-detail-inner.reverse .service-detail-content { order: 1; }
  .service-detail-inner.reverse .service-detail-images  { order: 2; }
  .service-detail-specs        { grid-template-columns: repeat(2,1fr); }
  .service-detail-images       { height: 280px; }

  /* About page */
  .about-story-inner           { grid-template-columns: 1fr; gap: 36px; }
  .about-story-img             { max-width: 480px; margin: 0 auto; }
  .about-why-grid              { grid-template-columns: repeat(2,1fr); }
  .team-grid                   { grid-template-columns: repeat(2,1fr); }

  /* Case studies */
  .case-studies-grid           { grid-template-columns: 1fr; max-width: 540px; margin-left: auto; margin-right: auto; }

  /* Pricing ROI bars */
  .roi-bars-grid               { gap: 20px; }
}

/* ----------------------------------------------------------------
   TABLET PORTRAIT =768px  (additional fixes on top of existing)
---------------------------------------------------------------- */
@media (max-width: 768px) {

  /* Page hero */
  .page-hero          { padding: 110px 0 50px; }
  .page-hero-title    { font-size: clamp(1.8rem, 6vw, 2.6rem); margin-top: 8px; }
  .page-hero-desc     { font-size: 0.95rem; }

  /* Project stats � 2 per row */
  .project-stats-inner { flex-wrap: wrap; }
  .project-stat-item   { flex: 0 0 50%; text-align: center; }
  .project-stat-item::after { display: none; }

  /* Values grid ? 1 col */
  .values-grid                 { grid-template-columns: 1fr !important; gap: 16px; }
  .value-card                  { padding: 24px 20px; }

  /* Certs grid ? 2 col */
  .certs-grid                  { grid-template-columns: repeat(2,1fr) !important; gap: 14px; }

  /* Financing grid ? 1 col */
  .financing-grid              { grid-template-columns: 1fr !important; max-width: 440px; margin-left: auto; margin-right: auto; gap: 16px; }

  /* Case studies ? 1 col */
  .case-studies-grid           { grid-template-columns: 1fr; }

  /* Service detail specs ? 2 col */
  .service-detail-specs        { grid-template-columns: repeat(2,1fr); }
  .service-detail-inner        { grid-template-columns: 1fr; gap: 36px; }
  .service-detail-inner.reverse .service-detail-content { order: 1; }
  .service-detail-inner.reverse .service-detail-images  { order: 2; }

  /* About why grid ? 1 col */
  .about-why-grid              { grid-template-columns: 1fr; }
  .about-story-inner           { grid-template-columns: 1fr; gap: 32px; }
  .team-grid                   { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }

  /* ROI bar section */
  .roi-intro                   { grid-template-columns: 1fr; gap: 24px; }

  /* CTA banner */
  .cta-banner-inner            { flex-direction: column; gap: 24px; text-align: center; }
  .cta-banner-inner .section-heading { font-size: clamp(1.6rem, 5vw, 2.2rem); }

  /* Coverage section */
  .coverage-inner              { grid-template-columns: 1fr; gap: 32px; }

  /* Contact assurance */
  .contact-assurance           { grid-template-columns: repeat(2,1fr); gap: 14px; }
}

/* ----------------------------------------------------------------
   LARGE PHONE =600px
---------------------------------------------------------------- */
@media (max-width: 600px) {

  /* Reduce all section padding */
  .section-pad        { padding: 56px 0; }

  /* Page hero further compact */
  .page-hero          { padding: 100px 0 44px; }
  .page-hero-title    { font-size: clamp(1.65rem, 7vw, 2.2rem); }
  .breadcrumb         { font-size: 0.76rem; }

  /* Project stat items � still 2-col */
  .project-stat-item  { flex: 0 0 50%; padding: 16px 12px; }
  .project-stat-num   { font-size: 2rem; }

  /* Service specs ? 2-col */
  .service-detail-specs { grid-template-columns: repeat(2,1fr); gap: 10px; padding: 14px; }
  .spec-item            { font-size: 0.8rem; }

  /* Certs ? 1-col */
  .certs-grid           { grid-template-columns: 1fr !important; max-width: 320px; margin: 0 auto; }

  /* Contact assurance ? 1 col */
  .contact-assurance    { grid-template-columns: 1fr; }

  /* Contact form full-width */
  .contact-form         { padding: 24px 18px; }
  .contact-info-item    { padding: 14px 14px; }

  /* Footer 1-col */
  .footer-inner         { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom        { flex-direction: column; text-align: center; gap: 10px; }
  .footer-social        { justify-content: center; }
}

/* ----------------------------------------------------------------
   SMALL PHONE =480px
---------------------------------------------------------------- */
@media (max-width: 480px) {

  /* Nav logo text stays hidden (already in existing) */

  /* Page hero */
  .page-hero          { padding: 90px 0 40px; }
  .page-hero-title    { font-size: clamp(1.5rem, 7.5vw, 2rem); }

  /* Project stats ? 2 col tiny */
  .project-stat-num   { font-size: 1.75rem; }
  .project-stat-label { font-size: 0.72rem; }

  /* Pricing cards */
  .pricing-card       { padding: 24px 20px; }
  .pricing-price .amount { font-size: 2.2rem; }

  /* FAQ items */
  .faq-question       { font-size: 0.9rem; padding: 16px 18px; }

  /* Values card */
  .value-card         { padding: 20px 16px; }
  .value-icon         { width: 54px; height: 54px; font-size: 1.4rem; }

  /* Service specs ? 2-col tiny */
  .service-detail-specs { grid-template-columns: repeat(2,1fr); }

  /* Case study card */
  .case-study-card    { padding: 24px 20px; }
  .case-study-stats   { grid-template-columns: repeat(2,1fr); }

  /* Contact */
  .contact-form       { padding: 20px 16px; }
  .contact-info-item  { gap: 12px; padding: 12px 14px; }
  .contact-info-icon  { width: 40px; height: 40px; font-size: 1rem; flex-shrink: 0; }

  /* Chat widget full-width on very small */
  .chat-window        {
    right: 0; left: 0; bottom: 0;
    width: 100%; max-width: 100%;
    height: 92dvh;
    border-radius: 20px 20px 0 0;
  }
  .chat-float-wrap    { bottom: 16px; right: 14px; }

  /* Back to top btn: clear of chat btn */
  .back-to-top        { bottom: 90px; right: 14px; }

  /* Hero actions: always stacked */
  .hero-actions       { flex-direction: column !important; gap: 10px !important; align-items: stretch !important; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { width: 100% !important; justify-content: center !important; }
}

/* ----------------------------------------------------------------
   TINY PHONE =360px
---------------------------------------------------------------- */
@media (max-width: 360px) {
  .container          { padding: 0 14px; }

  /* Pricing cards fully compact */
  .pricing-card       { padding: 20px 14px; }
  .pricing-price .amount { font-size: 2rem; }

  /* Service specs ? single col */
  .service-detail-specs { grid-template-columns: 1fr; }

  /* Project stat items ? full width */
  .project-stat-item  { flex: 0 0 100%; }

  /* Chat keep it within view */
  .chat-float-wrap    { bottom: 12px; right: 10px; }
  .chat-float-btn     { width: 54px; height: 54px; }
}

/* ============================================
   LEGAL / POLICY PAGES
   ============================================ */
.legal-container {
  max-width: 840px;
  margin: 0 auto;
  padding: 60px 24px;
}
.legal-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-card);
}
@media (max-width: 600px) {
  .legal-card {
    padding: 28px 20px;
  }
  .legal-container {
    padding: 30px 16px;
  }
}
.legal-card h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-top: 36px;
  margin-bottom: 16px;
}
.legal-card h2:first-of-type {
  margin-top: 0;
}
.legal-card h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-top: 24px;
  margin-bottom: 12px;
}
.legal-card p {
  color: var(--grey-light);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 20px;
}
.legal-card ul {
  margin-bottom: 24px;
  padding-left: 24px;
}
.legal-card ul li {
  color: var(--grey-light);
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 10px;
}
.legal-card strong {
  color: var(--white);
  font-weight: 600;
}
.legal-date {
  color: var(--grey);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--dark-border);
  padding-bottom: 14px;
}


/* ================================================================
   COMPREHENSIVE MOBILE RESPONSIVE OVERRIDES
   Fixes all remaining mobile layout issues site-wide.
   Added systematically – no duplicate declarations.
   ================================================================ */

/* ── HERO SECTION: stack to single column on tablets / phones ── */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }
  .hero-badge   { margin: 0 auto 24px; }
  .hero-desc    { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats   { justify-content: center; }
  .hero-visual  { max-width: 560px; margin: 0 auto; height: 320px; }
}

@media (max-width: 600px) {
  .hero-inner        { gap: 24px; }
  .hero-stat-divider { display: none; }
  .hero-stats        { gap: 20px; flex-wrap: wrap; }
  .hero-actions      { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .hero-badge-float,
  .hero-badge-float2 { display: none; }
  .hero-visual       { height: 220px; }
  .hero-img-main     { width: 100%; border-radius: 16px; }
}

/* ── TRUST BAR: wrap nicely at all sizes ── */
@media (max-width: 768px) {
  .trust-inner   { flex-wrap: wrap; justify-content: center; gap: 12px 20px; }
  .trust-divider { display: none; }
}

/* ── GRID UTILITIES: ensure .grid-2, .grid-3, .grid-4 collapse ── */
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .grid-4 { grid-template-columns: 1fr; }
}

/* ── BLOG LIST PAGE ── */
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
  }
}
@media (max-width: 480px) {
  .blog-grid { gap: 16px; margin-top: 24px; }
  .blog-card-img { height: 180px; }
  .blog-card-body { padding: 18px 16px; }
  .blog-card-title { font-size: 1rem; }
}

/* ── BLOG POST SINGLE PAGE ── */
@media (max-width: 768px) {
  .post-layout    { padding: 40px 0; }
  .post-main      { padding: 28px 20px; }
  .post-sidebar   { width: 100%; }
}
@media (max-width: 480px) {
  .post-layout    { padding: 28px 0; gap: 20px; }
  .post-main      { padding: 20px 14px; }
  .post-header-title { font-size: 1.5rem; }
  .post-body      { font-size: 0.95rem; }
  .post-body h2   { font-size: 1.3rem; }
  .post-body h3   { font-size: 1.15rem; }
  .share-buttons  { flex-wrap: wrap; gap: 8px; }
  .share-btn      { flex: 1 1 calc(50% - 8px); min-width: 120px; justify-content: center; font-size: 0.8rem; padding: 8px 10px; }
}

/* ── FREE CONSULTATION PAGE ── */
@media (max-width: 768px) {
  .consultation-inner { grid-template-columns: 1fr !important; gap: 36px; }
  .consultation-form  { padding: 30px 24px; }
}
@media (max-width: 480px) {
  .consultation-form  { padding: 22px 16px; }
}

/* ── ABOUT PAGE ── */
@media (max-width: 900px) {
  .about-inner         { grid-template-columns: 1fr; gap: 40px; }
  .about-images-wrap   { max-width: 500px; margin: 0 auto; }
}
@media (max-width: 480px) {
  .about-images-wrap   { height: 260px; }
  .about-team-grid     { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 360px) {
  .about-team-grid     { grid-template-columns: 1fr; }
}

/* ── PROJECTS PAGE ── */
@media (max-width: 600px) {
  .projects-hero-inner { grid-template-columns: 1fr; }
  .gallery-grid        { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(4) { grid-row: span 1; }
}

/* ── PRICING PAGE ── */
@media (max-width: 960px) {
  .pricing-grid        { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .pricing-grid        { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 480px) {
  .faq-item            { padding: 16px 16px; }
  .faq-q               { font-size: 0.9rem; }
  .faq-a               { font-size: 0.84rem; }
}

/* ── CONTACT PAGE ── */
@media (max-width: 900px) {
  .contact-inner       { grid-template-columns: 1fr !important; gap: 36px; }
}
@media (max-width: 480px) {
  .contact-form-wrap   { padding: 22px 16px; }
  .form-group label    { font-size: 0.84rem; }
  .contact-info-card   { padding: 18px 14px; gap: 12px; }
}

/* ── SERVICE DETAIL INNER PAGES ── */
@media (max-width: 768px) {
  .service-detail-inner         { grid-template-columns: 1fr !important; gap: 36px; }
  .service-detail-inner.reverse .service-detail-content { order: 1; }
  .service-detail-inner.reverse .service-detail-images  { order: 2; }
  .service-detail-images        { height: auto; min-height: 280px; }
  .sdi-main                     { position: static; width: 100%; height: 240px; border-radius: 16px; }
  .sdi-secondary                { display: none; }
  .service-detail-specs         { grid-template-columns: repeat(2, 1fr); padding: 16px; }
}
@media (max-width: 480px) {
  .service-detail-specs         { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .service-detail-feature       { gap: 12px; }
  .sdf-icon                     { width: 36px; height: 36px; font-size: 1rem; }
}

/* ── CTA BANNER: always stack on mobile ── */
@media (max-width: 768px) {
  .cta-banner-inner       { flex-direction: column; text-align: center; gap: 24px; }
  .cta-banner-actions     { justify-content: center; flex-wrap: wrap; }
  .cta-banner-desc        { max-width: 100%; margin: 0 auto; }
}
@media (max-width: 480px) {
  .cta-banner-actions     { flex-direction: column; }
  .cta-banner-actions .btn-primary,
  .cta-banner-actions .btn-outline { width: 100%; justify-content: center; }
}

/* ── GLOBAL HORIZONTAL OVERFLOW GUARD ── */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* Prevent images and embeds overflowing containers */
img, video, iframe, embed, object {
  max-width: 100%;
  height: auto;
}

/* Tables: make scrollable rather than overflowing */
table {
  max-width: 100%;
}
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ── SECTION PADDING: tighter on mobile ── */
@media (max-width: 768px) {
  .section-pad    { padding: 64px 0; }
  .section-pad-sm { padding: 40px 0; }
}
@media (max-width: 480px) {
  .section-pad    { padding: 48px 0; }
  .section-pad-sm { padding: 32px 0; }
}

/* ── FOOTER: always single column on small phones ── */
@media (max-width: 600px) {
  .footer-inner   { grid-template-columns: 1fr; gap: 24px; }
  .footer-brand   { grid-column: unset; }
  .footer-social  { justify-content: flex-start; flex-wrap: wrap; }
  .footer-bottom  { flex-direction: column; text-align: center; gap: 10px; }
  .footer-bottom-text { flex-direction: column !important; gap: 6px !important; font-size: 0.78rem; }
}

/* ── CHATBOT: full screen on small phones ── */
@media (max-width: 480px) {
  .chat-window {
    right: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 88dvh !important;
    border-radius: 20px 20px 0 0 !important;
  }
  .chat-float-wrap { bottom: 16px; right: 14px; }
  .back-to-top     { bottom: 80px; right: 14px; left: auto; }
}

/* ── BUTTONS: full-width on tiny phones ── */
@media (max-width: 360px) {
  .btn-primary, .btn-outline {
    padding: 12px 18px;
    font-size: 0.86rem;
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* ── TOUCH IMPROVEMENTS ── */
@media (hover: none) and (pointer: coarse) {
  /* Remove hover transforms on touch screens */
  .service-card:hover,
  .testimonial-card:hover,
  .blog-card:hover,
  .value-card:hover,
  .cert-card:hover,
  .coverage-card:hover,
  .pricing-card:hover,
  .case-study-card:hover { transform: none; box-shadow: none; }

  /* Tap targets must be at least 44px */
  .btn-primary, .btn-outline, .nav-cta, .share-btn,
  .blog-read-more, .quick-link-btn, .gallery-tab { min-height: 44px; }
}

/* ── MOBILE NAV: ensure proper z-index layering ── */
@media (max-width: 960px) {
  #navbar       { z-index: 1005; }
  .nav-links    { z-index: 1004; }
  .nav-overlay  { z-index: 1003; }
  .chat-float-wrap { z-index: 999; }
}

/* ── ANALYTICS/ADMIN: mobile chart card layout ── */
@media (max-width: 768px) {
  .analytics-grid-kpis    { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .analytics-chart-row    { grid-template-columns: 1fr; }
  .recent-grid            { grid-template-columns: 1fr; }
  .analytics-table th,
  .analytics-table td     { padding: 10px 12px; font-size: 0.82rem; }
}
@media (max-width: 480px) {
  .analytics-grid-kpis    { grid-template-columns: 1fr; }
  .kpi-val                { font-size: 1.5rem; }
}

/* ================================================================
   UTILITY CLASSES — RESPONSIVE GRIDS
   Used by free-consultation.php and inverters-batteries.php
   ================================================================ */

/* Two-column form row (e.g. name + phone) */
.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

@media (max-width: 600px) {
  .form-row-2col {
    grid-template-columns: 1fr;
  }
}

/* Two-column card grid (e.g. battery comparison) */
.two-col-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

@media (max-width: 768px) {
  .two-col-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 36px;
  }
}

/* ── CONTACT-US page specific fixes ── */
@media (max-width: 768px) {
  #contact-us-page .form-row { grid-template-columns: 1fr; }
}

/* ── FREE CONSULTATION page ── */
@media (max-width: 768px) {
  .consultation-grid {
    grid-template-columns: 1fr !important;
    gap: 36px;
  }
  .consultation-card {
    max-width: 100%;
  }
}

/* ── BLOG PAGE – override for very small screens ── */
@media (max-width: 380px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .blog-card-body {
    padding: 14px 12px;
  }
}

/* ── ALL SERVICE PAGES: ensure inline auto-fit grids go 1-col on phones ── */
@media (max-width: 480px) {
  [style*="repeat(auto-fit"] {
    /* Inline auto-fit grids that go below min can still wrap */
    grid-template-columns: 1fr !important;
  }
}

/* ── PRICING CARD FEATURED: don't scale up on touch ── */
@media (max-width: 768px) {
  .pricing-card.featured {
    transform: none !important;
    margin-top: 0 !important;
  }
}

/* ── SECTION HEADING: correct clamp sizes for phones ── */
@media (max-width: 360px) {
  .section-heading {
    font-size: 1.4rem;
    line-height: 1.2;
  }
  .section-sub {
    font-size: 0.88rem;
  }
}

/* ── FORM INPUTS: proper sizing on mobile ── */
@media (max-width: 480px) {
  .form-input, .form-select, select.form-input, textarea.form-input {
    font-size: 16px !important; /* Prevents iOS zoom on focus */
  }
}

/* ── BACK TO TOP: reposition on mobile so it doesn't overlap chat ── */
@media (max-width: 768px) {
  .back-to-top {
    bottom: 100px;
    left: auto;
    right: 20px;
  }
}

/* ── OVERFLOW: extra safety for any section with negative margins ── */
section {
  max-width: 100%;
}

/* ── NAV LOGO: keep logo visible on very small screens ── */
@media (max-width: 360px) {
  .nav-logo img      { height: 36px; }
  .nav-logo-text     { font-size: 0.9rem; }
}

/* ── HERO GRID LINES: hide on phones for performance ── */
@media (max-width: 480px) {
  .hero-grid-lines { display: none; }
}

/* ── TESTIMONIAL SLIDER on mobile ── */
@media (max-width: 480px) {
  .testimonial-card {
    padding: 20px 16px;
  }
  .testimonial-text {
    font-size: 0.84rem;
  }
  .slider-btn {
    width: 36px;
    height: 36px;
  }
}

/* ── BLOG POST: social share row wraps cleanly ── */
@media (max-width: 640px) {
  .share-row {
    flex-direction: column;
    gap: 8px;
  }
  .share-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ================================================================
   HERO VISUAL – MOBILE FIX
   On small screens the two absolutely-positioned image containers
   look like empty dark boxes. Switch to a simple single-image
   block layout on mobile.
   ================================================================ */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }
  .hero-desc  { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
}

@media (max-width: 768px) {
  /* Hero visual: drop absolute layout, show one clean image */
  .hero-visual {
    height: auto !important;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: visible;
  }
  .hero-img-main {
    position: relative !important;
    top: auto !important; right: auto !important;
    width: 100% !important;
    height: 220px !important;
    border-radius: 16px;
    margin: 0 auto;
  }
  .hero-img-secondary {
    display: none !important;
  }
  .hero-badge-float,
  .hero-badge-float2 {
    display: none !important;
  }
  /* Hero text sizing */
  .hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }
  .hero-desc {
    font-size: 0.97rem;
    margin-bottom: 28px;
  }
  .hero-stats {
    gap: 16px;
    margin-top: 28px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 16px 20px;
    width: 100%;
  }
  .hero-stat-num { font-size: 1.35rem; }
  .hero-stat-label { font-size: 0.74rem; text-align: center; }
  .hero-stat-divider { display: none; }
}

@media (max-width: 480px) {
  .hero-img-main {
    height: 180px !important;
    border-radius: 12px;
  }
  .btn-primary, .btn-outline {
    padding: 13px 22px;
    font-size: 0.88rem;
    width: 100%;
    justify-content: center;
  }
  .hero-actions { flex-direction: column; align-items: stretch; }
}

/* ============================================
   PROJECTS CAROUSEL
   ============================================ */

.projects-carousel {
  position: relative;
  user-select: none;
}

/* ---- Progress bar ---- */
.pcarousel-progress {
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 100px;
  margin-bottom: 24px;
  overflow: hidden;
}
.pcarousel-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  border-radius: 100px;
  transition: width 0.05s linear;
  width: 0%;
}

/* ---- Main stage (3D Perspective Stage) ---- */
.pcarousel-stage {
  position: relative;
  height: 440px;
  perspective: 1200px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- Slides (Coverflow 3-Card Stage) ---- */
.pcarousel-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56%;
  max-width: 660px;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  box-shadow: 0 15px 40px rgba(0,0,0,0.6);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1),
              filter 0.6s cubic-bezier(0.25, 1, 0.5, 1),
              opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1),
              box-shadow 0.6s ease;
  will-change: transform, filter, opacity;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

/* 1. Center (Active) Slide */
.pcarousel-slide.active {
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  z-index: 10;
  opacity: 1;
  filter: blur(0px) brightness(1);
  box-shadow: 0 25px 65px rgba(0,0,0,0.85), 0 0 0 1.5px rgba(230, 160, 13, 0.5);
  cursor: default;
}

/* 2. Left (Previous) Slide */
.pcarousel-slide.prev-slide {
  left: 14%;
  transform: translate(-50%, -50%) scale(0.82) rotateY(12deg);
  z-index: 5;
  opacity: 0.65;
  filter: blur(4px) brightness(0.55);
}
.pcarousel-slide.prev-slide:hover {
  opacity: 0.85;
  filter: blur(2px) brightness(0.75);
}

/* 3. Right (Next) Slide */
.pcarousel-slide.next-slide {
  left: 86%;
  transform: translate(-50%, -50%) scale(0.82) rotateY(-12deg);
  z-index: 5;
  opacity: 0.65;
  filter: blur(4px) brightness(0.55);
}
.pcarousel-slide.next-slide:hover {
  opacity: 0.85;
  filter: blur(2px) brightness(0.75);
}

/* 4. Hidden Slides */
.pcarousel-slide.hidden-slide {
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 0;
  pointer-events: none;
  filter: blur(12px);
  z-index: 1;
}

/* ---- Image wrap ---- */
.pcarousel-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  flex-shrink: 0;
}
.pcarousel-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}
.pcarousel-slide.active .pcarousel-img-wrap img {
  transform: scale(1.02);
}
.pcarousel-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 35%,
    rgba(10, 34, 34, 0.65) 75%,
    rgba(10, 34, 34, 0.95) 100%
  );
}

/* ---- Caption ---- */
.pcarousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 36px;
  z-index: 3;
  transform: translateY(10px);
  opacity: 0;
  transition:
    transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s,
    opacity 0.5s ease 0.1s;
}
.pcarousel-slide.active .pcarousel-caption {
  transform: translateY(0);
  opacity: 1;
}
.pcarousel-tag {
  display: inline-block;
  background: rgba(230,160,13,0.18);
  color: var(--gold);
  border: 1px solid rgba(230,160,13,0.35);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
  font-family: var(--font-body);
}
.pcarousel-caption h3 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.25;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.pcarousel-caption p {
  font-size: 0.94rem;
  color: var(--grey-light);
  line-height: 1.6;
  max-width: 560px;
}

/* ---- Thumbnail strip ---- */
.pcarousel-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.pcarousel-thumbs::-webkit-scrollbar { display: none; }

.pcarousel-thumb {
  flex: 0 0 100px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.45;
  position: relative;
}
.pcarousel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.pcarousel-thumb:hover {
  opacity: 0.75;
  transform: translateY(-2px);
}
.pcarousel-thumb.active {
  border-color: var(--gold);
  opacity: 1;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(230,160,13,0.35);
}
.pcarousel-thumb.active::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

/* ---- Controls ---- */
.pcarousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
}
.pcarousel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--dark-card);
  border: 1.5px solid var(--dark-border2);
  color: var(--white);
  cursor: pointer;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease;
}
.pcarousel-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
  transform: scale(1.08);
  box-shadow: 0 4px 16px rgba(230,160,13,0.35);
}
.pcarousel-btn:active { transform: scale(0.95); }
.pcarousel-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.pcarousel-counter {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--grey-light);
  letter-spacing: 1.5px;
  min-width: 60px;
  text-align: center;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .pcarousel-img-wrap { height: 280px; }
  .pcarousel-caption { padding: 20px 20px; }
  .pcarousel-caption h3 { font-size: 1.2rem; }
  .pcarousel-caption p { display: none; }
  .pcarousel-thumb { flex: 0 0 70px; height: 48px; }
}
@media (max-width: 480px) {
  .pcarousel-img-wrap { height: 220px; }
  .pcarousel-thumbs { gap: 8px; }
  .pcarousel-thumb { flex: 0 0 56px; height: 40px; }
  .pcarousel-caption h3 { font-size: 1rem; }
}

/* ============================================
   HOMEPAGE SECTION BACKGROUND ALTERNATING SHADES
   ============================================ */

/* Section 1: Hero - Deepest Dark Teal */
#hero {
  background: #081d1e;
  border-bottom: 1px solid rgba(230, 160, 13, 0.12);
}

/* Section 2: Trust Bar - Medium Teal */
#trust-bar {
  background: #0e3536;
  border-top: 1px solid rgba(230, 160, 13, 0.15);
  border-bottom: 1px solid rgba(230, 160, 13, 0.15);
}

/* Section 3: Services (What We Do) - Dark Teal */
#services-home {
  background: #092223;
}

/* Section 4: Stats Strip - Medium Teal Gradient */
#stats {
  background: linear-gradient(135deg, #0d3435 0%, #154c4d 50%, #0d3435 100%);
  border-top: 1px solid rgba(230, 160, 13, 0.18);
  border-bottom: 1px solid rgba(230, 160, 13, 0.18);
}

/* Section 5: Core Purpose & Guiding Principle - Deepest Dark Teal */
#about-home {
  background: #071c1d;
}

/* Section 6: Projects (Real Projects Across Kenya) - Medium Teal */
#projects-home {
  background: #0e3536;
  border-top: 1px solid rgba(230, 160, 13, 0.12);
  border-bottom: 1px solid rgba(230, 160, 13, 0.12);
}

/* Section 7: Testimonials - Dark Teal */
#testimonials {
  background: #082021;
}

/* Section 8: CTA Banner - Medium Teal Gradient */
.cta-banner {
  background: linear-gradient(135deg, #0d3435 0%, #124647 100%);
  border-top: 1px solid rgba(230, 160, 13, 0.15);
}