@media screen and (min-width: 320px) and (max-width: 450px) {
  .smart-tools-head h1 {
    font-size: 18px;
  }
}

@media screen and (min-width: 300px) and (max-width: 320px) {
  .cont-fluid {
    padding: 0px 20px;
  }

  .cont-fluid img {
    width: 30px;
    height: 30px;
  }

  .cont-fluid ul {
    flex-direction: row;
    justify-content: end;
    gap: 7px !important;
  }

  .cont-fluid ul button {
    font-size: 10px;
    padding: 6px 15px !important;
  }

  .circle-container {
    width: 250px;
    height: 250px;
  }

  .secure-img {
    width: 70px;
    height: 85px;
  }

  .secure-content {
    width: 90%;
  }

  .secure-content h2 {
    width: 100%;
    font-size: 25px;
  }

  .secure-content p {
    line-height: 20px;
    width: 100%;
    font-size: 12px;
    margin: 15px auto;
  }

  .secure-bg {
    padding: 80px 0px;
  }

  .glow-circle:nth-child(1) {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(203, 166, 95, 0.15) 0%, rgba(203, 166, 95, 0.08) 60%, rgba(203, 166, 95, 0.12) 100%);
    animation-delay: 0.1s, 0s;
  }

  .glow-circle:nth-child(2) {
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(203, 166, 95, 0.12) 0%, rgba(203, 166, 95, 0.06) 60%, rgba(203, 166, 95, 0.1) 100%);
    animation-delay: 0.3s, 0s;
  }

  .glow-circle:nth-child(3) {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(203, 166, 95, 0.1) 0%, rgba(203, 166, 95, 0.05) 60%, rgba(203, 166, 95, 0.08) 100%);
    animation-delay: 0.5s, 0s;
  }

  .glow-circle:nth-child(4) {
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(203, 166, 95, 0.08) 0%, rgba(203, 166, 95, 0.04) 60%, rgba(203, 166, 95, 0.06) 100%);
    animation-delay: 0.8s, 0s;
  }

  .glow-circle:nth-child(5) {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(203, 166, 95, 0.06) 0%, rgba(203, 166, 95, 0.03) 60%, rgba(203, 166, 95, 0.05) 100%);
    animation-delay: 1.3s, 0s;
  }




  .free-access-btn {
    /* background-color: rgba(255, 255, 255, 0.25) !important; */
    background-color: white !important;
    color: black !important;
    border-radius: 30px !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
    border: none !important;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-family: Inter;
    /* font-weight: 600; */
    font-size: 1.25rem;
  }



}

@media screen and (min-width: 321px) and (max-width: 768px) {

  .beyond-scale-content {
    width: 90%;
  }

  .beyond-scale-content h3 {
    font-size: 28px;
  }

  .phone img {
    width: 250px;
  }

  .beyond-scale-content p {
    font-size: 15px;
    margin-top: -60px;
    width: 100%;
  }

  /* LEFT IMAGE SIZES */
  .bg-left img:nth-child(1) {
    width: 120px;
  }

  .bg-left img:nth-child(2) {
    width: 120px;
  }

  .bg-left img:nth-child(3) {
    width: 70px;
  }

  /* RIGHT IMAGE SIZES */
  .bg-right img:nth-child(1) {
    width: 70px;
  }

  .bg-right img:nth-child(2) {
    width: 100px;
  }

  .bg-right img:nth-child(3) {
    width: 120px;
  }

  .bg-right img:nth-child(4) {
    width: 90px;
  }

  /* MOBILE FAN-OUT POSITIONS (applied via .active for scroll trigger) */
  .phone-container.active .bg-left img:nth-child(1) {
    opacity: 1;
    transform: translate(-175px, -130px) scale(1);
  }

  .phone-container.active .bg-left img:nth-child(2) {
    opacity: 1;
    transform: translate(-181px, -52px) scale(1);
  }

  .phone-container.active .bg-left img:nth-child(3) {
    opacity: 1;
    transform: translate(-130px, 10px) scale(1);
  }

  .phone-container.active .bg-right img:nth-child(1) {
    opacity: 1;
    transform: translate(60px, -130px) scale(1);
  }

  .phone-container.active .bg-right img:nth-child(2) {
    opacity: 1;
    transform: translate(63px, -73px) scale(1);
  }

  .phone-container.active .bg-right img:nth-child(3) {
    opacity: 1;
    transform: translate(63px, -15px) scale(1);
  }

  .phone-container.active .bg-right img:nth-child(4) {
    opacity: 1;
    transform: translate(60px, 13px) scale(1);
  }

  /* SECTION SPACING */
  .beyond-scale {
    padding: 50px 0;
  }

  /* 


  .dark-side-content {
    width: 90%;
  }

  .image-container {
    height: 450px;
  }

  .dark-side-content h3 {
    font-size: 25px;
  }

  .dark-side-content p {
    font-size: 15px;
  }

  .dark-side {
    padding: 90px 0px;
  } */

  .circle-container {
    width: 250px;
    height: 250px;
  }

  .secure-img {
    width: 70px;
    height: 85px;
  }

  .secure-content {
    width: 90%;
  }

  .secure-content h2 {
    width: 100%;
    font-size: 25px;
  }

  .secure-content p {
    line-height: 20px;
    width: 100%;
    font-size: 12px;
    margin: 15px auto;
  }

  .secure-bg {
    padding: 80px 0px;
  }

  .glow-circle:nth-child(1) {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(203, 166, 95, 0.15) 0%, rgba(203, 166, 95, 0.08) 60%, rgba(203, 166, 95, 0.12) 100%);
    animation-delay: 0.1s, 0s;
  }

  .glow-circle:nth-child(2) {
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(203, 166, 95, 0.12) 0%, rgba(203, 166, 95, 0.06) 60%, rgba(203, 166, 95, 0.1) 100%);
    animation-delay: 0.3s, 0s;
  }

  .glow-circle:nth-child(3) {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(203, 166, 95, 0.1) 0%, rgba(203, 166, 95, 0.05) 60%, rgba(203, 166, 95, 0.08) 100%);
    animation-delay: 0.5s, 0s;
  }

  .glow-circle:nth-child(4) {
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(203, 166, 95, 0.08) 0%, rgba(203, 166, 95, 0.04) 60%, rgba(203, 166, 95, 0.06) 100%);
    animation-delay: 0.8s, 0s;
  }

  .glow-circle:nth-child(5) {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(203, 166, 95, 0.06) 0%, rgba(203, 166, 95, 0.03) 60%, rgba(203, 166, 95, 0.05) 100%);
    animation-delay: 1.3s, 0s;
  }

  /* 
  .faq-head h2 {
    font-size: 30px;
  }

  .faq-head span {
    top: -15%;
    left: 20%;
    letter-spacing: 2px;
    font-size: 10px;
  }

  .questions-cards {
    width: 90%;
    padding: 30px 0px;
  }

  .faq-1,
  .faq-2 {
    width: 100%;
  } */

  .acc-item h2 button {
    padding: 0px 20px;
  }

  .acc-item h2 button p {
    width: 80%;
    font-size: 18px;
  }

  .accordion-button::after {
    font-size: 1rem;
  }

  .accordion-button {
    height: 70px;
  }

  .acc-bdy {
    font-size: 12px;
  }



  .cont-fluid {
    padding: 0px 20px;
  }

  .cont-fluid img {
    width: 30px;
    height: 30px;
  }

  .cont-fluid ul {
    flex-direction: row;
    justify-content: end;
    gap: 10px !important;
  }

  .cont-fluid ul button {
    font-size: 10px;
    padding: 6px 15px !important;
  }

  #navbarNav {
    width: 80%;
  }


  .free-access-btn {
    /* background-color: rgba(255, 255, 255, 0.25) !important; */
    background-color: white !important;
    color: black !important;
    border-radius: 30px !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
    border: none !important;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-family: Inter;
    /* font-weight: 600; */
    font-size: 1.25rem;
  }


}



/* ========== RESPONSIVE DESIGN ========== */

/* Large Tablets */
@media (max-width: 1200px) {
  .smart-tools-content {
    padding: 0 60px;
  }

  .smart-tools-head {
    font-size: 50px;
  }

  .smart-goals h3,
  .healthy-insights h3,
  .data-integration h3 {
    font-size: 45px;
  }

  .smart-goals p,
  .healthy-insights p,
  .data-integration p {
    font-size: 22px;
  }
}


@media screen and (max-width: 992px) and (orientation:landscape) {

  .healthy-insights,
  .data-integration {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
}

/* Tablets */
@media (max-width: 992px) {

  .beyond-scale-content p {
    font-size: 16px;
    top: -34px;
  }


  .smart-tools-content {
    flex-direction: column;
    align-items: center;
    padding: 0 40px;
  }

  .smart-goals,
  .insight-integration {
    width: 100%;
  }

  .healthy-insights {
    gap: 0px !important;
  }

  .healthy-insights .img-fluid {
    margin-bottom: 0px !important;
  }

  .healthy-insights,
  .data-integration {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .healthy-insights img,
  .data-integration img {
    width: 55% !important;
    margin: 0 auto;
  }

  .smart-tools-head {
    font-size: 45px;
  }

  .smart-goals h3,
  .healthy-insights h3,
  .data-integration h3 {
    font-size: 40px;
  }

  .smart-goals p,
  .healthy-insights p,
  .data-integration p {
    font-size: 20px;
  }
}

/* Mobile Devices */
@media (max-width: 600px) {
  .smart-tools {
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
  }

  .smart-tools-head {
    font-size: 28px;
    padding: 0px 1%;


  }

  .smart-tools-content {
    padding: 0 20px;
    gap: 30px;
  }

  .smart-goals,
  .healthy-insights,
  .data-integration {
    padding: 25px 15px !important;
  }

  .smart-goals h3,
  .healthy-insights h3,
  .data-integration h3 {
    font-size: 30px;
  }

  .smart-goals p,
  .healthy-insights p,
  .data-integration p {
    font-size: 18px;
  }

  .healthy-insights img,
  .data-integration img {
    width: 80%;
  }
}

/* Small Mobile */
@media (max-width: 767px) {
  .smart-tools-head {
    font-size: 28px;
  }

  .smart-goals h3,
  .healthy-insights h3,
  .data-integration h3 {
    font-size: 26px;
  }

  .smart-goals p,
  .healthy-insights p,
  .data-integration p {
    font-size: 16px;
  }


  /* ---------------- Sliders Section ---------------- */
  .sliders {
    height: 1000px;
    display: flex;
    flex-direction: column;
    position: relative;
  }

  /* ---------------- Image Slider (Position 2 - Base Layer) ---------------- */
  .sliders-img {
    order: 2;
    width: 100%;
    height: 100% !important;
    position: relative;
    overflow: hidden;
    /* margin-top: 40%; */
    bottom: 0%;
    padding-top: 10%;
  }

  /* Ensure pictures and images fill the new height */
  .sliders-img picture,
  .sliders-img picture img {
    height: 100%;
    width: 100%;
  }

  /* ---------------- Text Slider (Position 1 - Overlay Layer) ---------------- */
  .sliders-content {
    order: 1;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 15%;
    left: 0;

    padding: 50px 20px;
    overflow: hidden;
    z-index: 10;
  }

  .text-slide {
    height: 100%;
    width: 100%;
    flex-shrink: 0;
    align-items: flex-start;
  }

  /* Text style adjustments for mobile readability */
  .sliders-content h4 {
    font-size: 80px;
    line-height: 80px;
    padding-top: 75%;
  }

  .sliders-content p {
    font-size: 14px;
  }

  /* ---------------- Image Slider (Downward, Slide Left) - Position 2 ---------------- */
  .sliders-img {
    order: 2;
    width: 100%;
    height: 60%;
    position: relative;
    overflow: hidden;
  }

  .img-track {
    flex-direction: row;
    /* Horizontal layout for images */
    height: 100%;
    position: absolute;
    /* Keep absolute/fixed positioning for JS slide logic */
    width: 100%;
    /* Important for horizontal slides */
  }

  /* Ensure pictures and images fill the new height */
  .sliders-img picture,
  .sliders-img picture img {
    height: 100%;
    width: 100%;
  }


}

@media screen and (min-width: 320px) and (max-width: 768px) {
  .dark-side {
    padding: 90px 0;
    position: relative;
  }

  .dark-side-content {
    width: 90%;
    text-align: center;
    margin: auto;
  }

  .dark-side-content h3 {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 10px;
  }

  .image-container {
    width: 100%;
    height: 320px;
    margin: 20px auto;
    position: relative;
  }

  .dark-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 1s ease;
  }

  .dark-img.hover-img {
    opacity: 0;
    /* initially hidden */
  }

  .dark-side.active .default-img {
    opacity: 0;
  }

  .dark-side.active .hover-img {
    opacity: 1;
  }

  .dark-side-content p {
    font-size: 16px;
    line-height: 1.4;
    color: #EDEDED;
    margin-top: 15px;
    padding: 0 10px;
  }

  /* background overlay */
  .dark-side::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/anim_bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 1s ease, transform 1s ease;
    z-index: 0;
  }

  .dark-side.active::before {
    opacity: 1;
    transform: scale(1);
  }
}

/* ====================== */
/* IPAD / TABLET PRO (769px – 1024px) */
/* ====================== */
@media screen and (min-width: 769px) and (max-width: 1366px) {

  /* ======================= */
  /* BEYOND SCALE SECTION */
  /* ======================= */
  .beyond-scale {
    padding: 100px 0;
    /* more vertical space */
    background-size: 140% auto;
    /* bigger background */
    background-position: center top;
    background-repeat: no-repeat;
  }

  .beyond-scale-content {
    width: 85%;
    margin: auto;
  }

  .beyond-scale-content h3 {
    font-size: 45px;
  }

  .beyond-scale-content p {
    font-size: 20px;
    margin-top: -100px;
    max-width: 800px;
  }

  /* ======================= */
  /* PHONE IMAGE */
  /* ======================= */
  .phone img {
    width: 450px;
    max-width: 80vw;
  }

  /* ======================= */
  /* LEFT IMAGE SIZES */
  /* ======================= */
  .bg-left img:nth-child(1) {
    width: 180px;
  }

  .bg-left img:nth-child(2) {
    width: 180px;
  }

  .bg-left img:nth-child(3) {
    width: 120px;
  }

  /* ======================= */
  /* RIGHT IMAGE SIZES */
  /* ======================= */
  .bg-right img:nth-child(1) {
    width: 120px;
  }

  .bg-right img:nth-child(2) {
    width: 160px;
  }

  .bg-right img:nth-child(3) {
    width: 180px;
  }

  .bg-right img:nth-child(4) {
    width: 150px;
  }

  /* ======================= */
  /* SCROLL TRIGGER FAN-OUT POSITIONS */
  /* ======================= */
  .phone-container.active .bg-left img:nth-child(1) {
    opacity: 1;
    transform: translate(-288px, -215px) scale(1);
  }

  .phone-container.active .bg-left img:nth-child(2) {
    opacity: 1;
    transform: translate(-280px, -81px) scale(1);
  }

  .phone-container.active .bg-left img:nth-child(3) {
    opacity: 1;
    transform: translate(-230px, 25px) scale(1);
  }

  .phone-container.active .bg-right img:nth-child(1) {
    opacity: 1;
    transform: translate(110px, -220px) scale(1);
  }

  .phone-container.active .bg-right img:nth-child(2) {
    opacity: 1;
    transform: translate(115px, -115px) scale(1);
  }

  .phone-container.active .bg-right img:nth-child(3) {
    opacity: 1;
    transform: translate(120px, -14px) scale(1);
  }

  .phone-container.active .bg-right img:nth-child(4) {
    opacity: 1;
    transform: translate(113px, 30px) scale(1);
  }

  /* Background hover */
  .phone-container.active .bg-hover {
    opacity: 1;
  }
}