/* Fade-in Animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero Section */
.contact-hero {
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.contact-hero .overlay {
  background: #007b8f;
  padding: 2rem;
  text-align: center;
  color: white;
}
.contact-hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

/* Contact Info */
.contact-info {
  display: flex;
  justify-content: space-around;
  padding: 2rem;
  background: #f9f9f9;
}
.info-card {
  background: white;
  padding: 1rem;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0px 2px 8px rgba(0,0,0,0.1);
  flex: 1;
  margin: 0 1rem;
}
.info-card h3 {
  margin-bottom: 0.5rem;
}

/* Contact Form */
.contact-form-section {
  padding: 2rem;
  text-align: center;
}
.contact-form-section form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-form-section input,
.contact-form-section textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}
.contact-form-section button {
  background: #007b8f;
  color: white;
  border: none;
  padding: 0.8rem;
  border-radius: 6px;
  cursor: pointer;
}
.contact-form-section button:hover {
  background: #005f6f;
}

/* Map Section */
.map-section {
  padding: 2rem;
  background: #f0f0f0;
}
.map-section h2 {
  text-align: center;
  margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
  background: #007b8f;
  color: white;
  padding: 3rem;
  text-align: center;
}
.cta-section a {
  background: white;
  color: #007b8f;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
}
.cta-section a:hover {
  background: #f1f1f1;
}
/* =========================
   HERO SECTION
========================= */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  position: relative;
  overflow: hidden;
  text-align: center;
  color: white;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn-secondary {
  background-color: white;
  color: #007b8f;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: 0.3s;
}

.btn-secondary:hover {
  background-color: #007b8f;
  color: white;
}
/* FAQ Section */
.faq-section {
  padding: 2rem;
  background: white;
  max-width: 900px;
  margin: auto;
}
.faq-section h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #007b8f;
}
.faq-item {
  background: #f7f7f7;
  padding: 1rem 1.2rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  border-left: 4px solid #007b8f;
}
.faq-item h4 {
  color: #333;
  margin-bottom: 0.5rem;
}
.faq-item p {
  color: #555;
  line-height: 1.5;
}
body.dark-mode .hero .hero-content .hero-buttons .btn-secondary{
  background-color: #007BFF;
  color: white;   
}
body.dark-mode .hero .hero-content .hero-buttons .btn-secondary:hover {
  background-color: white;
  color: #007BFF;
}
body.dark-mode {
  background-color: #121212;
  color: white; 
}
body.dark-mode .contact-hero{
  background-color: black;
}
body.dark-mode .contact-hero h1 {
  color: #007BFF;
}
body.dark-mode .contact-hero .overlay {
  background: rgba(255, 255, 255, 0.1);
}
body.dark-mode .contact-info {
  background: #1e1e1e;
}
body.dark-mode .info-card {
  background: #2a2a2a;
}
body.dark-mode .contact-info .info-card h3 {
  color: #007BFF;
}
body.dark-mode .contact-form-section {
  background: #1e1e1e;
}
body.dark-mode .contact-form-section h2{
  color: #007BFF;
}
body.dark-mode .contact-form-section button {
  background: #007BFF;
  color: white;
}
body.dark-mode .contact-form-section button:hover {
  background: white;
  color: #007BFF;
}
body.dark-mode .map-section {
  background: #1e1e1e;
}
body.dark-mode .map-section h2 {
  color: #007BFF;
}
body.dark-mode .cta-section {
  background: black;
}
body.dark-mode .cta-section a {
  background: #007BFF;
  color: white;
}
body.dark-mode .cta-section a:hover {
  background: white;
  color: #007BFF;
}
body.dark-mode .cta-section h2 {
  color: #007BFF;
}
body.dark-mode .faq-section {
  background: #1e1e1e;
}
body.dark-mode .faq-section h2 {
  color: #007BFF;
}
body.dark-mode .faq-item {
  background: #2a2a2a;
}
body.dark-mode .faq-item h4 {
  color: #007BFF;
}
body.dark-mode .faq-item p {
  color: white;
}
body.dark-mode .faq-section .faq-item {
  border-left: 4px solid #007BFF;
}
/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1002;
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
    position: absolute;
    top: 0.7rem;
    right: 2rem;
  }
  body.dark-mode .mobile-menu-btn {
    color: white;
  }
  body.dark-mode .nav-menu{
    background-color: black;
  }
}
/* Mobile Menu hidden by default */
.nav-menu.mobile-active {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 1rem 0;
  gap: 0;
  z-index: 1000;
}
