:root {
  --primary-color: #04518e;
  --accent-color: #00a6fb;
  --background-color: #f8f9fa;
  --text-color: #343a40;
  --light-text-color: #6c757d;
  --white-color: #ffffff;
  --border-color: #e9ecef;
  --success-color: #28a745;
  --error-color: #dc3545;
  --nav-height: 70px;
}

/* Contact Hero Section */
.contact-hero {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--accent-color) 50%,
    var(--primary-color) 100%
  );
  color: var(--white-color);
  padding: 120px 0 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 50vh;
  display: flex;
  align-items: center;
}

.contact-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("./assects/banner-1.webp") center/cover;
  opacity: 0.1;
  z-index: 1;
}

.contact-hero-content {
  position: relative;
  z-index: 2;
}

.contact-hero-content i {
  font-size: 4rem;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
  animation: float 3s ease-in-out infinite;
}

.contact-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--white-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Contact Information Cards */
.contact-info {
  padding: 80px 0;
  background: var(--background-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.contact-card {
  background: var(--white-color);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(4, 81, 142, 0.1);
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(4, 81, 142, 0.2);
}

.contact-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.4s ease;
}

.contact-card:hover .contact-icon {
  transform: scale(1.1) rotate(5deg);
}

.contact-icon i {
  font-size: 2rem;
  color: var(--white-color);
}

.contact-card h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.contact-card p {
  color: var(--text-color);
  line-height: 1.6;
  margin: 5px 0;
}

/* Contact Form Section */
.contact-form-section {
  padding: 80px 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0.7)
  );
}
.contact-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0.7)
  );
  padding: 50px;
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(15px);
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
}

.contact-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  transition: left 0.6s ease;
  border-radius: 25px;
}

.form-group {
  position: relative;
  margin-bottom: 35px;
  transition: all 0.3s ease;
}

.form-group:hover {
  transform: translateX(5px);
}

.form-input {
  width: 100%;
  padding: 15px 0;
  border: none;
  border-bottom: 2px solid rgba(204, 204, 204, 0.5);
  background: transparent;
  font-size: 1rem;
  font-family: "Poppins", sans-serif;
  outline: none;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.form-input:focus {
  border-bottom-color: var(--accent-color);
  border-bottom-width: 3px;
}

.form-input:valid {
  border-bottom-color: var(--primary-color);
}

.form-label {
  position: absolute;
  top: 15px;
  left: 0;
  color: #999;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
  font-size: 1rem;
}

.form-input:focus + .form-label,
.form-input:valid + .form-label {
  top: -5px;
  left: 0;
  font-size: 0.85rem;
  color: var(--accent-color);
  font-weight: 600;
  transform: translateY(-10px);
  /* background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0.7)
  ); */
  padding: 0 8px;
  border-radius: 4px;
}

.form-input:valid + .form-label {
  color: var(--primary-color);
}

textarea.form-input {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
  padding: 15px 0;
}

/* Map Section */
.map-section {
  padding: 80px 0;
  background: var(--background-color);
}

.map-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.map-info h2 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.map-info p {
  color: var(--text-color);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.map-details {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.map-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.map-detail-item i {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-top: 5px;
}

.map-detail-item h4 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.map-detail-item p {
  color: var(--text-color);
  margin: 0;
  line-height: 1.5;
}

.map-container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(4, 81, 142, 0.15);
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background: var(--white-color);
}

.faq-grid {
  max-width: 800px;
  margin: 40px auto 0;
}

.faq-item {
  background: var(--white-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 20px rgba(4, 81, 142, 0.1);
}

.faq-question {
  padding: 25px 30px;
  background: var(--background-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(4, 81, 142, 0.05);
}

.faq-question h3 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin: 0;
  font-weight: 600;
}

.faq-question i {
  color: var(--accent-color);
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 20px 30px 30px;
  max-height: 200px;
}

.faq-answer p {
  color: var(--text-color);
  line-height: 1.6;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-hero {
    padding: 80px 0 60px 0;
    min-height: 40vh;
  }

  .contact-hero h1 {
    font-size: 2.2rem;
  }

  .contact-hero p {
    font-size: 1rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-card {
    padding: 30px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

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

  .form-header {
    padding: 30px 20px;
  }

  .form-header h2 {
    font-size: 2rem;
  }

  .map-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .map-info h2 {
    font-size: 2rem;
  }

  .faq-question {
    padding: 20px;
  }

  .faq-answer {
    padding: 0 20px;
  }

  .faq-item.active .faq-answer {
    padding: 15px 20px 25px;
  }
}

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

  .contact-icon {
    width: 60px;
    height: 60px;
  }

  .contact-icon i {
    font-size: 1.5rem;
  }

  .contact-card h3 {
    font-size: 1.3rem;
  }

  .form-header h2 {
    font-size: 1.8rem;
  }

  .map-info h2 {
    font-size: 1.8rem;
  }
}
