/* Contact Page Styles */
/* ============================================ */

/* Preloader Styles */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.preloader-inner {
  text-align: center;
}

.spinner {
  width: 80px;
  height: 80px;
  position: relative;
  margin: 0 auto 20px;
}

.double-bounce1, .double-bounce2 {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #AD6C29;
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;
  animation: sk-bounce 2.0s infinite ease-in-out;
}

.double-bounce2 {
  animation-delay: -1.0s;
}

@keyframes sk-bounce {
  0%, 100% { transform: scale(0.0); }
  50% { transform: scale(1.0); }
}

.loading-text {
  font-size: 18px;
  color: #333;
  margin-top: 20px;
}

.preloader-logo img {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Contact Hero Section with Image Background */
.contact-hero {
  position: relative;
  height: 400px;
  overflow: hidden;
  margin-top: 56px;
  display: flex;
  align-items: center;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

.contact-hero .container {
  position: relative;
  z-index: 2;
}

.contact-hero h1 {
  font-weight: 700;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  font-size: 3rem;
}

.contact-hero p {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  font-size: 1.25rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .contact-hero {
    height: 300px;
  }
  
  .contact-hero h1 {
    font-size: 2.5rem;
  }
  
  .contact-hero p {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .contact-hero {
    height: 250px;
  }
  
  .contact-hero h1 {
    font-size: 2rem;
  }
}

/* Contact Form Section */
.contact-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.contact-info {
  background: #f8f9fa;
  border-radius: 10px;
  height: 100%;
}

.info-item {
  display: flex;
  margin-bottom: 25px;
}

.info-icon {
  width: 50px;
  height: 50px;
  background-color: #AD6C29;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-right: 15px;
  flex-shrink: 0;
}

.info-content h5 {
  color: #AD6C29;
  margin-bottom: 5px;
}

.social-links {
  margin-top: 30px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #AD6C29;
  color: white;
  border-radius: 50%;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: #E65C00;
  transform: translateY(-3px);
  color: white;
}

/* Button Styles */
.btn-contact {
  background-color: #AD6C29;
  color: white;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
}

.btn-contact:hover {
  background-color: #E65C00;
  color: white;
  transform: translateY(-2px);
}

/* Map Section */
.map-section {
  margin-top: -50px;
  position: relative;
  z-index: 1;
}

.map-container {
  height: 400px;
  width: 100%;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* FAQ Section */
.accordion-button:not(.collapsed) {
  background-color: rgba(173, 108, 41, 0.1);
  color: #AD6C29;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(173, 108, 41, 0.25);
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #128C7E;
  color: #FFF;
  transform: scale(1.1);
}

.whatsapp-icon {
  margin-top: 5px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .contact-hero {
    height: 350px;
  }
  
  .contact-card, .contact-info {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    height: 300px;
    margin-top: 56px;
  }
  
  .map-section {
    margin-top: 0;
  }
  
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 30px;
    right: 30px;
    font-size: 25px;
  }
}

@media (max-width: 576px) {
  .contact-hero {
    height: 250px;
  }
  
  .contact-hero h1 {
    font-size: 28px;
  }
  
  .info-item {
    flex-direction: column;
  }
  
  .info-icon {
    margin-bottom: 10px;
  }
}