/* ==========================================================================
   Chetan Roadlines – Contact Us Page Stylesheet
   ========================================================================== */

/* ── Main Layout Containers ────────────────────────────────────────────── */
.contact-page {
  background: #ffffff;
  padding: 80px 0 100px;
}

.contact-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ── Header Section ────────────────────────────────────────────────────── */
.contact-header {
  text-align: center;
  margin-bottom: 64px;
}

.contact-header__title {
  font-family: "Sora", sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #101828;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.contact-header__highlight {
  color: #d72a1e;
  font-style: italic;
  font-weight: 700;
}

.contact-header__subtitle {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
  color: #5d5d6e;
  max-width: 720px;
  margin: 0 auto;
}

/* ── Grid Layout ───────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2.1fr;
  gap: 48px;
  align-items: start;
}

/* ── Left Column: Contact Cards ────────────────────────────────────────── */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background: #ffffff;
  border: 1px solid #f5e6e5;
  border-radius: 14px;
  padding: 28px 24px;
  gap: 18px;
  align-items: flex-start;
  box-shadow: 0 4px 20px rgba(215, 42, 30, 0.015);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(215, 42, 30, 0.04);
  border-color: #f7c9c6;
}

.info-card__icon-wrapper {
  color: #d72a1e;
  flex-shrink: 0;
  margin-bottom: 12px;

  padding-top: 2px;
}
.info-card-link {
  color: #d72a1e;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s ease;
}
.info-card-link:hover {
  color: #b81e14;
}
.info-card__content {
  flex: 1;
}

.info-card__label {
  font-family: "Sora", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #101828;
  display: block;
  margin-bottom: 8px;
}

.info-card__text {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  color: #5d5d6e;
}

.info-card__link {
  color: #5d5d6e;
  text-decoration: none;
  transition: color 0.25s ease;
}

.info-card__link:hover {
  color: #d72a1e;
}

/* ── Right Column: Requirement Form Card ─────────────────────────────────── */
.contact-form-container {
  background: #ffffff;
  border: 1.5px solid #f7e4e3;
  border-radius: 18px;
  padding: 48px;
  box-shadow: 0 10px 35px rgba(215, 42, 30, 0.02);
}

.contact-form__title {
  font-family: "Sora", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #101828;
  margin-bottom: 36px;
  letter-spacing: -0.01em;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-row {
  display: flex;
  gap: 32px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-label {
  font-family: "Sora", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #101828;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.form-input,
.form-select,
.form-textarea {
  background: transparent;
  border: none;
  border-bottom: 1.5px solid #e2c8c6;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 0;
  color: #101828;
  outline: none;
  width: 100%;
  transition: border-color 0.3s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-bottom-color: #d72a1e;
}

/* Custom Dropdown Arrow */
.select-wrapper {
  position: relative;
  width: 100%;
}

.form-select {
  width: 100%;
  height: 56px;
  padding: 0 18px;
  font-size: 16px;
  color: #111827;
  background: #fff;
  outline: none;
}

/* Default placeholder color */
.form-select:invalid {
  color: #9ca3af;
}

/* Selected value color */
.form-select option {
  color: #111827;
}

/* Remove red border */
.form-select:focus {
  border-color: #ef4444;
  box-shadow: none;
}

.form-textarea {
  resize: none;
  line-height: 1.6;
}

/* Red Capsule Submit Button */
.form-submit-btn {
  background: #d72a1e;
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  padding: 16px;
  width: 100%;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(215, 42, 30, 0.28);
  margin-top: 10px;
  text-align: center;
}

.form-submit-btn:hover {
  background: #b92218;
}

.form-submit-btn:active {
  transform: translateY(0);
}

/* ── Trust Banner Section ─────────────────────────────────────────────── */
.contact-trust {
  background: #fbeae9;
  padding: 20px 24px;
  text-align: center;
  margin-bottom: 30px;
}

.contact-trust__inner {
  max-width: 800px;
  margin: 0 auto;
}

.contact-trust__heading {
  font-family: "Sora", sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #d72a1e;
  line-height: 1.35;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.contact-trust__text {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
  color: #4b5563;
  max-width: 680px;
  margin: 0 auto 36px;
}

.contact-trust__pills {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-pill {
  background: #ffffff;
  border: 1px solid #f7d5d2;
  color: #d72a1e;
  font-family: "Sora", sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.05em;
  padding: 11px 28px;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(215, 42, 30, 0.03);
  transition: all 0.3s ease;
  user-select: none;
}

.trust-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(215, 42, 30, 0.08);
  border-color: #f3b9b4;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Large Tablets & Small Desktops */
@media (max-width: 1024px) {
  .contact-page {
    padding: 60px 0 80px;
  }

  .contact-container {
    width: 92%;
  }

  .contact-header {
    margin-bottom: 48px;
  }

  .contact-header__title {
    font-size: 36px;
  }

  .contact-grid {
    gap: 36px;
  }

  .contact-form-container {
    padding: 38px;
  }

  .contact-trust {
    padding: 70px 24px;
  }

  .contact-trust__heading {
    font-size: 28px;
  }
}

/* Tablets & Portables */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-header__title {
    font-size: 30px;
  }

  .contact-header__subtitle {
    font-size: 15px;
  }

  .contact-form-container {
    padding: 36px 30px;
  }

  .contact-trust {
    padding: 60px 20px;
  }

  .contact-trust__heading {
    font-size: 24px;
  }

  .contact-trust__text {
    font-size: 15px;
    margin-bottom: 28px;
  }

  .trust-pill {
    padding: 9px 22px;
    font-size: 13px;
  }
}

/* Mobile Screens */
@media (max-width: 480px) {
  .contact-page {
    padding: 44px 0 60px;
  }

  .contact-header {
    margin-bottom: 36px;
  }

  .contact-header__title {
    font-size: 24px;
    line-height: 1.3;
  }

  .contact-header__subtitle {
    font-size: 14px;
    line-height: 1.6;
  }

  .info-card {
    padding: 24px 18px;
    gap: 14px;
  }

  .info-card__label {
    font-size: 11px;
    margin-bottom: 6px;
  }

  .info-card__text {
    font-size: 14px;
  }

  .contact-form-container {
    padding: 28px 20px;
    border-radius: 14px;
  }

  .contact-form__title {
    font-size: 20px;
    margin-bottom: 24px;
  }

  .contact-form {
    gap: 20px;
  }

  .form-row {
    flex-direction: column;
    gap: 20px;
  }

  .form-group {
    margin-bottom: 0;
  }

  .form-input,
  .form-select,
  .form-textarea {
    font-size: 14px;
    padding: 8px 0;
  }

  .form-submit-btn {
    padding: 14px;
    font-size: 15px;
  }

  .contact-trust {
    padding: 50px 16px;
  }

  .contact-trust__heading {
    font-size: 20px;
    line-height: 1.4;
  }

  .contact-trust__text {
    font-size: 13.5px;
    margin-bottom: 24px;
  }

  .contact-trust__pills {
    gap: 12px;
  }

  .trust-pill {
    padding: 8px 18px;
    font-size: 12px;
    width: 100%;
    text-align: center;
  }
}

/* ── Premium Toast Notification ───────────────────────────────────────── */
.toast-notification {
  position: fixed;
  bottom: -120px;
  right: 30px;
  background: #ffffff;
  border-left: 5px solid #d72a1e;
  border-radius: 10px;
  padding: 20px 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 9999;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0;
  max-width: 440px;
  pointer-events: none;
}

.toast-notification.show {
  bottom: 30px;
  opacity: 1;
  pointer-events: auto;
}

.toast-notification--success {
  border-left-color: #2e7d32;
}

.toast-notification--error {
  border-left-color: #d72a1e;
}

.toast-notification__icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast-notification__content {
  flex: 1;
}

.toast-notification__title {
  font-family: "Sora", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #101828;
  margin-bottom: 4px;
}

.toast-notification__message {
  font-family: "Inter", sans-serif;
  font-size: 13.5px;
  color: #5d5d6e;
  line-height: 1.45;
}

@media (max-width: 480px) {
  .toast-notification {
    left: 20px;
    right: 20px;
    max-width: none;
    bottom: -150px;
  }

  .toast-notification.show {
    bottom: 20px;
  }
}
