
/* ================= NAVBAR MOBILE Z-INDEX FIX ================= */
/* Ensures mobile collapsed navbar never hides behind page sections */
.navbar-collapse {
  z-index: 1050;
}

/* ================= CONTACT HEADER ================= */
.contact-header-section {
  background: linear-gradient(135deg, #021061 0%, #0a1f8a 60%, #021061 100%);
  padding: 130px 0 90px;
  color: white;
  position: relative;
  overflow: hidden;
}

.contact-header-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,175,250,0.12) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}

.contact-header-section::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,175,250,0.08) 0%, transparent 70%);
  bottom: -50px;
  left: -50px;
  pointer-events: none;
}

.contact-title {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #fff, #4AAFFA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInDown 0.8s ease both;
}

.contact-subtitle {
  font-size: 18px;
  color: rgba(244,248,255,0.88);
  opacity: 0.95;
  animation: fadeInUp 0.9s ease 0.2s both;
}


/* ================= CONTACT CONTENT WRAPPER ================= */
.contact-content-section {
  padding: 90px 0;
  background: linear-gradient(180deg, #f4f8ff 0%, #eaf3ff 100%);
}

/* ================= LEFT SIDE: INFO ================= */
.contact-info-wrapper {
  padding-right: 20px;
  animation: fadeInLeft 0.8s ease 0.3s both;
}


.info-heading {
  color: #021061;
  font-weight: 700;
  font-size: 34px;
  margin-bottom: 15px;
}

.info-desc {
  color: #555;
  margin-bottom: 40px;
  font-size: 16px;
  line-height: 1.7;
  text-align: justify;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 28px;
  gap: 18px;
  transition: 0.3s ease;
}

.info-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #e6f2ff, #d0e8ff);
  color: #021061;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  border: 1.5px solid #4AAFFA;
  transition: 0.3s ease;
  box-shadow: 0 4px 12px rgba(74,175,250,0.15);
}

.info-item:hover .info-icon {
  background: linear-gradient(135deg, #4AAFFA, #2f8fda);
  color: white;
  transform: rotate(10deg) scale(1.08);
  box-shadow: 0 8px 20px rgba(74,175,250,0.35);
}

.info-item h5 {
  font-weight: 700;
  color: #021061;
  margin-bottom: 4px;
  font-size: 17px;
}

.info-item p {
  color: #555;
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

.info-item p a {
  color: #555;
  text-decoration: none;
  transition: 0.3s;
}

.info-item p a:hover {
  color: #4AAFFA;
}

/* ================= RIGHT SIDE: FORM ================= */
.contact-form-box {
  background: white;
  padding: 44px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(2, 16, 97, 0.1);
  border-top: 4px solid #4AAFFA;
  animation: fadeInRight 0.8s ease 0.3s both;
}


.contact-form-box h3 {
  color: #021061;
  font-weight: 700;
  margin-bottom: 30px;
  font-size: 26px;
}

/* ===== FORM LABEL VISIBILITY FIX ===== */
.form-label {
  color: #021061 !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  margin-bottom: 6px !important;
  display: block !important;
  letter-spacing: 0.3px;
}

.custom-input {
  background-color: #f8faff;
  border: 1.5px solid #d0ddf5;
  padding: 13px 15px;
  border-radius: 10px;
  font-size: 15px;
  color: #021061;
  transition: 0.3s ease;
  width: 100%;
}

/* Placeholder styling — light grey */
.custom-input::placeholder {
  color: #aab4cc;
  font-weight: 400;
}

.custom-input:focus {
  background-color: white;
  border-color: #4AAFFA;
  box-shadow: 0 0 0 4px rgba(74, 175, 250, 0.15);
  outline: none;
}

/* Select placeholder */
.custom-input option {
  color: #021061;
}

.contact-submit-btn {
  background: linear-gradient(135deg, #021061, #0a1f8a);
  color: white;
  padding: 14px 30px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  width: 100%;
  transition: 0.35s ease;
  border: none;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.contact-submit-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(74,175,250,0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.contact-submit-btn:hover::after {
  width: 300px;
  height: 300px;
}

.contact-submit-btn:hover {
  background: linear-gradient(135deg, #4AAFFA, #2f8fda);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(74,175,250,0.4);
}

.contact-submit-btn:active {
  transform: translateY(0);
}

/* ================= MAP SECTION ================= */
.map-section {
  border-top: 5px solid #021061;
  border-bottom: 5px solid #021061;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {
  .contact-title {
    font-size: 42px;
  }

  .contact-header-section {
    padding: 110px 0 70px;
  }

  .contact-form-box {
    padding: 30px 22px;
    margin-top: 20px;
  }

  .contact-info-wrapper {
    padding-right: 0;
  }
}

@media (max-width: 576px) {
  .contact-title {
    font-size: 32px;
  }

  .contact-subtitle {
    font-size: 15px;
  }

  .info-heading {
    font-size: 26px;
  }

  .contact-form-box {
    padding: 24px 16px;
    border-radius: 12px;
  }

  .contact-form-box h3 {
    font-size: 22px;
    margin-bottom: 22px;
  }

  .contact-submit-btn {
    font-size: 15px;
    padding: 13px;
  }

  .info-icon {
    width: 44px;
    height: 44px;
    font-size: 17px;
  }
}