/* =============================
   INDEX (HOME PAGE) STYLES
   ============================= */

/* ===== HERO SECTION ===== */
.hero-section-split {
  background: var(--white);
  min-height: 80vh;
  display: flex;
  align-items: flex-start;
}
.hero-section-split .row {
  min-height: 80vh;
  align-items: flex-start !important;
}
.hero-text-col {
  background: var(--white);
  z-index: 2;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2rem 3.5rem 4.5rem 4.5rem !important;
  margin-top: 2.5rem;
}
.hero-subtext {
  font-family: "Cormorant", Georgia, serif;
  font-size: 1.5rem;
  color: #444;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.orange-line {
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--primary-color);
  border-radius: 1px;
  margin-bottom: 2px;
}
.hero-btn {
  font-size: 1.1rem;
  padding: 0.8rem 1.5rem 0.8rem 1.1rem;
  margin-top: 1rem;
  margin-right: 0.7rem;
  border: 2px solid var(--primary-color) !important;
  background: var(--white);
  color: var(--primary-color);
  border-radius: 0.4rem;
  font-family: "Work Sans", sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
}
.hero-btn:hover,
.hero-btn:focus {
  background: var(--primary-color);
  color: var(--white);
  border: 2px solid var(--primary-color) !important;
  outline: none;
}
.hero-btn:active {
  border: 2px solid var(--primary-color) !important;
  outline: none;
}
.hero-btn .hero-arrow,
.hero-btn:hover .hero-arrow,
.hero-btn:focus .hero-arrow {
  color: inherit !important;
  margin-left: 0.7em;
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
}

/* ===== FOCUS ACRONYM HEADING ===== */
.focus-acronym-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  font-family: "Cormorant", Georgia, serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2.5rem;
}
.focus-acronym-letter {
  color: var(--primary-color);
  font-size: 1.15em;
  font-weight: 700;
  font-family: inherit;
  margin-bottom: 0.18em;
  min-width: 1.1em;
  text-align: center;
}
.focus-acronym-rest {
  color: var(--dark-color);
  font-weight: 400;
  font-size: 1em;
}
.focus-acronym-f {
  margin-left: 0.13em;
}
.focus-acronym-s {
  margin-left: 0.13em;
}

/* ===== SUBJECT CARDS ===== */
.card {
  background: transparent !important;
  border: none;
  border-radius: 0;
  box-shadow: none;
  position: relative;
  padding-left: 1.1rem;
  margin-right: 1rem;
}
.row > .col-lg-4:last-child .card {
  margin-right: 0;
}
.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--primary-color);
  border-radius: 0;
}
.card-body {
  display: block;
  min-height: unset;
  flex-direction: unset;
  justify-content: unset;
}
.card:hover,
.card:focus {
  background: transparent !important;
  box-shadow: none !important;
}
.card-title {
  color: var(--dark-color);
  margin-bottom: 1rem;
}
.card-img-top {
  height: 250px;
  object-fit: cover;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
  background: var(--white);
}
.testimonials-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gray);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.testimonials-heading {
  font-size: 3.2rem;
  line-height: 1.1;
  color: var(--dark-color);
  font-weight: 700;
  margin-bottom: 1rem;
}
.testimonials-heading .accent {
  color: var(--primary-color);
}
.testimonials-subheading {
  font-style: italic;
  color: var(--dark-color);
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
}
.testimonial-role {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.testimonial-name {
  font-size: 2rem;
  color: var(--dark-color);
  font-weight: 500;
  margin-bottom: 1rem;
}
.testimonial-text {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: var(--gray);
  font-size: 1.08rem;
  margin-bottom: 1.5rem;
  font-weight: 350;
}
.testimonial-date {
  color: var(--dark-color);
  font-size: 1rem;
  margin-bottom: 1.2rem;
}
.testimonial-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  margin-bottom: 1.5rem;
}
.testimonial-arrow {
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 2rem;
  cursor: pointer;
  padding: 0 0.5rem;
  transition: color 0.2s;
}
.testimonial-arrow:hover,
.testimonial-arrow:focus {
  color: var(--dark-color);
}
.testimonial-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
}
.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary-color);
  display: inline-block;
  opacity: 0.3;
  transition: opacity 0.2s;
}
.testimonial-dot.active {
  opacity: 1;
}

/* ===== CONTACT FORM (CONSOLIDATED) ===== */
.contact-form {
  background-color: var(--secondary-color);
}
.form-control {
  border: 2px solid var(--gray-300);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  background-color: var(--white);
  transition: var(--transition);
}
.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(34, 102, 51, 0.3);
  outline: none;
}
.form-control-lg {
  padding: 1.25rem 1.5rem;
  font-size: 1.1rem;
}
.contact-form .btn-primary {
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: var(--white) !important;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.contact-form .btn-primary:hover,
.contact-form .btn-primary:focus {
  background: var(--dark-color) !important;
  border-color: var(--dark-color) !important;
  color: var(--white) !important;
}
.btn-outline-primary {
  border-color: var(--primary-color) !important;
  color: var(--primary-color) !important;
  background: var(--white) !important;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background: var(--primary-color) !important;
  color: var(--white) !important;
  border-color: var(--primary-color) !important;
}
.contact-form .col-lg-6 {
  max-width: 700px;
}
@media (min-width: 992px) and (max-width: 1300px) {
  .contact-form .col-lg-6 {
    width: 850px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 991.98px) {
  .contact-form form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .contact-form .btn,
  .contact-form .btn-outline-primary {
    display: block;
    width: 100%;
    margin-right: 0 !important;
    margin-bottom: 0;
  }
}

/* ===== UTILITY & RESPONSIVE CLASSES (INDEX ONLY) ===== */
.ms-2 {
  margin-left: 0.5rem !important;
}
.ms-3 {
  margin-left: 1rem !important;
}
.d-flex.align-items-center {
  display: flex !important;
  align-items: center !important;
}
.row > .col-lg-4.mb-4 {
  margin-bottom: 3rem !important;
}
@media (max-width: 991.98px) {
  .row > .col-lg-4.mb-4 {
    margin-bottom: 2rem !important;
  }
}

.blue-hero-bg {
  background-image: url("../assets/images/landing.png");
  height: 100vh;
  background-size: cover;
  width: 100%;
  /* border-radius: 0 0 0 2.5rem; */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Default: align left */
.focus-acronym-wrapper {
  display: block;
  width: auto;
  margin-left: 0;
  margin-right: 0;
}

/* Hero subtext row (orange line + subtext) */
.hero-subtext-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
}

/* Hero button row */
.hero-btn-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.2rem;
}

/* What We Do buttons: consistent width and icon alignment */
.what-we-do-btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  width: 100%;
}
.what-we-do-btns .hero-btn {
  width: 100%;
  max-width: 370px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.btn-text {
  flex: 1 1 auto;
  text-align: left;
}
.btn-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

@media (max-width: 576px) {
  .focus-acronym-wrapper {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-text-col {
    padding: 1.2rem 0.7rem 2rem 0.7rem !important;
    margin-top: 1.2rem;
  }
  .focus-acronym-heading {
    font-size: 2.1rem;
    margin-bottom: 1.2rem;
  }
  .hero-btn {
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0.7rem;
    margin-bottom: 0.7rem;
  }
  .hero-text-col .d-flex.align-items-center {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.5rem;
  }

  /* What We Do section buttons full width, even padding, centered */
  .section-padding
    .col-lg-5.col-md-9.col-12.d-flex.align-items-center.justify-content-end {
    padding-left: 0 !important;
    padding-right: 0 !important;
    justify-content: center !important;
  }
  .mission-btn {
    width: 100% !important;
    min-width: 0;
    max-width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
    padding-left: 1.2rem !important;
    padding-right: 1.2rem !important;
    text-align: center;
    display: flex !important;
    justify-content: center;
  }
  .d-flex.gap-2.align-items-stretch {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.7rem !important;
  }

  /* Center and enlarge What We Do heading on mobile */
  .section-padding .display-5 {
    text-align: center !important;
    font-size: 2.3rem !important;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-learn-intro {
    font-size: 0.85rem !important;
    letter-spacing: 1.2px;
  }
  .hero-subtext {
    font-size: 1.18rem !important;
  }
  .orange-line.me-3 {
    margin-right: 0.4rem !important;
  }
  .hero-text-col .d-flex.align-items-center.mb-4 {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.7rem;
  }
  .hero-section-split .container.hero-text-col {
    align-items: center !important;
  }
  .hero-btn-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
    margin-top: 0.7rem;
  }
  .hero-subtext-row {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.7rem;
  }
  .what-we-do-btns {
    align-items: center;
  }
  .what-we-do-btns .hero-btn {
    max-width: 100%;
  }
}
