/* Hero Section with Integrated Form */

/* Add spacing from header for hero section */
.hero-welcome {
    padding-top: 120px !important;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  padding: 2rem;
  text-align: center;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

/* Hero Text Styles - Keep Original Styling */
.hero-text {
  color: white;
  text-align: center;
  margin-bottom: 2rem;
}

/* Don't override the original hero text classes - let them use the original styles */
.hero-title,
.hero-subtitle,
.hero-description {
  /* Remove custom styles to let original CSS take precedence */
}

/* Form Container */
.hero-form-container {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 600px;
  width: 100%;
}

@media (max-width: 767px) {
  .hero-form-container {
    padding: 1.25rem;
    border-radius: 12px;
    max-width: 100%;
  }
}

/* Specific styles for 1440px resolution */
@media (min-width: 1440px) {
  .hero-form-container {
    max-width: 650px;
    padding: 2rem;
  }
  
  /* Improve form spacing on larger screens */
  .hero-form {
    gap: 1.25rem;
  }
  
  .form-row {
    gap: 1rem;
  }
  
  .input-form {
    padding: 0.875rem 1rem;
    font-size: 1rem;
  }
  
  .services-title {
    font-size: 1.125rem;
    margin-bottom: 1rem;
  }
  
  .form-buttons {
    gap: 1.25rem;
  }
  
  .whatsapp-btn,
  .submit-btn {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
}

/* Intermediate breakpoint for 1200px to 1440px */
@media (min-width: 1200px) and (max-width: 1439px) {
  .hero-form-container {
    max-width: 580px;
    padding: 1.75rem;
  }
  
  .hero-welcome {
    height: 850px;
  }
  
  .hero-welcome .h1-light {
    font-size: 3.5rem;
    line-height: 1.1;
  }
  
  .hero-welcome .h4-bold {
    font-size: 1.375rem;
  }
  
  .hero-welcome .p1-light {
    font-size: 1.0625rem;
  }
  
  .form-row {
    gap: 0.875rem;
  }
  
  .input-form {
    padding: 0.75rem 0.875rem;
  }
}

/* Form Styles */
.hero-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.form-row.two-columns {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 767px) {
  .form-row.two-columns {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.input-form {
  font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
  font-size: 14px;
  padding: 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  width: 100%;
}

.input-form:focus {
  border-color: #BAD6CF;
  outline: none;
  box-shadow: 0 0 0 3px rgba(186, 214, 207, 0.1);
}

.input-form::placeholder {
  color: rgba(0, 0, 0, 0.6);
}

.input-form.error {
  border-color: #ef4444;
}

.error-message {
  color: #ef4444;
  font-size: 12px;
  margin-top: 0.25rem;
}

.error-message.hidden {
  display: none;
}

/* Services Section */
.form-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.services-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.services-title {
  font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  color: #333;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

@media (max-width: 767px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.service-checkbox {
  width: 16px;
  height: 16px;
  accent-color: #BAD6CF;
}

.service-label {
  font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
  font-size: 12px;
  color: #333;
  cursor: pointer;
}

/* Form Buttons */
.form-buttons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #25D366;
  color: white;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  min-width: 120px;
}

.whatsapp-btn:hover {
  background: #22c55e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.whatsapp-icon {
  width: 18px;
  height: 18px;
}

.submit-btn {
  background: linear-gradient(119deg, #DDFE7E 54.83%, #EBFEB2 78.18%);
  color: #333;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
}

.submit-btn:hover {
  background: linear-gradient(135deg, #a8c9c0 0%, #96b8ae 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(186, 214, 207, 0.3);
}

@media (max-width: 767px) {
  .form-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .whatsapp-btn,
  .submit-btn {
    width: 100%;
    justify-content: center;
    min-width: auto;
  }
}

/* Datepicker Styles */
.datepicker-container {
  position: relative;
}

.datepicker-input-wrapper {
  position: relative;
}

.datepicker-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #666;
  pointer-events: none;
}

.datepicker-popup {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  margin-top: 4px;
}

.datepicker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.datepicker-prev-btn,
.datepicker-next-btn {
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.datepicker-prev-btn:hover,
.datepicker-next-btn:hover {
  background-color: #f3f4f6;
}

.datepicker-title {
  font-weight: 600;
  font-size: 16px;
}

.datepicker-month,
.datepicker-year {
  margin: 0 0.25rem;
}

.datepicker-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  padding: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.datepicker-weekday {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #666;
  padding: 0.5rem;
}

.datepicker-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  padding: 0.5rem;
}

.datepicker-day {
  text-align: center;
  padding: 0.5rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.datepicker-day:hover {
  background-color: #f3f4f6;
}

.datepicker-day.selected {
  background-color: #BAD6CF;
  color: #333;
}

.datepicker-day.today {
  background-color: #e5e7eb;
  font-weight: 600;
}

.datepicker-day.other-month {
  color: #9ca3af;
}

.datepicker-day.disabled {
  color: #d1d5db;
  cursor: not-allowed;
}

.datepicker-footer {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  border-top: 1px solid #e5e7eb;
}

.datepicker-today-btn,
.datepicker-clear-btn {
  background: none;
  border: 1px solid #e5e7eb;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}

.datepicker-today-btn:hover,
.datepicker-clear-btn:hover {
  background-color: #f3f4f6;
  border-color: #d1d5db;
}

.hidden {
  display: none !important;
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.modal-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s;
}

.modal-close:hover {
  background-color: #f3f4f6;
}

.modal-body {
  margin-bottom: 1.5rem;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
}

.modal-ok-btn {
  background: linear-gradient(135deg, #BAD6CF 0%, #a8c9c0 100%);
  color: #333;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-ok-btn:hover {
  background: linear-gradient(135deg, #a8c9c0 0%, #96b8ae 100%);
}

/* Loading Spinner */
.loading-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1rem 0;
}

.spinner {
  border: 3px solid #f3f4f6;
  border-top: 3px solid #BAD6CF;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .hero-content {
    padding: 1rem;
  }
  
  .hero-grid {
    gap: 1.5rem;
  }
}

/* Additional styles for 1440px resolution - Hero Layout */
@media (min-width: 1440px) {
  /* Improve hero section layout */
  .hero-welcome {
    height: 900px;
    /* Increase top padding for larger screens */
    padding-top: 140px;
  }
  
  /* Header improvements */
  .header {
    padding: 1.5rem 3rem;
  }
  
  .header div a img {
    height: 40px;
    width: auto;
  }
  
  .header .nav-header ul {
    gap: 1.5rem;
  }
  
  .header .nav-header .fw-semibold {
    font-size: 1.1rem;
  }
  
  /* Better text positioning */
  .hero-welcome .d-flex.flex-column.flex-sm-row {
    margin-bottom: 2rem;
  }
  
  .hero-welcome .h1-light {
    font-size: 4rem;
    line-height: 1.1;
  }
  
  .hero-welcome .h4-bold {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .hero-welcome .p1-light {
    font-size: 1.125rem;
    line-height: 1.6;
  }
  
  .hero-welcome .btn-call-to-action {
    font-size: 1.125rem;
  }
  
  /* Form positioning */
  .hero-welcome .d-flex.justify-content-left.mt-4.mt-sm-5 {
    margin-top: 3rem !important;
  }
} 

/* Medium to large screens */
@media (min-width: 992px) and (max-width: 1439px) {
    .hero-welcome {
        /* Add top padding for medium screens */
        padding-top: 100px;
    }
}

/* Tablet adjustments */
@media (max-width: 991px) {
    .hero-welcome {
        /* Reduce padding on tablets */
        padding-top: 80px;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .hero-welcome {
        /* Minimal padding on mobile */
        padding-top: 60px;
    }
} 

/* Responsive adjustments for hero spacing */
@media (min-width: 1440px) {
    .hero-welcome {
        padding-top: 140px !important;
    }
}

@media (min-width: 1200px) and (max-width: 1439px) {
    .hero-welcome {
        padding-top: 110px !important;
    }
}

/* Specific fix for 1024px resolution */
@media (min-width: 1024px) and (max-width: 1199px) {
    .hero-welcome {
        padding-top: 100px !important;
    }
    
    .hero-form-container {
        max-width: 550px;
        padding: 1.5rem;
    }
    
    .hero-welcome .h1-light {
        font-size: 3.2rem;
        line-height: 1.1;
    }
    
    .hero-welcome .h4-bold {
        font-size: 1.25rem;
    }
    
    .hero-welcome .p1-light {
        font-size: 1rem;
    }
}

@media (min-width: 992px) and (max-width: 1023px) {
    .hero-welcome {
        padding-top: 95px !important;
    }
}

@media (max-width: 991px) {
    .hero-welcome {
        padding-top: 90px !important;
    }
}

@media (max-width: 768px) {
    .hero-welcome {
        padding-top: 70px !important;
    }
}

@media (max-width: 576px) {
    .hero-welcome {
        padding-top: 60px !important;
    }
} 