:root {
  --gray-primary: #0d0d0d;
  --brand-red: #ff2b2b;
  --dark-red: #c41323;
  --btn-gradient: linear-gradient(to top, #ff1d4e 0%, #ff2b2b 50%);
  --text-gradient: linear-gradient(to top, #ff1d4e 0%, #ff2b2b 50%);
  --menu-hover: linear-gradient(
    to right,
    #ff1d4e 0%,
    #ff2b2b 30%,
    rgba(13, 13, 13, 0) 100%
  );
  --peach: #f9ece2;
  --footer-border-width: 2px;
  --shadow-elevation-1: 0px 2px 4px #0000000d, 0px 7px 7px #0000000a,
    0px 16px 10px #00000008, 0px 29px 12px #00000003, 0px 46px 13px transparent;

  --shadow-elevation-2: 0px 2px 5px #0000000d, 0px 9px 9px #0000000a,
    0px 21px 13px #00000008, 0px 38px 15px #00000003;

  --shadow-elevation-3: 0px 5px 10px #0000000d, 0px 19px 19px #0000000a,
    0px 42px 25px #00000008, 0px 75px 30px #00000003;

  --shadow-elevation-4: 0px 18px 39px #0000000d, 0px 71px 71px #0000000a,
    0px 160px 96px #00000008, 0px 285px 114px #00000003;
  /* --project-title-font-family: "Geist", Helvetica;
  --project-location-font-family: "Geist", Helvetica;
  --project-service-font-family: "Geist", Helvetica;
  --project-SQFT-font-family: "Geist", Helvetica; */
  --project-title-font-weight: 500;
  --project-title-font-size: 32px;
  --project-title-letter-spacing: -0.64px;
  --project-title-line-height: 76.99999809265137%;
  --project-title-font-style: normal;
  --project-location-font-weight: 300;
  --project-location-font-size: 20px;
  --project-location-letter-spacing: -0.48px;
  --project-location-line-height: 76.99999809265137%;
  --project-location-font-style: normal;
  --project-service-font-weight: 500;
  --project-service-font-size: 24px;
  --project-service-letter-spacing: -0.48px;
  --project-service-line-height: 76.99999809265137%;
  --project-service-font-style: normal;
  --project-SQFT-font-weight: 400;
  --project-SQFT-font-size: 24px;
  --project-SQFT-letter-spacing: -0.48px;
  --project-SQFT-line-height: 76.99999809265137%;
  --project-SQFT-font-style: normal;
}
/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  cursor: pointer;
}
.link-style-reset {
  color: white;
  padding: 0;
  margin: 0;
}

html,
body {
  /* width: 100%; */
  max-width: 100vw; /* Prevent content wider than viewport */
  /* overflow-y: hidden; */
}
body {
  font-family: "Geist", sans-serif;
  line-height: 1.6;
  color: #111;
  height: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}
.disabled {
  pointer-events: none;
  opacity: 30%;
}
/* TEXT STYLES */
.hero-text {
  font-size: 56px;
  line-height: 110%;
  font-weight: 400 !important;
  letter-spacing: -2.16px;
  color: #fff;
}
.hero-subtext {
  font-size: 24px;
  font-weight: 300 !important;
  line-height: 110%;
  letter-spacing: -0.8px;
  color: #fff;
}
/* --------------------------------------------- */
.hero-container {
  /* height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: url(images/Hero\ Image.png) no-repeat center center; */

  position: relative;
  height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

/* 🎥 Actual video */
.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 🌑 Overlay only on video */
.hero-video-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* or your gradient */
  z-index: 1;
}

.hero-elements {
  height: 100%;
  padding: 0 80px;
  /* padding-top: 72px; */
  display: flex;
  flex-direction: column;
}

/* ===== HERO TEXT AREA ===== */
.hero-textbox-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: left;
  height: 100%;
}

.hero-text-box {
  display: flex;
  flex-direction: column;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 16px;
  padding: 24px;
  gap: 56px;
  height: fit-content;
  width: 50%;
}

.hero-text-box > .text-group {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ===== HERO MATRIX AREA ===== */
.hero-matrix {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 0 80px;
  height: 220px;
  display: flex;
}

.stat-box {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}
.stat-individual {
  display: flex;
  flex-direction: column;
  height: fit-content;
  gap: 4px;
  width: 254px;
}
.stat-individual > h2 {
  font-size: 56px;
  line-height: 140%;
  color: #fff;
  text-align: right;
  letter-spacing: -1.12px;
  font-weight: 600;
}
.stat-individual > h4 {
  font-size: 20px;
  line-height: 160%;
  text-align: right;
  letter-spacing: -0.6px;
  color: #fff;
  font-weight: 500;
}
.stat-individual > hr {
  opacity: 40%;
  height: 2px;
  outline: none;
  border: none;
  background-color: #fff;
}

.stat {
  flex: 1;
  text-align: center;
  background: #f9f9f9;
  padding: 16px;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

/* matrix responsieness */

/* ===== Responsive Adjustments (Shrink to fit single row) ===== */

.project-filter-bar {
  display: flex;
  align-items: center;
  gap: 20px;
}

.project-clear-btn {
  background: #333;
  color: #fff;
  border: none;
  padding: 12px 24px;
  cursor: pointer;
}

.project-dropdown {
  position: relative;
}

.project-dropdown-btn {
  background: #d9d9d9;
  border: none;
  padding: 12px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 180px;
}

.project-dropdown-content {
  display: none;
  position: absolute;
  background: #fff;
  border: 1px solid #ccc;
  margin-top: 4px;
  padding: 10px;
  z-index: 10;
  flex-direction: column;
  width: 260px;
}

.project-dropdown-content label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  cursor: pointer;
}

.project-dropdown.open .project-dropdown-content {
  display: flex;
}

/* ===========================
   HERO RESPONSIVE
   =========================== */

/* herosec */

/* Navbar */
.navbar {
  background-color: var(--gray-primary);
  position: sticky;
  top: 0;
  z-index: 999;
  height: 64px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 0 80px;
  transition: height 0.5s ease-in-out; /* CSS easing */
}
.nav-body {
  height: 64px;
  min-height: 64px;
  align-items: center;

  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
}

.nav-menu-section {
  display: flex;
  z-index: 0;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  width: 100%;
  height: 100%;
  align-items: center;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}
.show {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  pointer-events: all;
}
.nav-menu-section > .inner-container {
  display: flex;
  flex-direction: row;
  gap: 24px;
  width: 100%;
  height: fit-content;
}

.inner-div-nav {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.menu-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.title-box {
  width: 100%;
  padding: 12px 0;
  padding-left: 8px;
}

.title-box h3 {
  color: #fff;
  font-size: 32px;
  line-height: 77%;
  font-weight: 400;
  letter-spacing: -0.96px;
}

.menu-list {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.link-box {
  width: 100%;
  padding: 8px 0;
  padding-left: 8px;
  font-size: 20px;
  letter-spacing: -0.72px;
  text-decoration: none;
  color: var(--peach);
  transition: ease 0.3s;
}

.link-box:hover {
  transition: ease 0.3s;
  padding-left: 20px;
  background: var(--menu-hover);
}

.nav-brand {
  display: flex;
  height: fit-content;
  width: fit-content;
  align-items: center;
  justify-content: center;
}
.nav-link-btn {
  display: flex;
  height: fit-content;
  width: fit-content;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Mobile Responsive Styles */
/* ==== MOBILE NAVBAR ==== */
.mobile-navbar {
  display: none;
  background-color: var(--gray-primary);
  color: white;
  padding: 16px 20px;
  position: sticky;
  top: 0;
  z-index: 9999;
  flex-direction: column;
  min-height: 70px;
  justify-content: center;
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box; /* Important: include padding in width calculation */
}

/* When menu is active, make it fixed and full-screen */
.mobile-navbar.menu-active {
  position: fixed;
  width: 100%;
  height: 100vh;
  background: var(--gray-primary);
  padding: 16px 20px;
  box-sizing: border-box;
  overflow-x: hidden; /* ✅ Prevent horizontal scroll */
  left: 0;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  z-index: 10000;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

/* Transform hamburger to close icon when active */
.mobile-menu-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  z-index: 10001;
  transition: transform 0.3s ease;
  flex-shrink: 0; /* Prevent the button from shrinking */
}

/* Hamburger to X animation - Fixed positioning */
.mobile-menu-toggle.active svg rect:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active svg rect:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active svg rect:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu-toggle svg {
  width: 32px;
  height: 32px;
}

.mobile-menu-toggle svg rect {
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-brand {
  flex-shrink: 0; /* Prevent logo from shrinking */
}

.mobile-brand img {
  height: 28px;
  width: auto;
  display: block;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  width: 100%;
  background-color: var(--gray-primary);
  overflow-y: auto;
  padding: 0;
  position: relative;
  z-index: 9998;
  box-sizing: border-box;
}

.mobile-menu.active {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: calc(100vh - 70px);
  margin-top: 10px;
  overflow-y: auto;
  overflow-x: hidden; /* ✅ Avoid horizontal overflow */
  box-sizing: border-box;
}

/* Mobile dropdown fixes */
.mobile-dropdown {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  width: 100%;
  box-sizing: border-box;
}

.mobile-dropdown:first-child {
  border-top: none;
}

.dropdown-btn {
  background: none;
  border: none;
  color: white;
  text-align: left;
  font-size: 18px;
  font-weight: 500;
  width: 100%;
  padding: 16px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.dropdown-btn:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.dropdown-btn.active {
  background-color: var(--gray-primary);
}

.arrow {
  transition: transform 0.3s ease;
  font-size: 16px;
  margin-left: 10px;
  flex-shrink: 0; /* Prevent arrow from affecting layout */
}

.dropdown-btn.active .arrow {
  transform: rotate(180deg);
}

.dropdown-content {
  display: none;
  flex-direction: column;
  background-color: var(--gray-primary);
  border-radius: 4px;
  margin-bottom: 8px;
  max-height: 0;
  overflow-x: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.dropdown-content.show {
  display: flex;
  max-height: 500px;
  padding: 10px 0;
}

.dropdown-content a {
  text-decoration: none;
  color: var(--peach);
  font-size: 16px;
  padding: 12px 16px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  width: 100%;
  box-sizing: border-box;
}

.dropdown-content a:hover {
  background-color: var(--menu-hover);
  border-left: 3px solid var(--peach);
  padding-left: 20px;
}

/* Navbar */
.container {
  height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0;
  margin: 0;
}

/* Hero Section */
.hero {
  background: url("images/Hero Image.png") no-repeat center center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100vh; /* ensures full viewport height */
  margin: 0;
  left: 0;
  right: 0;
}

.hero-overlay {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 60px 40px 60px 100px;
}

.hero-content {
  max-width: 670px;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 16px;
  padding: 30px;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

.hero-content p {
  font-size: 1rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}
.services-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.services-content-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.services-content-text > h2 {
  font-size: 56px;
  line-height: 100% !important;
  letter-spacing: -1.68px;
  font-weight: 600;
}

.services-content-text > p {
  font-size: 32px;
  font-weight: 400;
  line-height: 110% !important;
  letter-spacing: -0.96px;
}

.section-header {
  display: flex;
  /* padding-top: 14px !important; */
  align-items: center;
  /* height: 120px; */
  padding: 24px 80px;
  /* background-color: red; */
}

.section-header > h2 {
  font-size: 40px;
  line-height: 77% !important;
  letter-spacing: -1.44px;
  font-weight: 500;
}

.btn {
  /* background: #ff2b2b; */
  background: var(--btn-gradient);

  color: #fff;
  text-decoration: none;
  padding: 18px 40px;
  border-radius: 12px;
  font-weight: 500;
  font-size: 20px;
  line-height: 77%;
  letter-spacing: -0.6px;
  /* transition: background 0.3s ease; */
  width: fit-content;
  transition-duration: 300ms;
}
.btn:hover {
  /* filter: brightness(0.9);  */
  transform: scale(1.02);
  transition-duration: 300ms;
}

/* Stats under hero */
.hero-stats {
  background: rgba(0, 0, 0, 0.6);
  flex-direction: column;
  display: flex;
  justify-content: space-around;
  gap: 60px;
  flex-wrap: wrap;
  margin-top: 40px;
  width: 100%;
  padding: 30px;
  align-items: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.stat {
  color: #fff;
  text-align: center;
  flex: 1;
  max-width: 230px;
  padding: 15px;
}
.stat p {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat span {
  font-size: 2.5rem;
  font-weight: bold;
  display: block;
  background: white;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat hr {
  width: 200px;
  height: 1px;
  background: white;
  border: none;
  margin: 10px auto;
}

/* Featured elements section */

.nextsection {
  width: 100%;
  height: 100vh;
  padding-top: 64px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.innersection {
  display: flex;
  height: 100%;
  width: 100vw;
  gap: 24px;
  align-items: top;
}

.childrenofinnner {
  width: 400px;
  height: 500px !important;
  background-color: yellow;
  border-radius: 16px;
  height: 100vh;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 4rem;
}
.innerwarap {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin: 0 80px;
}
.missiongroup {
  height: 100vh;
  width: 100vw;
  padding-top: 64px !important;
}
.missiongroup.onMobile {
  display: none;
}
.sectionwrap {
  height: 100%;
  width: 100%;
}
.sectiongroup {
  display: flex;
  flex-direction: row;
  height: 100%;
  gap: 0;
}
.box1 {
  width: 100vw;
  height: 100%;
  flex-shrink: 0;
}

.missions-section {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 100px;
  padding: 0 100px;
  background: #ffffff;
  color: #000000;
  height: 100%;
}

.stats-group {
  position: absolute;
  flex-direction: column;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 60px;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.stats-pair {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
}

.stats-group.active {
  opacity: 1;
  position: relative;
}

/* Services Section */
.services {
  background: #f8f8f8;
  padding: 100px 20px 60px 100px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 100vh;
}

.services-content {
  max-width: 900px;
  text-align: left;
}

.services-content h2 {

  font-size: 3rem;
  font-weight: 600;
  line-height: 1.2;
  width: 130%;
  white-space: normal;
  text-wrap: auto;
}

.services-content p {
  font-size: 1.7rem;
  margin-bottom: 1.5rem;
  color: #333;
  max-width: 600px;
  line-height: 2.5;
  text-wrap: nowrap;
}

/* Container for featured projects */
.featured-projects {
  padding: 0 80px;
  padding-top: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
  width: 100%;
  display: flex;
  /* margin: 0 80px; */
  height: 100vh;
}

/* Carousel container */
.featured-carousel-container {
  overflow-x: auto; /* allows horizontal scroll if cards overflow */
  margin-left: 0px; /* cancel parent left margin */
  margin-right: -100px;
}

/* Carousel row */
.featured-projects-carousel {
  display: flex;
  gap: 30px; /* space between cards */
  flex-wrap: nowrap; /* keep cards in one row */
  padding-bottom: 20px;
  padding-top: 20px;
}

/* Project card (unique for this carousel) */
.featured-project-card-new {
  background-color: rgb(255, 255, 255);
  box-shadow: var(--shadow-elevation-1);
  transition-duration: 300ms;
  border-radius: 16px;
  min-width: 425px;
  height: 540px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;

  /* display: block; */
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.featured-project-card-new:hover {
  transition-duration: 300ms;
  box-shadow: var(--shadow-elevation-3);
  transform: scale(1.01);
}

.featured-project-card-new:hover .hovercontainer {
  opacity: 1;
  visibility: visible;
}
.contain {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
}
.viewmore-text {
  width: fit-content;
  font-weight: 500;
  color: #1f1f1f;
  font-size: 24px;
  letter-spacing: -0.64px;
  line-height: 24.6px;
  text-transform: uppercase;
  white-space: nowrap;
}

.hovercontainer {
  position: absolute;
  top: 0;
  right: 0;
  visibility: 0;
  opacity: 0;
  background-color: red;
  display: flex;
  padding: 24px;
  height: 100%;
  width: 100%;
  transition-duration: 400ms;
  z-index: 2;
  background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 1) 82%,
      rgba(0, 0, 0, 1) 100%
    ),
    radial-gradient(
      50% 50% at 50% 50%,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.38) 49%,
      rgba(0, 0, 0, 0.61) 66%,
      rgba(0, 0, 0, 0.85) 100%
    );
}

.innerhover {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.innerhover > .top-container {
  display: flex;
  height: fit-content;
  color: #fff;
}

.bottom-container > p {
  opacity: 0.8;
  font-weight: 400;
  color: #ffffff;
  font-size: 20px;
  letter-spacing: -0.4px;
  line-height: 24.6px;
}

.image-container {
  height: 100%;
  overflow: hidden;
  display: flex;
}

.featured-project-card-new:hover .image-container > img {
  transform: scale(1.2);
  transition-duration: 300ms;
}

.image-container > img {
  height: 105%;
  width: 100%;
  object-fit: cover;
  transition-duration: 300ms;
}

.text-container {
  display: flex;
  padding: 24px;
}
.text-innercontainer {
  display: flex;
  flex-direction: row;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}
.text-inner-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.project-name {
  font-size: var(--project-title-font-size);
  font-style: var(--project-title-font-style);
  font-weight: var(--project-title-font-weight);
  letter-spacing: var(--project-title-letter-spacing);
  line-height: var(--project-title-line-height);
}
.project-location {
  font-size: var(--project-location-font-size);
  font-style: var(--project-location-font-style);
  font-weight: var(--project-location-font-weight);
  letter-spacing: var(--project-location-letter-spacing);
  line-height: var(--project-location-line-height);
  opacity: 80%;
}

.text-inner-right {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: right;
  justify-content: space-between;
}
.project-service {
  font-size: var(--project-service-font-size);
  font-style: var(--project-service-font-style);
  font-weight: var(--project-service-font-weight);
  letter-spacing: var(--project-service-letter-spacing);
  line-height: var(--project-service-line-height);
  text-align: right;
}
.project-area {
  font-size: var(--project-SQFT-font-size);
  font-style: var(--project-SQFT-font-style);
  font-weight: var(--project-SQFT-font-weight);
  letter-spacing: var(--project-SQFT-letter-spacing);
  line-height: var(--project-SQFT-line-height);
  text-align: right;
}
.featured-project-card {
  min-width: 425px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background: #fff;
  display: flex;
  flex-direction: column;
}

/* Image */
.featured-project-card .project-image img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* Info row */
.featured-project-card .project-info {
  display: flex;
  justify-content: space-between;
  padding: 15px 20px;
  background: #ffffff;
  align-items: center;
}

/* Left column */
.featured-project-card .info-left {
  display: flex;
  flex-direction: column;
}

/* Right column */
.featured-project-card .info-right {
  display: flex;
  flex-direction: column;
  text-align: right;
}

/* Typography */
.featured-project-card .client-name {
  font-size: 1.7rem;
  font-weight: 500;
}

.featured-project-card .location,
.featured-project-card .service-type,
.featured-project-card .project-size {
  font-size: 1.3rem;
  color: #555;
  margin: 2px 0;
}

.featured-project-card .project-size {
  margin-bottom: 0px;
  margin-top: 8px;
}

/* Optional: hide scrollbar */
.featured-carousel-container::-webkit-scrollbar {
  display: none;
}
.featured-carousel-container {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

/* Responsive - Just Make Everything Smaller - Fixed */

footer {
  background-color: var(--gray-primary);
  border-top: #fff solid var(--footer-border-width);
  color: #fff;
  height: 556px;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 100px;
}

.topper-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  height: 100%;
}

.topper-section > .Topper-containers {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  border: #fff solid var(--footer-border-width);
  padding: 24px 24px;
  border-left: none;
  border-top: none;
}
.footer-section-header {
  font-size: 14px;
  text-transform: uppercase;
  line-height: 120%;
  font-weight: 500;
}
.footer-link-group {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 8px;
}
.footer-link-group > a {
  font-size: 12px;
  line-height: 140%;
  opacity: 70%;
  font-weight: 300;
  text-decoration: none;
  color: #fff;
  letter-spacing: -0.28px;
}
.footer-link-group > a:hover {
  opacity: 100%;
}

.topper-section > .Topper-containers:nth-child(even) {
  border: #fff solid var(--footer-border-width);
  border-left: none;
  border-top: none;
}

.topper-section > .Topper-containers:first-child {
  border-left: none;
}

.bottom-section {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr 3fr;
  flex-direction: row;
}

.bottom-section > .left {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 40px;
  padding: 24px 24px;
  align-items: center;
  justify-content: center;
  border: #fff solid var(--footer-border-width);
  border-top: none;
  border-bottom: none;
  border-left: none;
}
.bottom-section > .right {
  border: #fff solid var(--footer-border-width);
  border-top: none;
  border-bottom: none;
  border-left: none;
  border-right: none;
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: 24px 24px;

  width: 100%;
}

.Topper-containers-last {
  flex: 1;
  gap: 0;
  display: flex;
  height: 100%;
  flex-direction: column;
  border-bottom: #fff solid var(--footer-border-width);
  border-left: none;
  border-top: none;
}
.last-inner-containers {
  display: flex;
  padding: 24px 24px;
  flex-direction: column;
  gap: 14px;

  height: 100%;
}
.last-inner-containers:last-child {
  border-top: #ffffff solid var(--footer-border-width);
  height: fit-content;
}

.copyrights {
  font-size: 12px;
  font-weight: 300;
  line-height: 120%;
  text-align: right;
  opacity: 56%;
}
.location-group {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 16px;
}
.location-group > a {
  font-size: 12px;
  line-height: 140%;
  opacity: 70%;
  font-weight: 300;
  text-decoration: none;
  color: #fff;
  letter-spacing: -0.28px;
  opacity: 60%;
}
.location-group > a:hover {
  opacity: 100%;
}
.location-group > p {
  color: white;
  text-decoration: none;
  font-size: 12px;
  opacity: 60%;
  font-weight: 300;
  line-height: 120%;
}
.trusted-brands-container {
  /* padding: 80px 0; */
  padding-top: 64px;
  background: var(--gray-primary);
  z-index: 1;
  overflow: hidden;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 120px;
}

.trusted-brands-heading {
  text-align: center;
  font-size: 40px;
  font-weight: 400;
  color: #ffffff;
  line-height: 110% !important;
  letter-spacing: -1.2px;
}

.cta-section {
  height: 500px;
  background-color: var(--gray-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.cta-section > .cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.cta-container > .textgroup {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  gap: 24px;
}
.textgroup > h3 {
  font-size: 48px;
  line-height: 125%;
  font-weight: 500;
  letter-spacing: -1.44px;
  text-align: center;
}
.textgroup > p {
  opacity: 70%;
}

.gradient-color {
  background: var(--text-gradient); /* your gradient */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  /* for non-webkit browsers (optional, may need fallback) */
  background-clip: text;
  color: transparent;
}
/* Slider css test */

.slider-container {
  width: 100%;
}

.slider {
  width: 100%;
  position: relative;
}

.slides {
  display: flex;
  width: 200%;
}

.slide {
  flex-basis: 50%;
  display: flex;
  align-items: center;
  gap: 80px;
  margin-bottom: 40px;
}

.slide img {
  display: block;
  height: 30px;
  width: auto;
  transition: transform 0.3s;

  opacity: 0.7;
  cursor: pointer;
}

.slide img:hover {
  transform: scale(1.14);
  opacity: 1;
}

/* Slider css test */

.marquee-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.brands-marquee-outer {
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
  width: 100%;
  display: block;
  clear: both;
}

.brands-marquee-left,
.brands-marquee-right {
  display: flex;
  width: max-content;
}

.brands-marquee-left {
  animation: brandScrollLeft 40s linear infinite;
}

.brands-marquee-right {
  animation: brandScrollRight 35s linear infinite;
}

.brand-logo-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 40px;
  font-weight: 600;
  color: #444242;
  font-size: 1.2rem;
  padding: 0 30px;
  transform: scale(0.7);
  display: flex;
}

.brand-logo-item img {
  height: 32px;
}

@keyframes brandScrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes brandScrollRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Pause on hover */
.brands-marquee-outer:hover .brands-marquee-left,
.brands-marquee-outer:hover .brands-marquee-right {
  animation-play-state: paused;
}

/* Ensure no interference with other sections */
.trusted-brands-container * {
  box-sizing: border-box;
}

.testimonial-section {
  background: var(--gray-primary);
  z-index: 1;
  overflow: hidden;
  height: 77vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
}

.testimonial-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.testimonial-content {
  display: flex;
  flex-direction: column;
  flex: 10;
  gap: 80px;
}

.testimonial-carousel {
  width: 90%;
  max-width: 1000px;
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
  min-width: 100%;
  display: flex;
  justify-content: flex-start; /* align items to start horizontally */
  align-items: flex-start; /* align items to top vertically */
  padding: 0px 80px 40px;
  gap: 50px; /* space between text and quote icon */
  position: relative;
}

/* Testimonial text */
.testimonial-text {
  font-size: 46px;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.02rem;
  color: #fff;
  max-width: 100%;
}

/* Company logo under text */
.testimonial-company {
  display: flex;
  align-items: center;
  gap: 10px;
}
.testimonial-company img {
  height: 40px;
}

/* Quote icon on the right side */
.testimonial-quote-icon {
  display: flex;
  height: 100%;
  flex: 2;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
}

.testimonial-quote-icon svg {
  width: 100%;
  height: 100%;
  fill: #ff0048;
}

/* Indicators */
.testimonial-indicators {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

.testimonial-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-indicator.active {
  background: #fff;
  transform: scale(1.2);
}

/* Responsive - Testimonial - Stack in Columns */

.news-section {
  padding: 80px 0px 100px 80px; /* Remove horizontal padding */
  background: #fff;
  width: 100%;
  height: 450;
  overflow: hidden; /* Prevent horizontal scroll on section */
}

.news-carousel-container {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
}

.news-carousel {
  display: flex;
  gap: 30px;
  justify-content: flex-start;
  padding: 20px 80px; /* Add left padding to push cards to the right */
  margin-left: -80px; /* Compensate for the padding to push cards off-screen */
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.news-carousel::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

.news-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-elevation-1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 540px;
  width: 425px;
  transition-duration: 300ms;
  max-width: 425px;
  flex-shrink: 0;
}
.news-card:hover {
  transition-duration: 300ms;
  box-shadow: var(--shadow-elevation-3);
  transform: scale(1.01);
}
.news-image {
  width: 100%;
  max-width: 425px;
  height: 329px;
  overflow: hidden;
}

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

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

.news-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  height: fit-content;
}

.news-date {
  font-size: 0.9rem;
  color: #6a6767;
  font-weight: 400;
  display: flex;
  align-items: center;
}

.title-and-body-in-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 8px;
  padding-bottom: 4px;
}

.news-title {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 5px;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

.news-excerpt {
  color: #555;
  line-height: 1.1;
  margin-bottom: 5px;
  flex-grow: 1;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.news-company {
  font-weight: 600;
  color: #000000;
}

.read-more {
  color: #ff2b2b;
  font-weight: 400;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.read-more i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

/* Responsive - News Section - Just Make Everything Smaller */

/* about section */

.about-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(100vh - 64px);
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("images/banner/updated/About\ Us.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  color: #fff;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.about-content {
  max-width: 100%;
  padding: 20px;
}

.about-content h2 {
  text-wrap: nowrap;
  font-size: 3.8rem;
  font-weight: 300;
  margin-bottom: 10px;
  line-height: 110%;
  letter-spacing: -0.03em;
}

.about-content p {
  font-size: 1.6rem;
  font-weight: 300;
  opacity: 0.9;
  margin: 0;
  line-height: 110%;
  letter-spacing: -0.03em;
}

.csr-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(100vh - 64px);
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("images/banner/updated/CSR-2.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  color: #fff;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.csr-content {
  max-width: 100%;
  padding: 20px;
}

.csr-content h2 {
  text-wrap: nowrap;
  font-size: 3.8rem;
  font-weight: 300;
  margin-bottom: 10px;
  line-height: 110%;
  letter-spacing: -0.03em;
}

.csr-content p {
  font-size: 1.6rem;
  font-weight: 300;
  opacity: 0.9;
  margin: 0;
  line-height: 110%;
  letter-spacing: -0.03em;
}

/* ===== Responsive Adjustments for CSR Banner ===== */

.ceo-message {
  height: 100vh;
  padding: 0 80px 0 0;
  display: flex;
}

.goal-of-brand {
  background-color: green;
  height: 100vh;
  padding: 0 80px;
  display: flex;
}

.left-message {
  height: 100%;
  flex: 4;
}
.left-message img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.right-message {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* padding: 0 32px; */
  padding-left: 80px;
  gap: 16px;
  flex: 5;
}

.right-message p {
  font-size: 24px;
  font-weight: 400;
  line-height: 110% !important;
  letter-spacing: -0.96px;
}

.mission-image img {
  width: 444px;
  height: 444px;
  object-fit: cover;
}

.mission-content {
  max-width: 100%;
}

.mission-content h2 {
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.23;
  letter-spacing: 0.23em;
  margin-bottom: 25px;
  color: #000000;
  opacity: 60%;
}

.mission-content p {
  font-size: 2rem;
  line-height: 1.23;
  letter-spacing: -0.04em;
  opacity: 0.9;
  white-space: normal;
  word-wrap: break-word;
}

.about-us-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 100px;
  background: #ffffff;
  height: 100vh;
  gap: 30px;
  flex-direction: column;
}

.about-us-section h1 {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.23;
  letter-spacing: 0.23em;
  color: #000000;
  opacity: 60%;
}

.about-us-section p {
  font-size: 2rem;
  line-height: 1.23;
  letter-spacing: -0.04em;
  font-weight: 400;
  opacity: 0.9;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  width: 83%;
}

/* =======================
   RESPONSIVE STYLING
   ======================= */

.stats-section-about {
  padding: 80px 100px;
  background: #ffffff;
  color: #000000;
  min-height: 30vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stats-container-about {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 150px;
  max-width: 1300px;
}

.stat-item-about {
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stat-label-about {
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.05em;
  color: #000000;
}

.stat-item-about hr {
  width: 200px;
  border: none;
  height: 2px;
  background-color: #000000;
  opacity: 0.4;
  align-self: flex-end;
}

.stat-value-about {
  font-size: 3.5rem;
  font-weight: 500;
  line-height: 1.2;
  color: #000000;
}

.excellence-values-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 100px;
  background: #ffffff;
  color: #000000;
  height: 100vh;
}

.excellence-values-section h1 {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.23;
  letter-spacing: 0.23em;
  color: #000000;
  opacity: 60%;
  margin-bottom: 60px;
}

.excellence-content {
  display: flex;
  flex-wrap: wrap;
  gap: 50px 30px;
  justify-content: center;
}

.excellence-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1 1 calc(33.33% - 30px);
  max-width: 350px;
  box-sizing: border-box;
}

.excellence-content .on-mobile {
  display: none;
}

.excellence-content h2 {
  font-size: 2rem;
  width: 100%;
  margin-bottom: 10px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.excellence-content p {
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  opacity: 70%;
}

/* ===== Responsive Adjustments for Core Values Section ===== */

.timeline-section {
  padding: 80px;
  background: #ffffff;
  height: 100vh;
}

.onmobiletimeline {
  display: none;
}

.timeline-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 100px;
}

.timeline-image img {
  width: 500px;
  object-fit: cover;
}

.timeline-image h1 {
  font-size: 2.8rem;
  font-weight: 500;
  line-height: 1.77; /* 77% of font-size = 0.77? Usually 1.77 means 177% */
  letter-spacing: -0.03em;
  color: #000000;
}

.timeline-line {
  position: relative;
  width: 10px;
  background-color: #ccc;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* .timeline-year {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 10px 20px;
  border: 2px solid #ccc;
  border-radius: 50%;
  font-weight: bold;
} */

.timeline-year {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  width: 115px; /* fixed width */
  height: 115px; /* fixed height */
  border: 3px solid #ccc;
  border-radius: 50%; /* perfect circle */
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 2rem;
}

.timeline-content {
  max-width: 50%;
}

.timeline-date {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 8px;
}

.timeline-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: -3px;
}

.timeline-description {
  font-size: 1.1rem;
  color: #000000;
  line-height: 120%;
  letter-spacing: -1px;
}

.map-section {
  height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px;
  background-color: #eb001b;
  background-image: url("images/map-img.svg");
  background-size: cover;
  background-position: center; /* center the image */
  background-repeat: no-repeat; /* prevent tiling */
}

.map-section h1 {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.23;
  letter-spacing: 0.23em;
  color: #000000;
  opacity: 60%;
}

/* project section */

.project-hero-section {
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(100vh - 64px);
  background: url("images/banner/updated/Projects.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  color: #fff;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.project-content {
  max-width: 100%;
  padding: 20px;
}

.project-content h1 {
  text-wrap: nowrap;
  font-size: 3.8rem;
  font-weight: 300;
  margin-bottom: 10px;
  line-height: 110%;
  letter-spacing: -0.03em;
}

.project-content p {
  font-size: 1.6rem;
  font-weight: 300;
  opacity: 0.9;
  margin: 0;
  line-height: 110%;
  letter-spacing: -0.03em;
}

.new-projects-section {
  /* padding: 0px 80px 20px 80px; */
  background-color: #f9f9f9;
}

.new-projects-header {
  position: sticky;
  top: 60px;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  background-color: #f9f9f9;
  padding: 30px 80px;
}

/* button with SVG */
.filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center; /* centers icon inside */
  width: 40px; /* set equal width & height */
  height: 40px;
  background-color: #e3e3e3;
  color: #fff;
  border: none;
  border-radius: 50%; /* makes it circular */
  cursor: pointer;
  padding: 0; /* remove extra padding */
  font-size: 1rem;
  transition: background-color 0.2s ease, transform 0.12s ease;
}

/* small press effect */
.filter-btn:active {
  transform: translateY(1px);
}

/* SVG inherits the text color via currentColor */
.filter-icon {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
  color: #000000; /* icon color (same as text) */
}

/* optional hover */
.filter-btn:hover {
  background-color: #222;
}

/* if you want an icon-only smaller button variant */
.filter-btn.icon-only {
  padding: 8px;
  width: 40px;
  justify-content: center;
}

.new-projects-title {
  text-align: center;
  font-size: 2.8rem;
  line-height: 0.77;
  letter-spacing: -0.03em;
  font-weight: 500;
}

/* Row with 3 cards */
/* .new-projects-row {
  display: flex;
  justify-content: flex-start;
  gap: 30px;
  flex-wrap: wrap; 
} */

/* Card styling (same as your base card but renamed) */

/* .new-project-card {
  max-width: 425px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background: #fff;
  display: none; 
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
} */

.new-project-image {
  width: 425px;
  height: 374px; /* same as your perfect cards */
  overflow: hidden;
}


/* Hide all cards by default */
/* .new-projects-row .new-project-card {
  display: none;
} * */

/* Show only first 6 cards */
.new-projects-row .new-project-card:nth-child(-n+6) {
  display: flex;
}

.new-project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ensures full coverage without distortion */
  display: block;
}

.new-project-info {
  display: flex;
  justify-content: space-between;
  padding: 15px 20px;
  background: #ffffff;
  align-items: center;
}

.new-info-left h3 {
  margin-bottom: 15px;
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 0.77;
  letter-spacing: -0.02em;
}

.new-info-left p {
  margin: 2px 0 0;
  color: #555;
  line-height: 0.77;
  letter-spacing: -0.02em;
  font-size: 1.2rem;
}

.new-service-type {
  margin: 0;
  text-align: right;
  color: #333;
  letter-spacing: -0.02em;
  font-size: 1.2rem;
  font-weight: 500;
}

.new-project-size {
  margin: 0;
  text-align: right;
  color: #333;
  letter-spacing: -0.02em;
  font-size: 1.2rem;
}

.card-pagination {
  display: flex;
  gap: 4px; /* space between buttons */
  margin-top: 40px; /* spacing from card content */
  justify-content: flex-start; /* left-aligned */
  flex-wrap: wrap; /* optional if you have small screens */
}

.page-btn {
  display: inline-flex; /* make button a flex container */
  align-items: center; /* vertically center content */
  justify-content: center; /* horizontally center if needed */
  gap: 4px; /* space between text and arrow */
  padding: 8px 8px;
  border: 1px solid #ccc;
  border-radius: 3px;
  background-color: #fff;
  cursor: pointer;
  font-size: 0.7rem;
  line-height: 1; /* prevents extra vertical spacing */
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.page-btn svg {
  width: 12px;
  height: 12px;
  display: block;
  stroke: #000;
}

.page-btn:hover {
  background-color: #ff3939;
  color: #fff;
  border-color: #ff3939;
  stroke: #fff; /* icon color changes with text */
}

/* service section */

.sectiongap {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 80px 80px 24px 80px;
}

.service-hero-section {
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(100vh - 64px);

  background: radial-gradient(
      circle at center 50%,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0) 100%
    ),
    url("images/banner/updated/Services.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  color: #fff;
  overflow: hidden;
  margin: 0;
}

.service-content {
  max-width: 100%;
  padding: 20px;
}

.service-content h1 {
  text-wrap: nowrap;
  font-size: 3.8rem;
  font-weight: 300;
  margin-bottom: 10px;
  line-height: 110%;
  letter-spacing: -0.03em;
}

.service-content p {
  font-size: 1.6rem;
  font-weight: 300;
  opacity: 0.9;
  margin: 0;
  line-height: 110%;
  letter-spacing: -0.03em;
}

.service-cards {
  background-color: #ffffff;
}

.service-card-container {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center; /* centers the row */
}

.service-card {
  flex: 1;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card:hover .service-card-content p {
  visibility: visible;
  opacity: 1;
}

.service-card:hover .service-card-content {
  height: 100%;
}

.service-card-image {
  height: 380px; /* increase as needed */
  overflow: hidden; /* ensures image doesn't overflow */
  position: relative;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* maintains aspect ratio and covers container */
}

.service-card-content {
  position: absolute;
  bottom: 0;
  height: 90px; /* fixed height */
  transition: ease-in-out 300ms;
  gap: 16px;
  background-color: white;
  padding: 20px;
  width: 100%;
  /* background-color: #fff; */
  flex-direction: column;
  display: flex;
  justify-content: space-between;

  /* optional, centers horizontally */
}

.service-card-content h3 {
  margin: 0;
  font-size: 1.7rem;
  color: #333;
  line-height: 1.23; /* 123% of font size */
  letter-spacing: -0.02em;
  font-weight: 400;
}
.service-card-content p {
  visibility: hidden;
  opacity: 0;
  font-size: 16px;
  line-height: 120%;
  text-align: justify;
  transition: linear 300ms;
}

/* Container */
.service-card-container-2 {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* Card */
.service-card-2 {
  width: 425px; /* slightly wider than first row */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  position: relative;
}

/* Image */
.service-card-image-2 {
  height: 380px; /* increase as needed */
  overflow: hidden; /* ensures image doesn't overflow */
  position: relative;
}

.service-card-image-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Content */
.service-card-content-2 {
  height: 60px;
  padding: 20px;
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.service-card-content-2 h3 {
  margin: 0;
  font-size: 1.7rem;
  color: #333;
  line-height: 1.23; /* 123% of font size */
  letter-spacing: -0.02em;
  font-weight: 400;
}

/* services single page */

.hvac-hero-section {
  display: flex;
  justify-content: center; /* center container horizontally */
  align-items: center; /* center vertically */
  height: calc(100vh - 64px);

  background: radial-gradient(
      circle at center 50%,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0) 100%
    ),
    url("images/services-single-hero.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  overflow: hidden;
  margin: 0;
  padding: 80px;
}

.hvac-hero-section.virtual {
  background: radial-gradient(
      circle at center 50%,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0) 100%
    ),
    url("images/banner/updated/Virtual\ Project\ Management\ .webp");
  background-size: cover;
  background-position: center;
}

.hvac-hero-section.cleanroom {
  background: radial-gradient(
      circle at center 50%,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0) 100%
    ),
    url("images/banner/updated/Cleanroom.webp");
  background-size: cover;
  background-position: center;
}

.hvac-hero-section.mep {
  background: radial-gradient(
      circle at center 50%,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0) 100%
    ),
    url("images/banner/updated/MEP.webp");
  background-size: cover;
  background-position: center;
}

.hvac-hero-section.hvac {
  background: radial-gradient(
      circle at center 50%,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0) 100%
    ),
    url("images/banner/updated/HVAC\ .webp");
  background-size: cover;
  background-position: center;
}

.hvac-hero-section.fitout {
  background: radial-gradient(
      circle at center 50%,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0) 100%
    ),
    url("images/banner/updated/C&I\ FITOUT.webp");
  background-size: cover;
  background-position: center;
}

.hvac-hero-section.operation {
  background: radial-gradient(
      circle at center 50%,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0) 100%
    ),
    url("images/banner/updated/O&M\ 2.webp");
  background-size: cover;
  background-position: center;
}

.hero-container-comm.data {
  background: radial-gradient(
      circle at center 50%,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0) 100%
    ),
    url("images/banner/updated/Data\ centre\ 3.webp");
  background-size: cover;
  background-position: center;
}

.hero-container-comm.industrial {
  background: radial-gradient(
      circle at center 50%,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0) 100%
    ),
    url("images/banner/Industrial.webp");
  background-size: cover;
  background-position: center;
}

.hero-container-comm.commgcc {
  background: radial-gradient(
      circle at center 50%,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0) 100%
    ),
    url("images/banner/updated/CRE\ &\ GCC.webp");
  background-size: cover;
  background-position: center;
}

.hero-container-comm.education {
  background: radial-gradient(
      circle at center 50%,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0) 100%
    ),
    url("images/banner/updated/Educational\ .webp");
  background-size: cover;
  background-position: center;
}

.hero-container-comm.infra {
  background: radial-gradient(
      circle at center 50%,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0) 100%
    ),
    url("images/banner/updated/Govt\ &\ Infra.webp");
  background-size: cover;
  background-position: center;
}

.hero-container-comm.healthcare {
  background: radial-gradient(
      circle at center 50%,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0) 100%
    ),
    url("images/banner/updated/Healthcare.webp");
  background-size: cover;
  background-position: center;
}

.hero-container-comm.hospitality {
  background: radial-gradient(
      circle at center 50%,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0) 100%
    ),
    url("images/banner/updated/Hospitality\ &\ Luxury\ Retail.webp");
  background-size: cover;
  background-position: center;
}


.base-hero-section {
  display: flex;
  justify-content: center; /* center container horizontally */
  align-items: center; /* center vertically */
  height: calc(100vh - 64px);

  background: radial-gradient(
      circle at center 50%,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0) 100%
    ),
    url("images/banner/updated/Base\ build.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  overflow: hidden;
  margin: 0;
  padding: 80px;
}

/* Container holds left and right sections */
.hvac-hero-container {
  display: flex;
  justify-content: space-between; /* push left/right apart */
  align-items: center;
  width: 100%;
  max-width: 1400px;
}

/* Left content */
.hvac-hero-left {
  padding: 30px;
  background: rgba(0, 0, 0, 0.5); /* semi-transparent black */
  flex: 1;
  text-align: left;
  max-width: 670px;
}

.hvac-hero-left h1 {
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: #fff;
}

.hvac-hero-left p {
  font-size: 1.6rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 90%;
  opacity: 0.8;
  font-weight: 300;
  color: #fff;
}

/* Right content (optional image or component) */
.hvac-hero-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.image-text-section {
  padding: 100px;
  background-color: #ffffff;
  height: 100vh;
}

.image-text-container {
  display: flex;
  align-items: flex-start;
  gap: 110px;
  max-width: 1400px;
  align-items: center; /* vertically centers content */
  margin: 0 auto;
}

.image-section {
  max-width: 425px;
  flex: 1;
}

.image-section img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.text-section {
  flex: 1;
  display: flex; /* ✅ new */
  align-items: center;
}

.text-section p {
  width: 100%;
  text-align: left;
  font-size: 2rem;
  line-height: 1.23;
  letter-spacing: -0.04em;
  color: #000000;
  margin: 0;
  font-weight: 400;
}

.additional-services-section {
  padding: 80px 80px;
  background-color: #ffffff;
}

.additional-services-container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.23;
  letter-spacing: 0.23em;
  color: #000000;
  opacity: 60%;
  margin-bottom: 60px;
}

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

.services-grid .service-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
  width: 50%;
}

.service-item {
  padding: 20px;
  border: 1px solid rgba(0, 0, 0, 0.09);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  justify-content: center;
}

.service-item h3 {
  font-size: 1.6rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 10px 0;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.service-item p {
  text-align: center;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #555;
  margin: 0;
  font-weight: 300;
}

.expert-section {
  padding: 80px 80px 0px 80px;
  background-color: #ffffff;
}

/* .expert-container {
  display: flex;
  gap: 150px;
  max-width: 1200px;
  padding: 20px;
  align-items: flex-start;
} */

.expert-container {
  display: flex;
  flex-wrap: wrap; /* allows responsive adjustment */
  justify-content: space-between; /* distribute evenly */
  align-items: flex-start;
  gap: 60px; /* reduce the big 150px gap */
}

/* Expert Card */
.expert-card {
  width: 330px; /* card width */
  border-radius: 12px;
  overflow: hidden;
  background-color: #fff;
  display: flex;
  flex-direction: column;

  flex: 0 0 300px; /* keeps consistent card width */
}

/* Image */
.expert-image {
  width: 100%;
  height: 330px;
  overflow: hidden;
}

.expert-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* Bottom container: text + LinkedIn */
.expert-info-container {
  display: flex;
  justify-content: space-between;
  align-items: center; /* vertically center text and icon */
  padding: 15px 20px;
}

/* Text content */
.expert-text h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 400;
  color: #333;
}

.expert-text .expert-title {
  margin: 0;
  font-size: 1rem;
  color: #666;
  font-weight: 300;
}

/* LinkedIn icon */
.expert-linkedin img {
  opacity: 0.7;
  width: 24px;
  height: 24px;
}

/* Content next to card */
.expert-content {
  align-self: center;
  justify-content: flex-start;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;

  flex: 1; /* allows content to take the remaining space */
  min-width: 300px; /* prevents it from dropping down */
}

.expert-content h2 {
  font-size: 3.2rem;
  font-weight: 500;
  color: #000000;
  margin: 0 0 30px 0;
  line-height: 0.77;
  letter-spacing: -0.03em;
}

.expert-content p {
  font-size: 1.9rem;
  line-height: 1.23;
  letter-spacing: -0.04em;
  color: #000000;
  margin: 0 0 40px 0;
  font-weight: 400;
}

.specialist-btn {
  padding: 10px 32px;
  border: none;
  border-radius: 6px;
  background-color: #ff2b2b;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
  font-size: 1rem;
  font-weight: 500;
}

.specialist-btn:hover {
  background-color: #e60000;
}

/* comm gcc */

.hero-container-comm {
  height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
    url(images/commgc-hero.svg) no-repeat center center;
  background-size: cover;
}

/* culture page section */

.culture-section-hero {
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(100vh - 64px);
  background: radial-gradient(
      circle at center,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0.4) 20%,
      rgba(0, 0, 0, 0.2) 30%,
      rgba(0, 0, 0, 0) 45%
    ),
    url("images/banner/updated/People\ &\ Culture.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  color: #fff;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.culture-content {
  max-width: 100%;
  padding: 20px;
}

.culture-content h1 {
  text-wrap: nowrap;
  font-size: 3.8rem;
  font-weight: 300;
  margin-bottom: 10px;
  line-height: 110%;
  letter-spacing: -0.03em;
}

.culture-content p {
  font-size: 1.6rem;
  font-weight: 300;
  opacity: 0.9;
  margin: 0;
  line-height: 110%;
  letter-spacing: -0.03em;
}

/* ===== Responsive Adjustments for Culture Hero Section ===== */

.events-section {
  margin-left: 100px;
  background: white;
  padding-bottom: 40px;
  overflow: hidden;
  height: 100vh;
}

.events-section h1 {
  font-size: 40px;
  line-height: 77% !important;
  letter-spacing: -1.44px;
  font-weight: 500;
  margin-bottom: 30px;
}

.events-row {
  display: flex;
  flex-wrap: nowrap;
  height: 100%;
  gap: 16px;
  overflow-x: none;
  scrollbar-width: none; /* Hide scrollbar for Firefox */
}
.wrapperorimage {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0px 0 24px 0;
  gap: 16px;
}

.events-row::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome, Safari and Opera */
}

.event-card {
  position: relative;
  overflow: hidden;
  background-color: white;
  flex: 0 0 auto;
  width: 400px;
  height: 100%;
}
.gallary {
  padding-top: 0px !important;
}
.event-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.event-caption {
  display: none;
  position: absolute;
  bottom: 16px;
  left: 16px;
  width: 100%;
  background: white;
  color: #000000;
  font-weight: 500;
  color: #000000;
  font-size: 20px;
  letter-spacing: -0.6px;
  line-height: 77%;
  padding: 7px 16px;
}

.image-text-header-culture {
  font-size: 40px;
  line-height: 77% !important;
  letter-spacing: -1.44px;
  font-weight: 500;
  margin-bottom: 30px;
}

.image-text-section-culture {
  padding: 50px 100px 100px 100px;
  background-color: #ffffff;
  height: 100vh;
}

.image-text-container-culture {
  display: flex;
  align-items: center;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto;
}

.image-section-culture {
  max-width: 575px;
  flex: 1;
}

.image-section-culture img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.text-section-culture {
  flex: 1;
}

.text-section-culture p {
  width: 100%;
  text-align: left;
  font-size: 2rem;
  line-height: 1.23;
  letter-spacing: -0.04em;
  color: #000000;
  margin: 0;
  font-weight: 400;
}

.employee-section {
  height: 100vh;
  padding: 0px 0px 0px 80px;
  background-color: #ffffff;
  overflow: hidden;
}

.employee-header {
  display: flex;
  padding-top: 14px !important;
  align-items: center;
  height: 120px;
}

.emloyee-header h2 {
  font-size: 40px;
  line-height: 77% !important;
  letter-spacing: -1.44px;
  font-weight: 500;
  margin-bottom: 30px;
}

.employee-cards {
  background-color: #ffffff;
}

.employee-card-container {
  display: flex;
  gap: 20px;
  justify-content: flex-start; /* align cards to left */
  overflow-x: auto; /* enable horizontal scrolling */
  overflow-y: hidden; /* prevent vertical scroll */
  scroll-behavior: smooth; /* optional for smooth scrolling */
  padding-bottom: 30px;
}

/* Optional: hide scrollbar (if you want it cleaner) */
.employee-card-container::-webkit-scrollbar {
  display: none;
}

.employee-card {
  min-width: 325px; /* fixed card width */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.employee-card:hover {
  transform: translateY(-5px);
}

.employee-card-image {
  height: 300px; /* increase as needed */
  overflow: hidden; /* ensures image doesn't overflow */
  position: relative;
}

.employeeemployee-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* maintains aspect ratio and covers container */
}

.employee-card-content {
  height: auto; /* fixed height */
  padding: 20px;
  text-align: left;
  background-color: #fff;
  display: flex;
  align-items: center; /* vertically centers the text */
  justify-content: flex-start; /* optional, centers horizontally */
  flex-direction: column;
}

.employee-card-content h3 {
  margin: 0;
  font-size: 1rem;
  color: #333;
  line-height: 1.23; /* 123% of font size */
  letter-spacing: -0.02em;
  font-weight: 400;
  margin-bottom: 15px;
}

.employee-card-content p {
  margin: 0;
  font-size: 0.7rem;
  color: #333;
  line-height: 1.23; /* 123% of font size */
  letter-spacing: -0.02em;
  font-weight: 400;
}

/* team section */

.team-hero-section {
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(100vh - 64px);
  background: radial-gradient(
      circle at center,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0.4) 20%,
      rgba(0, 0, 0, 0.2) 30%,
      rgba(0, 0, 0, 0) 45%
    ),
    url("images/banner/updated/Our\ Team.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  color: #fff;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.team-hero-header {
  max-width: 100%;
  padding: 20px;
}

.team-hero-header h1 {
  text-wrap: nowrap;
  font-size: 3.8rem;
  font-weight: 300;
  margin-bottom: 10px;
  line-height: 110%;
  letter-spacing: -0.03em;
}

.team-hero-header p {
  font-size: 1.6rem;
  font-weight: 300;
  opacity: 0.9;
  margin: 0;
  line-height: 110%;
  letter-spacing: -0.03em;
}
.leadership-section {
  height: 100vh;
  display: flex;
  padding: 0px 80px;
  align-items: center;
}
.leadership-section .left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 4;
  height: 80vh;
}
.leadership-section .right {
  flex: 8;
  display: flex;
  gap: 24px;
  height: 80vh;
}

.leadership-section .right .innercard {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.leadership-section .right .innercard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leadershiptextgroup {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

h2 {
  font-size: 40px;
  font-weight: 400;
}
.headingsubtext {
  font-weight: 400;
  color: var(--gray-primary);
  font-size: 24px;
  letter-spacing: -0.96px;
  line-height: 110%;
  opacity: 70%;
  padding-right: 20px;
}

.management-team-section {
  height: 100vh;
}

.team-section {
  width: 100%;
  height: 100vh;
  padding: 80px 0px 80px 80px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.section-header h2 {
  font-size: 40px;
  font-weight: 400;
  color: #222;
  /* margin-bottom: 10px; */
}

.section-header p {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.team-cards-container {
  display: flex;
  overflow-x: auto;
  gap: 25px;
  padding-bottom: 30px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.team-section-header {
  display: flex;
  padding-top: 14px !important;
  align-items: center;
  height: 120px;
}

.team-section-header h2 {
  font-size: 2.8rem;
  line-height: 77% !important;
  letter-spacing: -1.44px;
  font-weight: 400;
  margin-bottom: 30px;
}

.team-cards-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* Team Card */
.team-member-card {
  background-color: rgb(255, 255, 255);
  box-shadow: var(--shadow-elevation-1);
  transition-duration: 300ms;
  border-radius: 16px;
  width: 425px;
  height: 540px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transition: all 0.4s ease;
}

.team-member-card:hover {
  transition-duration: 300ms;
  box-shadow: var(--shadow-elevation-3);
  transform: scale(1.01);
}
.team-member-card.management {
  width: 100%;
}

.team-member-card:hover .team-member-info {
  height: 100%;
  width: 100%;
  transition-duration: 300ms;
}

.team-member-card:hover .team-member-image {
  display: none;
  visibility: 0;
}

/* Image */
.team-member-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.team-member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Bottom container: text + LinkedIn */
.team-member-info {
  display: flex;
  justify-content: space-between;
  align-items: top;
  padding: 15px 20px;
  height: fit-content;
  flex-direction: column;
  transition-duration: 300ms;
}

.team-member-card .team-member-info {
  transition: all 0.4s ease;
}

.topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bottomline {
  display: none;
  opacity: 0.8;
  font-weight: 400;
  color: #000000;
  font-size: 20px;
  letter-spacing: -0.4px;
  line-height: 24.6px;
}
.bottomline > p {
  font-size: 16px;
  line-height: 120%;
  text-align: justify;
}
.team-member-card:hover .bottomline {
  display: flex;
}

.team-member-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
/* Text content */
.team-member-text h3 {
  margin: 0;
  font-weight: 400;
  color: #000000;
  font-size: 24px;
  letter-spacing: -0.64px;
  line-height: 77%;
}

.team-member-text .team-member-title {
  margin: 0;
  font-size: 1rem;
  color: #666;
  font-weight: 300;
}

/* LinkedIn icon */
.team-member-linkedin img {
  opacity: 0.7;
  width: 24px;
  height: 24px;
  transition: opacity 0.2s ease;
}

/* ========== RESPONSIVENESS ========== */

/* ==== Internship Section ==== */
.internship-section {
  padding: 48px 0px 60px 80px;
  text-align: center;
  background: #fff;
}

.internship-section h2 {
  padding-left: 20px;
  text-align: start;
  font-size: 40px;
  line-height: 77% !important;
  letter-spacing: -1.44px;
  font-weight: 500;
  margin-bottom: 30px;
}

/* .internship-cards {
  display: flex;
  flex-wrap: nowrap;
  gap: 30px;
  overflow-x: auto; 
  scroll-behavior: smooth; 
  padding-bottom: 60px;
  scrollbar-width: none; 
} */

.internship-cards {
  display: flex;
  flex-wrap: nowrap;
  gap: 30px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  align-items: center;
}

.internship-cards::-webkit-scrollbar {
  display: none; /* hides scrollbar in Chrome/Safari */
}

/* .intern-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 40px 30px 0px 30px;
  min-width: 325px;
  text-align: center;
  transition: transform 0.3s ease;
} */

.intern-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 50px 24px;
  min-width: 325px;
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 400px;
}

/* 
.intern-card:hover {
  transform: translateY(-5px);
} */

.quote {
  height: 50px;
  color: #f8e9e3;
  font-weight: bold;
  line-height: 0.5;
  margin-bottom: 20px;
}

/* .intern-card p {
  font-size: 16px;
  color: #222;
  margin-bottom: 30px;
  line-height: 1.5;
} */

.intern-card p {
  font-size: 15.5px;
  color: #222;
  margin: 15px 0 20px;
  line-height: 1.45;
  flex: none;
}

.intern-info {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.intern-info img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.intern-info h4 {
  font-size: 16px;
  margin: 0;
  font-weight: 600;
  color: #000;
}

.intern-info span {
  font-size: 14px;
  color: #777;
}

.mission-highlight-section {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  background-color: #fff;
  padding: 40px 100px;
  height: 100vh;
}

.mission-highlight-content {
  justify-content: center;
  flex-direction: column;
  display: flex;
  flex: 1;
  padding-right: 60px;
}

.mission-highlight-content h2 {
  margin-bottom: 20px;
  font-size: 3.8rem;
  font-weight: 500;
  color: #000;
  line-height: 1;
  letter-spacing: -0.03em;
}

.mission-highlight-content p {
  font-size: 2rem;
  color: #444;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.mission-highlight-goal {
  flex: 1;
  background-color: #ffbd8c;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.mission-highlight-goal h3 {
  font-size: 2.5rem;
  font-weight: 500;
  color: #000;
  margin-bottom: 10px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.mission-highlight-goal p {
  font-size: 1.1rem;
  color: #111;
  line-height: 1;
  letter-spacing: -0.03em;
}

/* ===== Responsive Adjustments for Mission Highlight Section ===== */

/* Overlay background */
.business-form-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  display: none; /* hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Show popup when active */
.business-form-overlay.active {
  display: flex;
  padding: 100px 200px;
}

/* Form container */
.business-form-container {
  background: #fff;
  border-radius: 15px;
  padding: 50px 60px;
  width: 100%;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  font-family: "Inter", sans-serif;
}

/* Close button */
.close-btn {
  position: absolute;
  top: 20px;
  right: 25px;
  background: none;
  border: none;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  color: #000;
}

/* Heading */
.business-form-container h2 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 30px;
  color: #000;
}

/* Form layout */
.business-form .form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.business-form input,
.business-form select {
  flex: 1;
  padding: 14px 16px;
  border: 1px solid #888;
  border-radius: 4px;
  font-size: 1rem;
  color: #333;
  outline: none;
  transition: border 0.2s;
}

.business-form input:focus,
.business-form select:focus {
  border-color: #000;
}

/* Note */
.required-note {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 20px;
}

/* Submit button */
.submit-btn {
  background: #ff3b3b;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 40px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.submit-btn:hover {
  background: #e23232;
}

.news-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.news-popup-content {
  background: #fff;
  width: 85%;
  max-width: 900px;
  border-radius: 10px;
  padding: 30px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.3s ease;
}

.news-popup-content h2 {
  margin-top: 0;
  font-size: 1.8rem;
}

.popup-date {
  color: #777;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.popup-body {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  flex-wrap: wrap;
}

.popup-body img {
  width: 45%;
  border-radius: 10px;
  object-fit: cover;
}

.popup-text {
  flex: 1;
  font-size: 1.05rem;
  color: #333;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  color: #333;
  cursor: pointer;
}

#popupLink {
  display: inline-block;
  margin-top: 20px;
  color: red;
  font-weight: 500;
  text-decoration: none;
}

#popupLink:hover {
  text-decoration: underline;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hide default file input */
.business-form input[type="file"] {
  display: none;
}

/* Custom upload button style */
.upload-cv-label {
  flex: 1;
  background-color: #f2f2f2;
  border: 1px solid #888;
  border-radius: 4px;
  padding: 14px 16px;
  font-size: 1rem;
  color: #777;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.upload-cv-label:hover {
  border-color: #000;
  background-color: #eaeaea;
  color: #000;
}

/* Optional: when file is selected, text darkens */
.upload-cv-label.selected {
  color: #000;
  font-weight: 500;
}

.new-projects-row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: flex-start;
  padding: 0 80px;
}

.news-projects-row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: flex-start;
  padding: 0 80px;
}

/* Only for mobile devices */
@media (max-width: 992px) {
    .new-projects-mobile {
        padding: 0 20px !important; /* Reduce side spacing for mobile */
        justify-content: center;   /* Center the cards */
        gap: 20px;                 /* Reduce gap */
    }
}


.margin-bottom{
  margin-bottom: 40px;
}

/* .new-project-card {
  width: calc(33.333% - 20px);
  max-width: 425px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background: #fff;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  display: none !important;
  margin-bottom: 0;
}


/* SHOW ALL CARDS BY DEFAULT */
.new-project-card {
  display: flex;
  width: calc(33.333% - 20px);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  background: #fff;
  flex-direction: column;
  margin-bottom: 0;
  min-width: 425px;
    height: 470px;
}

/* HIDE only filtered-out cards */
.new-project-card.hidden {
  display: none !important;
}

/* OPTIONAL: fade animation for showing cards */
.new-project-card {
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.new-project-card:not(.hidden) {
  opacity: 1;
  transform: none;
}




/* keep your existing image + info styles, but fix this width: */
.new-project-image {
  width: 100%;
  height: 374px;
  overflow: hidden;
}
.new-project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===========================
   LARGE SCREENS (1440px and below)
   =========================== */

@media (max-width: 1440px) {
  .about-us-section {
    padding: 70px 80px;
  }

  .about-us-section p {
    font-size: 1.8rem;
    width: 85%;
  }
}

/* ===========================
   LARGE TABLET & SMALL DESKTOP (1024px and below)
   =========================== */

@media (max-width: 1024px) {
  /* About Us Section */
  .about-us-section {
    padding: 60px 60px;
    height: auto;
  }

  .about-us-section h1 {
    font-size: 1.1rem;
  }

  .about-us-section p {
    font-size: 1.5rem;
    line-height: 1.5;
    width: 90%;
  }

  /* Hero Sections */
  .hero-matrix {
    padding: 0 40px;
    height: 180px;
  }

  .stat-box {
    gap: 20px;
  }

  .stat-individual {
    height: 130px;
    width: 200px;
  }

  .stat-individual > h2 {
    font-size: 46px;
  }

  .stat-individual > h4 {
    font-size: 18px;
  }

  .hero-elements {
    padding: 0 40px;
  }

  .hero-text-box {
    width: 60%;
    padding: 20px;
    gap: 40px;
  }

  .hero-text {
    font-size: 48px;
    letter-spacing: -0.96px;
  }

  .hero-subtext {
    font-size: 20px;
  }

  .hero-matrix,
  .hero-stats {
    padding: 0 40px;
    height: auto;
  }

  .stats-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }

  .stat {
    flex: 1 1 calc(25% - 20px);
    text-align: center;
  }

  .stat span {
    font-size: 48px;
  }

  .stat p {
    font-size: 16px;
  }

  /* About Sections */
  .about-banner {
    height: 80vh;
  }

  .about-content h2 {
    font-size: 3.2rem;
  }

  .about-content p {
    font-size: 1.4rem;
  }

  .csr-banner {
    height: 80vh;
    padding: 0 40px;
    background-position: center top;
  }

  .csr-content h2 {
    font-size: 3rem;
  }

  .csr-content p {
    font-size: 1.4rem;
  }

  .culture-section-hero {
    height: 80vh;
    padding: 0 40px;
    background-position: center top;
  }

  .culture-content h1 {
    font-size: 3rem;
  }

  .culture-content p {
    font-size: 1.4rem;
  }

  /* Stats Sections */
  .stats-section-about {
    padding: 60px 80px;
  }

  .stats-container-about {
    gap: 40px;
  }

  .stat-value-about {
    font-size: 3rem;
  }

  /* Excellence Values */
  .excellence-values-section {
    padding: 60px 60px;
    height: auto;
  }

  .excellence-values-section h1 {
    margin-bottom: 50px;
    font-size: 1.1rem;
  }

  .excellence-content {
    gap: 40px 25px;
  }

  .excellence-item {
    flex: 1 1 calc(50% - 25px);
    max-width: 300px;
  }

  .excellence-content h2 {
    font-size: 1.8rem;
  }

  .excellence-content p {
    font-size: 0.95rem;
  }

  /* Project Sections */
  .project-hero-section {
    height: 80vh;
    padding: 0 40px;
    background-position: center;
    background-size: cover;
  }

  .project-content h1 {
    font-size: 2.8rem;
    text-wrap: wrap;
    line-height: 120%;
  }

  .project-content p {
    font-size: 1.4rem;
    line-height: 120%;
  }

  .new-projects-section {
    padding: 40px 40px 20px 40px;
  }

  .new-projects-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    position: static;
    padding: 20px 0;
  }

  .new-projects-title {
    font-size: 2.2rem;
    text-align: left;
  }

  .project-filter-bar {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 16px;
  }

  .project-clear-btn,
  .project-dropdown-btn {
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  .project-dropdown-content {
    width: 220px;
  }

  /* Service Sections */
  .service-hero-section {
    height: 80vh;
    background-position: center;
    background-size: cover;
    padding: 0 40px;
  }

  .service-content {
    padding: 20px 40px;
  }

  .service-content h1 {
    font-size: 2.8rem;
    text-wrap: wrap;
    line-height: 115%;
  }

  .service-content p {
    font-size: 1.4rem;
    line-height: 120%;
  }

  .service-card-container {
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
  }

  .service-card {
    flex: 1 1 calc(50% - 24px);
    max-width: 500px;
  }

  .service-card-image {
    height: 300px;
  }

  .service-card-content {
    height: 64px;
    padding: 16px;
  }

  .service-card-content h3 {
    font-size: 1.6rem;
  }

  .service-card-content p {
    font-size: 15px;
  }

  /* HVAC Sections */
  .hvac-hero-section {
    height: auto;
    padding: 60px 40px;
    background-position: center;
    background-size: cover;
  }

  .hvac-hero-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }

  .hvac-hero-left {
    max-width: 100%;
    padding: 24px;
    background: rgba(0, 0, 0, 0.6);
  }

  .hvac-hero-left h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hvac-hero-left p {
    font-size: 1.3rem;
    line-height: 1.4;
    max-width: 100%;
  }

  .hvac-hero-right {
    display: none;
  }

  /* Image Text Sections */
  .image-text-section {
    padding: 60px 40px;
    height: auto;
  }

  .image-text-container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: 100%;
  }

  .image-section {
    max-width: 100%;
  }

  .image-section img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
  }

  .text-section {
    max-width: 100%;
  }

  .text-section p {
    font-size: 1.6rem;
    line-height: 1.4;
    text-align: center;
  }

  .image-text-section-culture {
    padding: 60px 40px;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .image-text-container-culture {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px !important;
    width: 100%;
    height: 100%;
  }

  .image-section-culture {
    order: 1;
    width: 100%;
    max-width: 600px;
  }

  .image-section-culture img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
  }

  .text-section-culture {
    order: 2;
    width: 100%;
    max-width: 700px;
  }

  .image-text-header-culture {
    font-size: 24px !important;
    line-height: 1.1 !important;
    margin-bottom: 15px;
  }

  .text-section-culture p {
    font-size: 1.2rem;
    line-height: 1.4;
  }

  /* Additional Services */
  .additional-services-section {
    padding: 60px 40px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .service-item {
    padding: 16px;
  }

  .service-item h3 {
    font-size: 1.4rem;
  }

  .service-item p {
    font-size: 0.95rem;
    line-height: 1.3;
  }

  /* Expert Sections */
  .expert-section {
    padding: 60px 40px;
  }

  .expert-container {
    flex-direction: column;
    align-items: center;
    gap: 60px;
  }

  .expert-card {
    width: 100%;
    max-width: 420px;
    flex: none;
  }

  .expert-image {
    height: 300px;
  }

  .expert-info-container {
    padding: 15px;
  }

  .expert-content {
    text-align: center;
    align-items: center;
    max-width: 700px;
  }

  .expert-content h2 {
    font-size: 2.4rem;
    line-height: 1.1;
    margin-bottom: 20px;
  }

  .expert-content p {
    font-size: 1.4rem;
    line-height: 1.4;
    margin-bottom: 30px;
  }

  .specialist-btn {
    font-size: 1rem;
    padding: 10px 28px;
  }

  /* Team Sections */
  .team-hero-header h1 {
    font-size: 3rem;
  }

  .team-hero-header p {
    font-size: 1.3rem;
  }

  .team-section {
    padding: 60px 0px 60px 60px;
    height: auto;
  }

  .team-member-card {
    width: 280px;
    height: 380px;
  }

  .team-section-header h2 {
    font-size: 2.4rem;
  }

  /* Mission Highlight */
  .mission-highlight-section {
    padding: 40px 60px;
    height: auto;
  }

  .mission-highlight-content h2 {
    font-size: 3rem;
  }

  .mission-highlight-content p {
    font-size: 1.6rem;
  }

  .mission-highlight-goal h3 {
    font-size: 2.2rem;
  }

  .mission-highlight-goal p {
    font-size: 1rem;
  }

  /* Commercial Hero */
  .hero-container-comm {
    height: auto;
    min-height: 80vh;
    background-position: center;
    background-size: cover;
    background-attachment: scroll;
    padding: 60px 40px;
  }

  /* Footer & Layout */
  .topper-section {
    grid-template-columns: repeat(2, 1fr);
  }

  .bottom-section {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .bottom-section > .right {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .trusted-brands-heading {
    font-size: 32px;
    text-align: center;
  }

  .textgroup > h3 {
    font-size: 36px;
  }

  .cta-section {
    height: auto;
    padding: 60px 20px;
  }
}

/* ===========================
   TABLET & LARGE PHONE (768px and below)
   =========================== */

@media (max-width: 768px) {
  /* About Us Section */
  .about-us-section {
    padding: 50px 30px;
    height: auto;
    gap: 20px;
  }

  .about-us-section h1 {
    font-size: 1rem;
    letter-spacing: 0.18em;
  }

  .about-us-section p {
    font-size: 1.2rem;
    line-height: 1.6;
    width: 100%;
  }

  /* Events Section */
  .events-section {
    margin-left: 20px;
  }

  .events-section h1 {
    padding: 0 20px;
    font-size: 2.2rem;
    height: 100px;
  }

  .events-row {
    padding: 0 20px;
  }

  .event-card {
    width: 300px;
  }

  /* Hero Sections */
  .hero-matrix {
    padding: 0 20px;
    height: 160px;
  }

  .stat-box {
    justify-content: center;
    gap: 12px;
  }

  .stat-individual {
    width: 150px;
  }

  .stat-individual > h2 {
    font-size: 34px;
  }

  .stat-individual > h4 {
    font-size: 14px;
  }

  .hero-container {
    justify-content: flex-start;
    height: auto;
  }

  .hero-elements {
    padding: 20px 20px 10px 20px;
  }

  .hero-textbox-container {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 24px;
  }

  .hero-text-box {
    width: 100%;
    padding: 16px;
    gap: 32px;
  }

  .hero-text {
    font-size: 36px;
  }

  .hero-subtext {
    font-size: 18px;
    letter-spacing: 0;
  }

  .hero-matrix,
  .hero-stats {
    display: contents;
    padding: 20px;
    height: auto;
  }

  .stats-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat {
    text-align: center;
    padding: 12px;
  }

  .stat span {
    font-size: 32px;
  }

  .stat p {
    font-size: 14px;
  }

  .stat hr {
    width: 40%;
    margin: 6px auto;
    opacity: 0.4;
  }

  .hero-stats {
    gap: 30px;
    padding: 20px;
  }

  .stat {
    min-width: 150px;
  }

  .stat span {
    font-size: 2rem;
  }

  h1 {
    font-size: 2rem;
  }

  /* About Sections */
  .about-banner {
    height: 70vh;
    background-attachment: scroll;
  }

  .about-content {
    padding: 15px;
    max-width: 90%;
  }

  .about-content h2 {
    font-size: 2.5rem;
    text-wrap: wrap;
    line-height: 120%;
    margin-bottom: 15px;
  }

  .about-content p {
    font-size: 1.2rem;
    line-height: 130%;
  }

  .csr-banner {
    height: 70vh;
    padding: 0 25px;
  }

  .csr-content {
    padding: 10px;
  }

  .csr-content h2 {
    font-size: 2.4rem;
    line-height: 120%;
    text-wrap: balance;
  }

  .csr-content p {
    font-size: 1.2rem;
    line-height: 130%;
  }

  .culture-section-hero {
    height: 70vh;
    padding: 0 25px;
  }

  .culture-content {
    padding: 10px;
  }

  .culture-content h1 {
    font-size: 2.4rem;
    line-height: 120%;
    text-wrap: balance;
  }

  .culture-content p {
    font-size: 1.2rem;
    line-height: 130%;
  }

  /* Stats Sections */
  .stats-section-about {
    padding: 40px 30px;
  }

  .stats-container-about {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
  }

  .stat-value-about {
    font-size: 2.8rem;
  }

  /* Excellence Values */
  .excellence-values-section {
    padding: 50px 30px;
    height: auto;
  }

  .excellence-values-section h1 {
    font-size: 1rem;
    margin-bottom: 40px;
  }

  .excellence-content {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .excellence-item {
    flex: 1 1 100%;
    max-width: 90%;
  }

  .excellence-content h2 {
    font-size: 1.6rem;
    margin-bottom: 8px;
  }

  .excellence-content p {
    font-size: 0.9rem;
    line-height: 1.3;
  }

  /* News Section */
  .news-section {
    height: 100vh;
    padding: 60px 0px 80px 60px;
  }

  .news-carousel {
    padding: 20px 60px;
    margin-left: -60px;
    gap: 25px;
  }

  .news-card {
    width: 380px;
    max-width: 380px;
    height: auto;
  }

  .news-image {
    height: 190px;
  }

  .news-content {
    padding: 20px;
  }

  .news-title {
    font-size: 1.3rem;
  }

  .news-excerpt {
    font-size: 0.95rem;
  }

  /* Testimonials */
  .testimonial-section {
    height: 70vh;
  }

  .testimonial-container {
    gap: 30px;
  }

  .testimonial-content {
    gap: 60px;
  }

  .testimonial-slide {
    padding: 60px 60px 30px;
    gap: 40px;
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }

  .testimonial-text {
    font-size: 36px;
    order: 2;
  }

  .testimonial-quote-icon {
    width: 50px;
    height: 50px;
    margin-top: 0px;
    order: 1;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
  }

  .testimonial-quote-icon object {
    height: 60px;
  }

  .testimonial-company {
    order: 3;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .testimonial-indicators {
    gap: 10px;
    margin-top: 25px;
  }

  .testimonial-indicator {
    width: 10px;
    height: 10px;
  }

  /* Team Sections */
  .team-hero-section {
    height: 65vh;
    background-position: top center;
  }

  .team-hero-header h1 {
    font-size: 2.4rem;
  }

  .team-hero-header p {
    font-size: 1.1rem;
  }

  .team-section {
    padding: 50px 0px 50px 30px;
  }

  .team-cards-container {
    gap: 18px;
  }

  .team-member-card {
    width: 240px;
    height: 360px;
  }

  .team-member-text h3 {
    font-size: 1.2rem;
  }

  .team-member-text .team-member-title {
    font-size: 0.9rem;
  }

  .team-member-linkedin img {
    width: 20px;
    height: 20px;
  }

  /* Mission Highlight */
  .mission-highlight-section {
    flex-direction: column;
    padding: 40px 30px;
    height: auto;
  }

  .mission-highlight-content {
    padding-right: 0;
    margin-bottom: 30px;
    text-align: center;
    align-items: center;
  }

  .mission-highlight-content h2 {
    font-size: 2.6rem;
    margin-bottom: 15px;
  }

  .mission-highlight-content p {
    font-size: 1.4rem;
    line-height: 1.3;
  }

  .mission-highlight-goal {
    padding: 30px 20px;
    align-items: center;
    text-align: center;
  }

  .mission-highlight-goal h3 {
    font-size: 2rem;
  }

  .mission-highlight-goal p {
    font-size: 1rem;
  }

  /* Business Form */
  .business-form-container {
    width: 90%;
    padding: 40px 25px;
  }

  .business-form .form-row {
    flex-direction: column;
  }

  /* Footer */
  footer {
    height: auto;
    margin-top: 100px !important; 
  }

  .topper-section {
    grid-template-columns: 1fr;
    border-top: none;
  }

  .topper-section > .Topper-containers {
    border-left: none;
    border-right: none;
    border-bottom: #fff solid var(--footer-border-width);
    text-align: left;
  }

  .Topper-containers-last {
    border-bottom: none;
  }

  .bottom-section {
    grid-template-columns: 1fr;
    align-items: center;
    justify-content: center;
  }

  .bottom-section > .left {
    border-right: none;
    align-items: center;
  }

  .bottom-section > .right {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .copyrights {
    text-align: center;
  }

  .location-group {
    flex-direction: column;
    gap: 8px;
  }

  /* Trusted Brands */
  .trusted-brands-container {
    height: auto;
    padding: 60px 20px;
    gap: 16px;
    margin-top: 100px;
  }

  .trusted-brands-heading {
    font-size: 28px;
  }

  .marquee-container {
    gap: 30px;
  }

  .brand-logo-item {
    min-width: 100px;
    height: 50px;
    font-size: 1rem;
    padding: 0 20px;
  }

  /* Featured Projects */
  .featured-project-card-new {
    min-width: 350px;
    height: 420px;
  }

  .section-header h2 {
    text-align: center;
    font-size: 28px;
    line-height: 110% !important;
  }

  .text-container {
    padding: 20px;
  }

  .innerwarap {
    padding: 20px;
    margin: 0 20px;
  }

  .hovercontainer {
    padding: 20px;
  }

  .bottom-container > p {
    font-size: 18px;
    line-height: 22px;
  }

  .nextsection {
    height: auto;
    min-height: 80vh;
    padding-top: 40px;
  }

  .innersection {
    gap: 20px;
    height: auto;
  }

  .childrenofinnner {
    width: 350px;
    height: 450px !important;
    font-size: 3.5rem;
  }

  /* CTA Section */
  .cta-section {
    padding: 60px 20px;
    height: auto;
    margin-top: 100px;
  }

  .cta-container > .textgroup {
    text-align: center;
  }

  .textgroup > h3 {
    font-size: 32px;
  }

  .textgroup > p {
    font-size: 14px;
  }

  /* Services */
  .services {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 20px;
    height: auto;
    min-height: 50vh;
  }

  .services-content {
    max-width: 100%;
  }

  .services-content h2 {
    width: 100%;
    font-size: 2rem;
    line-height: 1.3;
    white-space: normal;
  }

  .services-content span {
    display: block;
    font-size: 1.4rem;
  }

  .services-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 100%;
    margin-bottom: 2rem;
  }

  .btn {
    align-self: flex-start;
  }

  /* Navbar */
  .navbar {
    display: none;
  }

  .mobile-navbar {
    display: flex;
  }

  body.no-scroll {
    overflow: hidden;
  }

  body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    left: 0;
  }

  .missiongroup {
    height: auto;
    min-height: 100vh;
  }

  .sectiongroup {
    flex-direction: column;
  }

  .box1 {
    height: 50vh;
  }

  .missions-section {
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    padding: 0 40px;
  }

  .mission-image img {
    width: 80px;
    height: 80px;
  }

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

/* ===========================
   MOBILE & SMALL PHONE (480px and below)
   =========================== */

@media (max-width: 480px) {
  /* About Us Section */
  .about-us-section {
    padding: 40px 20px;
  }

  .about-us-section h1 {
    font-size: 0.95rem;
  }

  .mission-content h2 {
    font-size: 0.95rem;
  }

  .about-us-section p {
    font-size: 16px;
    line-height: 1.4;
  }
  .mission-content p {
    font-size: 16px;
    line-height: 1.4;
  }

  /* Events Section */
  .events-section {
    margin-left: 10px;
  }

  .events-section h1 {
    padding: 0 15px;
    font-size: 1.8rem;
    height: 80px;
  }

  .events-row {
    padding: 0 15px;
  }

  .event-caption {
    font-size: 1rem;
    padding: 6px 12px;
  }

  .event-card {
    width: 250px;
  }

  /* Trusted Brands */
  .trusted-brands-container {
    height: 70vh;
    gap: 32px;
    padding: 60px 15px;
  }

  .trusted-brands-heading {
    font-size: 28px;
  }

  .marquee-container {
    transform: scale(0.5);
    gap: 24px;
  }

  .brand-logo-item {
    min-width: 80px;
    height: 40px;
    font-size: 0.9rem;
    padding: 0 15px;
  }

  /* Hero Sections */
  .hero-matrix {
    padding: 0 10px;
    height: 140px;
  }

  .stat-box {
    gap: 0px;
  }

  .stat-individual {
    width: 85px;
    height: 64px;
  }

  .stat-individual > h2 {
    font-size: 12px;
  }

  .stat-individual > h4 {
    font-size: 12px;
  }

  .stat-individual > hr {
    height: 1px;
  }

  .hero-text {
    font-size: 28px;
  }

  .hero-subtext {
    font-size: 14px;
  }

  .hero-text-box {
    padding: 12px;
    gap: 10px;
    border-radius: 8px;
  }

  .hero-stats {
    padding: 12px;
  }

  .stats-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat {
    text-align: center;
  }

  .stat span {
    font-size: 24px;
  }

  .stat p {
    font-size: 12px;
  }

  .stat hr {
    width: 30%;
    margin: 4px auto;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .stat {
    min-width: 100%;
  }

  .services-content-text > p {
    font-size: 32px;
    font-weight: 400;
    width: 100%;
    text-wrap: inherit;
    line-height: 110% !important;
    letter-spacing: -0.96px;
  }

  .hero-text-box > .text-group {
    gap: 10px;
  }

  /* About Sections */
  .csr-banner {
    height: 60vh;
    padding: 0 15px;
    background-position: center;
  }

  .csr-content h2 {
    font-size: 1.8rem;
    line-height: 130%;
    font-weight: 400;
    text-wrap: wrap;
  }

  .csr-content p {
    font-size: 1rem;
    line-height: 140%;
    opacity: 1;
  }

  .culture-section-hero {
    height: 60vh;
    padding: 0 15px;
    background-position: center;
  }

  .culture-content h1 {
    font-size: 1.8rem;
    line-height: 130%;
    font-weight: 400;
    text-wrap: wrap;
  }

  .culture-content p {
    font-size: 1rem;
    line-height: 140%;
    opacity: 1;
  }

  .about-banner {
    height: 60vh;
  }

  .about-content h2 {
    font-size: 2rem;
    line-height: 125%;
  }

  .about-content p {
    font-size: 1.1rem;
    line-height: 140%;
  }

  /* Stats Sections */
  .stats-section-about {
    padding: 30px 20px;
  }

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

  .stat-item-about hr {
    width: 100%;
  }

  .stat-value-about {
    font-size: 2.5rem;
  }

  .stat-label-about {
    font-size: 1rem;
  }

  /* Excellence Values */
  .excellence-values-section {
    padding: 40px 20px;
  }

  .excellence-values-section h1 {
    font-size: 0.9rem;
    margin-bottom: 30px;
    letter-spacing: 0.18em;
  }

  .excellence-item {
    max-width: 100%;
  }

  .excellence-content h2 {
    font-size: 1.4rem;
    line-height: 1.25;
  }
  .mission-image {
    display: none;
  }
  .excellence-content .on-mobile {
    display: block;
  }
  .missiongroup.default {
    display: none;
  }
  .missiongroup.onMobile {
    display: flex;
    flex-direction: column;
  }
  .excellence-content .default {
    display: none;
  }
  .excellence-content p {
    font-size: 0.85rem;
    opacity: 0.9;
  }

  /* Project Sections */
  .project-hero-section {
    height: auto;
    min-height: 70vh;
    padding: 40px 20px;
    background-position: center;
    background-size: cover;
    text-align: center;
  }

  .project-content h1 {
    font-size: 2rem;
    font-weight: 400;
    line-height: 130%;
    letter-spacing: -0.02em;
    white-space: normal;
  }

  .project-content p {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 130%;
    letter-spacing: -0.02em;
    opacity: 0.95;
  }

  .new-projects-section {
    padding: 20px;
  }

  .new-projects-header {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
    position: static;
  }

  .new-projects-title {
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: 10px;
  }

  .project-filter-bar {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
  }

  .project-clear-btn,
  .project-dropdown-btn {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
  }

  .project-dropdown-content {
    width: 100%;
    position: static;
    margin-top: 4px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  }

  .project-dropdown-content label {
    font-size: 0.95rem;
  }

  /* Service Sections */
  .service-hero-section {
    height: 70vh;
    padding: 0 20px;
    background-position: center;
  }

  .service-content {
    padding: 10px 20px;
  }

  .service-content h1 {
    font-size: 2rem;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: -0.02em;
    white-space: normal;
  }

  .service-content p {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 130%;
    letter-spacing: -0.02em;
    opacity: 0.95;
  }

  .service-card-container {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .sectiongap {
    padding: 40px;
  }

  .service-card {
    width: 100%;
    max-width: 100%;
    flex: 1 1 100%;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }

  .service-card-image {
    height: 260px;
  }

  .service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .service-card-content {
    position: absolute;
    bottom: 0;
    height: 64px;
    width: 100%;
    padding: 16px;
    background-color: white;
    transition: ease-in-out 300ms;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .service-card-content h3 {
    font-size: 1.4rem;
    margin: 0;
  }

  .service-card-content p {
    visibility: hidden;
    opacity: 0;
    font-size: 0.95rem;
    line-height: 1.3;
    text-align: justify;
    transition: linear 300ms;
  }

  .service-card:hover {
    transform: translateY(-5px);
  }

  .service-card:hover .service-card-content {
    height: 100%;
  }

  .service-card:hover .service-card-content p {
    visibility: visible;
    opacity: 1;
  }

  /* HVAC Sections */
  .hvac-hero-section {
    padding: 40px 20px;
    height: auto;
    text-align: center;
    justify-content: center;
  }

  .project-name {
    font-size: 24px;
  }

  .project-service {
    font-size: 24px;
  }

  .project-area {
    font-size: 24px;
  }

  .project-area {
    font-size: 18px;
  }

  .project-location {
    font-size: 18px;
  }

  .hvac-hero-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }

  .hvac-hero-left {
    background: rgba(0, 0, 0, 0.65);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
  }

  .hvac-hero-left h1 {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 16px;
  }

  .hvac-hero-left p {
    font-size: 1.1rem;
    line-height: 1.4;
    opacity: 0.9;
    margin: 0 auto;
  }

  .hvac-hero-right {
    display: none;
  }

  /* Image Text Sections */
  .image-text-section {
    padding: 40px 20px;
    height: auto;
  }

  .image-text-container {
    flex-direction: column;
    gap: 24px;
  }

  .image-section img {
    height: 250px;
    width: 100%;
    object-fit: cover;
  }

  .text-section p {
    font-size: 1.2rem;
    line-height: 1.5;
    text-align: center;
  }

  .image-text-section-culture {
    padding: 40px !important;
  }

  .image-section-culture img {
    height: 200px !important;
  }

  .image-text-header-culture {
    font-size: 26px;
  }

  .text-section-culture p {
    text-align: center !important;
    font-size: 1.4rem !important;
  }

  /* Additional Services */
  .additional-services-section {
    padding: 40px 20px;
  }

  .section-title {
    font-size: 1rem;
    margin-bottom: 40px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-item {
    width: 100%;
    padding: 20px;
    border-radius: 10px;
  }

  .service-item h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
  }

  .service-item p {
    font-size: 1rem;
    line-height: 1.4;
  }

  .services-grid .service-item:last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
  }

  /* Expert Sections */
  .expert-section {
    padding: 40px 20px 0px 20px !important;
  }

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

  .expert-container {
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }

  .expert-card {
    width: 100%;
    max-width: 100%;
  }

  .expert-image {
    height: 250px;
  }

  .expert-info-container {
    padding: 12px 16px;
  }

  .expert-text h3 {
    font-size: 1.3rem;
  }

  .expert-text .expert-title {
    font-size: 0.95rem;
  }

  .expert-content {
    text-align: center;
    align-items: center;
  }

  .expert-content h2 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 16px;
  }

  .expert-content p {
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 25px;
  }

  .specialist-btn {
    font-size: 0.95rem;
    padding: 8px 24px;
  }

  /* Commercial Hero */
  .hero-container-comm {
    height: auto;
    min-height: 70vh;
    background-position: center;
    background-size: cover;
    padding: 40px 20px;
    background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)),
      url(images/commgc-hero.svg) no-repeat center center;
    background-size: cover;
  }

  /* Team Sections */
  .team-hero-section {
    height: 55vh;
    background-size: cover;
    background-position: center;
    padding: 0 20px;
  }

  .team-hero-header h1 {
    font-size: 1.8rem;
    line-height: 120%;
  }

  .team-hero-header p {
    font-size: 1rem;
    line-height: 120%;
  }

  .team-section {
    padding: 20px 0px 20px 20px;
  }

  .team-section-header h2 {
    font-size: 2rem;
    text-align: left;
  }

  .team-cards-container {
    gap: 15px;
  }

  .team-member-card {
    width: 200px;
    height: 330px;
  }

  .team-member-info {
    padding: 10px 14px;
  }

  .team-member-text h3 {
    font-size: 1rem;
  }

  .team-member-text .team-member-title {
    font-size: 0.85rem;
  }

  .team-member-linkedin img {
    width: 18px;
    height: 18px;
  }

  /* Mission Highlight */
  .mission-highlight-section {
    padding: 30px 20px;
  }

  .mission-highlight-content h2 {
    font-size: 2.2rem;
  }

  .mission-highlight-content p {
    font-size: 1.2rem;
    line-height: 1.4;
  }

  .mission-highlight-goal {
    padding: 25px 15px;
  }

  .mission-highlight-goal h3 {
    font-size: 1.6rem;
  }

  .mission-highlight-goal p {
    font-size: 0.95rem;
  }

  /* Navbar */
  .mobile-navbar {
    padding: 14px 16px;
    min-height: 65px;
  }

  .mobile-navbar.menu-active {
    padding: 14px 16px;
  }

  .mobile-menu.active {
    height: calc(100vh - 65px);
  }

  .dropdown-btn {
    font-size: 16px;
    padding: 14px 0;
  }

  .dropdown-content a {
    font-size: 15px;
    padding: 10px 14px;
  }

  .mobile-menu-toggle svg {
    width: 28px;
    height: 28px;
  }

  /* Footer */
  .footer-section-header {
    font-size: 12px;
  }

  .footer-link-group > a {
    font-size: 11px;
  }

  .topper-section {
    grid-template-columns: 1fr;
  }

  .bottom-section > .left,
  .bottom-section > .right {
    padding: 16px;
  }

  /* Trusted Brands */
  .trusted-brands-heading {
    font-size: 24px;
    line-height: 120%;
  }

  .brand-logo-item {
    min-width: 90px;
    height: 50px;
    padding: 0 16px;
  }

  /* Featured Projects */
  .featured-project-card-new {
    min-width: 300px;
    height: 380px;
  }

  .text-container {
    padding: 16px;
  }

  .hovercontainer {
    padding: 16px;
  }

  .bottom-container > p {
    font-size: 14px;
    line-height: 120%;
  }

  .nextsection {
    height: auto;
    min-height: 70vh;
    padding-top: 0px !important;
    top: 90px !important;
  }

  .innersection {
    gap: 16px;
    height: auto;
  }

  .innerwarap {
    padding: 20px;
    margin: 0;
  }

  .childrenofinnner {
    width: 300px;
    height: 400px !important;
    font-size: 3rem;
  }

  /* Testimonials */
  .testimonial-section {
    height: 100vh;
  }

  .testimonial-container {
    gap: 25px;
  }

  .testimonial-content {
    gap: 40px;
  }

  .testimonial-slide {
    padding: 60px 40px 20px;
    gap: 30px;
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }

  .testimonial-text {
    font-size: 28px;
    order: 2;
  }

  .testimonial-quote-icon {
    width: 40px;
    height: 40px;
    margin-top: 0px;
    order: 1;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
  }

  .testimonial-quote-icon object {
    height: 60px;
  }

  .testimonial-company {
    order: 3;
    margin-top: 25px;
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .testimonial-indicators {
    gap: 8px;
    margin-top: 20px;
  }

  .testimonial-indicator {
    width: 8px;
    height: 8px;
  }

  /* News Section */
  .news-section {
    height: 100vh;
    padding: 40px 0px 60px 40px;
  }

  .news-carousel {
    padding: 20px 40px;
    margin-left: -40px;
    gap: 20px;
  }

  .news-card {
    width: 320px;
    max-width: 320px;
  }

  .news-image {
    height: 160px;
  }

  .news-content {
    padding: 18px;
  }

  .news-title {
    font-size: 1.2rem;
  }

  .news-excerpt {
    font-size: 0.9rem;
  }

  .news-date {
    font-size: 0.85rem;
  }

  .onmobiletimeline {
    display: flex;
  }

  .section-header {
    padding: 20px;
    align-items: center;
    justify-content: center;
  }
  .timelineonmobile {
    width: calc(100vw - 40px);
    height: 400px;
    justify-content: space-between;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 12px 12px;
  }
  .timelineonmobile .headerwhithyear {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 64px;
    font-size: 28px;
    letter-spacing: -1.3px;
    line-height: 100%;
  }

  .timelineonmobile .imagesection {
    object-fit: cover;
    height: 177px;
    width: 100%;
  }
  .timelineonmobile .body {
    height: fit-content;
    gap: 2px;
    display: flex;
    flex-direction: column;
  }
  .timelineonmobile .body h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.1;
  }

  .timelineonmobile .body p {
    font-size: 16px;
    line-height: 1.2;
  }
  .innerwarap {
    height: fit-content;
  }

  .maponmobile {
    display: none;
  }
  /* CTA Section */
  .textgroup > h3 {
    font-size: 28px;
  }

  .textgroup > p {
    font-size: 13px;
  }

  .cta-section {
    gap: 30px;
  }

  .location-group {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Services */
  .services {
    padding: 40px 16px;
  }

  .services-content h2 {
    font-size: 1.6rem;
    width: 100%;
  }

  .services-content span {
    font-size: 1.1rem;
  }

  .services-content p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .btn {
    font-size: 0.9rem;
    padding: 10px 18px;
    border-radius: 4px;
    align-self: center;
  }

  .team-member-card.management{
    width: 200px;
  }
}

/* ===========================
   VERY SMALL MOBILE (360px and below)
   =========================== */

@media (max-width: 360px) {
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  /* Trusted Brands */
  .trusted-brands-container {
    height: 60vh;
    gap: 24px;
  }

  .trusted-brands-heading {
    font-size: 24px;
  }

  .brand-logo-item {
    min-width: 70px;
    height: 35px;
    font-size: 0.8rem;
    padding: 0 12px;
  }

  /* Project Sections */
  .project-hero-section {
    min-height: 60vh;
    padding: 30px 16px;
  }

  .project-content h1 {
    font-size: 1.8rem;
  }

  .project-content p {
    font-size: 1rem;
  }

  .new-projects-title {
    font-size: 1.8rem;
  }

  .project-clear-btn,
  .project-dropdown-btn {
    font-size: 0.9rem;
    padding: 10px 14px;
  }

  /* Service Sections */
  .service-card-image {
    height: 220px;
  }

  .service-card-content h3 {
    font-size: 1.2rem;
  }

  .service-card-content p {
    font-size: 0.9rem;
  }

  /* HVAC Sections */
  .hvac-hero-left h1 {
    font-size: 1.6rem;
  }

  .hvac-hero-left p {
    font-size: 1rem;
  }

  /* Image Text Sections */
  .image-section img {
    height: 200px;
  }

  .text-section p {
    font-size: 1rem;
  }

  /* Additional Services */
  .additional-services-section {
    padding: 30px 16px;
  }

  .service-item h3 {
    font-size: 1.1rem;
  }

  .service-item p {
    font-size: 0.9rem;
  }

  /* Expert Sections */
  .expert-image {
    height: 200px;
  }

  .expert-content h2 {
    font-size: 1.8rem;
  }

  .expert-content p {
    font-size: 1rem;
  }

  /* Commercial Hero */
  .hero-container-comm {
    min-height: 60vh;
    padding: 30px 16px;
    background-position: center;
  }

  /* News Section */
  .news-section {
    height: 90vh;
    padding: 30px 0px 50px 30px;
  }

  .news-carousel {
    padding: 20px 30px;
    margin-left: -30px;
    gap: 15px;
  }

  .news-card {
    width: 280px;
    max-width: 280px;
  }

  .news-image {
    height: 140px;
  }

  .news-content {
    padding: 16px;
  }

  .news-title {
    font-size: 1.1rem;
  }

  .news-excerpt {
    font-size: 0.85rem;
  }

  .news-date {
    font-size: 0.8rem;
  }

  /* Testimonials */
  .testimonial-section {
    height: 50vh;
  }

  .testimonial-container {
    gap: 20px;
  }

  .testimonial-content {
    gap: 30px;
  }

  .testimonial-slide {
    padding: 0px 30px 15px;
    gap: 25px;
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }

  .testimonial-text {
    font-size: 24px;
    order: 2;
  }

  .testimonial-quote-icon {
    width: 35px;
    height: 35px;
    margin-top: 0px;
    order: 1;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
  }

  .testimonial-quote-icon object {
    height: 60px;
  }

  .testimonial-company {
    order: 3;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .testimonial-indicators {
    gap: 6px;
    margin-top: 15px;
  }

  .testimonial-indicator {
    width: 7px;
    height: 7px;
  }

  /* Featured Projects */
  .featured-project-card-new {
    min-width: 280px;
    height: 360px;
  }

  .nextsection {
    height: auto !important;
    min-height: 60vh;
    padding-top: 20px;
  }

  .innersection {
    gap: 12px;
    height: auto;
  }

  .innerwarap {
    padding: 20px;
    margin: 0 20px;
  }

  .text-container {
    padding: 12px;
  }

  .hovercontainer {
    padding: 12px;
  }

  .bottom-container > p {
    font-size: 14px;
    line-height: 18px;
  }

  .childrenofinnner {
    width: 280px;
    height: 380px !important;
    font-size: 2.5rem;
  }
}

/* ===========================
   LANDSCAPE MOBILE OPTIMIZATION
   =========================== */

@media screen and (max-width: 768px) and (orientation: landscape) {
  .about-banner {
    height: 85vh;
  }

  .about-content h2 {
    font-size: 2rem;
  }
}

/* ===========================
   TABLET RESPONSIVE STYLES (769px - 1024px)
   =========================== */

@media screen and (min-width: 769px) and (max-width: 1024px) {
  .services {
    padding: 80px 40px;
    height: auto;
  }

  .services-content h2 {
    font-size: 2.5rem;
    width: 100%;
  }

  .services-content p {
    text-wrap: auto;
    font-size: 1.4rem;
    line-height: 2;
  }
}

/* ===========================
   PROJECT LAYOUT BREAKPOINTS
   =========================== */

@media (max-width: 1300px) {
  .new-project-card {
    min-width: 350px;
  }
}

@media (max-width: 992px) {
  .new-projects-row {
    flex-direction: column;
    align-items: center;
  }

  .new-project-card {
    width: 90%;
    min-width: unset;
  }

  .internship-cards {
    flex-direction: column;
    align-items: center;
  }
}

/* ===========================
   MOBILE REFINEMENT (600px and below)
   =========================== */

@media (max-width: 600px) {
  .image-text-section-culture {
    padding: 40px !important;
  }

  .image-section-culture img {
    height: 200px !important;
  }

  .image-text-header-culture {
    font-size: 26px;
  }

  .text-section-culture p {
    text-align: center !important;
    font-size: 1.4rem !important;
  }

  .no-margin-mobile{
    margin-top: 0px !important;
  }

  .margin-mobile{
    margin-top: 100px !important;
  }
  .margin-mobile2{
    margin-top: 430px !important;
  }
}




.scroll-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 55px;
  height: 55px;
  background: red; /* change this color if needed */
  color: #fff;
  border: none;
  border-radius: 50%;       /* makes it a circle */
  font-size: 26px;
  cursor: pointer;
  z-index: 999999;
  
  display: none;            /* default hidden */
  align-items: center;
  justify-content: center;

  /* smooth fade-in */
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.2s ease;
}

.scroll-to-top.show {
  display: flex;
  opacity: 1;
  transform: scale(1);      /* normal size */
}

.scroll-to-top.hide {
  opacity: 0;
  transform: scale(0.8);    /* shrink when hiding */
  pointer-events: none;
}

.scroll-to-top:hover {
  background: #e20202;        /* slightly lighter black */
  transform: scale(1.1);   /* pop-out effect */
}













/* Tablet Styles (max-width: 1024px) */
@media (max-width: 1024px) {
  .leadership-section {
    padding: 40px;
    height: auto;
    flex-direction: column;
    gap: 40px;
  }

  .leadership-section .left {
    height: auto;
    text-align: center;
  }

  .leadership-section .right {
    height: auto;
    flex-direction: row;
  }

  .leadership-section .right .innercard {
    height: auto;
  }

  h2 {
    font-size: 32px;
  }

  .headingsubtext {
    font-size: 20px;
    line-height: 130%;
  }
}

/* Mobile Styles (max-width: 768px) */
@media (max-width: 768px) {
  .leadership-section {
    padding: 20px;
    height: auto;
    flex-direction: column;
    gap: 30px;
  }

  .leadership-section .left {
    height: auto;
    text-align: center;
    align-items: flex-start;
  }

  .leadership-section .right {
    flex-direction: column;
    gap: 20px;
    height: auto;
  }

  .leadership-section .right .innercard {
    width: 100%;
  }

  .leadership-section .right .innercard img {
    height: auto;
  }

  h2 {
    font-size: 28px;
  }

  .headingsubtext {
    font-size: 18px;
    line-height: 140%;
  }
}








/* CARD HOVER STATE */
.new-project-card {
  position: relative;
  transition: 0.3s ease;
  cursor: pointer;
}

.new-project-card:hover {
  transform: scale(1.01);
  box-shadow: var(--shadow-elevation-3);
}

/* OVERLAY CONTAINER (hidden until hover) */
.new-hovercontainer {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s ease;
  z-index: 3;

  background: linear-gradient(
      180deg,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,1) 82%
    ),
    radial-gradient(
      50% 50% at 50% 50%,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,0.4) 50%,
      rgba(0,0,0,0.8) 100%
    );
}

/* SHOW OVERLAY ON HOVER */
.new-project-card:hover .new-hovercontainer {
  opacity: 1;
  visibility: visible;
}

/* INNER STRUCTURE */
.new-innerhover {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.new-top-container {
  color: #fff;
}

.new-bottom-container p {
  font-size: 16px;
  line-height: 22px;
  color: #fff;
  opacity: 0.9;
}

/* IMAGE ZOOM ON HOVER */
.new-project-card:hover .new-project-image img {
  transform: scale(1.2);
}

.new-project-image img {
  transition: 0.3s ease;
}

/* TEXT LAYOUT (same structure as first card but scaled down slightly) */
.new-text-innercontainer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.new-text-inner-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.new-project-name,
.new-project-location {
  color: #fff;
}

.new-project-location{
  font-size: var(--project-location-font-size);
    font-style: var(--project-location-font-style);
    font-weight: var(--project-location-font-weight);
    letter-spacing: var(--project-location-letter-spacing);
    line-height: var(--project-location-line-height);
    opacity: 80%;
}

.new-project-name{
  font-size: var(--project-title-font-size);
  font-style: var(--project-title-font-style);
  font-weight: var(--project-title-font-weight);
  letter-spacing: var(--project-title-letter-spacing);
  line-height: var(--project-title-line-height);
}

.new-project-area{
  font-size: var(--project-SQFT-font-size);
    font-style: var(--project-SQFT-font-style);
    font-weight: var(--project-SQFT-font-weight);
    letter-spacing: var(--project-SQFT-letter-spacing);
    line-height: var(--project-SQFT-line-height);
    text-align: right;
}

.new-project-service{
  font-size: var(--project-service-font-size);
    font-style: var(--project-service-font-style);
    font-weight: var(--project-service-font-weight);
    letter-spacing: var(--project-service-letter-spacing);
    line-height: var(--project-service-line-height);
    text-align: right;
}

.new-bottom-container p{
    opacity: 0.8;
    font-weight: 400;
    color: #ffffff;
    font-size: 20px;
    letter-spacing: -0.4px;
    line-height: 24.6px;
}

.new-text-inner-right {
  text-align: right;
  color: #fff;
}
