/* Contact Page CSS */

/* Hero Section */
.contact-hero {
  height: 100vh;
  min-height: 600px;
  background: url('../images/contact-hero.jpeg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  color: #fff;
  z-index: 1;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0,0,0,0.55);
  z-index: 0;
}

.contact-hero h1,
.contact-hero p {
  position: relative;
  z-index: 1;
}

.contact-hero h1 {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 15px;
}

/* Accent line under the heading */
.contact-hero h1::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #f0a500;
  border-radius: 2px;
}

.contact-hero p {
  font-size: 1.2rem;
  max-width: 600px;
}

/* Contact Main Section */
.contact-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 100px 5%;
  gap: 60px;
  background-color: #fff;
  color: #333;
}

.contact-info {
  flex: 1 1 400px;
}

.contact-info h2 {
  font-weight: 600;
  margin-bottom: 20px;
  color: #f0a500;
}

.contact-info p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

.info-box {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.info-box i {
  font-size: 2rem;
  color: #f0a500;
}

.info-box h5 {
  margin: 0;
  font-weight: 600;
}

.info-box p {
  margin: 0;
  color: #555;
}

/* Contact Form */
.contact-form {
  flex: 1 1 400px;
  background: #f8f8f8;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  resize: none;
}

.contact-form .btn {
  background: #f0a500;
  color: #fff;
  padding: 10px 30px;
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
}

.contact-form .btn:hover {
  background: #fff;
  color: #f0a500;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

/* Floating Alert */
#contactAlert {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  min-width: 320px;
  max-width: 90%;
  display: none;
  font-weight: 500;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}


/* Responsive */
@media (max-width: 992px) {
  .contact-main {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .contact-form {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .contact-hero h1 {
    font-size: 2.2rem;
  }

  .contact-hero p {
    font-size: 1.1rem;
    max-width: 350px;
  }
}

@media (max-width: 480px) {
  .contact-hero h1 {
    font-size: 1.8rem;
  }

  .contact-hero p {
    font-size: 1rem;
    max-width: 280px;
  }
}
