

/* Contact Hero Section */
.contact-hero {
  position: relative;
  background: url('src/contact.jpeg') center/cover no-repeat; /* change image if needed */
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
  text-align: center;
}

.contact-hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 50, 0.7); /* dark overlay */
  z-index: 1;
}

.contact-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 1.5s ease;
}

.contact-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 15px;
}

/* ✅ Paragraph style */
.contact-subtitle {
  font-size: 1.1rem;
  font-weight: 400;
  max-width: 700px;
  margin: 0 auto 25px auto;
  line-height: 1.6;
  color: #ddd;
}

/* ✅ Centered breadcrumb button */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  border: 2px solid #fff;   /* white border */
  border-radius: 30px;
  font-size: 1rem;
  color: #fff;
  background: transparent;  /* transparent background */
  transition: all 0.3s ease;
  width: 200px;
  text-align: center;
  margin: 0 auto;
}

.breadcrumb:hover {
  background: rgba(255, 255, 255, 0.1); /* light white on hover */
  transform: translateY(-3px);
}

.breadcrumb a {
  color: #fff; /* white text */
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb span {
  margin: 0 6px;
  color: #fff;
}

/* Animation */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .contact-title {
    font-size: 2.2rem;
  }
  .contact-subtitle {
    font-size: 1rem;
    padding: 0 15px;
  }
  .breadcrumb {
    font-size: 0.9rem;
    padding: 8px 20px;
  }
}

/* ✅ Contact Cards Section */
.contact-cards .contact-card {
  background: #fff;
  border: none;
  border-radius: 15px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.contact-cards .contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.contact-cards .card-icon i {
  transition: transform 0.3s, color 0.3s;
}

.contact-cards .contact-card:hover .card-icon i {
  transform: scale(1.2);
  color: #0d6efd;
}

.contact-cards .card-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
}

.contact-cards .card-text {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

.contact-cards .highlight {
  font-weight: 600;
  color: #0d6efd;
}

.contact-cards .btn {
  border: 2px solid #0d6efd;
  background: transparent;
  color: #0d6efd;
  transition: all 0.3s;
  border-radius: 50px;
  padding: 6px 20px;
}

.contact-cards .btn:hover {
  background: #0d6efd;
  color: #fff;
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 991px) {
  .contact-cards .card-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .contact-cards .card-title {
    font-size: 1.1rem;
  }
  .contact-cards .btn {
    padding: 5px 18px;
    font-size: 0.9rem;
  }
}

/* Fade-in animation for cards */
[data-animate-card] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
[data-animate-card].animate {
  opacity: 1;
  transform: translateY(0);
}

/* Contact Form Section */
.contact-section {
  background: #f8f9fa;
}

.contact-section h2 {
  font-size: 2rem;
  font-weight: 700;
}

.contact-section p {
  font-size: 1rem;
  line-height: 1.6;
}

.contact-section .form-control {
  border-radius: 8px;
  padding: 10px 12px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-section .form-control:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 8px rgba(13, 110, 253, 0.2);
}

.contact-section .invalid-feedback {
  display: none;
  color: #dc3545;
  font-size: 0.875rem;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
}

/* Buttons */
.contact-section .btn {
  border-radius: 50px;
  padding: 8px 25px;
  transition: all 0.3s;
}

.contact-section .btn:hover {
  transform: translateY(-3px);
}

/* Fade-in animation for form section */
[data-animate-form] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
[data-animate-form].animate {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 991px) {
  .contact-section h2 {
    font-size: 1.6rem;
  }
}

/* Map Section */
.map-section iframe {
  width: 100%;
  height: 450px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

/* Map Section */
.map-section iframe:hover {
  transform: scale(1.01);
}

/* Responsive */
@media (max-width: 768px) {
  .map-section iframe {
    height: 300px;
  }
}