/* ===== HERO SECTION ===== */
.hero-banner {
  position: relative;
  height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-banner img.banner-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(80%);
}

.hero-banner .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.hero-banner .hero-content {
  position: relative;
  text-align: center;
  color: #fff;
  z-index: 2;
}

.hero-banner h1 {
  font-size: 3rem;
  text-shadow: 0 0 20px #00eaff;
  color: #00eaff;
  margin-bottom: 0.5rem;
}

.hero-banner p a {
  color: #00eaff;
  text-decoration: none;
}

/* ===== FORM SECTION ===== */
.appointment-form-section {
  background: #0b0e10;
  color: #fff;
  padding: 100px 0;
}

.appointment-form-section .container {
  max-width: 1000px;
  margin: auto;
  padding: 0 20px;
}

.form-title {
  text-align: center;
  color: #00eaff;
  font-size: 2rem;
  text-shadow: 0 0 15px #00eaff;
}

.form-subtitle {
  text-align: center;
  margin-bottom: 40px;
  color: #ccc;
}

.appointment-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-group {
  flex: 1;
  position: relative;
}

.form-group i {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: #00eaff;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px 45px;
  background: #111418;
  border: 1px solid #333;
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #00eaff;
  box-shadow: 0 0 10px #00eaff;
}

textarea {
  resize: none;
}

.btn-submit {
  background: linear-gradient(90deg, #007bff, #00eaff);
  color: #fff;
  font-size: 1.1rem;
  border: none;
  padding: 15px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s ease;
  animation: pulse 2s infinite alternate;
}

.btn-submit:hover {
  transform: scale(1.02);
}

@keyframes pulse {
  from {
    box-shadow: 0 0 10px #00eaff;
  }
  to {
    box-shadow: 0 0 30px #007bff;
  }
}

/* === Date/Time Icon Customization === */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
  background-color: rgb(0, 0, 0);
  border-radius: 50%;
  padding: 5px;
  cursor: pointer;
  filter: invert(1) brightness(2);
  opacity: 1 !important;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover,
input[type="time"]::-webkit-calendar-picker-indicator:hover {
  box-shadow: 0 0 8px #00eaff, 0 0 15px #00eaff;
  filter: invert(1) brightness(3);
}

input[type="date"]:focus,
input[type="time"]:focus {
  outline: none;
  box-shadow: 0 0 10px #00eaff;
  border-color: #00eaff;
}

input[type="date"],
input[type="time"] {
  color-scheme: dark;
}

/* ===== TOOLTIP ===== */
.input-tooltip {
  position: fixed;
  background: #111418;
  color: #00eaff;
  border: 1px solid #00eaff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  z-index: 9999;
  box-shadow: 0 0 10px #00eaff80;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== POPUP OVERLAY ===== */
#popupOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

#popupOverlay.active {
  opacity: 1;
  visibility: visible;
}

/* ===== POPUP OVERLAY ===== */
#popupOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* when active */
#popupOverlay.active {
  opacity: 1;
  visibility: visible;
}

/* ===== POPUP BOX ===== */
.popup-box {
  background: #0a0f13;
  color: #fff;
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(0, 200, 255, 0.3);
  padding: 25px 40px;
  text-align: center;
  width: 90%;
  max-width: 480px;
  position: relative;
  opacity: 0;
  transform: scale(0.8) translateY(20px);
  transition: all 0.4s ease;
}

/* Animate the box when overlay becomes active */
#popupOverlay.active .popup-box {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* ===== CLOSE BUTTON ===== */
.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}

.popup-close:hover {
  color: #00b4ff;
  transform: scale(1.2);
}

/* ===== POPUP CONTENT ===== */
.popup-box .popup-icon {
  font-size: 42px;
  margin-bottom: 15px;
  display: inline-block;
}

.popup-box.success .popup-icon {
  color: #00ffb3;
  text-shadow: 0 0 10px #00ffb3;
}

.popup-box.error .popup-icon {
  color: #ff4d4d;
  text-shadow: 0 0 10px #ff4d4d;
}

.popup-box h3 {
  font-size: 22px;
  margin-bottom: 8px;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.popup-box p {
  font-size: 16px;
  color: #ccc;
}


/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(90deg, #007bff, #00eaff);
  color: #000;
  text-align: center;
  padding: 80px 20px;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.cta-btn {
  background: #000;
  color: #00eaff;
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 600;
  transition: 0.3s;
  animation: pulse 2s infinite alternate;
}

.cta-btn:hover {
  background: #00eaff;
  color: #000;
}

/* ===== FOOTER ===== */
.footer {
  background: #060a0f;
  color: #fff;
  text-align: center;
  padding: 70px 20px 30px;
  border-top: 1px solid #0e1216;
  position: relative;
  overflow: hidden;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.footer-info {
  text-align: center;
}

.footer-info p {
  margin: 6px 0;
  color: #ccc;
  font-size: 1rem;
  transition: color 0.3s;
}

.footer-info i {
  color: #00eaff;
  margin-right: 10px;
}

.footer-social {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.footer-social a {
  color: #00eaff;
  font-size: 1.3rem;
  transition: 0.3s ease;
}

.footer-social a:hover {
  color: #fff;
  text-shadow: 0 0 20px #00eaff, 0 0 40px #00eaff;
  transform: scale(1.1);
}

.footer-bottom {
  border-top: 1px solid #0f1418;
  margin-top: 35px;
  padding-top: 15px;
  color: #888;
  font-size: 0.95rem;
}

/* ===== FLOATING BUTTONS ===== */
.floating-btn {
  position: fixed;
  right: 25px;
  width: 55px;
  height: 55px;
  background: transparent;
  border: 2px solid #00eaff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #00eaff;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  z-index: 999;
  
}

.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px;
}

/* ===== EMAIL BUTTON ===== */
.quote-btn {
  bottom: 90px;
  border-color: #EA4335; /* Gmail red */
  color: #EA4335;
  box-shadow: 0 0 15px #EA433560;
}

.quote-btn:hover {
  background: #EA4335;
  color: #fff;
  box-shadow: 0 0 30px #EA4335;
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-btn {
  bottom: 25px;
   background: #25D366;
  color: #fff;
  box-shadow: 0 0 30px #25D366;
}


/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .form-row {
    flex-direction: column;
  }

  .hero-banner h1 {
    font-size: 2.2rem;
  }
}
