/* ============================================
   DAR AL NOOR – Glossy Red & White Theme
   ============================================ */

:root {
  --red:          #e01c24;
  --red-dark:     #b5141b;
  --red-light:    #ff3b43;
  --red-glow:     rgba(224, 28, 36, 0.35);
  --red-soft:     rgba(224, 28, 36, 0.08);
  --white:        #ffffff;
  --off-white:    #fdf5f5;
  --dark:         #0f0f0f;
  --dark-alt:     #1a1a1a;
  --gray:         #6b7280;
  --light-gray:   #f8f8f8;
  --border:       rgba(224,28,36,0.15);
  --whatsapp:     #25d366;

  --font:         'Inter', Arial, sans-serif;
  --r-sm:         8px;
  --r-md:         14px;
  --r-lg:         22px;
  --r-xl:         32px;
  --r-pill:       9999px;

  --shadow-sm:    0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:    0 6px 24px rgba(0,0,0,0.12);
  --shadow-lg:    0 12px 48px rgba(0,0,0,0.18);
  --shadow-red:   0 8px 32px rgba(224,28,36,0.3);

  --nav-h:        100px;
  --max-w:        1240px;
  --t:            0.3s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--dark); background: var(--white); line-height: 1.65; overflow-x: hidden; }
img { max-width: 100%; display: block; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; }

/* ============================================
   SECTION HEADER COMMONS
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--red-soft);
  color: var(--red);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35em 1.1em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 1rem;
}

.section-title span { color: var(--red); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85em 2.1em;
  border-radius: var(--r-pill);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--t);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red-light) 0%, var(--red) 50%, var(--red-dark) 100%);
  color: var(--white);
  box-shadow: var(--shadow-red);
  border-color: transparent;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, transparent 60%);
  border-radius: inherit;
  pointer-events: none;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(224,28,36,0.5);
}

.btn-glass {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
}
.btn-glass:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-outline:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #2ecc71, var(--whatsapp));
  color: var(--white);
  box-shadow: 0 8px 28px rgba(37,211,102,0.35);
  border-color: transparent;
}
.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(37,211,102,0.5);
}

.btn-full { width: 100%; justify-content: center; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--red);
  transition: gap var(--t), color var(--t);
}
.card-link:hover { gap: 0.75rem; color: var(--red-dark); }

/* ============================================
   HEADER / NAV
   ============================================ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: transparent;
  transition: background var(--t), box-shadow var(--t), backdrop-filter var(--t);
}

#header.scrolled {
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.12);
}

#header.scrolled .logo-text { color: var(--dark); }
#header.scrolled .nav-link { color: var(--dark); }
#header.scrolled .nav-link:hover,
#header.scrolled .nav-link.active { color: var(--red); }
#header.scrolled .nav-toggle span { background: var(--dark); }

.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-logo-img {
  height: 90px;
  width: auto;
  display: block;
  transition: opacity var(--t);
  /* Drop shadow so the red logo pops on the dark hero background */
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.6));
}

#header.scrolled .nav-logo-img {
  filter: none;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--red-light), var(--red-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.9rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px var(--red-glow);
}

.logo-text {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
}

.logo-accent { color: var(--red); }
#header.scrolled .logo-accent { color: var(--red); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  position: relative;
  transition: color var(--t);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width var(--t);
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55em 1.5em;
  background: linear-gradient(135deg, var(--red-light), var(--red));
  color: var(--white) !important;
  border-radius: var(--r-pill);
  font-size: 0.85rem;
  font-weight: 700;
  transition: all var(--t);
  box-shadow: 0 4px 16px var(--red-glow);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-red); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--t);
}

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

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.65) 0%, rgba(10,0,0,0.75) 60%, rgba(0,0,0,0.82) 100%);
}

/* Red glows */
.hero-bg-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 60%, rgba(224,28,36,0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 30%, rgba(224,28,36,0.15) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 2rem 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(224,28,36,0.18);
  border: 1px solid rgba(224,28,36,0.45);
  color: #ffb3b6;
  border-radius: var(--r-pill);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4em 1.2em;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(6px);
}

.hero-title {
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 30px rgba(0,0,0,0.5);
  letter-spacing: -0.02em;
}

.hero-title-accent {
  background: linear-gradient(135deg, #ff6b70, var(--red), #c0000a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  font-weight: 400;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-trust {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
}
.trust-item i { color: #7ef5a0; font-size: 0.9rem; }

.hero-separator {
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  z-index: 3;
  line-height: 0;
}
.hero-separator svg { width: 100%; height: 80px; }

/* ============================================
   MARQUEE STRIP
   ============================================ */
.marquee-strip {
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 50%, var(--red-light) 100%);
  padding: 0.9rem 0;
  overflow: hidden;
  position: relative;
  z-index: 4;
  box-shadow: 0 4px 24px rgba(224,28,36,0.4);
}

.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-track span i { color: rgba(255,255,255,0.6); font-size: 0.65rem; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================
   SERVICES
   ============================================ */
.services-section { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid #f0e8e8;
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(224,28,36,0.3);
}

.service-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

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

.service-card:hover .service-card-img img {
  transform: scale(1.07);
}

.service-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.3) 100%);
}

.service-card-body {
  padding: 1.75rem 1.5rem;
}

.service-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--red-soft), rgba(224,28,36,0.15));
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--red);
  margin-bottom: 1rem;
  transition: background var(--t), color var(--t), transform var(--t);
  border: 1px solid var(--border);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--red-light), var(--red));
  color: var(--white);
  transform: rotate(-5deg) scale(1.1);
  border-color: transparent;
  box-shadow: var(--shadow-red);
}

.service-card-body h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.65rem;
}

.service-card-body p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

/* ============================================
   ABOUT
   ============================================ */
.about-section {
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(224,28,36,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-img-mosaic {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0.85rem;
}

.mosaic-main {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  grid-row: 1;
}

.mosaic-main img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.mosaic-main:hover img { transform: scale(1.04); }

.mosaic-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, rgba(224,28,36,0.9), rgba(180,20,27,0.9));
  backdrop-filter: blur(8px);
  color: var(--white);
  border-radius: var(--r-md);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.mosaic-side {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mosaic-sm {
  border-radius: var(--r-md);
  overflow: hidden;
  flex: 1;
}

.mosaic-sm img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.mosaic-sm:hover img { transform: scale(1.06); }

.about-content { padding: 1rem 0; }

.about-content .section-title,
.about-content .section-pill { text-align: left; }

.about-lead {
  font-size: 1.08rem;
  color: var(--dark);
  font-weight: 500;
  line-height: 1.75;
  margin-bottom: 1rem;
  margin-top: 0.75rem;
}

.about-content p {
  color: var(--gray);
  font-size: 0.96rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-content p strong { color: var(--dark); }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
}
.about-feature i { color: var(--red); font-size: 0.95rem; }

/* ============================================
   STATISTICS
   ============================================ */
.stats-section {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.stats-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.stats-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.stats-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(180,20,27,0.92) 0%, rgba(100,0,5,0.95) 100%);
}

.stats-grid {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.stat-item {
  flex: 1;
  min-width: 180px;
  text-align: center;
  padding: 2rem 1.5rem;
}

.stat-icon {
  font-size: 1.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.75rem;
}

.stat-number {
  display: block;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.stat-number::after { content: '+'; }

.stat-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 70px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-section { background: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.75rem;
}

.why-card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid #f0e8e8;
  overflow: hidden;
  text-align: center;
  transition: transform var(--t), box-shadow var(--t);
  box-shadow: var(--shadow-sm);
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 50px rgba(224,28,36,0.15);
  border-color: rgba(224,28,36,0.25);
}

.why-img {
  height: 180px;
  overflow: hidden;
  position: relative;
}

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

.why-card:hover .why-img img { transform: scale(1.07); }

.why-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.25) 100%);
}

.why-icon {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, var(--red-light), var(--red));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--white);
  margin: -29px auto 0;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-red);
  transition: transform var(--t);
}

.why-card:hover .why-icon { transform: scale(1.15) rotate(-5deg); }

.why-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
  margin: 1rem 1.25rem 0.5rem;
}

.why-card p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.7;
  padding: 0 1.25rem 1.75rem;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-section { background: var(--off-white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 1rem;
}

.gallery-item {
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item--large {
  grid-column: span 2;
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(180,20,27,0.85) 0%, rgba(224,28,36,0.3) 50%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity var(--t);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay span {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ============================================
   MISSION & VISION
   ============================================ */
.mission-section { background: var(--white); }

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

.mission-card {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid #f0e8e8;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
}

.mission-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 50px rgba(224,28,36,0.15);
}

.mission-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.mission-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.mission-card:hover .mission-img img { transform: scale(1.05); }

.mission-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.2) 100%);
}

.mission-body {
  padding: 2rem;
  text-align: center;
  background: var(--white);
  border-top: 4px solid var(--red);
}

.mission-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--red-light), var(--red));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  margin: 0 auto 1.25rem;
  box-shadow: var(--shadow-red);
}

.mission-body h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.875rem;
}

.mission-body p {
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section { background: var(--off-white); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: start;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid #f0e8e8;
  transition: transform var(--t), box-shadow var(--t);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.testimonial-card--featured {
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 100%);
  border-color: transparent;
  box-shadow: var(--shadow-red);
}

.testimonial-card--featured .testimonial-stars i { color: #ffd700; }
.testimonial-card--featured .testimonial-text { color: rgba(255,255,255,0.9); }
.testimonial-card--featured .testimonial-quote i { color: rgba(255,255,255,0.25); }
.testimonial-card--featured .testimonial-author strong { color: var(--white); }
.testimonial-card--featured .testimonial-author span { color: rgba(255,255,255,0.7); }

.testimonial-quote i {
  font-size: 2.5rem;
  color: rgba(224,28,36,0.12);
  margin-bottom: 0.5rem;
  display: block;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 0.85rem;
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
}

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

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.testimonial-card--featured .testimonial-author { border-top-color: rgba(255,255,255,0.2); }

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red-light), var(--red));
  color: var(--white);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 0.88rem;
  color: var(--dark);
  font-weight: 700;
}
.testimonial-author span {
  font-size: 0.78rem;
  color: var(--gray);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  position: relative;
  padding: 6rem 0;
  text-align: center;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(180,20,27,0.94) 0%, rgba(100,0,5,0.97) 100%);
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.cta-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.cta-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-section { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-img {
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 1.75rem;
  height: 220px;
}

.contact-info-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--red-soft), rgba(224,28,36,0.15));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--red);
  flex-shrink: 0;
  margin-top: 2px;
  transition: background var(--t), color var(--t);
}

.contact-item:hover .contact-icon {
  background: linear-gradient(135deg, var(--red-light), var(--red));
  color: var(--white);
  border-color: transparent;
}

.contact-item strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dark);
  margin-bottom: 0.2rem;
}

.contact-item p { font-size: 0.92rem; color: var(--gray); line-height: 1.6; }
.contact-item a { color: var(--red); transition: color var(--t); }
.contact-item a:hover { color: var(--red-dark); }

/* Contact Form */
.contact-form {
  background: var(--off-white);
  border-radius: var(--r-xl);
  padding: 2.75rem 2.25rem;
  border: 1px solid #f0e8e8;
  box-shadow: var(--shadow-md);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.form-group label i { color: var(--red); font-size: 0.75rem; }

.form-group input,
.form-group textarea,
.form-group select {
  font-family: var(--font);
  font-size: 0.92rem;
  padding: 0.8rem 1.1rem;
  border: 1.5px solid #e8d8d8;
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--dark);
  transition: border-color var(--t), box-shadow var(--t);
  outline: none;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(224,28,36,0.1);
}

/* Honeypot – visually hidden but NOT display:none so bots still see it */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-note {
  font-size: 0.78rem;
  color: var(--gray);
  text-align: center;
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.form-note i { color: var(--red); }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--dark-alt); color: rgba(255,255,255,0.7); }

.footer-top {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.footer-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
  filter: grayscale(30%);
}

.footer-top-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, var(--dark-alt) 100%);
}

.footer-main { padding: 3rem 0 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1.2fr 1.5fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
}

.footer-logo-img {
  height: 72px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.75;
  margin-bottom: 1.4rem;
  color: rgba(255,255,255,0.55);
}

.footer-social {
  display: flex;
  gap: 0.65rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: background var(--t), color var(--t), transform var(--t);
  border: 1px solid rgba(255,255,255,0.06);
}

.footer-social a:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
  border-color: transparent;
  box-shadow: 0 4px 16px var(--red-glow);
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--t), padding-left var(--t);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a i { font-size: 0.6rem; color: var(--red); }
.footer-links a:hover { color: var(--white); padding-left: 4px; }

.footer-contact p {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.85rem;
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  line-height: 1.6;
}

.footer-contact p i { color: var(--red); margin-top: 3px; flex-shrink: 0; }
.footer-contact a { color: rgba(255,255,255,0.55); transition: color var(--t); }
.footer-contact a:hover { color: var(--white); }

.footer-bottom {
  background: rgba(0,0,0,0.3);
  padding: 1.25rem 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.38);
}
.footer-bottom i { color: var(--red); }

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #2ecc71, var(--whatsapp));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: var(--white);
  box-shadow: 0 4px 24px rgba(37,211,102,0.5);
  transition: transform var(--t), box-shadow var(--t);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.65);
}

.whatsapp-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(37,211,102,0.4);
  animation: pulse 2.2s ease-out infinite;
  pointer-events: none;
}

@keyframes pulse {
  0%   { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2); opacity: 0; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item--large { grid-column: span 2; }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-content .section-title,
  .about-content .section-pill { text-align: center; }
  .about-content { text-align: center; }
  .about-features { justify-content: center; }
  .about-content .btn { margin-left: auto; margin-right: auto; }

  .mission-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  :root { --nav-h: 72px; }

  /* Shrink logo to fit the mobile nav bar */
  .nav-logo-img { height: 56px; }

  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  .nav-menu {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    bottom: 0;                          /* fill full remaining height */
    background: rgba(12,0,2,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;            /* vertically centre the links */
    gap: 0;
    padding: 1rem 0 2rem;
    /* hidden state */
    transform: translateX(100%);        /* slide in from right – more reliable on iOS */
    visibility: hidden;
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease, visibility 0s linear 0.35s;
    z-index: 999;
  }

  .nav-menu.open {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
    transition: transform 0.35s ease, opacity 0.35s ease, visibility 0s linear 0s;
  }

  .nav-link {
    padding: 1rem 2rem;
    width: 100%;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9) !important;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .nav-link:last-child { border-bottom: none; }

  #header.scrolled .nav-link { color: rgba(255,255,255,0.9) !important; }

  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-trust { flex-direction: column; align-items: center; gap: 0.75rem; }

  .stat-divider { display: none; }
  .stats-grid { flex-direction: column; gap: 0; }
  .stat-item { border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stat-item:last-child { border-bottom: none; }

  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item--large { grid-column: span 1; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .cta-buttons { flex-direction: column; align-items: center; }

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

  .whatsapp-float { bottom: 1.25rem; right: 1.25rem; }
}

@media (max-width: 480px) {
  .section { padding: 4rem 0; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .about-img-mosaic { grid-template-columns: 1fr; }
  .mosaic-side { display: grid; grid-template-columns: 1fr 1fr; }
  .mosaic-sm img { height: 110px; }
  .contact-form { padding: 1.75rem 1.25rem; }
  .about-features { grid-template-columns: 1fr; }
}
