/* =========================================
   CONTACT PAGE: HERO SECTION
   ========================================= */

.contact-hero {
  background-color: #f8f9f8;
    background-image: url(../images/service/hero-practice-bg-1.png);
    background-repeat: no-repeat;
    background-position: center left;
    background-size: contain;
    padding: 150px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
}

/* ---------- Fluid Heading ---------- */
.contact-hero-heading {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 3.2rem;
  color: var(--heading-black, #0A0C00);
  line-height: 1.1;
  letter-spacing: -2.5px;
  margin-bottom: 20px;
}

.contact-hero-heading .text-orange {
  color: var(--primary-orange, #FF6404);
}

/* ---------- Fluid Subtext ---------- */
.contact-hero-subtext {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  /* Scales smoothly from 13.5px to 16px */
  font-size: clamp(13.5px, 1.5vw, 16px);
  color: #666665;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 780px; /* Prevents the line from getting too wide/unreadable on huge monitors */
}

/* =========================================
   PRO RESPONSIVE QUERIES
   ========================================= */

/* Tablet Adjustments */
@media (max-width: 991px) {
  .contact-hero {
    padding: 120px 20px 60px 20px;
    /* Centers the background wave on smaller screens so it doesn't get clipped weirdly */
    background-position: center; 
  }
  .contact-hero-heading {
    letter-spacing: -1.5px; /* Loosen letter spacing slightly for smaller font sizes */
  }
}

/* Mobile Phone Adjustments */
@media (max-width: 767px) {
  .contact-hero {
    padding: 100px 15px 10px 15px;
  }
  .contact-hero-heading {
    letter-spacing: -1px;
    margin-bottom: 15px;
  }
  .contact-hero-subtext {
    line-height: 1.5;
  }
}
/******************************Contact Hero Ends***********************************************/

/* 1. VARIABLES & RESET */

.highlight {
  color: var(--primary-orange);
}

.highlight-text {
  color: var(--primary-orange);
  font-weight: 600;
}

/* 3. SELECTION GUIDE SECTION */
.guide-header {
  margin-bottom: 50px;
  position: relative;
}

.tagline {
  color: var(--primary-orange);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 10px;
}

.guide-header h1 {
  font-size: 48px;
  font-weight: 800;
  max-width: 650px;
  line-height: 1.1;
}

.subtext {
  color: #666665;
  font-size: 16px;
  position: absolute;
  right: 0;
  top: 50px;
  text-align: right;
  max-width: 300px;
}

.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.guide-column {
  position: relative;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  background: #fff;
  padding-top: 46px;
}

.col-header {
  position: absolute;
  top: -11px;
  left: -1px;
  padding: 14px 22px;
  padding-bottom: 31px;
  /* border-radius: 12px; */
  color: white;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.black-bg {
  background: #0a0c00;
}
.orange-bg {
  background: var(--primary-orange);
}

.rows-container {
  padding: 10px 20px 30px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: 0 0 12px 12px;
}

.guide-row {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.current-box {
  background: #fff;
  border: 1px solid var(--border-light);
  padding: 22px 24px;
  border-radius: 10px;
  flex: 1.5;
  min-height: 96px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  position: relative;
  min-width: 0; /* allows text to wrap instead of overflowing the flex box */
}

/* The Pointed Tab Effect */
.current-box::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 20px;
  height: 20px;
  background: #fff;
  border-right: 1px solid var(--border-light);
  border-top: 1px solid var(--border-light);
}

.num {
  font-size: 22px;
  font-weight: 800;
  border-bottom: 2px solid #000;
  line-height: 1;
  flex-shrink: 0;
  padding-bottom: 2px;
}
.num.orange {
  border-color: var(--primary-orange);
  color: var(--primary-orange);
}

.current-box .text {
  border-left: 1px solid var(--border-light);
  padding-left: 15px;
}

.current-box label,
.recom-box label {
  font-size: 10px;
  text-transform: uppercase;
  color: #aaa;
  font-weight: 700;
  display: block;
  margin-bottom: 5px;
}

.current-box .text p {
  font-size: 13.5px;
  color: #333;
  line-height: 1.4;
}

.arrow-circle {
  width: 35px;
  height: 35px;
  background: #0a0c00;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.arrow-circle.orange-bg {
  background: var(--primary-orange);
}

.recom-box {
  background: #fff;
  border: 1px solid var(--border-light);
  padding: 18px 20px;
  border-radius: 10px;
  flex: 1;
  min-height: 96px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Icon inside Recommended Program box — inline SVG so it always renders
   correctly with no external image files needed. Swap the <svg> markup
   in the HTML for your own icon whenever you're ready; these two rules
   will keep sizing/spacing/color consistent regardless. */
.recom-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #0a0c00;
  flex-shrink: 0;
}

.recom-icon svg {
  width: 100%;
  height: 100%;
}

.recom-icon.icon-orange {
  color: var(--primary-orange);
}

.recom-box .recom-text {
  min-width: 0;
}

.recom-box h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.guide-footer {
  margin-top: 40px;
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-outline,
.btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.btn-outline {
  border: 1px solid var(--border-light);
  color: #0a0c00;
  background: #fff;
}

.btn-solid {
  background: var(--primary-orange);
  color: #fff;
  border: 1px solid var(--primary-orange);
}

/* 4. CONTACT SECTION */
.contact-frm{
    background-color: #fff; 
    padding: 80px 0;
}

.contact-container {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.contact-info {
  flex: 1;
}
.contact-info h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: "Unbounded", sans-serif;
}

.description {
  font-size: 16px;
  color: #666665;
  margin-bottom: 30px;
}

.inquiry-box {
  background-color: #f7f7f7;
  padding: 20px;
  border-radius: 4px;
  font-size: 13px;
  color: #777;
  margin-top: 40px;
}

.contact-form-container {
  flex: 1.2;
  background-color: var(--bg-light);
  padding: 40px 30px;
  border-radius: 12px; 
  width: 100%;
}

.form-row {
  display: flex;
  gap: 20px;
  /*margin-bottom: 20px;*/
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-group.full-width {
  width: 100%;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
  font-size: 14px;
  width: 100%;
}

.submit-btn {
  background-color: var(--primary-orange);
  color: white;
  padding: 15px 35px;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  width: 100%;
}

.submit-btn:hover {
  background-color: #e65c00;
}

.success-msg {
  background: #e8f8ee;
  color: #1c7c3f;
  padding: 20px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
}

/* 5. RESPONSIVE DESIGN */

/* Tablet / small desktop */
@media (max-width: 992px) {
  .container {
    padding: 60px 20px;
  }

  .guide-grid,
  .contact-container {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }

  .guide-header h1 {
    font-size: 36px;
    max-width: 100%;
  }

  .subtext {
    position: static;
    text-align: left;
    margin-top: 15px;
    max-width: 100%;
  }

  .contact-container {
    gap: 40px;
  }
  .contact-form-container {
    padding: 30px;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  /* Stack current-box / arrow / recom-box vertically and turn the
       arrow so it visually points "down" into the next box */
  .guide-row {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }

  .current-box::after {
    display: none;
  } /* Remove side tab on mobile */

  .arrow-circle {
    align-self: center;
    transform: rotate(90deg);
  }

  .guide-footer {
    justify-content: flex-start;
  }
}

/* Mobile phones */
@media (max-width: 576px) {
  .container {
    padding: 40px 16px;
  }

  .guide-header h1 {
    font-size: 28px;
  }
  .tagline {
    font-size: 12px;
  }
  .subtext {
    font-size: 14px;
  }

  .col-header {
    font-size: 15px;
    padding: 12px 18px;
    top: -16px;
    left: 15px;
  }

  .rows-container {
    padding: 8px 15px 20px;
    gap: 15px;
  }

  .current-box,
  .recom-box {
    padding: 15px;
  }
  .current-box .text p {
    font-size: 13px;
  }
  .recom-icon {
    width: 28px;
    height: 28px;
  }
  .recom-box h3 {
    font-size: 14px;
  }

  .guide-footer {
    flex-direction: column;
    width: 100%;
  }
  .btn-outline,
  .btn-solid {
    width: 100%;
    justify-content: center;
  }

  .contact-info h1 {
    font-size: 30px;
  }
  .description {
    font-size: 14px;
  }
  .contact-form-container {
    padding: 20px;
  }
  .inquiry-box {
    max-width: 100%;
  }
}

/* 4b. FEATURED CASE STUDIES CTA SECTION */
.case-cta-section {
  background: #fff;
}

.case-cta-container {
  padding: 60px 20px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.case-cta-text {
  max-width: 620px;
  flex: 1;
}

.case-cta-text h2 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: #0a0c00;
  margin-bottom: 16px;
}

.case-cta-text p {
  font-size: 14px;
  color: #666665;
  line-height: 1.5;
  max-width: 480px;
}

.case-cta-btn {
  flex-shrink: 0;
  margin-left: auto;
  background: var(--primary-orange);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  text-align: center;
  padding: 16px 26px;
  border-radius: 6px;
  white-space: nowrap;
  transition: 0.3s;
}

.case-cta-btn:hover {
  background: #e65c00;
}

/* 5. RESPONSIVE DESIGN */

/* Tablet / small desktop */
@media (max-width: 992px) {
  .container {
    padding: 60px 20px;
  }

  .guide-grid,
  .contact-container {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }

  .guide-header h1 {
    font-size: 36px;
    max-width: 100%;
  }

  .subtext {
    position: static;
    text-align: left;
    margin-top: 15px;
    max-width: 100%;
  }

  .contact-container {
    gap: 40px;
  }
  .contact-form-container {
    padding: 30px;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  /* Stack current-box / arrow / recom-box vertically and turn the
       arrow so it visually points "down" into the next box */
  .guide-row {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }

  .current-box::after {
    display: none;
  } /* Remove side tab on mobile */

  .arrow-circle {
    align-self: center;
    transform: rotate(90deg);
  }

  .guide-footer {
    justify-content: flex-start;
  }

  .case-cta-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .case-cta-text h2 {
    font-size: 34px;
  }
  .case-cta-btn {
    align-self: flex-start;
  }
}

/* Mobile phones */
@media (max-width: 576px) {
  .container {
    padding: 40px 16px;
  }

  .guide-header h1 {
    font-size: 28px;
  }
  .tagline {
    font-size: 12px;
  }
  .subtext {
    font-size: 14px;
  }

  .col-header {
    font-size: 15px;
    padding: 12px 18px;
    top: -16px;
    left: 15px;
  }

  .rows-container {
    padding: 8px 15px 20px;
    gap: 15px;
  }

  .current-box,
  .recom-box {
    padding: 15px;
  }
  .current-box .text p {
    font-size: 13px;
  }
  .recom-icon {
    width: 28px;
    height: 28px;
  }
  .recom-box h3 {
    font-size: 14px;
  }

  .guide-footer {
    flex-direction: column;
    width: 100%;
  }
  .btn-outline,
  .btn-solid {
    width: 100%;
    justify-content: center;
  }

  .contact-info h1 {
    font-size: 30px;
  }
  .description {
    font-size: 14px;
  }
  .contact-form-container {
    padding: 20px;
  }
  .inquiry-box {
    max-width: 100%;
  }

  .case-cta-container {
    padding: 40px 16px;
  }
  .case-cta-text h2 {
    font-size: 26px;
  }
  .case-cta-text p {
    font-size: 13px;
  }
  .case-cta-btn {
    font-size: 12px;
    padding: 14px 20px;
    width: 100%;
  }
}
global-container {
  width: 100%;
  padding-left: 5%;
  padding-right: 5%;
}
.hero-section {
  position: relative;
  width: 100%;
  background: var(--bg-light);
  /*padding: 10px 200px;*/
  background-image: url("../image/Group 355.svg");
  background-size: cover;
  background-position: center;
  display: flex;
  overflow: hidden;
  padding-top: 125px;
}
.build-authority-cta {
  padding: 140px 0 70px 0;
  background-color: var(--bg-light);
  background-image: url("../image/Group 355.svg");
  background-size: cover;
  background-position: center;
  width: 100%;
}

.build-cta-title {
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: 3rem;
  line-height: 1.1;
  color: var(--text-dark);
}

.build-cta-subtitle {
  font-family: var(--font-nav);
  font-size: 1.1rem;
  color: #666;
  line-height: 1.7;
  margin: 0 auto;
}

/* --- RESPONSIVENESS --- */
@media (max-width: 991px) {
  .build-authority-cta {
    padding: 100px 0;
  }
}

@media (max-width: 767px) {
  .build-cta-title {
    font-size: 2.2rem;
    letter-spacing: -1.5px;
  }
  .build-cta-subtitle {
    font-size: 1rem;
    padding: 0 10px;
  }
}

.build-cta-title .text-orange,
.sub-target-heading .text-orange {
  color: var(--brand-orange);
}


/* =========================================
   FEATURED CASE STUDIES TEASER SECTION
   ========================================= */

.case-studies-teaser {
  background-color: #ffffff;
  padding: 120px 0; /* Generous white space for premium feel */
  overflow: hidden;
}

/* ---------- Fluid Heading ---------- */
.teaser-heading {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 3.2rem;
    color: var(--heading-black, #0A0C00);
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 25px;
}

/* ---------- Description ---------- */
.teaser-desc {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: var(--text-gray, #4A4A49);
  line-height: 1.7;
  max-width: 650px; /* Forces the exact text wrap seen in the design */
  margin-bottom: 0; 
}

/* ---------- Chunky CTA Button ---------- */
.btn-teaser {
  background-color: var(--primary-orange, #FF6404);
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 18px 32px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 15px rgba(255, 100, 4, 0.2); /* Subtle orange glow */
}

.btn-teaser:hover {
  background-color: #e55a03;
  color: #ffffff;
  transform: translateY(-2px);
}

/* =========================================
   PRO RESPONSIVE QUERIES
   ========================================= */

@media (max-width: 991px) {
  .case-studies-teaser {
    padding: 80px 0;
  }
  
  .btn-teaser-wrap {
    margin-top: 35px;
  }
}

@media (max-width: 767px) {
  .case-studies-teaser {
    padding: 60px 0;
  }
  .teaser-heading {
    margin-bottom: 15px;
  }
  .btn-teaser {
    width: 100%;
    text-align: center;
    padding: 16px 20px;
  }
}