:root {
  --bg-color: #f9fafb; /* Soft neutral white */
  --surface-color: #ffffff; /* Pure white */
  --surface-color-hover: #f3f4f6; /* Light grey hover */

  --primary-color: #faa21c; /* Logo orange */
  --accent-color: #e58d00; /* Slightly deeper orange for hover/highlight */

  --text-main: #1f2937; /* Strong dark grey */
  --text-muted: #666563; /* Logo grey */

  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(102, 101, 99, 0.12);
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Navbar */
.navbar {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: opacity 0.2s ease;
}

.header-logo:hover {
  opacity: 0.85;
}

.brand-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
}

.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-color);
}

/* ─── PREMIUM HERO SECTION ────────────────────────────────────────────────── */
.hero-premium {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Background image */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?w=1800&auto=format&fit=crop&q=80');
  background-size: cover;
  background-position: center 40%;
  transform: scale(1.04);
  filter: blur(1px);
  will-change: transform;
}

/* Dark cinematic gradient overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(15, 17, 23, 0.88) 0%,
      rgba(18, 20, 28, 0.78) 45%,
      rgba(20, 16, 10, 0.55) 100%
    );
}

/* Soft vignette */
.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 40%,
    rgba(0, 0, 0, 0.45) 100%
  );
  pointer-events: none;
}

/* Inner grid — left/right split */
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 5%;
  display: grid;
  grid-template-columns: 1fr 42%;
  align-items: center;
  gap: 3rem;
  height: 100%;
}

/* ── LEFT COLUMN ── */
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding: 2rem 0;
}

/* Entrance animation */
.hero-left { animation: heroSlideLeft 0.9s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-right { animation: heroSlideRight 0.9s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both; }

@keyframes heroSlideLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes heroSlideRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Trust badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(250, 162, 28, 0.12);
  border: 1px solid rgba(250, 162, 28, 0.35);
  color: var(--primary-color);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: 50px;
  width: fit-content;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(250, 162, 28, 0.25);
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(250, 162, 28, 0.25); }
  50%       { box-shadow: 0 0 0 6px rgba(250, 162, 28, 0.08); }
}

/* Main heading */
.hero-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.hero-heading-accent {
  color: var(--primary-color);
  font-style: italic;
}

/* Sub-brand line */
.hero-subheading {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.02em;
  border-left: 3px solid var(--primary-color);
  padding-left: 0.9rem;
  line-height: 1.5;
}

/* Supporting description */
.hero-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
  max-width: 480px;
}

/* ── CTA Buttons ── */
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 0.4rem;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition:
    background 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease;
  white-space: nowrap;
}

.btn-primary svg,
.btn-secondary svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Primary — orange solid */
.btn-primary {
  background: var(--primary-color);
  color: #1a0e00;
  box-shadow: 0 8px 24px rgba(250, 162, 28, 0.35);
}

.btn-primary:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(229, 141, 0, 0.45);
}

/* Secondary — glass */
.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ── Trust Indicators ── */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.trust-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
}

.trust-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.trust-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
}

/* ── RIGHT COLUMN – Rizwan photo ── */
.hero-right {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
  padding-top: 3rem;
}

.hero-photo-wrap {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 88vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* Ambient glow behind Rizwan */
.hero-photo-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 50%;
  background: radial-gradient(
    ellipse at center bottom,
    rgba(250, 162, 28, 0.18) 0%,
    transparent 70%
  );
  filter: blur(30px);
  border-radius: 50%;
  pointer-events: none;
}

.hero-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 16px 48px rgba(0, 0, 0, 0.55));
  animation: photoFloat 5s ease-in-out infinite;
  transform-origin: bottom center;
}

@keyframes photoFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

/* ── Scroll Cue ── */
.hero-scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scroll-line {
  display: block;
  width: 1.5px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(250,162,28,0.8), transparent);
  animation: scrollDrop 1.8s ease-in-out infinite;
}

@keyframes scrollDrop {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  40%  { opacity: 1; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: top; }
}

/* ─── FLOATING WHATSAPP BUTTON ─────────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.wa-float-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  animation: waPulse 2.2s ease-out infinite;
  z-index: 0;
}

@keyframes waPulse {
  0%   { transform: scale(1);   opacity: 0.6; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* Keep old .highlight rule for other sections */
.highlight {
  color: var(--primary-color);
}

/* Main Container */
main {
  flex: 1;
  padding: 2rem 5% 5rem;
}

/* Projects Grid */
.projects-header {
  margin-bottom: 2rem;
  font-size: 2rem;
  border-left: 4px solid var(--primary-color);
  padding-left: 1rem;
}

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

/* Project Card */
.card {
  background: var(--surface-color);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  border-color: var(--primary-color);
}

.card-img-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

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

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

.card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.card-location {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.card-location svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.view-btn {
  background: rgba(56, 189, 248, 0.1);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: background 0.3s ease;
}

.card:hover .view-btn {
  background: var(--primary-color);
  color: #000;
}

/* Project Detail Page */
.project-detail-container {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--surface-color);
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.detail-img-wrapper {
  width: 100%;
  height: 400px;
}

.detail-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-content {
  padding: 3rem;
}

.detail-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.detail-meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--glass-border);
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  flex-direction: column;
}

.meta-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.meta-value {
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.meta-value svg {
  width: 18px;
  height: 18px;
  fill: var(--primary-color);
}

.detail-section {
  margin-bottom: 2rem;
}

.detail-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.detail-section p {
  color: var(--text-muted);
  line-height: 1.8;
}

.services-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1rem;
}

.services-list li {
  background: #ffffff;
  border: 1.5px solid #e0eaf4;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #1e3a5f;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.services-list li:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.15);
  border-color: var(--primary-color);
  background: #f0f9ff;
}

.services-list li svg {
  width: 22px;
  height: 22px;
  fill: var(--primary-color);
  flex-shrink: 0;
  background: #e0f2fe;
  border-radius: 50%;
  padding: 4px;
  box-sizing: content-box;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.back-btn:hover {
  color: var(--primary-color);
}

.back-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.map-container {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  margin-top: 1rem;
}

.map-container iframe {
  display: block;
}

/* Footer */
footer {
  background: #ffffff;
  border-top: 1.5px solid #e2e8f0;
  padding: 2.5rem 5%;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-logo {
  height: 64px;
  width: auto;
  object-fit: contain;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.footer-phone {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--primary-color);
}

.footer-company {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Action Buttons */
.footer-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
  border: 2px solid transparent;
}

.action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  opacity: 0.92;
}

.action-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

.call-btn {
  background: #0284c7;
  color: #ffffff;
}

.sms-btn {
  background: #0f172a;
  color: #ffffff;
}

.wa-btn {
  background: #25d366;
  color: #ffffff;
}

/* ─── Builders Section ──────────────────────────────────────────────────── */
.builders-section {
  padding: 4rem 5%;
  background: linear-gradient(135deg, #fff9f0 0%, #fffdf9 100%);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.builders-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Builders Grid */
.builders-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
}

/* Builder Card */
.builder-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  background: var(--surface-color);
  border: 1.5px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem 2.5rem;
  text-decoration: none;
  color: inherit;
  min-width: 220px;
  max-width: 260px;
  flex: 1 1 220px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.35s ease,
              border-color 0.3s ease;
  cursor: pointer;
}

.builder-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(250,162,28,0.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}

.builder-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 45px rgba(250, 162, 28, 0.18), 0 4px 12px rgba(0,0,0,0.08);
  border-color: var(--primary-color);
}

.builder-card:hover::before {
  opacity: 1;
}

/* Shimmering ring on hover */
.builder-logo-wrap {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid var(--glass-border);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  padding: 8px;
  position: relative;
  z-index: 1;
}

.builder-card:hover .builder-logo-wrap {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 6px rgba(250, 162, 28, 0.12);
}

.builder-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.builder-card:hover .builder-logo {
  transform: scale(1.08);
}

.builder-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.builder-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  transition: color 0.3s ease;
}

.builder-card:hover .builder-name {
  color: var(--primary-color);
}

.builder-tagline {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  max-width: 200px;
}

/* ─── Builder Hero (builder.html) ───────────────────────────────────────── */
.builder-hero {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  padding: 3.5rem 5%;
  border-bottom: 3px solid var(--primary-color);
}

.builder-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.builder-hero-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 18px;
  background: #fff;
  padding: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  border: 2px solid rgba(250,162,28,0.4);
  flex-shrink: 0;
}

.builder-hero-text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.builder-hero-name {
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

.builder-hero-tagline {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  max-width: 500px;
}

.builder-project-badge {
  display: inline-block;
  margin-top: 0.4rem;
  background: var(--primary-color);
  color: #000;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  letter-spacing: 0.03em;
  width: fit-content;
}

/* ─── No Projects Empty State ───────────────────────────────────────────── */
.no-projects {
  grid-column: 1 / -1;
  text-align: center;
  padding: 5rem 1rem;
  color: var(--text-muted);
}

.no-projects svg {
  width: 56px;
  height: 56px;
  fill: var(--glass-border);
  margin-bottom: 1rem;
}

.no-projects p {
  font-size: 1.1rem;
}

/* ─── WHY CHOOSE RTR SECTION ─────────────────────────────────────────────── */
.why-rtr {
  padding: 5rem 5%;
  background: var(--bg-color);
  border-top: 1px solid var(--glass-border);
}

.why-rtr-header {
  text-align: center;
  margin-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.why-rtr-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-color);
  background: rgba(250, 162, 28, 0.1);
  border: 1px solid rgba(250, 162, 28, 0.25);
  padding: 0.3rem 1rem;
  border-radius: 50px;
}

.why-rtr-title {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.why-rtr-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
}

/* 3-column grid, collapses to 2 then 1 */
.why-rtr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* Individual card */
.rtr-card {
  background: var(--surface-color);
  border: 1.5px solid var(--glass-border);
  border-radius: 18px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.32s ease,
    border-color 0.28s ease;
  cursor: default;
}

/* Animated orange top bar on hover */
.rtr-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary-color);
  border-radius: 0 0 4px 0;
  transition: width 0.35s ease;
}

.rtr-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 16px 40px rgba(250, 162, 28, 0.1),
    0 4px 12px rgba(0, 0, 0, 0.07);
  border-color: rgba(250, 162, 28, 0.45);
}

.rtr-card:hover::before {
  width: 60%;
}

/* Icon wrapper */
.rtr-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(250, 162, 28, 0.08);
  border: 1.5px solid rgba(250, 162, 28, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.28s ease, border-color 0.28s ease;
}

.rtr-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary-color);
  transition: stroke 0.28s ease, transform 0.28s ease;
}

.rtr-card:hover .rtr-card-icon {
  background: rgba(250, 162, 28, 0.15);
  border-color: rgba(250, 162, 28, 0.4);
}

.rtr-card:hover .rtr-card-icon svg {
  stroke: var(--accent-color);
  transform: scale(1.12);
}

/* Card text */
.rtr-card-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  transition: color 0.25s ease;
}

.rtr-card:hover .rtr-card-title {
  color: var(--primary-color);
}

.rtr-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── PROPERTY TOURS & MARKET UPDATES (VIDEO HUB) ───────────────────────── */
.video-hub {
  padding: 5rem 5%;
  background: var(--surface-color);
  border-top: 1px solid var(--glass-border);
}

.video-hub-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.video-hub-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.video-hub-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.video-hub-tagline {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* 3-column grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Video Card */
.video-card {
  background: var(--surface-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--glass-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

/* Video Wrapper (16:9 aspect ratio) */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: #000;
  overflow: hidden;
  cursor: pointer;
}

.video-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video-card:hover .video-thumb {
  transform: scale(1.05);
}

/* Dark overlay & gradient */
.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.6) 100%);
  transition: opacity 0.3s ease;
}

/* Badge */
.video-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-main);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Play Button */
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.play-btn svg {
  width: 24px;
  height: 24px;
  fill: #fff;
  margin-left: 4px; /* optical center */
  transition: fill 0.3s ease;
}

.video-card:hover .play-btn {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 0 20px rgba(250, 162, 28, 0.6);
}

/* Title Section */
.video-info {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  align-items: center;
}

.video-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
  margin: 0;
  transition: color 0.3s ease;
}

.video-card:hover .video-title {
  color: var(--primary-color);
}

/* Modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 1rem;
}

.video-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(8px);
}

.video-modal-content {
  position: relative;
  width: 100%;
  max-width: 960px;
  z-index: 1;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-modal.active .video-modal-content {
  transform: scale(1);
}

.video-modal-iframe-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.video-modal-iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 2;
  transition: color 0.2s ease, transform 0.2s ease;
}

.video-modal-close:hover {
  color: var(--primary-color);
  transform: scale(1.1);
}

.video-modal-close svg {
  width: 28px;
  height: 28px;
}

/* ─── CLIENT TESTIMONIALS ─────────────────────────────────────────────────── */
.testimonials-section {
  padding: 5rem 0; /* padding 0 on sides to allow full bleed carousel */
  background: linear-gradient(180deg, var(--bg-color) 0%, #ffffff 100%);
  border-top: 1px solid var(--glass-border);
  overflow: hidden;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 3.5rem;
  padding: 0 5%;
}

.testimonials-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.testimonials-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 1.2rem;
}

.trust-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #10b981; /* trustworthy green */
  background: rgba(16, 185, 129, 0.08);
  padding: 0.4rem 1rem;
  border-radius: 50px;
}

.trust-check {
  width: 16px;
  height: 16px;
}

/* Horizontal Carousel */
.testimonials-carousel-wrapper {
  position: relative;
  width: 100%;
  padding: 1rem 0 3rem;
  /* Use mask-image to fade out left and right edges for a premium look */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
}

.testimonials-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  padding-left: 5vw;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Testimonial Card */
.testimonial-card {
  width: 380px;
  background: var(--surface-color);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(250, 162, 28, 0.08);
  border-color: rgba(250, 162, 28, 0.3);
  z-index: 2;
}

/* Client Profile */
.client-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.client-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.client-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.client-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.1;
}

.client-rating {
  color: var(--primary-color);
  font-size: 1rem;
  letter-spacing: 2px;
}

/* Review Text */
.client-review {
  font-size: 1rem;
  color: var(--text-main);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1.5rem;
  flex: 1;
}

.client-review::before {
  content: '"';
  color: rgba(250, 162, 28, 0.3);
  font-size: 2.5rem;
  font-family: Georgia, serif;
  line-height: 0;
  position: relative;
  top: 10px;
  left: -2px;
}

/* Property Reference */
.client-property {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  border-top: 1px solid var(--glass-border);
  padding-top: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ─── Responsive ────────────────────────────────────────────────────────── */

/* Tablet */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr 38%;
    gap: 2rem;
  }
  .hero-photo-wrap { max-width: 360px; height: 80vh; }

  /* Why RTR — 2 columns on tablet */
  .why-rtr-grid { grid-template-columns: repeat(2, 1fr); }

  /* Video Hub — 2 columns on tablet */
  .video-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

/* Mobile */
@media (max-width: 768px) {
  .detail-content { padding: 1.5rem; }
  .detail-img-wrapper { height: 250px; }
  .detail-title { font-size: 2rem; }
  .footer-content { flex-direction: column; align-items: flex-start; }
  .footer-actions { width: 100%; justify-content: flex-start; }

  .section-title { font-size: 1.7rem; }
  .builders-grid { gap: 1.2rem; }
  .builder-card { padding: 1.5rem 1.75rem; min-width: 160px; }
  .builder-logo-wrap { width: 80px; height: 80px; }

  .builder-hero-inner { gap: 1.5rem; }
  .builder-hero-name { font-size: 1.8rem; }
  .builder-hero-logo { width: 90px; height: 90px; }

  /* Premium hero — stack layout */
  .hero-premium { height: auto; min-height: 100vh; padding-bottom: 3rem; }

  .hero-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    padding-top: 5rem;
    align-items: start;
    gap: 0;
  }

  /* Photo goes above text on mobile — behind content */
  .hero-right {
    order: -1;
    height: 52vw;
    max-height: 300px;
    padding-top: 0;
    opacity: 0.9;
  }

  .hero-photo-wrap {
    max-width: 100%;
    height: 100%;
  }

  .hero-photo {
    object-position: top center;
  }

  .hero-left {
    padding-bottom: 2rem;
    gap: 1.2rem;
  }

  .hero-heading { font-size: clamp(2rem, 7vw, 2.6rem); }

  .btn-primary, .btn-secondary { padding: 0.75rem 1.4rem; font-size: 0.9rem; }

  .hero-trust { gap: 1rem; }
  .trust-number { font-size: 1.25rem; }

  .whatsapp-float { bottom: 1.2rem; right: 1.2rem; width: 52px; height: 52px; }
  .wa-float-icon { width: 28px; height: 28px; }

  /* Why RTR — 1 column on mobile */
  .why-rtr { padding: 3.5rem 5%; }
  .why-rtr-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .why-rtr-title { font-size: 1.75rem; }

  /* Video Hub — 1 column on mobile */
  .video-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .video-hub { padding: 4rem 5%; }
  .video-hub-title { font-size: 1.8rem; }

  /* Testimonials */
  .testimonial-card { width: 300px; padding: 1.5rem; }
  .client-review { font-size: 0.95rem; }
}

/* Small phones */
@media (max-width: 400px) {
  .hero-heading { font-size: 1.9rem; }
  .hero-trust { flex-wrap: wrap; gap: 0.8rem; }
  .trust-divider { display: none; }
  .rtr-card { padding: 1.5rem 1.25rem; }
}
