/* Contact Page Styles */

/* Tagline Slider Styles */
.tagline-slider {
  height: 60px;
  overflow: hidden;
  position: relative;
  margin: 20px 0;
}

.tagline-slide {
  position: absolute;
  width: 100%;
  text-align: center;
  font-size: 18px;
  color: #fff;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
  line-height: 1.4;
}

.tagline-slide.active {
  opacity: 1;
  transform: translateY(0);
}

.tagline-slide span {
  color: #f4d03f;
  font-weight: 600;
}

/* Contact Hero Section */
.contact-hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/hero-section/contacthero.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 200px 0 150px;
  color: #fff;
  text-align: center;
}

.contact-hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

.contact-hero h1 span {
  color: #f4d03f;
}

.contact-hero p {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Contact Main Section */
.contact-main {
  padding: 100px 0;
  background: #f8f9fa;
}

.contact-main h2 {
  font-size: 36px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
}

.contact-main p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  max-width: 600px;
  margin: 0 auto 60px;
}

.contact-form {
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 20px;
}

/* Force form text visibility */
input.form-control,
textarea.form-control {
  color: #000000 !important;
  background: #ffffff !important;
  -webkit-text-fill-color: #000000 !important;
}

input.form-control:focus,
textarea.form-control:focus {
  color: #000000 !important;
  background: #ffffff !important;
  -webkit-text-fill-color: #000000 !important;
}

/* Override any conflicting styles */
.contact-form input,
.contact-form textarea {
  color: #000000 !important;
  background: #ffffff !important;
}

.contact-form input:focus,
.contact-form textarea:focus {
  color: #000000 !important;
  background: #ffffff !important;
}

/* Make sure placeholders are different */
input.form-control::placeholder,
textarea.form-control::placeholder {
  color: #999999 !important;
  opacity: 1 !important;
}

.form-control {
  border: 2px solid #e9ecef;
  border-radius: 5px;
  padding: 12px 15px;
  font-size: 14px;
  transition: all 0.3s ease;
  color: #000000 !important;
  background: #ffffff !important;
  -webkit-text-fill-color: #000000 !important;
}

.form-control:focus {
  border-color: #f4d03f;
  box-shadow: 0 0 0 0.2rem rgba(244, 208, 63, 0.25);
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
}

.submit-bt2 {
  display: inline-block;
  padding: 12px 30px;
  background: #2c3e50;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.submit-bt2:hover {
  background: #f4d03f;
  color: #2c3e50;
  transform: translateY(-2px);
}

.call-bt2 {
  display: inline-block;
  padding: 12px 25px;
  background: #28a745;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  vertical-align: middle;
  margin-left: 10px;
}

.call-bt2:hover {
  background: #218838;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

.call-bt2:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.4);
}

.call-bt2 i {
  margin-right: 8px;
}

/* WhatsApp Button */
.whatsapp-bt2 {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  vertical-align: middle;
  margin-right: 10px;
}

.whatsapp-bt2:hover {
  background: linear-gradient(135deg, #128c7e, #25d366);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.whatsapp-bt2:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.4);
}

.whatsapp-bt2 i {
  margin-right: 8px;
}

/* Contact Info */
.contact-info {
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  height: 100%;
}

.contact-info h3 {
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 12px;
  position: relative;
  padding-bottom: 6px;
}

.contact-info h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: #f4d03f;
}

.contact-info p {
  font-size: 14px;
  line-height: 1.5;
  color: #555;
  margin-bottom: 12px;
}

.contact-info strong {
  color: #2c3e50;
  font-weight: 600;
}

.business-hours {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.business-hours li {
  padding: 8px 0;
  border-bottom: 1px solid #e9ecef;
  font-size: 14px;
  color: #555;
}

.business-hours li:last-child {
  border-bottom: none;
}

.business-hours i {
  color: #f4d03f;
  margin-right: 10px;
  width: 20px;
}

.address {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.address li {
  padding: 8px 0;
  font-size: 14px;
  color: #2c3e50 !important;
}

.address i {
  color: #f4d03f;
  margin-right: 10px;
  width: 20px;
}

.address span {
  font-weight: 600;
  color: #2c3e50;
}

.address a {
  color: #2c3e50 !important;
  text-decoration: none;
}

.address a:hover {
  color: #f4d03f !important;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: #f4d03f;
  border-radius: 50%;
  color: #2c3e50;
  text-align: center;
  line-height: 40px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #2c3e50;
  color: #f4d03f;
  transform: translateY(-3px);
}

/* Map Section */
.map-section {
  padding: 80px 0;
  background: #fff;
}

.map-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 40px;
  text-align: center;
}

.map-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.map-container iframe {
  border: none;
  width: 100%;
  min-height: 450px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-hero {
    padding: 150px 0 100px;
  }
  
  .contact-hero h1 {
    font-size: 36px;
  }
  
  .contact-main,
  .map-section {
    padding: 60px 0;
  }
  
  .contact-form,
  .contact-info {
    padding: 30px 20px;
    margin-bottom: 30px;
  }
  
  /* Mobile buttons fix */
  .contact-form form > div:last-child {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
  }
  
  .whatsapp-bt2, .call-bt2 {
    flex: 1 !important;
    margin: 0 !important;
    display: inline-block !important;
    width: 100% !important;
    height: auto !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }
  
  .submit-bt2 {
    width: 100%;
  }
  
  .social-links {
    justify-content: center;
  }
}
