/* ============================================================
   VASAVI INFRA SOLUTIONS — Main Stylesheet
   Colors: #003366 (primary), #FFDE21 (secondary/accent)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&family=Open+Sans:wght@400;500;600&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

:root {
  --primary: #003366;
  --primary-dark: #002244;
  --primary-light: #0055aa;
  --secondary: #FFDE21;
  --secondary-dark: #c9ad00;
  --accent: #FFDE21;
  --accent-dark: #c9ad00;
  --white: #FFFFFF;
  --light: #F5F5F5;
  --gray: #e0e0e0;
  --text: #333333;
  --text-light: #666666;
  --shadow: 0 4px 24px rgba(0, 51, 102, 0.12);
  --shadow-lg: 0 12px 40px rgba(0, 51, 102, 0.18);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── PRELOADER ── */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-logo {
  position: relative;
  width: 140px;
  height: 140px;
  margin-bottom: 24px;
}

.preloader-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: preloaderPulse 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  filter: drop-shadow(0 4px 12px rgba(0, 51, 102, 0.15));
}

.preloader-ring {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--primary);
  border-right-color: rgba(0, 51, 102, 0.2);
  animation: preloaderSpin 2s linear infinite;
}

.preloader-ring:nth-child(2) {
  inset: -10px;
  border-top-color: var(--secondary);
  border-right-color: rgba(255, 222, 33, 0.15);
  animation-duration: 2.5s;
  animation-direction: reverse;
}

.preloader-dots {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.preloader-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  animation: preloaderDot 1.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  box-shadow: 0 2px 8px rgba(0, 51, 102, 0.2);
}

.preloader-dots span:nth-child(2) {
  animation-delay: 0.25s;
}

.preloader-dots span:nth-child(3) {
  animation-delay: 0.5s;
}

.preloader-text {
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: capitalize;
  margin-top: 32px;
  animation: preloaderFade 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes preloaderPulse {

  0%,
  100% {
    transform: scale(1) translateY(0);
  }

  50% {
    transform: scale(1.05) translateY(-8px);
  }
}

@keyframes preloaderSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes preloaderDot {

  0%,
  100% {
    transform: scale(0.5);
    opacity: 0.4;
  }

  50% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes preloaderFade {

  0%,
  100% {
    opacity: 0.5;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(-4px);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  padding-top: var(--nav-height);
}

body.home {
  padding-top: 0;
}

/* adjust spacings for mobile navbar */
@media screen and (max-width: 768px) {
  :root {
    --nav-height: 60px;
  }

  .nav-inner {
    padding: 0 18px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

@media screen and (max-width: 480px) {
  .nav-inner {
    padding: 0 14px;
  }

  .logo-icon {
    width: 44px;
    height: 44px;
  }

  .logo-name {
    font-size: 0.95rem;
  }

  .nav-actions {
    gap: 8px;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
}

h3 {
  font-size: 1.35rem;
}

h4 {
  font-size: 1.1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-sm {
  padding: 50px 0;
}

.text-center {
  text-align: center;
}

.text-white {
  color: var(--white) !important;
}

.bg-light {
  background: var(--light);
}

.bg-primary {
  background: var(--primary);
}

/* ── LAYOUT UTILITIES ── */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
  gap: 30px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

@media screen and (max-width: 992px) {
  .grid-2 {
    gap: 30px;
  }
}

@media screen and (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr !important;
  }
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.media-grid .img-premium {
  height: 250px;
  width: 100%;
  object-fit: cover;
  margin: 0;
}

@media screen and (max-width: 768px) {
  .media-grid {
    grid-template-columns: 1fr;
  }

  .media-grid .img-premium {
    height: 200px;
  }
}

.img-premium {
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: var(--transition);
}

.img-premium:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 45px rgba(0, 51, 102, 0.25);
}

.content-box-premium {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--primary);
  height: 100%;
}

.content-box-dark {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius);
  padding: 36px;
  color: white;
}

.content-box-light {
  background: rgba(0, 51, 102, 0.04);
  border-radius: var(--radius-sm);
  padding: 24px;
  border-left: 4px solid var(--secondary);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem;
}


.section-label {
  display: inline-block;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: var(--primary);
  margin-bottom: 16px;
}

.section-title span {
  color: var(--secondary);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 620px;
  margin: 0 auto 48px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 51, 102, 0.35);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: var(--white);
  border-color: var(--secondary);
}

.btn-secondary:hover {
  background: var(--secondary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 204, 102, 0.35);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
  border-color: var(--accent);
}

.btn-accent:hover {
  background: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 153, 0, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.82rem;
}

/* ── NAVBAR ── */
:root {
  --nav-height: 70px;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  box-shadow: 0 2px 8px rgba(0, 51, 102, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid rgba(0, 51, 102, 0.06);
  /* allow dropdowns and hover effects to overflow */
  overflow: visible;
}

/* animated accent bar sliding across navbar */
.navbar::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -50%;
  width: 200%;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--primary), var(--secondary));
  transform: translateX(0);
  animation: nav-accent 8s linear infinite;
  opacity: 0.6;
}

@keyframes nav-accent {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(50%);
  }
}

.navbar.scrolled::before {
  opacity: 0.8;
}

.navbar.scrolled {
  box-shadow: 0 8px 32px rgba(0, 51, 102, 0.12);
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  padding: 0 32px;
  max-width: 1380px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  position: relative;
}

.nav-logo::after {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  border-radius: 50%;
  background: radial-gradient(circle farthest-side, rgba(255, 222, 33, 0.25), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.nav-logo:hover::after {
  opacity: 1;
}

.nav-logo:hover {
  transform: scale(1.02);
}

.logo-icon {
  height: 60px;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.nav-logo:hover .logo-icon {
  transform: scale(1.02);
}

.logo-icon img {
  height: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.5px;
}

.logo-sub {
  font-size: 0.6rem;
  color: var(--secondary);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

.navbar .logo-sub {
  color: #800080;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
  position: relative;
}

.nav-links>li {
  position: relative;
}

.nav-links>li>a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 16px;
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
}

.nav-links>li>a::before {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-links>li>a:hover {
  color: var(--primary);
  background: rgba(0, 51, 102, 0.06);
}

.nav-links>li>a:hover::before,
.nav-links>li>a.active::before {
  transform: scaleX(1);
}

.nav-links>li>a.active {
  color: var(--primary);
  font-weight: 700;
}

/* underline motion element (magic line) */
.magic-line {
  position: absolute;
  bottom: 6px;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--secondary);
  border-radius: 2px;
  transition: left 0.3s ease, width 0.3s ease;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 51, 102, 0.15);
  min-width: 280px;
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 51, 102, 0.06);
  backdrop-filter: blur(8px);
  z-index: 1002;
  /* ensure on top of navbar accent */
}

.nav-links>li:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: var(--text);
  font-size: 0.88rem;
  font-family: 'Open Sans', sans-serif;
  font-weight: 500;
  transition: all 0.3s ease;
}

.dropdown-menu li a:hover {
  color: var(--primary);
  background: rgba(0, 51, 102, 0.04);
  padding-left: 26px;
}

.dropdown-menu li a .dd-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--white);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.dropdown-menu li a:hover .dd-icon {
  transform: scale(1.1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.search-btn {
  background: rgba(0, 51, 102, 0.05);
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 10px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-btn:hover {
  color: var(--primary);
  background: rgba(0, 51, 102, 0.1);
  transform: scale(1.08);
}

.quote-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  border: none;
  padding: 11px 26px;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 51, 102, 0.15);
  letter-spacing: 0.3px;
}

.quote-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 51, 102, 0.25);
}

.quote-btn:active {
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
  transition: all 0.3s ease;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.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);
}

.hamburger:hover span {
  width: 28px;
  background: var(--secondary);
}

/* make sure anchored sections aren't obscured by the fixed header */
[id] {
  scroll-margin-top: calc(var(--nav-height) + 16px);
}

/* ── HERO SECTION ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary-dark);
  background-attachment: fixed;
  padding-top: 0;
  /* hero now sits directly under navbar; no margin to avoid white gap */
}

/* keep top padding inside content so text isn’t hidden behind nav when scrolling or on load */
.hero-content {
  padding-top: var(--nav-height);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
  background: var(--primary-dark);
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAAKUlEQVR4AWP4z8DwH5DABExiGQbGMDY2Nj/AwMDAwMjAwMDw/8HYAF9UBn4e4Vb0AAAAASUVORK5CYII=");
  opacity: 0.08;
  z-index: 2;
  pointer-events: none;
}

/* ensure shapes sit beneath canvas */
.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero_banner.png') center/100% 100% no-repeat;
  transform: scale(1);
  animation: none;
  filter: brightness(0.4);
}

@keyframes heroZoom {
  from {
    transform: scale(1.05);
  }

  to {
    transform: scale(1.12);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(0, 31, 71, 0.9) 0%,
      rgba(0, 51, 102, 0.75) 50%,
      rgba(0, 80, 40, 0.65) 100%);
  backdrop-filter: blur(1px);
}

/* Premium floating elements for hero */
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 222, 33, 0.1), transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 204, 102, 0.08), transparent 70%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
  z-index: 1;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-30px) scale(1.05);
  }
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(0, 204, 102, 0.2), rgba(255, 222, 33, 0.1));
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(0, 204, 102, 0.4);
  border-radius: 50px;
  padding: 8px 18px;
  margin-bottom: 24px;
  color: var(--secondary);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  animation: fadeInDown 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition: all 0.3s ease;
}

.hero-badge:hover {
  background: linear-gradient(135deg, rgba(0, 204, 102, 0.3), rgba(255, 222, 33, 0.2));
  border-color: rgba(0, 204, 102, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 204, 102, 0.2);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  animation: slideInDown 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
  letter-spacing: -1px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--secondary), #00ffaa, var(--secondary));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 680px;
  line-height: 1.65;
  animation: fadeInUp 0.9s ease 0.2s both;
  letter-spacing: 0.3px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: fadeInUp 0.9s ease 0.3s both;
}

.hero-btns .btn {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-btns .btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 222, 33, 0.2);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hero-btns .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(255, 222, 33, 0.3);
}

.hero-btns .btn:hover::after {
  opacity: 1;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  animation: fadeInUp 0.9s ease 0.4s both;
}

.hero-stat {
  text-align: center;
  animation: scaleIn 0.8s ease-out;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.hero-stat:hover {
  background: rgba(255, 222, 33, 0.1);
  border-color: rgba(255, 222, 33, 0.3);
  transform: translateY(-8px);
}

.hero-stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--secondary), #00ffaa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: -1px;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 8px;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: bounce 2.5s ease-in-out infinite;
  transition: all 0.3s ease;
}

/* wave bottom */
.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23ffffff' d='M0,40 C360,120 1080,0 1440,80 L1440,120 L0,120 Z'/%3E%3C/svg%3E") no-repeat bottom;
  background-size: cover;
  pointer-events: none;
  z-index: 2;
}

/* decorative floating shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 768px) {
  .hero-shapes {
    display: none;
  }

  .hero-canvas,
  .hero-video,
  .hero-noise {
    display: none;
  }
}

.hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  mix-blend-mode: lighten;
  animation: drift 12s ease-in-out infinite;
}

.hero-shapes .shape.small {
  width: 60px;
  height: 60px;
  background: var(--secondary);
}

.hero-shapes .shape.medium {
  width: 120px;
  height: 120px;
  background: var(--primary-light);
}

.hero-shapes .shape.large {
  width: 200px;
  height: 200px;
  background: var(--secondary);
}

.hero-shapes .shape:nth-child(2) {
  animation-duration: 18s;
  animation-direction: reverse;
}

.hero-shapes .shape:nth-child(3) {
  animation-duration: 15s;
}

@keyframes drift {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(30vw, -20vh) scale(1.2);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
}

/* 3D perspective on hero content */
.hero {
  perspective: 1000px;
}

.hero-content {
  transition: transform 0.3s ease-out;
}

.hero-scroll:hover {
  color: var(--secondary);
}

.hero-scroll span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-8px);
  }
}

/* ══════════════════════════════════════════════════════════
   3D FLIP CARD SYSTEM — Premium Animations & Design
   ══════════════════════════════════════════════════════════ */

/* Universal flip container */
.flip-card {
  perspective: 1000px;
  height: 100%;
  position: relative;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner,
.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

/* Front and back faces */
.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.flip-card-front {
  background: var(--white);
  z-index: 2;
}

.flip-card-back {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  transform: rotateY(180deg);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  color: var(--white);
  text-align: center;
  border-radius: var(--radius);
}

/* Flip card service variant */
.service-card.flip-card .flip-card-back {
  flex-direction: column;
  gap: 16px;
}

.service-card.flip-card .flip-card-back h4 {
  color: var(--secondary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  margin: 0;
}

.service-card.flip-card .flip-card-back p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.service-card.flip-card .flip-card-back .flip-badge {
  display: inline-block;
  background: rgba(255, 222, 33, 0.15);
  border: 2px solid var(--secondary);
  color: var(--secondary);
  padding: 8px 16px;
  border-radius: 20px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Flip card project variant */
.project-card.flip-card .flip-card-back {
  flex-direction: column;
  justify-content: space-between;
}

.project-card.flip-card .flip-card-back h4 {
  color: var(--secondary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 0 12px 0;
}

.project-card.flip-card .flip-card-back ul {
  text-align: left;
  font-size: 0.85rem;
  line-height: 1.8;
  list-style: none;
  padding: 0;
  margin: 12px 0;
  color: rgba(255, 255, 255, 0.8);
}

.project-card.flip-card .flip-card-back li::before {
  content: '✓ ';
  color: var(--secondary);
  font-weight: bold;
  margin-right: 8px;
}

/* Flip card NDT variant */
.ndt-card.flip-card .flip-card-back {
  flex-direction: column;
  gap: 14px;
}

.ndt-card.flip-card .flip-card-back h4 {
  color: var(--secondary);
  font-size: 1.1rem;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
}

.ndt-card.flip-card .flip-card-back p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Flip card testimonial variant */
.testimonial-card.flip-card .flip-card-back {
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.testimonial-card.flip-card .flip-card-back .flip-stat {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--secondary);
  line-height: 1;
}

.testimonial-card.flip-card .flip-card-back .flip-stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Flip card blog variant */
.blog-card.flip-card .flip-card-back {
  flex-direction: column;
  gap: 12px;
}

.blog-card.flip-card .flip-card-back h4 {
  color: var(--secondary);
  font-size: 1.1rem;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
}

.blog-card.flip-card .flip-card-back p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* ──────────────────────────────────────────── */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 51, 102, 0.06);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 204, 102, 0.2);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 51, 102, 0.08), rgba(0, 204, 102, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.service-card p {
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.service-card .learn-more {
  color: var(--secondary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.service-card .learn-more:hover {
  gap: 10px;
}

/* ── STATS SECTION ── */
.stats-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/blueprints_bg.png') center/cover;
  opacity: 0.06;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--secondary);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.stat-label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  margin-top: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.stat-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
  display: block;
}

/* ── PROJECTS CAROUSEL ── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  transition: var(--transition);
  border: 1px solid var(--gray);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.project-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img img {
  transform: scale(1.08);
}

.project-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}

.project-body {
  padding: 22px;
}

.project-body h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.project-body p {
  font-size: 0.87rem;
  margin-bottom: 14px;
}

/* ── TESTIMONIALS ── */
.testimonials-section {
  background: var(--light);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--secondary);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-stars {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 14px;
}

.testimonial-text {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
  flex-shrink: 0;
}

.author-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
}

.author-role {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ── BLOG CARDS ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.blog-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--gray);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-img {
  height: 200px;
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.blog-card:hover .blog-img img {
  transform: scale(1.08);
}

.blog-body {
  padding: 22px;
}

.blog-meta {
  display: flex;
  gap: 14px;
  margin-bottom: 10px;
}

.blog-meta span {
  font-size: 0.78rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 4px;
}

.blog-cat {
  display: inline-block;
  background: rgba(0, 204, 102, 0.1);
  color: var(--secondary-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
  font-family: 'Montserrat', sans-serif;
}

.blog-body h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.blog-body p {
  font-size: 0.87rem;
  margin-bottom: 14px;
}

/* ── CTA BANNER ── */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 204, 102, 0.15) 0%, transparent 70%);
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 12px;
  font-size: 2.2rem;
  position: relative;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  font-size: 1.05rem;
  position: relative;
}

.cta-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.cta-form input,
.cta-form textarea,
.cta-form select {
  flex: 1 1 180px;
  padding: 13px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
  backdrop-filter: blur(6px);
  outline: none;
  transition: var(--transition);
}

.cta-form input::placeholder,
.cta-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.cta-form input:focus,
.cta-form textarea:focus {
  border-color: var(--secondary);
  background: rgba(255, 255, 255, 0.15);
}

.cta-form input[type=submit],
.cta-form button {
  flex: 0 0 auto;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
  border: none;
  padding: 13px 32px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.cta-form input[type=submit]:hover,
.cta-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 153, 0, 0.4);
}

/* ── MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 520px;
  width: 90%;
  position: relative;
  transform: scale(0.9);
  transition: var(--transition);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text-light);
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--primary);
  transform: rotate(90deg);
}

.modal h2 {
  color: var(--primary);
  margin-bottom: 6px;
  font-size: 1.5rem;
}

.modal p {
  font-size: 0.88rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray);
  border-radius: var(--radius-sm);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(0, 204, 102, 0.12);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

/* ── SEARCH BAR ── */
.search-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 51, 102, 0.95), rgba(0, 31, 71, 0.95));
  z-index: 9990;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 140px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-box {
  width: 90%;
  max-width: 700px;
  position: relative;
  animation: slideInDown 0.5s ease;
}

.search-box input {
  width: 100%;
  padding: 20px 60px 20px 24px;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: var(--white);
  font-size: 1.2rem;
  font-family: 'Open Sans', sans-serif;
  outline: none;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.search-box input:focus {
  border-color: var(--secondary);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 3px rgba(255, 222, 33, 0.1);
}

.search-box input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.search-close {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.search-close:hover {
  color: var(--white);
}

/* ── PAGE HEROES ── */
.page-hero {
  padding: 140px 0 100px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  position: relative;
  overflow: hidden;
  text-align: center;
  background-attachment: fixed;
}

/* Premium floating elements */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/blueprints_bg.png') center/cover;
  opacity: 0.1;
  animation: moveBackground 20s ease-infinite;
}

@keyframes moveBackground {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(10px, -10px);
  }
}

/* Wave bottom effect */
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, white);
  clip-path: polygon(0 20%, 100% 0%, 100% 100%, 0 100%);
}

.page-hero h1 {
  color: var(--white);
  position: relative;
  z-index: 2;
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.2;
  animation: slideInDown 0.8s ease-out;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-hero h1 span {
  background: linear-gradient(135deg, var(--secondary), #00ffaa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.6;
  animation: fadeInUp 0.9s ease-out 0.2s both;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  animation: fadeInDown 0.8s ease-out;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.84rem;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--secondary);
  text-decoration: underline;
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.84rem;
}

/* ── ABOUT PAGE ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 2rem;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(0, 51, 102, 0.25);
}

.team-card h3 {
  color: var(--primary);
  margin-bottom: 4px;
}

.team-card .role {
  color: var(--secondary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 14px;
  font-family: 'Montserrat', sans-serif;
}

.team-card p {
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.team-tag {
  background: rgba(0, 51, 102, 0.07);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  font-family: 'Montserrat', sans-serif;
}

.strengths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.strength-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  padding: 22px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.strength-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-lg);
}

.strength-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--white);
}

.strength-item h4 {
  color: var(--primary);
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.strength-item p {
  font-size: 0.83rem;
  margin: 0;
}

.timeline {
  position: relative;
  padding: 40px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  width: 100%;
  margin-bottom: 40px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  padding-right: calc(50% + 30px);
  justify-content: flex-end;
}

.timeline-item:nth-child(even) {
  padding-left: calc(50% + 30px);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: var(--secondary);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--secondary);
}

.timeline-content {
  background: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  max-width: 360px;
}

.timeline-year {
  color: var(--secondary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.timeline-content h4 {
  color: var(--primary);
  margin-bottom: 6px;
}

.timeline-content p {
  font-size: 0.85rem;
  margin: 0;
}

/* ── ACCORDION ── */
.accordion {
  margin-top: 32px;
}

.accord-item {
  border: 1px solid var(--gray);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.accord-item:hover {
  border-color: var(--secondary);
}

.accord-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  background: var(--white);
  transition: var(--transition);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
  border: none;
  width: 100%;
  text-align: left;
}

.accord-header:hover {
  background: rgba(0, 51, 102, 0.03);
}

.accord-header.active {
  background: var(--primary);
  color: var(--white);
}

.accord-icon {
  transition: transform 0.3s;
  font-size: 0.8rem;
}

.accord-header.active .accord-icon {
  transform: rotate(180deg);
}

.accord-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accord-body-inner {
  padding: 18px 22px;
  font-size: 0.9rem;
  color: var(--text-light);
  background: rgba(0, 51, 102, 0.02);
}

/* ── SERVICES PAGE ── */
/* ── SERVICE TABS ── */
.service-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  overflow-x: auto;
  padding: 10px 5px 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  justify-content: flex-start;
  margin-bottom: 40px;
}

.service-tabs::-webkit-scrollbar {
  display: none;
}

.service-tab {
  white-space: nowrap;
  padding: 12px 24px;
  border-radius: 50px;
  background: var(--white);
  border: 1px solid var(--gray);
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}

.service-tab.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(0, 51, 102, 0.2);
}

.service-tab:hover:not(.active) {
  background: var(--light);
  transform: translateY(-2px);
}


/* ── PROCESS STEPS ── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.process-step {
  text-align: center;
  padding: 20px 10px;
  position: relative;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  box-shadow: 0 6px 16px rgba(0, 51, 102, 0.3);
  transition: var(--transition);
}

.process-step:hover .step-num {
  transform: scale(1.1) rotate(10deg);
}

.process-step h4 {
  color: var(--primary);
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.process-step p {
  font-size: 0.78rem;
  margin: 0;
  color: var(--text-light);
}

@media screen and (max-width: 768px) {
  .process-steps {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
}

@media screen and (max-width: 480px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
}


/* ── CONTACT PAGE ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  margin-top: 48px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--white);
}

.contact-info-item h4 {
  color: var(--primary);
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.contact-info-item p {
  font-size: 0.88rem;
  margin: 0;
}

.contact-form-wrap {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.map-wrap {
  margin-top: 48px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* ── PROJECTS PAGE ── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 9px 20px;
  border-radius: 50px;
  border: 2px solid var(--gray);
  background: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.83rem;
  cursor: pointer;
  color: var(--text-light);
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
}

/* ── BLOG PAGE ── */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  margin-top: 48px;
}

.sidebar-widget {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}

.sidebar-widget h3 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 1rem;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--secondary);
}

.recent-post {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray);
}

.recent-post:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.recent-post img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.recent-post h4 {
  font-size: 0.82rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.recent-post p {
  font-size: 0.75rem;
  margin: 0;
}

.cat-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--gray);
  display: flex;
  justify-content: space-between;
}

.cat-list li:last-child {
  border-bottom: none;
}

.cat-list a {
  font-size: 0.87rem;
  color: var(--text-light);
}

.cat-list a:hover {
  color: var(--secondary);
}

.cat-count {
  background: var(--secondary);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
}

/* ── FOOTER ── */
footer {
  background: linear-gradient(160deg, #001a3a, #002244);
  color: rgba(255, 255, 255, 0.8);
  padding: 70px 0 0;
}

/* make logo visible in dark footer */
.footer-brand .logo-icon {
  background: var(--white);
  padding: 8px;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.footer-brand .logo-icon img {
  filter: none;
  display: block;
}

.footer-brand .logo-icon:hover {
  transform: scale(1.1);
}

.footer-brand .logo-text .logo-name,
.footer-brand .logo-text .logo-sub {
  color: var(--white) !important;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 50px;
}

.footer-brand p {
  font-size: 0.88rem;
  margin: 16px 0 22px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-social {
  display: flex;
  gap: 10px;
}

.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.7);
  font-size: 0.9rem;
  transition: var(--transition);
  text-decoration: none;
}

.social-btn:hover {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(0, 204, 102, 0.3);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-contact-item .fc-icon {
  color: var(--secondary);
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item p {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

.footer-bottom span {
  color: var(--secondary);
}

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: var(--white);
  animation: none;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  }

  50% {
    box-shadow: 0 6px 32px rgba(37, 211, 102, 0.8);
  }
}

/* ── ANIMATIONS ── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Advanced scroll animations */
.scale-in {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

.blur-in {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(20px);
  transition: opacity 0.8s ease, filter 0.8s ease, transform 0.8s ease;
}

.blur-in.visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.rotate-in {
  opacity: 0;
  transform: rotate(-3deg) translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.rotate-in.visible {
  opacity: 1;
  transform: rotate(0) translateY(0);
}

.slide-up {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animation delays for child elements */
.stagger-children>*:nth-child(1) {
  transition-delay: 0s;
}

.stagger-children>*:nth-child(2) {
  transition-delay: 0.1s;
}

.stagger-children>*:nth-child(3) {
  transition-delay: 0.2s;
}

.stagger-children>*:nth-child(4) {
  transition-delay: 0.3s;
}

.stagger-children>*:nth-child(5) {
  transition-delay: 0.4s;
}

.stagger-children>*:nth-child(6) {
  transition-delay: 0.5s;
}

/* Section reveal line */
.reveal-line {
  position: relative;
  overflow: hidden;
}

.reveal-line::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-line.visible::after {
  transform: scaleX(1);
}

/* Parallax section subtle effect */
[data-scroll-speed] {
  transition: transform 0.1s linear;
  will-change: transform;
}

/* Smooth counter animation */
.counter-animate {
  display: inline-block;
  transition: transform 0.3s ease;
}

.counter-animate.counting {
  transform: scale(1.05);
}

/* ── MOBILE NAV ── */
.mobile-nav {
  position: fixed;
  top: var(--nav-height);
  right: -100%;
  bottom: 0;
  width: 300px;
  background: var(--white);
  z-index: 1001;
  padding: 24px;
  overflow-y: auto;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 32px rgba(0, 51, 102, 0.15);
  border-left: 1px solid rgba(0, 51, 102, 0.06);
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-links li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-links li.mobile-quote-btn {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 51, 102, 0.08);
}

.mobile-nav-links li.mobile-quote-btn a {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 8px;
  text-align: center;
  color: var(--white);
  display: block;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 51, 102, 0.15);
}

.mobile-nav-links li.mobile-quote-btn a:hover {
  box-shadow: 0 8px 24px rgba(0, 51, 102, 0.25);
  transform: translateY(-2px);
}

.mobile-nav-links a {
  display: block;
  padding: 12px 16px;
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  background: rgba(0, 51, 102, 0.06);
  color: var(--primary);
  padding-left: 20px;
}

.mobile-nav-links li button.search-btn {
  margin-top: 16px;
  border-radius: 8px;
  background: rgba(0, 51, 102, 0.05) !important;
  color: var(--primary) !important;
}

.mobile-nav-links li button.search-btn:hover {
  background: rgba(0, 51, 102, 0.1) !important;
}

.mobile-dropdown-toggle {
  display: block !important;
  width: 100% !important;
  padding: 12px 16px !important;
  background: none !important;
  border: none !important;
  color: var(--text) !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  text-align: left !important;
  cursor: pointer !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
  margin: 0 !important;
}

.mobile-dropdown-toggle:hover,
.mobile-dropdown-toggle.open {
  background: rgba(0, 51, 102, 0.06) !important;
  color: var(--primary) !important;
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-nav-close:hover {
  color: var(--primary);
  transform: scale(1.15);
}

.mobile-subnav {
  padding-left: 16px;
  border-left: 2px solid rgba(0, 51, 102, 0.15);
  margin-top: 4px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-subnav.show {
  max-height: 500px;
  overflow: visible;
}

.mobile-subnav a {
  display: block;
  padding: 10px 0;
  font-size: 0.85rem;
  color: var(--text-light);
  border-bottom: 1px solid rgba(0, 51, 102, 0.06);
  transition: all 0.3s ease;
}

.mobile-subnav a:last-child {
  border-bottom: none;
}

.mobile-subnav a:hover {
  color: var(--primary);
  padding-left: 8px;
}

.overlay-bg {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.overlay-bg.show {
  opacity: 1;
  visibility: visible;
}

/* ── TABLE ── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.data-table th {
  background: var(--primary);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  padding: 12px 16px;
  text-align: left;
}

.data-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--gray);
  font-size: 0.88rem;
}

.data-table tr:hover td {
  background: rgba(0, 51, 102, 0.03);
}

.data-table tr:nth-child(even) td {
  background: rgba(0, 51, 102, 0.02);
}

/* ── NDT TEST CARDS ── */
.ndt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.ndt-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 24px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--secondary);
  transition: var(--transition);
}

.ndt-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.ndt-card h4 {
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.ndt-card p {
  font-size: 0.84rem;
  margin: 0;
}

.ndt-tag {
  display: inline-block;
  background: rgba(0, 51, 102, 0.08);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.5px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .blog-layout {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 24px;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding-left: 60px;
    padding-right: 0;
    justify-content: flex-start;
  }

  .timeline-dot {
    left: 24px;
  }
}

/* ═══ PREMIUM ANIMATIONS & EFFECTS ═══ */

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes glow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(255, 222, 33, 0.3), 0 4px 24px rgba(0, 51, 102, 0.12);
  }

  50% {
    box-shadow: 0 0 40px rgba(255, 222, 33, 0.5), 0 8px 32px rgba(0, 51, 102, 0.18);
  }
}

/* Premium Card Effects */
.service-card,
.team-card,
.project-card {
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card::after,
.team-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 222, 33, 0.05), rgba(0, 51, 102, 0.05));
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: var(--radius);
  pointer-events: none;
}

.service-card:hover::after,
.team-card:hover::after {
  opacity: 1;
}

/* Premium Button Styles */
.btn {
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 51, 102, 0.15);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(0, 51, 102, 0.3);
}

.btn-secondary:hover {
  box-shadow: 0 8px 32px rgba(255, 222, 33, 0.3);
}

/* Enhanced Navbar Dropdown */
.dropdown-menu {
  box-shadow: 0 8px 32px rgba(0, 51, 102, 0.15);
  animation: slideInDown 0.3s ease;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Entrance Animation */
.section {
  animation: fadeInUp 0.8s ease;
}

/* Hero Text Animation */
.hero h1,
.hero-subtitle,
.hero-btns,
.hero-stats {
  animation: fadeInUp 0.8s ease;
}

@media (max-width: 768px) {

  .nav-links,
  .nav-actions .search-btn {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    min-height: 90vh;
    padding-top: 80px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-badge {
    font-size: 0.7rem;
    padding: 5px 12px;
  }

  .hero-btns {
    flex-direction: column;
    gap: 10px;
  }

  .btn {
    width: 100%;
    justify-content: center;
    font-size: 0.85rem;
    padding: 12px 20px;
  }

  .hero-stats {
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 32px;
  }

  .hero-stat {
    flex: 1 1 calc(50% - 8px);
    min-width: 140px;
  }

  .hero-stat-num {
    font-size: 1.5rem;
  }

  .hero-stat-label {
    font-size: 0.7rem;
  }

  .hero-scroll {
    font-size: 0.65rem;
    bottom: 20px;
  }

  /* About section grid mobile */
  [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .services-grid,
  .projects-grid,
  .testimonial-grid,
  .blog-grid,
  .team-grid,
  .strengths-grid {
    grid-template-columns: 1fr !important;
  }

  .contact-grid {
    grid-template-columns: 1fr !important;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .process-steps {
    flex-direction: column;
    gap: 20px;
  }

  .process-step {
    flex: 1 1 auto;
  }

  .process-step:not(:last-child)::after {
    content: '↓';
    right: auto;
    left: 50%;
    top: auto;
    bottom: -18px;
    transform: translateX(-50%);
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .cta-form {
    flex-direction: column;
  }

  .cta-form input,
  .cta-form textarea,
  .cta-form select,
  .cta-form button {
    flex: 1 1 100%;
    width: 100%;
  }

  .cta-section {
    padding: 50px 0;
  }

  .cta-section h2 {
    font-size: 1.6rem;
  }

  .cta-section p {
    font-size: 0.95rem;
  }

  .section {
    padding: 50px 0;
  }

  .section-title {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
  }

  .section-label {
    font-size: 0.65rem;
    padding: 5px 12px;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .container {
    padding: 0 16px;
  }

  h1 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
  }

  h2 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
  }

  h3 {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
  }

  .logo-icon {
    width: 40px;
    height: 40px;
  }

  .logo-name {
    font-size: 0.95rem;
  }

  .logo-sub {
    font-size: 0.55rem;
  }

  /* Forms mobile */
  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 10px 12px;
    font-size: 16px;
  }

  .form-group label {
    font-size: 0.75rem;
  }

  /* Modal mobile */
  .modal {
    width: 95%;
    padding: 24px;
  }

  .modal h2 {
    font-size: 1.3rem;
  }

  .modal p {
    font-size: 0.85rem;
  }

  /* Blog layout mobile */
  .blog-layout {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card {
    margin-bottom: 16px;
  }

  .sidebar-widget {
    padding: 20px;
    margin-bottom: 20px;
  }

  .sidebar-widget h3 {
    font-size: 0.95rem;
  }

  /* Timeline mobile */
  .timeline {
    padding: 0;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding-left: 50px;
    padding-right: 0;
    justify-content: flex-start;
  }

  .timeline-dot {
    left: 20px;
  }

  .timeline-content {
    max-width: none;
  }

  /* Service cards mobile */
  .service-card {
    padding: 24px 18px;
  }

  .service-icon {
    width: 56px;
    height: 56px;
    font-size: 1.4rem;
    margin-bottom: 16px;
  }

  /* Team cards mobile */
  .team-card {
    padding: 20px;
  }

  .team-avatar {
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
    margin: 0 auto 16px;
  }

  .team-card h3 {
    font-size: 1rem;
  }

  .team-card .role {
    font-size: 0.8rem;
  }

  /* Data table mobile */
  .data-table {
    font-size: 0.75rem;
  }

  .data-table th,
  .data-table td {
    padding: 8px 10px;
  }

  /* Accordion mobile */
  .accord-header {
    padding: 14px 16px;
    font-size: 0.9rem;
  }

  .accord-body-inner {
    padding: 14px 16px;
    font-size: 0.85rem;
  }

  /* Filter buttons mobile */
  .filter-btn,
  .service-tab {
    font-size: 0.75rem;
    padding: 8px 14px;
    flex: 1 1 auto;
  }

  .filter-bar,
  .service-tabs {
    gap: 8px;
  }

  /* NDT grid mobile */
  .ndt-grid {
    grid-template-columns: 1fr;
  }

  .ndt-card {
    padding: 18px;
  }

  /* Contact grid mobile */
  .contact-info-item {
    gap: 12px;
    margin-bottom: 20px;
  }

  .contact-info-icon {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }

  .contact-form-wrap {
    padding: 24px;
  }

  .map-wrap iframe {
    height: 300px;
  }

  /* Footer mobile */
  .footer-top {
    padding: 40px 0;
  }

  .footer-bottom {
    padding: 20px 0;
    font-size: 0.8rem;
  }

  /* Utilities */
  [style*="display:flex;flex-wrap:wrap"] {
    flex-direction: column;
  }

  /* Breadcrumb mobile */
  .breadcrumb {
    font-size: 0.75rem;
  }

  .breadcrumb a {
    font-size: 0.75rem;
  }

  /* Search overlay mobile */
  .search-overlay {
    padding-top: 100px;
  }

  .search-box {
    width: 95%;
  }

  .search-box input {
    padding: 16px 50px 16px 18px;
    font-size: 1rem;
  }

  .search-close {
    right: 14px;
    font-size: 1.3rem;
  }

  /* Modal responsive */
  .modal-overlay {
    padding: 20px;
  }

  .modal {
    max-width: 100%;
    width: 95%;
    max-height: 85vh;
  }

  .modal-close {
    font-size: 1.2rem;
  }

  /* WhatsApp button tablet */
  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 24px;
    right: 24px;
    font-size: 1.35rem;
  }

  /* Scroll top button tablet */
  .scroll-top {
    width: 48px;
    height: 48px;
    bottom: 28px;
    right: 80px;
    font-size: 1.1rem;
  }

  @media (max-width: 480px) {
    .hero h1 {
      font-size: 1.6rem;
      line-height: 1.3;
    }

    .hero-subtitle {
      font-size: 0.95rem;
      margin-bottom: 20px;
    }

    .hero-badge {
      font-size: 0.65rem;
      padding: 4px 10px;
      margin-bottom: 16px;
    }

    .hero-stats {
      gap: 12px;
      margin-top: 24px;
    }

    .hero-stat {
      flex: 1 1 calc(50% - 6px);
    }

    .hero-stat-num {
      font-size: 1.3rem;
    }

    .hero-stat-label {
      font-size: 0.65rem;
      margin-top: 2px;
    }

    .btn {
      padding: 11px 16px;
      font-size: 0.8rem;
    }

    h1 {
      font-size: 1.5rem;
    }

    h2 {
      font-size: 1.2rem;
    }

    h3 {
      font-size: 1rem;
    }

    .section-title {
      font-size: 1.3rem;
    }

    .navbar {
      padding: 0;
    }

    .nav-inner {
      height: 64px;
      padding: 0 14px;
    }

    .logo-icon {
      width: 36px;
      height: 36px;
    }

    .logo-name {
      font-size: 0.85rem;
    }

    .logo-sub {
      font-size: 0.5rem;
    }

    .mobile-nav {
      width: 280px;
      padding: 70px 16px 16px;
    }

    .mobile-nav-links a {
      padding: 10px 12px;
      font-size: 0.9rem;
    }

    .service-card {
      padding: 18px 14px;
    }

    .service-icon {
      width: 48px;
      height: 48px;
      font-size: 1.2rem;
    }

    .service-card h3 {
      font-size: 0.95rem;
    }

    .modal {
      padding: 18px;
    }

    .modal h2 {
      font-size: 1.2rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
      padding: 9px 10px;
      font-size: 15px;
    }

    .contact-info-icon {
      width: 36px;
      height: 36px;
    }

    .map-wrap iframe {
      height: 250px;
    }

    .cta-section {
      padding: 40px 0;
    }

    .cta-section h2 {
      font-size: 1.4rem;
    }

    .cta-section p {
      font-size: 0.9rem;
    }

    .section {
      padding: 40px 0;
    }

    .container {
      padding: 0 12px;
    }

    .blog-card {
      margin-bottom: 12px;
    }

    .sidebar-widget {
      padding: 16px;
    }

    .timeline-dot {
      left: 18px;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
      padding-left: 45px;
    }

    .team-avatar {
      width: 70px;
      height: 70px;
      font-size: 1.3rem;
    }

    /* Search overlay mobile */
    .search-overlay {
      padding-top: 80px;
    }

    .search-box {
      width: 98%;
    }

    .search-box input {
      padding: 14px 45px 14px 16px;
      font-size: 0.95rem;
      border-radius: 30px;
    }

    .search-close {
      right: 10px;
      font-size: 1.2rem;
    }

    /* Modal mobile small screens */
    .modal {
      width: 98%;
      padding: 16px;
    }

    .modal h2 {
      font-size: 1.1rem;
      margin-bottom: 10px;
    }

    .modal p {
      font-size: 0.8rem;
    }

    .form-group label {
      font-size: 0.7rem;
    }

    .form-group input,
    .form-group textarea {
      font-size: 14px;
      padding: 8px 9px;
    }

    .modal-close {
      top: 10px;
      right: 10px;
      font-size: 1.1rem;
    }

    /* WhatsApp button mobile */
    .whatsapp-float {
      width: 50px;
      height: 50px;
      bottom: 20px;
      right: 16px;
      font-size: 1.3rem;
    }

    /* Scroll top button mobile */
    .scroll-top {
      width: 44px;
      height: 44px;
      bottom: 28px;
      right: 72px;
      font-size: 1rem;
    }
  }
}