/* ==========================================================================
   ONE EDGE - HIGH PERFORMANCE & MOBILE-OPTIMIZED STYLESHEET
   Shaurya Constructions / Mihika Constructions
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN SYSTEM & CSS VARIABLES
   -------------------------------------------------------------------------- */
:root {
  /* Brand Color Palette */
  --primary-gold: #E7BF5E;
  --gold-hover: #d6ab46;
  --gold-light: #fefcf5;
  --bg-light-gray: #F4F4F4;
  --bg-white: #FFFFFF;
  --text-black: #000000;
  --text-dark: #1E293B;
  --text-body: #475569;
  --text-muted: #64748B;
  --border-gold: #E7BF5E;
  --border-light: #E2E8F0;

  /* Typography */
  --font-family: 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Cormorant Garamond', 'Montserrat', serif, sans-serif;

  /* Layout */
  --max-width: 1400px;
  --section-padding-desktop: 80px 40px;
  --section-padding-mobile: 45px 18px;
  --transition-fast: 0.25s ease;
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 8px 30px rgba(231, 191, 94, 0.15);
}

/* --------------------------------------------------------------------------
   2. RESET & BASE STYLES FOR HIGH PERFORMANCE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-white);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  touch-action: manipulation;
}

/* Content Visibility for Rendering Performance */
#project-gallery, 
#isometric-views, 
#unique-features, 
#specifications {
  content-visibility: auto;
  contain-intrinsic-size: 1px 800px;
}

/* Global Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
  width: 100%;
}

@media (max-width: 768px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Section Common Styling */
.section {
  padding: 80px 0;
  position: relative;
}

.section-white {
  background-color: var(--bg-white);
}

.section-gray {
  background-color: var(--bg-light-gray);
}

.section-heading {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 600;
  text-align: center;
  color: var(--primary-gold);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.section-subtext {
  text-align: center;
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--text-body);
  max-width: 900px;
  margin: -10px auto 40px auto;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   3. SITE HEADER & MOBILE NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.9) 0%, rgba(15,23,42,0.4) 100%);
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  height: 45px;
  max-height: 50px;
  width: auto;
  object-fit: contain;
}

.brand-logo-text {
  color: var(--bg-white);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.brand-logo-text span {
  color: var(--primary-gold);
  display: block;
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 500;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

.main-nav a {
  color: var(--bg-white);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  padding: 5px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary-gold);
  transition: width var(--transition-fast);
}

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

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

.header-right-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--bg-white);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: rgba(231, 191, 94, 0.15);
  border: 1px solid var(--primary-gold);
  padding: 8px 18px;
  border-radius: 4px;
  min-height: 40px;
  transition: background var(--transition-fast);
}

.header-phone:hover {
  background: var(--primary-gold);
  color: var(--bg-white);
}

.mobile-menu-toggle {
  display: none;
  color: var(--bg-white);
  padding: 6px;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.mobile-menu-toggle svg {
  stroke: var(--primary-gold);
}

/* --------------------------------------------------------------------------
   4. HERO SECTION (#hero) - HIGH PERFORMANCE LCP
   -------------------------------------------------------------------------- */
#hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.65)), url('hero-section-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 150px;
  padding-bottom: 80px;
  text-align: center;
}

.hero-content {
  max-width: 900px;
  z-index: 2;
  margin-top: 20px;
}

.hero-title {
  color: var(--bg-white);
  font-size: clamp(34px, 6vw, 60px);
  font-weight: 300;
  letter-spacing: 1px;
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-breadcrumb {
  font-size: clamp(13px, 1.8vw, 18px);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.hero-breadcrumb a,
.hero-breadcrumb span.gold {
  color: var(--primary-gold);
}

.hero-breadcrumb span.separator {
  color: var(--primary-gold);
  font-weight: 600;
}

.hero-breadcrumb span.current {
  color: var(--bg-white);
}

/* --------------------------------------------------------------------------
   5. ABOUT SECTION (#about)
   -------------------------------------------------------------------------- */
#about {
  padding: 90px 0;
}

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

.about-image-wrapper {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  will-change: transform;
}

.about-image-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.about-image-wrapper:hover img {
  transform: scale(1.02);
}

.about-text-content {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--text-body);
  line-height: 1.8;
}

.about-text-content p {
  margin-bottom: 24px;
}

.about-text-content p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   6. PROJECT HIGHLIGHTS (#project-highlights)
   -------------------------------------------------------------------------- */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.highlight-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-gold);
  padding: 30px 24px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  border-radius: 2px;
  will-change: transform;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.highlight-card span {
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.4;
}

.highlight-centered-item {
  max-width: 500px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   7. PROJECT GALLERY (#project-gallery)
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 50px;
}

.gallery-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  overflow: hidden;
  border-radius: 4px;
  box-shadow: var(--shadow-subtle);
  will-change: transform;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

.gallery-image-box {
  width: 100%;
  height: 260px;
  overflow: hidden;
  position: relative;
  background-color: #f0f0f0;
}

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

.gallery-card:hover .gallery-image-box img {
  transform: scale(1.06);
}

.gallery-caption {
  padding: 18px;
  text-align: center;
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 600;
  color: var(--text-dark);
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-light);
}

.gallery-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-gold);
  color: var(--bg-white);
  font-size: 16px;
  font-weight: 600;
  padding: 16px 36px;
  border-radius: 2px;
  letter-spacing: 0.5px;
  min-height: 48px;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
  box-shadow: 0 4px 12px rgba(231, 191, 94, 0.25);
  border: none;
  min-width: 220px;
}

.btn-gold:hover {
  background-color: var(--gold-hover);
  transform: translateY(-2px);
  color: var(--bg-white);
}

/* --------------------------------------------------------------------------
   8. ISOMETRIC VIEWS (#isometric-views)
   -------------------------------------------------------------------------- */
.isometric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.isometric-card {
  background: var(--bg-white);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
  will-change: transform;
  transition: transform var(--transition-fast);
}

.isometric-card:hover {
  transform: translateY(-5px);
}

.isometric-image-box {
  width: 100%;
  height: 320px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px;
}

.isometric-image-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.isometric-caption {
  padding: 20px;
  text-align: center;
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 600;
  color: var(--text-dark);
  border-top: 1px solid var(--border-light);
  background-color: var(--bg-white);
}

/* --------------------------------------------------------------------------
   9. UNIQUE FEATURES (#unique-features)
   -------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-gold);
  padding: 36px 24px;
  text-align: center;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  will-change: transform;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.feature-icon-wrapper {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-gold);
}

.feature-icon-wrapper svg {
  width: 48px;
  height: 48px;
  stroke-width: 1.5;
}

.feature-title {
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   10. JOURNEY OF SUCCESS (#journey-success)
   -------------------------------------------------------------------------- */
.journey-stats-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 40px;
  padding: 20px 0;
}

.stat-item {
  text-align: center;
  flex: 1;
}

.stat-number {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  color: var(--primary-gold);
  line-height: 1.1;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.stat-label {
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   11. HOUSING LOAN PARTNERS (#loan-partners)
   -------------------------------------------------------------------------- */
.partners-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px 60px;
  padding: 20px 0;
}

.partner-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 25px;
  border-radius: 6px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  min-width: 180px;
  height: 80px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  will-change: transform;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.partner-logo-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-subtle);
  border-color: var(--primary-gold);
}

.partner-logo-item svg,
.partner-logo-item img {
  max-width: 140px;
  max-height: 50px;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   12. SPECIFICATIONS (#specifications)
   -------------------------------------------------------------------------- */
.spec-heading-wrapper {
  text-align: center;
  margin-bottom: 50px;
}

.spec-heading-badge {
  display: inline-block;
  background-color: var(--primary-gold);
  color: var(--bg-white);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  padding: 12px 48px;
  border-radius: 2px;
  letter-spacing: 1px;
}

.specifications-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.spec-column {
  background: var(--bg-white);
  padding: 40px;
  border-radius: 4px;
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--border-light);
}

.spec-group {
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.spec-group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.spec-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.spec-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 18px;
  background-color: var(--primary-gold);
}

.spec-desc {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
}

.spec-list {
  list-style: none;
  margin-top: 10px;
}

.spec-list li {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.spec-list li::before {
  content: '•';
  color: var(--primary-gold);
  font-weight: bold;
  font-size: 18px;
  position: absolute;
  left: 0;
  top: -2px;
}

.spec-subhead {
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 12px;
  margin-bottom: 6px;
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   13. FOOTER (.site-footer)
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: #0F172A;
  color: #94A3B8;
  padding: 70px 0 30px 0;
  font-size: 14px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid #1E293B;
}

.footer-brand .brand-name {
  color: var(--bg-white);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}

.footer-brand .brand-name span {
  color: var(--primary-gold);
}

.footer-brand p {
  line-height: 1.7;
  max-width: 340px;
}

.footer-column h4 {
  color: var(--bg-white);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul a {
  color: #94A3B8;
}

.footer-column ul a:hover {
  color: var(--primary-gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
}

.footer-bottom p {
  color: #64748B;
}

/* --------------------------------------------------------------------------
   14. MODAL POPUPS & LIGHTBOX (MOBILE OPTIMIZED)
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
  padding: 16px;
}

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

.modal-card {
  background: var(--bg-white);
  width: 94%;
  max-width: 550px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px 30px;
  border-radius: 6px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  transform: translateY(20px);
  transition: transform var(--transition-fast);
  -webkit-overflow-scrolling: touch;
}

.modal-backdrop.active .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 28px;
  color: var(--text-muted);
  line-height: 1;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-btn:hover {
  color: var(--text-dark);
}

.modal-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.modal-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  font-size: 15px;
  min-height: 46px;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-input:focus {
  border-color: var(--primary-gold);
}

.form-input.invalid {
  border-color: #ef4444;
  background-color: #fef2f2;
}

.form-input.valid {
  border-color: #22c55e;
}

.error-message {
  display: block;
  font-size: 12px;
  color: #ef4444;
  margin-top: 5px;
  min-height: 16px;
  font-weight: 500;
}

.btn-submit {
  width: 100%;
  background: var(--primary-gold);
  color: var(--bg-white);
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  margin-top: 10px;
  min-height: 48px;
  transition: background var(--transition-fast);
}

.btn-submit:hover {
  background: var(--gold-hover);
}

/* Floor Plan Modal Specific */
.floor-plan-modal-card {
  max-width: 900px;
  width: 94%;
}

.floor-plan-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 12px;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.floor-plan-tabs::-webkit-scrollbar {
  height: 4px;
}

.floor-plan-tabs::-webkit-scrollbar-thumb {
  background: var(--primary-gold);
  border-radius: 4px;
}

.tab-btn {
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 4px;
  flex-shrink: 0;
  min-height: 44px;
  transition: all var(--transition-fast);
}

.tab-btn.active {
  background: var(--primary-gold);
  color: var(--bg-white);
}

.floor-plan-display {
  width: 100%;
  max-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9f9f9;
  border-radius: 4px;
  overflow: hidden;
}

.floor-plan-display img {
  max-width: 100%;
  max-height: 450px;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   15. RESPONSIVE BREAKPOINTS (MOBILE & TABLET OPTIMIZED)
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  .highlights-grid,
  .gallery-grid,
  .isometric-grid,
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 767px) {
  .section {
    padding: var(--section-padding-mobile);
  }

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

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 20px 0;
    border-bottom: 2px solid var(--primary-gold);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .main-nav.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }

  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .main-nav a {
    padding: 10px 20px;
    font-size: 15px;
    display: inline-block;
    width: 100%;
    text-align: center;
  }

  #hero {
    min-height: 65vh;
    padding-top: 130px;
    padding-bottom: 60px;
  }

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

  .about-image-wrapper img {
    height: 300px;
  }

  .highlights-grid,
  .gallery-grid,
  .isometric-grid,
  .specifications-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .spec-column {
    padding: 24px 18px;
  }

  .journey-stats-row {
    flex-direction: column;
    gap: 28px;
  }

  .partners-flex {
    gap: 16px;
  }

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

  .btn-gold {
    width: 100%;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 479px) {
  .brand-logo-text {
    font-size: 16px;
    letter-spacing: 1px;
  }

  .brand-logo-text span {
    font-size: 9px;
    letter-spacing: 2px;
  }

  .phone-text {
    display: none;
  }

  .header-phone {
    padding: 8px 12px;
    min-height: 38px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .modal-card {
    padding: 24px 16px;
  }

  .spec-heading-badge {
    padding: 10px 24px;
    font-size: 22px;
  }
}
