* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-gold: #fb9734;
  --dark-gold: #c97c1e;
  --light-gold: #f4e4c1;
  --dark-bg: #1a1a1a;
  --light-bg: #f8f8f8;
  --text-dark: #333;
  --text-light: #666;
}

body {
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
  color: var(--text-dark);
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 5%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-gold);
  font-family: "Playfair Display", serif;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary-gold);
}

.cta-btn {
  background: var(--primary-gold);
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.cta-btn:hover {
  background: var(--dark-gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

/* Submit Button */
.submit-btn {
  background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
  color: white;
  padding: 15px 40px;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.submit-btn:hover {
  background: linear-gradient(135deg, var(--dark-gold), var(--primary-gold));
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
}

/* Hero Section with Parallax */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("https://globesproperties.com/wp-content/uploads/2025/12/golden_tower_front_view.webp")
      center/cover fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-content {
  z-index: 2;
  animation: fadeInUp 1s ease;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

/* Hero Description Paragraph */
.hero-description {
  max-width: 900px;
  margin: 0 auto 3rem;
  font-size: 1.1rem !important;
  line-height: 1.6;
}

/* Hero Line - Reduced bottom margin */
.hero-line {
  margin-bottom: 0.1rem !important;
}

/* Hero Button Container */
.button-container {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.hero-features {
  display: flex;
  gap: 3rem;
  justify-content: center;
  margin-top: 3rem;
}

.hero-feature {
  text-align: center;
}

.hero-feature h3 {
  font-size: 2rem;
  color: var(--primary-gold);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* About Section */
.about {
  padding: 8rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.about-grid {
}

.about-content h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--primary-gold);
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  background: var(--light-bg);
  border-radius: 15px;
  transition: all 0.3s;
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.stat-card h3 {
  font-size: 2.5rem;
  color: var(--primary-gold);
  margin-bottom: 0.5rem;
}

/* Amenities Section */
.amenities {
  background: var(--dark-bg);
  color: white;
  padding: 8rem 5%;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 4rem;
  color: var(--primary-gold);
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.amenity-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 3rem 2rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}

.amenity-card:hover {
  background: rgba(212, 175, 55, 0.1);
  transform: scale(1.05);
}

.amenity-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.amenity-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Gallery Section */
.gallery {
  padding: 8rem 5%;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  height: 300px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Lightbox Modal */
.lightbox {
  display: none;
  position: fixed !important;
  z-index: 999999 !important; /* Higher than navbar */
  left: 0 !important;
  top: 0 !important;
  width: 100% !important;
  height: 100vh !important;
  background-color: rgba(0, 0, 0, 0.95);
  overflow: hidden !important; /* Prevent double scrollbars */
}

.lightbox.active {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#lightbox-img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  animation: zoomIn 0.3s;
  cursor: zoom-in;
}

#lightbox-img.zoomed {
  cursor: zoom-out;
  max-width: none;
  max-height: none;
  width: auto;
  height: auto;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
  transition: 0.3s;
}

.lightbox-close:hover {
  color: var(--primary-gold);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  padding: 16px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  user-select: none;
  transition: 0.3s;
  z-index: 10000;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background-color: var(--primary-gold);
}

.lightbox-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 18px;
  text-align: center;
  padding: 10px 20px;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 5px;
}

/* Mobile Lightbox Styles */
@media (max-width: 768px) {
  #lightbox-img {
    max-width: 95%;
    max-height: 80vh;
  }

  .lightbox-close {
    top: 10px;
    right: 15px;
    font-size: 35px;
  }

  .lightbox-prev,
  .lightbox-next {
    font-size: 30px;
    padding: 12px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-caption {
    font-size: 14px;
    bottom: 10px;
  }
}

/* Floor Plans */
.floorplans {
  background: var(--light-bg);
  padding: 8rem 5%;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.plan-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.plan-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.plan-card h3 {
  font-size: 2rem;
  color: var(--primary-gold);
  margin-bottom: 1.5rem;
}

.plan-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.plan-detail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Location Section */
.location {
  padding: 8rem 5%;
  background: var(--dark-bg);
  color: white;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.location-category h3 {
  color: var(--primary-gold);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.location-item {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Specifications Flex Layout */
.specs-container .spec-card {
  flex: 1 1 calc(33.333% - 20px);
  min-width: 300px;
}

/* Contact Section */
.contact {
  padding: 8rem 5%;
  background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto;
  color: white;
}

.contact-info h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
}

.contact-item {
  margin-bottom: 2rem;
}

.contact-item h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border: none;
  border-radius: 10px;
  font-family: "Poppins", sans-serif;
}

.submit-btn {
  background: var(--dark-bg);
  color: white;
  padding: 1rem 3rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.submit-btn:hover {
  background: #000;
  transform: translateY(-2px);
}

/* Footer */
footer {
  background: var(--dark-bg);
  color: white;
  text-align: center;
  padding: 2rem;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background: rgba(26, 26, 26, 0.98);
  backdrop-filter: blur(20px);
  padding: 2rem;
  transition: right 0.3s ease;
  z-index: 2000;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

.mobile-menu ul {
  list-style: none;
  margin-top: 3rem;
}

.mobile-menu ul li {
  margin-bottom: 1.5rem;
}

.mobile-menu ul li a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 500;
  display: block;
  padding: 0.5rem 0;
}

/* Responsive - Mobile First */
@media (max-width: 768px) {
  /* Mobile Menu */
  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    display: none;
  }

  .navbar {
    padding: 1rem 4%;
  }

  .logo {
    font-size: 1.2rem;
  }

  .cta-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }

  /* Hero Section - Mobile Optimized */
  .hero {
    height: 30vh;
    padding: 0 1rem;
  }

  .hero h1 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 0.8rem;
  }

  .hero p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }

  .hero-features {
    flex-direction: row;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-feature {
    flex: 1;
    min-width: 100px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 15px;
  }

  .hero-feature h3 {
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
  }

  .hero-feature p {
    font-size: 0.85rem;
  }

  /* About Section - Mobile */
  .about {
    padding: 4rem 4%;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .about-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat-card {
    padding: 1.5rem 1rem;
  }

  .stat-card h3 {
    font-size: 2rem;
  }

  .stat-card p {
    font-size: 0.9rem;
  }

  /* Section Titles - Mobile */
  .section-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
  }

  /* Amenities - Mobile */
  .amenities {
    padding: 4rem 4%;
  }

  .amenities-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .amenity-card {
    padding: 2rem 1.5rem;
  }

  .amenity-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .amenity-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
  }

  .amenity-card p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  /* Gallery - Mobile */
  .gallery {
    padding: 4rem 4%;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .gallery-item {
    height: 250px;
    border-radius: 12px;
  }

  /* Floor Plans - Mobile */
  .floorplans {
    padding: 4rem 4%;
  }

  .plans-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .plan-card {
    padding: 1.5rem;
  }

  .plan-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .plan-card p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .plan-details {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    margin-top: 1rem;
  }

  .plan-detail {
    font-size: 0.95rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  /* Location - Mobile */
  .location {
    padding: 4rem 4%;
  }

  .location-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .location-category h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .location-item {
    padding: 0.8rem 0;
    font-size: 0.95rem;
  }

  /* What You Get - Mobile */
  .what-you-get {
    padding: 2rem 4% !important;
  }

  /* For Who - Mobile */
  .for-who {
    padding: 2rem 4% !important;
  }

  .for-who h3 {
    font-size: 1.3rem !important;
  }

  /* FAQ - Mobile */
  .faq {
    padding: 2rem 4% !important;
  }

  .faq-item h3 {
    font-size: 1rem !important;
    margin-bottom: 1.5rem !important;
    margin-bottom: 0px !important;
  }

  /* Specifications - Mobile */
  .specifications {
    padding: 4rem 4% !important;
  }

  /* Spec cards flex layout - 2 columns on mobile */
  .specs-container .spec-card {
    flex: 1 1 calc(50% - 15px);
    max-width: calc(50% - 15px);
    padding: 15px !important;
  }

  .spec-card h3 {
    font-size: 0.6rem !important;
    line-height: 1.3 !important;
    margin-bottom: 10px !important;
  }

  .spec-card li {
    font-size: 0.6rem !important;
    line-height: 1.4 !important;
    margin-bottom: 5px !important;
  }

  .spec-card div[style*="width: 50px"] {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.95rem !important;
  }

  /* Contact - Mobile */
  .contact {
    padding: 4rem 4%;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* Footer - Mobile */
  footer {
    padding: 40px 5% 20px !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .footer-col img {
    max-width: 150px !important;
  }

  .footer-col h3 {
    font-size: 1.3rem !important;
  }

  .footer-col h4 {
    font-size: 1.1rem !important;
  }

  footer div[style*="justify-content: space-between"] {
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: center !important;
  }

  .contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .contact-item {
    margin-bottom: 1.5rem;
  }

  .contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
  }

  .contact-item p {
    font-size: 0.95rem;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 0.9rem;
    margin-bottom: 1rem;
    font-size: 1rem;
  }

  .submit-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
  }

  /* Footer - Mobile */
  footer {
    padding: 1.5rem;
    font-size: 0.9rem;
  }

  /* CTA Button - Mobile */
  .cta-btn {
    display: inline-block;
    padding: 0.5rem 2rem;
    font-size: 0.95rem;
    margin-top: 0.5rem;
  }
}

/* Extra Small Devices */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-feature h3 {
    font-size: 1.5rem;
  }

  .hero-feature p {
    font-size: 0.75rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .about-content h2 {
    font-size: 1.7rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-card h3 {
    font-size: 2.5rem;
  }
}

/* Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
  .cta-btn,
  .submit-btn,
  .mobile-menu-btn {
    min-height: 44px;
    min-width: 44px;
  }

  .amenity-card,
  .stat-card,
  .plan-card {
    cursor: default;
  }

  .amenity-card:active,
  .stat-card:active,
  .plan-card:active {
    transform: scale(0.98);
  }
}

/* Get Quote Button Hover Effect */
.plan-card a:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
}

/* Location Section Hover Effects */
.location div[style*="border-top: 4px"]:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
}

.location div[style*="background: #f8f9fa"]:hover {
  background: linear-gradient(
    135deg,
    var(--primary-gold),
    var(--dark-gold)
  ) !important;
  color: white !important;
  transform: translateX(5px);
}

/* Custom Scrollbar for Schools Section */
.location div[style*="overflow-y: auto"]::-webkit-scrollbar {
  width: 6px;
}

.location div[style*="overflow-y: auto"]::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.location div[style*="overflow-y: auto"]::-webkit-scrollbar-thumb {
  background: var(--primary-gold);
  border-radius: 10px;
}

.location div[style*="overflow-y: auto"]::-webkit-scrollbar-thumb:hover {
  background: var(--dark-gold);
}

/* ========================================
         RESPONSIVE STYLES - MOBILE (≤ 768px)
         ======================================== */

@media (max-width: 768px) {
  /* === 1. HERO SECTION === */
  .hero {
    min-height: 60vh !important;
    background-size: cover !important;
    background-position: center center !important;
    padding: 100px 5% 50px !important;
  }

  .hero h1 {
    font-size: 2rem !important;
  }

  .hero p {
    font-size: 0.7rem !important;
    margin-bottom: 1.5rem !important;
  }

  .hero-description {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    margin-bottom: 2rem !important;
  }

  .hero-description.hero-line {
    margin-bottom: 0.1rem !important;
  }

  .button-container {
    display: flex !important;
    flex-direction: row !important;
    gap: 0.8rem !important;
    flex-wrap: nowrap !important;
  }

  .button-container .cta-btn {
    flex: 0 1 auto !important;
    padding: 10px 20px !important;
    font-size: 0.8rem !important;
    white-space: nowrap !important;
  }

  /* === 2. TYPOGRAPHY === */
  /* Main Headings */
  .section-title,
  h2[style*="font-size: 2.8rem"] {
    font-size: 1.8rem !important;
  }

  h2[style*="font-size: 2.5rem"] {
    font-size: 1.6rem !important;
  }

  h2[style*="font-size: 2rem"] {
    font-size: 1.4rem !important;
  }

  /* Sub Headings */
  h3[style*="font-size: 1.5rem"] {
    font-size: 1.1rem !important;
  }

  h3[style*="font-size: 1.3rem"] {
    font-size: 1rem !important;
  }

  /* Paragraphs */
  p[style*="font-size: 1.1rem"] {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1.3rem !important;
  }

  p[style*="font-size: 1rem"] {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
  }

  p[style*="font-size: 0.95rem"] {
    font-size: 0.8rem !important;
  }

  /* Small Text */
  span[style*="font-size: 0.9rem"],
  div[style*="font-size: 0.9rem"] {
    font-size: 0.75rem !important;
  }

  /* Labels & Tags */
  span[style*="text-transform: uppercase"] {
    font-size: 0.75rem !important;
    letter-spacing: 1px !important;
  }

  /* === 3. ICONS === */
  div[style*="font-size: 3rem"] {
    font-size: 2rem !important;
  }

  div[style*="font-size: 2.5rem"] {
    font-size: 1.8rem !important;
  }

  /* === 4. BUTTONS === */
  /* Hide navbar CTA button only */
  .navbar .cta-btn {
    display: none !important;
  }

  /* Keep hero section CTA button visible */
  .hero .cta-btn {
    padding: 10px 18px !important;
    font-size: 0.7rem !important;
  }

  .submit-btn {
    width: 50% !important;
    padding: 8px 18px !important;
    font-size: 0.8rem !important;
  }

  /* === 4A. FLOOR PLANS SECTION === */
  .plans-grid {
    display: flex !important;
    gap: 0.8rem !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important; /* Firefox */
    padding-bottom: 1rem !important;
  }

  /* Hide scrollbar for Chrome, Safari and Edge */
  .plans-grid::-webkit-scrollbar {
    display: none !important;
  }

  .plan-card {
    flex: 0 0 220px !important;
    min-width: 220px !important;
    max-width: 220px !important;
    padding: 0.4rem !important;
  }

  .plan-card h3 {
    font-size: 1rem !important;
    margin-bottom: 1.5rem !important;
  }

  .plan-card > p {
    font-size: 0.75rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0.8rem !important;
  }

  .plan-details {
    gap: 0.4rem !important;
    margin-bottom: 0.8rem !important;
  }

  .plan-detail {
    font-size: 0.7rem !important;
    padding: 0.1rem 0.6rem !important;
  }

  .plan-card a {
    padding: 8px 16px !important;
    font-size: 0.75rem !important;
    margin-top: 8px !important;
  }

  /* === 4B. CONSTRUCTION QUALITY SECTION === */
  .floorplans > div[style*="text-align: center"] {
    margin-top: 2rem !important;
    padding: 1rem !important;
  }

  .floorplans > div[style*="text-align: center"] h3 {
    font-size: 1.1rem !important;
    margin-bottom: 0.8rem !important;
  }

  .floorplans > div[style*="text-align: center"] p {
    font-size: 0.75rem !important;
    line-height: 1.5 !important;
  }

  /* === 5. WHAT YOU GET SECTION === */
  /* Keep description text at original size */
  .what-you-get > div > p[style*="font-size: 1.1rem"] {
    font-size: 0.9rem !important;
    margin-bottom: 1.5rem !important;
  }

  .what-you-get > div > div[style*="grid"] {
    display: flex !important;
    gap: 0.5rem !important;
    flex-wrap: nowrap !important;
  }

  .what-you-get > div > div > div {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    padding: 1rem 0.5rem !important;
  }

  .what-you-get div[style*="font-size: 3rem"] {
    font-size: 1.5rem !important;
    margin-bottom: 0.3rem !important;
  }

  .what-you-get h3 {
    font-size: 0.85rem !important;
    margin-bottom: 0.3rem !important;
    line-height: 1.2 !important;
  }

  .what-you-get p {
    margin-top: 10px !important;
    font-size: 0.6rem !important;
    line-height: 1.3 !important;
  }

  /* === 6. FOR WHO SECTION === */
  /* Keep description text at original size */
  .for-who > div > p[style*="font-size: 1.1rem"] {
    font-size: 0.9rem !important;
    margin-bottom: 1.5rem !important;
  }

  .for-who > div > div[style*="grid"] {
    display: flex !important;
    gap: 0.5rem !important;
    flex-wrap: nowrap !important;
  }

  .for-who > div > div > div {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    text-align: center !important;
  }

  .for-who div[style*="width: 120px"] {
    width: 60px !important;
    height: 60px !important;
    margin: 0 auto 0.5rem !important;
  }

  .for-who div[style*="font-size: 3rem"] {
    font-size: 1.5rem !important;
  }

  .for-who h3 {
    font-size: 0.8rem !important;
    margin-bottom: 0.3rem !important;
    line-height: 1.2 !important;
  }

  .for-who p {
    font-size: 0.6rem !important;
    line-height: 1.3 !important;
  }

  /* === 7. AMENITIES SECTION === */
  .amenities-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.5rem !important;
  }

  .amenity-card {
    padding: 0.8rem 0.5rem !important;
  }

  .amenity-card h3 {
    font-size: 0.75rem !important;
  }

  .amenity-icon {
    font-size: 1.5rem !important;
    margin-bottom: 0.5rem !important;
  }

  /* === 8. LOCATION SECTION === */
  .location > div > div[style*="grid-template-columns"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.8rem !important;
  }

  .location > div > div > div[style*="border-top"] {
    padding: 1rem !important;
    border-radius: 12px !important;
  }

  /* Location card header */
  .location div[style*="display: flex"][style*="gap: 15px"] {
    gap: 8px !important;
    margin-bottom: 12px !important;
  }

  /* Location icon */
  .location div[style*="width: 50px"][style*="height: 50px"] {
    width: 35px !important;
    height: 35px !important;
    font-size: 1.1rem !important;
    border-radius: 8px !important;
  }

  /* Location heading */
  .location h3[style*="font-size: 1.3rem"] {
    font-size: 0.9rem !important;
  }

  /* Location items container */
  .location div[style*="flex-direction: column"] {
    gap: 6px !important;
  }

  /* Location items */
  .location div[style*="padding: 10px 15px"] {
    padding: 1px 10px !important;
    font-size: 0.75rem !important;
    border-radius: 6px !important;
  }

  /* Amenity Tabs */
  .amenity-tabs {
    overflow-x: auto !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    padding-bottom: 10px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  .amenity-tabs::-webkit-scrollbar {
    display: none !important;
  }

  .amenity-tab-btn {
    padding: 8px 15px !important;
    font-size: 0.75rem !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  /* === 8. GALLERY SECTION === */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }

  .gallery-item {
    height: 200px !important;
  }

  .gallery-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  /* === 9. SPECIFICATIONS SECTION === */
  .specifications {
    padding: 3rem 5% !important;
  }

  .specs-container {
    gap: 0.8rem !important;
  }

  .spec-card {
    padding: 1rem !important;
    border-radius: 12px !important;
  }

  /* Spec card header */
  .spec-card > div[style*="display: flex"] {
    gap: 8px !important;
    margin-bottom: 12px !important;
  }

  /* Spec icon */
  .spec-card div[style*="width: 50px"][style*="height: 50px"] {
    width: 35px !important;
    height: 35px !important;
    font-size: 1.1rem !important;
    border-radius: 8px !important;
  }

  /* Spec heading */
  .spec-card h3[style*="font-size: 1.3rem"] {
    font-size: 0.9rem !important;
  }

  /* Spec description */
  .spec-card p[style*="font-size: 0.95rem"] {
    font-size: 0.75rem !important;
    line-height: 1.5 !important;
  }

  /* === 9. FLOOR PLANS SECTION === */
  .plans-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .plan-card {
    padding: 0.5rem !important;
    padding-left: 1rem !important;
  }

  .plan-card h3 {
    font-size: 1.5rem !important;
  }

  /* === 10. LOCATION SECTION === */
  .location div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .location div[style*="padding: 30px"] {
    padding: 20px !important;
  }

  .location h3[style*="font-size: 1.3rem"] {
    font-size: 1.1rem !important;
  }

  .location div[style*="max-height: 280px"] {
    max-height: 200px !important;
  }

  .location div[style*="width: 50px; height: 50px"] {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.2rem !important;
  }

  /* === 11. SPECIFICATIONS SECTION === */
  .specifications {
    padding: 50px 5% !important;
  }

  .specifications div[style*="max-width: 1200px"] {
    max-width: 100% !important;
    padding: 0 !important;
  }

  .specifications div[style*="margin-bottom: 60px"] {
    margin-bottom: 30px !important;
  }

  /* Force single column - CRITICAL FIX */
  .specifications > div > div[style] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* Also target by attribute */
  div[style*="minmax(280px"] {
    grid-template-columns: 1fr !important;
  }

  .spec-card {
    padding: 20px !important;
    margin-bottom: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .spec-card h3 {
    font-size: 1rem !important;
    line-height: 1.4 !important;
  }

  .spec-card div[style*="display: flex"] {
    gap: 10px !important;
  }

  .spec-card ul {
    padding-left: 15px !important;
  }

  .spec-card li {
    font-size: 0.85rem !important;
    line-height: 1.6 !important;
    margin-bottom: 8px !important;
  }

  .specifications div[style*="width: 50px; height: 50px"] {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.2rem !important;
  }

  /* === 12. FAQ SECTION === */
  .faq-container {
    margin-top: 30px !important;
  }

  .faq-item {
    margin-bottom: 12px !important;
  }

  .faq-question {
    padding: 18px 20px !important;
  }

  .faq-question h3 {
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
  }

  .faq-answer p {
    padding: 0 20px 20px !important;
    font-size: 0.9rem !important;
  }

  /* === 13. CONTACT SECTION === */
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 16px !important;
  }

  /* === 14. SPACING & LAYOUT === */
  section {
    padding: 50px 5% !important;
  }

  div[style*="gap: 3rem"] {
    gap: 1.5rem !important;
  }

  div[style*="gap: 2rem"] {
    gap: 1rem !important;
  }

  div[style*="max-width: 1400px"],
  div[style*="max-width: 1200px"],
  div[style*="max-width: 900px"] {
    max-width: 100% !important;
    padding: 0 0px !important;
  }

  div[style*="margin-bottom: 60px"] {
    margin-bottom: 40px !important;
  }

  div[style*="margin-bottom: 50px"] {
    margin-bottom: 30px !important;
  }
}

/* ========================================
         RESPONSIVE STYLES - EXTRA SMALL (≤ 480px)
         ======================================== */

@media (max-width: 480px) {
  /* Hero */
  .hero h1 {
    font-size: 1.6rem !important;
  }

  /* Typography */
  .section-title,
  h2[style*="font-size: 2.8rem"] {
    font-size: 1.6rem !important;
  }

  /* Location */
  .location div[style*="padding: 20px"] {
    padding: 15px !important;
  }

  /* Specifications */
  .spec-card {
    padding: 15px !important;
  }

  /* FAQ */
  .faq-question h3 {
    font-size: 0.85rem !important;
  }

  /* Spacing */
  section {
    padding: 40px 4% !important;
  }
}

/* ========================================
         RESPONSIVE STYLES - TABLET (769px - 1024px)
         ======================================== */
@media (min-width: 769px) and (max-width: 1024px) {
  .amenities-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .plans-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .location div[style*="grid-template-columns"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .specifications div[style*="grid-template-columns"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
