  .marquee-container {
    overflow: hidden;
    position: relative;
    width: 100%;
  }

  .marquee-track {
    display: flex;
    gap: 10px;
    /* reduces space between cards */
    animation: scroll 25s linear infinite;
  }

  .marquee-track .col-md-2 {
    flex: 0 0 auto;
    /* prevents shrinking */
    margin-right: 0;
    /* remove extra margin */
  }

  @keyframes scroll {
    0% {
      transform: translateX(0%);
    }

    100% {
      transform: translateX(-50%);
      /* adjust for seamless scroll */
    }
  }

  .hover-zoom {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .hover-zoom:hover {
    transform: scale(1.05);
    /* slightly enlarge */
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.3);
    /* optional: enhance shadow */
  }

  .steps {
    display: flex;
    flex-direction: column;
    /* column-wise layout */
    align-items: center;
    gap: 2rem;
    /* space between steps */
  }

  .step-img {
    width: auto;
    height: 100px;
    /* keeps height fixed */
    max-width: 100%;
    object-fit: contain;
    /* maintain aspect ratio */
  }

  .step-img {
    width: auto;
    height: 100px;
    max-width: 100%;
    object-fit: contain;
    animation: float 3s ease-in-out infinite;
    /* continuous float */
  }

  @keyframes float {
    0% {
      transform: translateY(0px);
    }

    50% {
      transform: translateY(-10px);
      /* move up 10px */
    }

    100% {
      transform: translateY(0px);
    }
  }

  .hero-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    /* light background */
  }

  .hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    /* wraps on smaller screens */
    gap: 2rem;
  }

  .hero-text {
    flex: 1 1 400px;
    /* grows, shrinks, minimum width */
    max-width: 600px;
  }

  .hero-text h1 {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .hero-text .highlight {
    color: #007bff;
    /* highlight color */
  }

  .hero-text .blue {
    color: #0d6efd;
  }

  .hero-buttons {
    margin-top: 20px;
  }

  .hero-image {
    flex: 1 1 400px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero-image video {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
  }


/* FULLY OPTIMIZED CSS + COUNTDOWN SCRIPT  */

/* Hide scrollbar but keep scroll */
#trendScroll::-webkit-scrollbar {
  display: none;
}

/* Text clamp for titles */
.title-clamp {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.4em;
  max-height: 2.8em;
}

/* MOBILE OPTIMIZATION */
@media (max-width: 767.98px) {

  /* Show ~2.1 to 2.3 cards */
  .trending-card {
    flex: 0 0 158px !important;
    width: 170px !important;
  }

  .card-img-wrapper {
    height: 165px !important;
  }

  /* Smaller fonts */
  .title-clamp {
    font-size: 0.80rem !important;
  }

  .domain-text {
    font-size: 0.69rem !important;
  }

  .badge-text {
    font-size: 0.62rem !important;
    padding: 3px 7px !important;
  }

  .countdown-text {
    font-size: 0.64rem !important;
  }

  .view-btn {
    font-size: 0.73rem !important;
    padding: 5px 12px !important;
  }

  /* Scroll buttons */
  button[onclick*="scrollBy"] {
    display: none !important;
  }

  #trendScroll {
    gap: 10px !important;
    padding: 8px 4px !important;
  }

  .viewall-btn {
    font-size: 0.9rem !important;
    padding: 10px 28px !important;
  }
}

/* Extra small phones */
@media (max-width: 380px) {
  .trending-card {
    flex: 0 0 150px !important;
    width: 150px !important;
  }

  .card-img-wrapper {
    height: 155px !important;
  }
}

/* CSS + COUNTDOWN (same logic as Trending section) */

#ratedScroll::-webkit-scrollbar {
  display: none;
}

.title-clamp {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.4em;
  max-height: 2.8em;
}

@media (max-width: 767.98px) {
  .rated-card {
    flex: 0 0 158px !important;
    width: 158px !important;
  }

  .card-img-wrapper {
    height: 165px !important;
  }

  .title-clamp {
    font-size: 0.80rem !important;
  }

  .domain-text {
    font-size: 0.69rem !important;
  }

  .badge-text {
    font-size: 0.62rem !important;
    padding: 3px 7px !important;
  }

  .countdown-text {
    font-size: 0.64rem !important;
  }

  .view-btn {
    font-size: 0.73rem !important;
    padding: 5px 12px !important;
  }

  button[onclick*="ratedScroll"] {
    width: 34px !important;
    height: 34px !important;
  }

  #ratedScroll {
    gap: 10px !important;
    padding: 8px 4px !important;
  }

  .viewall-btn {
    font-size: 0.9rem !important;
    padding: 10px 28px !important;
  }
}

@media (max-width: 380px) {
  .rated-card {
    flex: 0 0 150px !important;
    width: 150px !important;
  }

  .card-img-wrapper {
    height: 155px !important;
  }
}


/* CSS for mobile mockup */

/* Mobile Frame */
.mobile-frame {
  width: 280px;
  height: 560px;
  border-radius: 36px;
  position: relative;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Notch / top speaker */
.mobile-notch {
  width: 60px;
  height: 10px;
  background: #333;
  border-radius: 5px;
  position: absolute;
  top: 10px;
}

/* Screen inside mobile */
.mobile-screen {
  width: 90%;
  height: 90%;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Image inside screen - centered and fully visible */
.testimonial-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* ensures full image is visible */
  object-position: center;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .mobile-frame {
    width: 220px;
    height: 440px;
  }
}

@media (max-width: 768px) {
  .mobile-frame {
    width: 180px;
    height: 360px;
  }
}

@media (max-width: 576px) {
  .mobile-frame {
    width: 150px;
    height: 300px;
  }
}





.jg_body_wrapper {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color:white;
    margin: 0;
    padding: 40px;
    min-height: 100vh;
    overflow-x: hidden;
}
 
.jg_main_heading_title {
    text-align: center;
    background: linear-gradient(to right, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 60px;
    margin-bottom: 30px;
}
 
.jg_nav_container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    position:relative;
    z-index: 10;
    margin-top: 80px;    
    margin-bottom: 40px
}
 
.jg_nav_container button {
    background-color: #333;
    border: none;
    border-radius: 30px;
    padding: 0;
    transition: all 0.3s ease;
}
 
.jg_btn_nav_link {
    display: inline-block;
    padding: 12px 30px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}
 
.jg_nav_container button:hover {
    transform: translateY(-5px);
    background-color: #00f2fe;
}
 
.jg_marquee_scroll_box {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding-top: 60px 0;
}
 
.jg_gallery_grid_main {
    display: none;
    gap: 30px;
    width: max-content;
}
 
/* Infinite Loop Logic */
#delivery:target, #classes:target, #internship:target, #delivery {
    display: flex;
    animation: jg_infinite_marquee_anim 20s linear infinite;
}
 
@keyframes jg_infinite_marquee_anim {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
 
.jg_gallery_grid_main a {
    display: inline-block;
    animation: jg_jumping_animation 3s ease-in-out infinite;
}
 
@keyframes jg_jumping_animation {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}
 
.jg_gallery_grid_main img {
    visibility: visible !important;
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    transition: 0.4s;
}
 
.jg_gallery_grid_main a:hover img {
    transform: scale(1.1) rotate(3deg);
    border: 3px solid #00f2fe;
}
 
.jg_popup_overlay_unique {
    scroll-margin-top: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding-top: 50px;
}
 
.jg_popup_overlay_unique:target {
    visibility: visible;
    display: flex;
}
 
.jg_popup_content_container {
    width: 65%;
    height: 65%;
    background: white;
    border-radius: 20px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    overflow: hidden;
    border: 5px solid white;
}
 
.jg_popup_content_container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
}
 
.jg_arrow_nav_left, .jg_arrow_nav_right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    user-select: none;
    padding: 20px;
    z-index: 1005;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
}
 
.jg_arrow_nav_right { right: 20px; }
.jg_arrow_nav_left { left: 20px; }
 
.jg_arrow_nav_left:hover, .jg_arrow_nav_right:hover {
    color: #00f2fe;
    background: rgba(255, 255, 255, 0.7);
    transform: translateY(-50%) scale(1.1);
}
 
.jg_close_x_btn {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 40px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    z-index: 1006;
}
 
.jg_close_x_btn:hover { color: red; }
 
:target ~ #delivery { display: none; }