@import url("https://fonts.googleapis.com/css2?family=Public+Sans:wght@300;400;500;600;700&display=swap");

/* --- Global Refinements --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --ease-out-quint: cubic-bezier(0.23, 1, 0.32, 1);
  --transition-speed-fast: 0.3s;
  --transition-speed-medium: 0.5s;
  --transition-speed-slow: 0.7s;
  --primary-color-light: #f0a09a;
  --primary-color-dark: #c45a53;
  --primary-color-xlight: #feedec;
  --primary-color: #e66c64; /* Your Red */
  --dark-background: #111827; /* A deep, rich dark color that complements the red */
  --light-text-on-dark: #e0e0e0;
  --text-dark: #333;
  --text-medium: #555;
  --text-light: #777;
  --background-white: #fff;
  --background-light-gray: #f9f9f9;
  --border-light: #e0e0e0;
  --section-padding-y: clamp(60px, 8vw, 100px);
}

/* === MODIFICATION: Smooth Scrolling & Page Load Animation === */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Public Sans", sans-serif;
  font-weight: 400;
  font-size: clamp(15px, 1vw, 17px);
  background-color: #fff;
  color: #111;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Adds a fade-in animation to the entire page on load */
  animation: fadeIn 1s ease-in-out;
}

/* Keyframes for the body fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* === END MODIFICATION === */


/* === DEFINITIVE FIX: START === */
/* The original rule is split. Flexbox is now ONLY applied to <section> tags. */
section {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  scroll-snap-align: start;
}

/* The hero is a simple container, allowing its children's positioning to work correctly. */
main.hero {
  min-height: 100svh;
  scroll-snap-align: start;
}
/* === DEFINITIVE FIX: END === */


footer.contact-footer {
  min-height: 50svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  scroll-snap-align: start;
}
/* --- Accessibility Helper --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* --- MODIFICATION: Enhanced Scroll Animation --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px); /* Start elements slightly lower */
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform; /* Performance optimization hint */
}

.animate-in {
  opacity: 1;
  transform: translateY(0);
}
/* --- END MODIFICATION --- */


/* --- Global Container for content blocks --- */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
  width: 100%;
}

/* --- Section Spacing --- */
.about-section,
.stats-section,
.services-section,
.projects-section,
.executives-section {
  padding: clamp(80px, 12vw, 160px) clamp(20px, 5vw, 50px);
}

.about-section h2 strong,
.stats-section h2 strong,
.services-section h2 strong {
  color: #e66c64;
  font-weight: 700;
}

/* --- Navbar --- */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 5vw, 50px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: none;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.navbar--hidden {
  transform: translateY(-100%);
}
.logo img {
  height: 30px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-links a {
  text-decoration: none;
  color: #111;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition-speed-fast) var(--ease-out-quint);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: #e66c64;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -4px;
  left: 0;
  background-color: #e66c64;
  transition: width var(--transition-speed-fast) var(--ease-out-quint);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}
.dropdown-toggle {
  color: #111;
  font-size: 0.9rem;
  font-weight: 500;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(0px);
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0;
  opacity: 0;
  pointer-events: none;
  min-width: 200px;
  padding: 8px 0;
  z-index: 100;
  transition:
    opacity var(--transition-speed-fast) var(--ease-out-quint) 0.15s,
    transform var(--transition-speed-fast) var(--ease-out-quint) 0.15s;
}
.dropdown:hover .dropdown-menu {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
  transition-delay: 0s;
}
.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: #111;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  transition:
    background-color var(--transition-speed-fast) var(--ease-out-quint),
    color var(--transition-speed-fast) var(--ease-out-quint);
}
.dropdown-menu a:hover {
  background-color: transparent;
  color: #e66c64;
}
.dropdown-menu a::after {
  display: none;
}

/* Mobile Navigation Styles */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #333;
  cursor: pointer;
  z-index: 1001; /* Above the navbar's z-index */
}

/* --- Hero Section --- */
.hero {
  position: relative;
  /* Flexbox properties removed. Padding is used for vertical alignment. */
  padding-top: 25vh; /* Pushes content down from the top */
  padding-left: clamp(20px, 5vw, 50px);
  padding-right: clamp(20px, 5vw, 50px);
  background-color: #f5f5f5;
  overflow: hidden;
  text-align: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 40px;
  color: #111;
}

.hero-video {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1100px;
  z-index: 1;
  filter: grayscale(100%);
  opacity: 0.3;
  pointer-events: none;
}
.hero-video video {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0;
}

/* --- Buttons --- */
.btn {
  padding: 14px 28px;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  border-radius: 0;
  transition: all var(--transition-speed-fast) var(--ease-out-quint);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn.primary {
  background-color: #e66c64;
  color: white;
  border: 1px solid #e66c64;
  box-shadow: none;
}
.btn.primary:hover {
  background-color: #111;
  border-color: #111;
  color: #fff;
  transform: none;
  box-shadow: none;
}

.btn.outline {
  background-color: transparent;
  color: #111;
  border: 1px solid #111;
  box-shadow: none;
}
.btn.outline .text i {
  color: #e66c64;
  transition:
    color var(--transition-speed-fast) var(--ease-out-quint),
    transform var(--transition-speed-fast) var(--ease-out-quint);
}
.btn.outline:hover {
  background-color: #111;
  border-color: #111;
  color: #fff;
  transform: none;
  box-shadow: none;
}
.btn.outline:hover .text i {
  color: #fff;
}
.btn.outline .arrow-down {
  display: none;
}

/* --- About Section --- */

.about-intro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: clamp(50px, 8vw, 100px);
  align-items: stretch;
}
.about-text-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.about-text-group h2 {
  font-size: clamp(1.5rem, 2vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 15px;
  color: #111;
}

.about-text-group h3 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: #111;
  margin-bottom: 25px;
  line-height: 1.4;
}
.about-text-group p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.7;
  color: #111;
  margin-bottom: 0;
}
.about-main-image,
.about-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  border: 1px solid rgba(0, 0, 0, 0.1);
  max-height: 500px;
}
.about-icon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 30px);
  margin-top: 40px;
}
.about-icon-item {
  display: flex;
  align-items: center;
  gap: 15px;
}
.about-icon-item .icon {
  background-color: #e66c64;
  color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: all var(--transition-speed-fast) var(--ease-out-quint);
}
.about-icon-item:hover .icon {
  background-color: #fff;
  color: #e66c64;
  transform: none;
}
.about-icon-item h4 {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  font-weight: 600;
  margin: 0;
  color: #111;
  line-height: 1.4;
}

/* --- Stats Section --- */
.stats-section {
  background-color: #fff;
  position: relative;
  z-index: 10;
}
.stats-header {
  text-align: center;
  margin: 0 auto 80px;
  max-width: 700px;
}
.stats-section h2 {
  font-size: clamp(1.5rem, 2vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 15px;
  color: #111;
}
.stats-section h2 span {
  color: #111;
  font-weight: 700;
}
.stats-section h2 strong {
  color: #e66c64;
  font-weight: 700;
}
.stats-description {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 400;
  color: #111;
  line-height: 1.4;
}
.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  border-radius: 0;
  overflow: hidden;
}
.stat {
  padding: 40px;
  text-align: left;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}
.stat:last-child {
  border-right: none;
}
.stat h3 {
  color: #e66c64;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  margin-top: 5px;
  line-height: 1.3;
}
.stat .highlight {
  font-size: clamp(3.5rem, 8vw, 6rem);
  color: black;
  font-weight: 600;
  line-height: 1;
}

/* --- Services Section (Accordion) --- */
.services-section > div {
  width: 100%;
  max-width: 2000px;
}
.services-section h2 {
  font-size: clamp(1.5rem, 2vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 15px;
  color: #111;
  text-align: center;
}
.services-description {
  font-size: clamp(1.2rem, 1.5vw, 1.5rem);
  font-weight: 400;
  color: #111;
  margin-bottom: 25px;
  line-height: 1.4;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.new-services-container {
  max-width: none;
  margin: 50px 0 0;
  padding: 0;
}
.service-item-large {
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
}
.service-item-large:last-child {
  border-bottom: none;
}
.service-main-content {
  display: flex;
  align-items: center;
  gap: clamp(15px, 3vw, 30px);
  cursor: pointer;
}
.service-icon-large {
  color: #e66c64;
  font-size: clamp(1.5rem, 3vw, 2rem);
  width: 40px;
  text-align: center;
  flex-shrink: 0;
}
.service-icon-large .roof-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.service-link {
  text-decoration: none;
  color: #111;
  flex-grow: 1;
}
.service-title-large {
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  transition: color var(--transition-speed-fast) var(--ease-out-quint);
}
.service-link:hover .service-title-large {
  color: #e66c64;
}
.service-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  color: #333;
}
.service-toggle-btn i {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  transition: transform 0.4s var(--ease-out-quint);
}
.service-item-large.open .service-toggle-btn i {
  transform: rotate(180deg);
  color: #e66c64;
}
.service-details-collapse {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.5s var(--ease-out-quint),
    opacity 0.5s ease-in-out,
    padding 0.5s var(--ease-out-quint);
  padding: 0 clamp(20px, 6vw, 70px);
}
.service-item-large.open .service-details-collapse {
  max-height: 400px;
  opacity: 1;
  padding: 1.5rem clamp(20px, 6vw, 70px) 0;
}
.service-details-collapse ul {
  list-style: none;
  padding-left: 0;
}
.service-details-collapse li {
  font-size: 0.9rem;
  color: #111;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

/* STAGGERED SERVICE ANIMATION */
.new-services-container > .service-item-large {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 0.6s var(--ease-out-quint),
    transform 0.6s var(--ease-out-quint);
  will-change: opacity, transform;
}
.services-section.is-visible .new-services-container > .service-item-large {
  opacity: 1;
  transform: translateX(0);
}
.services-section.is-visible .new-services-container > .service-item-large:nth-child(1) {
  transition-delay: 0.1s;
}
.services-section.is-visible .new-services-container > .service-item-large:nth-child(2) {
  transition-delay: 0.25s;
}
.services-section.is-visible .new-services-container > .service-item-large:nth-child(3) {
  transition-delay: 0.4s;
}
.services-section.is-visible .new-services-container > .service-item-large:nth-child(4) {
  transition-delay: 0.55s;
}

/* --- Projects Section (Homepage Slider) --- */
.projects-section {
  background-color: #f5f5f5;
  color: #111;
  overflow: hidden;
}
.projects-section h2 {
  text-align: center;
  font-size: clamp(1.5rem, 2vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 5px;
  color: #111;
}
.projects-section h2 span {
  font-weight: 400;
  color: #111;
}
.projects-section h2 strong {
  color: #e66c64;
}
.projects-description {
  text-align: center;
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  color: #111;
  max-width: 700px;
  margin: 0 auto 50px;
  line-height: 1.7;
}
.project-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 30px 0 40px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 9px 18px;
  font-size: 0.8rem;
  font-weight: 500;
  background-color: transparent;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 5px;
  cursor: pointer;
  transition: all var(--transition-speed-fast) var(--ease-out-quint);
}
.filter-btn:hover {
  background-color: #fff;
  color: #111;
}
.filter-btn.active {
  background-color: #e66c64;
  color: #fff;
  border-color: #e66c64;
}

.project-slider {
  position: relative;
  width: 100%;
  padding: 40px 0;
}
.project-track {
  display: flex;
  align-items: center;
  will-change: transform;
}
.project-card {
  flex: 0 0 clamp(320px, 35vw, 450px);
  width: clamp(620px, 65vw, 650px);
  margin: 0 0.5vw;
  text-align: left;
  transform: scale(0.85);
  opacity: 0.6;
  transition:
    transform 0.5s var(--ease-out-quint),
    opacity 0.5s var(--ease-out-quint);
  cursor: pointer;
}
.project-card.active {
  transform: scale(1);
  opacity: 1;
  cursor: default;
}
.project-card img {
  width: clamp(620px, 65vw, 650px);
  height: clamp(400px, 55vh, 650px);
  display: block;
  object-fit: cover;
  margin-bottom: 25px;
  -webkit-user-drag: none;
  user-select: none;
}

.project-card .project-title {
  font-size: clamp(1.8rem, 2.4vw, 1.8rem);
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
  color: #111;
}
.project-card .project-description {
  font-size: 1.0rem;
  color: #e66c64;
  margin-bottom: 15px;
  line-height: 1.5;
}

/* Subtle "Learn More" Button Style */
.learn-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: transparent;
  color: #111;
  padding: 0;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  transition: color var(--transition-speed-fast) var(--ease-out-quint);
  position: relative;
}
.learn-more-btn::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: -4px;
  left: 0;
  background-color: #e66c64;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-speed-fast) var(--ease-out-quint);
}
.learn-more-btn:hover {
  color: #222;
}
.learn-more-btn:hover::after {
  transform: scaleX(1);
}
.learn-more-btn i {
  transition: transform var(--transition-speed-fast) var(--ease-out-quint);
}
.learn-more-btn:hover i {
  transform: translateX(4px);
}

/* Carousel Navigation Button Styles */
.carousel-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-60%);
  z-index: 10;
  background: #fff;
  color: #e66c64;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.3s var(--ease-out-quint),
    opacity 0.3s ease;
}
.carousel-btn:hover {
  transform: translateY(-50%) scale(1.1);
}
.carousel-btn.prev {
  left: 30px;
}
.carousel-btn.next {
  right: 30px;
}
.carousel-btn.is-hidden {
  opacity: 0;
  pointer-events: none;
}

/* --- Leadership Section (New Design) --- */
.leadership-section {
  background-color: #fff;
  padding: clamp(80px, 12vw, 140px) 20px;
}
.leadership-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 70px;
}
.leadership-intro h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 15px;
}
.leadership-intro p {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  color: #555;
  line-height: 1.7;
}

/* UPDATED: Changed from a flex column to a 2x2 grid */
.leadership-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* This creates two equal columns */
  gap: 100px 60px; /* Vertical gap | Horizontal gap */
  max-width: 1200px; /* Widen the container for the grid */
  margin: 0 auto;
}

/* The styles for the individual member cards remain the same */
.leadership-member {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: flex-start;
}
.leadership-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: filter 0.4s ease;
}
.leadership-member:hover .leadership-image img {
  filter: grayscale(0%);
}
.leadership-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 15px;
  margin-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}
.leadership-name-title h3 {
  text-transform: uppercase;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #111;
  margin: 0;
}
.leadership-name-title .title {
  font-size: 1rem;
  color: #555;
  margin-top: 2px;
}
.leadership-email-icon {
  color: #a0a0a0;
  font-size: 1.5rem;
  text-decoration: none;
  transition: color 0.3s ease;
}
.leadership-email-icon:hover {
  color: var(--primary-color); /* Use your theme color on hover */
}
.leadership-bio p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #333;
}

/* --- Contact Footer --- */
.new-footer {
  background-color: var(--dark-background);
  color: var(--light-text-on-dark);
  padding: clamp(60px, 10vw, 100px) 20px 30px;
  min-height: auto;
  scroll-snap-align: start; /* Hooks the footer into the page's scroll-snapping */
}
.new-footer a {
  color: inherit;
  text-decoration: none;
}
.new-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 50px;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-cta h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #fff;
  font-weight: 600;
  line-height: 1.4;
  margin-right: 20px;
}
.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.footer-nav-col a {
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}
.footer-nav-col a:hover {
  color: var(--primary-color);
}
.footer-contact-info h4 {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-contact-info p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 15px;
}
.footer-social-icons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer-social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 4px;
  font-size: 1rem;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}
.footer-social-icons a:hover {
  background-color: var(--primary-color);
}
.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom-logo {
  height: 25px;
  width: auto;
}

.contact-form .form-row {
  display: flex;
  gap: 15px;
}
.contact-form .form-row > div {
  flex: 1;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 15px;
  border-radius: 0;
  font-size: 0.9rem;
  transition:
    border-color var(--transition-speed-fast) var(--ease-out-quint),
    box-shadow var(--transition-speed-fast) var(--ease-out-quint);
}
/* --- NEW: Contact Page Styles --- */
.contact-page-section {
  padding: clamp(60px, 10vw, 120px) 20px;
  background-color: #fff;
  min-height: auto; /* Override full-screen height for this page */
}
.contact-page-header {
  text-align: center;
  margin-bottom: 60px;
}
.contact-page-header h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 15px;
}
.contact-page-header p {
  font-size: 1.1rem;
  color: var(--text-medium);
  max-width: 600px;
  margin: 0 auto;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-top: 5px;
  width: 25px;
  text-align: center;
}
.contact-item-text h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 5px;
}
.contact-item-text p {
  font-size: 1rem;
  color: var(--text-medium);
  line-height: 1.6;
}
.contact-link {
  color: var(--text-medium);
  text-decoration: none;
  transition: color 0.3s ease;
}
.contact-link:hover {
  color: var(--primary-color);
}

/* NEW STYLES FOR FORM ON A LIGHT BACKGROUND */
.contact-form-container .contact-form input,
.contact-form-container .contact-form textarea,
.contact-form-container .contact-form select {
  background-color: #fff;
  border: 1px solid #222;
  color: var(--text-dark);
}
.contact-form-container .contact-form input::placeholder,
.contact-form-container .contact-form textarea::placeholder {
  color: #6c757d;
}
.contact-form-container .contact-form select {
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23333333%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.4-5.4-13z%22%2F%3E%3C%2Fsvg%3E");
}
.contact-form-container .contact-form input:focus,
.contact-form-container .contact-form textarea:focus,
.contact-form-container .contact-form select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(230, 108, 100, 0.25);
  background-color: #fff;
}
.form-success-message {
  border: 1px solid #4caf50;
  background-color: #e8f5e9;
  color: #2e7d32;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.form-success-message h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
}
.form-success-message p {
  margin-bottom: 0;
  font-size: 1rem;
  color: #333;
}

/* --- Shared Service Page Styles --- */
h2.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 300;
  color: var(--text-dark);
  margin-bottom: 15px;
  text-transform: uppercase;
  line-height: 1.3;
  margin-left: -200px;
}
h2.section-title span {
  font-weight: 300;
}
h2.section-title strong {
  color: var(--primary-color);
  font-weight: 700;
}

/* ======================================================= */
/* ==         CORRECTED FAQ SECTION STYLES              == */
/* ======================================================= */

.service-faq {
  background-color: #faf8f5; /* Light background for the section */
  padding: var(--section-padding-y) clamp(20px, 5vw, 50px);
  min-height: auto;
}

.faq-header {
  padding-bottom: 20px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-light);
}

.faq-header h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--text-dark);
}

/* This is the container for all the individual FAQ items */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px; /* Adds space between each question block */
}

/* This targets each individual Question/Answer block. THIS IS THE CORRECTED SELECTOR */
.faq-item {
  padding: 25px 30px;
  border-radius: 8px;
  cursor: pointer;
  transition:
    box-shadow var(--transition-speed-fast) ease,
    border-color var(--transition-speed-fast) ease;
}

.faq-item:hover {
  border-color: var(--primary-color-light);
}

/* This targets the question (h3) inside the block */
.faq-item h3 {
  font-size: 1.1rem;
  font-weight: 500;
  
  margin: 0;
  color: var(--text-dark);
  transition: color var(--transition-speed-fast) ease;
}

.faq-item:hover h3 {
  color: var(--primary-color);
}

/* --- THE CORE FIX: HIDE THE ANSWER BY DEFAULT --- */
/* This targets the answer paragraph (p) inside the block */
.faq-item p {
  font-size: 1rem;
  color: var(--text-medium);
  line-height: 1.75;
  /* This is what hides it */
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  padding-top: 0;
  /* This creates the smooth animation */
  transition:
    max-height 0.5s var(--ease-out-quint),
    opacity 0.4s 0.1s ease,
    margin-top 0.5s var(--ease-out-quint),
    padding-top 0.5s var(--ease-out-quint);
  pointer-events: none;
}

/* --- THE CORE FIX: REVEAL THE ANSWER ON HOVER --- */
/* When the parent .faq-item is hovered, the p inside it will get these styles */
.faq-item:hover p {
  max-height: 400px; /* A large enough value to fit any answer */
  opacity: 1;
  margin-top: 20px; /* Create space between question and answer */
  padding-top: 15px; /* Create space above the text, below the new border */
  border-top: 1px solid var(--border-light); /* Adds a nice separator line */
  pointer-events: auto;
}

/* This is the conclusion text at the bottom of the section */
.faq-conclusion {
  margin-top: 50px;
  font-size: clamp(0.9rem, 1vw, 1rem);
  color: var(--text-medium);
  line-height: 1.6;
  text-align: center;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}
/* --- Projects Page (Grid Layout) --- */

.page-hero {
  background-color: #fff;
  text-align: center;
  padding: clamp(60px, 10vw, 120px) 20px;
}
.page-hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: #111;
  margin-bottom: 15px;
}
.page-hero-content p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: #555;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.projects-grid-section {
  padding: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 50px);
  background-color: #fff;
}

/* Filter Button Styling */
.projects-grid-section .project-filters {
  margin-bottom: 50px;
  border-bottom: 1px solid #e5e2dd;
  padding-bottom: 30px;
}
.projects-grid-section .filter-btn {
  color: #333;
  border-color: #ddd;
  background-color: #fff;
}
.projects-grid-section .filter-btn:hover {
  background-color: #333;
  color: #fff;
  border-color: #333;
}
.projects-grid-section .filter-btn.active {
  background-color: #e66c64;
  color: #fff;
  border-color: #e66c64;
}

/* ====== START: THE FIX FOR THE PROJECTS PAGE HEADER ====== */
.projects-grid-section .project-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* Keeps it responsive on small screens */
  gap: 20px; /* Adds space if it wraps */
}

/* Override the global title style for this specific section */
.projects-grid-section h2.section-title {
  margin-left: 0;
  margin-bottom: 0; /* Remove bottom margin to help with alignment */
}
/* ====== END: THE FIX FOR THE PROJECTS PAGE HEADER ====== */


/* Project Grid and Cards */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

a.project-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition:
    opacity 0.3s ease-in-out,
    transform 0.3s ease-in-out;
}
a.project-card-link:hover {
  transform: translateY(-5px);
}

a.project-card-link.is-hiding {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none; /* Disable clicks during transition */
}

a.project-card-link.is-hidden {
  display: none;
}

.project-grid-card {
  background-color: #fff;
  overflow: hidden;
}
.project-card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
}
.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-card-info {
  padding: 25px; /* MODIFIED: padding all around */
}
.project-card-title {
  font-size: 1.2rem;
  font-weight: 500;
  color: #e66c64; /* This is the site-wide style */
  margin: 0 0 8px 0;
  line-height: 1.4;
}
.project-card-address {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
  line-height: 1.5;
}

/* --- Project Detail Page --- */
.project-detail-section {
  padding: clamp(60px, 10vw, 120px) 0;
  background-color: #fff;
}
.project-detail-section .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.project-detail-section h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: #111;
  margin-bottom: 40px;
  border-bottom: 1px solid #eee;
  padding-bottom: 30px;
}
.project-intro-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  margin-bottom: 60px;
}
.project-meta h4 {
  font-size: 0.8rem;
  font-weight: 600;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 5px;
}
.project-meta p {
  font-size: 1rem;
  color: #111;
  margin-bottom: 25px;
}
.project-description p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}
.project-gallery .gallery-main-image {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
}
.gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}
.gallery-thumbnails img {
  width: 100%;
  height: auto;
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.gallery-thumbnails img:hover {
  opacity: 0.8;
}
.project-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}
.project-navigation a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
  transition: color 0.3s ease;
}
.project-navigation a:hover {
  color: #e66c64;
}
.all-projects-link {
  font-weight: 600;
}

/* --- About Us Page --- */

.image-header-section {
  background-image: url("images/about%20us.jpeg"); /* Make sure path is correct */
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Optional parallax effect */
  display: flex;
  justify-content: center; /* Keeps the box centered horizontally */
  align-items: flex-start; /* KEY CHANGE: Moves the box to the top */
  min-height: 100vh;
  padding-top: clamp(60px, 12vh, 120px);
  padding-bottom: clamp(60px, 12vh, 120px);
}

.image-header-content {
  background-color: #fff;
  text-align: center;
  width: 100%;
  padding: clamp(50px, 8vw, 90px) clamp(20px, 5vw, 50px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.image-header-content h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.image-header-content .subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-dark);
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
}

.mission-part {
  background-color: var(--dark-background);
  padding: clamp(60px, 8vw, 100px) 20px;
}
.mission-part .container,
.values-part .container {
  max-width: 1200px;
}
.mission-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.mission-main-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  margin: 0 0 30px 0;
}
.lets-talk-link {
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: underline;
  font-size: 1.1rem;
  transition: opacity 0.3s ease;
}
.lets-talk-link:hover {
  opacity: 0.8;
}
.mission-details p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--light-text-on-dark);
}

.values-part {
  background-color: #f8f8f8;
  padding: clamp(60px, 8vw, 100px) 20px;
}
.values-part h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 60px;
}
.values-grid-dark {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 50px 40px;
}
.value-item-dark h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
}
.value-item-dark p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-medium);
}

.cta-section {
  padding: clamp(60px, 10vw, 100px) 20px;
  background-color: #111;
  color: #fff;
  text-align: center;
}
.cta-section .container {
  max-width: 800px;
  margin: 0 auto;
}
.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 15px;
}
.cta-section p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
}

/* ==================================================== */
/* == SERVICE PAGE STYLES (Overrides global defaults) == */
/* ==================================================== */

/* --- Page-Specific Background and Layout --- */
.page-garage-restoration {
  background-color: #fff;
  scroll-snap-align: start;
  /* Light off-white background */
}

/* Override full-screen height for sections on this page type */
.page-garage-restoration main,
.page-garage-restoration section {
  min-height: auto;
  scroll-snap-align: none;
}
.page-garage-restoration html {
  scroll-snap-type: none;
}

/* --- Styled Intro Section --- */
.styled-intro-section {
  padding: clamp(80px, 10vw, 120px) clamp(20px, 5vw, 50px);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.intro-content h1 {
  font-family: "Public Sans", sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #222;
  margin-bottom: 20px;
  line-height: 1.2;
}

.intro-content h2 {
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  font-weight: 700;
  color: #333;
  margin-bottom: 30px;
}

.intro-content > p {
  line-height: 1.7;
  color: #555;
  margin-bottom: 40px;
}

.intro-cta-group {
  border-top: 1px solid #e0e0e0;
  padding-top: 30px;
  margin-bottom: 40px;
}

.intro-cta-group p {
  color: #444;
  margin-bottom: 20px;
}

.btn.gold {
  background-color: var(--primary-color);
  color: #fff;
  border: 1px solid var(--primary-color);
  font-weight: 700;
  box-shadow: none;
  text-transform: uppercase;
}
.btn.gold:hover {
  background-color: var(--primary-color-dark);
  border-color: var(--primary-color-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.intro-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* --- Q&A Info Section --- */
.info-qna-section {
  padding: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 50px);
  background-color: #faf8f5;
}

.qna-item {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: clamp(30px, 5vw, 60px);
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid #e0e0e0;
}
.qna-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.qna-question h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 600;
  color: #222;
  line-height: 1.4;
}

.qna-answer p {
  font-size: clamp(0.95rem, 1vw, 1rem);
  color: #555;
  line-height: 1.7;
}
.qna-answer p:not(:last-child) {
  margin-bottom: 1.2em;
}
.qna-answer p strong {
  font-weight: 600;
  color: #333;
}

/* ========================================= */
/* == STYLES FOR FEATURED PROJECTS SECTION  == */
/* ========================================= */
.featured-projects-section {
  padding: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 50px);
  background-color: #fff; /* White background to stand out */
}
.featured-projects-header {
  text-align: center;
  margin-bottom: 60px;
}
.featured-projects-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 15px;
}
.featured-projects-header p {
  font-size: 1.1rem;
  color: var(--text-medium);
  max-width: 600px;
  margin: 0 auto;
}
/* Hover effect for project cards specifically in this section */
.featured-projects-section a.project-card-link:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}
/* Ensure cards in this section have a border */
.featured-projects-section .project-grid-card {
  border:;
}
.featured-projects-cta {
  text-align: center;
  margin-top: 60px;
}

/* --- Media Queries --- */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
  }
  .stat {
    padding: 30px 20px;
  }
  .stat .highlight {
    font-size: clamp(2.2rem, 4vw, 3rem);
  }
}

@media (max-width: 992px) {
  /* Service Page Intro Section */
  .intro-grid {
    grid-template-columns: 1fr;
  }
  .intro-image {
    order: -1; /* Move image to the top on smaller screens */
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%; /* Start off-screen */
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.5s var(--ease-out-quint);
  }
  .nav-links.is-open {
    right: 0;
  }
  .nav-links a {
    font-size: 1.2rem;
  }
  .nav-links .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    background: transparent;
    box-shadow: none;
    border: none;
    text-align: center;
  }
  .nav-links .dropdown-menu a {
    color: var(--text-medium);
  }

  .navbar {
    padding: 15px 20px;
  }
  .hero-content h1 {
    font-size: clamp(2.2rem, 7vw, 3.5rem);
  }
  .about-intro {
    grid-template-columns: 1fr;
  }
  .about-icon-grid {
    grid-template-columns: 1fr;
  }
  .stats-container {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
  .stat {
    text-align: center;
  }
  .leadership-member {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .leadership-image {
    width: 180px;
    justify-self: center;
  }
  .project-card {
    flex-basis: clamp(280px, 80vw, 320px);
    width: clamp(280px, 80vw, 320px);
    margin: 0 10px;
  }
  .project-card img {
    height: 350px;
  }
  .new-footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-cta h3 {
    margin-right: 0;
    margin-bottom: 20px;
  }
  .footer-nav-col {
    align-items: center;
  }
  .footer-contact-info,
  .footer-social-icons {
    justify-content: center;
  }
  .footer-bottom-bar {
    flex-direction: column;
    gap: 15px;
  }
  .contact-form .form-row {
    flex-direction: column;
    gap: 0;
  }
  .contact-form .form-row > div {
    width: 100%;
  }
  .contact-form .form-row input {
    margin-bottom: 15px;
  }
  .project-intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
  }
  /* Service Page Q&A Section */
  .qna-item {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .qna-question h3 {
    margin-bottom: 10px;
  }
}

@media (max-width: 576px) {
  .intro-content h1 {
    font-size: 2.5rem;
  }
  .intro-cta-group .buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .intro-cta-group .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }
  .hero-content h1 {
    font-size: clamp(2rem, 8vw, 2.9rem);
  }
  .stat {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    border-right: none;
  }
  .stat:last-child {
    border-bottom: none;
  }
  .stat .highlight {
    font-size: clamp(2rem, 5vw, 2.5rem);
  }
  .services-section h2,
  .projects-section h2,
  .executives-section h2 {
    font-size: clamp(1.6rem, 5vw, 2rem);
  }
  .filter-btn {
    padding: 8px 15px;
    font-size: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-scroller {
    animation: none;
  }
  .testimonial-scroll-wrapper {
    -webkit-mask-image: none;
    mask-image: none;
  }
}
/* ========================================= */
/* == TESTIMONIALS PAGE LAYOUT V3          == */
/* ========================================= */

/* The new dark header section using a grid layout */
.testimonial-hero-layout {
  background-color: var(--dark-background);
  /* UPDATED: Reduced vertical padding */
  padding: clamp(30px, 4vw, 40px) 20px;
}

/* ... keep the other rules for .container, .grid, .heading, .intro ... */

/* ======================================================= */
/* == TESTIMONIALS PAGE - SPLIT LAYOUT (ABOUT PAGE STYLE) == */
/* ======================================================= */

/* This is the dark top half of the page */
.hero-part-dark {
  background-color: var(--dark-background);
  padding: clamp(60px, 8vw, 100px) 20px;
}

.hero-part-dark .container {
  max-width: 1200px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.hero-main-text h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  margin: 0;
}

.hero-details p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--light-text-on-dark);
}

/* This is the light bottom half of the page */
.content-part-light {
  background-color: #f8f8f8;
  padding: clamp(80px, 10vw, 120px) 20px;
}

.content-part-light .container {
  max-width: 1200px;
}

/* Reusing the existing single-column list for testimonials */
.testimonial-list-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px; /* Space between each testimonial card */
}

/* Styling for each individual testimonial card remains the same */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border-light);
  padding: 40px;
  text-align: left;
}

.testimonial-card i {
  color: var(--primary-color);
  font-size: 1rem;
  margin-bottom: 20px;
}

.testimonial-card p {
  font-style: italic;
  color: var(--text-medium);
  margin-bottom: 25px;
  line-height: 1.7;
}

.testimonial-card h4 {
  font-weight: 600;
  color: var(--text-dark);
}
/* ========================================= */
/* == PROJECT SLIDER MOBILE FIX           == */
/* ========================================= */

@media (max-width: 768px) {
  /* Adjust the main slider container */
  .project-slider {
    /* Remove horizontal padding so the card can be calculated from screen edge */
    padding-left: 0;
    padding-right: 0;
  }

  /* Make the individual project cards fit the mobile screen */
  .project-card {
    /* Set the card width to be ~85% of the viewport width */
    flex: 0 0 85vw;
    width: 85vw;
    /* Reduce the horizontal margin between cards */
    margin: 0 2vw;
  }

  /* Make the image inside the card responsive */
  .project-card img {
    /* Image should fill its container card */
    width: 100%;
    height: auto;
    /* Use aspect-ratio for a consistent shape, overriding the desktop clamp() */
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  /* Reposition the navigation arrows for mobile */
  .carousel-btn {
    /* Slightly smaller arrows for mobile */
    width: 44px;
    height: 44px;
    /* Vertically center the arrows relative to the image */
    top: 35%; /* Adjust this value if needed */
    transform: translateY(-50%);
  }

  .carousel-btn.prev {
    /* Position closer to the left edge of the screen */
    left: 10px;
  }

  .carousel-btn.next {
    /* Position closer to the right edge of the screen */
    right: 10px;
  }
}
/* ========================================= */
/* == MOBILE NAVIGATION MENU FIX          == */
/* ========================================= */

/* ======================================================= */
/* == MOBILE NAVIGATION MENU FIX (FINAL, HOVER STATES)  == */
/* ======================================================= */

@media (max-width: 768px) {
  /* --- Main Menu Container --- */
  .nav-links {
    background-color: #ffffff;
    z-index: 1000;
  }

  /* --- Reposition the Hamburger/Close Button --- */
  .nav-toggle {
    position: fixed;
    top: 25px;
    right: clamp(20px, 5vw, 50px);
    z-index: 1001;
  }
  
  /* --- Main "Services" Link Styling --- */
  .nav-links .dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
  }

  /* --- Dropdown Arrow Styling --- */
  .nav-links .dropdown-toggle::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: static;
    width: auto;
    height: auto;
    bottom: auto;
    left: auto;
    background-color: transparent;
    font-size: 0.8em;
    line-height: 1;
    transition: transform 0.3s ease-out;
  }
  
  /* --- Arrow Rotation when Open --- */
  .nav-links .dropdown.is-open .dropdown-toggle::after {
    transform: rotate(180deg);
  }
  
  /* --- Sub-Menu Styling (Hidden by Default) --- */
  .nav-links .dropdown-menu {
    position: static;
    transform: none !important;
    box-shadow: none;
    border: none;
    background: none;
    width: 100%;
    text-align: center;
    margin-top: 15px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.4s ease;
  }

  /* --- Sub-Menu (Visible/Open State) --- */
  .nav-links .dropdown.is-open .dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    max-height: 200px;
    padding-bottom: 10px;
  }

  /* --- Sub-Menu Item Styling --- */
  .nav-links .dropdown-menu a {
    color: var(--text-medium);
    font-size: 1rem;
    font-weight: 400;
    padding: 10px 0;
  }

  /* === HOVER STATE FIXES === */

  /* 1. Prevent the desktop hover effect that shows the sub-menu */
  .dropdown:hover .dropdown-menu {
    transform: none; /* Stops shifting */
    opacity: 0; /* Keep it hidden on hover */
    pointer-events: none; /* Keep it non-interactive */
  }

  /* 2. Prevent the red underline from appearing on ANY link on hover */
  .nav-links a:hover::after {
    width: 0; /* This disables the growing underline animation */
  }

  /* 3. But, ensure the ACTIVE link ("Home") keeps its underline */
  .nav-links a.active::after {
    width: 100%;
  }
}