/* CSS Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Root Variables for consistent theming */
:root {
  --primary-color: #2c5530;
  --secondary-color: #8b4513;
  --accent-color: #d4af37;
  --text-dark: #333333;
  --text-light: #666666;
  --text-white: #ffffff;
  --bg-light: #f8f8f8;
  --bg-white: #ffffff;
  --border-color: #e0e0e0;
  --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
  --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.2);
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.8s ease;
}

/* Base Typography */
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
  overflow-x: hidden !important;
}

/* Smooth scrolling for the entire page */
html {
  scroll-behavior: smooth;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}

/* Container utility class */
.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /* min-height: calc(100vh - 70px); */
  /* height: auto; */
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-light);
  overflow-x: hidden;
  overflow: visible;
}

/* Header scroll effect */
.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-medium);
}

.navbar {
  display: flex;

  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  /* max-width: 1200px; */
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow-x: hidden;
}

/* Logo Styles */
.logo-container {
  flex-shrink: 0;
  /* margin-right: 15rem; */
  margin-left: 1%;
  margin-right: 4%;
}

.logo {
  height: 50px;
  width: auto;
  transition: var(--transition-fast);
}

.logo:hover {
  transform: scale(1.05);
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 20px;
  margin: 0;
  justify-content: center;
  z-index: 2000 !important;
}

.nav-item {
  position: relative;
  z-index: 4000 !important;
}

.nav-link {
  text-decoration: none;
  color: black;
  font-weight: bolder;
  /* font-weight: 500; */
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  /* padding: 10px 15px; */
  border-radius: 5px;
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
}

/* Navigation link hover effect */
.nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent); */
  transition: var(--transition-medium);
}

.nav-link:hover::before {
  left: 100%;
}

.nav-link:hover {
  color: var(--primary-color);
  background-color: rgba(212, 175, 55, 0.1);
  text-shadow: 0px 2px 6px rgba(212, 175, 55, 0.6);
}

/* Header Actions */
.header-actions {
  display: flex;
  /* flex-direction: column;  */
  align-items: center;
  margin-left: 2%;
  margin-right: 1rem;
  gap: 20px;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 600;
  transition: var(--transition-fast);
}

.phone-link:hover {
  color: var(--secondary-color);
  transform: translateY(-2px);
}
.whatsapp-cta {
  text-align: center;
  /* background-color: #25d366; */
  /* border-radius: 50px; */
  /* padding: 7px 8px; */
}

.whatsapp-cta a {
  color: #2c5530;
  font-size: 17px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
}

.whatsapp-cta a i {
  margin-right: 8px;
  font-size: larger;
}

.cta-button {
  /* background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); */
  color: var(--text-white);
  background: #000;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 14px;
  /* gap: 20px; */
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-light);
  position: relative;
  overflow: hidden;
}

/* CTA Button hover effect */
.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  /* gap: 30px; */
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: var(--transition-medium);
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

/* Mobile Menu Toggle */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  transition: var(--transition-fast);
  border-radius: 2px;
}

/* Hero Section */
.hero {
  /* min-height: 90vh; */
  background: linear-gradient(135deg, #f5f3f0 0%, #e8e4df 100%);
  display: flex;
  align-items: center;
  text-align: center;
  padding-top: 11vh;
  padding-bottom: 2rem !important;
  position: relative;
  overflow: hidden;
}

/* Hero background animation */
.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  /* height: 100%; */
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.1) 0%,
    transparent 70%
  );
  animation: heroBackground 20s ease-in-out infinite;
}

@keyframes heroBackground {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.1);
  }
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  /* max-width: 1200px; */
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  /* z-index: 2; */
}

/* Hero Content */
.hero-content {
  animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 40px;
  letter-spacing: -1px;
}

/* Property Card */
.property-card {
  background: var(--bg-white);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-medium);
  transition: var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.property-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

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

.property-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.property-type {
  display: flex;
  flex-direction: column;
}

.bhk-text {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
}

.size-text {
  font-size: 1.2rem;
  color: var(--text-light);
  font-weight: 400;
}

.property-details {
  text-align: right;
}

.furnished-text {
  font-size: 0.9rem;
  color: var(--text-light);
  display: block;
  margin-bottom: 5px;
}

.price-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.starting-text {
  font-size: 0.8rem;
  color: var(--text-light);
}

.price-old {
  font-size: 1.1rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.price-new {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
}

.price-disclaimer {
  font-size: 0.8rem;
  color: var(--text-light);
  font-style: italic;
}

/* Project Name */
.project-name {
  text-align: left;
}

.project-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.project-location {
  font-size: 1.2rem;
  color: var(--text-light);
  font-weight: 500;
  letter-spacing: 1px;
}

/* Hero Image */
.hero-image {
  position: relative;
  animation: slideInRight 2s ease-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0px;
  border-radius: 20px;
  box-shadow: var(--shadow-heavy);
  transition: var(--transition-medium);
}

.hero-img:hover {
  transform: scale(1.02);
}

.image-caption {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.7);
  color: var(--text-white);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* RERA Information */
.rera-info {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-white);
  padding: 15px;
  border-radius: 10px;
  box-shadow: var(--shadow-light);
  font-size: 0.8rem;
  text-align: center;
  z-index: 3;
}

.rera-info a {
  color: var(--primary-color);
  text-decoration: none;
}

/* Section Styles */
section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  /* color: var(--text-dark); */
  margin-bottom: 20px;
  color: #1d2b56;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.section-divider {
  width: 130px;
  height: 3px;
  /* background: linear-gradient(90deg, var(--primary-color), var(--accent-color)); */
  background: #7587c4;
  margin: 0 auto;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-top: 15px;
}

/* Overview Section */
.overview {
  background: var(--bg-light);
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 2s ease, transform 2s ease;
}

/* When section is visible */
.overview.in-view {
  opacity: 1;
  transform: translateY(0);
}
.overview-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.overview-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 30px;
}

.overview-actions {
  display: flex;
  /* align-items: center; */
  justify-content: center;
  gap: 20px;
}

.download-brochure-btn {
  background: linear-gradient(135deg, var(--accent-color), #b8941f);
  color: var(--text-white);
  border: none;
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.download-brochure-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.overview-image {
  position: relative;
}

.overview-img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: var(--shadow-medium);
  transition: var(--transition-medium);
}

.overview-img:hover {
  transform: scale(1.02);
}

/* Configuration Section */
.configuration-content {
  max-width: 800px;
  margin: 0 auto;
}
.configuration {
  padding-top: 1rem !important;
}

.config-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.config-card {
  background: var(--bg-white);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.config-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.config-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-heavy);
}

.config-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.config-card p {
  font-size: 1.1rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 10px;
}

.config-size {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Amenities Section */
.amenities {
  background: var(--bg-light);
}

.amenities-category {
  margin-bottom: 60px;
}

.category-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 30px;
  text-align: center;
}

.amenities-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.amenities-grid {
  flex: 1 1 60%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  /* margin-bottom: 40px; */
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: var(--bg-white);
  border-radius: 10px;
  box-shadow: var(--shadow-light);
  transition: var(--transition-fast);
}

.amenity-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.amenity-item i {
  font-size: 1.2rem;
  color: var(--primary-color);
  width: 20px;
  text-align: center;
}

.amenity-item span {
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 500;
}

.amenities-image {
  flex: 1 1 35%;
  text-align: center;
  justify-content: center; /* Center image horizontally */
  align-items: center; /* Center image vertically */
  /* position: relative; */
}
/* Reverse layout for Clubhouse amenities */
.amenities-flex.reverse {
  flex-direction: row-reverse;
  align-items: center;
}

@media screen and (max-width: 768px) {
  .amenities-flex {
    flex-direction: column;
    align-items: center;
  }
  .amenities-grid,
  .amenities-image {
    width: 100%;
  }

  .amenities-image {
    margin-top: 30px;
  }
}

.amenities-img {
  max-width: 90%;
  height: auto;
  border-radius: 15px;
  box-shadow: var(--shadow-medium);
  transition: var(--transition-medium);
}

.amenities-img:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25); /* Hover shadow */
}
/* Optional: Make image slightly larger on large screens */
@media screen and (min-width: 1024px) {
  .amenities-img {
    max-width: 100%;
    height: 100%;
  }
}

/* Initial hidden state */
.animate-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Show when in view */
.animate-fade.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Location Section */

.map-container {
  /* margin-top: 40px; */
  flex: 1 1 40%;
  /* max-width: 40%; limit maximum width */
  margin: 0;
  /* margin-left: 0px !important; */
  border-radius: 15px;
  overflow: hidden;
  /* box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); */
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
/* === Location Section Flex Layout === */
.location-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.location-info {
  flex: 1 1 55%;
  text-align: left;
}
.location-content {
  /* max-width: 800px; */
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}
.map-container iframe {
  width: 100%;
  /* height: 100%; */
  display: block;
}

/* Reduce width by 20% when viewport is between 700px and 1400px */
@media screen and (max-width: 1602px) and (min-width: 701px) {
  .map-container {
    max-width: 82%; /* 40% - 20% of 40% = 32% */
    flex-basis: 32%;
    margin-left: 5rem;
    margin-right: 3rem;
  }
}
/* Responsive - Stack on small screens */
@media screen and (max-width: 700px) {
  .location-flex {
    flex-direction: column;
    align-items: center;
  }

  .location-info,
  .map-container {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .location-info p {
    text-align: center;
  }
}
.location-info h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.location-info p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 40px;
}

.location-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: var(--bg-white);
  border-radius: 10px;
  box-shadow: var(--shadow-light);
  transition: var(--transition-fast);
}

.highlight-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.highlight-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  width: 30px;
  text-align: center;
}

.highlight-item span {
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 500;
}

/* Gallery Section */
.gallery {
  background: var(--bg-light);
}

.gallery-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.gallery-slider {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: var(--shadow-medium);
}

.gallery-slide {
  display: none;
  position: relative;
}

.gallery-slide.active {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.gallery-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: var(--transition-medium);
}

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

/* Gallery Navigation */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
}

.gallery-prev,
.gallery-next {
  background: rgba(0, 0, 0, 0.5);
  color: var(--text-white);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-fast);
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-prev:hover,
.gallery-next:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

/* Gallery Dots */
.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: var(--transition-fast);
}

.dot.active,
.dot:hover {
  background: var(--primary-color);
  transform: scale(1.2);
}
@media screen and (min-width: 1024px) {
  .gallery-content {
    max-width: 1000px; /* Increased from 800px */
  }

  .gallery-img {
    height: 550px; /* Increased height */
  }
}

/* Contact Section */
.contact-content {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  background: var(--bg-white);
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--shadow-medium);
}

.form-group {
  position: relative;
  margin-bottom: 25px;
}

.form-group input {
  width: 100%;
  padding: 15px 50px 15px 20px;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-size: 1rem;
  transition: var(--transition-fast);
  background: var(--bg-white);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(44, 85, 48, 0.1);
}

.form-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 1.1rem;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin: 0;
  transform: scale(1.2);
}

.checkbox-group label {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
  cursor: pointer;
}

.submit-btn {
  width: 100%;
  /* background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); */
  background: #7587c4;
  color: var(--text-white);
  border: none;
  padding: 15px;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-light);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

/* About Dosti Section */
/* .about-dosti {
    background: var(--bg-light);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 25px;
    text-align: justify;
} */
/* About Details Section */
.about-details {
  background-color: var(--bg-light);
  padding: 60px 20px;
}

.about-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  /* max-width: 1200px; */
  margin: 0 auto;
  justify-content: center; /* ✅ CENTER children (including QR) horizontally */
}

.about-info {
  flex: 1 1 65%;
}

.about-info h2 {
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 15px;
  margin-top: 30px;
}

.about-info p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 20px;
  text-align: justify;
}

.about-qr {
  flex: 1 1 300px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end; /* ✅ Center vertically inside flex */
  text-align: center;
  margin: 0 auto; /* ✅ Center block itself if needed */
}

.about-qr img {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 10px;
  box-shadow: var(--shadow-medium);
}

.qr-caption {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 10px;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .about-grid {
    flex-direction: column;
    align-items: center;
  }

  .about-info {
    flex: 1 1 100%;
  }

  .about-qr {
    margin-top: 30px;
  }
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: var(--text-white);
  padding: 40px 0 20px;
}

.footer-content {
  text-align: center;
}

.footer-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.footer-btn {
  padding: 15px 30px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 10px;
}

.download-btn {
  background: linear-gradient(135deg, var(--accent-color), #b8941f);
  color: var(--text-white);
}

.appointment-btn {
  background: transparent;
  color: var(--text-white);
  border: 2px solid var(--text-white);
}

.footer-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.footer-bottom {
  border-top: 1px solid #555;
  padding-top: 20px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.footer-bottom p,
.footer-bottom a {
  color: #ccc;
  font-size: 0.9rem;
  margin: 0;
  white-space: nowrap;
  text-decoration: none; /* ✅ Remove underline */
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: var(white);
  transform: translateY(-3px); /* ✅ Float up slightly */
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.8); /* ✅ Whitish glow */
  text-decoration: underline;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background-color: var(--bg-white);
  margin: 5% auto;
  padding: 0;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  box-shadow: var(--shadow-heavy);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  /* background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); */
  background: #7587c4;
  color: var(--text-white);
  padding: 20px;
  border-radius: 15px 15px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
}

.modal-form {
  padding: 30px;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  /* background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); */
  background-color: #333333 !important;
  color: var(--text-white);
  border: 2px solid white;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  box-shadow: var(--shadow-medium);
  transition: var(--transition-fast);
  opacity: 0;
  visibility: hidden;
  z-index: 1500;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-heavy);
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Hide desktop navigation */
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background-color: var(--bg-white);
    width: 100%;
    text-align: center;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-medium);
    padding: 20px 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 10px 0;
  }

  /* Show mobile menu toggle */
  .hamburger {
    display: flex;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Header actions responsive */
  .header-actions {
    gap: 10px;
  }

  .phone-link {
    font-size: 0.9rem;
  }

  .cta-button {
    padding: 10px 15px;
    font-size: 0.8rem;
  }

  /* Hero section responsive */
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .project-title {
    font-size: 2.2rem;
  }

  /* Overview responsive */
  .overview-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  #overview {
    padding-bottom: 1rem !important;
  }
  #configuration {
    padding-bottom: 1rem !important;
  }
  #amenities {
    padding-bottom: 1rem !important;
    margin-top: 2rem;
    padding-top: 1rem !important;
  }
  #gallery {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }
  #location {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }
  #contact {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  .about-details {
    padding-top: 1rem;
  }

  /* Config cards responsive */
  .config-cards {
    grid-template-columns: 1fr;
  }

  /* Amenities responsive */
  .amenities-grid {
    grid-template-columns: 1fr;
  }

  /* Location highlights responsive */
  .location-highlights {
    grid-template-columns: 1fr;
  }

  /* Footer actions responsive */
  .footer-actions {
    flex-direction: column;
    align-items: center;
  }

  /* Modal responsive */
  .modal-content {
    margin: 10% auto;
    width: 95%;
  }

  .modal-header h3 {
  white-space: nowrap;        /* line break hone se rokta hai */
  overflow: hidden;           /* text overflow handle karega */
  text-overflow: ellipsis;    /* agar jagah kam ho toh ... dikhayega */
  font-size: clamp(14px, 2vw, 20px); /* responsive font-size */
}

  .modal-form {
    padding: 20px;
  }
}
#location {
  /* padding-top: 1rem !important; */
  padding-bottom: 1rem !important;
}
#contact {
  padding-top: 1rem !important;
  /* padding-bottom: 1rem; */
}
#gallery {
  padding-top: 1rem !important;
  /* padding-bottom: 1rem !important; */
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .project-title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .property-card {
    padding: 20px;
  }

  .bhk-text {
    font-size: 2rem;
  }

  .contact-form {
    padding: 25px;
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.6s ease-out;
}

.slide-up {
  animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bounce-in {
  animation: bounceIn 0.8s ease-out;
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-30 {
  margin-bottom: 30px;
}

.mb-40 {
  margin-bottom: 40px;
}

.mt-20 {
  margin-top: 20px;
}

.mt-30 {
  margin-top: 30px;
}

.mt-40 {
  margin-top: 40px;
}

.herobig {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  /* height: 100vh; */
  padding: 0 20px;
  /* margin: 0; */
  box-sizing: border-box;
  overflow: hidden;
}

.herobig img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 90vh; /* Optional, for screen fit */
  display: block;
  margin: 0 auto;
}

@media (max-width: 700px) and (max-height: 945px) {
  .herobig img {
    content: url("images/herom.png");
    padding: 0 !important;
    margin: 0 !important;
    display: block;
  }

  .herobig {
    padding: 0 !important;
    margin: 0 !important;
    height: auto !important;
  }

  .hero {
    padding: 0 !important;
    margin: 0 !important;
    height: auto !important;
    min-height: auto !important;
  }

  .hero-container {
    padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important;
  }
}

.enquire-button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 20px 0;
}

/* Button Bounce Animation */
@keyframes smoothBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.cta-button.niche {
  animation: smoothBounce 1s ease-in-out infinite;
  animation-delay: 0s;
  animation-iteration-count: infinite;
  animation-direction: normal;
  animation-fill-mode: both;

  /* 3D floating shadow */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Trigger bounce every 3 seconds */
@keyframes bounceInterval {
  0%,
  93%,
  100% {
    transform: translateY(0);
  }
  95% {
    transform: translateY(-10px);
  }
  97% {
    transform: translateY(0);
  }
}

.cta-button.niche {
  animation: bounceInterval 3s ease-in-out infinite;
}

/*  */
/* Right container (number + hamburger) */
.rightphone {
  display: none;
  align-items: center;
  gap: 15px;
}

/* ✅ Responsive Navbar Fix */
@media (max-width: 1132px) {
  .navbar {
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 10px 15px;
    height: auto;
  }

  .rightphone {
    display: inline-block;
    align-items: center;
    margin-right: 3rem;
    margin-bottom: 5px;
    gap: 11px;
  }
  
  /* ✅ Logo smaller on mobile */
  .logo {
    height: 40px;
  }

  /* ✅ Hide desktop actions and show mobile actions */
  .header-actions {
    display: none;
  }
  .header-actions-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    gap: 10px;
    height: auto;
    padding: 15px 0;
  }

  /* ✅ Mobile menu styling */
  .nav-menu {
    position: fixed;
    top: 70px; /* just below header */
    left: -100%;
    flex-direction: column;
    width: 100%;
    min-height: calc(100vh - 70px);
    /* max-height: 50vh;  */
    overflow-y: auto;
    background: #fff;
    text-align: center;
    transition: left 0.3s ease;
    box-shadow: var(--shadow-medium);
    /* z-index: 9999; */
    padding: 20px 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-item {
    margin: 15px 0;
  }

  /* ✅ Hamburger visible on mobile */
  .hamburger {
    display: flex;
    position: absolute;
    right: 15px;
    top: 20px;
    z-index: 11000; /* ✅ On top of everything */
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* ✅ Hide mobile-only actions on desktop */
@media (min-width: 769px) {
  .header-actions-mobile {
    display: none;
  }
}






/*  */
/* Success Card Styles */
.success-card {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 5000;
}

.success-card.active {
  visibility: visible;
  opacity: 1;
}

.success-card-content {
  background: #fff;
  padding: 30px 40px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  animation: popIn 0.4s ease;
}

.success-card-content h2 {
  color: #27ae60;
  margin-bottom: 10px;
}

.success-card-content p {
  color: #333;
  margin-bottom: 20px;
}

.close-btn {
  background: #27ae60;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.close-btn:hover {
  background: #1e874b;
}

@keyframes popIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}


/*  */
/* Hero Section Heading */
.hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: 2.5rem;   /* बड़े screens पर बड़ा text */
  font-weight: 700;
  color: #1a1a1a;      /* Dark elegant color */
  text-align: center;
  margin: 40px auto 20px;
  max-width: 900px;
  line-height: 1.3;
  letter-spacing: -0.5px;
  padding: 0 15px;
  position: relative;
  /* display: inline-flex; */
  z-index: 10; /* ✅ ensures it stays above any background image */
}

/* Decorative underline effect */
.hero h1::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #27ae60; /* Classy green highlight */
  margin: 12px auto 0;
  border-radius: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
    margin: 25px auto 15px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
  }
}
