.contact-section {
  background: url("images/bg/contact.jpg") center/cover no-repeat;
  padding: 80px 20px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.contact-container {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-section h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
}

.contact-section p {
  font-size: 16px;
  margin-bottom: 15px;
}

.contact-boxes {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.contact-box {
  flex: 1 1 30%;
  min-width: 280px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 30px;
  border-radius: 10px;
  transition: 0.3s;
  opacity: 0;
  transform: translateY(30px);
}

.contact-box.visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-box:hover {
  background: rgba(255, 255, 255, 0.1);
}

.contact-box i {
  font-size: 28px;
  margin-bottom: 15px;
  display: block;
}

.social-links {
  margin-top: 30px;
}

.social-links p {
  margin-bottom: 10px;
  font-weight: 600;
}

.social-links a {
  display: inline-block;
  margin: 0 8px;
  color: #fff;
  font-size: 20px;
  transition: 0.3s;
}

.social-links a:hover {
  color: #00c853;
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .contact-section h2 {
    font-size: 30px;
  }
  .contact-section p {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .contact-boxes {
    flex-direction: column;
    align-items: center;
  }
  .contact-box {
    width: 100%;
    max-width: 500px;
  }
}

@media (max-width: 480px) {
  .contact-section {
    padding: 60px 15px;
  }
  .contact-section h2 {
    font-size: 24px;
  }
  .contact-section p {
    font-size: 14px;
  }
  .contact-box {
    padding: 20px;
  }
  .social-links a {
    font-size: 18px;
    margin: 0 6px;
  }
}


.contact-box {
    text-align: center;       /* Center text and inline elements */
    display: flex;            /* Use flex to align items */
    flex-direction: column;   /* Stack icon, h4, and p vertically */
    align-items: center;      /* Center items horizontally */
    justify-content: center;  /* Center items vertically if container has height */
    padding: 20px;
    color: white;             /* Ensure text color is white */
}

.contact-box i {
    font-size: 40px;          /* Make icon bigger */
    margin-bottom: 10px;      /* Space between icon and heading */
}




.consult-body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: #f5f7fa;
      margin: 0;
      padding: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 100vh;
    }

    /* Popup animation */
    @keyframes consult-popup {
      0% {
        transform: scale(0.7);
        opacity: 0;
      }
      100% {
        transform: scale(1);
        opacity: 1;
      }
    }

    .consult-container {
      background: #ffffff;
      padding: 30px;
      border-radius: 12px;
      
      width: 100%;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
      animation: consult-popup 0.6s ease-out;
    }

    .consult-container h2 {
      text-align: center;
      margin-bottom: 20px;
      font-size: 24px;
      color: #1a1a1a;
    }

    .consult-group {
      margin-bottom: 16px;
    }

    .consult-group label {
      display: block;
      font-weight: 600;
      margin-bottom: 6px;
      color: #333;
    }

    .consult-input,
    .consult-textarea,
    .consult-select {
      width: 100%;
      padding: 12px;
      border: 1px solid #ccc;
      border-radius: 8px;
      font-size: 15px;
      transition: border-color 0.3s ease;
    }

    .consult-input:focus,
    .consult-textarea:focus,
    .consult-select:focus {
      border-color: #002455;
      outline: none;
    }

    .consult-textarea {
      resize: vertical;
      min-height: 120px;
    }

    .consult-btn {
      display: block;
      width: 100%;
      padding: 14px;
      background: #002455;
      color: #fff;
      border: none;
      border-radius: 8px;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.3s ease;
    }

    .consult-btn:hover {
      background: #005fa3;
    }

    @media (max-width: 480px) {
      .consult-container {
        padding: 20px;
      }
      .consult-container h2 {
        font-size: 20px;
      }
    }
    