/* =========================================
   CONTACT PAGE (contact.css)
   Works with your provided HTML
   ========================================= */

/* Page spacing (header is fixed) */
.contact-page {
  padding-top: 150px;
  padding-bottom: 40px;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  align-items: center; /* center everything */
}

/* ===============================
   TOP TITLE: Contact Our Team
   =============================== */
.contact-title {
  
  width: 100%;
  max-width: 820px;
  margin: 0 0 0 0;
  font-size: 34px;
  font-weight: 800;
  color: #000;
}

.contact-page > .contact-subtitle {
  width: 100%;
  max-width: 820px;
  margin: 0 0 30px;
  font-size: 16px;
  color: #5b6675;
  line-height: 1.7;
}

/* ===============================
   CONTACT CARD (FORM)
   =============================== */
.contact-card {
  width: 100%;
  max-width: 820px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.10);
  padding: 32px;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Card title */
.contact-card h3 {
  margin: 0;
  font-size: 28px;
  color: #001229;
}

/* Subtitle inside card */
.contact-card .contact-subtitle {
  margin: 0 0 10px;
  font-size: 14px;
  color: #5b6675;
  line-height: 1.6;
}

/* ===============================
   FORM
   =============================== */
.contact-form {
  width: 100%;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #001229;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(0,0,0,0.18);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
  font-family: 'Anek Gurmukhi', sans-serif;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #001229;
  box-shadow: 0 0 0 4px rgba(0, 18, 41, 0.10);
}

/* ===============================
   BUTTON
   =============================== */
.contact-btn {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  background: #000000;
  color: #ffffff;
  transition: transform 0.08s ease, opacity 0.15s ease;
}

.contact-btn:hover {
  opacity: 0.92;
}

.contact-btn:active {
  transform: translateY(1px);
}

/* ===============================
   MOBILE
   =============================== */
@media (max-width: 768px) {

  .contact-page {
    padding-top: 95px;
    padding-bottom: 20px;
  }

  .contact-title {
    font-size: 26px;
    margin-bottom: 10px;
  }

  .contact-page > .contact-subtitle {
    font-size: 14px;
    margin-bottom: 26px;
  }

  .contact-card {
    padding: 20px;
    border-radius: 14px;
    gap: 18px;
  }

  .contact-card h3 {
    font-size: 22px;
  }

  .contact-card .contact-subtitle {
    font-size: 13px;
  }

  .form-group input,
  .form-group textarea {
    border-radius: 10px;
    padding: 11px 12px;
  }

  .contact-btn {
    border-radius: 10px;
  }
}


/* =========================
   CONTACT POPUP (TOP MESSAGE)
   ========================= */
.contact-popup {
  position: fixed;
  top: 90px; /* below header */
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: #000;
  color: #fff;
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
}

.contact-popup.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.contact-popup.success {
  background: #0f766e;
}

.contact-popup.error {
  background: #b91c1c;
}


/* =========================
   Search Result Popup (ISOLATED)
   ========================= */
.sr-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000; /* higher than header, sidebar, loader */
}

.sr-hidden {
  display: none;
}

.sr-box {
  background: #ffffff;
  padding: 24px 32px;
  border-radius: 10px;
  text-align: center;
  min-width: 260px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  font-family: 'Anek Gurmukhi', sans-serif;
}

.sr-box p {
  margin: 0;
  font-size: 16px;
  color: #001229;
}

.sr-box button {
  margin-top: 16px;
  padding: 6px 22px;
  border: 0;
  border-radius: 6px;
  background: #001229;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

.sr-box button:hover {
  opacity: 0.9;
}