/* ============================================================
   LIPRA VENTURES LIMITED — Corporate Website Stylesheet
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Montserrat:wght@400;600;700;800;900&display=swap');

/* ── CSS Custom Properties ── */
:root {
  --primary:       #08428a;
  --primary-light: #1a3a6b;
  --primary-dark:  #061629;
  --accent:        #5cb85c;
  --accent-light:  #7dcf7d;
  --accent-dark:   #3d9140;
  --white:         #ffffff;
  --off-white:     #f8f9fb;
  --light-gray:    #eef0f4;
  --mid-gray:      #9aa3b0;
  --dark-gray:     #4a5568;
  --text:          #1a202c;
  --text-light:    #6b7280;

  --font-body:     'Inter', sans-serif;
  --font-heading:  'Montserrat', sans-serif;

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

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 10px 40px rgba(0,0,0,.14);
  --shadow-xl:  0 20px 60px rgba(0,0,0,.18);

  --transition: .3s cubic-bezier(.4,0,.2,1);
  --nav-height: 80px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  
}

img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Typography ── */
/* ─────────────────────────────
   TYPOGRAPHY SYSTEM
───────────────────────────── */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 18px;
}

/* Main Hero Titles */
h1 {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 800;
}

/* Section Titles */
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

/* Card / Subsection Titles */
h3 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 700;
}

/* Small Headings */
h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

h5 {
  font-size: 1rem;
  font-weight: 600;
}

h6 {
  font-size: .9rem;
  font-weight: 600;
}

/* Paragraphs */
p {
  color: var(--dark-gray);
  font-size: 1rem;
  line-height: 1.8;
}

/* Section Titles */
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 18px;
  line-height: 1.15;
  letter-spacing: -.03em;
}

/* Section Subtitle */
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 680px;
  line-height: 1.8;
}
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }

.bg-off-white { background: var(--off-white); }
.bg-primary    { background: var(--primary); }
.bg-dark       { background: var(--primary-dark); }

.text-white    { color: var(--white) !important; }
.text-accent   { color: var(--accent) !important; }


/* ── HERO LAYOUT FIX ── */
.hero {
  position: relative;
}

.hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* 🔥 CRITICAL: Overlay must NOT block clicks */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);

  pointer-events: none; /* ✅ THIS FIXES YOUR PROBLEM */
  z-index: 1;
}

/* Ensure content is above overlay */
.hero-content {
  position: relative;
  z-index: 2;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;

  /* ✅ CLICK FIX */
  position: relative;
  z-index: 3;
  pointer-events: auto;
  cursor: pointer;
}

/* Prevent hover layer from blocking clicks */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none; /* ✅ important */
}

/* Styles */
.btn-primary {
  background: green;
  color: white;
}

.btn-outline {
  border: 2px solid white;
  color: white;
}
/* ── Navigation ── */
/* ================= NAVBAR ================= */
/* ================= NAVBAR ================= */
/* ================= NAVBAR ================= */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  height: var(--nav-height);
  z-index: 1000;

  display: flex;
  align-items: center;

  background: white;
  box-shadow: 0 2px 12px rgba(0,0,0,.10);
}

/* ================= INNER ================= */
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* ================= LOGO ================= */
.nav-logo-img {
  height: 70px;
  width: auto;
}

/* ================= LINKS ================= */
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px; /* increased spacing for breathing room */
}

/* ================= LINK STYLE ================= */
.nav-link {
  font-family: var(--font-heading);
  font-size: .88rem;
  font-weight: 600;
  color: #111;

  display: flex;
  align-items: center;
  gap: 8px;

  padding: 6px 0;

  position: relative;
  transition: var(--transition);
}

/* ================= ICONS ================= */
.nav-link i {
  font-size: .9rem;
  color: var(--accent);
  transition: var(--transition);
}

/* ================= HOVER ================= */
.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover i {
  color: var(--primary);
  transform: translateY(-1px);
}

/* ================= SIMPLE UNDERLINE (LESS HEAVY) ================= */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;

  width: 0%;
  height: 2px;
  background: var(--accent);

  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

/* ================= ACTIVE ================= */
.nav-link.active {
  color: var(--primary);
}

.nav-link.active i {
  color: var(--primary);
}

/* ================= HAMBURGER ================= */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: black;
  transition: 0.3s;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

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

  /* Hide desktop nav */
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    right: -100%; /* hidden */

    width: 100%;
    height: calc(100vh - var(--nav-height));

    background: white;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    padding: 20px 0;
    gap: 10px;

    transition: right 0.3s ease;
    z-index: 999;
  }

  /* Show menu */
  .nav-links.open {
    right: 0;
  }

  /* Mobile links */
  .nav-link {
    font-size: 1rem;
    width: 100%;
    text-align: center;
    padding: 12px 0;
  }
}
/* ================= HAMBURGER ================= */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;

  width: 45px;
  height: 45px;

  cursor: pointer;
  position: relative;
  overflow: hidden;

  /* Bright Frosted Glass */
  background: rgba(255, 255, 255, 0.25);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(255, 255, 255, 0.35);

  border-radius: 14px;

  transition: all 0.35s ease;
}

.hamburger:hover {
  transform: translateY(-2px) scale(1.04);

  background: rgba(255, 255, 255, 0.35);

  border-color: rgba(255, 255, 255, 0.5);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;

  background: #08428a;

  border-radius: 10px;

  transition:
    transform 0.4s ease,
    opacity 0.3s ease;
}

/* Hamburger Animation */
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: var(--nav-height);
    right: -100%;

    width: 100%;

    flex-direction: column;
    align-items: center;

    padding: 20px 0;
    gap: 10px;

    transition: right 0.4s ease;

    /* Bright Frosted Menu */
    background: rgba(255, 255, 255, 0.2);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-top: 1px solid rgba(255, 255, 255, 0.3);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-link {
    font-size: 1rem;
    color: white;
  }
}

/* ── Hero Slider ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}
.hero-slides { position: relative; width: 100%; height: 100%; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: kenBurns 8s ease-out forwards;
}
@keyframes kenBurns {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  /* Linear gradient removed */
}
.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
}
.hero-text {
  max-width: 860px;
  color: var(--white);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease .3s, transform .8s ease .3s;
}
.hero-slide.active .hero-text { opacity: 1; transform: translateY(0); }
.hero-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  padding: 6px 16px;
  border: 1px solid rgba(92,184,92,.4);
  border-radius: 100px;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.15;
}
.hero-title span { color: blue;}
.hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.82);
  margin-bottom: 36px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-dots {
  position: absolute;
  bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 10;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  transition: var(--transition);
  cursor: pointer;
}
.hero-dot.active {
  background: var(--accent);
  width: 28px;
  border-radius: 4px;
}


/* ── Stats Section ── */
.stats-section {
  background: white;
  padding: 64px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat-item {
  text-align: center;
  padding: 32px 16px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 900;
  color: blue;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: .9rem;
  font-weight: 600;
  color: rgba(8, 7, 7, 0.7);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ── Services Cards ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--light-gray);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}
.service-card-img {
  height: 220px;
  overflow: hidden;
}
.service-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.06); }
.service-card-body { padding: 28px; }
.service-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);

  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 1.4rem;
}
.service-card-body h3 { margin-bottom: 10px; font-size: 1.15rem; }
.service-card-body p  { font-size: .92rem; line-height: 1.65; margin-bottom: 20px; }
.service-link {
  font-size: .85rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .04em;
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap var(--transition);
}
.service-link:hover { gap: 12px; }

/* ── Timeline ── */
.timeline { position: relative; padding: 0 0 32px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--primary-light));
  transform: translateX(-50%);
}
.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 56px;
  position: relative;
}
.timeline-item:nth-child(odd)  { flex-direction: row; }
.timeline-item:nth-child(even) { flex-direction: row-reverse; }
.timeline-content {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--light-gray);
  transition: transform var(--transition), box-shadow var(--transition);
}
.timeline-content:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.timeline-number {
  flex: 0 0 56px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  z-index: 1;
  margin-top: 16px;
  box-shadow: 0 0 0 6px rgba(10,35,66,.12);
}
.timeline-content h3 { margin-bottom: 8px; font-size: 1.1rem; }
.timeline-content p  { font-size: .92rem; }

/* ── Project Cards ── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  background: var(--white);
  border: 1px solid var(--light-gray);
}
.project-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.project-img {
  height: 240px;
  overflow: hidden;
  position: relative;
}
.project-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.project-card:hover .project-img img { transform: scale(1.06); }
.project-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--accent);
  color: var(--primary-dark);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}
.project-body { padding: 24px; }
.project-location {
  font-size: .8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 4px;
}
.project-body h3 { margin-bottom: 8px; font-size: 1.05rem; }
.project-body p  { font-size: .88rem; line-height: 1.6; }

/* ── Certifications ── */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cert-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-gray);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.cert-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cert-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
}
.cert-card h4 { margin-bottom: 8px; font-size: 1rem; }
.cert-card p  { font-size: .85rem; }

/* ── Logo Belt ── */
.logo-belt { overflow: hidden; padding: 48px 0; background: var(--off-white); }
.logo-track-wrap { overflow: hidden; margin-bottom: 20px; }
.logo-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: scrollLeft 28s linear infinite;
}
.logo-track.reverse { animation: scrollRight 28s linear infinite; }
.logo-track:hover,
.logo-track.reverse:hover { animation-play-state: paused; }
@keyframes scrollLeft  { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes scrollRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.logo-item {
  flex: 0 0 auto;
  width: 140px; height: 60px;
  background: var(--white);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  filter: grayscale(1) opacity(.6);
  transition: filter var(--transition), box-shadow var(--transition);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: .8rem;
  color: var(--primary);
  letter-spacing: .04em;
  padding: 8px 16px;
  text-align: center;
}
.logo-item:hover { filter: grayscale(0) opacity(1); box-shadow: var(--shadow-md); }

/* ── CTA Banner ── */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(92,184,92,.06);
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p  { color: rgba(255,255,255,.75); font-size: 1.1rem; margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ── Footer ── */
.footer {
  background: var(--white);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-logo span { color: var(--accent); }
.footer-about p { font-size: .9rem; color: rgba(12, 11, 11, 0.6); line-height: 1.8; margin-bottom: 24px; }
.footer-social { display: flex; gap: 12px; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08);
  color: rgba(3, 1, 14, 0.7);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  transition: var(--transition);
}
.social-btn:hover { background: var(--accent); color: var(--black); }
.footer-col h5 {
  font-family: var(--font-heading);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(black);
  margin-bottom: 20px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: .88rem;
  color: rgba(8, 6, 6, 0.6);
  transition: color var(--transition);
  display: flex; align-items: center; gap: 6px;
}
.footer-links a::before {
  content: '›';
  color: var(rgb(0, 0, 0));
  font-size: 1rem;
}
.footer-links a:hover { color:green; }
.contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
}
.contact-item-icon {
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(19, 20, 19, 0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--black);
  font-size: .85rem;
  flex-shrink: 0;
}
.contact-item-text { font-size: .88rem; color: rgba(14, 13, 13, 0.6); line-height: 1.6; }
.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: .82rem; color: rgba(8, 8, 8, 0.4); }
.footer-bottom a { color: var(--accent); }

/* ── Page Hero (inner pages) ── */
.page-hero {
  height: 380px;
  position: relative;
  display: flex; align-items: center;
  overflow: hidden;
  margin-top: var(--nav-height);
}
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;

}
.page-hero-content {
  position: relative;
  z-index: 1;
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 12px;
}
.breadcrumb a { color: var(--accent); }
.breadcrumb span { color: rgba(255,255,255,.3); }
.page-hero h1 { color: var(--white); }

/* ── About Page ── */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.about-img-wrap img { width: 100%; height: 480px; object-fit: cover; }
.about-badge {
  position: absolute;
  bottom: 32px; right: -24px;
  background: var(--accent);
  color: var(--primary-dark);
  padding: 20px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.about-badge .num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}
.about-badge .lbl { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.about-text .section-subtitle { max-width: 100%; }
.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 40px;
}
.mv-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--accent);
  background: var(--off-white);
}
.mv-card h4 { margin-bottom: 10px; color: var(--primary); }
.mv-card p  { font-size: .92rem; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  padding: 32px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-gray);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.why-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
}
.why-card h4 { margin-bottom: 10px; font-size: 1rem; }

/* ── Services Full Page ── */
.services-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-full-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-full-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.service-full-img { height: 200px; overflow: hidden; }
.service-full-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-full-card:hover .service-full-img img { transform: scale(1.06); }
.service-full-body { padding: 28px; }
.service-full-body h3 { margin-bottom: 12px; font-size: 1.1rem; }
.service-full-body p  { font-size: .9rem; line-height: 1.7; }

.faq-section { margin-top: 80px; }
.faq-item {
  border-bottom: 1px solid var(--light-gray);
  padding: 24px 0;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 16px;
}
.faq-question h4 { font-size: 1rem; font-weight: 600; color: var(--primary); }
.faq-toggle {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--off-white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: var(--transition);
}
.faq-item.open .faq-toggle { transform: rotate(45deg); background: var(--accent); color: var(--primary-dark); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
}
.faq-item.open .faq-answer { max-height: 300px; padding-top: 16px; }
.faq-answer p { font-size: .92rem; }

/* ── Equipment Page ── */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.equipment-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  transition: transform var(--transition), box-shadow var(--transition);
}
.equipment-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.equipment-img { height: 220px; overflow: hidden; }
.equipment-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.equipment-card:hover .equipment-img img { transform: scale(1.06); }
.equipment-body { padding: 24px; }
.equipment-body h3 { margin-bottom: 8px; font-size: 1.05rem; }
.equipment-body p  { font-size: .88rem; line-height: 1.65; }

/* ── Gallery ── */
.gallery-grid {
  columns: 3;
  gap: 16px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.gallery-item img { width: 100%; display: block; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,35,66,.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: var(--white); font-size: 2rem; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: var(--white);
  font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.lightbox-close:hover { background: var(--accent); color: var(--primary-dark); }
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: var(--white);
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-prev:hover, .lightbox-next:hover { background: var(--accent); color: var(--primary-dark); }

/* ── Service Areas ── */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.area-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  transition: transform var(--transition), box-shadow var(--transition);
}
.area-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.area-img { height: 160px; overflow: hidden; }
.area-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.area-card:hover .area-img img { transform: scale(1.06); }
.area-body { padding: 20px; }
.area-body h3 { font-size: 1rem; margin-bottom: 6px; }
.area-body p  { font-size: .84rem; line-height: 1.6; }

/* ── Certifications Page ── */
.cert-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.cert-full-card {
  padding: 36px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-gray);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: transform var(--transition), box-shadow var(--transition);
}
.cert-full-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cert-full-icon {
  width: 64px; height: 64px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}
.cert-full-text h3 { margin-bottom: 8px; font-size: 1.05rem; }
.cert-full-text p  { font-size: .9rem; line-height: 1.7; }

/* ── Contact Page ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--light-gray);
}
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
  letter-spacing: .02em;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: .92rem;
  color: var(--text);
  background: var(--off-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(92,184,92,.15);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.contact-info-wrap { padding-top: 8px; }
.contact-info-wrap h3 { margin-bottom: 8px; }
.contact-info-wrap > p { margin-bottom: 32px; }
.contact-detail-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
  padding: 20px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--light-gray);
}
.contact-detail-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-detail-text strong {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}
.contact-detail-text span { font-size: .88rem; color: var(--text-light); }
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 28px;
  border: 1px solid var(--light-gray);
}
.map-wrap iframe { display: block; width: 100%; height: 280px; border: none; }

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .services-grid,
  .projects-grid,
  .services-full-grid,
  .equipment-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid,
  .why-grid,
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .stat-item:nth-child(3),
  .stat-item:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-badge { right: 16px; }
  .timeline::before { left: 28px; }
  .timeline-item,
  .timeline-item:nth-child(even) { flex-direction: row; }
  .timeline-number { flex: 0 0 56px; }
}

@media (max-width: 768px) {
  :root { --nav-height: 68px; }
  .nav-links { display: none; flex-direction: column; position: fixed; top: var(--nav-height); left: 0; right: 0; background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-top: 1px solid rgba(255, 255, 255, 0.2); padding: 24px; box-shadow: var(--shadow-lg); gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-link { color: rgba(255,255,255,.9); padding: 12px 16px; border-radius: var(--radius-md); width: 100%; }
  .nav-link:hover { background: var(--off-white); }
  .hamburger { display: flex; }
  .services-grid,
  .projects-grid,
  .services-full-grid,
  .equipment-grid,
  .cert-full-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .cert-grid,
  .why-grid,
  .areas-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { columns: 2; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .mission-vision-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px; }
}

@media (max-width: 480px) {
  .cert-grid,
  .why-grid,
  .areas-grid { grid-template-columns: 1fr; }
  .gallery-grid { columns: 1; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #fafbfc;
  color: #fff;
}
.video-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

/* Thumbnail */
.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
}

/* Play button */
.play-btn {
  font-size: 40px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  border: none;
  border-radius: 50%;
  padding: 20px 25px;
  cursor: pointer;
  transition: 0.3s;
}

/* Hover effect */
.video-wrapper:hover .overlay {
  background: rgba(0,0,0,0.6);
}

.video-wrapper:hover .play-btn {
  transform: scale(1.1);
}

/* Mobile */
@media (max-width: 768px) {
  .video-card {
    width: 90%;
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  z-index: 1000;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.whatsapp-float img {
  width: 100%;
  height: 100%;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.section-pad {
    padding: 80px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.section-label {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    color: blue;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: black;
    max-width: 700px;
    margin: 0 auto;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    transition: var(--transition-ease);
    cursor: pointer;
    /* Maintain aspect ratio for items */
    padding-top: 56.25%; /* 16:9 Aspect Ratio (height / width * 100%) */
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.gallery-item video,
.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures content covers the item without distortion */
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover video,
.gallery-item:hover img {
    transform: scale(1.05);
}

/* Gallery Overlay */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-ease);
    pointer-events: none; /* Allow clicks to pass through to the video/image */
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: #fff;
    font-size: 2.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: var(--transition-ease);
}

.gallery-item:hover .gallery-overlay span {
    transform: scale(1);
}

.video-overlay .play-icon {
    font-size: 3.5rem;
    line-height: 1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .section-pad {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

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

    .gallery-item {
        padding-top: 65%; /* Slightly taller aspect ratio for mobile */
    }

    .gallery-overlay span {
        font-size: 2rem;
    }

    .video-overlay .play-icon {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .section-pad {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }
}

/* Basic reveal animation (if 'reveal' class is used) */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  display: inline-block;
  animation: spin .7s linear infinite;
  margin-right: 10px;
  vertical-align: middle;
}

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

/* ─────────────────────────────
   CONTACT ICON HOVER EFFECT
───────────────────────────── */

.contact-item-icon {
  width: 54px;
  height: 54px;
  min-width: 54px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 16px;

  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);

  color: var(--accent);
  font-size: 1.2rem;

  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

/* Hover Effect */
.contact-item:hover .contact-item-icon {
  transform: translateY(-6px) scale(1.08) rotate(3deg);
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}

/* Soft Glow Ring */
.contact-item-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 2px solid transparent;
  transition: all 0.4s ease;
}

/* Glow on Hover */
.contact-item:hover .contact-item-icon::before {
  border-color: rgba(255,255,255,.25);
  transform: scale(1.15);
  opacity: 0;
}

/* Icon animation */
.contact-item-icon i {
  transition: transform 0.3s ease;
}

.contact-item:hover .contact-item-icon i {
  transform: scale(1.15);
}