@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap");

:root {
  --primary-blue: #0056a0;
  --secondary-green: #106b47;
  --accent-red: #e31e24;
  --dark-green: #1a241e;
  --text-color: #444444;
  --heading-color: #003366;
  --light-bg: #f5f8fa;
  --white: #ffffff;
  --primary-color: #0056a0;
  --secondary-color: #106b47;
  --transition: all 0.3s ease;
  --shadow-sm: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.05);
  --shadow-md: 0 0.3125rem 0.9375rem rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.12);
  --border-radius: 0.5rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: clip;
  background-color: var(--white);
  padding-top: 120px; /* Offset for fixed header */
}

@media (max-width: 991px) {
  body {
    padding-top: 70px; /* Smaller offset for mobile */
  }
}

img {
  max-width: 100%;
  height: auto;
}

/* --- Preloader --- */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  transition:
    opacity 0.6s cubic-bezier(0.77, 0, 0.175, 1),
    visibility 0.6s;
}

#preloader.preloader-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-wrapper {
  text-align: center;
}

.loader {
  width: 60px;
  aspect-ratio: 1;
  margin: 0 auto 25px;
  background:
    linear-gradient(45deg, var(--secondary-green) 50%, #0000 0),
    linear-gradient(45deg, #0000 50%, var(--secondary-green) 0),
    linear-gradient(-45deg, var(--accent-red) 50%, #0000 0),
    linear-gradient(-45deg, #0000 50%, var(--accent-red) 0),
    linear-gradient(var(--primary-blue) 0 0);
  background-size: 50% 50%;
  background-repeat: no-repeat;
  animation: l18 1.5s infinite;
}

.loader-text {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-blue);
  letter-spacing: 1px;
}

@keyframes l18 {
  0% {
    background-position:
      50% 50%,
      50% 50%,
      50% 50%,
      50% 50%,
      50% 50%;
  }
  25% {
    background-position:
      0 100%,
      100% 0,
      50% 50%,
      50% 50%,
      50% 50%;
  }
  50% {
    background-position:
      0 100%,
      100% 0,
      100% 100%,
      0 0,
      50% 50%;
  }
  75% {
    background-position:
      50% 50%,
      50% 50%,
      100% 100%,
      0 0,
      50% 50%;
  }
  100% {
    background-position:
      50% 50%,
      50% 50%,
      50% 50%,
      50% 50%,
      50% 50%;
  }
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent-red);
  outline-offset: 4px;
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-weight: 700;
  line-height: 1.2;
}
.text-white {
  color: #fff !important;
}
/* Container Spacing */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 30px);
}

/* --- Top Bar --- */
.top-bar {
  background-color: var(--primary-blue);
  color: #ffffff;
  padding: 6px 0;
  font-size: clamp(0.75rem, 0.8vw, 0.85rem);
  border-bottom: 1px solid #eeeeee;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.top-bar-left {
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.top-bar-center {
  display: flex;
  gap: 20px;
  align-items: center;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 15px;
  border-right: 1px dashed rgba(255, 255, 255, 0.3);
}

@media (max-width: 576px) {
  .top-bar-info {
    border-right: none;
    padding: 0 5px;
  }
}

.top-bar-info:last-child {
  border-right: none;
}

.top-bar-socials {
  display: flex;
  gap: 10px;
}

.top-bar-socials a {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.top-bar-socials a:hover {
  background: var(--secondary-green);
  color: var(--white);
  transform: translateY(-2px);
}

/* --- Navbar --- */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.main-header.is-sticky .top-bar {
  display: none;
}

.main-header.is-sticky .navbar {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
}

.navbar {
  background-color: var(--white);
  padding: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  border-bottom: 2px solid #f1f1f1;
  transition: all 0.4s ease;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}

.nav-logo {
  display: flex;
  align-items: center;
  padding: 15px 0;
}

.nav-logo img {
  height: clamp(45px, 4vw, 55px);
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: stretch;
}

.nav-link {
  font-weight: 700;
  color: #333333;
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  padding: 0 clamp(12px, 1.5vw, 25px);
  display: flex;
  align-items: center;
  border-left: 1px solid #eeeeee;
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
  text-decoration: none;
}

.nav-item:last-child .nav-link {
  border-right: 1px solid #eeeeee;
}

.nav-link i {
  font-size: 10px;
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.nav-item:hover .nav-link i {
  transform: rotate(180deg);
}

.nav-link:hover,
.nav-link.active {
  background-color: #f0f7f4;
  color: var(--secondary-green);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--secondary-green);
}

/* Dropdown Menu (Desktop) */
@media (min-width: 993px) {
  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: max-content;
    min-width: 240px;
    background: var(--white);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1000;
    border-radius: 12px;
    border: none;
    overflow: hidden;
  }

  .nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .dropdown-menu li {
    position: relative;
    border-bottom: 1px solid #f1f3f5;
  }

  .dropdown-menu li:last-child {
    border-bottom: none;
  }

  .dropdown-menu li a {
    display: block;
    padding: 16px 30px;
    color: #333333;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
    line-height: 1.4;
    white-space: nowrap;
  }

  .dropdown-menu li a:hover,
  .dropdown-menu li a.active {
    background-color: #f0f7f4;
    color: var(--secondary-green);
    padding-left: 35px;
  }

  .dropdown-menu li a.active {
    border-left: 3px solid var(--secondary-green);
  }
}

/* Base Dropdown (Mobile) */
@media (max-width: 992px) {
  .dropdown-menu {
    list-style: none;
    padding: 0;
    margin: 0;
  }
}

@media (max-width: 992px) {
  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-item {
    width: 100%;
    flex-direction: column;
  }
  .nav-link {
    width: 100%;
    border-left: none;
    border-bottom: 1px solid #eeeeee;
    padding: 15px 30px;
  }
  .dropdown-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    border-top: none;
    background: #fdfdfd;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0;
  }
  .nav-item.active .dropdown-menu {
    display: block;
  }
  .dropdown-menu li a {
    padding-left: 45px;
  }
}

.nav-right {
  display: flex;
  align-items: center;
  gap: clamp(15px, 2vw, 30px);
  padding: 15px 0;
}

.call-us {
  display: flex;
  align-items: center;
  gap: 12px;
}

.call-us .label {
  color: var(--secondary-green);
  font-weight: 600;
  font-size: 0.875rem;
}

.call-us .number {
  font-weight: 800;
  color: #333;
  font-size: 1rem;
}

/* --- Universal Button Style --- */
.nav-btn,
.btn-primary,
.btn-outline {
  position: relative;
  padding: clamp(10px, 2vw, 14px) clamp(20px, 3vw, 32px);
  border-radius: 50px;
  font-weight: 700;
  /* text-transform: uppercase; */
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  z-index: 1;
  transition: color 0.4s ease;
  border: none;
  cursor: pointer;
  min-width: clamp(140px, 15vw, 180px);
}

.nav-btn,
.btn-primary {
  background-color: var(--primary-blue);
  color: var(--white);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.nav-btn::before,
.btn-primary::before,
.btn-outline::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background-color: var(--secondary-green);
  border-radius: 50%;
  z-index: -1;
  transition:
    width 0.6s ease,
    height 0.6s ease;
  transform: translate(-50%, -50%);
}

@media (hover: hover) {
  .nav-btn:hover::before,
  .btn-primary:hover::before,
  .btn-outline:hover::before {
    width: 300px;
    height: 300px;
  }
}

.nav-btn:hover,
.btn-primary:hover,
.btn-outline:hover {
  color: var(--white);
  border-color: var(--secondary-green);
}

/* --- Hero Slider --- */
.hero-slider,
.main-hero-slider {
  height: 100vh !important;
  position: relative;
  overflow: hidden;
}

.swiper-wrapper,
.swiper-slide {
  height: 100% !important;
  position: relative;
}

.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
}

.slide-content {
  position: absolute;
  top: 30%;
  left: clamp(5%, 10vw, 10%);
  transform: translateY(-50%);
  text-align: left;
  color: var(--white);
  width: 90%;
  max-width: 800px;
  z-index: 20;
  pointer-events: auto;
}

.slide-subtitle {
  font-size: clamp(0.8rem, 1.2vw, 0.9rem);
  color: var(--white);
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 25px;
  display: inline-flex;
  align-items: center;
}

.slide-title {
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  font-weight: 800;
  margin-bottom: 30px;
  line-height: 1.1;
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-btns {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  flex-wrap: wrap;
  align-items: center;
}

/* --- Info Boxes --- */
.info-boxes {
  margin-top: -60px;
  position: relative;
  z-index: 30;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(15px, 2vw, 30px);
}

.info-card {
  padding: clamp(20px, 3vw, 30px);
  border-radius: var(--border-radius);
  color: var(--white);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.info-card h4 {
  color: var(--white);
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  margin-bottom: 15px;
}

.info-card p {
  font-size: clamp(0.875rem, 1vw, 0.9375rem);
  margin-bottom: 20px;
  opacity: 0.9;
}

.info-card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

/* --- Sections Common --- */
.section {
  padding: clamp(60px, 8vw, 100px) 0;
}

.section-head {
  text-align: center;
  max-width: 900px;
  margin: 0 auto clamp(40px, 5vw, 60px);
}

.section-subtitle {
  color: var(--primary-blue);
  font-weight: 800;
  font-size: clamp(0.75rem, 1vw, 0.875rem);
  letter-spacing: 1px;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.2;
}

/* --- About Section --- */
.about-section {
  background-color: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}

.about-img {
  position: relative;
}

.about-img img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--heading-color);
  font-size: clamp(0.875rem, 1vw, 1rem);
}

/* --- Services Section --- */
.services-section {
  background-color: var(--light-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 30px);
}

.service-card {
  padding: clamp(25px, 3vw, 40px);
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid #edf2f7;
  display: flex;
  flex-direction: column;
  height: 100%;
}

@media (hover: hover) {
  .service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
  }
}

.service-icon {
  width: 60px;
  height: 60px;
  background-color: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  flex-shrink: 0;
}

.service-icon i {
  font-size: 24px;
  color: var(--primary-color);
}

.service-card h4 {
  margin-bottom: 15px;
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
}

.service-card p {
  font-size: clamp(0.875rem, 1vw, 0.9375rem);
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-link {
  color: var(--primary-color);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
}

/* --- Excellence --- */
.excellence-section {
  background-color: var(--light-bg);
}

.excellence-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 40px);
}

.excellence-item {
  background-color: var(--white);
  padding: clamp(20px, 2.5vw, 30px);
  border-radius: var(--border-radius);
  display: flex;
  gap: 20px;
}

.excellence-item i {
  font-size: clamp(24px, 2vw, 32px);
  color: var(--secondary-color);
}

/* --- Segments --- */
/* --- Segment Hover Reveal Slider --- */
.segment-slider-wrapper {
  position: relative;
  padding: 30px 0; /* restore vertical spacing; horizontal padding removed so cards align flush */
}

.segment-slider-container {
  overflow: hidden;
  border-radius: var(--border-radius);
}

.segment-slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 30px;
}

.segment-slide-item {
  flex: 0 0 calc(33.333% - 20px);
  min-width: 0;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  height: 300px;
  /* Fixed height */
}

.segment-slide-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.card-image {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.segment-slide-item:hover .card-image img {
  transform: scale(1.1);
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.segment-slide-item:hover .card-overlay {
  opacity: 1;
}

.card-title {
  color: white;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  font-weight: 600;
  text-align: center;
  padding: 15px 20px;
  background: rgba(0, 86, 160, 0.9);
  border-radius: 10px;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  max-width: 80%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.segment-slide-item:hover .card-title {
  transform: translateY(0);
}

/* Nav Buttons used in sliders */
.nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(40px, 4vw, 50px);
  height: clamp(40px, 4vw, 50px);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue), #00a4ef);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 86, 160, 0.3);
}

.nav-button:hover {
  background: linear-gradient(135deg, var(--secondary-green), #1ebd7d);
  transform: translateY(-50%) scale(1.1);
}

.nav-button.prev {
  left: 10px; /* slight inset to keep cards fully visible */
}

.nav-button.next {
  right: 10px; /* slight inset */
}

.nav-button svg {
  width: clamp(20px, 2vw, 24px);
  height: clamp(20px, 2vw, 24px);
  fill: white;
}

/* Pagination Dots */
.pagination-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.pagination-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.pagination-dots .dot.active {
  background: linear-gradient(135deg, var(--primary-blue), #00a4ef);
  transform: scale(1.2);
  width: 30px;
  border-radius: 6px;
}

.pagination-dots .dot:hover {
  background: var(--secondary-green);
  transform: scale(1.1);
}

/* Responsive constraints */
@media (max-width: 1024px) {
  .segment-slide-item {
    flex: 0 0 calc(50% - 15px);
  }
}

@media (max-width: 768px) {
  .segment-slide-item {
    flex: 0 0 100%;
  }
}

/* --- Testimonials --- */
.testimonials-section {
  background-color: var(--dark-green);
  color: var(--white);
}

.testimonials-section .section-title {
  color: var(--white);
}

.testimonial-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: clamp(20px, 3vw, 40px);
  border-radius: var(--border-radius);
  position: relative;
}

.testimonial-content {
  font-size: clamp(0.9375rem, 1vw, 1rem);
  font-style: italic;
  margin-bottom: 30px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-info h4 {
  color: var(--white);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
}

.author-info span {
  color: var(--secondary-color);
  font-size: 0.875rem;
}

/* --- Footer --- */
footer {
  background-color: #002252;
  color: var(--white);
  padding: clamp(50px, 6vw, 80px) 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(30px, 4vw, 50px);
  margin-bottom: 60px;
}

.footer-logo img {
  height: 80px;
  margin-bottom: 30px;
}

.footer-widget h4 {
  color: var(--white);
  margin-bottom: 30px;
  font-size: 1.125rem;
  position: relative;
}

.footer-widget h4::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-blue);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(8px);
  opacity: 1;
}

.footer-dev-link {
  color: #fff;
  font-weight: 700;
  transition: all 0.3s ease;
}

.footer-dev-link:hover {
  color: var(--white);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: clamp(0.85rem, 1vw, 0.9375rem);
}

/* --- RESPONSIVE MEDIA QUERIES --- */

/* 1200px (Large Tablets / Small Laptops) */
@media (max-width: 1200px) {
  /* Footer Grid Adjust */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* 992px (Tablets) */
@media (max-width: 992px) {
  .top-bar-left,
  .top-bar-center {
    display: none;
  }

  .top-bar {
    padding: 8px 0;
  }

  .top-bar .container {
    justify-content: center;
  }

  .mobile-menu-toggle {
    display: block !important;
    padding: 5px;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .nav-link {
    border: none;
    border-bottom: 1px solid #eee;
    padding: 15px 30px;
    width: 100%;
  }

  .nav-menu.active {
    display: flex !important;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
  }

  /* Custom scrollbar for mobile hamburger menu */
  .nav-menu.active::-webkit-scrollbar {
    width: 4px;
  }

  .nav-menu.active::-webkit-scrollbar-track {
    background: #f1f1f1;
  }

  .nav-menu.active::-webkit-scrollbar-thumb {
    background: var(--secondary-green);
    border-radius: 10px;
  }

  .nav-menu.active::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue);
  }

  .navbar .container {
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 20px;
    height: auto;
    align-items: center;
  }

  .nav-right {
    display: none;
  }

  .hero-slider,
  .main-hero-slider {
    height: 70vh !important;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .excellence-grid {
    grid-template-columns: 1fr;
  }
}

/* 768px (Mobile Landscape / Small Tablets) */
@media (max-width: 768px) {
  /* Hero */
  .slide-content {
    left: 4%;
    width: 92%;
    text-align: center;
  }

  .slide-btns {
    justify-content: center;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }

  /* Info Boxes */
  .info-boxes {
    margin-top: 0;
    padding-top: 40px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  /* About */
  .about-section {
    background-color: var(--white);
  }
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-img {
    order: -1;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}

/* 576px (Mobile Portrait) */
@media (max-width: 576px) {
  .hero-slider,
  .main-hero-slider {
    height: 60vh !important;
  }

  .slide-btns {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .slide-btns .btn-primary,
  .slide-btns .btn-outline {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 14px 24px;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* About */
  .about-stats {
    grid-template-columns: 1fr;
  }
}

/* new 04.03: "Why Choose Us" Section */
.e2s-section {
  width: 100%;
  max-width: 1200px;
  margin: clamp(40px, 6vw, 80px) auto;
  background: linear-gradient(145deg, var(--white) 0%, var(--light-bg) 100%);
  border-radius: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-md);
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.5rem);
}

/* ===== Header ===== */
.e2s-section .section-header {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.e2s-section .section-header h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--heading-color);
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.e2s-section .section-header h2 span {
  color: var(--primary-blue);
}

.e2s-section .section-header .sub {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--text-color);
  display: inline-block;
  padding-bottom: 0.5rem;
  margin-top: 0.5rem;
  position: relative;
}

.e2s-section .section-header .sub::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent-red);
  border-radius: 2px;
}

/* ===== Grid ===== */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  justify-items: center;
}

@media (min-width: 576px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== Card ===== */
.circle-card {
  max-width: 280px;
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  padding: 1rem;
  border-radius: var(--border-radius);
}

@media (hover: hover) {
  .circle-card:hover {
    transform: translateY(-8px);
  }
}

/* ===== Circle ===== */
.circle {
  width: clamp(100px, 15vw, 140px);
  height: clamp(100px, 15vw, 140px);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto clamp(1rem, 2vw, 1.5rem);
  box-shadow:
    inset 0 -4px 10px rgba(0, 0, 0, 0.1),
    0 8px 15px rgba(0, 0, 0, 0.05);
  color: var(--white);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.circle::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 1;
}

@media (hover: hover) {
  .circle-card:hover .circle {
    box-shadow:
      inset 0 -2px 5px rgba(0, 0, 0, 0.1),
      0 15px 25px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
  }
}

/* Circle Colors */
.card-1 .circle {
  background: var(--primary-blue);
}

.card-2 .circle {
  background: var(--secondary-green);
}

.card-3 .circle {
  background: var(--accent-red);
}

.card-4 .circle {
  background: var(--dark-green);
}

.card-5 .circle {
  background: var(--primary-blue);
}

.card-6 .circle {
  background: var(--secondary-green);
}

@media (hover: hover) {
  .card-1:hover .circle {
    box-shadow: 0 10px 20px rgba(0, 86, 160, 0.3);
  }

  .card-2:hover .circle {
    box-shadow: 0 10px 20px rgba(16, 107, 71, 0.3);
  }

  .card-3:hover .circle {
    box-shadow: 0 10px 20px rgba(227, 30, 36, 0.3);
  }

  .card-4:hover .circle {
    box-shadow: 0 10px 20px rgba(26, 36, 30, 0.3);
  }

  .card-5:hover .circle {
    box-shadow: 0 10px 20px rgba(0, 86, 160, 0.3);
  }

  .card-6:hover .circle {
    box-shadow: 0 10px 20px rgba(16, 107, 71, 0.3);
  }
}

/* Icon */
.icon-shape {
  font-size: clamp(2rem, 3vw, 2.5rem);
  z-index: 2;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.icon-shape span {
  display: block;
  font-size: 0.75rem;
  /* text-transform: uppercase; */
  margin-top: 0.4rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Title */
.circle-card h3 {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
}

/* Description */
.editable-line {
  font-size: clamp(0.875rem, 1vw, 0.9375rem);
  color: var(--text-color);
  line-height: 1.6;
}

.editable-line strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* off  */

/* client logo on */
.clients-section {
  width: 100%;
  background-color: var(--white);
  overflow: hidden;
  padding-bottom: clamp(40px, 6vw, 80px);
}

.clients-section .section-head {
  max-width: 800px;
}

/* slider wrapper used by clients section, no extra horizontal padding */
.client-slider-wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 0; /* reset spacing; edges will align with container */
}

/* Use scroll-snap for touch/drag support and hide scrollbars */
#clientSliderContainer {
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none; /* IE/Edge hide scrollbar */
  scrollbar-width: none; /* Firefox hide scrollbar */
}
#clientSliderContainer::-webkit-scrollbar {
  display: none;
}

#clientSliderContainer .slider-track {
  display: flex;
  gap: 20px;
  align-items: center;
}

#clientSliderContainer .logo-item {
  scroll-snap-align: start;
  flex: 0 0 calc(100% / 5);
  padding: 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

/* hide any navigation buttons if mistakenly left in markup */
.client-slider-wrapper .nav-button {
  display: none !important;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  align-items: center;
  gap: 20px;
}

.logo-item {
  flex: 0 0 calc(100% / 5);
  padding: 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.logo-item img {
  max-width: 100%;
  height: auto;
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
  cursor: pointer;
}

@media (hover: hover) {
  .logo-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
  }
}

.slider-wrapper:hover .slider-track {
  animation-play-state: paused;
}

@media (max-width: 992px) {
  .logo-item {
    flex: 0 0 calc(100% / 4);
  }
}

@media (max-width: 768px) {
  .logo-item {
    flex: 0 0 calc(100% / 3);
  }
}

@media (max-width: 480px) {
  .logo-item {
    flex: 0 0 calc(100% / 2);
  }
  .logo-item img {
    max-height: 50px;
  }
}

@media (max-width: 768px) {
  .logo-item img {
    max-height: 60px;
  }
}
/* client logo off */

/* testimonial on  */
/* Clients Area Styles */
.clients-area {
  background-color: #f9f9f9;
  position: relative;
  overflow: hidden;
  z-index: 1;
  padding-bottom: 0; /* align spacing with other sections */
}

.clients-content {
  padding: clamp(30px, 4vw, 40px);
  /* card will expand to fill slide container; width controlled by carousel */
}

@media (max-width: 768px) {
  .clients-content .content {
    position: static;
    padding-left: 0;
    text-align: center;
  }
  .clients-content .content img {
    position: static;
    margin: 0 auto 15px;
  }
  .clients-content .content i {
    display: none;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section-title {
  margin-bottom: 45px;
}

.section-title span {
  font-size: 14px;
  color: #ff5e14;
  font-weight: 600;
  /* text-transform: uppercase; */
  letter-spacing: 1px;
  display: block;
  margin-bottom: 10px;
}

.section-title h2 {
  font-size: 36px;
  font-weight: 700;
  margin: 0;
  color: #1e2b3a;
}

.text-center {
  text-align: center;
}

/* Clients Content Styles */
.clients-content {
  background-color: #fff;
  padding: clamp(30px, 4vw, 40px);
  border-radius: 10px;
  position: relative;
  margin-bottom: 30px;
  transition: all 0.5s ease;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.clients-content:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.clients-content .content {
  position: relative;
  padding-left: 100px;
  margin-bottom: 25px;
}

.clients-content .content img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.clients-content .content i {
  position: absolute;
  right: 0;
  top: 0;
  font-size: 60px;
  color: #ff5e14;
  opacity: 0.3;
}

.clients-content .content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #1e2b3a;
}

.clients-content .content span {
  font-size: 14px;
  color: #6c757d;
}

.clients-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #6c757d;
  margin: 0;
  font-style: italic;
}

.clients-content-color {
  background-color: #fff;
}

/* Owl Carousel Navigation */
.clients-slider .owl-nav {
  margin-top: 30px;
  text-align: center;
}

.clients-slider .owl-nav button {
  width: 40px;
  height: 40px;
  line-height: 40px;
  background-color: #fff !important;
  color: #ff5e14 !important;
  border-radius: 50%;
  margin: 0 5px;
  font-size: 24px;
  transition: all 0.5s ease;
  border: 1px solid #ff5e14 !important;
  cursor: pointer;
}

.clients-slider .owl-nav button:hover {
  background-color: #ff5e14 !important;
  color: #fff !important;
}

.clients-slider .owl-nav button i {
  line-height: 40px;
}

.clients-slider .owl-dots {
  display: none;
}

/* Client Circle Decorations */
.client-circle {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.client-circle div {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: transparent;
}

.client-circle .circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  animation: pulse 3s infinite;
}

.client-circle-1 {
  top: 10%;
  left: 5%;
}

.client-circle-1 .circle {
  background-color: rgba(255, 94, 20, 0.3);
  animation-delay: 0s;
}

.client-circle-2 {
  top: 20%;
  right: 8%;
}

.client-circle-2 .circle {
  background-color: rgba(0, 123, 255, 0.3);
  animation-delay: 0.5s;
}

.client-circle-3 {
  bottom: 15%;
  left: 10%;
}

.client-circle-3 .circle {
  background-color: rgba(40, 167, 69, 0.3);
  animation-delay: 1s;
}

.client-circle-4 {
  bottom: 25%;
  right: 12%;
}

.client-circle-4 .circle {
  background-color: rgba(255, 193, 7, 0.3);
  animation-delay: 1.5s;
}

.client-circle-5 {
  top: 40%;
  left: 15%;
}

.client-circle-5 .circle {
  background-color: rgba(111, 66, 193, 0.3);
  animation-delay: 2s;
}

.client-circle-6 {
  top: 60%;
  right: 15%;
}

.client-circle-6 .circle {
  background-color: rgba(232, 62, 140, 0.3);
  animation-delay: 2.5s;
}

.client-circle-7 {
  top: 75%;
  left: 20%;
}

.client-circle-7 .circle {
  background-color: rgba(32, 201, 151, 0.3);
  animation-delay: 3s;
}

/* Pulse Animation */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(2);
    opacity: 0.8;
  }

  100% {
    transform: scale(1);
    opacity: 0.5;
  }
}

/* Spacing Classes */
.pt-100 {
  padding-top: 100px;
}

.pb-70 {
  padding-bottom: 70px;
}

.pt-45 {
  padding-top: 45px;
}

/* Responsive Design */
@media (max-width: 991px) {
  .section-title h2 {
    font-size: 30px;
  }

  .clients-content {
    padding: 30px 20px;
  }

  .clients-content .content {
    padding-left: 80px;
  }

  .clients-content .content img {
    width: 60px;
    height: 60px;
  }

  .clients-content .content i {
    font-size: 50px;
  }

  .clients-content .content h3 {
    font-size: 18px;
  }

  .clients-content p {
    font-size: 15px;
  }

  .pt-100 {
    padding-top: 70px;
  }

  .pb-70 {
    padding-bottom: 40px;
  }
}

@media (max-width: 767px) {
  .section-title h2 {
    font-size: 26px;
  }

  .clients-content {
    padding: 25px 15px;
  }

  .clients-content .content {
    padding-left: 70px;
  }

  .clients-content .content img {
    width: 50px;
    height: 50px;
  }

  .clients-content .content i {
    font-size: 40px;
  }

  .clients-content .content h3 {
    font-size: 16px;
  }

  .clients-content .content span {
    font-size: 13px;
  }

  .clients-content p {
    font-size: 14px;
    line-height: 1.6;
  }

  .client-circle div {
    width: 15px;
    height: 15px;
  }
}

/* hide testimonial carousel navigation on tablets/phones */
@media (max-width: 768px) {
  .clients-slider .owl-nav {
    display: none !important;
  }
}

@media (max-width: 576px) {
  .clients-slider .owl-nav button {
    width: 35px;
    height: 35px;
    line-height: 35px;
    font-size: 20px;
  }

  .clients-slider .owl-nav button i {
    line-height: 35px;
  }

  .client-circle div {
    width: 12px;
    height: 12px;
  }
}

/* --- Vision & Mission (Integrated) --- */
.vm-compact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
  border-top: 1px dashed #ddd;
  padding-top: 40px;
}

.vm-item {
  display: flex;
  flex-direction: column;
}

.vm-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.vm-header i {
  font-size: 16px;
  color: var(--primary-blue);
}

.vm-header h4 {
  font-size: 16px;
  margin: 0;
  color: var(--heading-color);
  font-weight: 800;
  /* text-transform: uppercase; */
  letter-spacing: 1px;
}

.vm-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vm-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  font-weight: 500;
}

.vm-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 10px;
  color: var(--secondary-green);
}

@media (max-width: 768px) {
  .vm-compact-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 30px;
    padding-top: 30px;
  }
}
/* --- Service Detail Pages Styles --- */
.page-banner {
  padding: 120px 0 80px;
}

.page-banner h1 {
  color: white;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 15px;
}

.breadcrumb-wrap .breadcrumb {
  background: transparent;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
}

.breadcrumb-wrap .breadcrumb-item {
  display: inline-block;
  margin: 0 10px;
}

.breadcrumb-wrap .breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  padding-right: 15px;
  color: #fff;
  opacity: 0.5;
}

.breadcrumb-wrap .breadcrumb-item a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
}

.breadcrumb-wrap .breadcrumb-item.active {
  color: white;
  opacity: 0.8;
}

.service-detail-section {
  padding: 100px 0;
  background-color: #fff;
}

.service-detail-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  align-items: flex-start;
}

.service-detail-media {
  position: sticky;
  top: 120px;
}

.service-detail-media .image-frame {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.service-detail-media .image-frame img {
  width: 100%;
  height: 500px; /* Fixed height for consistency */
  border-radius: 30px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-detail-media:hover .image-frame img {
  transform: scale(1.05);
}

.service-detail-media .overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 60%,
    rgba(0, 85, 160, 0.4) 100%
  );
  pointer-events: none;
  z-index: 2;
}

.service-de.contact-info-item h4 {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--secondary-green);
  margin-bottom: 5px;
  letter-spacing: 1px;
}

.service-detail-main h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--heading-color);
  margin-bottom: 15px;
  line-height: 1.2;
}

.lead-text {
  font-size: 1rem;
  color: #333;
  margin-bottom: 15px;
  font-weight: 500;
}

.service-detail-wrapper.reverse .service-detail-media {
  order: 2;
}
.service-detail-wrapper.reverse .service-detail-main {
  order: 1;
}

@media (max-width: 992px) {
  .service-detail-wrapper.reverse .service-detail-media {
    order: -1;
  }
}

/* MEP Specific Title Size */
.mep-title {
  font-size: 2rem !important;
}

.service-detail-main .scroll-container {
  /* Removed height and overflow as requested */
  padding-right: 0;
}

/* Custom Scrollbar Styles */
.scroll-container::-webkit-scrollbar {
  width: 6px;
}

.scroll-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.scroll-container::-webkit-scrollbar-thumb {
  border-radius: 10px;
}

/* Theme Colors */
.theme-blue .scroll-container {
  scrollbar-color: var(--primary-blue) #f1f1f1;
}
.theme-blue .scroll-container::-webkit-scrollbar-thumb {
  background: var(--primary-blue);
}
.theme-blue .scroll-container::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-green);
}

.theme-green .scroll-container {
  scrollbar-color: var(--secondary-green) #f1f1f1;
}
.theme-green .scroll-container::-webkit-scrollbar-thumb {
  background: var(--secondary-green);
}
.theme-green .scroll-container::-webkit-scrollbar-thumb:hover {
  background: var(--primary-blue);
}

.theme-dark .scroll-container {
  scrollbar-color: #333 #f1f1f1;
}
.theme-dark .scroll-container::-webkit-scrollbar-thumb {
  background: #333;
}
.theme-dark .scroll-container::-webkit-scrollbar-thumb:hover {
  background: var(--primary-blue);
}

.service-detail-main .intro-box {
  margin-bottom: 40px;
}

.service-detail-main .intro-box p {
  font-size: 1rem;
  color: #333;
  font-weight: 500;
  text-align: justify;
}

/* Specific Accents */
.accent-blue {
  padding-left: 15px;
  border-left: 4px solid var(--primary-blue);
}

/* Highlight Features (MEP) */
.service-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.feature-card {
  display: flex;
  align-items: start;
  gap: 15px;
  background: #f8f9fa;
  padding: 25px;
  border-radius: 15px;
  border-bottom: 3px solid #eee;
}

.feature-card .icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.bg-primary {
  background: var(--primary-blue) !important;
}
.bg-secondary {
  background: var(--secondary-green) !important;
}

.feature-card h4 {
  margin: 0 0 5px;
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  color: #666;
  font-size: 0.95rem;
}

/* Category Sections (Soft & Support) */
.category-section {
  margin-bottom: 45px;
}

.category-section:last-child {
  margin-bottom: 20px;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.category-header .icon-wrap {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

/* Category Icon Colors */
.icon-soft {
  background: rgba(37, 120, 48, 0.1);
  color: var(--secondary-green);
}
.icon-support {
  background: rgba(0, 0, 0, 0.05);
  color: #333;
}

.category-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  color: var(--heading-color);
}

.category-body {
  padding-left: 10px;
  border-left: 3px solid #eee;
}

.category-body p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 20px;
}

.category-body ul {
  list-style: none;
  padding: 0;
}

.category-body li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-body li i {
  color: var(--secondary-green);
}

.category-body li span {
  font-weight: 600;
  color: #444;
}

/* Responsive Overrides */
@media (max-width: 1200px) {
  .service-detail-wrapper {
    gap: 40px;
  }
}

@media (max-width: 992px) {
  .service-detail-section {
    padding: 60px 0;
  }

  .service-detail-wrapper {
    grid-template-columns: 1fr !important;
    gap: 50px !important;
  }

  .service-detail-media {
    position: static !important;
    width: 100%;
  }

  .scroll-container {
    height: auto !important;
    overflow: visible !important;
    padding-right: 0 !important;
  }

  .service-detail-media .image-frame img {
    height: 400px !important;
    width: 100%;
  }

  .bullet-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

@media (max-width: 576px) {
  .service-detail-section {
    padding: 40px 0;
  }

  .service-detail-main h2 {
    font-size: 1.75rem !important;
  }

  .service-detail-media .image-frame img {
    height: 300px !important;
  }

  .bullet-item {
    padding: 15px;
    font-size: 0.85rem;
  }
}

/* --- Bullet Grid for Service Details --- */
.bullet-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.bullet-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #f8f9fa;
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid var(--primary-blue);
  font-weight: 700;
  color: var(--heading-color);
  font-size: 0.9rem;
  line-height: 1.4;
  transition: all 0.3s ease;
  word-wrap: break-word; /* Ensure text doesn't push width */
}

.bullet-item:hover {
  background: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transform: translateY(-3px);
}

.bullet-item i {
  color: var(--primary-blue);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* --- Premium Checkmark Bullets --- */
.premium-bullets {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: grid;
  gap: 15px;
}

.premium-bullets li {
  position: relative;
  padding-left: 35px;
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  /* font-weight: 500; */
  display: flex;
  align-items: flex-start;
}

.premium-bullets li::before {
  content: "\f058"; /* FontAwesome Circle Check */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 20px;
  color: var(--primary-blue);
  transition: transform 0.3s ease;
}

.premium-bullets li:hover::before {
  transform: scale(1.2);
}

/* --- Bulletin Scroll Animation --- */
.bullet-scroll-container {
  height: 350px; /* Set a reasonable height for scrolling */
  overflow-y: auto;
  position: relative;
  margin-top: 15px;
  padding: 10px; /* Spacing for scrollbar */
}

/* Custom scrollbar for better aesthetics */
.bullet-scroll-container::-webkit-scrollbar {
  width: 6px;
}

.bullet-scroll-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.bullet-scroll-container::-webkit-scrollbar-thumb {
  background: var(--primary-blue);
  border-radius: 10px;
}

.bullet-scroll-container::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-green);
}

.bullet-track {
  display: flex;
  flex-direction: column;
}

/* Removed animation bullet-scroll-up */

@media (max-width: 992px) {
  .bullet-scroll-container {
    height: 250px; /* Reduced height for smaller screens */
  }
}

@media (max-width: 576px) {
  .bullet-scroll-container {
    height: 200px; /* Matching the 300px image height roughly */
  }
}

.service-intro-text {
  font-size: 1rem;
  color: #333;
  margin-bottom: 15px;
  font-weight: 500;
}

.mep-sub-section {
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 1px solid #eee;
}

.mep-sub-section:last-child {
  border-bottom: none;
}

.mep-sub-section h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--heading-color);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mep-sub-section h3 i {
  color: var(--primary-blue);
  font-size: 1.5rem;
}
.service-management-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.mgmt-card {
  background: var(--white);
  padding: 40px;
  border-radius: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mgmt-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 86, 160, 0.12);
  border-color: var(--primary-blue);
}

.mgmt-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 86, 160, 0.1);
  color: var(--primary-blue);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 25px;
  transition: all 0.4s ease;
}

.mgmt-card:hover .mgmt-icon {
  background: var(--primary-blue);
  color: var(--white);
}

.mgmt-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.mgmt-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.mgmt-card ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  font-size: 1rem;
  color: #555;
  line-height: 1.4;
}

.mgmt-card ul li::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 3px;
  font-size: 12px;
  color: var(--secondary-green);
}

.mgmt-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

/* --- Modern Benefits Aesthetic (Non-Card) --- */
.benefits-section-creative {
  padding: 70px 0;
  position: relative;
  background: url("../img/banner1.jpg") center/cover fixed;
  color: var(--white);
  overflow: hidden;
}

.benefits-section-creative::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 43, 92, 0.9) 0%,
    rgba(16, 107, 71, 0.9) 100%
  );
  z-index: 1;
}

.benefits-section-creative .container {
  position: relative;
  z-index: 2;
}

.benefits-modern-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 30px;
  max-width: 1000px;
  margin: 30px auto 0;
}

.benefit-line-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.benefit-line-item:nth-last-child(-n + 2) {
  border-bottom: none;
}

.benefit-line-item:hover {
  padding-left: 10px;
  background: rgba(255, 255, 255, 0.05);
}

.benefit-line-item:hover::after {
  width: 100%;
}

.benefit-line-item .benefit-number {
  font-size: 1.2rem;
  font-weight: 800;
  opacity: 0.3;
  width: auto;
  flex-shrink: 0;
}

.benefit-line-item i {
  font-size: 1rem;
  color: var(--white);
  width: 20px;
}

.benefit-line-item span {
  font-size: 0.95rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .benefits-modern-list {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

@media (max-width: 768px) {
  .benefit-line-item {
    gap: 15px;
    padding: 20px 10px;
  }
  .benefit-line-item .benefit-number {
    font-size: 1.8rem;
    width: 40px;
  }
  .benefit-line-item span {
    font-size: 1.1rem;
  }
}

@media (max-width: 992px) {
  .service-management-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}
/* --- Contact Page Styles --- */
.contact-hero {
  background:
    linear-gradient(rgba(0, 51, 102, 0.85), rgba(0, 51, 102, 0.85)),
    url("../img/services/contact.jpg");
  background-size: cover;
  background-position: center;
  padding: 120px 0 80px;
  text-align: center;
  color: var(--white);
}

.contact-hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 15px;
}

@media (max-width: 480px) {
  .contact-hero h1 {
    font-size: 2rem;
  }
  .contact-hero {
    padding: 80px 0 60px;
  }
}

.contact-section {
  padding: 100px 0;
  background-color: var(--light-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: flex-start;
}

.contact-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-info-card {
  background: var(--white);
  padding: 22.5px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  gap: 20px;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary-green);
}

.contact-info-icon {
  width: 60px;
  height: 60px;
  background: rgba(16, 107, 71, 0.1);
  color: var(--secondary-green);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.contact-info-content h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--heading-color);
}

.contact-info-content p,
.contact-info-content a {
  color: #666;
  font-size: 1rem;
  margin: 0;
  display: block;
  word-break: break-word;
  overflow-wrap: anywhere;
}

@media (max-width: 480px) {
  .contact-info-card {
    padding: 20px;
    gap: 15px;
  }
  .contact-info-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}

@media (max-width: 375px) {
  .contact-info-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.contact-form-card {
  background: var(--white);
  padding: 50px;
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
}

.contact-form-card h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--heading-color);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--heading-color);
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #0055a07e;
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-blue);
  outline: none;
  background-color: #f8fbff;
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

.map-container {
  width: 100%;
  height: 500px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: 80px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-form-card {
    padding: 30px;
  }
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 576px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.mb-0 {
  margin-bottom: 0 !important;
}
.mb-25 {
  margin-bottom: 25px !important;
}

/* --- Creative 3-Card Grid (Core MEP) --- */
.core-services-section {
  padding: 80px 0;
  background: white;
}

.core-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.creative-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.creative-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-blue);
  transition: height 0.3s ease;
  z-index: -1;
}

.creative-card:hover {
  transform: translateY(-15px);
  border-color: transparent;
  box-shadow: 0 30px 60px rgba(0, 86, 160, 0.15);
  color: var(--white);
}

.creative-card:hover::before {
  height: 100%;
}

.creative-card .icon-box {
  width: 80px;
  height: 80px;
  background: #f8f9fa;
  color: var(--primary-blue);
  border-radius: 50%;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  transition: all 0.5s ease;
  box-shadow: inset 0 0 0 0 var(--primary-blue);
}

.creative-card:hover .icon-box {
  background: var(--white);
  color: var(--primary-blue);
  transform: rotateY(360deg);
}

.creative-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

.creative-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: #666;
  transition: color 0.3s ease;
}

.creative-card:hover h3,
.creative-card:hover p,
.creative-card:hover .premium-bullets li {
  color: var(--white);
}

.creative-card:hover .premium-bullets li::before {
  color: var(--white) !important;
}

/* Card Specific Colors */
.card-mech::before {
  background: var(--primary-blue);
}
.card-elec::before {
  background: var(--secondary-green);
}
.card-plum::before {
  background: var(--primary-blue);
}

@media (max-width: 992px) {
  .core-services-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* --- Extra Mobile Fixes (for 375px and below) --- */
html,
body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px; /* Reduced padding on very small screens */
  }

  .contact-section {
    padding: 60px 0;
  }

  .contact-form-card {
    padding: 25px 20px;
    border-radius: 20px;
  }

  .map-container {
    height: 350px;
    margin-top: 50px;
    border-radius: 15px;
  }
}

@media (max-width: 375px) {
  .contact-hero h1 {
    font-size: 1.85rem;
  }

  .contact-info-card {
    padding: 15px;
  }

  .contact-info-icon {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }

  .contact-form-card h2 {
    font-size: 1.5rem;
  }
}

/* Prevent any element from causing overflow */
* {
  max-width: 100%;
}

.nav-logo img {
  max-width: 180px; /* Ensure logo doesn't push width */
}

/* --- Inner Page Common Styles --- */
.inner-page-banner {
  padding: clamp(80px, 12vw, 150px) 0 80px;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.inner-page-banner h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.inner-page-banner .breadcrumb {
  display: flex;
  justify-content: center;
  gap: 15px;
  list-style: none;
  font-size: 1.1rem;
  font-weight: 500;
}

.inner-page-banner .breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 15px;
  color: rgba(255, 255, 255, 0.5);
}

.inner-page-banner .breadcrumb a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.inner-page-banner .breadcrumb a:hover {
  color: var(--secondary-green);
}

/* --- About Main Layout (Mirroring Image) --- */
.about-main-layout {
  padding: clamp(60px, 8vw, 100px) 0;
  overflow: hidden;
}

.about-top-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: stretch;
  /* changed from center */
  margin-bottom: 80px;
}

.about-top-img-box {
  height: 100%;
}

.main-about-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: #333;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.main-about-subtitle {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--secondary-green); /* Green color as per image */
  line-height: 1.4;
  margin-bottom: 30px;
}

.main-about-desc {
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  color: #777;
  line-height: 1.8;
  max-width: 900px;
}

.founders-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.founders-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* prevents distortion */
  display: block;
}

.exp-badge-red {
  position: absolute;
  bottom: 5%;
  right: -20px;
  background: #e31e24; /* Red color as per image */
  color: #fff;
  padding: 20px 30px;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  z-index: 5;
  min-width: 200px;
}

.badge-num {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.1;
}

.badge-text {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
}

/* --- Bottom Flex Layouttttt --- */
.about-bottom-flex {
  display: flex;
  gap: clamp(30px, 5vw, 60px);
  align-items: flex-start;
  flex-wrap: wrap;
}

.team-photo-side {
  flex: 1.2;
  min-width: min(100%, 500px);
}

.team-photo-side img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.stats-map-side {
  flex: 1;
  min-width: min(100%, 400px);
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.stats-list-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.image-stat-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.stat-icn {
  font-size: 1.5rem;
  color: #333;
  width: 30px;
  text-align: center;
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 500;
  color: #555;
  letter-spacing: 0.2px;
}

/* Map area */
.india-map-wrap {
  width: 100%;
  max-width: 260px;
  /* align-self: flex-end; */
}

.india-map-placeholder {
  width: 100%;
  height: auto;
}

.india-map-img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 991px) {
  .about-top-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .main-about-desc {
    margin: 0 auto 30px;
  }
  .exp-badge-red {
    right: 0;
    bottom: 0;
  }
  .about-bottom-flex {
    flex-direction: column;
  }
  .stats-map-side {
    align-items: center;
    text-align: center;
  }
  .india-map-wrap {
    align-self: center;
  }
}


/*header new 10.03*/
.top-bar-info a{
    color: white !important;
    text-decoration: none;
}

/*social media */
/* Space between office hours and social icons */
.contact-social{
    margin-top:20px;
}

/* Social icon circle style */
.contact-social a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:40px;
    height:40px;
    margin-right:10px;
    background:#2c8f7b;
    color:#fff;
    border-radius:50%;
    font-size:16px;
    transition:0.3s;
}

/* Hover effect */
.contact-social a:hover{
    background:#1d6e5e;
    transform:translateY(-3px);
}
