.error-name, .error-email, .error-phone, .error-email-valid, .error-phone-valid {
    color: red;
    float: left;
    margin-bottom: 10px;
    display: none;
}

#loading_bottom_1, #loading_bottom_2, #loading_bottom_3 {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -50px 0px 0px -50px;
}

#contactForm {
    position: relative;
}



:root {
      --primary-color: #1a472a;
      --secondary-color: #d4af37;
      --light-color: #f8f9fa;
      --dark-color: #212529;
      --transition: all 0.3s ease-in-out;
    }
    
    body {
      font-family: 'Montserrat', sans-serif;
      overflow-x: hidden;
      color: #333;
    }
    
    h1, h2, h3, h4, h5 {
      font-family: 'Playfair Display', serif;
      font-weight: 700;
    }
    
    /* Navbar */
    .navbar {
      background-color: rgba(255, 255, 255, 0.95);
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      padding: 15px 0;
      transition: var(--transition);
    }
    
    .navbar-brand {
      font-weight: 700;
      color: var(--primary-color);
      font-size: 1.5rem;
    }
    
    .nav-link {
      color: var(--dark-color);
      font-weight: 500;
      margin: 0 10px;
      transition: var(--transition);
    }
    
    .nav-link:hover {
      color: var(--secondary-color);
    }
    
    .custom-toggler {
      width: 30px;
      height: 20px;
      position: relative;
      background: transparent;
      border: none;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      cursor: pointer;
    }
    
    .dot {
      display: block;
      height: 3px;
      width: 100%;
      background-color: var(--primary-color);
      border-radius: 3px;
      transition: var(--transition);
    }
    
    /* Hide hamburger on desktop */
    @media (min-width: 992px) {
      .custom-toggler {
        display: none;
      }
    }
    
    /* Hero Section */
    .banner {
      height: 100vh;
      background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/gera_island/image1.jpg') no-repeat center center/cover;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: white;
      padding-top: 76px;
    }
    
    .banner h1 {
      font-size: 4rem;
      margin-bottom: 1rem;
      animation: fadeInDown 1s ease;
    }
    
    .banner p {
      font-size: 1.5rem;
      margin-bottom: 2rem;
      animation: fadeInUp 1s ease;
    }
    
    /* About Section */
    .about-section {
      padding: 100px 0;
      background-color: #fff;
    }
    
    .about-content {
      padding: 20px;
    }
    
    /* Features Section */
    .features-section {
      padding: 100px 0;
      background-color: var(--light-color);
    }
    
    .feature-box {
      text-align: center;
      padding: 30px 20px;
      border-radius: 10px;
      transition: var(--transition);
      margin-bottom: 30px;
      background: white;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .feature-box:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }
    
    .feature-icon {
      font-size: 3rem;
      color: var(--secondary-color);
      margin-bottom: 20px;
    }
    
    /* Floor Plans */
    .floor-plans {
      padding: 100px 0;
    }
    
    .plan-card {
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      margin-bottom: 30px;
      transition: var(--transition);
    }
    
    .plan-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }
    
    .plan-img {
      position: relative;
      overflow: hidden;
    }
    
    .plan-img img {
      width: 100%;
      transition: var(--transition);
    }
    
    .plan-card:hover .plan-img img {
      transform: scale(1.05);
    }
    
    .plan-btn {
      position: absolute;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      background-color: var(--primary-color);
      color: white;
      border: none;
      padding: 10px 25px;
      border-radius: 50px;
      font-weight: 600;
      transition: var(--transition);
      opacity: 0;
    }
    
    .plan-card:hover .plan-btn {
      opacity: 1;
    }
    
    .plan-btn:hover {
      background-color: var(--secondary-color);
    }
    
    .plan-details {
      padding: 20px;
    }
    
    /* Contact Form */
    .contact-section {
      padding: 100px 0;
      background-color: var(--light-color);
    }
    
    .contact-form {
      background: white;
      padding: 40px;
      border-radius: 10px;
      box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    }
    
    .form-control {
      padding: 15px;
      border-radius: 5px;
      border: 1px solid #ddd;
      margin-bottom: 20px;
      transition: var(--transition);
    }
    
    .form-control:focus {
      border-color: var(--secondary-color);
      box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
    }
    
    .btn-primary {
      background-color: var(--primary-color);
      border: none;
      padding: 15px 30px;
      border-radius: 50px;
      font-weight: 600;
      transition: var(--transition);
    }
    
    .btn-primary:hover {
      background-color: var(--secondary-color);
      transform: translateY(-3px);
    }
    
    /* Map Section */
    .map-section {
      padding: 50px 0;
    }
    
    .map-container {
      height: 400px;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    /* Footer */
    footer {
      background-color: var(--primary-color);
      padding: 30px 0 15px;
      color: white;
      font-size: 0.9rem;
    }
    
    .footer-links {
      list-style: none;
      padding: 0;
    }
    
    .footer-links li {
      margin-bottom: 10px;
    }
    
    .footer-links a {
      color: rgba(255, 255, 255, 0.8);
      text-decoration: none;
      transition: var(--transition);
    }
    
    .footer-links a:hover {
      color: var(--secondary-color);
    }
    
   /* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px; /* Bigger arrow size */
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.back-to-top::before {
  content: "↑"; /* Hollow arrow icon */
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--secondary-color);
  transform: translateY(-5px);
}
    /* Modal */
    .modal-content {
      border-radius: 15px;
      overflow: hidden;
    }
    
    .modal-header {
      background-color: var(--primary-color);
      color: white;
    }
    
    /* Animations */
    @keyframes fadeInDown {
      from {
        opacity: 0;
        transform: translateY(-30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    
    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    
    /* Responsive Styles */
    @media (max-width: 992px) {
      .banner h1 {
        font-size: 3rem;
      }
      
      .banner p {
        font-size: 1.2rem;
      }
      
      .navbar-collapse {
        background-color: white;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        margin-top: 10px;
      }
    }
    
    @media (max-width: 768px) {
      .banner {
        height: 80vh;
      }
      
      .banner h1 {
        font-size: 2.5rem;
      }
      
      .about-content, .contact-form {
        padding: 20px;
      }
    }
    
    @media (max-width: 576px) {
      .banner h1 {
        font-size: 2rem;
      }
      
      .banner p {
        font-size: 1rem;
      }
      
      .section-title {
        font-size: 2rem;
      }
      
      .contact-form {
        padding: 20px;
      }
    }