/* ========================================
   APMG Reality - COMPLETE STYLESHEET
   ======================================== */

/* --- Google Fonts & Variables --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  --primary: #1a3c6e;
  --primary-light: #2456a4;
  --primary-dark: #0f2447;
  --accent: #f47c20;
  --accent-light: #ff9a45;
  --accent-dark: #d4620e;
  --white: #ffffff;
  --off-white: #f8f9fc;
  --light-gray: #eef1f7;
  --mid-gray: #c8d0e0;
  --text-dark: #1a2035;
  --text-body: #4a5568;
  --text-light: #718096;
  --shadow-sm: 0 2px 8px rgba(26, 60, 110, 0.08);
  --shadow-md: 0 8px 24px rgba(26, 60, 110, 0.12);
  --shadow-lg: 0 16px 48px rgba(26, 60, 110, 0.18);
  --shadow-xl: 0 24px 64px rgba(26, 60, 110, 0.24);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;
  --font: 'Poppins', sans-serif;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* --- Utility Classes --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(244, 124, 32, 0.1);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin: 0 auto 20px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(244, 124, 32, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  box-shadow: 0 8px 24px rgba(244, 124, 32, 0.45);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(244, 124, 32, 0.4);
}

.btn-blue {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(26, 60, 110, 0.3);
}

.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 60, 110, 0.45);
}

/* ========================================
   NAVBAR
   ======================================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  background: #0f2447;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

#navbar.scrolled .nav-inner {
  background: #0f2447;
  /* removed backdrop-filter to prevent washed-out text */
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  padding: 14px 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: #c21e1c;
  letter-spacing: -0.02em;
}

.nav-logo-img {
  height: 42px;
  width: auto;
  border-radius: 8px;
  background: white;
  padding: 3px 6px;
  object-fit: contain;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px; /* Thinner, tighter spacing */
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem; /* Small, sleek, professional typography */
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 6px 12px; /* Shaved down vertical and horizontal padding */
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  position: relative;
  display: flex;
  align-items: center;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: calc(100% - 28px);
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(244, 124, 32, 0.35);
  margin-left: 8px;
}

.nav-cta:hover {
  box-shadow: 0 6px 18px rgba(244, 124, 32, 0.5);
  transform: translateY(-1px);
}

.nav-cta::after {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--accent);
  /* Changed from white for better contrast/attention */
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   HERO SECTION
   ======================================== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 160px; /* Offset the flex center strictly below the fixed navbar */
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero_banner.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}

.hero-bg.loaded {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(10, 25, 55, 0.88) 0%,
      rgba(15, 36, 71, 0.75) 40%,
      rgba(244, 124, 32, 0.18) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 0 24px;
  margin: 0 auto 0 0;
  margin-left: 8vw;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(244, 124, 32, 0.15);
  border: 1px solid rgba(244, 124, 32, 0.4);
  border-radius: 100px;
  padding: 8px 18px;
  color: var(--accent-light);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.7s ease forwards 0.3s;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 22px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.7s ease forwards 0.5s;
}

.hero-title .highlight {
  color: var(--accent);
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 550px;
  line-height: 1.75;
  margin-bottom: 40px;
  font-weight: 300;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.7s ease forwards 0.7s;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.7s ease forwards 0.9s;
}

.hero-stats {
  position: absolute;
  right: 8vw;
  bottom: 80px;
  display: flex;
  gap: 0;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 1.1s;
  width: fit-content;
}

.hero-stat {
  padding: 20px 36px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat:last-child {
  border-right: none;
}

.hero-stat .stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.hero-stat .stat-label {
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 6px;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.scroll-indicator {
  position: absolute;
  bottom: 150px;
  right: 8vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  opacity: 0;
  animation: fadeIn 1s forwards 1.5s;
}

.scroll-indicator span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), transparent);
  animation: scrollPulse 2s ease infinite;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
#about {
  background: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-content .section-tag {
  margin-bottom: 14px;
}

.about-content .section-title {
  text-align: left;
}

.about-description {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: 28px;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 36px;
}

.pillar-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--accent);
  transition: var(--transition);
}

.pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.pillar-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, rgba(244, 124, 32, 0.12), rgba(244, 124, 32, 0.06));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.pillar-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.pillar-text {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.6;
}

.about-visual {
  position: relative;
}

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-img-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-img-wrap:hover img {
  transform: scale(1.04);
}

.about-badge {
  position: absolute;
  bottom: 28px;
  left: -24px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
}

.badge-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
  flex-shrink: 0;
}

.badge-info strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
}

.badge-info span {
  font-size: 0.78rem;
  color: var(--text-light);
}

.about-accent-dot {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(244, 124, 32, 0.2), transparent 70%);
  border-radius: 50%;
}

/* ========================================
   PROJECTS SECTION
   ======================================== */
#projects {
  background: var(--white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  background: var(--white);
  border: 1px solid var(--light-gray);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.project-img-wrap {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.project-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover .project-img-wrap img {
  transform: scale(1.08);
}

.project-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent);
  color: white;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-body {
  padding: 24px;
}

.project-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

.project-location i {
  color: var(--accent);
}

.project-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
  line-height: 1.35;
}

.project-desc {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 18px;
}

.project-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--light-gray);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: var(--text-light);
}

.meta-item i {
  color: var(--primary-light);
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.project-price span {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--text-light);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.82rem;
}

/* ========================================
   FEATURED PROJECT
   ======================================== */
#featured {
  background: var(--primary-dark);
  padding: 100px 0;
  overflow: hidden;
  position: relative;
}

#featured::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(244, 124, 32, 0.1), transparent 70%);
  border-radius: 50%;
}

.featured-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.featured-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.featured-img-wrap img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.featured-img-wrap:hover img {
  transform: scale(1.04);
}

.featured-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 25, 55, 0.7) 0%, transparent 60%);
}

.featured-img-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.featured-img-badge strong {
  display: block;
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 800;
}

.featured-img-badge span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
}

.featured-content .section-tag {
  margin-bottom: 14px;
}

.featured-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 18px;
}

.featured-desc {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.85;
  margin-bottom: 30px;
}

.featured-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 36px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
}

.highlight-item i {
  color: var(--accent);
  font-size: 1rem;
}

/* ========================================
   NEIGHBORHOOD SECTION
   ======================================== */
#neighborhood {
  background: var(--off-white);
}

.neighborhood-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hood-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 300px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.hood-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hood-card:hover img {
  transform: scale(1.08);
}

.hood-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(10, 25, 55, 0.88) 0%,
      rgba(10, 25, 55, 0.3) 50%,
      transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
  transition: var(--transition);
}

.hood-card:hover .hood-overlay {
  background: linear-gradient(to top,
      rgba(10, 25, 55, 0.95) 0%,
      rgba(10, 25, 55, 0.5) 60%,
      rgba(244, 124, 32, 0.1) 100%);
}

.hood-tag {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  width: fit-content;
}

.hood-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: white;
  margin-bottom: 6px;
}

.hood-props {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hood-arrow {
  margin-top: 16px;
  width: 38px;
  height: 38px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}

.hood-card:hover .hood-arrow {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   GALLERY SECTION (Builder Projects)
   ======================================== */
#gallery {
  background: var(--white);
  padding: 80px 0;
}

.gallery-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 30px 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}

.gallery-grid::-webkit-scrollbar {
  height: 10px;
}

.gallery-grid::-webkit-scrollbar-track {
  background: rgba(15, 36, 71, 0.03);
  border-radius: 30px;
  margin: 0 20px;
}

.gallery-grid::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--accent), #ff9900);
  border-radius: 30px;
  border: 2px solid white;
  box-shadow: 0 0 10px rgba(244, 124, 32, 0.2);
}

.gallery-grid::-webkit-scrollbar-thumb:hover {
  background: var(--accent-dark);
}

.gallery-item {
  flex: 0 0 500px;
  /* Massive cards for maximum impact */
  max-width: 95vw;
  scroll-snap-align: center;
  position: relative;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 45px 50px;
  background: white;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--light-gray);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.gallery-item:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border-color: var(--accent);
}

.gallery-item img {
  width: 260px;
  /* High-Visibility Logo */
  height: 160px;
  /* Extra tall for clarity */
  object-fit: contain;
  background: white;
  padding: 15px;
  border-radius: 15px;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.gallery-item span {
  font-size: 1.45rem;
  /* Bold, high-visibility text */
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.2;
}

/* Ensure the overlay and zoom icon don't hide the text in the new layout */
.gallery-overlay {
  position: static;
  background: transparent;
  opacity: 1;
  pointer-events: none;
}

.gallery-zoom-icon {
  transform: none !important;
  opacity: 1 !important;
}

.gallery-zoom-icon span {
  color: var(--primary-dark) !important;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(5, 12, 30, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  backdrop-filter: blur(4px);
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
  transform: scale(0.92);
  transition: transform 0.35s ease;
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}

.lightbox-close {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  border: 2px solid white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: var(--transition-fast);
  z-index: 10000;
  /* Ensure it stays above EVERYTHING */
}

.lightbox-close:hover {
  background: var(--accent-dark);
  transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 10;
}

.lightbox-prev {
  left: -70px;
}

.lightbox-next {
  right: -70px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ========================================
   ACHIEVEMENTS SECTION
   ======================================== */
#achievements {
  background: var(--off-white);
  padding: 100px 0;
}

.achievements-intro {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.achievements-right {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}


.stat-box {
  text-align: center;
  background: var(--white);
  padding: 28px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--primary-light);
  transition: var(--transition);
}

.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--accent);
}

.stat-box .num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.stat-box .num .plus {
  color: var(--accent);
}

.stat-box .label {
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 500;
}

.awards-slider-wrap {
  position: relative;
}

.awards-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 10px;
}

.award-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  background: var(--white);
  padding: 28px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--light-gray);
}

.award-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

/* ========================================
   BLOG SECTION
   ======================================== */
#blog {
  background: var(--white);
  padding: 100px 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  background: var(--white);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* ========================================
   CTA BANNER
   ======================================== */
#cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #1e5493 100%);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* ========================================
   FOOTER
   ======================================== */
#footer {
  background: var(--primary-dark);
  padding: 100px 0 0;
  color: white;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo-img {
  height: 70px;
  background: white;
  border-radius: 10px;
  padding: 6px 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.22);
  filter: blur(0.4px);
}

.footer-copy a {
  color: var(--accent-light);
  transition: color 0.2s;
}

.footer-copy a:hover {
  color: var(--accent);
}

/* ========================================
   REVELATIONS & ANIMATIONS
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.8s all ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   STICKY BOTTOM CTA — hidden by default, shown on mobile via media query
   ======================================== */
.sticky-bottom-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 800;
  background: var(--primary-dark);
  border-top: 2px solid var(--accent);
  padding: 10px 16px;
  gap: 10px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
}

.sticky-bottom-cta a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 8px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  color: white;
  min-height: 44px;
  text-align: center;
  transition: var(--transition-fast);
}

.sticky-cta-call {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.sticky-cta-whatsapp {
  background: #25d366;
}

.sticky-cta-projects {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* ------------------------------------------------
   Tablet / Small Laptop  ≤1024px
   ------------------------------------------------ */
@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }

  .projects-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .achievements-intro {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .featured-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-grid {
    gap: 40px;
  }
}

/* ------------------------------------------------
   Tablet  ≤768px
   ------------------------------------------------ */
@media (max-width: 768px) {

  /* --- Base --- */
  html {
    font-size: 15px;
  }

  .section-padding {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .container {
    padding: 0 18px;
  }

  /* --- Top Strip --- */
  .top-contact-strip {
    padding: 6px 0;
  }

  .top-strip-inner {
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .top-strip-inner::-webkit-scrollbar {
    display: none;
  }

  .strip-right {
    flex-wrap: nowrap;
    justify-content: flex-end;
  }

  .strip-left {
    display: none;
  }

  .strip-rera {
    display: flex;
    font-size: 0.72rem;
    padding: 4px 8px;
    white-space: nowrap;
  }

  /* Show RERA badge on mobile */
  .strip-contact {
    white-space: nowrap;
  }

  /* --- Navbar --- */
  .nav-inner {
    padding: 12px 18px;
  }

  #navbar.scrolled .nav-inner {
    padding: 10px 18px;
  }

  .nav-logo {
    font-size: 1.15rem;
  }

  .nav-logo-img {
    height: 34px;
  }

  .nav-logo span {
    display: none;
  }

  /* hide text next to logo on mobile */

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: min(78vw, 290px);
    background: rgba(8, 20, 50, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 22px 40px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 4px;
    box-shadow: -4px 0 40px rgba(0, 0, 0, 0.4);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    overflow-y: auto;
    z-index: 1999;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-link {
    font-size: 0.95rem; /* Professional standard size */
    width: 100%;
    padding: 10px 14px; /* Shaved down padding */
    border-radius: var(--radius-sm);
    /* Min-height removed so it doesn't look bulky */
  }

  .nav-link::after {
    display: none;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 10px;
    width: 100%;
    justify-content: center;
    min-height: 44px; /* Sleeker call to action */
    font-size: 0.9rem;
  }

  .hamburger {
    display: flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px;
  }

  /* --- Hero --- */
  #hero {
    min-height: 100svh;
  }

  .hero-bg {
    background-attachment: scroll;
    transform: none !important;
  }

  .hero-content {
    margin-left: 0;
    max-width: 100%;
    padding: 0 20px;
    text-align: center;
  }

  .hero-badge {
    margin: 0 auto 20px;
  }

  .hero-title {
    font-size: clamp(1.9rem, 7vw, 3rem);
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
    min-height: 52px;
  }

  .hero-stats {
    display: flex;
    flex-wrap: wrap;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 25, 55, 0.9);
    backdrop-filter: blur(12px);
  }

  .hero-stat {
    flex: 1 0 50%;
    padding: 14px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .hero-stat:nth-child(1),
  .hero-stat:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .hero-stat:nth-child(3),
  .hero-stat:nth-child(4) {
    border-bottom: none;
  }

  .hero-stat .stat-num {
    font-size: 1.5rem;
  }

  .hero-stat .stat-label {
    font-size: 0.68rem;
  }

  .scroll-indicator {
    display: none;
  }

  /* --- About --- */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-visual {
    order: -1;
  }

  .about-img-wrap img {
    height: 280px;
  }

  .about-content .section-title {
    text-align: center;
  }

  .about-content .section-tag {
    display: block;
    text-align: center;
  }

  .about-content .section-divider {
    margin: 0 auto 20px;
  }

  .about-pillars {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .about-badge {
    left: 0;
    right: 0;
    bottom: -20px;
    margin: 0 16px;
    justify-content: center;
  }

  .about-accent-dot {
    display: none;
  }

  .about-content .btn {
    display: flex;
    width: 100%;
    justify-content: center;
  }

  /* --- Projects --- */
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .project-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .project-footer .btn {
    width: 100%;
    justify-content: center;
  }

  /* --- Featured --- */
  #featured {
    padding: 60px 0;
  }

  .featured-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .featured-img-wrap img {
    height: 260px;
  }

  .featured-highlights {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .featured-content .btn {
    width: 100%;
    justify-content: center;
  }

  /* --- Neighborhood --- */
  .neighborhood-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .hood-card {
    height: 200px;
  }

  .hood-arrow {
    opacity: 1;
    transform: translateY(0);
  }

  /* --- Gallery (Horizontal Scroll Preserved) --- */
  .gallery-grid {
    display: flex;
    padding: 20px 10px 40px;
    gap: 14px;
  }

  .gallery-item {
    flex: 0 0 82vw;
    padding: 28px 20px;
    gap: 18px;
  }

  .gallery-item img {
    width: 55%;
    height: auto;
    max-height: 100px;
  }

  .gallery-item span {
    font-size: 1.1rem;
  }

  /* --- Achievements --- */
  .achievements-intro {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 36px;
  }

  .achievements-left .section-title {
    text-align: center;
  }

  .achievements-left .section-tag {
    display: block;
    text-align: center;
  }

  .achievements-left .section-subtitle {
    text-align: center !important;
    margin: 0 auto !important;
  }

  .achievements-left .section-divider {
    margin: 16px auto !important;
  }

  .achievements-right {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .stat-box {
    padding: 18px 12px;
  }

  .stat-box .num {
    font-size: 1.8rem;
  }

  .award-card {
    flex: 0 0 240px;
  }

  /* --- Blog --- */
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  /* --- CTA Banner --- */
  #cta-banner {
    padding: 60px 0;
  }

  .cta-title {
    font-size: clamp(1.6rem, 5vw, 2.4rem);
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
    min-height: 50px;
  }

  /* --- Footer --- */
  .footer-grid {
    flex-direction: column;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  /* --- Floating Buttons --- */
  .whatsapp-float {
    bottom: 88px;
    right: 16px;
    width: 50px;
    height: 50px;
  }

  .back-to-top {
    bottom: 32px;
    right: 16px;
  }

  /* --- Sticky bottom CTA (mobile only) --- */
  .sticky-bottom-cta {
    display: flex;
  }

  #footer {
    padding-bottom: 80px;
  }
}

/* ------------------------------------------------
   Mobile  ≤480px
   ------------------------------------------------ */
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .section-padding {
    padding: 50px 0;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .container {
    padding: 0 16px;
  }

  /* --- Strip --- */
  .strip-contact span {
    font-size: 0.72rem;
  }

  /* --- Navbar --- */
  .nav-logo {
    font-size: 1.1rem;
  }

  .nav-logo-img {
    height: 30px;
  }

  .nav-inner {
    padding: 10px 14px;
  }

  #navbar.scrolled .nav-inner {
    padding: 8px 14px;
  }

  /* --- Hero --- */
  .hero-content {
    padding: 0 16px;
  }

  .hero-title {
    font-size: clamp(1.7rem, 8vw, 2.4rem);
  }

  .hero-stat .stat-num {
    font-size: 1.3rem;
  }

  .hero-stat .stat-label {
    font-size: 0.62rem;
  }

  /* --- About --- */
  .about-pillars {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .about-img-wrap img {
    height: 220px;
  }

  /* --- Projects --- */
  .project-img-wrap {
    height: 200px;
  }

  /* --- Neighborhood --- */
  .neighborhood-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hood-card {
    height: 200px;
  }

  /* --- Galaxy scroller --- */
  .gallery-item {
    flex: 0 0 88vw;
    padding: 22px 16px;
  }

  .gallery-item img {
    width: 60%;
    max-height: 90px;
  }

  .gallery-item span {
    font-size: 1rem;
  }

  /* --- Achievements --- */
  .achievements-right {
    grid-template-columns: 1fr;
  }

  .stat-box {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
  }

  .stat-box .num {
    font-size: 2rem;
    margin-bottom: 0;
    min-width: 65px;
  }

  .award-card {
    flex: 0 0 calc(100vw - 36px);
  }

  /* --- Blog --- */
  .blog-img-wrap {
    height: 180px;
  }

  /* --- CTA --- */
  #cta-banner {
    padding: 50px 0;
  }

  .cta-text {
    font-size: 0.9rem;
  }

  .section-title {
    text-align: center;
  }

  /* --- Lightbox --- */
  .lightbox-content {
    max-width: 96vw;
  }

  .lightbox-prev {
    left: 4px;
  }

  .lightbox-next {
    right: 4px;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 38px;
    height: 38px;
  }

  /* --- Buttons --- */
  .btn {
    min-height: 48px;
  }

  /* --- Floating --- */
  .whatsapp-float {
    width: 46px;
    height: 46px;
    right: 14px;
    bottom: 82px;
  }

  .back-to-top {
    width: 42px;
    height: 42px;
    right: 14px;
    bottom: 30px;
  }

  /* --- Footer --- */
  .footer-legal {
    gap: 8px;
  }

  .footer-legal a {
    font-size: 0.74rem;
  }

  .social-links {
    gap: 8px;
  }

  .social-link {
    width: 36px;
    height: 36px;
  }
}

/* ------------------------------------------------
   Extra Small  ≤360px
   ------------------------------------------------ */
@media (max-width: 360px) {
  .container {
    padding: 0 12px;
  }

  .hero-title {
    font-size: clamp(1.6rem, 9vw, 2rem);
  }

  .hero-content {
    padding: 0 12px;
  }

  .sticky-bottom-cta .sticky-cta-projects {
    display: none;
  }

  .sticky-bottom-cta a {
    font-size: 0.76rem;
    padding: 12px 6px;
  }

  .gallery-item {
    flex: 0 0 92vw;
  }
}

/* ------------------------------------------------
   Reduced Motion Preference
   ------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-bg {
    transform: none !important;
    transition: none !important;
  }
}

/* ------------------------------------------------
   Touch Device Hover Fixes
   ------------------------------------------------ */
@media (hover: none) {
  .project-card:hover {
    transform: none;
    box-shadow: var(--shadow-md);
  }

  .blog-card:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
  }

  .pillar-card:hover {
    transform: none;
  }

  .stat-box:hover {
    transform: none;
  }

  .award-card:hover {
    transform: none;
  }

  .hood-card:hover img {
    transform: none;
  }

  .about-img-wrap:hover img {
    transform: none;
  }

  .featured-img-wrap:hover img {
    transform: none;
  }

  .btn-primary:hover,
  .btn-blue:hover,
  .btn-accent:hover,
  .btn-outline:hover {
    transform: none;
  }
}

/* ========================================
   TOP CONTACT STRIP
   ======================================== */
.top-contact-strip {
  background: linear-gradient(90deg, #0f2447 0%, #1a3c6e 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 7px 0;
  position: sticky;
  top: 0;
  z-index: 10000;
  transition: transform 0.35s ease;
}

.top-strip-inner {
  max-width: none;
  margin: 0;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.strip-left {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.strip-left i {
  color: #f47c20;
}

/* Marquee ticker */
.strip-marquee-wrap {
  flex: 1;
  overflow: hidden;
  max-width: 55%;
  mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
}

.strip-marquee {
  display: flex;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}

.strip-marquee span {
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2px;
  padding-right: 40px;
}

.strip-marquee:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.strip-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.strip-contact {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(244, 124, 32, 0.12);
  border: 1px solid rgba(244, 124, 32, 0.25);
  transition: all 0.25s ease;
  animation: stripPulse 2.5s ease-in-out infinite;
}

.strip-rera {
  background: rgba(26, 60, 110, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
  animation: none;
  color: rgba(255, 255, 255, 0.85);
  cursor: default;
}

.strip-contact:nth-child(3) {
  animation-delay: 1.2s;
}

.strip-contact i {
  color: #f47c20;
  font-size: 0.8rem;
}

.strip-rera i {
  color: #ffc107;
}

.strip-contact:hover {
  background: rgba(244, 124, 32, 0.3);
  border-color: #f47c20;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(244, 124, 32, 0.3);
  animation: none;
}

.strip-rera:hover {
  background: rgba(26, 60, 110, 0.4);
  border-color: rgba(255, 255, 255, 0.35);
  transform: none;
  box-shadow: none;
}

@keyframes stripPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(244, 124, 32, 0);
    border-color: rgba(244, 124, 32, 0.25);
  }

  50% {
    box-shadow: 0 0 0 5px rgba(244, 124, 32, 0.15);
    border-color: rgba(244, 124, 32, 0.7);
  }
}

.strip-divider {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
}

/* On mobile hide the marquee and ensure RERA fits */
@media (max-width: 640px) {
  .strip-left {
    display: none !important;
  }

  .top-strip-inner {
    justify-content: flex-end;
    padding: 0 12px;
    gap: 6px;
  }

  .strip-right {
    gap: 6px;
  }

  .strip-divider {
    display: none;
    /* Hide dividers to save space on small screens */
  }
}

@media (max-width: 400px) {
  .strip-rera {
    font-size: 0.6rem;
    padding: 2px 4px;
  }

  .strip-contact {
    font-size: 0.65rem;
    padding: 2px 4px;
  }

  .strip-contact span {
    font-size: 0.65rem;
  }

  .strip-contact i {
    font-size: 0.65rem;
  }

  .top-strip-inner {
    padding: 0 8px;
    gap: 4px;
  }

  .strip-right {
    gap: 4px;
  }
}