/* ============================================================
   NDSE v2 — Nathan Digital Survey Engineers
   Modern UI Stylesheet
   ============================================================ */

/* --- Google Fonts ----------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables ---------------------------------------- */
:root {
  --primary-color: #1e3a8a;
  --primary-dark:  #0f1f4d;
  --blue:       #1e3a8a;
  --blue-dark:  #0f1f4d;
  --gold:       #f59e0b;
  --gold-dark:  #d97706;
  --white:      #ffffff;
  --off-white:  #f8fafc;
  --light-blue: #eff6ff;
  --text-dark:  #0f172a;
  --text-body:  #334155;
  --text-muted: #64748b;
  --border:     #e2e8f0;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:  0 10px 40px rgba(0,0,0,0.12);
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --transition: all 0.3s ease;
}

/* --- Reset & Base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  line-height: 1.25;
  font-weight: 700;
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
a:hover { text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; padding: 0; margin: 0; }

/* ============================================================
   TOP INFO BAR
   ============================================================ */
.top-bar {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.85);
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 7px;
}

.top-bar-item span[class*="icon-"] {
  color: var(--gold);
  font-size: 0.9rem;
}

.top-bar-item a {
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
}
.top-bar-item a:hover { color: var(--gold); }

/* ============================================================
   MODERN STICKY NAVBAR
   ============================================================ */
.ndse-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s ease;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

/* Desktop nav links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li a {
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-menu li a:hover {
  background: var(--light-blue);
  color: var(--blue);
}

.nav-menu li a.active {
  color: var(--blue);
  background: var(--light-blue);
}

/* Contact Us CTA pill */
.nav-menu li a.nav-cta-btn {
  background: var(--blue);
  color: var(--white) !important;
  border-radius: 50px;
  padding: 9px 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(30,58,138,0.25);
}

.nav-menu li a.nav-cta-btn:hover {
  background: var(--blue-dark);
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(30,58,138,0.35);
}

/* Hamburger button */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-hamburger:hover { background: var(--light-blue); }

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--blue-dark);
  border-radius: 4px;
  transition: var(--transition);
  transform-origin: center;
}

/* Hamburger → X animation */
.nav-hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile slide-down menu */
.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.mobile-menu.open {
  max-height: 500px;
}

.mobile-menu ul {
  padding: 12px 24px 20px;
}

.mobile-menu ul li a {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.mobile-menu ul li:last-child a { border-bottom: none; }

.mobile-menu ul li a:hover,
.mobile-menu ul li a.active { color: var(--blue); }

.mobile-menu ul li a.mobile-cta {
  color: var(--blue);
  font-weight: 700;
}

/* ============================================================
   SERVICES DROPDOWN MENU
   ============================================================ */
/* Position the parent as anchor */
.nav-menu li.has-dropdown {
  position: relative;
}

/* Arrow indicator */
.nav-menu li.has-dropdown > a .icon-keyboard_arrow_down {
  display: inline-block;
  vertical-align: middle;
  font-size: 1.1rem;
  margin-left: 2px;
  transition: transform 0.25s ease;
}

/* Rotate arrow on hover */
.nav-menu li.has-dropdown:hover > a .icon-keyboard_arrow_down {
  transform: rotate(180deg);
}

/* The dropdown panel — hidden by default */
.nav-menu li.has-dropdown > ul.dropdown-menu {
  /* override bootstrap's display:none so we control visibility ourselves */
  display: block !important;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 230px;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(15,31,77,0.14);
  padding: 8px 0;
  z-index: 9999;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  list-style: none;
  margin: 0;
  max-height: 500px;
  overflow-y: auto;
}

/* Show on hover */
.nav-menu li.has-dropdown:hover > ul.dropdown-menu,
.nav-menu li.has-dropdown.open > ul.dropdown-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Dropdown items */
.nav-menu li.has-dropdown > ul.dropdown-menu li {
  display: block;
}

.nav-menu li.has-dropdown > ul.dropdown-menu li a {
  display: block;
  padding: 9px 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-body);
  border-radius: 0;
  white-space: nowrap;
  background: transparent;
  transition: background 0.18s, color 0.18s;
}

.nav-menu li.has-dropdown > ul.dropdown-menu li a:hover {
  background: var(--light-blue);
  color: var(--blue);
}

/* Mobile accordion-style for .has-dropdown — desktop hides it, mobile shows inline */
@media (max-width: 991px) {
  /* Mobile dropdown toggle button */
  .mobile-services-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    padding: 11px 0;
    border-bottom: 1px solid var(--border);
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
    cursor: pointer;
    text-align: left;
    transition: color 0.2s;
  }

  .mobile-services-toggle:hover { color: var(--blue); }

  .mobile-services-toggle .toggle-arrow {
    display: inline-block;
    font-size: 1.2rem;
    transition: transform 0.25s ease;
  }

  .mobile-services-toggle.open .toggle-arrow {
    transform: rotate(180deg);
  }

  /* Submenu panel hidden */
  .mobile-services-submenu {
    display: none;
    padding-left: 16px;
    border-bottom: 1px solid var(--border);
    max-height: 350px;
    overflow-y: auto;
  }

  .mobile-services-submenu.open {
    display: block;
  }

  .mobile-services-submenu li a {
    border-bottom: 1px solid var(--border) !important;
    color: var(--text-muted) !important;
    font-size: 0.88rem !important;
    padding: 9px 0 !important;
  }

  .mobile-services-submenu li:last-child a {
    border-bottom: none !important;
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary-ndse {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 13px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(245,158,11,0.3);
  letter-spacing: 0.02em;
}
.btn-primary-ndse:hover {
  background: var(--gold-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,158,11,0.4);
}

.btn-secondary-ndse {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.7);
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.02em;
}
.btn-secondary-ndse:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border-color: var(--white);
}

.btn-blue-ndse {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 13px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(30,58,138,0.25);
  letter-spacing: 0.02em;
}
.btn-blue-ndse:hover {
  background: var(--blue-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30,58,138,0.35);
}

/* ============================================================
   HERO SECTION (Homepage Carousel)
   ============================================================ */
.hero-wrap {
  position: relative;
}

.hero-wrap .owl-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  margin-top: 0;
}

.hero-wrap .owl-nav .owl-prev,
.hero-wrap .owl-nav .owl-next {
  position: static !important;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15) !important;
  backdrop-filter: blur(4px);
  display: flex !important;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  transition: all 0.3s ease;
  font-size: 1.5rem !important;
}

.hero-wrap .owl-nav .owl-prev:hover,
.hero-wrap .owl-nav .owl-next:hover {
  background: rgba(255,255,255,0.3) !important;
  transform: scale(1.1);
}

.hero-carousel .hero-slide-item {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-carousel .hero-slide-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,31,77,0.75) 0%, rgba(30,58,138,0.55) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  max-width: 860px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-block;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 22px;
}

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-title span {
  color: var(--gold);
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   PAGE HERO (Inner Pages)
   ============================================================ */
.page-hero {
  position: relative;
  padding: 130px 0 90px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,31,77,0.80) 0%, rgba(30,58,138,0.65) 100%);
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}

.page-hero p.subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  max-width: 580px;
  margin: 0 auto 22px;
}

.breadcrumb-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(6px);
  padding: 7px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
  font-family: 'Inter', sans-serif;
}

.breadcrumb-pill a {
  color: var(--gold);
}
.breadcrumb-pill span { color: rgba(255,255,255,0.5); }

/* ============================================================
   SECTION HELPERS
   ============================================================ */
.section-tag {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--light-blue);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.section-title span { color: var(--blue); }

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--blue);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 20px 0;
  border-right: 1px solid rgba(255,255,255,0.15);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}

.stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.02em;
}

/* ============================================================
   SERVICE CARDS — WITH IMAGE (Services Page)
   ============================================================ */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue);
}

.service-card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.service-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-img-wrap img {
  transform: scale(1.06);
}

.service-card-icon {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 48px;
  height: 48px;
  background: var(--blue);
  color: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 16px rgba(30,58,138,0.35);
  z-index: 2;
}

.service-card-body {
  padding: 30px 24px 24px;
}

.service-card-body h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.service-card-body p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   SERVICE CARDS — ICON ONLY (Home Page)
   ============================================================ */
.service-card-icon-only {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px 30px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  border-top: 3px solid transparent;
}

.service-card-icon-only:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--gold);
  border-color: var(--border);
}

.service-icon-box {
  width: 64px;
  height: 64px;
  background: var(--light-blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: var(--blue);
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card-icon-only:hover .service-icon-box {
  background: var(--blue);
  color: var(--white);
}

.service-card-icon-only h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.service-card-icon-only p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   PROJECT CARDS
   ============================================================ */
.project-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.project-card-img {
  position: relative;
  overflow: hidden;
  height: 230px;
}

.project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-card-img img {
  transform: scale(1.06);
}

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,31,77,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-card-overlay { opacity: 1; }

.project-zoom-btn {
  width: 48px;
  height: 48px;
  background: var(--white);
  color: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}

.project-zoom-btn:hover {
  background: var(--gold);
  color: var(--white);
}

.project-card-body {
  padding: 22px 24px;
}

.project-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--light-blue);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 10px;
  font-family: 'Poppins', sans-serif;
}

.project-card-body h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-img-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
}

.about-img-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.about-exp-badge {
  position: absolute;
  bottom: 24px;
  right: -20px;
  background: var(--gold);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  text-align: center;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(245,158,11,0.4);
  min-width: 110px;
}

.about-exp-badge .exp-num {
  display: block;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 2px;
}

.about-exp-badge .exp-label {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.9;
}

.about-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-body);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-family: 'Inter', sans-serif;
}

.about-feature-list li:last-child { border-bottom: none; }

.about-feature-list li::before {
  content: '';
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: var(--light-blue);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%231e3a8a'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
  display: block;
}

/* ============================================================
   MVV CARDS (Mission / Vision / Experience)
   ============================================================ */
.mvv-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.mvv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.mvv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.mvv-icon {
  width: 56px;
  height: 56px;
  background: var(--light-blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--blue);
  margin-bottom: 20px;
}

.mvv-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.mvv-card p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before,
.cta-banner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.cta-banner::before {
  width: 400px;
  height: 400px;
  top: -150px;
  right: -100px;
}

.cta-banner::after {
  width: 280px;
  height: 280px;
  bottom: -120px;
  left: -60px;
}

.cta-banner-content {
  position: relative;
  z-index: 2;
}

.cta-banner h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}

.cta-banner h2 span { color: var(--gold); }

.cta-banner p {
  font-size: 1rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 32px;
}

/* ============================================================
   DIGITAL SURVEY — TECH BLOCKS
   ============================================================ */
.tech-block {
  padding: 60px 0;
}

.tech-block-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.tech-block-text h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 16px;
}

.tech-block-text p {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.tech-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tech-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-body);
  padding: 7px 0;
  font-family: 'Inter', sans-serif;
}

.tech-checklist li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
}

/* ============================================================
   TEAM CARDS
   ============================================================ */
.team-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.team-img-wrap {
  width: 200px;
  height: 200px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin: 0 auto 22px;
  background: var(--off-white);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.5s ease;
}

.team-card:hover .team-img-wrap img {
  transform: scale(1.05);
}

.team-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: block;
  font-family: 'Inter', sans-serif;
}

.team-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--text-dark);
  color: var(--white);
  border-radius: 50%;
  font-size: 1rem;
  transition: var(--transition);
}

.team-linkedin:hover {
  background: #0077b5;
  color: var(--white);
  transform: scale(1.1);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
  height: 100%;
}

.contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
}

.contact-icon-wrap {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: var(--light-blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--blue);
}

.contact-info-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.contact-info-value {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
}

.contact-info-value a {
  color: var(--blue);
}
.contact-info-value a:hover { color: var(--blue-dark); }

/* Contact Form */
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px 44px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.form-group-ndse {
  margin-bottom: 22px;
}

.form-group-ndse label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-input-ndse {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  color: var(--text-body);
  background: var(--off-white);
  transition: var(--transition);
  outline: none;
}

.form-input-ndse:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(30,58,138,0.08);
}

.form-input-ndse::placeholder { color: #b0b8c8; }

textarea.form-input-ndse { resize: vertical; min-height: 130px; }

.map-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: none;
}

/* ============================================================
   SERVICE DETAIL PAGES — IMAGE & LAYOUT FIX
   ============================================================ */
.svc-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  padding: 110px 0 70px;
  color: #fff;
  text-align: center;
}

.svc-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
}

.svc-hero p {
  font-size: 1.15rem;
  opacity: 0.92;
  max-width: 680px;
  margin: 0 auto 30px;
}

/* Service detail image fix */
.svc-detail-img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.1);
  margin-bottom: 28px;
}

/* Service detail sidebar fix */
.svc-sidebar {
  background: #f8f9fa;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  position: sticky;
  top: 100px;
}

/* Fix overview cards */
.overview-card {
  background: #f8f9fa;
  border-left: 4px solid var(--primary-color);
  border-radius: 0 10px 10px 0;
  padding: 24px 28px;
  margin-bottom: 20px;
}

.overview-card h5 {
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 8px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 10px;
  padding: 14px 20px;
  margin-bottom: 12px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.ndse-footer {
  background: var(--blue-dark);
  padding: 70px 0 0;
  color: rgba(255,255,255,0.78);
  font-family: 'Inter', sans-serif;
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-logo img {
  height: 120px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.1);
  border-radius: 8px;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  transition: var(--transition);
}

.footer-social-btn:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.footer-links li a::before {
  content: '›';
  color: var(--gold);
  font-size: 1rem;
  line-height: 1;
}

.footer-links li a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 12px;
  line-height: 1.6;
}

.footer-contact-item span[class*="icon-"] {
  color: var(--gold);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.65);
}
.footer-contact-item a:hover { color: var(--gold); }

.footer-divider {
  border-color: rgba(255,255,255,0.1);
  margin: 40px 0 0;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.45);
  margin: 0;
}

/* ============================================================
   FLOATING ACTION BUTTONS
   ============================================================ */
.floating-actions {
  position: fixed;
  right: 24px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.fab-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: var(--transition);
  text-decoration: none;
}

.fab-btn:hover {
  transform: translateY(-3px) scale(1.1);
  color: var(--white);
}

.fab-whatsapp { background: #25d366; }
.fab-whatsapp:hover { background: #1da851; }

.fab-phone { background: var(--blue); }
.fab-phone:hover { background: var(--blue-dark); }

.fab-top {
  background: var(--blue-dark);
  font-size: 1.4rem;
}
.fab-top:hover { background: var(--blue); }

/* ============================================================
   PAGE LOADER
   ============================================================ */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

.loader-ring {
  width: 48px;
  height: 48px;
  border: 4px solid var(--border);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.bg-off-white { background: var(--off-white); }
.bg-white      { background: var(--white); }
.bg-blue       { background: var(--blue); }
.bg-blue-dark  { background: var(--blue-dark); }
.text-gold     { color: var(--gold); }
.text-blue     { color: var(--blue); }

.py-section    { padding: 80px 0; }
.py-section-sm { padding: 60px 0; }

.section-header { margin-bottom: 52px; }
.section-header.text-center { text-align: center; }
.section-header.text-center .section-desc { margin: 0 auto; }

/* ============================================================
   HERO — KEN BURNS ZOOM + SMOOTH FADE
   ============================================================ */
.hero-slide-item {
  overflow: hidden;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1);
  transition: transform 8s ease-out;
  z-index: 0;
}

.owl-item.active .hero-slide-bg {
  transform: scale(1.1);
}

/* Overlay stays above bg */
.hero-slide-item::before { z-index: 1; }
.hero-content { z-index: 2; }

/* Hero Dots */
.hero-wrap .owl-dots {
  position: absolute;
  bottom: 32px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 10;
}

.hero-wrap .owl-dot span {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: 2px solid rgba(255,255,255,0.6);
  transition: all 0.35s ease;
}

.hero-wrap .owl-dot.active span,
.hero-wrap .owl-dot:hover span {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.25);
}

/* Hero progress bar */
@keyframes heroProgress {
  from { width: 0; }
  to { width: 100%; }
}

/* ============================================================
   SERVICE CARDS ICON-ONLY — with thumbnail image
   ============================================================ */
.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.service-card-thumb {
  width: 80px;
  height: 72px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
}

.service-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.service-card-icon-only:hover .service-card-thumb img {
  transform: scale(1.08);
}

/* ============================================================
   RESPONSIVE — 991px (Tablet Landscape)
   ============================================================ */
@media (max-width: 991px) {
  .nav-menu { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-menu { display: block; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.15); }

  .about-exp-badge { right: 10px; }
  .contact-form-card { padding: 32px 24px; }

  .hero-carousel .hero-slide-item { min-height: 70vh; }

  .hero-wrap .owl-nav { padding: 0 10px; }
  .hero-wrap .owl-nav .owl-prev,
  .hero-wrap .owl-nav .owl-next { width: 40px; height: 40px; font-size: 1.2rem !important; }
}

/* ============================================================
   RESPONSIVE — 768px (Tablet Portrait + Large Phone)
   ============================================================ */
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-menu { display: block; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.15); }
  .about-exp-badge { right: 10px; }
  .contact-form-card { padding: 32px 24px; }
  .hero-carousel .hero-slide-item { min-height: 70vh; }
  .hero-wrap .owl-nav { padding: 0 10px; }
  .hero-wrap .owl-nav .owl-prev,
  .hero-wrap .owl-nav .owl-next { width: 40px; height: 40px; font-size: 1.2rem !important; }
}

/* ============================================================
   RESPONSIVE — 768px (CONTINUED - Tablet Portrait)
   ============================================================ */
@media (max-width: 768px) {
  .hero-title { font-size: clamp(1.6rem, 6vw, 2.4rem); }
  .hero-subtitle { font-size: 0.95rem; }
  .hero-tag { font-size: 0.7rem; padding: 5px 14px; }

  .hero-carousel .hero-slide-item { min-height: 60vh; }
  .page-hero { padding: 100px 0 70px; }

  .hero-title { font-size: clamp(1.6rem, 6vw, 2.4rem); }
  .hero-subtitle { font-size: 0.95rem; }
  .hero-tag { font-size: 0.7rem; padding: 5px 14px; }

  .hero-carousel .hero-slide-item {
    min-height: 60vh;
  }

  .page-hero { padding: 100px 0 70px; }

  .about-img-wrap img { height: 280px; }
  .about-exp-badge {
    right: 8px;
    bottom: 12px;
    padding: 14px 16px;
    min-width: 90px;
  }
  .about-exp-badge .exp-num { font-size: 1.6rem; }
  .about-exp-badge .exp-label { font-size: 0.65rem; }

  .tech-block-img { height: 240px; }

  .contact-form-card { padding: 28px 20px; }

  .floating-actions { right: 16px; bottom: 20px; }
  .fab-btn { width: 42px; height: 42px; font-size: 1rem; }

  .py-section { padding: 50px 0; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .service-card-icon-only { padding: 28px 20px 24px; }

  .project-card-img { height: 180px; }

  .plc-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .plc-logo { width: 60px; height: 60px; margin-right: 0; }
  .plc-title h3 { font-size: 1.1rem; }
  .plc-meta { gap: 10px 16px; }
  .plc-body { padding: 18px; }
  
  .hero-wrap .owl-dots { bottom: 16px; }
  .hero-wrap .owl-dot span { width: 8px; height: 8px; }
}

/* ============================================================
   RESPONSIVE — 576px (Small Phone)
   ============================================================ */
@media (max-width: 576px) {
  .nav-container { padding: 0 12px; }
  .nav-logo img { height: 42px; }

  .hero-title { font-size: clamp(1.4rem, 7vw, 1.9rem); }
  .hero-subtitle { font-size: 0.88rem; margin-bottom: 24px; }
  .hero-btns { flex-direction: column; align-items: center; gap: 12px; }
  .hero-btns .btn-primary-ndse,
  .hero-btns .btn-secondary-ndse { width: 100%; max-width: 260px; text-align: center; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-num { font-size: 2rem; }
  .stat-label { font-size: 0.78rem; }

  .cta-banner { padding: 48px 0; }
  .cta-banner h2 { font-size: clamp(1.3rem, 5vw, 1.6rem); }

  .team-img-wrap { width: 140px; height: 140px; }

  .ndse-footer { padding: 40px 0 0; }

  .map-container iframe { height: 240px; }

  .page-hero { padding: 80px 0 50px; }
  .page-hero h1 { font-size: clamp(1.5rem, 7vw, 2rem); }
  .page-hero p.subtitle { font-size: 0.9rem; }

  .section-title { font-size: clamp(1.3rem, 5vw, 1.7rem); }
  .section-header { margin-bottom: 32px; }

  .service-card-icon-only { padding: 22px 16px 20px; }
  .service-card-icon-only h3 { font-size: 0.95rem; }
  .service-card-icon-only p { font-size: 0.85rem; }
  .service-icon-box { width: 50px; height: 50px; font-size: 1.3rem; }
  .service-card-thumb { width: 64px; height: 58px; }

  .plc-header { padding: 14px 16px; }
  .plc-body { padding: 14px 16px; }
  .plc-title h3 { font-size: 1rem; }

  .hero-wrap .owl-nav { padding: 0 4px; }
  .hero-wrap .owl-nav .owl-prev,
  .hero-wrap .owl-nav .owl-next {
    width: 34px;
    height: 34px;
    font-size: 1rem !important;
  }
}
