/* ============================================
   Lakshmi Priya Builders — Main Stylesheet
   Color Palette:
   - Deep Navy:    #1B2A4A
   - Saffron:      #E67E22
   - Steel Gray:   #566573
   - White:        #FFFFFF
   - Warm Cream:   #FFF8F0
   - Golden Yellow: #F39C12
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --navy: #1B2A4A;
  --saffron: #E67E22;
  --saffron-dark: #cf6d17;
  --gray: #566573;
  --white: #FFFFFF;
  --cream: #FFF8F0;
  --golden: #F39C12;
  --light-gray: #f4f6f8;
  --border: #e0e0e0;
  --font: 'Poppins', sans-serif;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 8px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--saffron); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--saffron-dark); }
ul { list-style: none; }
h1,h2,h3,h4 { color: var(--navy); line-height: 1.3; }
h1 { font-size: 2rem; font-weight: 700; }
h2 { font-size: 1.625rem; font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

/* --- Focus Indicators (Accessibility) --- */
:focus-visible {
  outline: 3px solid var(--saffron);
  outline-offset: 2px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  text-align: center;
  line-height: 1.4;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--saffron);
  color: var(--white);
  border-color: var(--saffron);
  box-shadow: 0 4px 15px rgba(230,126,34,0.3);
}
.btn--primary:hover {
  background: var(--saffron-dark);
  border-color: var(--saffron-dark);
  color: var(--white);
  box-shadow: 0 6px 25px rgba(230,126,34,0.45);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn--outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,255,255,0.2);
}

.btn--outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

.btn--lg { padding: 1rem 2.25rem; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }

/* ===================== HEADER ===================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

.header.scrolled {
  background: rgba(27, 42, 74, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.3s ease;
}
.header__logo:hover {
  transform: scale(1.03);
}
.header__logo-img { height: 55px; width: auto; }

.logo-text {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.logo-text small {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.8;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav__link {
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  position: relative;
  letter-spacing: 0.3px;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--saffron);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.nav__link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.nav__link:hover::after {
  width: 60%;
}
.nav__link.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
.nav__link.active::after {
  width: 60%;
  background: var(--saffron);
}

.header__whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  font-size: 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 10px rgba(37,211,102,0.3);
}
.header__whatsapp:hover {
  transform: scale(1.12);
  box-shadow: 0 4px 18px rgba(37,211,102,0.5);
  color: var(--white);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger__line {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: all var(--transition);
}

.hamburger.active .hamburger__line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.active .hamburger__line:nth-child(2) {
  opacity: 0;
}
.hamburger.active .hamburger__line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero__slide.active { opacity: 1; }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(27,42,74,0.82) 0%, rgba(27,42,74,0.55) 50%, rgba(27,42,74,0.75) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 8rem 1rem 5rem;
  max-width: 800px;
  margin: 0 auto;
}

.hero__title {
  font-size: 3.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.hero__subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 2.5rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__cta .btn {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

/* ===================== STATS ===================== */
.stats {
  background: var(--navy);
  padding: 1.0rem 0;
  position: relative;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stats__item {
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  transition: transform 0.3s ease, background 0.3s ease;
}
.stats__item:hover {
  background: rgba(255,255,255,0.05);
  transform: translateY(-3px);
}

.stats__number {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--saffron);
}

.stats__plus {
  font-size: 2rem;
  font-weight: 700;
  color: var(--saffron);
}

.stats__label {
  display: block;
  font-size: 0.9rem;
  margin-top: 0.35rem;
  opacity: 0.85;
  letter-spacing: 0.3px;
}

/* ===================== SECTIONS ===================== */
.section {
  padding: 5rem 0;
}

.section--cream {
  background: var(--cream);
}

.section__title {
  text-align: center;
  margin-bottom: 0.5rem;
  position: relative;
  font-size: 2rem;
}

.section__title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--saffron);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

.section__subtitle {
  text-align: center;
  color: var(--gray);
  margin-bottom: 3rem;
  font-size: 1.05rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ===================== SERVICES OVERVIEW ===================== */
.services-overview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.service-card__img {
  width: 100%;
  height: 220px;
  overflow: hidden;
}
.service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-card__img img {
  transform: scale(1.08);
}
.service-card__body {
  padding: 1.75rem 1.5rem;
}

.service-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cream) 0%, #ffe8d0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -2.5rem auto 1.25rem;
  font-size: 1.5rem;
  color: var(--saffron);
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(230,126,34,0.15);
  border: 3px solid var(--white);
}

.service-card__title {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.service-card__desc {
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
  color: var(--gray);
  line-height: 1.65;
}

.service-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--saffron);
  transition: gap 0.3s ease;
}
.service-card__link:hover { gap: 0.6rem; }
.service-card__link i { font-size: 0.75rem; transition: transform 0.3s ease; }
.service-card__link:hover i { transform: translateX(4px); }

/* ===================== PROJECTS GRID ===================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.project-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--light-gray);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.project-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: center;
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27,42,74,0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  transition: background var(--transition);
}
.project-card:hover .project-card__overlay {
  background: linear-gradient(to top, rgba(27,42,74,0.95) 0%, rgba(27,42,74,0.3) 100%);
}

.project-card__category {
  display: inline-block;
  background: var(--saffron);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 0.5rem;
  width: fit-content;
}

.project-card__name {
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.project-card__location {
  color: rgba(255,255,255,0.75);
  font-size: 0.8125rem;
}

/* ===================== FILTER BUTTONS ===================== */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--gray);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--saffron);
  border-color: var(--saffron);
  color: var(--white);
}

/* ===================== LIGHTBOX ===================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.active {
  display: flex;
}

.lightbox__content {
  max-width: 900px;
  width: 100%;
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
}

.lightbox__image-wrap {
  width: 100%;
  height: 60vh;
  background-size: cover;
  background-position: center;
  background-color: var(--light-gray);
}

.lightbox__info {
  padding: 1.5rem;
}

.lightbox__name {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.lightbox__meta {
  font-size: 0.875rem;
  color: var(--gray);
  margin-bottom: 0.75rem;
}

.lightbox__desc {
  font-size: 0.9375rem;
  line-height: 1.6;
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.6);
  color: var(--white);
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.lightbox__close:hover { background: rgba(0,0,0,0.85); }

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.5);
  color: var(--white);
  font-size: 1.125rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  z-index: 10;
}
.lightbox__nav:hover { background: rgba(0,0,0,0.8); }
.lightbox__nav--prev { left: -60px; }
.lightbox__nav--next { right: -60px; }

/* ===================== TESTIMONIALS ===================== */
.testimonials-carousel {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-card {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}
.testimonial-card.active { display: block; }

.testimonial-card__summary {
  display: block;
  font-size: 1.0rem;
  color: #100f0f;
  margin-top: 6px;
  font-weight: 500;
}

.testimonial-card__stars {
  color: var(--golden);
  font-size: 1.125rem;
  margin-bottom: 1.25rem;
}

.testimonial-card__text {
  font-size: 1.0625rem;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--gray);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: center;
}

.testimonial-card__avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.testimonial-card__author strong {
  display: block;
  color: var(--navy);
  font-size: 0.9375rem;
}
.testimonial-card__author span {
  font-size: 0.8125rem;
  color: var(--gray);
}

.testimonials-carousel__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.carousel-btn:hover {
  background: var(--saffron);
  border-color: var(--saffron);
  color: var(--white);
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}
.carousel-dot.active { background: var(--saffron); }

/* Testimonials Grid (testimonials page) */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.testimonial-card-full {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.testimonial-card-full:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.testimonial-card-full .testimonial-card__stars { text-align: left; }
.testimonial-card-full .testimonial-card__text { text-align: left; font-size: 0.9375rem; }
.testimonial-card-full .testimonial-card__author { justify-content: flex-start; }

/* ===================== CTA BANNER ===================== */
.cta-banner {
  background: linear-gradient(rgba(27,42,74,0.88), rgba(27,42,74,0.88)), url('../assets/images/cta-bg.jpg') center/cover no-repeat;
  padding: 5rem 0;
  text-align: center;
}

.cta-banner__title {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.3px;
}

.cta-banner__text {
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  font-size: 1.1rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ===================== PAGE BANNER ===================== */
.page-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #2c3e6b 100%);
  padding: 7rem 0 3rem;
  text-align: center;
}
.page-banner--about {
  background: linear-gradient(rgba(27,42,74,0.82), rgba(27,42,74,0.82)), url('../assets/images/about/page-banner.jpg') center/cover no-repeat;
}
.page-banner--services {
  background: linear-gradient(rgba(27,42,74,0.82), rgba(27,42,74,0.82)), url('../assets/images/services/services-banner.jpg') center/cover no-repeat;
}
.page-banner--projects {
  background: linear-gradient(rgba(27,42,74,0.82), rgba(27,42,74,0.82)), url('../assets/images/projects/projects-banner.jpg') center/cover no-repeat;
}
.page-banner--ongoing {
  background: linear-gradient(rgba(27,42,74,0.82), rgba(27,42,74,0.82)), url('../assets/images/ongoing/ongoing-banner.jpg') center/cover no-repeat;
}
.page-banner--contact {
  background: linear-gradient(rgba(27,42,74,0.82), rgba(27,42,74,0.82)), url('../assets/images/contact/contact-banner.jpg') center/cover no-repeat;
}
.page-banner--testimonials {
  background: linear-gradient(rgba(27,42,74,0.82), rgba(27,42,74,0.82)), url('../assets/images/testimonials/testimonials-banner.jpg') center/cover no-repeat;
}

.page-banner__title {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.breadcrumb {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
}
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: var(--saffron); }
.breadcrumb span { margin: 0 0.25rem; }

/* ===================== FOOTER ===================== */
.footer {
  background: linear-gradient(180deg, #1a2847 0%, #141e38 100%);
  color: rgba(255,255,255,0.8);
  padding-top: 4rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer__heading {
  color: var(--white);
  font-size: 1.0625rem;
  margin-bottom: 1rem;
  position: relative;
}

.footer__heading::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--saffron);
  margin-top: 0.5rem;
}

.footer p { font-size: 0.875rem; line-height: 1.7; }

.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.footer__social a:hover {
  background: var(--saffron);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(230,126,34,0.35);
}

.footer__links li { margin-bottom: 0.5rem; }
.footer__links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--saffron); }

.footer__contact li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}
.footer__contact i {
  color: var(--saffron);
  margin-top: 0.2rem;
  width: 16px;
  flex-shrink: 0;
}
.footer__contact a { color: rgba(255,255,255,0.8); }
.footer__contact a:hover { color: var(--saffron); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.8125rem;
}

/* ===================== WHATSAPP FLOAT ===================== */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  font-size: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37,211,102,0.4);
  z-index: 999;
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
  color: var(--white);
}

/* ===================== CONTACT PAGE ===================== */
.contact__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: flex-start;
}

.contact__heading {
  margin-bottom: 0.5rem;
}

.contact__form-wrap > p {
  margin-bottom: 1.5rem;
  color: var(--gray);
}

.form-group { margin-bottom: 1.25rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.375rem;
}

.required { color: #e74c3c; }

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--navy);
  transition: border-color var(--transition);
  background: var(--white);
}
.form-input:focus {
  border-color: var(--saffron);
  outline: none;
}
.form-input.error { border-color: #e74c3c; }

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

.form-error {
  display: block;
  font-size: 0.8125rem;
  color: #e74c3c;
  margin-top: 0.25rem;
  min-height: 1.2em;
}

.form-charcount {
  display: block;
  text-align: right;
  font-size: 0.75rem;
  color: var(--gray);
  margin-top: 0.25rem;
}

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23566573' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* Contact Info Sidebar */
.contact-info-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
}

.contact-info-card h3 {
  margin-bottom: 1.25rem;
}

.contact-info-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.contact-info-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-info-list i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--saffron);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.875rem;
}

.contact-info-list strong {
  display: block;
  color: var(--navy);
  font-size: 0.875rem;
  margin-bottom: 0.125rem;
}
.contact-info-list p {
  font-size: 0.875rem;
  margin: 0;
  color: var(--gray);
}
.contact-info-list a { color: var(--gray); }
.contact-info-list a:hover { color: var(--saffron); }

.contact-map h3 { margin-bottom: 1rem; }

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-directions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
}

/* ===================== SYSTEM PAGES (404, Thank You) ===================== */
.system-page {
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
  padding: 6rem 0 4rem;
}

.system-page__content {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.system-page__icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}
.system-page__icon--success { color: #27ae60; }
.system-page__icon--error { color: var(--saffron); }

.system-page__content h1 {
  margin-bottom: 1rem;
}
.system-page__content p {
  margin-bottom: 1rem;
}
.system-page__code {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--navy);
}

.system-page__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.system-page__actions .btn--outline {
  color: var(--navy);
  border-color: var(--navy);
}
.system-page__actions .btn--outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* ===================== ABOUT PAGE ===================== */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image-placeholder {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy) 0%, #2c3e6b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 3rem;
}
.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.about-content h2 { margin-bottom: 1rem; text-align: left; }
.about-content h2::after { margin: 0.75rem 0 0; }
.about-content p { margin-bottom: 1rem; }

.vision-mission__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.vm-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.vm-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}
.vm-card__img {
  width: 100%;
  height: 180px;
  overflow: hidden;
}
.vm-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vm-card__body {
  padding: 1.5rem;
}
.vm-card__icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  color: var(--saffron);
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.team-card {
  width: calc(25% - 2rem);
  min-width: 200px;
}

.team-card {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.06);
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.1);
}

.team-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  font-weight: 600;
}
.team-card__photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid var(--saffron);
}

.team-card__name {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.team-card__role {
  font-size: 0.8125rem;
  color: var(--gray);
}

.why-choose__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.why-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.06);
  background: var(--white);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.why-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.25rem;
  color: var(--saffron);
}

/* ===================== SERVICES PAGE ===================== */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.service-detail--reverse { direction: rtl; }
.service-detail--reverse > * { direction: ltr; }

.service-detail__image {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.service-detail__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.service-detail:hover .service-detail__image img {
  transform: scale(1.05);
}

.service-detail__content h2 { text-align: left; margin-bottom: 1rem; }
.service-detail__content h2::after { margin: 0.75rem 0 0; }
.service-detail__content p { margin-bottom: 1rem; }

.service-features {
  margin-top: 1rem;
}
.service-features li {
  padding: 0.375rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.9375rem;
}
.service-features li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--saffron);
  font-size: 0.75rem;
  top: 0.5rem;
}

/* ===================== ONGOING PROJECTS ===================== */
.ongoing-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  margin-bottom: 2rem;
  transition: box-shadow 0.35s ease;
}
.ongoing-card:hover {
  box-shadow: 0 10px 35px rgba(0,0,0,0.12);
}

.ongoing-card__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.ongoing-card__image {
  min-height: 250px;
  overflow: hidden;
  border-radius: var(--radius);
}
.ongoing-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 250px;
  transition: transform 0.4s ease;
}
.ongoing-card:hover .ongoing-card__image img {
  transform: scale(1.05);
}

.ongoing-card__info {
  padding: 2rem;
}

.ongoing-card__info h3 { margin-bottom: 1rem; }

.ongoing-card__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
}

.ongoing-card__meta dt {
  font-weight: 600;
  color: var(--navy);
}
.ongoing-card__meta dd { color: var(--gray); }

.progress-bar {
  background: var(--light-gray);
  border-radius: 50px;
  height: 24px;
  overflow: hidden;
  position: relative;
  margin-bottom: 0.5rem;
}

.progress-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--saffron), var(--golden));
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--white);
  transition: width 1.5s ease;
}

.milestone-timeline {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border);
}

.milestone-timeline h4 {
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.milestones {
  display: flex;
  gap: 0;
  position: relative;
}

.milestone {
  flex: 1;
  text-align: center;
  position: relative;
  font-size: 0.75rem;
}

.milestone::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.milestone:first-child::before { left: 50%; }
.milestone:last-child::before { right: 50%; }

.milestone__icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--border);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
  font-size: 0.625rem;
  position: relative;
  z-index: 1;
}

.milestone--completed .milestone__icon {
  background: #27ae60;
}
.milestone--progress .milestone__icon {
  background: var(--saffron);
  animation: pulse 1.5s infinite;
}
.milestone--upcoming .milestone__icon { background: var(--light-gray); color: var(--gray); }

@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(230,126,34,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(230,126,34,0); }
}

.milestone__label { color: var(--gray); margin-top: 0.25rem; }

/* ===================== FAQ ===================== */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 10px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.faq-item[open] {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.faq-question {
  padding: 1.125rem 1.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--saffron);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item[open] .faq-question::after {
  content: '−';
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--gray);
}

/* ===================== SCROLL REVEAL ===================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveal for grid children */
.reveal-children > * {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal-children.revealed > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-children.revealed > *:nth-child(1) { transition-delay: 0s; }
.reveal-children.revealed > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-children.revealed > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-children.revealed > *:nth-child(4) { transition-delay: 0.2s; }
.reveal-children.revealed > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-children.revealed > *:nth-child(6) { transition-delay: 0.3s; }
.reveal-children.revealed > *:nth-child(7) { transition-delay: 0.35s; }

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

/* Tablet: 768px – 1199px */
@media (max-width: 1199px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .services-overview__grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid .team-card { width: calc(50% - 1rem); }
  .why-choose__grid { grid-template-columns: repeat(2, 1fr); }
  .lightbox__nav--prev { left: 0.5rem; }
  .lightbox__nav--next { right: 0.5rem; }
}

/* Mobile: <768px */
@media (max-width: 767px) {
  h1 { font-size: 1.625rem; }
  h2 { font-size: 1.375rem; }

  .header__whatsapp { display: none; }

  .hamburger { display: flex; }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background: var(--navy);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding-top: 80px;
    padding-bottom: 2rem;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    box-shadow: -5px 0 30px rgba(0,0,0,0.3);
    overflow-y: auto;
  }
  .nav.open { transform: translateX(0); }

  /* Overlay behind mobile menu */
  .nav::before {
    content: '';
    position: fixed;
    top: 0;
    left: -100vw;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
  }
  .nav.open::before {
    opacity: 1;
    pointer-events: auto;
  }

  .nav__list {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
  }

  .nav__link {
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
    display: block;
    border-left: 3px solid transparent;
    border-radius: 0;
    transition: all 0.2s ease;
  }
  .nav__link:hover,
  .nav__link.active {
    background: rgba(255,255,255,0.08);
    border-left-color: var(--saffron);
    color: var(--white);
  }

  .header__logo-img { height: 55px; }
  .logo-text { font-size: 1.35rem; }
  .logo-text small { font-size: 0.85rem; }

  .hero__title { font-size: 1.75rem; }
  .hero__subtitle { font-size: 1rem; }
  .hero__cta { flex-direction: column; align-items: center; }
  .hero__cta .btn { width: 100%; max-width: 280px; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .stats__number { font-size: 2rem; }

  .section { padding: 3rem 0; }

  .services-overview__grid { grid-template-columns: 1fr; }
  .filter-bar {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
  }
  .filter-bar::-webkit-scrollbar {
    display: none;
  }
  .filter-btn {
    flex-shrink: 0;
    padding: 0.4rem 1rem;
    font-size: 0.8125rem;
    border-width: 1.5px;
  }

  .projects-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  .about-section { grid-template-columns: 1fr; }
  .vision-mission__grid { grid-template-columns: 1fr; }
  .team-grid { gap: 1rem; }
  .team-grid .team-card { width: calc(50% - 0.5rem); min-width: 140px; }
  .why-choose__grid { grid-template-columns: 1fr; }

  .service-detail { grid-template-columns: 1fr; }
  .service-detail--reverse { direction: ltr; }

  .contact__grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .testimonials-grid { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; }

  .ongoing-card__header { grid-template-columns: 1fr; }
  .ongoing-card__image { min-height: 180px; }
  .ongoing-card__meta { grid-template-columns: 1fr; }
  .milestones { flex-wrap: wrap; gap: 1rem; }
  .milestone::before { display: none; }

  .lightbox { padding: 1rem; }
  .lightbox__content { max-width: 100%; }
  .lightbox__image-wrap { height: 40vh; }
  .lightbox__nav--prev { left: 0.5rem; }
  .lightbox__nav--next { right: 0.5rem; }

  .cta-banner__title { font-size: 1.375rem; }
}

/* Small mobile */
@media (max-width: 400px) {
  .container { padding: 0 0.75rem; }
  .stats__number { font-size: 1.625rem; }
  .projects-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SEO SECTIONS — Service Areas & Homepage FAQ (appended)
   ============================================================ */

/* Service Areas Grid */
.service-areas__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.service-area__col h3 {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--saffron);
}
.service-area__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.service-area__col ul li {
  color: var(--gray);
  font-size: 0.9rem;
  padding: 0.2rem 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.service-area__col ul li::before {
  content: "✓";
  color: var(--saffron);
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.service-areas__note {
  text-align: center;
  margin-top: 1.75rem;
  color: var(--gray);
  font-size: 0.9375rem;
}
.service-areas__link {
  color: var(--saffron);
  font-weight: 600;
  text-decoration: none;
}
.service-areas__link:hover {
  text-decoration: underline;
}

/* Responsive: Service Areas */
@media (max-width: 991px) {
  .service-areas__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}
@media (max-width: 480px) {
  .service-areas__grid {
    grid-template-columns: 1fr;
  }
}
