/* =============================================
   Haubert Rasner Engineering LLC – Main Styles
   ============================================= */

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

:root {
  --navy:       #0f1f3d;
  --navy-mid:   #1a2f5a;
  --navy-light: #243a6e;
  --gold:       #f59e0b;
  --gold-dark:  #d97706;
  --gold-light: #fbbf24;
  --white:      #ffffff;
  --off-white:  #f8fafc;
  --text:       #1e293b;
  --text-light: #64748b;
  --border:     #e2e8f0;
  --shadow:     0 4px 24px rgba(15,31,61,0.10);
  --shadow-lg:  0 8px 40px rgba(15,31,61,0.16);
  --radius:     12px;
  --radius-lg:  20px;
  --transition: 0.3s ease;
  --header-h:   76px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.accent { color: var(--gold); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,158,11,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.btn-lg {
  padding: 15px 36px;
  font-size: 1rem;
}
.btn-full {
  width: 100%;
}

/* --- Section Header --- */
.section-label {
  display: inline-block;
  background: rgba(245,158,11,0.12);
  color: var(--gold-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 20px;
}
.section-desc {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 600px;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .section-desc {
  margin: 0 auto;
}

/* =============================================
   HEADER / NAV
   ============================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(15, 31, 61, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: box-shadow var(--transition);
}
.header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.nav-container {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 40px;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-img {
  height: 48px;
  width: auto;
  display: block;
  /* Keep SVG crisp at all resolutions */
  image-rendering: crisp-edges;
}
.footer-logo {
  margin-bottom: 16px;
  display: inline-flex;
}
.footer-logo-img {
  height: 44px;
  width: auto;
}
.nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.nav-list {
  display: flex;
  gap: 4px;
}
.nav-link {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 7px;
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.nav-cta {
  flex-shrink: 0;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  padding-top: var(--header-h);
  overflow: hidden;
}

/* ---- Slideshow ---- */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
  transform: scale(1.04);
  animation: none;
}

.slide.active {
  opacity: 1;
  animation: kenBurns 8s ease-in-out forwards;
}

@keyframes kenBurns {
  from { transform: scale(1.04); }
  to   { transform: scale(1.0);  }
}

/* Dark gradient overlay over photos */
.slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(10,20,50,0.82) 0%, rgba(10,20,50,0.55) 60%, rgba(10,20,50,0.35) 100%),
    linear-gradient(to top, rgba(10,20,50,0.6) 0%, transparent 50%);
  z-index: 1;
}

/* White fade at bottom into next section */
.hero-slideshow::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 110px;
  background: linear-gradient(to bottom, transparent, var(--white));
  z-index: 2;
  pointer-events: none;
}

/* Dot indicators */
.slide-dots {
  position: absolute;
  bottom: 128px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* Prev / Next arrows */
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.slide-arrow:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.slide-prev { left: 24px; }
.slide-next { right: 24px; }
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 80px 24px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,158,11,0.15);
  border: 1px solid rgba(245,158,11,0.3);
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
  animation: fadeInUp 0.6s ease both;
}
.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}
.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
  animation: fadeInUp 0.6s 0.1s ease both;
}
.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 36px;
  animation: fadeInUp 0.6s 0.2s ease both;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  animation: fadeInUp 0.6s 0.3s ease both;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  animation: fadeInUp 0.6s 0.4s ease both;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,0.15);
}
.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: fadeIn 1s 1s ease both;
}
.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255,255,255,0.3);
  border-bottom: 2px solid rgba(255,255,255,0.3);
  transform: rotate(45deg);
  animation: bounce 1.5s infinite;
}

/* =============================================
   ABOUT
   ============================================= */
.about {
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-img-wrap {
  position: relative;
}
.about-img-placeholder {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-placeholder svg {
  width: 100%;
  height: auto;
  display: block;
}
.about-badge-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  font-size: 0.85rem;
}
.about-badge-card strong {
  display: block;
  color: var(--navy);
  font-size: 0.9rem;
}
.about-badge-card span {
  color: var(--text-light);
}
.badge-icon { font-size: 1.8rem; }
.about-content p {
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.75;
}
.about-list {
  margin: 28px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text);
}
.check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: rgba(245,158,11,0.15);
  color: var(--gold-dark);
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* =============================================
   SERVICES
   ============================================= */
.services {
  background: var(--off-white);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover::before,
.service-card.featured::before {
  opacity: 1;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-card.featured {
  background: var(--navy);
  color: var(--white);
  border-color: transparent;
}
.service-card.featured h3 {
  color: var(--white);
}
.service-card.featured p {
  color: rgba(255,255,255,0.72);
}
.service-card.featured .service-list li {
  color: rgba(255,255,255,0.65);
}
.service-card.featured .service-list li::before {
  background: var(--gold);
}
.service-badge {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}
.service-icon {
  width: 56px; height: 56px;
  background: rgba(245,158,11,0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  margin-bottom: 24px;
}
.service-card.featured .service-icon {
  background: rgba(245,158,11,0.15);
  color: var(--gold-light);
}
.service-icon svg {
  width: 28px; height: 28px;
}
.service-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 20px;
}
.service-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-light);
}
.service-list li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--gold-dark);
  border-radius: 50%;
  flex-shrink: 0;
}

/* =============================================
   WHY CHOOSE US
   ============================================= */
.why {
  background: var(--navy);
}
.why .section-label {
  background: rgba(245,158,11,0.15);
  color: var(--gold-light);
}
.why .section-title {
  color: var(--white);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
}
.why-card:hover {
  background: rgba(255,255,255,0.09);
  transform: translateY(-4px);
}
.why-num {
  font-family: 'Poppins', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: rgba(245,158,11,0.3);
  line-height: 1;
  margin-bottom: 16px;
}
.why-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.why-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
}

/* =============================================
   PROJECTS
   ============================================= */
.projects {
  background: var(--white);
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.project-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover !important;
  background-position: center !important;
  overflow: hidden;
}
  align-items: center;
  justify-content: center;
}
.project-icon-large {
  font-size: 3.5rem;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}
.project-info {
  padding: 24px;
  background: var(--white);
}
.project-tag {
  display: inline-block;
  background: rgba(245,158,11,0.1);
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}
.project-info h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.project-info p {
  font-size: 0.87rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials {
  background: var(--off-white);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
}
.stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.testimonial-card p {
  font-size: 0.93rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px; height: 44px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--navy);
}
.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* =============================================
   CONTACT
   ============================================= */
.contact {
  background: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
}
.contact-info p {
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 36px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-icon {
  font-size: 1.3rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.contact-item strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.contact-item span {
  font-size: 0.95rem;
  color: var(--text);
}
.contact-item a {
  color: var(--navy-mid);
  transition: color var(--transition);
}
.contact-item a:hover {
  color: var(--gold-dark);
}
.contact-hours {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 20px 24px;
  border-left: 4px solid var(--gold);
}
.contact-hours strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.contact-hours p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.8;
}
/* Form */
.contact-form-wrap {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  border: 1px solid var(--border);
}
.contact-form h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
  letter-spacing: 0.03em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.93rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(26,47,90,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #b0bec5;
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 12px;
}
.form-success {
  background: #d1fae5;
  color: #065f46;
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 16px;
  text-align: center;
}

/* =============================================
   MAP
   ============================================= */
.map-strip {
  display: block;
  line-height: 0;
  border-top: 1px solid var(--border);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding-top: 72px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo {
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  max-width: 320px;
  margin-bottom: 24px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.social-link {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  transition: all var(--transition);
}
.social-link svg {
  width: 18px; height: 18px;
}
.social-link:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}
.footer-col h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-col ul li a:hover {
  color: var(--gold-light);
}
.footer-contact-list li {
  display: flex;
  gap: 10px;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}
.footer-contact-list li a {
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-contact-list li a:hover {
  color: var(--gold-light);
}
.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.8;
}
.footer-bottom a {
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}
.footer-bottom a:hover {
  color: var(--gold-light);
}

/* =============================================
   WHATSAPP FLOAT
   ============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px; height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  z-index: 999;
  transition: all var(--transition);
}
.whatsapp-float svg {
  width: 30px; height: 30px;
  color: var(--white);
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(37,211,102,0.6);
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(5px); }
}

/* Scroll-reveal utility */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-visual {
    max-width: 480px;
    margin: 0 auto;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  :root { --header-h: 68px; }
  .section { padding: 72px 0; }

  /* Nav */
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--navy);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 16px 24px 24px;
    flex-direction: column;
    align-items: flex-start;
    transform: translateY(-110%);
    transition: transform var(--transition);
    z-index: 999;
  }
  .nav.open {
    transform: translateY(0);
  }
  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 4px;
  }
  .nav-link {
    display: block;
    padding: 11px 16px;
    font-size: 1rem;
  }
  .nav-cta { display: none; }
  .hamburger { display: flex; margin-left: auto; }

  .hero-stats {
    gap: 20px;
  }
  .stat-num { font-size: 1.6rem; }

  .services-grid {
    grid-template-columns: 1fr;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-form-wrap {
    padding: 28px 20px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }
  .btn-lg {
    width: 100%;
    justify-content: center;
  }
  .hero-stats {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .stat-divider { display: none; }

  .about-badge-card {
    position: relative;
    bottom: auto; right: auto;
    margin-top: 16px;
  }
}

/* =============================================
   LEADERSHIP / CHAIRMAN SECTION
   ============================================= */
.leadership {
  background: var(--off-white);
}

.chairman-layout {
  display: grid;
  grid-template-columns: 320px 1fr 380px;
  gap: 48px;
  align-items: start;
}

/* Photo wrappers */
.chairman-photo-wrap {
  position: relative;
}

.chairman-photo {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
  transition: transform var(--transition);
}

.chairman-photo:hover {
  transform: scale(1.02);
}

.chairman-photo-field {
  height: 520px;
  object-position: center center;
}

.photo-label {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15,31,61,0.88);
  color: rgba(255,255,255,0.9);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  white-space: nowrap;
  backdrop-filter: blur(4px);
}

.field-label {
  background: rgba(245,158,11,0.9);
  color: var(--navy);
}

/* Bio */
.chairman-bio {
  padding: 8px 0;
}

.chairman-name-block {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.chairman-name {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
}

.chairman-title-badge {
  background: var(--gold);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
}

.chairman-desc {
  font-size: 0.97rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 18px;
}

.chairman-stats-row {
  display: flex;
  gap: 32px;
  margin: 32px 0;
  padding: 24px 28px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold);
}

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

.c-stat-num {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.c-stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
  display: block;
}

.chairman-contact-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  background: #25d366;
  color: var(--white);
  transition: all var(--transition);
}

.btn-whatsapp svg {
  width: 18px; height: 18px;
}

.btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.35);
}

/* Responsive leadership */
@media (max-width: 1100px) {
  .chairman-layout {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .chairman-bio {
    grid-column: 1 / -1;
    order: -1;
  }
  .portrait-wrap { order: 0; }
  .field-wrap { order: 1; }
  .chairman-photo {
    height: 380px;
  }
  .chairman-photo-field {
    height: 380px;
  }
}

@media (max-width: 700px) {
  .chairman-layout {
    grid-template-columns: 1fr;
  }
  .chairman-bio {
    grid-column: auto;
  }
  .chairman-photo,
  .chairman-photo-field {
    height: 300px;
  }
  .chairman-stats-row {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }
}
