/* Base Styles */
:root {
  --primary-color: #b8860b;
  --secondary-color: #1a1a1a;
  --accent-color: #d4af37;
  --light-color: #f8f8f8;
  --dark-color: #222222;
  --text-color: #333333;
  --text-light: #777777;
  --white: #ffffff;
  --black: #000000;
  --transition: all 0.3s ease;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --box-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);
  --border-radius: 8px;
  --section-padding: 100px 0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--secondary-color);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: var(--border-radius);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 14px;
}

.btn-hero {
  background-color: #9b6e0f;
  color: white !important;
  padding: 12px 30px;
  border: 2px solid transparent;
  text-decoration: none;
  font-weight: bold;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

.section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  color: #111;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
}

.section-subtitle {
  font-size: 1.1rem;
  color: #444;
  font-weight: 500;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.header.scrolled {
  background-color: rgba(26, 26, 26, 0.95);
  padding: 15px 0;
  box-shadow: var(--box-shadow);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
  transition: var(--transition);
}

.header.scrolled .logo img {
  height: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-link {
  margin-left: 30px;
  font-weight: 500;
  position: relative;
  color: var(--white);
}

.phone-number {
  font-weight: 600;
  color: white;
  display: inline-flex;
  align-items: center;
  border: 2px solid white;
  padding: 8px 16px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  background-color: transparent;
}

.phone-number::before {
  content: "\f095"; /* FontAwesome phone icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 8px;
  font-size: 0.9em;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .phone-number {
      padding: 0 0;
      justify-content: center;
  }
  .btn-hero {
    background-color: #9b6e0f;
    color: white !important;
    width: 30%;
  }
  .phone-number {
    font-weight: 600;
    color: white;
    display: inline-flex;
    align-items: center;
    border: 2px solid white;
    padding: 8px 16px;
  }
}

.header.scrolled .nav-link {
  color: var(--white);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--primary-color);
}

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: all 0.3s ease;
  background-color: var(--white);
}

.header.scrolled .bar {
  background-color: var(--white);
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 700px;
  position: relative;
  color: var(--white);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
}

.hero-content {
  transition: opacity 0.5s ease;
  position: relative;
  z-index: 1;
  max-width: 100%;
  text-align: center;
}

.hero.loaded .hero-content {
  opacity: 1;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 20px;
  line-height: 1.1;
  color: white;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 30px;
  font-weight: 300;
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  animation: bounce 2s infinite;
}

.scroll-down a {
  color: var(--white);
  font-size: 1.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
      transform: translateY(0) translateX(-50%);
  }
  40% {
      transform: translateY(-20px) translateX(-50%);
  }
  60% {
      transform: translateY(-10px) translateX(-50%);
  }
}

/* Project Overview Section */
.project-overview {
  background-color: var(--light-color);
}

.project-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.project-text {
  flex: 1;
}

.project-text h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.project-text p {
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature {
  text-align: center;
  padding: 30px 20px;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.feature:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-lg);
}

.feature i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.feature:hover i {
    animation: sparkle 1s ease-in-out;
}
@keyframes sparkle {
    0% { transform: scale(1); }
    50% { transform: scale(1.2) rotate(15deg); }
    100% { transform: scale(1); }
}

.feature h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.feature p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.project-image {
  flex: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow-lg);
}

.project-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

.project-image:hover img {
  transform: scale(1.05);
}


/* Gallery Section */
.gallery {
  background-color: #f9f9f9;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.gallery::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(184,134,11,0.03) 0%, rgba(184,134,11,0.01) 100%);
  z-index: 0;
}

.gallery .container {
  position: relative;
  z-index: 1;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 25px;
  margin-top: 50px;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  aspect-ratio: 4/3;
  transform: translateY(0);
  will-change: transform;
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.7) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item:hover::before {
  opacity: 1;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.gallery-item:hover .gallery-image {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 25px;
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 2;
  color: white;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--white);
  transition: all 0.3s ease;
  transform: scale(0.8);
}

.gallery-item:hover .gallery-overlay i {
  transform: scale(1);
}

.gallery-caption {
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.4s ease;
  opacity: 0;
  font-size: 1.1rem;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
  opacity: 1;
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  overflow: auto;
  animation: fadeIn 0.4s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-content {
  display: block;
  margin: 80px auto 30px;
  max-width: 85%;
  max-height: calc(100vh - 150px);
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  animation: zoomIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox-caption {
  margin: 20px auto;
  text-align: center;
  color: var(--white);
  max-width: 70%;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.6;
  padding: 0 20px;
}

.close-btn {
  position: absolute;
  top: 30px;
  right: 40px;
  color: var(--white);
  font-size: 42px;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.8;
  z-index: 10;
}

.close-btn:hover {
  opacity: 1;
  transform: rotate(90deg);
  color: var(--primary-color);
}

.prev-btn, .next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 28px;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.7;
  z-index: 10;
}

.prev-btn {
  left: 40px;
}

.next-btn {
  right: 40px;
}

.prev-btn:hover, .next-btn:hover {
  opacity: 1;
  background-color: rgba(184, 134, 11, 0.7);
  transform: translateY(-50%) scale(1.1);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .gallery-grid {
      gap: 20px;
  }
  
  .lightbox-content {
      max-width: 90%;
  }
}

@media (max-width: 992px) {
  .gallery {
      padding: 80px 0;
  }
  
  .gallery-grid {
      gap: 15px;
  }
  
  .lightbox-content {
      margin: 70px auto 25px;
      max-height: calc(100vh - 130px);
  }
  
  .close-btn {
      top: 25px;
      right: 30px;
      font-size: 36px;
  }
  
  .prev-btn, .next-btn {
      width: 50px;
      height: 50px;
      font-size: 24px;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
      grid-template-columns: repeat(2, 1fr);
      grid-template-rows: repeat(3, 1fr);
  }
  
  .lightbox-content {
      max-width: 95%;
      margin: 90px auto 20px;
  }
  
  .lightbox-caption {
      max-width: 85%;
      font-size: 1rem;
  }
  
  .close-btn {
      top: 20px;
      right: 20px;
      font-size: 32px;
  }
  
  .prev-btn, .next-btn {
      width: 45px;
      height: 45px;
      font-size: 22px;
  }
  
  .prev-btn {
      left: 20px;
  }
  
  .next-btn {
      right: 20px;
  }
}

@media (max-width: 576px) {
  .gallery {
      padding: 60px 0;
  }
  
  .gallery-grid {
      gap: 12px;
  }
  
  .gallery-item {
      aspect-ratio: 1/1;
  }
  
  .lightbox-content {
      max-height: calc(100vh - 140px);
  }
  
  .close-btn {
      top: 15px;
      right: 15px;
      font-size: 28px;
  }
  
  .prev-btn, .next-btn {
      width: 40px;
      height: 40px;
      font-size: 20px;
  }
  .btn-hero {
    background-color: #9b6e0f;
    color: white !important;
    width: 60%;
  }
}

/* Pricing Section Styles */
.pricing {
  background-color: #ffffff;
  color: #222222; /* Darker text for better contrast */
  font-weight: 600; /* Slightly bolder */
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.pricing-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  border: 1px solid #eee;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.pricing-card.featured {
  position: relative;
}

.rera-notice {
  background-color: #f8f9fa;
  border-left: 4px solid #2ecc71;
  padding: 15px;
  margin: 25px 0;
  border-radius: 0 4px 4px 0;
}

.rera-badge {
  display: inline-block;
  background: #2a7f2a;
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.highlight {
  background-color: #fff8e1;
  padding: 2px 5px;
  border-radius: 3px;
  font-weight: bolder;
  color: #5d4037;
}

.rera-details {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.card-header {
  padding: 25px;
  text-align: center;
  background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
  border-bottom: 1px solid #eee;
}

.card-header h3 {
  font-size: 1.8rem;
  color: var(--secondary-color);
  margin: 0;
}

.card-body {
  padding: 30px;
  text-align: center;
}

.specs {
  margin-bottom: 30px;
}

.spec-item {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.spec-item i {
  margin-right: 10px;
  color: var(--primary-color);
  font-size: 1.2rem;
}

.btn-primary {
  background-color: #9b6e0f;
  color: white !important;
  border: 2px solid #7a5808;
  text-shadow: 0 1px 1px rgba(0,0,0,0.3);
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
  width: 100%;
  display: block;
}

.btn-primary:hover {
  background-color: #8a630d;
  color: white !important;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(184, 134, 11, 0.3);
}

.btn-primary-callback {
  background-color: #9b6e0f;
  color: white !important;
  border: 2px solid #7a5808;
  text-shadow: 0 1px 1px rgba(0,0,0,0.3);
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
  width: 100%;
  display: block;
}

.btn-primary-callback:hover {
  background-color: #8a630d;
  color: white !important;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(184, 134, 11, 0.3);
}

.disclaimer {
  margin-top: 40px;
  text-align: center;
  font-size: 0.9rem;
  color: #d32f2f;
  font-style: italic;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .pricing-cards {
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .pricing {
      padding: 60px 0;
  }
  
  .pricing-cards {
      grid-template-columns: 1fr;
      max-width: 500px;
      margin-left: auto;
      margin-right: auto;
  }
  
  .pricing-card.featured {
      transform: none;
  }
}

@media (max-width: 576px) {
  .card-header h3 {
      font-size: 1.5rem;
  }
  
  .spec-item {
      font-size: 1rem;
  }
}

/* Location Section */
.location {
  background-color: #f9f9f9;
  padding: 60px 0;
}

.location-image-container {
  max-width: 1200px; 
  width: 104%;
  margin: 0 auto;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow-lg);
}

.location-image {
  width: 100%; 
  height: auto; 
  display: block;
  transition: transform 0.5s ease;
}

.location-image:hover {
  transform: scale(1.02);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .location-image-container {
      width: 95%; 
  }
}

@media (max-width: 768px) {
  .location-image-container {
      width: 100%; 
      border-radius: 0;
  }
}

/* Contact Section */
.contact-content {
  display: flex;
  gap: 50px;
}

.contact-form {
  max-width: 1000px;
    margin: 0 auto;
    padding: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.contact-form:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transform: translateY(-5px);
}

.form-group {
  position: relative;
  margin-bottom: 30px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #000000;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.2);
}

.form-group label {
  position: absolute;
  top: 15px;
  left: 15px;
  color: black;
  transition: var(--transition);
  pointer-events: none;
  background-color: var(--white);
  padding: 0 5px;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group select:focus + label,
.form-group select:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
  top: -10px;
  font-size: 0.8rem;
  color: #000000;
}

.form-notice {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  color: #555;
  padding: 10px;
  background-color: #e9feee;
  border-radius: 4px;
  border-left: 4px solid #28a745;
  border-right: 4px solid #28a745;
}

.form-notice p {
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .form-notice {
      font-size: 13px;
  }
}

.contact-info {
  flex: 1;
  padding: 40px;
  background-color: var(--light-color);
  border-radius: var(--border-radius);
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.info-item i {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-right: 15px;
  margin-top: 3px;
}

/* Footer */
.footer {
  background-color: var(--secondary-color);
  color: var(--white);
}



.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary-color);
  transform: translateY(-5px);
}



.newsletter-form {
  display: flex;
  margin-top: 20px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 0.9rem;
}

.newsletter-form button {
  padding: 0 20px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background-color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  padding: 20px 0 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-bottom i {
  color: #ff6b6b;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .project-content,
  .location-content,
  .contact-content {
      flex-direction: column;
      gap: 30px;
  }

  .project-image,
  .location-map,
  .contact-form,
  .contact-info {
      width: 100%;
  }
}

@media (max-width: 768px) {
  .section {
      padding: 70px 0;
  }

  .section-title {
      font-size: 2rem;
  }

  .hero-title {
      font-size: 3rem;
  }

  .hero-subtitle {
      font-size: .6rem;
      font-weight: bold;
  }

  .hamburger {
      display: block;
  }

  .hamburger.active .bar:nth-child(2) {
      opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
      transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
      transform: translateY(-8px) rotate(-45deg);
  }

  .nav-links {
      position: fixed;
      top: 80px;
      left: -100%;
      width: 100%;
      background-color: var(--secondary-color);
      flex-direction: column;
      align-items: center;
      padding: 40px 0;
      transition: var(--transition);
      z-index: 999;
  }

  .nav-links.active {
      left: 0;
  }

  .nav-link {
      margin: 0 0;
      color: var(--white);
  }

  .header.scrolled .nav-links {
      top: 70px;
  }
}

@media (max-width: 576px) {
  .section {
      padding: 50px 0;
  }

  .section-title {
      font-size: 1.8rem;
  }

  .hero-title {
      font-size: 2rem;
  }

  .btn {
      padding: 10px 20px;
  }

  .features {
      grid-template-columns: 1fr;
  }


  .footer-content {
      grid-template-columns: 1fr;
  }
}

/* Floating Contact Buttons */
.floating-contact {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 15px;
}

.contact-toggle {
  display: none;
}

.contact-button {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(184, 134, 11, 0.4);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  border: none;
  outline: none;
}

/* Main icon styles */
.contact-button .fa-comment-dots {
  font-size: 24px;
  color: white;
  transition: all 0.3s ease;
  position: absolute;
}

/* Close (X) icon styles */
.contact-close {
  position: absolute;
  opacity: 0;
  transition: all 0.3s ease;
  font-size: 24px;
  color: white; 
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.contact-options {
  display: flex;
  flex-direction: column-reverse;
  gap: 15px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  pointer-events: none;
  margin-bottom: 10px;
}

.contact-option {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  transform: scale(0.8);
  text-decoration: none;
}

.contact-option.call {
  background: #0172a6;
}

.contact-option.whatsapp {
  background: #00a527;
}

.contact-option:hover {
  transform: scale(1.1) translateY(-5px);
}

/* Animation when toggled */
.contact-toggle:checked ~ .contact-options {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  margin-right: 0;
}

.contact-toggle:checked + .contact-button {
  transform: rotate(45deg);
  background: #ff4444;
}

.contact-toggle:checked + .contact-button .fa-comment-dots {
  opacity: 0;
  transform: rotate(-45deg);
}

.contact-toggle:checked + .contact-button .contact-close {
  opacity: 1;
  transform: rotate(-45deg);
}

/* Pulse animation */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.contact-button {
  animation: pulse 2s infinite;
}

/* Hover effects */
.contact-button:hover {
  transform: scale(1.1);
  animation: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .floating-contact {
    bottom: 15px;
    right: 15px;
  }
  
  .contact-button {
    width: 50px;
    height: 50px;
  }
  
  .contact-option {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }
  
  .contact-button .fa-comment-dots,
  .contact-close {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .floating-contact {
    bottom: 10px;
    right: 10px;
  }
  
  .contact-button {
    width: 45px;
    height: 45px;
  }
  
  .contact-button .fa-comment-dots,
  .contact-close {
    font-size: 18px;
  }

  .contact-toggle:checked ~ .contact-options {
    margin-right: -10px;
  }
  
  .contact-option {
    width: 60px;
    height: 60px;
    font-size: 16px;
  }
}

/* Safe area for notches on mobile devices */
@supports (padding: max(0px)) {
  .floating-contact {
    bottom: max(15px, env(safe-area-inset-bottom));
    right: max(15px, env(safe-area-inset-right));
  }
}

/* Popup Styles */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.32, 0.08, 0.24, 1);
  backdrop-filter: blur(5px);
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  background: white;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: translateY(50px);
  transition: transform 0.4s cubic-bezier(0.32, 0.08, 0.24, 1);
}

.popup-overlay.active .popup-container {
  transform: translateY(0);
}

.popup-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f5f5f5;
  border: none;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
}

.popup-close-btn:hover {
  background: #e0e0e0;
  transform: rotate(90deg);
}

.popup-header {
  text-align: center;
  margin-bottom: 30px;
}

.popup-header h3 {
  font-size: 1.8rem;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.popup-header p {
  color: #666;
  font-size: 0.95rem;
}

.popup-form .form-group {
  position: relative;
  margin-bottom: 25px;
}

.popup-form .form-group i {
  position: absolute;
  top: 15px;
  left: 15px;
  color: #999;
  transition: all 0.3s ease;
}

.popup-form input,
.popup-form select {
  width: 100%;
  padding: 15px 15px 15px 45px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.popup-form input:focus,
.popup-form select:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.2);
}

.popup-form input:focus + label,
.popup-form input:not(:placeholder-shown) + label,
.popup-form select:focus + label,
.popup-form select:valid + label {
  top: -8px;
  left: 30px;
  font-size: 0.8rem;
  background: white;
  padding: 0 5px;
  color: var(--primary-color);
}

.popup-form input:focus ~ i,
.popup-form input:not(:placeholder-shown) ~ i,
.popup-form select:focus ~ i,
.popup-form select:valid ~ i {
  color: var(--primary-color);
}

.popup-form label {
  position: absolute;
  top: 15px;
  left: 45px;
  color: #999;
  transition: all 0.3s ease;
  pointer-events: none;
}

.popup-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 15px;
}

.btn-popup-submit {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
}

.btn-popup-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(184, 134, 11, 0.4);
}

.btn-popup-submit:active {
  transform: translateY(0);
}

.popup-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 0.85rem;
  color: #777;
}

.popup-footer i {
  margin-right: 5px;
  color: #28a745;
}

.popup-success {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.popup-success.active {
  opacity: 1;
  visibility: visible;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: #e8f5e9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.success-icon i {
  font-size: 40px;
  color: #28a745;
}

.popup-success h3 {
  font-size: 1.8rem;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.popup-success p {
  color: #666;
  margin-bottom: 25px;
}

.btn-popup-close {
  padding: 12px 30px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-popup-close:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
}

/* Animation for form elements */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.popup-form .form-group {
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
}

.popup-form .form-group:nth-child(1) { animation-delay: 0.1s; }
.popup-form .form-group:nth-child(2) { animation-delay: 0.2s; }
.popup-form .form-group:nth-child(3) { animation-delay: 0.3s; }
.popup-form .form-group:nth-child(4) { animation-delay: 0.4s; }
.popup-form .btn-popup-submit { animation: fadeInUp 0.5s ease 0.5s forwards; }
.popup-form .popup-footer { animation: fadeInUp 0.5s ease 0.6s forwards; }