/* Fonts moved to _app.jsx for better server-side loading */

:root {
  --color-primary: #54b248;
  --color-primary-dark: #429037;
  --color-black: #0d0d0d;
  --color-white: #ffffff;
  --color-text: #1a1a1a;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Lexend Deca', sans-serif;

  /* Typography Scale - Professional / Corporate Standards */
  --font-size-h1: clamp(32px, 5vw, 48px);
  --font-size-h2: clamp(24px, 4vw, 36px);
  --font-size-body: clamp(16px, 2vw, 20px);
  --font-size-nav: clamp(16px, 1.5vw, 18px);
  --font-size-caption: clamp(12px, 1vw, 14px);
}

html,
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  background-color: var(--color-black);
  color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: clip;
  /* clip is safer for sticky than hidden */
  min-width: 500px;
}

#root,
.app-container {
  overflow-x: visible;
  /* Required for sticky children */
  width: 100%;
}

.main-container {
  overflow-x: clip;
  /* clip prevents scroll without breaking sticky */
  width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  margin-top: 0;
}

h1 {
  font-size: var(--font-size-h1);
  font-family: var(--font-heading);
}

h2 {
  font-size: var(--font-size-h2);
  font-family: var(--font-heading);
}

h3 {
  font-size: 20px;
  /* Aligned for H3 */
  font-family: var(--font-heading);
}

p,
li {
  font-family: var(--font-body);
}

.text-primary {
  color: var(--color-primary);
}

.app-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background-color: var(--color-black);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 30px;
  margin-left: auto;
  /* Push links to the right */
  margin-right: 30px;
  /* Space between links and Contact button */
}

.nav-links a.nav-link {
  color: var(--color-white);
  text-decoration: none;
  font-size: var(--font-size-nav);
  font-family: var(--font-heading);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s;
}

.nav-links a.nav-link:hover {
  color: var(--color-primary);
}

/* Navigation Dropdowns */
.nav-item {
  position: relative;
}

.dropdown-icon {
  transition: transform 0.3s;
}

.nav-item:hover .dropdown-icon {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(20, 20, 20, 0.95);
  /* Dark matching theme */
  backdrop-filter: blur(10px);
  /* Glassmorphism effect */
  min-width: 230px;
  border-radius: 6px;
  border-top: 3px solid var(--color-primary);
  /* Green accent line */
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  /* Stronger dark shadow */
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  /* Smooth bouncy reveal */
  z-index: 100;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(10px);
  /* Leave a small gap from nav */
}

.dropdown-menu a.dropdown-link {
  color: #cccccc;
  padding: 14px 22px;
  display: block;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  /* Faint separator */
  transition: all 0.2s ease;
}

.dropdown-menu a.dropdown-link:last-child {
  border-bottom: none;
}

.dropdown-menu a.dropdown-link:hover {
  background-color: rgba(84, 178, 72, 0.1);
  /* Subtle green transparent hover */
  color: var(--color-primary);
  padding-left: 28px;
  /* Slightly more indent */
}

/* Mobile Menu Icon */
.mobile-menu-icon {
  display: none;
  cursor: pointer;
  z-index: 1000;
}

.hamburger {
  width: 25px;
  height: 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.desktop-only {
  display: block;
}

.btn-contact {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  padding: 10px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: var(--font-size-nav);
  cursor: pointer;
  font-family: var(--font-heading);
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s, background-color 0.3s, color 0.3s;
}

.btn-contact:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  position: relative;
  height: 65vh;
  min-height: 500px;
  background-color: #222;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/img/hero/banner.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slider-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  background: transparent;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10;
}

.hero-slider-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
}

.hero-slider-btn.left {
  left: 40px;
}

.hero-slider-btn.right {
  right: 40px;
}

.hero-content {
  text-align: center;
  z-index: 5;
  padding: 0 20px;
  transform: translateY(-40px);
}

.hero h1 {
  font-size: var(--font-size-h1);
  font-weight: 700;
  margin: 0 0 25px 0;
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-btn {
  background-color: #eaf6e5;
  /* Very pale green matching the image */
  color: #54b248;
  border: 1.5px solid #54b248;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: var(--font-size-body);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  transition: all 0.2s;
  box-shadow: 0 4px 15px rgba(84, 178, 72, 0.15);
}

.hero-btn:hover {
  background-color: #54b248;
  color: #ffffff;
}

.cursor-blink {
  animation: blink 1s step-end infinite;
  display: inline-block;
  margin-left: 2px;
  font-weight: 400;
  color: inherit;
}

@keyframes blink {

  from,
  to {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* Final Perfection - 1000% Match Achieved */
.floating-form-wrapper {
  position: relative;
  z-index: 20;
  margin-top: -90px;
  padding: 0 40px;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50px;
}

/* 
  PREVIOUS DESIGN REPLACED BY CLEAN RECONSTRUCTION
  (Older styles for Green Bar, side-curves, and molecule are saved here in history)
*/

.floating-form-wrapper {
  position: relative;
  z-index: 20;
  margin-top: -50px;
  margin-bottom: 50px;
  width: 90%;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
}

.floating-form {
  background-color: #ffffff;
  min-height: 160px;
  border-radius: 40px;
  /* Matching the side curve radius */
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 100px;
  /* Vertically centered the form content by equalizing padding */
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: none;
  /* Removed borders to fix overlap with curves */
}

/* NEW Perspective Grid with MORE DENSE boxes */
.floating-form::before {
  content: '';
  position: absolute;
  top: -180px;
  left: -20%;
  width: 140%;
  height: 600px;
  background-size: 58.5px 13px;
  /* Width increased by another 50% as requested */
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  transform: perspective(800px) rotateX(72deg);
  transform-origin: center top;
  z-index: 1;
  pointer-events: none;
}

.form-inner-container {
  position: relative;
  z-index: 100;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

.form-header {
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.form-title {
  color: #54b248;
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  white-space: nowrap;
}

.form-subtitle {
  color: #000000;
  margin: 0;
  font-size: var(--font-size-caption);
  font-weight: 700;
}

.form-inputs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 15px;
  align-items: flex-end;
  width: 100%;
}

.input-group {
  width: 100%;
}

.form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid #54b248;
  border-radius: 50px;
  background: #ffffff;
  color: #000;
  font-size: var(--font-size-caption);
  font-weight: 700;
  text-align: center;
  outline: none;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.form-input:focus {
  box-shadow: 0px 4px 20px rgba(84, 178, 72, 0.2);
  border-color: #3e8e35;
}

.form-input::placeholder {
  color: #888;
}

.captcha-and-submit-group {
  display: flex;
  flex-direction: column;
  position: relative;
  justify-content: flex-end;
  grid-column: span 1;
}

.captcha-label {
  position: absolute;
  top: -24px;
  left: 15px;
  font-size: 11px;
  font-weight: 700;
  color: #000;
  white-space: nowrap;
}

.actions-row {
  display: flex;
  gap: 10px;
}

.captcha-input {
  flex: 0.4;
  min-width: 80px;
}

.form-submit {
  flex: 0.6;
}

.status-msg {
  position: absolute;
  bottom: -45px;
  left: 0;
  width: 100%;
  text-align: center;
}

.form-footer-inline {
  position: absolute;
  bottom: -22px;
  right: 0;
  font-size: 11px;
  color: #000;
  margin: 0;
  white-space: nowrap;
  font-weight: 600;
}

.form-footer-inline a {
  color: #54b248;
  text-decoration: none;
}


.form-submit {
  background-color: #54b248;
  color: #ffffff;
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0px 4px 15px rgba(84, 178, 72, 0.4);
  /* Colored shadow for submit */
  width: 100%;
}

.side-curve {
  position: absolute;
  top: -8px;
  bottom: -8px;
  width: 100px;
  /* Further reduced to ensure no overhang on rounded corners */
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 5;
}

.left-curve {
  left: -5px;
  /* Moved slightly to the left as requested */
  background-image: url('/img/form/left-curve.png');
  background-position: left center;
}

.right-curve {
  right: 0;
  background-image: url('/img/form/right-curve.png');
  background-position: right center;
}

.form-pattern-overlay {
  position: absolute;
  top: 0;
  right: 0;
  width: 350px;
  /* Increased width to make the molecules bigger */
  height: 100%;
  background-image: url('/img/form/molecule.png');
  background-size: contain;
  /* Stretches properly to make it appear larger */
  background-repeat: no-repeat;
  background-position: right center;
  z-index: 6;
  /* Displaying right above the right curve or inside container */
  /* opacity: 0.6; adjust if it is too dark/faint */
  pointer-events: none;
}

.floating-form::after {
  display: none;
}

/* Responsive Navbar Updates */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: #1a1a1a;
    flex-direction: column;
    padding: 0;
    gap: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 900;
  }

  .nav-links.mobile-active {
    display: flex;
  }

  .nav-item {
    width: 100%;
  }

  .nav-links a.nav-link {
    padding: 18px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    justify-content: space-between;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 0;
    display: none;
    padding: 0;
  }

  .nav-item:hover .dropdown-menu {
    display: block;
  }

  .dropdown-menu a.dropdown-link {
    color: #cccccc;
    padding: 15px 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  }

  .dropdown-menu a.dropdown-link:hover {
    background-color: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    padding-left: 55px;
  }

  .mobile-menu-icon {
    display: block;
  }

  .desktop-only {
    display: none;
  }
}


/* Clients Section */
.clients-section {
  padding: 50px 40px;
  text-align: center;
}

.clients-section h2 {
  font-size: 42px;
  /* Increased for prominence */
  font-weight: 700;
  margin: 0 0 50px 0;
}

.clients-logos-marquee {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.clients-logos-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: scrollMarquee 20s linear infinite;
}

.clients-logos-track:hover {
  animation-play-state: paused;
}

.slider-marquee {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  padding: 10px 0 30px 0;
}

.slider-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: scrollMarquee 25s linear infinite;
}

/* Projects Section Styles moved to ProjectsSection.css for modularity */

.slider-track:hover {
  animation-play-state: paused;
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 15px));
  }
}

.client-logo {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}

.client-logo img {
  height: 65px;
  /* Directly size the original image which has its own background */
  width: auto;
  object-fit: contain;
  border-radius: 4px;
  /* Slight rounding for pure aesthetic */
}

/* Responsive */
@media (max-width: 1400px) {
  .form-inputs {
    flex-wrap: wrap;
  }

  .form-input,
  .form-submit {
    min-width: calc(25% - 12px);
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
}

@media (max-width: 768px) {

  .form-input,
  .form-submit {
    min-width: calc(33.333% - 12px);
  }

  .hero h1 {
    font-size: 32px;
  }

  .client-logo {
    min-width: 140px;
  }
}

@media (max-width: 500px) {

  .form-input,
  .form-submit {
    min-width: 100%;
  }

  .navbar {
    padding: 15px 20px;
  }

  .floating-form-wrapper {
    padding: 0 20px;
  }
}

/* About Section */
.about-section {
  display: flex;
  align-items: stretch;
  gap: 60px;
  padding: 50px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.about-text {
  flex: 1.1;
  font-size: var(--font-size-body);
  line-height: 1.7;
  color: #eeeeee;
  font-weight: 400;
  padding-right: 30px;
}

.about-title {
  font-size: 42px;
  /* Increased for prominence */
  font-weight: 700;
  margin: 0 0 25px 0;
  line-height: 1.25;
  color: #ffffff;
}

.about-text p {
  margin-bottom: 25px;
  font-size: 18px;
  /* Improved readability */
  line-height: 1.6;
}

.about-image-wrapper {
  flex: 1;
  width: 100%;
  max-width: 680px;
  position: relative;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  margin-left: auto;
  overflow: hidden;
  height: auto;
  /* Allow it to stretch */
}

/* Comparison Slider */
.comparison-slider {
  flex: 1;
  position: relative;
  width: 100%;
  height: 100%;
  cursor: ew-resize;
  border-radius: 12px;
  overflow: hidden;
  user-select: none;
  -webkit-user-drag: none;
  background-color: #1a1a1a;
  /* Backup in case of containment sizing */
}

.comparison-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.comparison-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: transparent;
  /* Invisible line or white line */
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 10;
}

.comparison-handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background-color: var(--color-primary);
  border: 4px solid #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

/* Services Section */
.services-section {
  padding: 50px 40px;
  background-color: #0d0d0d;
}

.services-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

.services-title {
  font-size: 42px;
  /* Increased for prominence */
  font-weight: 700;
  margin: 0 0 15px 0;
}

.services-subtitle {
  font-size: 15px;
  line-height: 1.6;
  color: #bbbbbb;
  font-weight: 500;
}

.services-grid {
  display: flex;
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.service-card {
  flex: 1;
  min-width: 300px;
  background-color: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card-header {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 20px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
}

.service-card-body {
  padding: 30px 25px 25px;
  text-align: center;
  color: var(--color-text);
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card-desc {
  font-size: var(--font-size-caption);
  line-height: 1.7;
  font-weight: 600;
  margin-bottom: 20px;
  color: #444;
}

.service-btn {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-heading);
  transition: background-color 0.2s;
}

.service-btn:hover {
  background-color: var(--color-primary-dark);
}

.service-card-img-wrapper {
  background-color: var(--color-white);
  padding: 0 4px 4px 4px;
}

.service-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0 0 12px 12px;
  display: block;
}

@media (max-width: 1024px) {
  .services-grid {
    flex-direction: column;
  }
}

/* Discussion Section */
.discussion-section {
  padding: 60px 40px 40px 40px;
  background-color: #000000;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.discussion-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/img/discussionsection/discussion-banner.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.06;
  /* Decreased opacity as requested */
  pointer-events: none;
  z-index: 1;
}

.discussion-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 0%, #0d0d0d 80%);
  pointer-events: none;
}

.discussion-content {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.discussion-title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  margin: 0 0 20px 0;
  color: var(--color-white);
  line-height: 48px;
}

.discussion-subtitle {
  font-family: var(--font-heading);
  font-size: 18px;
  color: #ffffff;
  max-width: 950px;
  margin: 0 auto 40px auto;
  font-weight: 500;
  line-height: 1.6;
}

.discussion-btn {
  background-color: #54b248;
  color: #ffffff;
  border: none;
  padding: 16px 36px;
  border-radius: 60px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-heading);
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.discussion-btn:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  background-color: #ffffff;
  color: #54b248;
}

.btn-arrow {
  color: #ffffff;
  transition: transform 0.3s;
}

.discussion-btn:hover .btn-arrow {
  transform: translate(3px, -3px);
  color: #54b248;
}

/* Projects Section */
.projects-section {
  padding: 50px 40px;
  background-color: var(--color-black);
}

.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto 50px auto;
  padding: 0;
}

.projects-title {
  font-size: var(--font-size-h2);
  font-weight: 700;
  margin: 0;
  color: #fff;
}

.projects-title .text-primary {
  color: #54b248;
}

.projects-view-all {
  background-color: #54b248;
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  transition: all 0.3s;
}

.projects-view-all:hover {
  background-color: var(--color-primary-dark);
}

.projects-section-footer {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.projects-grid {
  display: flex;
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
  overflow-x: auto;
  padding-bottom: 20px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.projects-grid::-webkit-scrollbar {
  display: none;
}

@media (max-width: 768px) {
  .projects-grid {
    flex-direction: column !important;
    /* Stack cards vertically */
    overflow-x: hidden !important;
    flex-wrap: wrap !important;
    gap: 30px;
  }

  .project-card {
    flex: 0 0 100% !important;
    /* Cards take full width */
    width: 100% !important;
    min-width: unset !important;
  }
}

.project-card {
  flex: 0 0 calc(33.333% - 20px);
  min-width: 340px;
  background-color: transparent;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: visible;
  /* Allow the pill to stick out */
  margin-bottom: 20px;
  /* Space for protruding pill */
}

.project-card-img {
  height: 320px;
  /* Reverted to original height to prevent image zoom */
  width: 100%;
  background-size: 110%;
  background-position: center;
  border-radius: 8px;
}

.project-card-footer {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translate(-50%, 50%);
  background-color: #eaf6e5;
  color: #54b248;
  border: 1.5px solid #a8dfbc;
  padding: 8px 18px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  border-radius: 6px;
  white-space: nowrap;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .projects-header {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .discussion-title {
    font-size: 24px;
  }
}

/* Testimonials Section */
.testimonials-section {
  padding: 30px 40px;
  background-color: var(--color-black);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonials-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.testimonials-title {
  font-size: 42px;
  /* Increased for prominence */
  font-weight: 700;
  margin: 0 0 15px 0;
  color: var(--color-white);
  line-height: 42px;
}

.testimonials-subtitle {
  font-size: 18px;
  color: #ffffff;
  margin: 0;
  line-height: 1.6;
}

.testimonial-card {
  background-color: var(--color-white);
  border-radius: 8px;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  padding: 5px;
  gap: 30px;
  align-items: center;
  position: relative;
  min-height: 380px;
}

.testimonial-image-col {
  flex: 0 0 320px;
  /* Square layout as requested */
  height: 320px;
  aspect-ratio: 1 / 1;
  border: 1.5px solid var(--color-primary);
  border-radius: 12px;
  background-color: #000;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testimonial-icon-yt {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  background-color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff0000;
  text-decoration: none;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.testimonial-icon-yt:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.testimonial-content-col {
  flex: 1;
  padding: 30px 40px 30px 10px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.testimonial-quote-icon {
  font-size: 70px;
  color: #a5d398;
  font-family: serif;
  line-height: 0.8;
  margin-bottom: 5px;
  font-weight: 900;
}

.testimonial-text {
  font-size: 25px;
  color: var(--color-text);
  margin: 0 0 65px;
  font-weight: 500;
  line-height: 1.6;

}

.testimonial-author-name {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 5px 0;
  color: #000;
  line-height: 24px;
}

.testimonial-author-title {
  font-size: 16px;
  color: #000000;
  margin: 0;
}

.testimonial-controls {
  position: absolute;
  bottom: 30px;
  right: 40px;
  display: flex;
  gap: 10px;
  z-index: 10;
}

.testimonial-control {
  width: 34px;
  height: 34px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.testimonial-control:hover {
  opacity: 0.8;
}

#root {
  width: 100%;
  padding: 0;
  /* Clear boilerplate padding */
  text-align: initial;
  /* Clear boilerplate text-align */
}

.testimonials-footer {
  max-width: 1400px;
  margin: 15px auto 0 auto;
  text-align: right;
}

.testimonials-link {
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s;
}

.testimonials-link:hover {
  color: var(--color-primary-dark);
}

/* Map Section */
.usa-map-section {
  padding: 30px 40px;
  background-color: var(--color-black);
}

.usa-map-header {
  text-align: center;
  margin-bottom: 60px;
}

.usa-map-title {
  font-size: 42px;
  /* Increased for prominence */
  font-weight: 700;
  margin: 0 0 15px 0;
  color: var(--color-white);
  line-height: 42px;
}

.usa-map-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: #ffffff;
  font-weight: 500;
  max-width: 850px;
  margin: 0 auto 30px auto;
  text-align: center;
}


.usa-map-content {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  /* Centering the columns */
  gap: 80px;
  /* Spacing between map and list */
}

.usa-map-image-col {
  flex: 0 1 auto;
  /* Allow shrinking but center naturally */
}

.usa-map-image {
  width: 100%;
  height: auto;
}

.usa-map-list-col {
  flex: 0 1 auto;
  display: flex;
  gap: 30px;
}

.usa-map-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.usa-map-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-white);
  font-size: 20px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  width: fit-content;
  /* Reduced width to fit text only */
}

.usa-map-item:hover {
  color: var(--color-primary);
  transform: translateX(5px);
}

.item-check {
  background-color: var(--color-white);
  color: var(--color-black);
  border-radius: 50%;
  width: 23px;
  height: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.item-check svg {
  stroke-width: 4px;
  width: 18px;
  height: 18px;
}

@media (max-width: 1100px) {
  .usa-map-content {
    flex-direction: column !important;
  }

  .usa-map-list-col {
    width: 100% !important;
    max-width: 800px;
    margin: 30px auto 0;
    justify-content: center;
  }

  .contact-left {
    min-width: 300px;
    flex: 0.8 !important;
  }

  .contact-right {
    flex: 1.2 !important;
  }

  .contact-inner {
    flex-direction: row !important;
    /* Keep side-by-side on iPad */
    padding: 0 40px !important;
    gap: 40px !important;
  }
}

@media (max-width: 850px) {
  .contact-inner {
    flex-direction: column !important;
    /* Stack only for smaller tablets */
  }

  .contact-left,
  .contact-right {
    width: 100% !important;
    max-width: 850px;
    margin: 0 auto;
    position: static !important;
  }
}

@media (max-width: 900px) {
  .testimonial-card {
    flex-direction: column;
    max-width: 450px;
    margin: 0 auto;
  }

  .testimonial-image-col {
    flex: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .usa-map-content {
    flex-direction: column;
  }

  .usa-map-list-col {
    width: 100%;
  }
}

/* Optimize Section */
.optimize-wrapper {
  background-color: var(--color-black);
  padding: 50px 0;
  overflow: hidden;
}

.optimize-inner {
  display: flex;
  align-items: stretch;
  max-width: 1400px;
  /* Aligned to 1400px standard */
  margin: 0 auto;
  gap: 40px;
}

.optimize-left {
  background-color: #eaf6e5;
  padding: 60px 60px 60px 35px;
  border-radius: 0 450px 450px 0;
  flex: 1.8;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.optimize-title {
  color: #54b248;
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  /* BOLD REMOVED */
  margin-bottom: 10px;
  line-height: 50px;
  max-width: 1000px;
  letter-spacing: -2px;
}

.optimize-text {
  color: #1a1a1a;
  font-size: 18px;
  font-family: var(--font-body);
  max-width: 1000px;
  margin-bottom: 30px;
  font-weight: 400;
  line-height: 24px;
}

.optimize-btn {
  background-color: #54b248;
  color: var(--color-white);
  border: none;
  padding: 14px 35px;
  border-radius: 50px;
  font-size: var(--font-size-body);
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  transition: transform 0.2s, background-color 0.2s;
  width: fit-content;
}

/* Optimize Section Responsive */
@media (max-width: 1100px) {
  .optimize-inner {
    flex-direction: column;
    gap: 30px;
    padding: 0 40px;
    box-sizing: border-box;
    width: 100%;
  }

  .optimize-left {
    padding: 60px 40px;
    border-radius: 12px !important;
    text-align: center;
    align-items: center;
    width: 100% !important;
    box-sizing: border-box;
  }
}

@media (max-width: 768px) {
  .optimize-title {
    font-size: 32px;
  }

  .optimize-text {
    font-size: 16px;
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .optimize-title {
    font-size: 26px;
  }
}


.optimize-btn:hover {
  background-color: #46a13b;
  transform: translateY(-2px);
}

.optimize-right {
  display: flex;
  flex-direction: column;
  gap: 30px;
  /* Reduced gap to match image */
  flex: 1.2;
  padding: 0px;
  justify-content: center;
  z-index: 1;
}

@media (max-width: 1100px) {
  .optimize-right {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px;
    padding: 0 !important;
    width: 100%;
    box-sizing: border-box;
  }

  .nda-pill {
    border-radius: 12px !important;
    /* Rectangle as requested */
    min-width: unset !important;
    width: 100% !important;
    padding: 15px 15px !important;
    font-size: 15px !important;
    white-space: normal !important;
    box-sizing: border-box !important;
    justify-content: flex-start !important;
  }
}

@media (max-width: 650px) {
  .optimize-right {
    grid-template-columns: 1fr !important;
    padding: 0 15px !important;
  }
}

.nda-pill {
  background-color: #eaf6e5;
  border-radius: 60px;
  padding: 15px 35px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  /* BOLD REMOVED */
  font-size: 24px;
  font-family: var(--font-heading);
  color: #000;
  min-width: 380px;
  width: fit-content;
  border: 1px solid rgba(84, 178, 72, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nda-pill:hover {
  transform: translateX(10px) scale(1.02);
}

.pill-offset-40 {
  margin-left: 40px;
}

@media (max-width: 1100px) {

  .pill-offset-40,
  .pill-offset-0 {
    margin-left: 0 !important;
  }
}

.pill-offset-0 {
  margin-left: 0;
}

@media (max-width: 900px) {
  .nda-pill {
    margin: 0 !important;
    /* Reset margin and remove offset */
    min-width: unset;
    width: 100%;
    /* Full width as requested */
    border-radius: 12px;
    /* Rectangular with border radius */
    font-size: 15px;
    padding: 12px 20px;
    white-space: normal;
    gap: 12px;
    box-sizing: border-box;
    text-align: left;
    /* Alignment can be adjusted to center if preferred, but usually full width looks good with icons left */
    display: flex;
    align-items: center;
  }

  .nda-pill:hover {
    transform: none;
    /* No hover effect on mobile */
  }
}

.nda-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Onboarding Section */
.onboarding-section {
  padding: 50px 0;
  background-color: #000;
  background: radial-gradient(ellipse at 25% 50%, rgba(84, 178, 72, 0.15) 0%, rgba(0, 0, 0, 1) 50%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
}

.onboarding-container {
  max-width: 1400px;
  width: 100%;
  display: flex !important;
  gap: 80px;
  align-items: flex-start;
  padding: 0 40px;
  margin: 0 auto;
  overflow: visible !important;
}

.onboarding-left {
  flex: 1;
  position: relative;
  align-self: stretch;
  /* CRITICAL: Must be full height of container */
}

.onboarding-sticky-wrapper {
  position: sticky;
  top: 120px;
  padding-bottom: 50px;
  height: fit-content;
  /* Only sticks if it's shorter than the parent */
}

.onboarding-title {
  font-size: 42px;
  color: var(--color-white);
  margin-bottom: 25px;
  font-weight: 700;
  line-height: 1.3;
  font-family: var(--font-heading);
}

.onboarding-text {
  color: #ffffff;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 500;
  margin-bottom: 50px;
  max-width: 550px;
  font-family: var(--font-body);
}

.onboarding-cta {
  background-color: #54b248;
  color: #fff;
  border: none;
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s;
}

.onboarding-cta:hover {
  background-color: #459a39;
}

.onboarding-right {
  flex: 1;
}

/* Timeline */
.timeline-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.timeline-list::before {
  content: '';
  position: absolute;
  top: 30px;
  bottom: 120px;
  left: 31px;
  /* Center aligned with the 64px icon */
  width: 1px;
  border-left: 2px dashed rgb(255, 255, 255);
  /* White dashed line */
  z-index: 1;
}

.timeline-item {
  display: flex;
  gap: 40px;
  position: relative;
  padding: 15px 0;
}

.timeline-icon-wrapper {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  flex-shrink: 0;
  padding: 0;
}

.timeline-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* If icons are dark, making them white: filter: brightness(0) invert(1); */
}

.timeline-content {
  flex: 1;
  padding-top: 2px;
}

.timeline-step {
  color: #54b248;
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 5px 0;
}

.timeline-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 8px 0;
  line-height: 16px;
}

.timeline-desc {
  color: #eeeeee;
  font-size: 16px;
  line-height: 20px;
  margin: 0;
  font-weight: 500;
  max-width: 600px;
}

@media (max-width: 900px) {
  .optimize-inner {
    padding: 0 15px;
    gap: 15px;
  }

  .optimize-left {
    border-radius: 0 100px 100px 0;
    padding: 25px 25px 25px 25px;
  }

  .optimize-title {
    font-size: 16px;
  }

  .optimize-text {
    font-size: 10px;
    max-width: 300px;
  }

  .optimize-right {
    padding-right: 15px;
  }

  .nda-pill {
    padding: 8px 15px;
    font-size: 11px;
    gap: 10px;
  }

  .nda-icon svg {
    width: 24px;
    height: 24px;
  }

  .onboarding-section {
    padding-top: 80px;
    padding-bottom: 50px;
  }

  .onboarding-container {
    flex-direction: column;
    gap: 60px;
  }

  .onboarding-left,
  .onboarding-sticky-wrapper {
    position: static;
    text-align: center;
  }
}

/* Softwares Section */
.softwares-section {
  padding: 50px 0;
  background-color: #050505;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
}

.softwares-container {
  max-width: 1400px;
  margin: 0 auto;
}

.softwares-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--color-white);
}

.softwares-subtitle {
  font-size: 18px;
  color: #ffffff;
  margin: 0 auto 40px auto;
  font-weight: 500;
  line-height: 1.6;
  max-width: 900px;
}

.softwares-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.software-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 185px;
  height: 80px;
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
}

.software-tag:hover {
  transform: translateY(-8px);
  filter: drop-shadow(5px 5px 0px var(--color-primary));
}

.software-tag img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.software-name {
  text-align: left;
}

.software-name-top {
  font-size: 10px;
  font-weight: 700;
  color: #666;
  margin: 0 0 2px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.software-name-bottom {
  font-size: 14px;
  font-weight: 700;
  color: #000;
  margin: 0;
  line-height: 1.2;
}

@media (max-width: 1200px) {
  .softwares-grid {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .softwares-section {
    padding: 40px 20px;
  }

  .softwares-title {
    font-size: 32px;
  }

  .softwares-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .software-tag {
    width: 140px;
    height: 100px;
  }

  .softwares-grid {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .software-tag {
    width: 120px;
    height: 80px;
  }
}

/* Awards Section */
.awards-section {
  padding: 40px 0;
  text-align: center;
  width: 100%;
}

.awards-title {
  font-size: 42px;
  /* Increased for prominence */
  font-weight: 700;
  margin: 0 0 15px 0;
  color: var(--color-white);
  line-height: 42px;
}

.awards-subtitle {
  font-size: 18px;
  font-weight: 500;
  color: #ffffff;
  margin: 0 auto 40px auto;
  line-height: 1.6;
  max-width: 800px;

}

.awards-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.awards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  align-items: center;
}

.award-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
  padding: 10px;
}

.award-tag:hover {
  transform: translateY(-8px);
  filter: drop-shadow(5px 5px 0px var(--color-primary));
}

.award-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .awards-section {
    padding: 40px 20px;
  }

  .awards-title {
    font-size: 32px;
  }

  .awards-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .award-logo {
    height: 60px;
  }

  .awards-grid {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .award-logo {
    height: 45px;
  }

  .awards-grid {
    gap: 15px;
  }
}

/* FAQ Section */
.faq-section {
  padding: 50px 40px;
  background: radial-gradient(circle at 50% 50%, rgba(84, 178, 72, 0.15) 0%, #000000 80%), #000000;
}

.faq-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--color-white);
  max-width: 1400px;
  margin: 0 auto 30px auto;
  text-align: left;
  line-height: 42px;
}

.faq-subtitle {
  font-size: 18px;
  max-width: 1400px;
  margin: 0 auto 40px auto;
  text-align: center;
  color: #ffffff;
  opacity: 0.8;
  line-height: 1.6;
}

/* Service-Specific Targeted FAQ Alignment */
.bim-service-page .faq-title,
.as-built-drawing-page .faq-title,
.point-cloud-bim-page .faq-title,
.mep-bim-services-page .faq-title {
  text-align: left !important;
  margin-bottom: 5px !important;
}

.bim-service-page .faq-subtitle,
.as-built-drawing-page .faq-subtitle,
.point-cloud-bim-page .faq-subtitle,
.mep-bim-services-page .faq-subtitle {
  text-align: left !important;
  margin-bottom: 40px !important;
}

.faq-list {
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
}

.faq-item {
  display: flex;
  flex-direction: column;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.faq-question-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0px 0px 0px;
}

.faq-question {
  font-family: var(--font-heading) !important;
  /* Switch to Montserrat for mockup match */
  font-size: 18px;
  /* Standard clean size */
  font-weight: 500;
  /* Bold as per image */
  color: var(--color-white);
  padding-right: 20px;
  line-height: 1.4;
}

.faq-icon {
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  /* Turns + into x or rotates appropriately */
}

/* Accordion Animation Logic */
.faq-answer-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: all 0.3s ease-out;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
}

.faq-item.active .faq-answer-wrapper {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
  padding-top: 10px;
  /* Slight gap from question when open */
}

.faq-answer {
  min-height: 0;
  font-size: 18px;
  line-height: 1.7;
  color: #bbb;
  padding-bottom: 15px;
}

.faq-footer {
  text-align: center;
  margin-top: 40px;
}

.faq-footer-text {
  font-size: var(--font-size-body);
  font-weight: 700;
  color: var(--color-white);
  margin: 0 0 15px 0;
  font-family: var(--font-heading);
}

.faq-btn {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  transition: background-color 0.2s;
}

.faq-btn:hover {
  background-color: var(--color-primary-dark);
}

/* Blogs Section */
.blogs-section {
  padding: 50px 40px;
  background-color: #060606;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.blogs-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1400px;
  margin: 0 auto 50px auto;
}

.blogs-title {
  font-size: 42px;
  /* Increased for prominence */
  font-weight: 700;
  color: var(--color-white);
  margin: 0 0 15px 0;
  font-family: var(--font-heading);
  line-height: 42px;
}

.blogs-subtitle {
  font-size: 18px;
  color: #ffffff;
  margin: 0;
  line-height: 1.6;
  font-weight: 500;
}

.blogs-header-btn {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  transition: background-color 0.2s;
}

.blogs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.blog-card {
  flex: 1;
  background-color: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.blog-card-img {
  width: 100%;
  position: relative;
  overflow: hidden;
  background-color: var(--color-white);
  line-height: 0;
}

.blog-card-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.blog-img-content {
  position: relative;
  z-index: 2;
  width: 60%;
}

.blog-img-title {
  color: var(--color-white);
  font-size: var(--font-size-body);
  font-weight: 700;
  margin: 0 0 10px 0;
  line-height: 1.3;
  font-family: var(--font-heading);
}

.blog-img-subtitle {
  color: #ff3399;
  font-size: var(--font-size-caption);
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
}

.blog-robot-img {
  position: absolute;
  right: -20px;
  bottom: 0;
  height: 95%;
  object-fit: contain;
  z-index: 1;
}

.blog-card-content {
  padding: 20px 25px;
}

.blog-date {
  color: #000000;
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 400;
}

.blog-title {
  font-size: 17px;
  color: var(--color-primary);
  font-weight: 600;
  margin: 0 0 8px 0;
  font-family: var(--font-heading);
}

.blog-desc {
  color: #000;
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}

/* Contact Section */
.contact-section {
  padding: 50px 40px;
  background-color: #000;
}

.contact-inner {
  display: flex;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-inner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(84, 178, 72, 0.15) 0%, transparent 70%);
  transform: translateY(-50%);
  pointer-events: none;
}

.contact-left {
  flex: 0.8;
  position: sticky;
  top: 100px;
}

.contact-title {
  margin: 0 0 25px 0;
  line-height: 1.1;
  font-family: var(--font-heading);
}

.contact-title .text-primary {
  color: var(--color-primary);
  font-size: 42px;
  font-weight: 700;
  display: block;
  margin-bottom: 15px;
}

.contact-title .text-white {
  color: var(--color-white);
  font-size: 42px;
  font-weight: 700;
  display: block;
}

.contact-subtitle {
  font-size: 18px;
  color: #ffffff;
  margin: 0 0 30px 0;
  line-height: 1.4;
  max-width: 550px;
  font-weight: 500;
}

.contact-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  row-gap: 40px;
  column-gap: 40px;
}

.contact-stats-vertical-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40%;
  width: 1px;
  background: linear-gradient(to bottom, rgba(84, 178, 72, 0) 0%, rgba(84, 178, 72, 1) 25%, rgba(84, 178, 72, 0) 40%, rgba(84, 178, 72, 0) 60%, rgba(84, 178, 72, 1) 75%, rgba(84, 178, 72, 0) 100%);
  box-shadow: 0 0 10px 1px rgba(84, 178, 72, 0.4);
  transform: translateX(-50%);
}

.contact-stats-horizontal-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 20%;
  height: 1px;
  background: linear-gradient(to right, rgba(84, 178, 72, 0) 0%, rgba(84, 178, 72, 1) 25%, rgba(84, 178, 72, 0) 40%, rgba(84, 178, 72, 0) 60%, rgba(84, 178, 72, 1) 75%, rgba(84, 178, 72, 0) 100%);
  box-shadow: 0 0 10px 1px rgba(84, 178, 72, 0.4);
  transform: translateY(-50%);
}

.contact-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 15px 0;
}


/* ============================================
   Contact Section
   ============================================ */


.contact-stat-icon {
  margin-bottom: 0px;
}

.contact-stat-value {
  font-size: 26px;
  font-weight: 500;
  color: var(--color-white);
  margin: 0;
  font-family: var(--font-heading);
  line-height: 28px;
}

.contact-stat-label {
  font-size: 16px;
  color: #ffffff;
  font-weight: 500;
  margin: 0;
  line-height: 18px;
}

.contact-right {
  flex: 1.2;
}

.contact-form-wrapper {
  background-color: var(--color-white);
  padding: 40px 50px;
  border-radius: 2px;
  border: 4px solid var(--color-primary);
  width: 100%;
  box-sizing: border-box;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: #111;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid rgba(84, 178, 72, 0.4);
  border-radius: 2px;
  font-family: inherit;
  font-size: 13px;
  background: var(--color-white);
  color: #111;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
  display: block;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #aaa;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--color-primary);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.select-wrapper {
  position: relative;
}

.select-wrapper select {
  appearance: none;
  cursor: pointer;
  color: #aaa;
}

.select-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.custom-checkbox {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(84, 178, 72, 0.6);
  border-radius: 2px;
  flex-shrink: 0;
}

.terms-text {
  font-size: 16px;
  font-weight: 500;
  color: #111;
  line-height: 18px;
}

.contact-submit {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  padding: 12px 28px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  transition: background-color 0.2s;
}

.contact-submit:hover {
  background-color: var(--color-primary-dark);
}

@media (max-width: 900px) {
  .blogs-header {
    flex-direction: column;
    gap: 20px;
  }

  .blogs-grid {
    flex-direction: column;
  }

  .contact-inner {
    flex-direction: column;
  }

  .form-row {
    flex-direction: column;
    gap: 20px;
  }
}

/* Footer Section */
.footer-section {
  background-color: var(--color-black);
  border-top: 1px solid rgba(84, 178, 72, 0.4);
  padding: 60px 40px 0;
}

.footer-container {
  max-width: 100%;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(84, 178, 72, 0.4);
}

.footer-brand {
  flex: 0 0 320px;
  padding-right: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
}

.footer-logo-text {
  font-size: var(--font-size-h2);
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.5px;
  font-family: var(--font-heading);
}

.footer-desc {
  font-size: 22px;
  color: #eeeeee;
  line-height: 26px;
  margin: 0;
  font-weight: 500;
}

.footer-links-wrapper {
  display: flex;
  gap: 60px;
  flex: 1;
  justify-content: space-between;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-col-title {
  color: var(--color-white);
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 10px 0;
  font-family: var(--font-heading);
}

.footer-link {
  color: #cccccc;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  transition: color 0.2s;
  line-height: 18px;
}

.footer-link:hover {
  color: var(--color-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0;
}

.footer-copyright {
  color: #eeeeee;
  font-size: var(--font-size-caption);
  font-weight: 500;
  margin: 0;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.2s;
}

.social-icon:hover {
  background-color: var(--color-white);
  transform: translateY(-2px);
}

@media (max-width: 1100px) {
  .footer-top {
    padding: 0 40px;
    gap: 40px;
    flex-wrap: wrap;
    /* Prevent out of screen */
    justify-content: flex-start;
  }

  .footer-brand {
    flex: 0 0 100%;
    /* Take full width on top for better space */
    margin-bottom: 20px;
    padding-right: 0;
  }

  .footer-links-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
  }
}

@media (max-width: 900px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 20px;
  }

  .footer-links-wrapper {
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-brand {
    padding-right: 0;
    flex: auto;
  }
}

/* =========================================
   COMPREHENSIVE RESPONSIVE STYLING
========================================= */

@media (max-width: 1400px) {
  .navbar {
    padding: 20px 40px;
  }

  .hero h1 {
    font-size: var(--font-size-h1);
  }

  .contact-inner {
    gap: 40px;
    padding: 0 20px;
  }

  .stats-grid,
  .industries-grid {
    padding: 0 30px;
  }

  .footer-container {
    padding: 0 30px;
  }

  .usa-map-content {
    gap: 30px;
    padding: 0 20px;
  }

  .services-grid {
    padding: 0 20px;
  }
}

/* Stacking handled at 1100px above for Contact Section */

@media (max-width: 992px) {
  .navbar {
    padding: 15px 30px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    align-items: flex-start;
    padding-top: 100px;
    height: auto;
    min-height: 500px;
  }

  .hero h1 {
    font-size: var(--font-size-h1);
    margin-bottom: 20px;
  }

  .floating-form-wrapper {
    margin-top: -30px;
  }

  .form-inputs {
    flex-wrap: wrap;
    gap: 10px;
  }

  .form-input {
    flex: 0 0 calc(33.333% - 10px);
  }

  .form-submit {
    flex: 0 0 calc(33.333% - 10px);
  }

  .project-card {
    flex: 0 0 auto;
    width: 340px;
  }

  .usa-map-content {
    flex-direction: column;
  }

  .usa-map-list-col {
    width: 100%;
    justify-content: center;
    margin-top: 30px;
  }

  .optimize-inner {
    padding: 0 20px;
    gap: 20px;
  }

  .optimize-left {
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100% !important;
    box-sizing: border-box;
    margin: 0 !important;
    flex: none;
    /* Prevents overflow behavior */
  }

  .optimize-title {
    font-size: var(--font-size-h2);
  }

  .optimize-text {
    font-size: 18px;
  }

  .optimize-right {
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .nda-pill {
    width: 100% !important;
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 14px;
    margin: 0 !important;
    max-width: none;
    justify-content: flex-start;
    display: flex;
    align-items: center;
    box-sizing: border-box;
  }

  .nda-pill:hover {
    transform: none;
  }

  /* Contact Section Stacking handled at line 1600 area */
  .contact-stats {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    max-width: 500px;
    margin: 40px auto 0;
  }

  .contact-stats-vertical-line {
    left: 45% !important;
    display: block !important;
  }

  .contact-stats-horizontal-line {
    left: 0 !important;
    right: 5% !important;
    top: 50% !important;
    display: block !important;
  }

  .contact-right {
    padding: 30px;
    border-width: 2px;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links-wrapper {
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-brand {
    flex: auto;
    padding-right: 0;
  }
}

@media (max-width: 1024px) {
  .onboarding-container {
    flex-direction: column;
    gap: 40px;
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .onboarding-text {
    max-width: 100% !important;
    width: 100% !important;
    font-size: 16px;
  }

  .onboarding-title {
    font-size: 26px !important;
  }

  .onboarding-left {
    text-align: center;
  }

  .onboarding-title {
    font-size: var(--font-size-h2);
  }

  .onboarding-text {
    font-size: 15px;
    margin-left: auto;
    margin-right: auto;
  }

  .navbar {
    padding: 15px 20px;
  }

  .btn-contact {
    padding: 8px 16px;
    font-size: 12px;
  }

  .logo-container img {
    height: 32px !important;
  }

  .hero {
    padding-top: 80px;
  }

  .hero-slider-btn {
    display: none;
  }

  .clients-section,
  .services-section,
  .projects-section,
  .discussion-section,
  .testimonials-section,
  .usa-map-section,
  .industries-section,
  .cta-section,
  .softwares-section,
  .awards-section,
  .faq-section,
  .blogs-section,
  .contact-section {
    padding: 40px 20px;
  }

  .clients-logos {
    gap: 10px;
  }

  .client-logo {
    min-width: 120px;
    padding: 10px;
    height: 60px;
  }

  .discussion-title {
    font-size: 26px;
  }

  .projects-header {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }

  .projects-title {
    font-size: 24px;
  }

  .testimonial-card {
    flex-direction: column;
  }

  .testimonial-image-col {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    flex: none;
    margin-bottom: 20px;
  }

  .testimonial-content-col {
    padding: 20px;
  }

  .testimonial-quote-icon {
    font-size: 50px;
  }

  .testimonial-controls {
    position: relative;
    right: auto;
    bottom: auto;
    justify-content: center;
    margin-top: 20px;
  }

  .stat-card {
    min-width: calc(50% - 10px);
    max-width: 250px;
  }

  .industries-grid {
    flex-direction: column;
    align-items: center;
  }

  .industry-card {
    flex: 0 0 100%;
    width: 100%;
    max-width: 360px;
    min-width: auto;
  }

  .softwares-section {
    padding: 40px 0 !important;
    width: 100% !important;
    box-sizing: border-box;
    overflow: hidden;
  }

  .softwares-title {
    font-size: 24px !important;
    padding: 0 20px;
    max-width: 100%;
    box-sizing: border-box;
    line-height: 1.3;
  }

  .softwares-subtitle {
    margin-bottom: 30px;
    font-size: 14px;
    padding: 0 20px;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .softwares-grid {
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .software-tag {
    flex: 0 0 calc(50% - 8px);
    width: calc(50% - 8px);
    min-width: unset;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
  }

  .blogs-grid {
    display: flex !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: 1400px;
  }

  /* Tablets (iPad) - Keep 3 Columns as requested before */
  @media (min-width: 851px) {
    .blogs-grid {
      flex-direction: row !important;
      justify-content: space-between !important;
    }

    .blog-card {
      width: 31% !important;
      flex: none !important;
    }
  }

  /* Small Tablets & Mobile - Stack Vertically */
  @media (max-width: 850px) {
    .blogs-grid {
      flex-direction: column !important;
      gap: 30px !important;
      align-items: center !important;
    }

    .blog-card {
      width: 100% !important;
      max-width: 100% !important;
      flex: none !important;
      min-width: unset !important;
    }
  }

  .blog-card-img {
    height: 220px;
  }

  .awards-section {
    padding: 40px 0 !important;
    width: 100% !important;
    box-sizing: border-box;
  }

  .contact-title {
    font-size: var(--font-size-h2);
  }

  .contact-right {
    padding: 20px 0px;
  }

  .awards-title {
    font-size: 26px !important;
    padding: 0 15px;
    box-sizing: border-box;
    line-height: 1.3;
  }

  .awards-subtitle {
    font-size: 14px;
    padding: 0 15px;
    margin-bottom: 30px;
  }

  .contact-stats {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 850px;
    /* Aligned with form width */
    margin: 40px auto 0;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 24px;
    white-space: normal !important;
    word-break: break-word;
  }

  .services-title {
    font-size: 26px;
  }

  .optimize-inner {
    flex-direction: column;
  }

  .optimize-left {
    border-radius: 12px;
    text-align: center;
    padding: 30px 20px;
    width: 100% !important;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .optimize-title {
    max-width: 100%;
  }

  .optimize-text {
    max-width: 100%;
  }

  .optimize-right {
    padding-right: 0;
    align-items: center;
  }

  .nda-pill {
    width: 100%;
    margin: 0 !important;
  }

  .contact-right {
    padding: 20px 0px;
  }

  .form-row {
    flex-direction: column;
    gap: 15px;
  }

  .footer-links-wrapper {
    flex-direction: column;
    gap: 30px;
    align-items: center;
    text-align: center;
  }

  .footer-col-title {
    font-size: var(--font-size-body);
  }

  .footer-links-col {
    align-items: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-bottom {
    padding: 30px 0;
  }

  .awards-grid {
    flex-direction: column;
  }

  .award-logo-box {
    width: 100%;
  }
}

/* Responsive updates for About Section Slider Image */
@media (max-width: 1024px) {
  .about-section {
    flex-direction: column !important;
    text-align: center !important;
    padding: 60px 20px !important;
    gap: 40px !important;
  }

  .about-text {
    padding-right: 0 !important;
    flex: 1 !important;
    text-align: center !important;
  }

  .about-text p {
    text-align: center !important;
  }

  .about-title {
    text-align: center !important;
  }

  .about-image-wrapper {
    width: 100% !important;
    min-width: unset !important;
    max-width: 680px !important;
    height: auto !important;
    margin: 0 auto !important;
    flex: none !important;
  }
}

@media (max-width: 600px) {
  .about-image-wrapper {
    height: auto !important;
  }

  .about-title {
    font-size: 26px !important;
  }

  .discussion-title {
    font-size: 24px !important;
    line-height: 1.4 !important;
  }

  .discussion-subtitle {
    font-size: 16px !important;
  }
}

/* Video Modal Styles - Testimonials */
.video-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  animation: fadeInModal 0.3s forwards ease-in-out;
}

@keyframes fadeInModal {
  to {
    opacity: 1;
  }
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  background: #000;
  border-radius: 12px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  animation: scaleUpModal 0.3s forwards ease-out;
}

@keyframes scaleUpModal {
  to {
    transform: scale(1);
  }
}

.video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  color: #fff;
  border: none;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
  z-index: 100;
}

.video-modal-close:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .video-modal-close {
    top: -35px;
    right: 5px;
  }
}

.video-modal-iframe-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
}

.video-modal-iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ============================================================ 
   CRITICAL MOBILE FIXES (Solves the "Black Void" & Spacing)
   ============================================================ */
@media (max-width: 768px) {

  /* Reset global padding for mobile */
  .navbar {
    padding: 12px 15px !important;
  }

  .hero-content {
    padding: 0 15px !important;
  }

  .clients-section,
  .about-section,
  .services-section,
  .pricing-section,
  .projects-section,
  .new-projects-section,
  .testimonials-section,
  .usa-map-section,
  .cta-section,
  .awards-section,
  .faq-section,
  .blogs-section,
  .contact-section,
  .softwares-section {
    padding: 40px 15px !important;
  }

  /* Fix overflowing long words in FAQ questions */
  .faq-question {
    font-size: 16px !important;
    word-break: break-word !important;
    hyphens: auto;
    padding-right: 15px;
  }

  /* Force 100% width on all major containers */
  .faq-container,
  .blogs-header,
  .blogs-grid,
  .contact-inner,
  .industries-header,
  .values-grid,
  .new-projects-center-container,
  .about-content,
  .services-grid,
  .testimonial-card,
  .usa-map-content {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Fix Blog Grid stacking */
  .blogs-grid {
    flex-direction: column !important;
    gap: 20px !important;
  }

  /* Ensure the body doesn't allow any horizontal push */
  body,
  html {
    overflow-x: hidden !important;
    position: relative;
    width: 100%;
  }
}