/* =========================================================
   BHAAVYA BY PRAVEENA
   CONTACT PAGE
========================================================= */

:root {

  --cream: #f7f1e5;
  --cream-light: #fbf8f1;

  --terracotta: #9b5d3f;
  --terracotta-dark: #713f2d;

  --brown: #3d2b21;
  --brown-light: #6d594c;

  --gold: #ad7b35;

  --border: rgba(113, 63, 45, 0.18);

  --serif: "Cormorant Garamond", serif;
  --sans: "Montserrat", sans-serif;

}


/* =========================================================
   RESET
========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  color: var(--brown);
  font-family: var(--sans);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}


/* =========================================================
   COMMON
========================================================= */

.section-eyebrow,
.contact-eyebrow {

  display: inline-block;

  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;

  letter-spacing: 3px;

  color: var(--gold);

}

h1,
h2,
h3 {

  font-family: var(--serif);
  font-weight: 500;

}

em {
  font-style: italic;
  color: var(--terracotta);
}


/* =========================================================
   HERO
========================================================= */

.contact-hero {

  position: relative;

  min-height: 620px;

  display: flex;
  align-items: center;

  overflow: hidden;

  background-image:
    url("../assets/contact-hero.png");

  background-size: cover;
  background-position: center;

}

.contact-hero-overlay {

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(48, 30, 21, .78) 0%,
      rgba(48, 30, 21, .55) 42%,
      rgba(48, 30, 21, .18) 100%
    );

}

.contact-hero-content {

  position: relative;
  z-index: 2;

  width: min(1180px, 90%);

  margin: auto;

  color: #fff;

}

.contact-eyebrow {

  color: rgba(255,255,255,.72);

  margin-bottom: 20px;

}

.contact-hero h1 {

  font-size: clamp(65px, 8vw, 115px);

  line-height: .82;

  letter-spacing: -3px;

  max-width: 700px;

}

.contact-hero h1 em {
  color: #e0ad68;
}

.contact-hero p {

  max-width: 510px;

  margin-top: 32px;

  font-size: 13px;

  line-height: 1.9;

  color: rgba(255,255,255,.82);

}


/* Scroll indicator */

.hero-scroll {

  position: absolute;

  bottom: 35px;
  left: 50%;

  transform: translateX(-50%);

  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 8px;

  z-index: 3;

}

.hero-scroll span {

  width: 1px;
  height: 42px;

  background: rgba(255,255,255,.55);

}

.hero-scroll small {

  color: rgba(255,255,255,.6);

  font-size: 8px;

  letter-spacing: 2px;

}


/* =========================================================
   INTRO
========================================================= */

.contact-intro {
  position: relative;
  padding: 135px 20px 125px;
  text-align: center;
  overflow: hidden;
background: linear-gradient(90deg, rgb(247 241 229 / 29%) 0%, rgb(247 241 229 / 11%) 45%, rgb(247 241 229 / 0%) 100%), url(../assets/contact-intro.png);

  background-size: cover;
  background-position: center 55%;
  background-repeat: no-repeat;

  opacity: 0;
  transform: translateY(30px);

  transition:
    opacity .8s ease,
    transform .8s ease;
}

.contact-intro.visible {
  opacity: 1;
  transform: translateY(0);
}

.intro-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: auto;
}

.contact-intro h2 {
  margin-top: 18px;
  font-size: clamp(42px, 5vw, 65px);
  line-height: .98;
}

.contact-intro p {
  max-width: 590px;
  margin: 30px auto 0;
  font-size: 13px;
  line-height: 2;
  color: var(--brown-light);
}


/* =========================================================
   MAIN CONTACT AREA
========================================================= */

.contact-main-p {

  padding: 0 20px 130px;

}

.contact-wrapper {

  width: min(1180px, 100%);

  margin: auto;

  display: grid;

  grid-template-columns: .85fr 1.15fr;

  gap: 80px;

  align-items: start;

}


/* =========================================================
   DETAILS
========================================================= */

.contact-details {

  padding-top: 35px;

  opacity: 0;
  transform: translateX(-30px);

  transition:
    opacity .8s ease,
    transform .8s ease;

}

.contact-details.visible {

  opacity: 1;
  transform: translateX(0);

}

.contact-details h2 {

  margin-top: 18px;

  font-size: clamp(45px, 5vw, 67px);

  line-height: .9;

}

.details-intro {

  max-width: 420px;

  margin-top: 28px;

  font-size: 12px;

  line-height: 1.9;

  color: var(--brown-light);

}


/* Contact list */

.details-list {

  margin-top: 45px;

  border-top: 1px solid var(--border);

}

.detail-item {

  display: flex;

  align-items: center;

  gap: 18px;

  padding: 20px 0;

  border-bottom: 1px solid var(--border);

  transition: padding .3s ease;

}

.detail-item:hover {

  padding-left: 8px;

}

.detail-icon {

  width: 42px;
  height: 42px;

  border-radius: 50%;

  border: 1px solid var(--border);

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--terracotta);

  font-size: 19px;

}

.detail-item small {

  display: block;

  font-size: 8px;

  letter-spacing: 2px;

  color: var(--gold);

  margin-bottom: 5px;

}

.detail-item strong {

  display: block;

  font-family: var(--serif);

  font-size: 19px;

  font-weight: 500;

}


/* Programs */

.programs {

  margin-top: 38px;

}

.program-label {

  display: block;

  font-size: 8px;

  letter-spacing: 2px;

  color: var(--gold);

  margin-bottom: 14px;

}

.program-tags {

  display: flex;

  flex-wrap: wrap;

  gap: 8px;

}

.program-tags span {

  padding: 8px 13px;

  border: 1px solid var(--border);

  border-radius: 30px;

  font-size: 9px;

  color: var(--brown-light);

}


/* =========================================================
   ENQUIRY CARD
========================================================= */

.enquiry-card {

  background: var(--cream-light);

  border: 1px solid var(--border);

  padding: 48px;

  box-shadow:
    0 25px 70px rgba(61,43,33,.08);

  opacity: 0;
  transform: translateY(35px);

  transition:
    opacity .8s ease,
    transform .8s ease;

}

.enquiry-card.visible {

  opacity: 1;
  transform: translateY(0);

}


/* Form header */

.form-header {

  display: flex;

  align-items: flex-start;

  gap: 20px;

  margin-bottom: 40px;

}

.form-number {

  color: var(--gold);

  font-family: var(--serif);

  font-size: 18px;

}

.form-header h3 {

  margin-top: 8px;

  font-size: 45px;

  line-height: .9;

}


/* =========================================================
   FORM
========================================================= */

.enquiry-form {

  display: flex;
  flex-direction: column;

  gap: 25px;

}

.field-row {

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 20px;

}

.form-field {

  display: flex;

  flex-direction: column;

  gap: 9px;

}

.form-field label {

  font-size: 8px;

  font-weight: 600;

  letter-spacing: 2px;

  color: var(--brown-light);

}

.form-field input,
.form-field textarea,
.form-field select {

  width: 100%;

  border: none;

  border-bottom: 1px solid rgba(113,63,45,.25);

  background: transparent;

  padding: 10px 0;

  color: var(--brown);

  font-family: var(--sans);

  font-size: 12px;

  outline: none;

  transition:
    border-color .3s ease;

}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {

  border-color: var(--terracotta);

}

.form-field textarea {

  resize: vertical;

  min-height: 90px;

}

.form-field input::placeholder,
.form-field textarea::placeholder {

  color: rgba(61,43,33,.4);

}


/* Select */

.select-wrapper {

  position: relative;

}

.select-wrapper::after {

  content: "⌄";

  position: absolute;

  right: 5px;
  bottom: 10px;

  pointer-events: none;

  color: var(--terracotta);

}

.form-field select {

  appearance: none;

  cursor: pointer;

}

.form-field select option {

  background: var(--cream-light);

  color: var(--brown);

}


/* =========================================================
   SEND BUTTON
========================================================= */

.send-button {

  width: 100%;

  margin-top: 10px;

  border: none;

  background: var(--terracotta);

  color: #fff;

  padding: 19px 22px;

  display: flex;

  align-items: center;
  justify-content: space-between;

  cursor: pointer;

  font-family: var(--sans);

  font-size: 9px;

  font-weight: 600;

  letter-spacing: 2px;

  transition:
    background .3s ease,
    transform .3s ease;

}

.send-button b {

  font-size: 20px;

  font-weight: 400;

  transition: transform .3s ease;

}

.send-button:hover {

  background: var(--terracotta-dark);

}

.send-button:hover b {

  transform: translateX(6px);

}

.send-button.submitted {

  background: var(--gold);

}


/* =========================================================
   QUICK CONTACT
========================================================= */

.quick-contact {
  position: relative;
  overflow: hidden;

  padding: 110px 20px;

  background:
    linear-gradient(
      135deg,
      #eee3d2 0%,
      #f6eee1 50%,
      #e9dcc9 100%
    );
}


/* =====================================================
   MANDALA DECORATIONS
===================================================== */

.mandala {
  position: absolute;

  width: 420px;
  height: 420px;

  border-radius: 50%;

  opacity: .16;

  pointer-events: none;
}


/* Create delicate mandala effect */

.mandala::before,
.mandala::after {
  content: "";

  position: absolute;
  inset: 35px;

  border: 1px solid var(--gold);

  border-radius: 50%;

  transform: rotate(45deg);
}

.mandala::after {
  inset: 75px;

  transform: rotate(22.5deg);

  border-style: dashed;
}


/* Left */

.mandala-left {
  left: -250px;
  bottom: -220px;

  background:
    repeating-conic-gradient(
      from 0deg,
      transparent 0deg 12deg,
      rgba(173,123,53,.45) 12deg 13deg
    );
}


/* Right */

.mandala-right {
  right: -250px;
  top: -230px;

  background:
    repeating-conic-gradient(
      from 0deg,
      transparent 0deg 12deg,
      rgba(173,123,53,.45) 12deg 13deg
    );
}


/* =====================================================
   CONTENT
===================================================== */

.quick-contact-inner {
  position: relative;
  z-index: 2;

  width: min(1180px, 100%);
  margin: auto;

  display: grid;

  grid-template-columns: .7fr 1.3fr;

  gap: 70px;

  align-items: center;
}


/* =====================================================
   HEADING
===================================================== */

.quick-heading h2 {

  margin-top: 17px;

  font-size: clamp(40px, 4vw, 58px);

  line-height: .92;

}


/* =====================================================
   CARDS
===================================================== */

.quick-cards {

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 14px;

}


.quick-card {

  position: relative;

  min-height: 170px;

  padding: 25px;

  border: 1px solid rgba(113,63,45,.16);

  background: rgba(251,248,241,.72);

  backdrop-filter: blur(5px);

  display: flex;

  flex-direction: column;

  justify-content: space-between;

  transition:
    transform .35s ease,
    background .35s ease,
    box-shadow .35s ease;

}


.quick-card:hover {

  background: rgba(255,252,246,.95);

  transform: translateY(-7px);

  box-shadow:
    0 18px 40px rgba(61,43,33,.10);

}


.quick-icon {

  width: 44px;
  height: 44px;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--terracotta);

  color: #fff;

  font-size: 19px;

}


.quick-card small {

  display: block;

  font-size: 7px;

  letter-spacing: 2px;

  color: var(--gold);

  margin-bottom: 5px;

}


.quick-card strong {

  font-family: var(--serif);

  font-size: 21px;

  font-weight: 500;

}


.arrow {

  position: absolute;

  top: 22px;
  right: 22px;

  color: var(--terracotta);

  font-size: 17px;

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 900px) {

  .quick-contact-inner {

    grid-template-columns: 1fr;

    gap: 45px;

  }

  .quick-heading {

    text-align: center;

  }

}


@media (max-width: 650px) {

  .quick-contact {

    padding: 80px 20px;

  }

  .quick-cards {

    grid-template-columns: 1fr;

  }

  .quick-card {

    min-height: 125px;

  }

  .mandala {

    width: 300px;
    height: 300px;

  }

  .mandala-left {

    left: -210px;
    bottom: -150px;

  }

  .mandala-right {

    right: -210px;
    top: -150px;

  }

}

/* =========================================================
   FINAL CTA
========================================================= */

.contact-cta {

  position: relative;

  min-height: 570px;

  display: flex;

  align-items: center;
  justify-content: center;

  text-align: center;

  background-image:
    url("../assets/contact-cta.png");

  background-size: cover;
  background-position: center;

  color: #fff;

  opacity: 0;
  transform: translateY(30px);

  transition:
    opacity .9s ease,
    transform .9s ease;

}

.contact-cta.visible {

  opacity: 1;
  transform: translateY(0);

}

.cta-overlay {

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      rgba(52,34,25,.72),
      rgba(52,34,25,.76)
    );

}

.cta-content {

  position: relative;

  max-width: 650px;

  padding: 50px 20px;

}

.cta-content .section-eyebrow {

  color: #d9ad68;

}

.cta-content h2 {

  margin-top: 20px;

  font-size: clamp(55px, 7vw, 90px);

  line-height: .83;

  letter-spacing: -2px;

}

.cta-content h2 em {

  color: #e1ad67;

}

.cta-content p {

  max-width: 490px;

  margin: 30px auto;

  font-size: 12px;

  line-height: 1.9;

  color: rgba(255,255,255,.78);

}

.cta-button {

  display: inline-flex;

  align-items: center;

  gap: 30px;

  padding: 17px 25px;

  border: 1px solid rgba(255,255,255,.35);

  color: #fff;

  font-size: 9px;

  font-weight: 600;

  letter-spacing: 2px;

  transition:
    background .3s ease,
    border-color .3s ease;

}

.cta-button span {

  font-size: 18px;

}

.cta-button:hover {

  background: var(--terracotta);

  border-color: var(--terracotta);

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

  .contact-hero {

    min-height: 560px;

  }

  .contact-wrapper {

    grid-template-columns: 1fr;

    gap: 65px;

  }

  .contact-details {

    padding-top: 0;

  }

  .quick-contact-inner {

    grid-template-columns: 1fr;

    gap: 45px;

  }

}


@media (max-width: 650px) {

  .contact-hero {

    min-height: 500px;

    background-position: 58% center;

  }

  .contact-hero-overlay {

    background:
      linear-gradient(
        90deg,
        rgba(48,30,21,.78),
        rgba(48,30,21,.45)
      );

  }

  .contact-hero h1 {

    font-size: 65px;

    letter-spacing: -2px;

  }

  .contact-hero p {

    font-size: 11px;

    max-width: 330px;

  }

  .contact-intro {

    padding: 85px 20px;

  }

  .contact-main-p {

    padding-bottom: 85px;

  }

  .enquiry-card {

    padding: 30px 22px;

  }

  .field-row {

    grid-template-columns: 1fr;

    gap: 25px;

  }

  .form-header h3 {

    font-size: 39px;

  }

  .quick-contact {

    padding: 75px 20px;

  }

  .quick-cards {

    grid-template-columns: 1fr;

  }

  .quick-card {

    min-height: 120px;

  }

  .contact-cta {

    min-height: 500px;

  }

  .contact-cta h2 {

    font-size: 62px;

  }

}


@media (max-width: 400px) {

  .contact-hero h1 {

    font-size: 57px;

  }

  .contact-details h2 {

    font-size: 48px;

  }

  .contact-intro h2 {

    font-size: 40px;

  }

  .contact-cta h2 {

    font-size: 53px;

  }

}