/* ==========================================================
   FLUID HERO SECTION STYLES
   ========================================================== */

.hero {
  position: relative;
  width: 100%;
  min-height: 70vh; /* Viewport height scaling is more fluid than fixed px */
  background-image: url("../images/service/hero-bg.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-color: #f5f5f4; /* Site-wide light gray fallback */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 160px 0 100px 0;
  overflow: hidden;
  z-index: 1;
}

.hero-container {
  max-width: 900px; /* Constrains text for optimal reading length */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
}

/* ---------- Fluid Heading ---------- */
.hero-heading {
  font-family: "Unbounded", sans-serif; 
  font-weight: 700;
  font-size: 3.6rem; 
  line-height: 1.15;
  color: var(--heading-black, #0A0C00);
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero-heading .highlight {
  color: var(--primary-orange, #ff6404);
}

/* ---------- Fluid Paragraph Text ---------- */
.hero-text,
.hero-subtext {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-gray, #4A4A49);
  max-width: 850px;
  margin-bottom: 15px;
}

.hero-subtext {
  margin-bottom: 40px;
}

/* ---------- Buttons & Actions ---------- */
.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  width: 100%;
}

.btn {
  font-family: "Poppins", sans-serif;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background-color: var(--primary-orange, #ff6404);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  padding: 16px 32px;
  border-radius: 4px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
}

.btn-primary:hover {
  background-color: #e55a03;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-link-hero {
  color: var(--heading-black, #0A0C00);
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
  transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

.btn-link-hero:hover {
  color: var(--primary-orange, #ff6404);
  text-decoration-color: var(--primary-orange, #ff6404);
}

/* ==========================================================
   PRO RESPONSIVE BREAKPOINTS
   ========================================================== */

/* Large Tablet / Small Desktop */
@media (max-width: 1199px) {
  .hero { padding: 100px 20px; }
  .hero-heading { letter-spacing: -1px; }
}

/* Tablet */
@media (max-width: 991px) {
  .hero { 
    padding: 80px 20px; 
    /* Shift background slightly if graphic is covering text */
    background-position: center right 15%; 
  }
}

/* Large Phone / Mobile Landscape */
@media (max-width: 767px) {
  .hero {
    /* Original intent: leaves room at the bottom for background graphics */
    padding: 70px 20px 200px; 
    background-position: bottom center; 
  }
  .hero-heading { letter-spacing: -0.5px; }
}

/* Small Mobile */
@media (max-width: 575px) {
  .hero {
    padding: 60px 15px 220px; 
    background-size: 150% auto; /* Zooms background appropriately for mobile width */
    background-position: bottom center;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: stretch; /* Forces Primary button to 100% width cleanly */
    gap: 20px;
    max-width: 350px; /* Constrains buttons from becoming absurdly wide */
    margin: 0 auto;
  }
  .btn-primary { width: 100%; }
  .btn-link-hero { 
    width: 100%; 
    display: block; 
    padding: 10px 0; 
  }
}

/* ==========================================================
   "Clients Should Understand" Section
   ========================================================== */

.why-section {
  width: 100%;
  padding: 90px 20px;
  background-color: var(--color-white);
  font-family: "Poppins", sans-serif;
}

.why-container {
  max-width: 1180px;
  margin: 0 auto;
}

/* ---------- Header row ---------- */
.why-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 56px;
}

.why-header-left {
  flex: 0 0 62%;
  max-width: 62%;
}

.eyebrow {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.8px;
  color: #ff6404;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.why-heading {
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 1.2;
  color: #141414;
}

.why-header-right {
  flex: 1;
  border-left: 2px solid #ff6404;
  padding-left: 24px;
  align-self: center;
}

.why-header-text {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: var(--fs-body-sm);
  line-height: 1.7;
  color: #6b6b6b;
}

/* ---------- Grid ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 28px 26px;
  background-color: var(--color-white);
}

.why-card--muted {
  background-color: #f4f3f1;
  border: none;
}

.why-icon {
  width: 40px;
  height: 40px;
  background-color: #141414;
  border-bottom: 3px solid #ff6404;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.why-card-label {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.6px;
  color: #ff6404;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.why-card-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: var(--fs-card-title);
  letter-spacing: 0.2px;
  color: #141414;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.why-card-text {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: var(--fs-body-sm);
  line-height: 1.65;
  color: #6b6b6b;
}

/* ---------- Price card ---------- */
.why-card--price {
  background-color: #ff6404;
  border: none;
}

.why-card-label--price {
  color: var(--color-white);
  opacity: 0.85;
}

.why-price {
  font-family: "Unbounded", sans-serif;
  font-weight: 600;
  font-size: 23px;
  color: var(--color-white);
  margin-bottom: 14px;
}

.why-price span {
  font-size: var(--fs-body-sm);
  font-weight: 400;
  opacity: 0.85;
}

.why-card-text--price {
  color: var(--color-white);
  opacity: 0.85;
}

/* ==========================================================
   Responsive Breakpoints — Why Section
   ========================================================== */

/* Tablet */
@media (max-width: 1024px) {
  .why-section {
    padding: 70px 20px;
  }

  .why-heading {
    font-size: 32px;
  }

  .why-header {
    gap: 40px;
    margin-bottom: 44px;
  }

  .why-header-left {
    flex: 0 0 55%;
    max-width: 55%;
  }
}

/* Small tablet / large phone */
@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .why-header {
    flex-direction: column;
    gap: 20px;
  }

  .why-header-left,
  .why-header-right {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .why-header-right {
    border-left: none;
    border-top: 2px solid #ff6404;
    padding-left: 0;
    padding-top: 16px;
  }

  .why-heading {
    font-size: 28px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .why-section {
    padding: 50px 16px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .eyebrow {
    font-size: 0.9rem;
  }

  .why-heading {
    font-size: 24px;
  }

  .why-price {
    font-size: 26px;
  }

  .why-card {
    padding: 22px 20px;
  }
}

/* ==========================================================
   CTA Bar Section
   ========================================================== */

.cta-bar {
  width: 100%;
  background-color: #0d0d0d;
  background-image: url("../images/service/cta-bg.png"); /* dummy bg image - replace with your asset */
  background-repeat: no-repeat;
  background-position: top right;
  background-size: cover;
  padding: 34px 40px;
  font-family: "Poppins", sans-serif;
}

.cta-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.cta-left {
  position: relative;
  flex: 0 0 auto;
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.cta-corner-line {
  position: absolute;
  top: -18px;
  left: 20px;
  width: 1px;
  height: 22px;
  background-color: rgba(255, 255, 255, 0.25);
}

.cta-heading {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.35;
  color: var(--color-white);
  margin-bottom: 6px;
}

.cta-subtext {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: #ff6404;
}

.cta-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  padding: 13px 20px;
  border-radius: 4px;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    transform 0.15s ease;
}

.cta-btn:hover {
  transform: translateY(-1px);
}

.cta-icon,
.cta-arrow {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.cta-btn--primary {
  background-color: #ff6404;
  color: var(--color-white);
  border: 1px solid #ff6404;
}

.cta-btn--primary:hover {
  background-color: #d95c14;
}

.cta-btn--outline {
  background-color: rgba(255, 255, 255, 0.03);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.cta-btn--outline:hover {
  border-color: #ff6404;
  color: #ff6404;
}

/* ==========================================================
   Who the Program Is For Section
   ========================================================== */

.program-section {
  width: 100%;
  padding: 90px 20px;
  background-color: var(--color-white);
  font-family: "Poppins", sans-serif;
}

.program-container {
  max-width: 1180px;
  margin: 0 auto;
}

.program-header {
  text-align: center;
  margin-bottom: 50px;
}

.eyebrow--center {
  text-align: center;
}

.program-heading {
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  color: #141414;
  letter-spacing: -0.5px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.program-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.program-card {
  border-radius: 6px;
  padding: 26px 24px;
  flex: 1;
}

.program-card--tall {
  flex: 1.35;
}

.program-icon {
  width: 34px;
  height: 34px;
  background-color: #ff6404;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.program-card-text {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: var(--fs-body-sm);
  line-height: 1.65;
  color: #6b6b6b;
}

.program-image {
  width: 100%;
  height: 90px;
  border-radius: 6px;
  overflow: hidden;
}

.program-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================
   Responsive Breakpoints — CTA Bar & Program Section
   ========================================================== */

/* Tablet */
@media (max-width: 1024px) {
  .cta-container {
    justify-content: center;
    text-align: center;
  }

  .cta-left {
    padding-left: 0;
  }

  .cta-corner-line {
    left: 50%;
    transform: translateX(-50%);
  }

  .cta-buttons {
    justify-content: center;
  }

  .program-heading {
    font-size: 30px;
  }
}

/* Small tablet / large phone */
@media (max-width: 900px) {
  .program-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .program-col:nth-child(2) {
    grid-column: span 2;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .program-col:nth-child(2) .program-card,
  .program-col:nth-child(2) .program-image {
    flex: 1 1 30%;
  }
}

@media (max-width: 768px) {
  .cta-bar {
    padding: 28px 24px;
  }

  .cta-heading {
    font-size: 19px;
  }

  .cta-btn {
    font-size: 12px;
    padding: 11px 16px;
  }

  .program-section {
    padding: 60px 20px;
  }

  .program-heading {
    font-size: 26px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta-btn {
    width: 100%;
    justify-content: center;
  }

  .program-grid {
    grid-template-columns: 1fr;
  }

  .program-col:nth-child(2) {
    grid-column: span 1;
    flex-direction: column;
  }

  .program-col:nth-child(2) .program-card,
  .program-col:nth-child(2) .program-image {
    flex: 1;
  }

  .program-heading {
    font-size: 22px;
  }

  .program-image {
    height: 140px;
  }
}

/* ==========================================================
   Closing CTA Section
   ========================================================== */

.closing-cta {
  width: 100%;
  min-height: 320px;
  background-color: #0d0c0a;
  background-image: url("../images/service/close-cta-bg.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  display: flex;
  align-items: center;
  font-family: "Poppins", sans-serif;
}

.closing-cta-container {
  width: 100%;
  max-width: 1580px;
  margin: 0 auto;
  padding: 70px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.closing-cta-content {
  max-width: 640px;
}

.eyebrow--light {
  color: #ffffff;
}

.closing-cta-heading {
  font-family: "Unbounded", sans-serif;
  font-weight: 800;
  font-size: 40px;
  line-height: 1.25;
  color: var(--color-white);
  letter-spacing: -0.5px;
  margin: 12px 0 16px;
}

.closing-cta-text {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: var(--fs-body-md);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  /*max-width: 460px;*/
}

.closing-cta-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.btn-dark {
  background-color: #141414;
  color: var(--color-white);
  font-weight: 700;
  font-size: 13.5px;
  padding: 16px 26px;
  border-radius: 0px;
  white-space: nowrap;
  transition:
    background-color 0.25s ease,
    transform 0.15s ease;
}

.btn-dark:hover {
  background-color: #262626;
  transform: translateY(-1px);
}

.closing-cta-link {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--color-white);
  text-decoration: underline;
  text-decoration-color: #ff6404;
  text-underline-offset: 5px;
  white-space: nowrap;
}

.closing-cta-link:hover {
  color: #ff6404;
}

/* ==========================================================
   Responsive Breakpoints — Closing CTA
   ========================================================== */

/* Tablet */
@media (max-width: 1024px) {
  .closing-cta-container {
    padding: 60px 20px;
    gap: 30px;
  }

  .closing-cta-heading {
    font-size: 28px;
  }
}

/* Small tablet / large phone */
@media (max-width: 768px) {
  .closing-cta {
    background-position: top right;
    background-size: 160% auto;
  }

  .closing-cta-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 50px 20px 220px;
  }

  .closing-cta-heading {
    font-size: 26px;
  }

  .closing-cta-text {
    font-size: 14px;
  }

  .closing-cta-actions {
    gap: 18px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .closing-cta {
    background-size: 220% auto;
    background-position: top center;
  }

  .closing-cta-container {
    padding: 40px 16px 240px;
  }

  .closing-cta-heading {
    font-size: 22px;
  }

  .closing-cta-actions {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .btn-dark {
    width: 100%;
    text-align: center;
  }
}

/* ==========================================================
   Team CTA Bar Section
   ========================================================== */

.team-cta {
  width: 100%;
  background-color: #0d0c0a;
  background-image: url("../images/service/cta-bg.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  font-family: "Poppins", sans-serif;
}

.team-cta-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 20px;
  display: flex;
  align-items: center; 
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.team-cta-heading {
  font-family: "Unbounded", sans-serif;
  font-weight: 600;
  font-size: 27px;
  line-height: 1.35;
  color: var(--color-white);
  max-width: 600px;
}

.team-cta-actions {
  flex-shrink: 0;
}

.btn-white {
  background-color: var(--color-white);
  color: #141414;
  font-weight: 700;
  font-size: 13.5px;
  padding: 17px 26px;
  border-radius: 0;
  white-space: nowrap;
  transition:
    background-color 0.25s ease,
    transform 0.15s ease;
}

.btn-white:hover {
  background-color: #ff6404;
  color: var(--color-white);
  transform: translateY(-1px);
}

/* ==========================================================
   Responsive Breakpoints — Team CTA Bar
   ========================================================== */

/* Tablet */
@media (max-width: 1024px) {
  .team-cta-container {
    padding: 50px 20px;
    gap: 30px;
  }

  .team-cta-heading {
    font-size: 26px;
  }
}

/* Small tablet / large phone */
@media (max-width: 768px) {
  .team-cta {
    background-position: top right;
    background-size: 180% auto;
  }

  .team-cta-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 20px 160px;
  }

  .team-cta-heading {
    font-size: 22px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .team-cta {
    background-size: 260% auto;
    background-position: top center;
  }

  .team-cta-container {
    padding: 32px 16px 180px;
  }

  .team-cta-heading {
    font-size: 19px;
  }

  .team-cta-actions {
    width: 100%;
  }

  .btn-white {
    width: 100%;
    text-align: center;
  }
}
