/* ========================================
   CORAL HILLS GROUP - Main Stylesheet
   Theme: White / Teal / Navy (Avada faithful)
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Lato:wght@300;400;700&display=swap');

:root {
  /* Matching the real Avada color palette */
  --accent-gold: #2ba0a3;          /* teal — was gold, renamed value only */
  --accent-gold-light: #36b8bb;    /* lighter teal */
  --accent-navy: #014f86;          /* navy — header, CTA, footer */
  --text-light: #ffffff;
  --text-body: #555555;
  --text-dark: #1a1a1a;
  --text-muted: rgba(255,255,255,0.75);   /* for text inside dark cards */
  --primary-dark: #ffffff;         /* body background — white */
  --section-bg: #f4f6f8;           /* light gray alternating sections */
  --card-bg: #013d6e;              /* dark navy panels/cards */
  --border-color: rgba(255,255,255,0.12);
  --nav-height: 80px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background-color: #ffffff;
  color: var(--text-body);
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.3;
}

a { color: var(--accent-gold); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--accent-gold-light); }

img { max-width: 100%; height: auto; display: block; }

p { margin-bottom: 1rem; }

/* ---- Utility ---- */
.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 60px 0; }
.text-gold { color: var(--accent-gold); }
.text-white { color: #ffffff; }
.text-muted-custom { color: #666666; }
.bg-dark-section { background-color: var(--section-bg); }
.bg-card { background-color: var(--card-bg); }
.divider-gold { width: 60px; height: 3px; background: var(--accent-gold); margin: 20px 0; }
.divider-gold.center { margin: 20px auto; }

.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666666;
  max-width: 640px;
  line-height: 1.8;
}

/* ---- Navigation ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--accent-navy);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  transition: background 0.3s;
}

.navbar.scrolled { background: #012d4e; }

.navbar-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand img { height: 44px; width: auto; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  transition: color 0.3s;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-gold);
  border-bottom-color: var(--accent-gold);
}

.nav-cta {
  background: var(--accent-gold) !important;
  color: #ffffff !important;
  padding: 10px 24px !important;
  border-radius: 2px;
  border: none !important;
  font-weight: 700 !important;
}

.nav-cta:hover { background: var(--accent-gold-light) !important; color: #fff !important; }

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: #012d4e;
  padding: 24px 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  z-index: 999;
}

.mobile-menu.open { display: block; }

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu a {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* ---- Hero Section ---- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  animation: heroZoom 10s ease-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(1,79,134,0.65) 0%, rgba(1,79,134,0.2) 55%, rgba(0,0,0,0.1) 100%),
    linear-gradient(to top, rgba(0,0,0,0.35) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  padding-top: var(--nav-height);
}

.hero-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  max-width: 700px;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
  text-shadow: 0 2px 16px rgba(0,0,0,0.45);
}

.hero-text {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.92);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s forwards;
  text-shadow: 0 1px 10px rgba(0,0,0,0.4);
}

.hero-label {
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--accent-gold), transparent);
  animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ---- Buttons ---- */
.btn-primary-custom {
  display: inline-block;
  background: var(--accent-gold);
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 36px;
  border: 2px solid var(--accent-gold);
  border-radius: 2px;
  transition: all 0.3s;
}

.btn-primary-custom:hover {
  background: transparent;
  color: var(--accent-gold);
}

/* On dark navy backgrounds the outline is white */
.btn-outline-custom {
  display: inline-block;
  background: transparent;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 36px;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 2px;
  transition: all 0.3s;
}

.btn-outline-custom:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* On light bg, outline button uses navy */
.bg-dark-section .btn-outline-custom {
  border-color: var(--accent-navy);
  color: var(--accent-navy);
}
.bg-dark-section .btn-outline-custom:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* ---- Stats Bar ---- */
.stats-bar {
  background: var(--accent-gold);
  padding: 30px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.stat-item {
  text-align: center;
  padding: 16px 24px;
  border-right: 1px solid rgba(255,255,255,0.25);
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

/* ---- About / Text Sections ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
}

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

.about-image::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 60%;
  height: 60%;
  border: 3px solid var(--accent-gold);
  z-index: -1;
}

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

.project-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover img { transform: scale(1.08); }

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(1,79,134,0.9) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  transition: background 0.4s;
}

.project-card:hover .project-card-overlay {
  background: linear-gradient(to top, rgba(1,79,134,0.97) 0%, rgba(1,79,134,0.5) 60%, rgba(0,0,0,0.1) 100%);
}

.project-card-location {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 8px;
}

.project-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.project-card-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  margin-bottom: 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.project-card:hover .project-card-desc { max-height: 80px; }

.project-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-gold);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s 0.1s;
}

.project-card:hover .project-card-link {
  opacity: 1;
  transform: translateY(0);
}

.project-card-link::after { content: '→'; }

/* ---- Services Grid ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.service-card {
  background: var(--card-bg);
  padding: 48px 36px;
  border-left: 3px solid transparent;
  transition: all 0.3s;
}

.service-card:hover {
  border-left-color: var(--accent-gold);
  background: #012d4e;
}

.service-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  color: var(--accent-gold);
}

.service-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}

.service-text {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
}

/* ---- Gallery Grid ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.gallery-item {
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}

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

.gallery-item:hover img { transform: scale(1.1); }

.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }

/* ---- Lightbox ---- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
}

/* ---- Project Hero ---- */
.project-hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.project-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.project-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(1,79,134,0.78) 0%, rgba(0,0,0,0.3) 55%, rgba(0,0,0,0.05) 100%);
}

.project-hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 32px;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

/* ---- Feature List ---- */
.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 15px;
  color: var(--text-body);
}

.features-list li::before {
  content: '✦';
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---- Info Cards ---- */
.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.info-card {
  background: var(--card-bg);
  padding: 40px 32px;
  text-align: center;
  border-top: 3px solid transparent;
  transition: border-color 0.3s;
}

.info-card:hover { border-top-color: var(--accent-gold); }

.info-card-icon { font-size: 2.5rem; margin-bottom: 16px; }

.info-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.info-card-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---- Quote ---- */
.quote-section {
  background: var(--accent-gold);
  padding: 80px 32px;
  text-align: center;
}

.quote-text {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 500;
  color: #ffffff;
  max-width: 800px;
  margin: 0 auto 24px;
  line-height: 1.5;
}

.quote-author {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

/* ---- CTA Section ---- */
.cta-section {
  background: var(--accent-navy);
  padding: 100px 32px;
  text-align: center;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 20px;
}

.cta-text {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 540px;
  margin: 0 auto 40px;
}

/* ---- Footer ---- */
footer {
  background: #012040;
  padding: 70px 0 0;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
}

.footer-logo img { height: 40px; margin-bottom: 20px; }

.footer-about {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  margin-bottom: 24px;
}

.footer-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--accent-gold); }

.footer-contact-item {
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 12px;
  align-items: flex-start;
}

.footer-contact-item span:first-child { color: var(--accent-gold); flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 32px;
  margin-top: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

/* ---- Page Header (inner pages) ---- */
.page-header {
  padding: calc(var(--nav-height) + 80px) 0 80px;
  background: var(--accent-navy);
  text-align: center;
}

.page-header-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  margin-bottom: 16px;
}

.breadcrumb-custom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  list-style: none;
}

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

/* ---- Animations ---- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-image::after { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .info-cards { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-title { font-size: 2.2rem; }
  .projects-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: span 1; }
  .info-cards { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .section-pad { padding: 70px 0; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.wide { grid-column: span 1; }
}

/* ---- Phone link in navbar ---- */
.nav-phone {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  color: #fff !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  text-transform: none !important;
  padding: 7px 16px !important;
  border: 1.5px solid rgba(255,255,255,0.35) !important;
  border-radius: 2px;
  transition: all 0.3s;
  border-bottom: 1.5px solid rgba(255,255,255,0.35) !important;
}
.nav-phone:hover {
  border-color: var(--accent-gold) !important;
  color: var(--accent-gold) !important;
}
.nav-phone svg { width: 13px; height: 13px; }

/* ---- WhatsApp Floating Button ---- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  z-index: 998;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: waPulse 2.5s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 34px; height: 34px; fill: #fff; }

@keyframes waPulse {
  0%, 100% {
    box-shadow: 0 4px 16px rgba(0,0,0,0.25), 0 0 0 0 rgba(37,211,102,0.55);
  }
  50% {
    box-shadow: 0 4px 16px rgba(0,0,0,0.25), 0 0 0 14px rgba(37,211,102,0);
  }
}

@media (max-width: 768px) {
  .nav-phone { display: none !important; }
  .nav-lang-wrap { display: none !important; }
  .whatsapp-float {
    width: 54px;
    height: 54px;
    bottom: 18px;
    right: 18px;
  }
  .whatsapp-float svg { width: 30px; height: 30px; }
}

/* ---- Flag Language Switcher ---- */
.lang-switcher {
  display: flex !important;
  align-items: center;
  gap: 4px;
  padding: 0 !important;
  list-style: none;
}
.lang-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 22px;
  border: 2px solid transparent;
  border-radius: 2px;
  opacity: 0.55;
  transition: opacity 0.3s, border-color 0.3s, transform 0.2s;
  overflow: hidden;
  padding: 0;
}
.lang-flag svg { width: 100%; height: 100%; display: block; }
.lang-flag:hover { opacity: 1; transform: translateY(-1px); }
.lang-flag.active {
  opacity: 1;
  border-color: var(--accent-gold);
}

/* Mobile flag switcher (inside mobile menu) */
.mobile-lang-switcher {
  display: flex;
  gap: 10px;
  padding-top: 14px;
  margin-top: 6px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-lang-switcher .lang-flag {
  width: 44px;
  height: 32px;
}

/* RTL support for Arabic pages */
html[dir="rtl"] body { direction: rtl; text-align: right; }
html[dir="rtl"] .navbar-inner,
html[dir="rtl"] .navbar-left,
html[dir="rtl"] .nav-links { flex-direction: row-reverse; }
html[dir="rtl"] .features-list li { flex-direction: row-reverse; text-align: right; }
html[dir="rtl"] .hero-overlay {
  background:
    linear-gradient(to left, rgba(1,79,134,0.65) 0%, rgba(1,79,134,0.2) 55%, rgba(0,0,0,0.1) 100%),
    linear-gradient(to top, rgba(0,0,0,0.35) 0%, transparent 45%);
}
html[dir="rtl"] .hero-content,
html[dir="rtl"] .hero-title,
html[dir="rtl"] .hero-text,
html[dir="rtl"] .hero-label { text-align: right; }
html[dir="rtl"] .whatsapp-float { right: auto; left: 24px; }
html[dir="rtl"] .footer-bottom { direction: rtl; }
html[dir="rtl"] .divider-gold { margin-left: auto; margin-right: 0; }
html[dir="rtl"] .divider-gold.center { margin-left: auto; margin-right: auto; }
@media (max-width: 768px) {
  html[dir="rtl"] .whatsapp-float { left: 18px; }
}

/* ========================================
   UI/UX ENHANCEMENTS v2
   Scroll progress · Back-to-top · Hover
   micro-interactions · Stagger · Polish
   ======================================== */

/* ---- Scroll Progress Bar ---- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(to right, var(--accent-gold), var(--accent-gold-light), #52d1d4);
  z-index: 10000;
  transition: width 0.08s linear;
  pointer-events: none;
}

/* ---- Back to Top Button ---- */
.back-to-top {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--accent-navy);
  border: 2px solid var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 997;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.3s, box-shadow 0.3s;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--accent-gold);
  box-shadow: 0 6px 20px rgba(43,160,163,0.45);
}
html[dir="rtl"] .back-to-top { right: auto; left: 24px; }

@media (max-width: 768px) {
  .back-to-top { bottom: 84px; right: 18px; width: 40px; height: 40px; font-size: 15px; }
  html[dir="rtl"] .back-to-top { right: auto; left: 18px; }
}

/* ---- Enhanced Navbar on scroll ---- */
.navbar {
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s;
}
.navbar.scrolled {
  box-shadow: 0 4px 28px rgba(0,0,0,0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ---- Enhanced Buttons ---- */
.btn-primary-custom {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.btn-primary-custom:hover {
  background: var(--accent-gold-light);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(43,160,163,0.38);
}
.btn-primary-custom::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.14) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.btn-primary-custom:hover::after {
  transform: translateX(100%);
}
.btn-outline-custom {
  transition: all 0.3s ease;
}
.btn-outline-custom:hover {
  transform: translateY(-2px);
}

/* Nav CTA button polish */
.nav-cta {
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s !important;
}
.nav-cta:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 16px rgba(43,160,163,0.4) !important;
}

/* ---- Stats bar item hover ---- */
.stat-item {
  transition: background 0.3s ease;
  cursor: default;
}
.stat-item:hover { background: rgba(255,255,255,0.09); }
.stat-number { transition: transform 0.3s ease; }
.stat-item:hover .stat-number { transform: scale(1.06); }

/* ---- Enhanced Project Cards ---- */
.project-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
  z-index: 2;
}

/* ---- Info Cards lift + icon bounce ---- */
.info-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-top-color 0.3s;
}
.info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}
.info-card-icon {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.info-card:hover .info-card-icon { transform: scale(1.25) rotate(6deg); }

/* ---- Service cards icon animation ---- */
.service-card { transition: border-left-color 0.3s, background 0.3s; }
.service-icon { transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.service-card:hover .service-icon { transform: scale(1.15) rotate(-6deg); }

/* ---- Feature list item hover ---- */
.features-list li {
  transition: transform 0.2s ease, color 0.2s;
  cursor: default;
}
.features-list li:hover { transform: translateX(-5px); }
html[dir="rtl"] .features-list li:hover { transform: translateX(5px); }

/* ---- Gallery — overlay + zoom icon ---- */
.gallery-item {
  position: relative;
  cursor: zoom-in;
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(1,79,134,0.55);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
}
.gallery-item::before {
  content: '+';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(0.4);
  z-index: 2;
  width: 52px; height: 52px;
  background: var(--accent-gold);
  border-radius: 50%;
  text-align: center;
  line-height: 52px;
  color: #fff;
  font-size: 2rem;
  font-weight: 300;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.gallery-item:hover::after  { opacity: 1; }
.gallery-item:hover::before { opacity: 1; transform: translate(-50%,-50%) scale(1); }

/* ---- About image corner subtle hover ---- */
.about-image {
  transition: transform 0.4s ease;
}
.about-image:hover { transform: translateY(-4px); }
.about-image img { transition: transform 0.6s ease; }
.about-image:hover img { transform: scale(1.03); }
.about-image::after { transition: bottom 0.4s ease, right 0.4s ease; }
.about-image:hover::after { bottom: -26px; right: -26px; }

/* ---- Quote section — decorative mark ---- */
.quote-section {
  position: relative;
  overflow: hidden;
}
.quote-section::before {
  content: '\201C';
  position: absolute;
  top: -20px; left: 50%;
  transform: translateX(-50%);
  font-size: 12rem;
  color: rgba(255,255,255,0.07);
  font-family: 'Montserrat', Georgia, serif;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* ---- CTA section — subtle radial glow ---- */
.cta-section {
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -60%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43,160,163,0.12) 0%, transparent 70%);
  pointer-events: none;
  animation: ctaGlow 6s ease-in-out infinite alternate;
}
@keyframes ctaGlow {
  from { opacity: 0.6; transform: translateX(-50%) scale(0.9); }
  to   { opacity: 1;   transform: translateX(-50%) scale(1.15); }
}

/* ---- Mobile menu — slide-down animation ---- */
.mobile-menu.open {
  animation: menuSlideDown 0.28s ease forwards;
}
@keyframes menuSlideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- Custom scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f0f0f0; }
::-webkit-scrollbar-thumb {
  background: var(--accent-gold);
  border-radius: 3px;
  transition: background 0.3s;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent-navy); }

/* ---- Focus ring — accessibility ---- */
*:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---- Footer link hover arrows ---- */
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0;
}
.footer-links a::before {
  content: '›';
  color: var(--accent-gold);
  font-size: 16px;
  width: 0;
  opacity: 0;
  overflow: hidden;
  transition: width 0.25s ease, opacity 0.25s ease;
}
.footer-links a:hover::before { width: 14px; opacity: 1; }
html[dir="rtl"] .footer-links a::before { content: '‹'; }

/* ---- Staggered fade-in delays for grids ---- */
.projects-grid > *:nth-child(1),
.info-cards > *:nth-child(1),
.services-grid > *:nth-child(1) { transition-delay: 0s; }

.projects-grid > *:nth-child(2),
.info-cards > *:nth-child(2),
.services-grid > *:nth-child(2) { transition-delay: 0.13s; }

.projects-grid > *:nth-child(3),
.info-cards > *:nth-child(3),
.services-grid > *:nth-child(3) { transition-delay: 0.26s; }

/* ---- Divider expand animation (inside fade-in containers) ---- */
.fade-in:not(.visible) .divider-gold {
  width: 0;
  opacity: 0;
}
.fade-in.visible .divider-gold {
  animation: expandDivider 0.7s 0.25s ease forwards;
}
@keyframes expandDivider {
  from { width: 0; opacity: 0; }
  to   { width: 60px; opacity: 1; }
}

/* ---- Image loading shimmer ---- */
img {
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 37%, #f0f0f0 63%);
  background-size: 400% 100%;
}
img[src] { background: none; }

/* ---- Section label glow on visible ---- */
.fade-in.visible .section-label {
  animation: labelFadeIn 0.6s ease forwards;
}
@keyframes labelFadeIn {
  from { opacity: 0; letter-spacing: 2px; }
  to   { opacity: 1; letter-spacing: 3px; }
}

/* ---- Project hero depth shadow ---- */
.project-hero {
  box-shadow: inset 0 -80px 100px rgba(0,0,0,0.25);
}

/* ---- Hero scroll indicator pulse ---- */
.hero-scroll { animation: heroPulse 3s ease-in-out infinite; }
@keyframes heroPulse {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}

/* ---- Locations grid hover zoom (about page) ---- */
.locations-location-img {
  transition: transform 0.5s ease;
}
section [style*="aspect-ratio:4/3"] img {
  transition: transform 0.5s ease;
}
section [style*="aspect-ratio:4/3"]:hover img {
  transform: scale(1.07);
}

/* ---- Responsive mobile polish ---- */
@media (max-width: 768px) {
  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.15);
  }
  .stat-item:last-child { border-bottom: none; }

  .btn-primary-custom,
  .btn-outline-custom {
    text-align: center;
    display: block;
    width: 100%;
  }
  .hero-buttons .btn-primary-custom,
  .hero-buttons .btn-outline-custom {
    width: auto;
    display: inline-block;
  }

  .project-card:hover { transform: none; box-shadow: none; }
  .info-card:hover    { transform: translateY(-4px); }
}

@media (max-width: 480px) {
  .section-title { font-size: 1.55rem; }
  .hero-title    { font-size: 2rem; }
  .quote-text    { font-size: 1.2rem; }
}

/* ========================================
   GOOGLE MAPS — Tabs & Frames
   ======================================== */

/* ---- Tab strip ---- */
.map-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-bottom: 4px;
}
.map-tab {
  background: var(--card-bg);
  border: none;
  border-top: 3px solid transparent;
  padding: 20px 14px 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  transition: background 0.3s, border-top-color 0.3s;
}
.map-tab:hover        { background: #012d4e; }
.map-tab.active       { border-top-color: var(--accent-gold); background: #012d4e; }
.map-tab-icon         { font-size: 1.4rem; }
.map-tab-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.5px;
  transition: color 0.3s;
  text-align: center;
}
.map-tab.active .map-tab-label,
.map-tab:hover .map-tab-label { color: var(--accent-gold); }
.map-tab-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.5px;
  text-align: center;
}

/* ---- Frame container ---- */
.map-frame-wrap { position: relative; }
.map-frame      { display: none; position: relative; }
.map-frame.active { display: block; }
.map-frame iframe {
  display: block;
  width: 100%;
  height: 480px;
  border: 0;
}

/* ---- Directions button (floats over map) ---- */
.map-directions-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-navy);
  color: #fff !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 12px 20px;
  border: 2px solid var(--accent-gold);
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  z-index: 10;
  text-decoration: none;
}
.map-directions-btn:hover {
  background: var(--accent-gold);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(43,160,163,0.4);
}
html[dir="rtl"] .map-directions-btn { right: auto; left: 16px; }

/* ---- Inline project-page map ---- */
.project-map-wrap          { position: relative; overflow: hidden; }
.project-map-wrap iframe   { display: block; width: 100%; height: 460px; border: 0; }

/* ---- Full-width map frame (contact page) ---- */
.map-frame-wrap {
  position: relative;
  overflow: hidden;
}
.map-frame {
  position: relative; /* ensure directions btn is anchored here */
}
.map-frame iframe {
  display: block;
  width: 100%;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .map-tabs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .map-frame iframe        { height: 340px; }
  .project-map-wrap iframe { height: 260px; }
  .map-directions-btn      { font-size: 10px; padding: 10px 14px; }
}
@media (max-width: 480px) {
  .map-tab         { padding: 14px 8px 12px; }
  .map-tab-label   { font-size: 11px; }
  .map-tab-sub     { display: none; }
  .map-frame iframe { height: 280px; }
}

/* ========================================
   GALLERY — Horizontal Scroll Carousel (Mobile)
   ======================================== */

/* Wrapper injected by JS */
.gallery-carousel-wrap { position: relative; }

/* Gold progress track */
.gallery-progress-track {
  height: 2px;
  background: rgba(255,255,255,0.08);
  margin: 16px 0 4px;
  border-radius: 2px;
  overflow: hidden;
}
.gallery-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-gold), #2ba0a3);
  border-radius: 2px;
  transition: width 0.1s linear;
}

/* Footer row: counter + swipe hint */
.gallery-carousel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding: 0 4px;
}
.gallery-carousel-counter {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--accent-gold);
}
.gallery-swipe-hint {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: opacity 0.8s ease;
}
.gallery-swipe-hint .hint-arrow {
  display: inline-block;
  animation: galleryHintSlide 1.6s ease-in-out infinite;
}
@keyframes galleryHintSlide {
  0%, 100% { transform: translateX(0);    opacity: 0.35; }
  50%       { transform: translateX(5px);  opacity: 1; }
}
html[dir="rtl"] .gallery-swipe-hint .hint-arrow {
  animation: galleryHintSlideRTL 1.6s ease-in-out infinite;
}
@keyframes galleryHintSlideRTL {
  0%, 100% { transform: translateX(0);    opacity: 0.35; }
  50%       { transform: translateX(-5px); opacity: 1; }
}
.gallery-swipe-hint.hidden { opacity: 0; pointer-events: none; }

/* Mobile carousel layout */
@media (max-width: 768px) {
  .gallery-grid {
    display: flex !important;
    grid-template-columns: unset !important;
    flex-direction: row;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* Fade edges to hint scrollability */
    -webkit-mask-image: linear-gradient(to right,
      transparent 0%, #000 7%, #000 93%, transparent 100%);
    mask-image: linear-gradient(to right,
      transparent 0%, #000 7%, #000 93%, transparent 100%);
  }
  .gallery-grid::-webkit-scrollbar { display: none; }

  /* All items become uniform tall portrait cards */
  .gallery-item,
  .gallery-item.wide,
  .gallery-item.tall,
  .gallery-item.wide.tall {
    flex: 0 0 78vw !important;
    max-width: 300px;
    aspect-ratio: 2 / 3 !important;
    scroll-snap-align: start;
    grid-column: unset !important;
    grid-row: unset !important;
    border-radius: 3px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  }
  /* Hero (first wide+tall) gets a touch more presence */
  .gallery-item.wide.tall {
    flex: 0 0 84vw !important;
    max-width: 340px;
    aspect-ratio: 3 / 4 !important;
  }

  /* Overlay + zoom icon don't fire on touch — hide them */
  .gallery-item::after,
  .gallery-item::before { display: none; }
}

/* ========================================
   COMPREHENSIVE MOBILE-FRIENDLY FIX
   ======================================== */

/* ── Navbar & hero padding ── */
@media (max-width: 768px) {
  .navbar-inner { padding: 0 18px; }

  .hero-content { padding: 0 20px; padding-top: var(--nav-height); }
  .hero-text    { font-size: 0.95rem; max-width: 100%; }
  .hero-title   { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .hero-buttons { gap: 10px; }

  .btn-primary-custom,
  .btn-outline-custom { padding: 14px 28px; }
}

/* ── Stats bar: 2×2 grid ── */
@media (max-width: 768px) {
  .stats-bar { padding: 20px 0; }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    padding: 0 18px;
  }
  .stat-item { padding: 14px 16px; }
  .stat-number { font-size: 1.8rem; }
}

/* ── Reduce padded inner containers ── */
@media (max-width: 768px) {
  [style*="padding:0 32px"],
  [style*="padding: 0 32px"] {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
  [style*="padding-left:32px"]  { padding-left: 18px !important; }
  [style*="padding-right:32px"] { padding-right: 18px !important; }
  [style*="padding:0 32px 80px"] {
    padding-left: 18px !important;
    padding-right: 18px !important;
    padding-bottom: 52px !important;
  }
  [style*="padding:80px 32px"] {
    padding: 52px 18px !important;
  }
}

/* ── Project card panels: reduce oversized internal padding ── */
@media (max-width: 768px) {
  [style*="padding:64px 56px"] { padding: 36px 22px !important; }
  [style*="padding:56px 48px"] { padding: 32px 20px !important; }
  [style*="padding:40px 32px"] { padding: 28px 20px !important; }
  [style*="padding:36px 32px"] { padding: 24px 18px !important; }
  [style*="padding:36px 28px"] { padding: 24px 18px !important; }
}

/* ── Stack project-page split-screen grids (image ↔ text) ── */
@media (max-width: 768px) {
  [style*="min-height:560px"] {
    grid-template-columns: 1fr !important;
    min-height: unset !important;
  }
  /* Project image panels: reduce tall height */
  [style*="min-height:460px"] { min-height: 240px !important; }

  /* Contact & about outer grids */
  [style*="grid-template-columns:1fr 1.6fr"],
  [style*="grid-template-columns: 1fr 1.6fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* ── Feature-card and promise grids: 3-col → 2-col ── */
@media (max-width: 768px) {
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns: repeat(3,1fr)"],
  [style*="grid-template-columns:repeat(3, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2px !important;
  }
  /* 4-col → 2-col */
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4,1fr)"],
  [style*="grid-template-columns:repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2px !important;
  }
  /* Section heading inline font sizes */
  [style*="font-size:2rem"],
  [style*="font-size: 2rem"]   { font-size: 1.45rem !important; }
  [style*="font-size:1.4rem"]  { font-size: 1.2rem !important; }

  /* Section padding */
  .section-pad    { padding: 56px 0; }
  .section-pad-sm { padding: 40px 0; }
}

/* ── Small phones (≤ 480px) ── */
@media (max-width: 480px) {
  .navbar-inner { padding: 0 14px; }
  .navbar-brand img { height: 36px; }

  /* Container padding */
  [style*="padding:0 32px"],
  [style*="padding: 0 32px"],
  [style*="padding:0 32px 80px"] {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  [style*="padding-left:32px"]  { padding-left: 14px !important; }
  [style*="padding-right:32px"] { padding-right: 14px !important; }

  /* 3-col & 4-col → single column */
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns: repeat(3,1fr)"],
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4,1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* Card padding */
  [style*="padding:64px 56px"] { padding: 28px 16px !important; }
  [style*="padding:40px 32px"] { padding: 24px 16px !important; }
  [style*="padding:36px 28px"],
  [style*="padding:36px 32px"] { padding: 20px 14px !important; }

  /* Image height */
  [style*="min-height:460px"] { min-height: 200px !important; }

  /* Hero */
  .hero-title { font-size: 1.85rem !important; }
  .hero-text  { font-size: 0.9rem; }
  .hero-buttons .btn-primary-custom,
  .hero-buttons .btn-outline-custom {
    width: 100%;
    text-align: center;
    display: block;
  }

  /* Stats: keep 2 × 2 */
  .stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .stat-item  { padding: 12px 8px; }
  .stat-number { font-size: 1.5rem; }

  /* Section / spacing */
  .section-pad    { padding: 48px 0; }
  .section-pad-sm { padding: 32px 0; }

  /* CTA section */
  .cta-title { font-size: 1.6rem; }
  .cta-text  { font-size: 0.95rem; padding: 0 8px; }
}

/* ── Project-page hero ("project-hero") ── */
@media (max-width: 768px) {
  .project-hero { min-height: 320px; }
  .project-hero-content { padding: 0 20px; }
  .project-hero-content h1 { font-size: clamp(1.8rem,7vw,2.5rem) !important; }
}

/* ── Mobile menu padding ── */
@media (max-width: 480px) {
  .mobile-menu { padding: 20px 18px; }
}
