/* ==========================================
   MOBILE & TABLET RESPONSIVE STYLES (CLEANED)
   ========================================== */

/* Global Reset for Sticky Components */
html, body, main, section, .products-stack-section, .cards-stack-wrapper {
  overflow-x: clip !important;
  overflow-y: visible !important;
}

/* ------------------------------------------
   1. TABLET & LAPTOP (Max-width: 992px)
   ------------------------------------------ */
@media screen and (max-width: 992px) {
  .hero-section {
    padding:0px 0 10px 10px;
    background-position: right;
  }
  .gqTMHp, .floating{
    display: none;
  }
.hero-right {
    position: relative;
    right: 0px;
    top:  0px;
}


#rotating-logo {
    width: 100%;
    height:100%;
    object-fit: contain;
}
  .main-title {
    font-size: 48px;
    text-align: center;
  }

  .challenges-section .center-target-space {
    height: auto;
    grid-column: 1;
    grid-row: auto;
    margin: 20px auto 30px;
  }

  .challenges-section .challenges-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 30px;
  }

  .challenges-section .challenge-card {
    justify-content: center;
    text-align: center;
  }

  .challenges-section .card-text {
    max-width: 100%;
  }

  .challenges-section .connector-line,
  .arc-line-svg,
  .arc-timeline,
  .bottom-features-grid .feature-item:not(:last-child)::after {
    display: none;
  }

  .product-header .main-heading {
    font-size: 33px;
  }

  .product-card {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }

  .bottom-features-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .why-header h2 {
    font-size: 42px;
  }

  /* About & FAQ Section */
  .about-section {
    padding: 80px 0;
  }

  .about-content {
    max-width: 100%;
    text-align: center;
  }

  .about-content .main-title {
    font-size: 28px;
    display: block;
  }

  .about-visual-wrapper {
    margin-top: 30px;
    text-align: center;
  }
.about-visual-wrapper .cta{
  margin-top: 40px;
}
.categories-section {
    padding: 50px 0;
}
.categories-section .section-heading {
    font-family: 'Oswald', sans-serif;
    font-size:28px;
    font-weight: 700;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 27px;
    line-height: 1.1;
}
  .faq-section {
 padding: 50px 0;
  }

  .faq-main-title {
    font-size:28px;
  }

  .faq-sub-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .faq-question {
    font-size: 17px;
  }

  .menu-popup-card {
    width: 85%;
    display: inline-block;
    top: -52px;
  }

  .trusted-title {
    font-size: 48px;
  }

  .trusted-desc {
    font-size: 15px;
  }

  .stat-number {
    font-size: 70px;
  }

  .stat-label {
    font-size: 20px;
  }

  .stats-main-wrapper {
    padding-right: 0;
    justify-content: center;
  }

  .globe-wrapper {
    width: 500px;
    left: -150px;
    opacity: 0.5;
  }

  .border-left-column {
    border-left: none;
    padding-left: 12px !important;
  }

  .footer-title {
    font-size: 28px;
  }

  .contact-info .value {
    font-size: 17px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ------------------------------------------
   2. MOBILE DEVICES (Max-width: 768px)
   ------------------------------------------ */
@media screen and (max-width: 768px) {
  section {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
.title-line {
    display: block;
    width: auto;
}
  .about-content .main-title {
    font-size: 28px;
    display: block;
  }

.coolboots-policy-hero {
    padding: 44px 0px 40px 0px;
}
  /* Header & Navigation */
  .top-header {
    padding: 10px 0;
    background-color: #6101BF;
  }
  .hero-section .top-header-fixed {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: none;
    margin-bottom:50px;
    padding: 0px;
}
  .hero-right {
    position: relative;
    right: 0px;
    top: 0px;
}
#rotating-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.coolboots-policy-tag {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #222;
    display: inline-block;
    margin-bottom: 22px;
}
.coolboots-policy-left h1 {
    font-size: 40px;
    line-height: 1.1;
    font-weight: 700;
    color: #111;
    margin-bottom: 34px;
}
.coolboots-policy-update {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    padding: 0 23px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #ededf3;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .04);
    font-size: 13px;
    font-weight: 600;
    color: #111;
    letter-spacing: 1px;
}
  .main-nav-wrapper {
    width: 100%;
    padding: 0;
    transition: all 0.3s ease;
  }

  .header-logo,
  .top-header.scrolled .main-nav-wrapper .header-logo {
   height: 50px;
       
        padding: 0;
        border-radius: 9px;
        position: relative;
        top: 10px;
        padding-left:0px;
  }

  .top-contact-info,
  .nav-links,
  .sticky-menu-bar,
  .connector-line,
  .earth,
  .hex-left,
  .hex-right,
  .curve,
  .pia-left-col {
    display: none !important;
  }
.carousel-indicators {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 0px;
    margin: 0px auto;
}
  .menu-btn {
           color: #000;
        font-size: 20px;
        font-weight: 500;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        gap: 8px;
        padding-right: 10px;
   
  }

  .top-header-fixed.header-scrolled .menu-btn {
    color: #fff;
  }

  .menu-btn svg,
  .menu-btn i,
  .menu-btn span:first-child {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    height: auto;
    margin: 0;
    padding: 0;
  }

  .top-header-fixed {
    transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    padding-bottom: 20px;
  }

  .top-header-fixed.header-scrolled {
    background-color: #6101BF;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid #cbd5e1;
  }

  .top-header-fixed.header-scrolled .top-contact-details {
    color: #0f172a;
  }

  .hide-menu {
    display: flex;
    align-items: flex-end;
  }

  .menu-logo-img {
    width: 78px;
    object-fit: contain;
    padding-top: 5px;
    padding-left: 10px;
  }

  .menu-items {
    display: flex;
    flex-direction: column;
    gap: 7px;
    width: auto;
    margin-bottom: 7px;
  }

  .menu-link-btn {
    background: #fff;
    color: #000;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    padding: 12px 20px;
    border-radius: 12px;
    display: block;
    transition: transform 0.2s ease, background 0.2s ease;
    will-change: transform;
  }

  .overlay-close-bar {
    position: absolute;
    bottom: 110px;
    background: transparent;
    border-radius: 12px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  /* Hero Section */
  .hero-container {
    flex-direction: column-reverse;
    gap: 30px;
    align-items: center;
  }
.google-box {
    margin-top: 31px;
    margin-left: 0px;
    width: 100%;
}
  .hero-card-container {
    width: 100%;
    padding:0px;
    margin-top:200px;
    margin-left: 0;
    text-align: center;
    max-width: 100%;
  }

  .hero-center-globe {
    margin-top: 60px;
  }

  #floating-logo-container {
    position: absolute;
    top:320px;
             width: 300px;
  }

  .main-title {
font-size: 34px;
        line-height: 1.15;
        margin-bottom: 0px;
        display: block;
  }

  .card-title {
    font-size: 40px;
  }

  .card-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1.2px;
    display: block;
    margin-bottom: 4px;
    text-transform: uppercase;
    margin-top:0px;
  }

  .card-description {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #1e293b;
    line-height: 1.45;
    margin: 0 0 10px 0;
  }
.google-badge {
        width:180px;
    
    z-index: 1;
    position: relative;
}
  .card-btn {
   display: inline-flex;
  align-items: center;
  justify-content: center;
margin-top: 10px;
  gap: 10px;
  padding: 19px 29px;
  /* Exact Dark Purple to Vibrant Violet Gradient */
  background: linear-gradient(90deg, #18004b 0%, #5a00be 100%);
  color: #ffffff !important;
  font-family: 'Poppins', sans-serif;
  font-size:23px;
  font-weight: 700;
  text-decoration: none !important;
  border: none;
  outline: none;
  border-radius: 50px; /* Full Pill Shape */
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(90, 0, 190, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 1;
  }

  .btn-start-growing {
    background: linear-gradient(135deg, #7c12ff 0%, #4f00e9 100%);
    color: #ffffff;
    border: none;
    border-radius: 30px;
    padding: 10px 24px;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: 60px auto 0 auto;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(92, 0, 235, 0.3);
    transition: transform 0.2s ease;
  }

  .card-footer {
    display: none;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 16px;
    padding-left: 24px;
  }

.hero-section::before {
    content: '';
    position: absolute;
    top: 20px;
    display: none !important;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: calc(100% + 60px);
    background: #e2e8f0;
    pointer-events: none;
    z-index: 1; /* 🔥 '1' ko badal kar '-1' kar diya, ab line peeche chali jayegi */
}
.hero-section .container,
.hero-section .row,
.hero-section h1,
.hero-section h2,
.hero-section p {
    position: relative;
    z-index: 2; /* 🔥 Text hamesha line ke upar rahega */
}
  /* Challenges Section */
  .challenges-section {
    padding:0px 15px;
  }
.challenges-section .section-title {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 0px auto;
}
  .challenges-section .section-title h2 {
    font-size: 34px;
  }

  .challenges-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 30px !important;
    max-width: 100% !important;
  }

  .center-target-space {
    order: 1;
    width: 100% !important;
    min-height: auto !important;
    margin-bottom: 10px;
  }

  #logo-target-spot {
    width: 180px !important;
    height: 180px !important;
    margin: 0 auto;
  }

  .challenge-card {
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    background: #f8fafc;
    padding: 20px 15px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  }

  .challenge-card h4 {
    font-size: 22px;
  }

  .challenge-card.top-left     { order: 2; }
  .challenge-card.top-right    { order: 3; }
  .challenge-card.bottom-left  { order: 4; }
  .challenge-card.bottom-right { order: 5; }

  /* Product & Sliders */
  .products-section {
    position: relative;
    width: 100%;
    padding: 44px 20px 80px 20px;
  }

  .product-tabs {
    gap: 15px;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .product-tabs .tab-item {
    width: 90px;
  }

  .product-tabs .icon-box {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important;
  }

  .product-tabs .icon-box img {
    width: 40px !important;
    height: 40px !important;
  }

  .product-tabs .tab-item span {
    font-size: 13px;
  }

  .product-slider-wrapper .owl-carousel .owl-stage-outer {
    padding: 2px 0;
    overflow: hidden !important;
  }

  .owl-carousel .owl-item .product-card {
    padding: 40px 15px;
  }

  .product-card .card-image img {
    width: 100%;
    max-width: 190px;
    height: auto;
    max-height: 280px;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.2));
    margin-bottom: 30px;
    padding-top: 21px;
  }

  /* Sticky Stacking Cards */
  .cards-stack-wrapper {
    overflow: visible !important;
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .cards-stack-card {
   
  top: 60px !important; 
    margin-top: 0 !important;
    transform: none !important; /* Agar scale/translate lagaya tha to usko reset karein */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
  }

  .product-card-item {
    padding: 25px 20px 30px !important;
    border-radius: 24px !important;
  }

  .product-card-item:nth-child(1) { top: 70px !important;  z-index: 1; }
  .product-card-item:nth-child(2) { top: 70px !important; z-index: 2; }
  .product-card-item:nth-child(3) { top: 70px !important; z-index: 3; }
  .product-card-item:nth-child(4) { top: 70px !important; z-index: 4; }

  .card-inner-grid {
    flex-direction: column !important;
    gap: 15px !important;
    text-align: left;
  }

  .product-card-item .card-media {
    flex: 0 0 auto !important;
    margin: 0px auto 0 auto;
  }
.qureka-logo {
    width: 50px;
}
    .card-brand-badge {
        position: relative;
        top: 0px;
        right: 0px;
        height: auto;
        left: 0px;
        z-index: 5;
    }
  .product-card-item .card-media img {
           max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .product-card-item .card-title {
    font-size: 24px !important;
    margin-bottom: 10px !important;
  }

  .product-card-item .card-description {
    font-size: 13px !important;
    color: #334155;
    line-height: 1.6;
    margin-bottom: 10px !important;
    font-weight: 500;
    text-align: left;
  }

  .card-feature-list {
    margin-bottom: 20px !important;
    gap: 0px !important;
  }

  .card-feature-list li {
    font-size: 13px !important;
  }

  .product-card-item .card-btn-action {
    padding: 10px 24px !important;
    font-size: 14px !important;
    width: 100%;
    justify-content: center;
  }

  /* Timeline Section */
  .why-choose-section {
    padding: 60px 15px;
  }

  .why-header h2 {
    font-size: 28px;
    line-height: unset;
  }

  .timeline-container {
    padding-left: 25px;
  }

  .timeline-container .center-line-bg,
  .timeline-container .center-line-progress {
    left: 10px !important;
    transform: none !important;
    top: 40px;
  }
.why-header {
    text-align: center;
    margin-bottom: 24px;
}
  .timeline-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    margin-bottom: 45px !important;
    gap: 12px;
    padding-left: 15px;
  }

  .timeline-row.left-text,
  .timeline-row.right-text {
    flex-direction: column !important;
  }

  .timeline-row .content-side,
  .timeline-row .image-side {
    width: 100% !important;
    text-align: left !important;
  }

  .timeline-row.left-text .image-side,
  .timeline-row.right-text .image-side {
    justify-content: flex-start !important;
    order: 1;
  }

  .timeline-row.left-text .content-side,
  .timeline-row.right-text .content-side {
    order: 2;
  }

  .timeline-row .content-side h3 {
    font-size: 20px;
  }

  .timeline-row .content-side p {
    font-size: 14px;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .icon-card {
    width: 120px;
    height: 120px ;
    border-radius: 16px;
  }

  .icon-card img {
    width: 90px !important;
    height: 90px !important;
  }

  .node-point {
    left: -20px !important;
    top: 18px;
    transform: none !important;
  }

  .timeline-row.active-step .node-point {
    transform: scale(1.2) !important;
  }

  /* Trusted Dial Section */
  .trusted-section-mobile {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: #080617;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    overflow: hidden;
    color: #ffffff;
    touch-action: pan-y !important;
  }

  .dial-section,
  .dial-wheel-box,
  .pin-spacer {
    background-color: #0b071e !important;
  }

  .dial-wheel-box {
    position: relative;
    width: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .dial-svg-mobile {
    position: absolute;
    top: -226px;
    left: -39px;
    width: 400px;
    height: 600px;
    transform-origin: center;
    pointer-events: none;
  }

  .circle-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    pointer-events: none;
  }

  .trusted-section-mobile .trusted-title {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.05;
    color: #b1b2ff;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
  }

  .trusted-section-mobile .trusted-desc {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.35;
    max-width: 230px;
    margin: 0 auto;
  }

  /* PIA AI Modal */
  .pia-modal-card {
    max-width: 92%;
    margin: 15px auto;
    border-radius: 20px;
    max-height: 90vh;
    overflow-y: auto;
  }

  .pia-modal-body {
    min-height: auto;
    flex-direction: column;
  }

  .pia-right-col {
    width: 100% !important;
    padding: 24px 18px 20px 18px;
    gap: 16px;
  }

  .pia-chat-card {
    padding: 14px;
    border-radius: 14px;
  }

  .chat-message-bubble p {
    font-size: 14px;
    line-height: 1.5;
  }

  .pia-options-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .pia-opt-btn {
    padding: 12px 16px;
    font-size: 14px;
    border-radius: 10px;
  }

  .pia-input {
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 10px;
  }

  .pia-next-btn {
    padding: 14px;
    font-size: 15px;
    border-radius: 10px;
  }

  .pia-close-btn {
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .footer-section {
    position: relative;
    background: url(../images/footer.webp);
    padding:25px 20px 30px 20px;
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right;
  }
}

/* ------------------------------------------
   3. SMALL MOBILES (Max-width: 576px & Below)
   ------------------------------------------ */
@media (max-width: 576px) {
  .container {
          padding-left: 0px;
        padding-right: 0px;
  }
  .item .card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 25px;
    font-weight: 500;
    color: #6101BF;
    line-height: 1.1;
    margin: 0px;
    letter-spacing: -0.74px;
    text-transform: capitalize;
}
}

@media (max-width: 375px) {
  #floating-logo-container {
    top: 48%;
    }
  
.mira-character-img {
    position: absolute;
    right: 0px;
    bottom: 41px;
    height: 80px;
    width: 80px;
    z-index: 2;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
}
  .globe-img {
    max-width: 260px !important;
  }

  .hero-card-container {
    padding: 16px 12px;
  }

  .card-btn {
    padding: 10px 14px;
    font-size: 13px;
  }
}

@media (max-width: 320px) {
  .main-title {
    font-size: 24px !important;
  }

  #floating-logo-container {
    top: 59%;
  }

  .hero-section .top-header-fixed {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: solid 1px #e2e8f0;
    margin-bottom: 50px;
    padding: 0px;
}
  .title-line {
    white-space: normal !important;
  }
}

/* 📱 Mobile CSS Stacking Fix */
@media (max-width: 768px) {
  .cards-stack-wrapper {
    overflow: visible !important; /* Sticky behavior break na ho */
    display: flex;
    flex-direction: column;
    gap: 30px; /* Do cards ke beech proper gap */
  }
.about-content .cta {
    opacity: 1 !important;
    display: none !important;
}
  .cards-stack-card {
   top: 55px !important;
   position: inherit;
    transform: none !important;     
    translate: none !important;
    padding: 18px 16px !important;
    margin-top: 0 !important;
    border-radius: 24px !important;
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.5) !important;
  }
  .cards-stack-card img {
    max-height: 160px !important;
    margin-bottom: 8px !important;
  }
  .cards-stack-card:nth-child(1) { z-index: 10 !important; }
  .cards-stack-card:nth-child(2) { z-index: 20 !important; }
  .cards-stack-card:nth-child(3) { z-index: 30 !important; }
  .cards-stack-card:nth-child(4) { z-index: 40 !important; }
  .cards-stack-card:nth-child(5) { z-index: 50 !important; }
  .cards-stack-card h2, 
  .cards-stack-card h3 {
    font-size: 1.25rem !important;
    margin-bottom: 6px !important;
  }

  .cards-stack-card p {
    font-size: 12px !important;
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
  }

  /* Checkpoint / Feature items */
  .cards-stack-card ul,
  .cards-stack-card .feature-list {
    margin-bottom: 10px !important;
    gap: 4px !important;
  }

  .cards-stack-card li {
    font-size: 11.5px !important;
  }

  /* Know More Button */
  .cards-stack-card .know-more-btn,
  .cards-stack-card a.btn {
    padding: 8px 16px !important;
    font-size: 13px !important;
    margin-top: auto !important; /* Button ko hamesha bottom me lock rakhega */
  }
  .products-stack-section {
    position: relative;
    width: 100%;
    padding: 50px 20px 50px;
    background: url(../images/products.png) center / cover no-repeat fixed;
    color: #ffffff;
    overflow: visible !important;
    box-sizing: border-box;
    background-size: cover;
}
.predchamp {
    width: 70px;
}
.mgl {
    width: 70px;
}
.gamez {
    width: 100px;
}
.coolboots-contact-hero {
    padding:10px 0px 45px 0px;
}
.coolboots-office-card h2, .coolboots-contact-form-box h2 {
    font-size: 24px;
    font-weight: 700;
    color: #111;
    margin-bottom: 14px;
}
    .partnership-banner {
        padding: 1.8rem 1.2rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }
        .partnership-banner .banner-left {
        flex-direction: column;
    }
    .partnership-banner .banner-left .handshake-icon-wrap {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
}
.partnership-banner .banner-left .handshake-icon-wrap img {
    width: 100%;
    height: auto;
    display: block;
}
.products-desc {
    font-size: 16px;
    font-weight: 300;
    color: #fff;
    line-height:inherit;
    margin-bottom: 0rem;
}
}