/* 
==========================================================================
    Espure Water Solutions - Global Stylesheet
==========================================================================
*/

:root {
  --primary-color: #004bc7; /* Cyan/Teal as per original h3 color */
  --secondary-color: #505050; /* Olive Green as per original h6 color */
  --accent-color: #008b8b;
  --dark-bg: #2c2c2c;
  --light-bg: #ececec;
  --text-main: #2c2c2c;
  --text-muted: #2c2c2c;
  --white: #ffffff;
  --font-heading: "Inter", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Aesthetics & Layout */
  --border-radius: 12px;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --transition: 0.3s ease-in-out;
  --section-spacing: 70px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--white);
  overflow-x: hidden;
  width: 100%;
  font-size: 17px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
}

p {
  font-size: 16px;
  margin-bottom: 12px;
  font-weight: 400;
}

a,
span {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  font-size: 16px;
}

ul {
  list-style: none;
}

/* Word Animation for Headings */
.section-title .word-span {
  display: inline-block;
  opacity: 0;
  font-size: inherit; /* Ensure it inherits heading size */
  transform: translateX(-15px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  transition-delay: calc(
    var(--i) * 120ms
  ); /* Fast stagger, faster than 200ms */
  margin-right: 0.25em; /* Space between words */
}

/* When parent has AOS animate class, trigger word animations */
[data-aos].aos-animate .section-title .word-span,
.section-title.aos-animate .word-span {
  opacity: 1;
  transform: translateX(0);
}

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

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px; /* Web page margin rule */
}

.section-spacing {
  padding: var(--section-spacing) 0;
}

.bg-light {
  background-color: var(--light-bg);
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 15px;
  color: var(--dark-bg);
}

h4 {
  font-size: 20px;
}
h5 {
  font-size: 18px;
}
h6 {
  font-size: 15px;
}

h1 {
  font-size: 42px;
}
h2 {
  font-size: 32px;
}
h3 {
  font-size: 26px;
}

.section-subtitle {
  color: var(--primary-color);
  text-transform: none; /* Strictly no upper case */
  font-size: 18px;
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

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

.section-title {
  font-size: 25px;
  font-weight: 700;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.4;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 35px;
  border-radius: 15px; /* User strict requirement */
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: all 0.4s ease;
  text-align: center;
  position: relative;
  gap: 10px;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.btn:hover::before {
  transform: translate(-50%, -50%) scale(1.6);
}

.btn:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  border: 2px solid var(--primary-color);
}

.btn-primary::before {
  background: var(--secondary-color);
}

.btn-primary:hover {
  color: var(--white);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline::before {
  background: var(--white);
}

.btn-outline:hover {
  color: var(--primary-color);
}

/* ==========================================================================
    Topbar
========================================================================== */
.topbar {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 5px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  position: relative;
z-index: 999;

flex-wrap: nowrap;
  width: 100%;
}

.topbar-left {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-item a {
  color: var(--white);
}

.topbar-right {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.social-icon:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* ==========================================================================
    Navbar / Header
========================================================================== */
/* .header {
  background-color: var(--white);
  position: sticky;
  top: 0px;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  padding-left: 20px;
  width: 100%;
  left: 0;
  right: 0;
} */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  height: 90px;
  position: relative;
  gap: 15px;
  transition: var(--transition);
  color: var(--white);
  text-decoration: none;
}

.brand::before {
  content: "";
  position: absolute;
  top: 15px;
  right: 25px;
  width: 40px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.5);
}

.brand-logo {
  height: 85px;
  width: auto;
  object-fit: contain;
}

.footer-logo {
  height: 90px;
  width: auto;
  object-fit: contain;
  margin-bottom: 15px;
  border-radius: 8px;
  padding: 5px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.company-name {
  color: var(--primary-color) !important;
  font-size: 19px !important;
  font-weight: 600 !important;
  line-height: 1.1 !important;
  margin: 0 !important;
}

.company-name span {
  font-size: 19px;
  color: var(--primary-color) !important;
  font-weight: 600;
  display: inline-block;
  margin-top: 2px;
}

.tagline {
  color: var(
    --secondary-color
  ) !important; /* Changed to white for better visibility on cyan */
  font-size: 12.5px !important;
  font-weight: 600 !important;
  margin: 0 !important;

  text-transform: none;
}

.nav-menu {
  flex: 1;
  display: flex;
  justify-content: center;
  margin-left: 20px; /* Tightened margin */
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-link {
  color: var(--dark-bg);
  font-weight: 600;
  font-size: 17px;
  position: relative;
  padding: 10px 0;
}

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

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 40px; /* First link starts from bottom line of navbar */
  left: 0;
  background: var(--white);
  min-width: 220px;
  box-shadow: var(--box-shadow);
  border-radius: 0 0 8px 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
  border-top: 3px solid var(--primary-color);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 12px 20px;
  color: var(--text-main);
  font-size: 17px; /* Matched with nav-link (17px) */
  font-weight: 600; /* Matched with nav-link (500) */
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.dropdown-menu li a:hover {
  background: var(--light-bg);
  color: var(--primary-color);
  padding-left: 25px;
}

.nav-menu .mobile-menu-action {
  display: none;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 90px;
  position: relative;
  padding: 0 30px 0 120px;
  z-index: 1;
}

.nav-right::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: url("../img/logo-bg.webp") no-repeat;
  background-size: 100% 100%; /* Mirror for right side symmetry */
  z-index: -1;
}

@media (max-width: 1150px) {
  .nav-right .quote-link {
    display: none;
  }
}

.quote-link {
  color: var(--white);
  font-weight: 700;
  font-size: 17px;
  transition: var(--transition);
}

.quote-link:hover {
  color: var(--white);
  text-decoration: underline;
}

/* Hamburger & Mobile Menu (Desktop Hidden) */
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--white);
  cursor: pointer;
}

.menu-header {
  display: none;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1001;
}

/* ==========================================================================
    Hero Section
========================================================================== */
.hero {
  position: relative;
  height: 80vh;
  min-height: 500px;
  overflow: hidden;
  background-color: #000; /* Fallback */
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-slide {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  animation: kenBurns 20s linear infinite alternate;
}

@keyframes kenBurns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.15);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  overflow: hidden;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0) 60%
  );
  pointer-events: none;
}

.hero-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0 auto; /* Works with left/right 0 for max-width centering */
  z-index: 100; /* Maximum priority */
  display: flex;
  align-items: center;
  width: 100%;
  pointer-events: none; /* Let slider interactions pass through if needed */
}

.hero-content {
  max-width: 800px;
  pointer-events: auto; /* Enable clicks for buttons */
  position: relative;
  z-index: 101;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

.hero-title {
  color: #ffffff !important;
  font-size: 45px;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
  font-weight: 600;
}

.hero-subtitle {
  color: #ffffff !important;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 25px;
  opacity: 1 !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 15px;
}

.hero-btns {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* ==========================================================================
    ISO Banner
========================================================================== */
.iso-banner {
  background: #252525;
  color: var(--white);
  padding: 8px 0;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  border-bottom: 1px solid rgba(0, 206, 209, 0.3);
}

.iso-banner .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  position: relative;
  overflow: hidden;
}

.iso-banner i {
  color: var(--primary-color);
  font-size: 18px;
  position: relative;
  z-index: 2;
}

.iso-icon {
  animation: isoRotate 8s linear infinite;
  display: inline-block;
}

@keyframes isoRotate {
  0% {
    transform: rotate(0deg) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: rotate(180deg) scale(1.2);
    opacity: 1;
  }
  100% {
    transform: rotate(360deg) scale(1);
    opacity: 0.6;
  }
}

/* ==========================================================================
    About Section
========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-image-wrapper {
  position: sticky;
  top: 100px;
  z-index: 1;
}

@keyframes floating {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

.about-img-clip {
  border-radius: 20px;
  overflow: hidden;
  height: 550px;
  max-width: 550px;
  margin: 0 auto;
  box-shadow: var(--box-shadow);
  border: 10px solid var(--white);
  position: relative;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  transition: transform 0.5s;
}

.about-image-wrapper:hover .about-img {
  transform: scale(1.1);
}

/* Rolling Badge */
.rolling-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 140px;
  height: 140px;
  z-index: 2;
  background: #ffffff61;
  backdrop-filter: blur(10px);
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(100, 224, 233, 0.932);
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-logo img {
  width: 60px;
  height: auto;
}

.badge-text {
  width: 100%;
  height: 100%;
  animation: rotateText 15s linear infinite;
}

.badge-text svg {
  width: 100%;
  height: 100%;
  fill: var(--primary-color);
  font-weight: 700;
}

@keyframes rotateText {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 991px) {
  .about-image-wrapper {
    position: relative;
    top: 0;
    margin-bottom: 50px;
  }

  .rolling-badge {
    width: 120px;
    height: 120px;
    right: 10px;
    top: 10px;
  }

  .badge-logo {
    width: 45px;
    height: 45px;
  }

  .badge-logo img {
    width: 45px;
  }
}

.about-text {
  margin-bottom: 30px;
  font-size: 16px;
  color: var(--text-muted);
}

/* ==========================================================================
    Stats Section
========================================================================== */
.stats-grid-zigzag {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 60px 0;
}

.stats-section {
  position: relative;
  background:
    linear-gradient(rgb(0 0 0 / 33%), rgb(0 0 0 / 33%)),
    url(../img/Home/HomeBG.jpg) center / cover fixed;

  overflow: visible; /* Allow zig-zag overflow */
}

.stat-circle-item {
  display: flex;
  justify-content: center;
}

/* Zig-Zag Offset (Applied to inner element to avoid AOS conflict) */
.stat-circle-item:nth-child(1) .circle-glass,
.stat-circle-item:nth-child(3) .circle-glass {
  transform: translateY(-50px);
}

.stat-circle-item:nth-child(2) .circle-glass {
  transform: translateY(70px);
}

.circle-glass {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  position: relative;
}

.circle-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

/* Animated Rounding Line */
.progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(-90deg);
  pointer-events: none;
}

.progress-ring__circle {
  stroke-dasharray: 722.56; /* 2 * PI * 115 */
  stroke-dashoffset: 722.56;
  transition: stroke-dashoffset 2.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Triggered via JS for repeating animation */
.stat-circle-item.is-visible .progress-ring__circle {
  stroke-dashoffset: 0;
}

.counter-box {
  font-size: 46px;
  font-weight: 800;
  color: var(--white) !important;
  margin-bottom: 2px;
}

.counter {
  font-size: 46px;
  color: white;
}
.stat-label {
  font-size: 15px;
  font-weight: 600;

  letter-spacing: 3px;
  color: var(--white);
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .stats-grid-zigzag {
    grid-template-columns: 1fr;
    gap: 80px;
  }
  .stat-circle-item:nth-child(2) {
    transform: translateY(0);
  }
}

/* ==========================================================================
    Services Section
========================================================================== */
.services-slider {
  margin: 30px auto 0;
  max-width: 1200px; /* Reduced width for a more professional, compact look */
}

.services-slider .swiper-slide {
  height: auto;
}

.service-card {
  border: 1px solid #8f8f8f9c !important;
  background: var(--white);
  border-radius: 20px; /* Increased for modern look */
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #f0f0f0; /* Subtle border for definition */
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-image-box {
  position: relative;
  height: 230px;
  width: 100%;
  overflow: hidden;
}

.service-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

/* Removed icon overlay to match provided design */
.service-icon {
  display: none;
}

.service-content {
  padding: 30px;
  text-align: left; /* Left aligned as per image */
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #111;
}

.service-desc {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 0; /* Removed margin since button is gone */
  flex-grow: 1;
}

/* ==========================================================================
    Clients Section (Marquee)
========================================================================== */
.marquee-wrapper {
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

.marquee-row {
  display: flex;
  overflow: hidden;
  user-select: none;
  margin-bottom: 20px;
}

.marquee-track {
  display: flex;
  gap: 20px;
  padding: 10px;
  width: max-content;
}

.scroll-left .marquee-track {
  animation: scroll-left 40s linear infinite;
}

.scroll-right .marquee-track {
  animation: scroll-right 40s linear infinite;
}

.marquee-row:hover .marquee-track {
  animation-play-state: paused;
}

.client-card-new {
  flex: 0 0 240px;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid var(--secondary-color);
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.client-card-new:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-color);
  transform: translateY(-5px);
}

.client-logo-box {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  background: #fff; /* White background for logos to pop */
  border-radius: 10px;
}

.client-logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* Ensure logo is fully visible */
}

.client-info-new .c-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 4px;
}

.client-info-new .c-loc {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes scroll-right {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

/* ==========================================================================
    Footer
========================================================================== */
.footer {
  background-color: var(--dark-bg);
  color: rgba(255, 255, 255, 0.7);
  padding-bottom: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 80px;
  padding: 0 90px;
}

.footer-col {
  position: relative;
}

.footer-brand {
  display: flex;
  align-items: center;
}

.footer-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.f-company-name {
  color: var(--white);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}

.f-company-name span {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.9;
  display: inline-block;
  margin-top: 2px;
}

.footer-title {
  color: var(--white);
  font-size: 20px;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
  font-weight: 700;
}

.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.footer-links a::before {
  content: "\f105"; /* FontAwesome angle right */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--primary-color);
  font-size: 14px;
  transition: transform 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-links a:hover::before {
  transform: translateX(5px);
}

.footer-text {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
  font-size: 14px;
  line-height: 1.6;
}

.footer-text i {
  margin-top: 5px;
  color: var(--primary-color);
  font-size: 16px;
}

.footer-text a {
  color: inherit;
  transition: var(--transition);
}

.footer-text a:hover {
  color: var(--primary-color);
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.social-icon {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-5px);
  border-color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px 0;
  margin-top: 50px;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
}

.footer-bottom-inner a {
  color: var(--primary-color);
  font-weight: 600;
}

/* Footer Responsive Overrides */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 40px;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-text {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-logo {
    margin: 0 auto 15px !important;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* ==========================================================================
    Responsive Design (320px - 1920px+)
========================================================================== */

/* Laptop & Large Tablet (Hamburger Breakpoint) */
@media (max-width: 1200px) {
  .brand {
    height: 85px;
  }

  .brand-logo {
    height: 65px;
  }

  .company-name {
    font-size: 16px !important;
  }

  .company-name span {
    font-size: 12px;
  }

  .tagline {
    font-size: 11px !important;
  }

  .hamburger {
    display: block;
  }

  .nav-list {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: var(--white);
    z-index: 1002;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
    display: block; /* Vertical flow */
    visibility: hidden;
  }

  .nav-menu.open {
    transform: translateX(-300px);
    visibility: visible;
    right: -300px;
  }

  .menu-header {
    display: flex;
    justify-content: flex-end;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    background: #fdfdfd;
  }

  .close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-main);
    cursor: pointer;
    padding: 5px;
  }

  .nav-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Corrected alignment */
    gap: 0;
    width: 100%;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-link,
  .dropdown-toggle {
    padding: 14px 20px;
    border-bottom: 1px solid #eee;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-main);
    font-size: 16px;
    font-weight: 500;
    text-align: left;
  }

  .nav-link:hover,
  .dropdown-toggle:hover {
    background: #f5f5f5;
    color: var(--primary-color);
  }

  /* Mobile Dropdown Styling */
  .dropdown-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    display: none; /* Hidden by default on mobile */
    background: #fafafa;
    padding: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    border-top: none;
  }

  .dropdown.active > .dropdown-menu {
    display: block;
  }

  .dropdown-menu li a {
    padding: 12px 40px;
    border-bottom: 1px solid #eee;
    font-size: 15px;
    display: block;
    width: 100%;
  }

  .mobile-menu-action {
    display: block;
    padding: 20px;
    margin-top: auto; /* Push to bottom of menu */
  }

  .mobile-menu-action .quote-link {
    display: block;
    background: var(--primary-color);
    color: var(--white) !important;
    text-align: center;
    padding: 12px;
    border-radius: 15px; /* User rule: 15px border-radius */
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
  }

  .mobile-menu-action .quote-link:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
  }
}

@media (max-width: 850px) {
  .topbar {
    display: none;
  }
}
/* Tablet (Medium Screens) */
@media (max-width: 992px) {
  .section-spacing {
    padding: 50px 0;
  }

  .hero-title {
    font-size: 38px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats-grid-zigzag {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 40px 0;
  }

  .stat-circle-item:nth-child(n) .circle-glass {
    transform: none !important; /* Disable zig-zag on tablet/mobile */
  }

  .about-image-wrapper {
    max-width: 500px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 30px;
  }
}

/* Large Mobile (Small Tablets) */
@media (max-width: 768px) {
  .topbar {
    display: none;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .section-title {
    font-size: 24px;
  }

  .iso-banner span {
    font-size: 12px;
    padding: 0 10px;
  }

  @keyframes runLeft {
    0% {
      transform: translateX(0);
      opacity: 0;
    }
    20% {
      opacity: 1;
    }
    80% {
      transform: translateX(-35vw);
      opacity: 1;
    }
    100% {
      transform: translateX(-40vw);
      opacity: 0;
    }
  }

  @keyframes runRight {
    0% {
      transform: translateX(0);
      opacity: 0;
    }
    20% {
      opacity: 1;
    }
    80% {
      transform: translateX(35vw);
      opacity: 1;
    }
    100% {
      transform: translateX(40vw);
      opacity: 0;
    }
  }

  .stats-grid-zigzag {
    grid-template-columns: 1fr;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* Small Mobile (320px - 480px) */
@media (max-width: 576px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .brand {
    height: 75px;
  }

  .brand-logo {
    height: 50px;
  }

  .company-name {
    font-size: 14px !important;
  }

  .company-name span {
    font-size: 11px;
  }

  .tagline {
    display: none;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
  }

  .hero-btns .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .footer-links a {
    justify-content: center;
  }

  .footer-brand {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    margin-bottom: 20px;
  }

  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-text {
    flex-direction: column;
    align-items: center;
  }

  .social-icon {
    margin: 0 5px;
  }

  .client-card-new {
    flex: 0 0 180px; /* Smaller cards on small mobile */
  }
}

/* ==========================================================================
   Projects Gallery Section
========================================================================== */
.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 20px;
}

.projects-header .section-title {
  margin: 0;
  text-align: left;
  max-width: none;
}

.project-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 22px;
  border-radius: 30px;
  background: #f0f4fc;
  color: var(--secondary-color);
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary-color);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 75, 199, 0.3);
}

.projects-slider-wrapper {
  position: relative;
  overflow: hidden;
}

.projects-slider {
  width: 100%;
  overflow: visible;
}

.project-slide {
  width: 350px;
  height: 480px;
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition);
}

.project-card {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.project-location {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--white);
  color: var(--primary-color);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 3;
  transition: var(--transition);
}

.project-card:hover .project-location {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 75, 199, 0.25);
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.project-card:hover .project-img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px 25px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 2;
}

.project-info {
  color: var(--white);
}

.project-title {
  color: var(--white) !important;
  font-size: 24px;
  margin-bottom: 5px;
  font-weight: 700;
}

.project-cat {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin: 0;
  font-weight: 500;
}

.project-link:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
  transform: rotate(45deg);
}

@media (max-width: 991px) {
  .project-slide {
    width: 300px;
    height: 420px;
  }
}

@media (max-width: 768px) {
  .project-slide {
    width: 260px;
    height: 360px;
  }
  .projects-header {
    justify-content: center;
    text-align: center;
  }
  .projects-header .section-title,
  .projects-header .section-subtitle {
    text-align: center !important;
    margin: 0 auto !important;
    display: block;
  }
  .heading-left {
    width: 100%;
    margin-bottom: 15px;
  }
  .project-filters {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .project-slide {
    width: 240px;
    height: 320px;
  }
  .projects-header .section-title {
    font-size: 26px !important;
  }
  .project-title {
    font-size: 20px;
  }
  .filter-btn {
    padding: 6px 15px;
    font-size: 13px;
  }
}

/* ==========================================================================
   Features / Why Choose Us Section
========================================================================== */
.features-section {
  position: relative;
  background-color: #fff;
  overflow: hidden;
}

.features-slider {
  margin-top: 40px;
  padding-bottom: 60px;
  padding-top: 30px;
  padding-left: 25px;
  padding-right: 25px;
  margin-left: -25px;
  margin-right: -25px;
  overflow: hidden;
}

/* Base state for all slides in the slider */
.features-slider .swiper-slide {
  transition: transform 0.6s ease;
  transform: translateY(25px) rotate(0deg);
}

/* The active one in center */
.features-slider .swiper-slide-active {
  transform: translateY(0) rotate(0deg);
  z-index: 2;
}

/* The left one */
.features-slider .swiper-slide-prev {
  transform: translateY(25px) rotate(-3deg);
}

/* The right one */
.features-slider .swiper-slide-next {
  transform: translateY(25px) rotate(3deg);
}

.feature-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 450px;
  box-shadow: var(--box-shadow);
  transition: box-shadow 0.4s ease;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  transform: translateZ(0);
}

.feature-img-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.feature-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.feature-card:hover .feature-img {
  transform: scale(1.05);
}

.feature-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px 25px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.4) 60%,
    transparent 100%
  );
  color: var(--white);
  z-index: 1;
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--white);
}

.feature-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--white);
}

.feature-arrow {
  position: absolute;
  bottom: 25px;
  right: 25px;
  width: 50px;
  height: 50px;
  background-color: var(--white);
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  z-index: 2;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-arrow i {
  transform: rotate(45deg);
  transition: transform 0.3s;
}

.feature-card:hover .feature-arrow {
  opacity: 1;
  transform: translateY(0);
}

.feature-arrow:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Reset on mobile devices */
@media (max-width: 991px) {
  .features-slider .swiper-slide,
  .features-slider .swiper-slide-active,
  .features-slider .swiper-slide-prev,
  .features-slider .swiper-slide-next {
    transform: none !important;
  }
  .feature-card {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .feature-card {
    height: 300px;
  }
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
  background: #002b80;
  padding: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.cta-box {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  line-height: 0 !important;
}

.cta-image-col {
  position: relative;
  flex: 0 0 35%;
  max-width: 35%;
  height: 100%;
  display: flex;
  line-height: 0 !important;
  border-radius: 0 !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cta-image-col::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 43, 128, 0) 0%, #002b80 100%);
  z-index: 1;
}

.left-zero {
  padding-left: 0 !important;
}

.cta-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 0;
}

.cta-content-col {
  flex: 0 0 65%;
  max-width: 65%;
  padding: 40px 50px;
  color: var(--white);
}

.cta-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 25px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 20px;
}

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

@media (max-width: 991px) {
  .cta-section {
    height: auto;
    padding: 50px 0;
  }
  .cta-box {
    flex-direction: column;
  }
  .cta-image-col {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 20px;
  }
  .cta-content-col {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 30px 20px;
    text-align: center;
  }
  .cta-content-col .section-title {
    text-align: center !important;
  }
  .cta-buttons {
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .cta-buttons .btn {
    width: 100%;
  }
}

/* ==========================================================================
   Projects Section
   ========================================================================== */
.projects-section {
  position: relative;
  background-image: url("../img/bg-img.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.cta-image-col .projects-section .container {
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   Inner Page Header / Banner
   ========================================================================== */
.inner-header {
  position: relative;
  height: 300px;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
    url("../img/hero-1.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.inner-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle,
    rgba(0, 75, 199, 0.15) 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
  pointer-events: none;
}

.inner-header-content {
  position: relative;
  z-index: 2;
  padding: 0 30px;
}

.inner-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--white) !important;
  margin-bottom: 10px;
  text-transform: capitalize;
  letter-spacing: 1px;
}

.breadcrumbs {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.breadcrumbs a {
  color: var(--white);
  transition: var(--transition);
}

.breadcrumbs a:hover {
  color: var(--primary-color);
}

.breadcrumbs span {
  font-size: 14px;
}

/* ==========================================================================
   About Page Specific Layout
   ========================================================================== */
.about-page-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 991px) {
  .about-page-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.about-page-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  z-index: 1;
}

.about-main-image-box {
  border-radius: 20px;
  overflow: hidden;
  height: 520px;
  box-shadow: var(--box-shadow);
  position: relative;
}

.about-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-page-img-wrapper:hover .about-main-img {
  transform: scale(1.05);
}

.about-sub-image-box {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 260px;
  height: 175px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  z-index: 5;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-page-img-wrapper:hover .about-sub-image-box {
  transform: translate(5px, 5px);
}

.about-sub-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-points-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 30px;
}

.about-point-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.about-point-icon {
  width: 56px;
  height: 56px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 6px 15px rgba(0, 75, 199, 0.2);
}

.about-point-content {
  display: flex;
  flex-direction: column;
}

.about-point-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-bg);
  margin-bottom: 5px;
  line-height: 1.3;
}

.about-point-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Mission & Vision Section */
.mission-vision-section {
  background-color: var(--white);
  padding: 80px 0;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.mv-card-new {
  background-color: #f6f9fc;
  border-radius: 24px;
  padding: 60px 45px;
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 75, 199, 0.03);
}

.mv-card-new:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 75, 199, 0.06);
  background-color: var(--white);
  border-color: rgba(0, 75, 199, 0.1);
}

.mv-icon-wrapper {
  margin-bottom: 30px;
  display: inline-block;
}

.mv-icon-svg {
  width: 64px;
  height: 64px;
  stroke: var(--primary-color);
}

.mv-title-new {
  font-size: 28px;
  font-weight: 700;
  color: var(--dark-bg);
  margin-bottom: 20px;
}

.mv-desc-new {
  font-size: 16px;
  color: #555;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 768px) {
  .mission-vision-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .mv-card-new {
    padding: 40px 30px;
  }
}

/* ==========================================================================
   Mission & Vision Creative Section
   ========================================================================== */
.mv-section {
  background: radial-gradient(
    circle at 10% 20%,
    rgba(0, 75, 199, 0.03) 0%,
    rgba(255, 255, 255, 1) 90%
  );
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.mv-card {
  position: relative;
  background: var(--white);
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(0, 75, 199, 0.06);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.mv-card::before {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -50px;
  width: 300px;
  height: 300px;
  background: linear-gradient(
    135deg,
    rgba(0, 75, 199, 0.05) 0%,
    rgba(0, 206, 209, 0.05) 100%
  );
  border-radius: 45%;
  z-index: -1;
  transition: all 0.6s ease-in-out;
  transform: rotate(0deg);
}

.mv-card:hover::before {
  bottom: -50px;
  left: -30px;
  transform: rotate(180deg) scale(1.5);
  background: linear-gradient(
    135deg,
    rgba(0, 75, 199, 0.1) 0%,
    rgba(0, 206, 209, 0.1) 100%
  );
}

.mv-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 75, 199, 0.2);
  box-shadow: 0 20px 40px rgba(0, 75, 199, 0.1);
}

.mv-icon-box {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  background: rgba(0, 75, 199, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: var(--primary-color);
  margin-bottom: 25px;
  transition: var(--transition);
}

.mv-card:hover .mv-icon-box {
  background: var(--primary-color);
  color: var(--white);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 20px rgba(0, 75, 199, 0.2);
}

.mv-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--dark-bg);
}

.mv-desc {
  font-size: 16px;
  color: var(--text-main);
  line-height: 1.7;
  margin: 0;
}

/* ==========================================================================
   Team Section
   ========================================================================== */
.team-section {
  background-color: var(--light-bg);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.team-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  text-align: center;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.team-img-wrapper {
  position: relative;
  height: 350px;
  width: 100%;
  overflow: hidden;
}

.team-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-img-wrapper img {
  transform: scale(1.06);
}

.team-info {
  padding: 25px 20px;
  position: relative;
}

.team-name {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--dark-bg);
}

.team-role {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Responsive for Inner Page */
@media (max-width: 991px) {
  .about-page-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-page-img-frame {
    height: 400px;
    max-width: 100%;
  }
  .about-page-badge {
    bottom: -20px;
    left: 10px;
    width: 120px;
    height: 120px;
  }
  .mv-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
  }
  .team-img-wrapper {
    height: 320px;
  }
}

@media (max-width: 575px) {
  .inner-header {
    height: 220px;
  }
  .inner-title {
    font-size: 30px;
  }
  .mv-card {
    padding: 35px 25px;
  }
}

/* ==========================================================================
   About Page Mission & Vision Grid
   ========================================================================== */
.about-mv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px;
  margin-top: 45px;
}

.about-mv-box {
  position: relative;
  background: var(--white);
  border-radius: 16px;
  padding: 35px 24px 24px 24px;
  border: 1px solid rgba(0, 75, 199, 0.12);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02);
}

.about-mv-box:hover {
  transform: translateY(-6px);
  border-color: var(--primary-color);
  box-shadow: 0 15px 35px rgba(0, 75, 199, 0.08);
}

.about-mv-icon {
  position: absolute;
  top: -22px;
  left: 24px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 6px 15px rgba(0, 75, 199, 0.22);
  transition: all 0.4s ease;
}

.about-mv-box:hover .about-mv-icon {
  background: var(--dark-bg);
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.about-mv-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-bg);
  margin-bottom: 12px;
  margin-top: 5px;
}

.about-mv-text {
  font-size: 16px;
  color: var(--text-main);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 575px) {
  .about-mv-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.about-main-title .word-span:last-child {
  color: var(--primary-color);
}

/* ==========================================================================
   Services Page Layout
   ========================================================================== */
.services-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.service-card-new {
  background: var(--white);
  border-radius: 24px;
  padding: 16px;
  border: 1px solid rgba(0, 75, 199, 0.08);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card-new:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 75, 199, 0.1);
  border-color: rgba(0, 75, 199, 0.25);
}

.service-card-new .card-img-box {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: 18px;
  overflow: hidden;
}

.service-card-new .card-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-new:hover .card-img-box img {
  transform: scale(1.08);
}

.service-card-new .card-icon-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.4s ease;
  z-index: 2;
}

.service-card-new:hover .card-icon-badge {
  background: var(--primary-color);
  color: var(--white);
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 75, 199, 0.25);
}

.service-card-new .card-body {
  padding: 20px 8px 8px 8px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-new .card-category {
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.service-card-new .card-title {
  font-size: 21px;
  font-weight: 700;
  color: var(--dark-bg);
  margin-bottom: 12px;
  line-height: 1.35;
}

.service-card-new .card-desc {
  font-size: 15px;
  color: var(--text-main);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 991px) {
  .services-page-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 767px) {
  .services-page-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

.services-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 45px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--white);
  border: 1px solid rgba(0, 75, 199, 0.12);
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark-bg);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.filter-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(0, 75, 199, 0.2);
}

/* ==========================================================================
   Contact Page Layout
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 50px;
  align-items: flex-start;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-info-card {
  display: flex;
  gap: 20px;
  background: var(--white);
  padding: 24px;
  border-radius: 20px;
  border: 1px solid rgba(0, 75, 199, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-color);
  box-shadow: 0 12px 35px rgba(0, 75, 199, 0.06);
}

.contact-info-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(0, 75, 199, 0.08);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-info-card:hover .contact-info-icon {
  background: var(--primary-color);
  color: var(--white);
  transform: scale(1.05);
}

.contact-info-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-bg);
  margin-bottom: 6px;
}

.contact-info-text {
  font-size: 16px;
  color: var(--text-main);
  line-height: 1.6;
  margin: 0;
}

.contact-info-text a {
  color: inherit;
  transition: color 0.3s ease;
}

.contact-info-text a:hover {
  color: var(--primary-color);
}

/* Contact Form Styling */
.contact-form-card {
  background: var(--white);
  padding: 40px;
  border-radius: 24px;
  border: 1px solid rgba(0, 75, 199, 0.08);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.03);
}

.contact-form-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark-bg);
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 22px;
}

.form-input {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid rgba(0, 75, 199, 0.5);
  border-radius: 12px;
  background: #fdfdfd;
  font-size: 16px;
  color: var(--text-main);
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(0, 75, 199, 0.08);
}

textarea.form-input {
  min-height: 130px;
  resize: vertical;
}

.recaptcha-wrapper {
  margin-bottom: 22px;
}

/* Interactive Map Toggle */
.map-section {
  background: var(--light-bg);
  padding: var(--section-spacing) 0;
}

.map-toggle-container {
  display: flex;
  justify-content: center;
  margin-bottom: 35px;
}

.map-toggle-btn {
  border: 1px solid rgba(0, 75, 199, 0.12);
  background: var(--white);
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--dark-bg);
}

.map-toggle-btn:first-child {
  border-radius: 30px 0 0 30px;
  border-right: none;
}

.map-toggle-btn:last-child {
  border-radius: 0 30px 30px 0;
}

.map-toggle-btn.active {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
  box-shadow: 0 6px 15px rgba(0, 75, 199, 0.15);
}

.map-wrapper {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 75, 199, 0.08);
}

.map-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

.map-iframe.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-form-card {
    padding: 30px 24px;
  }
  .map-wrapper {
    height: 380px;
  }
}

/* ==========================================================================
   Projects Page Layout
   ========================================================================== */
.projects-page-container {
  padding-top: 70px;
  padding-bottom: 70px;
}

.project-item-section {
  padding: 80px 0;
  background: var(--white);
}

.project-item-section.bg-light-projects {
  background-color: var(--light-bg);
  border-top: 1px solid rgba(0, 75, 199, 0.05);
  border-bottom: 1px solid rgba(0, 75, 199, 0.05);
}

.project-item-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr; /* Narrower image, wider content for perfect text balance */
  gap: 70px;
  align-items: center; /* Vertically centered for professional balance */
}

.project-item-grid.image-right {
  grid-template-columns: 1.15fr 0.85fr;
}

.project-content-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-lead-desc {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0px;
  letter-spacing: 0.5px;
}

/* CKEditor rich text output rendered in project sections */
.project-extra-desc {
  margin: 12px 0 18px;
  color: var(--text-color, #444);
  font-size: 15px;
  line-height: 1.75;
}
.project-extra-desc p {
  margin-bottom: 10px;
}
.project-extra-desc ul,
.project-extra-desc ol {
  padding-left: 20px;
  margin-bottom: 10px;
}
.project-extra-desc ul li {
  list-style: disc;
  margin-bottom: 5px;
}
.project-extra-desc ol li {
  list-style: decimal;
  margin-bottom: 5px;
}
.project-extra-desc strong {
  font-weight: 600;
}
.project-extra-desc h2,
.project-extra-desc h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--heading-color, #222);
}

.project-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 18px;
  margin-top: 25px;
  margin-bottom: 35px;
}

.project-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-main);
  font-weight: 600;
  line-height: 1.4;
  padding: 10px 14px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid rgba(0, 75, 199, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-item-section.bg-light-projects .project-list-item {
  background: var(--white);
}

.project-list-item:hover {
  background: var(--white);
  border-color: var(--primary-color);
  box-shadow: 0 6px 15px rgba(0, 75, 199, 0.06);
  transform: translateY(-2px);
}

.project-list-item i {
  color: var(--primary-color);
  font-size: 14px;
  margin-top: 3px;
  flex-shrink: 0;
}

.project-image-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Premium Project Image Frame & Backdrop */
.project-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  z-index: 1;
}

.project-img-backdrop {
  position: absolute;
  top: 20px;
  left: 20px;
  right: -15px;
  bottom: -15px;
  background: linear-gradient(
    135deg,
    rgba(0, 75, 199, 0.06) 0%,
    rgba(0, 206, 209, 0.04) 100%
  );
  border: 1.5px solid rgba(0, 75, 199, 0.1);
  border-radius: 20px;
  z-index: -1;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.project-img-wrapper:hover .project-img-backdrop {
  transform: translate(6px, 6px);
  background: linear-gradient(
    135deg,
    rgba(0, 75, 199, 0.1) 0%,
    rgba(0, 206, 209, 0.06) 100%
  );
  border-color: rgba(0, 75, 199, 0.2);
}

.project-img-frame {
  position: relative;
  width: 100%;
  height: 480px; /* Increased from 380px to balance list height */
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  border: 8px solid var(--white);
  background: var(--white);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-img-wrapper:hover .project-img-frame {
  transform: translate(-4px, -4px);
  box-shadow: 0 20px 45px rgba(0, 75, 199, 0.1);
}

.project-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-img-wrapper:hover img {
  transform: scale(1.06);
}

/* Capacity & ROI Estimator Tool */
.estimator-section {
  background: linear-gradient(
    135deg,
    rgba(0, 75, 199, 0.03) 0%,
    rgba(0, 206, 209, 0.03) 100%
  );
  padding: 60px;
  border-radius: 30px;
  margin: 60px 0;
  border: 1px solid rgba(0, 75, 199, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.estimator-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 75, 199, 0.05);
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  margin-top: 30px;
}

.estimator-control-group {
  margin-bottom: 25px;
}

.estimator-control-group label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark-bg);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.estimator-select {
  width: 100%;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1.5px solid rgba(0, 75, 199, 0.15);
  background: var(--white);
  font-size: 16px;
  color: var(--text-main);
  outline: none;
  transition: all 0.3s ease;
}

.estimator-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 75, 199, 0.1);
}

.range-slider-wrapper {
  position: relative;
  margin-top: 15px;
}

.estimator-range {
  width: 100%;
  -webkit-appearance: none;
  height: 6px;
  border-radius: 3px;
  background: rgba(0, 75, 199, 0.15);
  outline: none;
}

.estimator-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-color);
  cursor: pointer;
  transition: transform 0.2s;
  box-shadow: 0 3px 8px rgba(0, 75, 199, 0.3);
}

.estimator-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.range-values {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-main);
  margin-top: 8px;
  font-weight: 500;
}

.estimator-results {
  background: linear-gradient(135deg, var(--dark-bg) 0%, #002366 100%);
  border-radius: 18px;
  padding: 30px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.result-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
}

.result-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.result-label {
  font-size: 12px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.result-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.result-value.highlight {
  color: #00ced1;
  font-size: 22px;
}

/* Responsive Projects */
@media (max-width: 1200px) {
  .estimator-section {
    padding: 40px;
    border-radius: 20px;
  }
}

@media (max-width: 991px) {
  .project-item-grid,
  .project-item-grid.image-right {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .project-image-col {
    position: static;
  }
  .project-img-wrapper {
    max-width: 100%;
  }
  .project-img-frame {
    height: 350px;
  }
  .estimator-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .estimator-section {
    padding: 30px 20px;
    margin: 40px 0;
  }
  .estimator-card {
    padding: 30px 20px;
  }
}

@media (max-width: 768px) {
  .project-list-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ===== Scroll to Top Button ===== */
#scroll-to-top-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--primary-color, #1a73e8);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    background 0.2s ease;
}

#scroll-to-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#scroll-to-top-btn:hover {
  background: var(--primary-dark, #1558b0);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

/* correction changes 3/6*/

.job-apply-card .contact-info-text a {
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.job-apply-card .contact-info-text a:hover {
  text-decoration: underline;
  color: var(--primary-color);
}

html {
  scroll-behavior: smooth;
}

#contact-address {
  scroll-margin-top: 20px; /* adjust based on your fixed header height */
}

/* ==========================================================================
   Home Contact Form Section
   ========================================================================== */
.home-contact-form-card {
  background: rgb(0 75 199 / 20%);
  margin: 0px auto;
  padding: 50px;
  border: 1px solid rgba(0, 75, 199, 0.5);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04);
  border-radius: 10px;
  max-width: 900px;
}
.home-form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.home-form-full {
  grid-column: 1 / -1;
}

.home-form-grid textarea.form-input {
  min-height: 140px;
  resize: vertical;
}

.home-form-submit {
  display: flex;
  justify-content: center;
}

.home-form-submit .btn {
  padding: 14px 50px;
  font-size: 16px;
  border-radius: 12px;
  min-width: 260px;
}

.home-contact-form-card .recaptcha-wrapper {
  margin-bottom: 0;
  display: flex;
  align-items: center;
  height: 100%;
}

@media (max-width: 991px) {
  .home-form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-contact-form-card {
    padding: 35px 25px;
  }
}

@media (max-width: 575px) {
  .home-form-grid {
    grid-template-columns: 1fr;
  }
  .home-contact-form-card {
    padding: 25px 18px;
  }
  .home-form-submit .btn {
    width: 100%;
    min-width: unset;
  }
}
.home-form-captcha-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.home-form-captcha-row .btn {
  padding: 14px 50px;
  font-size: 16px;
  border-radius: 12px;
  white-space: nowrap;
}
textarea.form-input {
  font-family: var(--font-body);
}

/* Sticky Header Fix */
html {
  overflow-x: clip;
}

body {
  overflow-x: clip;
}

/* ADD this instead */
.header {
  position: fixed;
  top: 0px;   /* ← Push below the 36px topbar */
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  padding-left: 20px;
}

/* ADD this after the .header block */
.header-spacer {
  height: 90px;
}

@media (max-width: 1200px) {
  .header-spacer { height: 85px; }
}

@media (max-width: 576px) {
  .header-spacer { height: 75px; }
}
.navbar,
main,
.wrapper {
  overflow: visible;
}

body.menu-open {
  position: fixed;
  width: 100%;
}

@media (max-width: 850px) {
  .topbar {
    display: none;
  }
  .header {
    top: 0;
  }
  .header-spacer {
    height: 0px;
  }
}

/* Only non-sticky elements get overflow visible */
.navbar,
main,
.wrapper {
  overflow: visible;
}

cssbody.menu-open {
  touch-action: none;
  overscroll-behavior: none;
  height: 100%;
  position: fixed;
  width: 100%;
}

.floating-wa {
  position: fixed !important;
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  z-index: 2147483647 !important;

  /* ADD THESE — force GPU layer on all devices */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
}
/* Mobile fix for sticky header */
@media (max-width: 850px) {
  .topbar {
    display: none;
  }
}

/* Ensure the header background stays solid when sticky */
.header.sticky-active {
  background-color: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* whatsapp floating  */
/* Floating WhatsApp Button - Same size as scroll to top */
.floating-wa {
  position: fixed;
  bottom: 90px; /* Position above scroll-to-top button (which is at bottom: 32px) */
  right: 32px;
  width: 46px;
  height: 46px;
  background-color: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  z-index: 10000;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transition: all 0.3s ease;
  text-decoration: none;
}

.floating-wa:hover {
  transform: scale(1.1);
  background-color: #128c7e;
  color: var(--white);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Tooltip - Appears to the left of the icon */
.floating-wa .wa-tooltip {
  position: absolute;
  right: 55px;
  background-color: var(--dark-bg);
  color: var(--white);
  padding: 8px 15px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease;
  pointer-events: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Small arrow pointing to WhatsApp icon */
.floating-wa .wa-tooltip::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid var(--dark-bg);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

/* Tooltip animation classes for blinking effect */
.floating-wa .wa-tooltip.show {
  opacity: 1;
  visibility: visible;
}

.floating-wa .wa-tooltip.hide {
  opacity: 0;
  visibility: hidden;
}

/* Scroll to Top Button */
#scroll-to-top-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--primary-color, #1a73e8);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    background 0.2s ease;
}

#scroll-to-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#scroll-to-top-btn:hover {
  background: var(--primary-dark, #1558b0);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .floating-wa {
    width: 42px;
    height: 42px;
    font-size: 22px;
    bottom: 80px;
    right: 20px;
  }

  .floating-wa .wa-tooltip {
    right: 50px;
    padding: 6px 12px;
    font-size: 11px;
    white-space: nowrap;
  }

  #scroll-to-top-btn {
    width: 42px;
    height: 42px;
    font-size: 14px;
    bottom: 25px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  .floating-wa {
    width: 38px !important;
    height: 38px !important;
    font-size: 20px !important;
    bottom: 72px !important;
    right: 15px !important;
  }

  .floating-wa .wa-tooltip {
    display: none; /* Hide tooltip on very small screens */
  }

  #scroll-to-top-btn {
    width: 38px;
    height: 38px;
    font-size: 12px;
    bottom: 20px;
    right: 15px;
  }
}

@media (max-width: 360px) {
  .floating-wa {
    width: 36px !important;
    height: 36px !important;
    font-size: 18px !important;
    bottom: 68px !important;
    right: 12px !important;
    z-index: 2147483647 !important;
  }

  #scroll-to-top-btn {
    width: 34px;
    height: 34px;
    font-size: 12px;
    bottom: 14px;
    right: 12px;
  }
}

/* Ensure WhatsApp button is visible on all mobile layouts */
.floating-wa {
  position: fixed !important;
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  z-index: 2147483647 !important;
}









.header {
    position: relative !important;
    width: 100% !important;
    background: #fff !important;
    z-index: 1000 !important;
    transition: all 0.3s ease !important;
}

.header.is-sticky {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #fff !important;
    z-index: 99999 !important;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08) !important;
    animation: slideDown 0.3s ease !important;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.header.is-sticky .navbar {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body {
    overflow-x: hidden !important;
}

.header {
    transition: all 0.4s ease;
}