/* ==========================================================================
   CONTACT PAGE - COMPLETE STANDALONE CSS
   ========================================================================== */


/* ==========================================================================
   RESET
   ========================================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;

  font-family: "Inter", Arial, sans-serif;

  color: #111a3a;

  background: #ffffff;

  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}


/* ==========================================================================
   HEADER
   ========================================================================== */

.contact-header {
  position: relative;

  z-index: 1000;

  width: 100%;

  background: #ffffff;

  border-bottom: 3px solid #e9a400;
}

.contact-header-inner {
  width: min(1400px, calc(100% - 80px));

  min-height: 112px;

  margin: 0 auto;

  display: flex;

  align-items: center;

  gap: 30px;
}


/* LOGO */

.contact-logo {
  display: flex;

  align-items: center;

  flex-shrink: 0;
}

.contact-logo img {
  width: 250px;

  height: auto;
}


/* NAVIGATION */

.contact-nav {
  margin-left: auto;

  display: flex;

  align-items: center;

  gap: 38px;
}

.contact-nav a {
  position: relative;

  padding: 44px 0 39px;

  color: #171717;

  font-size: 16px;

  font-weight: 500;

  white-space: nowrap;
}

.contact-nav a::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;

  bottom: 28px;

  height: 2px;

  background: #eaa400;

  transform: scaleX(0);

  transition: transform 0.2s ease;
}

.contact-nav a:hover::after,
.contact-nav a.active::after {
  transform: scaleX(1);
}

.contact-nav a.active {
  color: #d96d18;
}


/* HEADER BUTTONS */

.contact-header-buttons {
  display: flex;

  align-items: center;

  gap: 14px;

  margin-left: 18px;
}

.member-btn,
.donate-btn {
  min-height: 48px;

  padding: 0 23px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 5px;

  font-size: 15px;

  font-weight: 600;

  white-space: nowrap;
}

.member-btn {
  border: 2px solid #171717;

  background: #ffffff;

  color: #171717;
}

.donate-btn {
  border: 2px solid #eca600;

  background: #eca600;

  color: #ffffff;
}

.member-btn:hover {
  background: #171717;

  color: #ffffff;
}

.donate-btn:hover {
  background: #d99300;

  border-color: #d99300;
}


/* MOBILE MENU BUTTON */

.mobile-menu-button {
  display: none;

  width: 44px;
  height: 44px;

  margin-left: auto;

  padding: 8px;

  border: 0;

  background: transparent;

  cursor: pointer;
}

.mobile-menu-button span {
  display: block;

  width: 100%;
  height: 2px;

  margin: 5px 0;

  background: #111a3a;
}


/* MOBILE NAV */

.mobile-nav {
  display: none;
}


/* ==========================================================================
   CONTACT HERO
   ========================================================================== */

.contact-hero {
  position: relative;

  min-height: 650px;

  overflow: hidden;

  background: #071a3b;
}


/* BACKGROUND */

.contact-bg {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  max-width: none;

  object-fit: cover;

  object-position: center center;

  z-index: 0;
}


/* OVERLAY */

.contact-bg-overlay {
  position: absolute;

  inset: 0;

  z-index: 1;

  background:
    linear-gradient(
      90deg,
      rgba(5, 19, 51, 0.97) 0%,
      rgba(5, 19, 51, 0.91) 20%,
      rgba(5, 19, 51, 0.70) 43%,
      rgba(5, 19, 51, 0.22) 68%,
      rgba(5, 19, 51, 0.02) 100%
    );
}


/* HERO CONTENT */

.contact-hero-content {
  position: relative;

  z-index: 5;

  width: min(1200px, calc(100% - 80px));

  min-height: 650px;

  margin: 0 auto;

  padding-top: 65px;

  padding-bottom: 205px;
}


/* BREADCRUMB */

.contact-breadcrumb {
  display: flex;

  align-items: center;

  gap: 12px;

  margin-bottom: 35px;

  color: #ffffff;

  font-size: 13px;
}

.contact-breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
}

.contact-breadcrumb span:last-child {
  font-weight: 600;
}


/* EYEBROW */

.contact-eyebrow {
  margin-bottom: 12px;

  color: #f5a900;

  font-family: "Poppins", sans-serif;

  font-size: 15px;

  font-weight: 700;

  letter-spacing: 3px;
}


/* HEADING */

.contact-hero h1 {
  max-width: 700px;

  margin: 0;

  color: #ffffff;

  font-family: "Poppins", sans-serif;

  font-size: clamp(46px, 5vw, 72px);

  font-weight: 700;

  line-height: 1.06;

  letter-spacing: -2px;
}


/* DESCRIPTION */

.contact-description {
  max-width: 610px;

  margin: 23px 0 25px;

  color: rgba(255, 255, 255, 0.92);

  font-size: 17px;

  line-height: 1.6;
}


/* ==========================================================================
   CONTACT DETAILS
   ========================================================================== */

.contact-details {
  display: flex;

  flex-direction: column;

  gap: 11px;
}

.contact-detail {
  display: flex;

  align-items: center;

  width: fit-content;

  gap: 13px;

  color: #ffffff;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;

  flex: 0 0 40px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.95);

  color: #101a3a;
}

.contact-detail-icon svg {
  width: 19px;
  height: 19px;

  fill: currentColor;
}

.contact-detail-text {
  display: flex;

  flex-direction: column;
}

.contact-detail-text strong {
  font-family: "Poppins", sans-serif;

  font-size: 14px;

  font-weight: 600;

  line-height: 1.35;
}

.contact-detail-text small {
  max-width: 500px;

  margin-top: 2px;

  color: rgba(255, 255, 255, 0.73);

  font-size: 11px;

  line-height: 1.4;
}


/* ==========================================================================
   FOUR ACTION CARDS
   ========================================================================== */

.contact-action-cards {
  position: absolute;

  z-index: 20;

  left: 50%;

  bottom: 40px;

  transform: translateX(-50%);

  width: min(1120px, calc(100% - 80px));

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 14px;
}

.contact-action-card {
  position: relative;

  min-height: 135px;

  padding: 16px 18px;

  display: flex;

  flex-direction: column;

  align-items: flex-start;

  border: 1px solid rgba(255, 255, 255, 0.75);

  border-radius: 13px;

  background: rgba(255, 255, 255, 0.96);

  box-shadow:
    0 12px 35px rgba(0, 0, 0, 0.18);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-action-card:hover {
  transform: translateY(-5px);

  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.23);
}


/* ICON */

.action-icon {
  width: 34px;
  height: 34px;

  margin-bottom: 8px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 9px;

  background: #fff0cf;

  color: #ec9d00;
}

.action-icon svg {
  width: 20px;
  height: 20px;

  fill: currentColor;
}


/* CARD COLORS */

.member-card .action-icon {
  background: #fff0e9;

  color: #ef6d21;
}

.donation-card .action-icon {
  background: #ffeaee;

  color: #e54857;
}

.partner-card .action-icon {
  background: #e5f6ed;

  color: #128b53;
}


/* CARD TEXT */

.contact-action-card h3 {
  margin: 0;

  color: #101a3a;

  font-family: "Poppins", sans-serif;

  font-size: 14px;

  font-weight: 700;

  line-height: 1.35;
}

.contact-action-card p {
  margin: 2px 0 0;

  color: #687083;

  font-size: 11px;

  line-height: 1.4;
}


/* ARROW */

.action-arrow {
  margin-top: auto;

  padding-top: 5px;

  color: #ed9e00;

  font-size: 20px;

  line-height: 1;
}

.member-card .action-arrow {
  color: #ef6d21;
}

.donation-card .action-arrow {
  color: #e54857;
}

.partner-card .action-arrow {
  color: #128b53;
}


/* CURVED WHITE BOTTOM */

.contact-hero::after {
  content: "";

  position: absolute;

  left: -5%;

  bottom: -88px;

  width: 110%;

  height: 125px;

  z-index: 15;

  border-radius:
    50% 50% 0 0 /
    55% 55% 0 0;

  background: #ffffff;

  box-shadow:
    0 -4px 0 #f2aa00;
}


/* ==========================================================================
   FORM SECTION
   ========================================================================== */

.contact-form-section {
  position: relative;

  padding: 110px 0 90px;

  background: #ffffff;
}

.contact-form-container {
  width: min(1120px, calc(100% - 80px));

  margin: 0 auto;

  display: grid;

  grid-template-columns: 0.8fr 1.2fr;

  gap: 65px;

  align-items: start;
}


/* INTRO */

.contact-form-intro {
  padding-top: 20px;
}

.contact-form-intro > span {
  display: block;

  margin-bottom: 10px;

  color: #e79b00;

  font-family: "Poppins", sans-serif;

  font-size: 13px;

  font-weight: 700;

  letter-spacing: 2px;
}

.contact-form-intro h2 {
  margin: 0 0 18px;

  color: #101a3a;

  font-family: "Poppins", sans-serif;

  font-size: 36px;

  line-height: 1.18;
}

.contact-form-intro p {
  max-width: 430px;

  margin: 0;

  color: #697181;

  font-size: 14px;

  line-height: 1.75;
}


/* FORM CARD */

.contact-form-card {
  padding: 32px;

  border: 1px solid #e2e5e9;

  border-radius: 16px;

  background: #ffffff;

  box-shadow:
    0 15px 45px rgba(13, 25, 50, 0.08);
}

.contact-form-card > h2 {
  margin: 0 0 24px;

  color: #101a3a;

  font-family: "Poppins", sans-serif;

  font-size: 24px;
}


/* FORM */

#contact-form {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 18px;
}

.contact-form-field {
  min-width: 0;
}

.contact-form-field.full {
  grid-column: 1 / -1;
}

.contact-form-field label {
  display: block;

  margin-bottom: 7px;

  color: #17213d;

  font-size: 13px;

  font-weight: 600;
}

.contact-form-field label span {
  color: #9ca2ac;

  font-weight: 400;
}


/* INPUTS */

.contact-form-field input,
.contact-form-field select,
.contact-form-field textarea {
  width: 100%;

  display: block;

  border: 1px solid #dfe2e8;

  border-radius: 9px;

  background: #ffffff;

  color: #17213d;

  outline: none;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-form-field input,
.contact-form-field select {
  height: 50px;

  padding: 0 14px;

  font-size: 14px;
}

.contact-form-field textarea {
  min-height: 135px;

  padding: 13px 14px;

  resize: vertical;

  font-size: 14px;
}

.contact-form-field input::placeholder,
.contact-form-field textarea::placeholder {
  color: #a0a6b0;
}

.contact-form-field input:focus,
.contact-form-field select:focus,
.contact-form-field textarea:focus {
  border-color: #e7a000;

  box-shadow:
    0 0 0 3px rgba(231, 160, 0, 0.12);
}


/* SUBMIT */

#contact-submit {
  width: 100%;

  height: 52px;

  border: 0;

  border-radius: 9px;

  background: #eca600;

  color: #ffffff;

  font-family: "Poppins", sans-serif;

  font-size: 15px;

  font-weight: 600;

  cursor: pointer;

  transition:
    background 0.2s ease,
    transform 0.2s ease,
    opacity 0.2s ease;
}

#contact-submit:hover:not(:disabled) {
  background: #d99400;

  transform: translateY(-1px);
}

#contact-submit:disabled {
  opacity: 0.65;

  cursor: wait;
}


/* ==========================================================================
   FORM ERRORS
   ========================================================================== */

.contact-form-field.form-field--error input,
.contact-form-field.form-field--error select,
.contact-form-field.form-field--error textarea {
  border-color: #d93025;
}

.form-field__error {
  display: block;

  margin-top: 5px;

  color: #d93025;

  font-size: 11px;
}

.form-error-banner {
  grid-column: 1 / -1;

  padding: 12px 14px;

  border: 1px solid #efb1ac;

  border-radius: 8px;

  background: #fff1ef;

  color: #b42318;

  font-size: 13px;

  line-height: 1.5;
}


/* HONEYPOT */

.contact-honeypot {
  position: absolute;

  left: -10000px;

  width: 1px;
  height: 1px;

  overflow: hidden;
}


/* SUCCESS */

.contact-success {
  display: none;

  padding: 35px 20px;

  text-align: center;
}

.success-check {
  width: 58px;
  height: 58px;

  margin: 0 auto 17px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #e7f7ed;

  color: #16803c;

  font-size: 27px;

  font-weight: 700;
}

.contact-success h3 {
  margin: 0 0 8px;

  color: #101a3a;

  font-family: "Poppins", sans-serif;

  font-size: 24px;
}

.contact-success p {
  max-width: 430px;

  margin: 0 auto;

  color: #697181;

  font-size: 14px;

  line-height: 1.7;
}


/* ==========================================================================
   FOOTER
   SAME STRUCTURE AS MEMBERSHIP PAGE
   ========================================================================== */

.footer {
  width: 100%;

  background: #ffffff;

  color: #111a3a;
}

.footer__top {
  width: min(1400px, calc(100% - 80px));

  margin: 0 auto;

  padding: 70px 0 65px;

  display: grid;

  grid-template-columns:
    1.45fr
    1fr
    1fr
    1.35fr;

  gap: 55px;
}


/* FOOTER BRAND */

.footer__brand-name {
  margin: 0 0 14px;

  color: #101a3a;

  font-family: "Poppins", sans-serif;

  font-size: 25px;

  font-weight: 700;

  line-height: 1.2;
}

.footer__tagline {
  max-width: 330px;

  margin: 0;

  color: #697181;

  font-size: 14px;

  line-height: 1.7;
}

.footer__tagline-hindi {
  margin: 13px 0 0;

  color: #e76521;

  font-size: 15px;

  line-height: 1.5;
}


/* SOCIAL */

.footer__social {
  display: flex;

  gap: 12px;

  margin-top: 28px;
}

.footer__social a {
  width: 44px;
  height: 44px;

  display: flex;

  align-items: center;

  justify-content: center;

  border: 1px solid #e1e1e1;

  border-radius: 50%;

  background: #ffffff;

  color: #151515;

  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.footer__social a:hover {
  background: #111a3a;

  color: #ffffff;

  transform: translateY(-2px);
}

.footer__social svg {
  width: 17px;
  height: 17px;

  fill: currentColor;
}


/* FOOTER HEADINGS */

.footer__heading {
  margin: 0 0 20px;

  color: #111a3a;

  font-family: "Poppins", sans-serif;

  font-size: 14px;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 1px;
}


/* FOOTER LIST */

.footer__list {
  margin: 0;

  padding: 0;

  list-style: none;
}

.footer__list li {
  margin-bottom: 15px;
}

.footer__list a {
  color: #697181;

  font-size: 14px;

  text-decoration: none;

  transition: color 0.2s ease;
}

.footer__list a:hover {
  color: #e6a000;
}


/* ADDRESS */

.footer__address {
  max-width: 320px;

  margin: 0;

  color: #697181;

  font-size: 14px;

  line-height: 1.75;
}


/* FOOTER BOTTOM */

.footer__bottom {
  width: min(1400px, calc(100% - 80px));

  margin: 0 auto;

  padding: 27px 20px;

  border-top: 1px solid #e5e5e5;

  color: #697181;

  text-align: center;

  font-size: 13px;
}


/* ==========================================================================
   LARGE TABLET
   ========================================================================== */

@media (max-width: 1100px) {

  .contact-header-inner {
    width: calc(100% - 40px);
  }

  .contact-logo img {
    width: 215px;
  }

  .contact-nav {
    gap: 22px;
  }

  .contact-nav a {
    font-size: 14px;
  }

  .contact-header-buttons {
    margin-left: 5px;
  }

  .member-btn,
  .donate-btn {
    padding: 0 15px;

    font-size: 13px;
  }

  .contact-hero-content {
    width: calc(100% - 60px);
  }

  .contact-action-cards {
    width: calc(100% - 60px);
  }

  .contact-form-container {
    width: calc(100% - 60px);
  }

  .footer__top {
    width: calc(100% - 60px);
  }

  .footer__bottom {
    width: calc(100% - 60px);
  }
}


/* ==========================================================================
   TABLET
   ========================================================================== */

@media (max-width: 900px) {

  .contact-nav,
  .contact-header-buttons {
    display: none;
  }

  .mobile-menu-button {
    display: block;
  }


  /* MOBILE NAV */

  .mobile-nav {
    position: absolute;

    top: 100%;

    left: 0;
    right: 0;

    display: none;

    flex-direction: column;

    padding: 14px 20px 20px;

    background: #ffffff;

    border-top: 1px solid #eeeeee;

    box-shadow:
      0 15px 30px rgba(0, 0, 0, 0.12);
  }

  .mobile-nav.open {
    display: flex;
  }

  .mobile-nav a {
    padding: 13px 3px;

    border-bottom: 1px solid #eeeeee;

    color: #101a3a;

    font-size: 15px;

    font-weight: 500;
  }

  .mobile-nav a.active {
    color: #dc7915;

    font-weight: 600;
  }

  .mobile-member-btn,
  .mobile-donate-btn {
    margin-top: 9px;

    text-align: center;

    border-radius: 6px;
  }

  .mobile-member-btn {
    border: 2px solid #171717;
  }

  .mobile-donate-btn {
    background: #eca600;

    color: #ffffff !important;

    border: 2px solid #eca600;
  }


  /* HERO */

  .contact-hero {
    min-height: 760px;
  }

  .contact-hero-content {
    min-height: 760px;

    padding-top: 50px;

    padding-bottom: 250px;
  }

  .contact-action-cards {
    grid-template-columns: repeat(2, 1fr);

    bottom: 25px;
  }


  /* FORM */

  .contact-form-container {
    grid-template-columns: 1fr;

    gap: 45px;
  }

  .contact-form-intro {
    padding-top: 0;
  }


  /* FOOTER */

  .footer__top {
    grid-template-columns: repeat(2, 1fr);

    gap: 45px;
  }
}


/* ==========================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 600px) {

  /* HEADER */

  .contact-header-inner {
    width: calc(100% - 28px);

    min-height: 78px;
  }

  .contact-logo img {
    width: 180px;
  }


  /* HERO */

  .contact-hero {
    min-height: 900px;
  }

  .contact-bg {
    object-position: 70% center;
  }

  .contact-bg-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(5, 19, 51, 0.15) 0%,
        rgba(5, 19, 51, 0.45) 28%,
        rgba(5, 19, 51, 0.88) 56%,
        rgba(5, 19, 51, 0.98) 100%
      );
  }

  .contact-hero-content {
    width: calc(100% - 30px);

    min-height: 900px;

    padding-top: 28px;

    padding-bottom: 430px;
  }

  .contact-breadcrumb {
    margin-bottom: 22px;

    font-size: 12px;
  }

  .contact-eyebrow {
    margin-bottom: 8px;

    font-size: 11px;

    letter-spacing: 2px;
  }

  .contact-hero h1 {
    font-size: clamp(35px, 10vw, 48px);

    line-height: 1.05;

    letter-spacing: -1px;
  }

  .contact-description {
    margin: 16px 0 21px;

    font-size: 13px;

    line-height: 1.6;
  }


  /* DETAILS */

  .contact-details {
    gap: 9px;
  }

  .contact-detail {
    gap: 9px;
  }

  .contact-detail-icon {
    width: 34px;
    height: 34px;

    flex-basis: 34px;
  }

  .contact-detail-icon svg {
    width: 16px;
    height: 16px;
  }

  .contact-detail-text strong {
    font-size: 12px;
  }

  .contact-detail-text small {
    font-size: 10px;
  }


  /* CARDS */

  .contact-action-cards {
    left: 15px;
    right: 15px;

    bottom: 28px;

    width: auto;

    transform: none;

    grid-template-columns: repeat(2, 1fr);

    gap: 9px;
  }

  .contact-action-card {
    min-height: 130px;

    padding: 13px;
  }

  .action-icon {
    width: 30px;
    height: 30px;

    margin-bottom: 7px;
  }

  .action-icon svg {
    width: 17px;
    height: 17px;
  }

  .contact-action-card h3 {
    font-size: 12px;
  }

  .contact-action-card p {
    font-size: 10px;
  }

  .action-arrow {
    font-size: 17px;
  }


  /* CURVE */

  .contact-hero::after {
    bottom: -65px;

    height: 100px;
  }


  /* FORM */

  .contact-form-section {
    padding: 75px 0 60px;
  }

  .contact-form-container {
    width: calc(100% - 30px);

    gap: 30px;
  }

  .contact-form-intro h2 {
    font-size: 29px;
  }

  .contact-form-intro p {
    font-size: 13px;
  }

  .contact-form-card {
    padding: 22px 17px;
  }

  .contact-form-card > h2 {
    font-size: 22px;
  }

  #contact-form {
    grid-template-columns: 1fr;

    gap: 16px;
  }

  .contact-form-field.full {
    grid-column: auto;
  }


  /* FOOTER */

  .footer__top {
    width: calc(100% - 30px);

    grid-template-columns: 1fr;

    gap: 35px;

    padding: 45px 0 40px;
  }

  .footer__brand-name {
    font-size: 22px;
  }

  .footer__tagline {
    font-size: 13px;
  }

  .footer__tagline-hindi {
    font-size: 14px;
  }

  .footer__heading {
    margin-bottom: 14px;
  }

  .footer__list li {
    margin-bottom: 11px;
  }

  .footer__list a,
  .footer__address {
    font-size: 13px;
  }

  .footer__bottom {
    width: 100%;

    padding: 20px 15px;

    font-size: 11px;
  }
}


/* ==========================================================================
   VERY SMALL PHONE
   ========================================================================== */

@media (max-width: 380px) {

  .contact-logo img {
    width: 165px;
  }

  .contact-hero {
    min-height: 920px;
  }

  .contact-hero-content {
    min-height: 920px;
  }

  .contact-hero h1 {
    font-size: 33px;
  }

  .contact-description {
    font-size: 12.5px;
  }
}