/* Hero Section Styles */

/* Limit Header wrapper height so #eff3d6 background doesn't extend too far */
#Header_wrapper,
#Header {
    /* Smoothly scale height from 600px at 1240px down to 500px at 778px */
    height: clamp(500px, calc(21.65vw + 331.61px), 650px);
    overflow: visible;
    /* margin-bottom: 120px; */
}

.hero-section {
    position: relative;
    width: 100%;
    height: 900px; /* Default height from slider */
    background-image: url('../ai/images/assets/slide1_bkg.png');
    background-position: center top;
    background-repeat: no-repeat;
    background-size: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0 auto;
    max-width: 1240px; /* Limit the entire section width */
}

.hero-container {
    position: relative;
    width: 100%;
    padding: 0 60px;
    height: 100%;
    z-index: 10;
}

.hero-content {
    position: absolute;
    left: 60px;
    /* Smoothly scale 'top' from 200px at 1240px viewport to 120px at 1000px viewport */
    top: clamp(140px, 33.33vw - 213.33px, 200px);
    color: #000;
    z-index: 12;
}

.hero-title {
    font-family: 'Nunito Sans', sans-serif;
    font-size: clamp(48px, 6vw, 75px); /* Smooth scaling from 48px to 75px */
    font-weight: 700;
    line-height: clamp(48px, 6vw, 75px);
    margin: 0;
}

.hero-subtitle {
    font-family: 'Nunito Sans', sans-serif;
    font-size: clamp(16px, 1.8vw, 22px); /* Smooth scaling from 16px to 22px */
    font-weight: 200;
    line-height: clamp(24px, 2.7vw, 34px);
    margin: 30px 0;
    color: #f2f2f2;
}

.hero-button {
    font-family: 'Nunito', sans-serif;
    background-color: #E76347;
    color: #FBFDD2;
    padding: 12px 35px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: background-color 0.3s ease;
    display: inline-block;
    margin-top: 20px;
}

.hero-button:hover {
    color: #f2f2f2;
}

.hero-image {
    position: absolute;
    /* top: clamp(281px, calc(21.65vw - 1.39px), 341px); */ /* (Header Height - Image Height - 60px) */
    top: clamp(420px, calc(21.65vw + 1.61px), 341px);
    right: 0;
    z-index: 15;
    /* Smoothly scale width from 702px at 1240px viewport to 500px at 1000px viewport */
    width: clamp(500px, 84.17vw - 341.67px, 702px);
    /* Maintain aspect ratio */
    height: auto;
}

.hero-bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 180px;
    background-color: #fff;
    z-index: 8;
}

.hero-socials {
    position: absolute;
    /* top: clamp(490px, calc(21.65vw + 221.61px), 550px); */ /* (Header Height - 50px) */
    top: clamp(490px, calc(21.65vw + 221.61px), 550px);
    left: 65px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 17px;
    color: #000000;
    z-index: 14;
}

.hero-socials a {
    color: #848e9c;
    text-decoration: none;
    margin-left: 15px;
    font-size: 20px;
    transition: color 0.3s ease;
}

.hero-socials a:hover {
    color: #0068de;
}


/* Responsive Styles */

/* Tablet */
@media (max-width: 1240px) {
    .hero-container {
        padding: 0 40px;
    }
}

/* Mobile - image below text */
@media (max-width: 778px) {
    .hero-section {
        height: auto !important; /* Auto height for stacked layout */
        flex-direction: column;
        padding: 40px 0;
    }

    .hero-container {
        padding: 0; /* Remove padding */
        width: 100%; /* Ensure full width */
        display: block; /* Unset flex properties */
        text-align: center;
        order: 1; /* Text comes first */
    }

    .hero-content {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        max-width: 100% !important;
        text-align: center !important;
        z-index: 20 !important;
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
        margin-top: 0;
    }

    .hero-image {
        position: relative !important;
        width: 371px !important;
        height: 190px !important;
        margin: 40px auto 0 auto !important;
        order: 2;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        z-index: 10 !important;
    }

    .hero-bottom-bar {
        height: 125px !important;
    }

    .hero-socials {
       display: none !important;
    }

    .hero-button {
        font-size: 15px;
    }
}


p.the-problem-box-header {
    font-weight: 500;
    font-size: 18px;
    /* margin-bottom: 10px; */
    color: #000;
    font-style: italic;
}

/* ==== SOXE Timeline ==== */
.soxe-timeline-section{
  background-color:#2A4A6F; /* deep navy, non-white */
  /* background-image:
    linear-gradient(#2e4f75 1px, transparent 1px),
    linear-gradient(90deg, #2e4f75 1px, transparent 1px);
  background-size: 50px 50px, 50px 50px; */
  padding-top:110px;
  padding-bottom:110px;
  color:#E8ECF2;
}

.soxe-timeline-heading{ color:#fff; margin:10px 0 8px; }
.soxe-timeline-intro{ color:#fff; max-width:720px; text-align: justify;}

/* timeline layout */
.soxe-timeline{
  position:relative;
  margin-top:40px;
  padding:40px 0;
}
.soxe-timeline-spine{
  position:absolute; left:50%; top:0; bottom:0; width:3px;
  transform:translateX(-50%);
  background:rgba(232,236,242,0.12);
  border-radius:2px;
}
.soxe-timeline-progress{
  position:absolute; left:0; bottom:0; width:100%; height:0;
  background:#ff543d; /* accent */
  border-radius:2px;
  transition:height 0.25s ease-out;
}

.soxe-timeline-item{
  display:flex; align-items:flex-start; gap:40px;
  margin:0 0 40px;
}
.soxe-timeline-item:nth-child(odd){ flex-direction:row-reverse; }
.soxe-timeline-item::before{
  content:"";
  flex:1 1 50%;
}
.soxe-timeline-item .soxe-timeline-card{
  position:relative;
  flex:1 1 50%;
  background:rgba(255,255,255,0.03);
  /* border:1px solid rgba(232,236,242,0.08); */
  /* border-radius:3px; */
  padding:26px 26px 22px;
  /* box-shadow:0 6px 24px rgba(0,0,0,0.25); */
  /* transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease; */
}
.soxe-timeline-item .soxe-timeline-card:hover{
  /* transform:translateY(-2px); */
  /* border-color:rgba(255,84,61,0.35); */
  box-shadow:0 10px 28px rgba(0,0,0,0.32);
}

/* node dots connecting to spine */
.soxe-timeline-item .soxe-timeline-card::after{
  content:"";
  position:absolute; top:32px; width:14px; height:14px; border-radius:50%;
  /* background:#ff543d; box-shadow:0 0 0 4px rgba(255,84,61,0.25); */
}
.soxe-timeline-item:nth-child(even) .soxe-timeline-card::after{
  left:-47px;
}
.soxe-timeline-item:nth-child(odd) .soxe-timeline-card::after{
  right:-47px;
}

/* badge */
.soxe-step-badge {
    display: inline-block;
    background: #0068de;
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.5px;
    font-size: 15px;
    line-height: 1;
    padding: 5px 7px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 12px;
}

/* text */
.soxe-timeline-card h5{ color:#fff; margin:6px 0 8px; }
.soxe-timeline-card p{ color:#CFD6E3; margin:0 0 10px; }
.soxe-card-meta{ margin:0; padding:0; list-style:none; }
.soxe-card-meta li{ color:#9FB0C8; font-size:14px; }

/* CTA button inside dark section */
.soxe-timeline-cta{
  background-color:#ff543d !important;
  color:#fff !important;
  border-radius:25px;
}
.soxe-timeline-cta:hover{ background-color:#e44c37 !important; }

/* responsive */
@media (max-width: 991px){
  .soxe-timeline-spine{ left:18px; transform:none; }
  .soxe-timeline-item{ flex-direction:row; gap:16px; }
  .soxe-timeline-item::before{ display:none; }
  .soxe-timeline-item .soxe-timeline-card{ flex:1 1 auto; }
  .soxe-timeline-item .soxe-timeline-card::after{ left:-33px; right:auto; }
}
@media (max-width: 575px){
  .soxe-timeline-section{ padding-top:80px; padding-bottom:80px; }
  .soxe-timeline-item .soxe-timeline-card{ padding:20px; border-radius:14px; }
  .soxe-timeline-item .soxe-timeline-card::after{ top:26px; left:-30px; }
}



.privacy-promise-section {
    color: #46040c !important;
}


.section-the-problem {
  background-color: #FBFDD2;
  padding-top: 120px;
  padding-bottom: 40px
}
