
/* =========================================================
   6. Hero Section
   ========================================================= */
.hero {
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(var(--space-6), 5vw, var(--space-12));
  align-items:center;
}
.hero-inner {
  max-width: 56ch;
}
.hero h1 {
  font-size:clamp(1.875rem, 3.5vw + 1rem, 3rem);
  line-height:1.06; margin:0;
  letter-spacing: -0.02em;
}
.hero p { color: var(--text-muted); margin-top: var(--space-4); font-size:1.025rem; }

/* card on right */
.hero .card {
  background:var(--card-bg);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-8);
  box-shadow: var(--shadow-2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* HERO SECTION */
#jv_hero {
  background-color: #0a165a;
  padding: 80px 20px;
  overflow: hidden; /* allow image overflow safely */
}

/* CONTAINER */
.jv_hero_container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
}

/* LEFT CONTENT */
.jv_hero_content {
  flex: 1;
  color: #ffffff;
  z-index: 2;
}

.jv_hero_content h1 {
  font-size: 44px;
  margin-bottom: 16px;
}

.jv_hero_content p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.jv_hero_list {
  list-style: none;
  padding: 0;
  margin: 20px 0 30px;
}

.jv_hero_list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  margin-bottom: 12px;
  color: #ffffff;
}

.jv_check_icon {
  font-size: 20px;
  color: #4ade80; /* green check */
  flex-shrink: 0;
}

/* BUTTON */
.jv_hero_btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: #ffffff;
  color: #0a165a;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
}

/* RIGHT IMAGE */
.jv_hero_image {
  flex: 1.4;              /* make image area bigger */
  position: relative;
  text-align: right;
}

.jv_hero_image img {
  width: 140%;            /* BIG image */
  max-width: none;
  height: auto;
  transform: translateX(18%); /* push outside */
}

/* =====================
   MOBILE VIEW
   ===================== */
@media (max-width: 768px) {
  .jv_hero_container {
    flex-direction: column;
    text-align: center;
  }

  /* Image FIRST on mobile */
  .jv_hero_image {
    order: 1;
    text-align: center;
  }

  .jv_hero_image img {
    width: 100%;
    transform: none;
  }

  /* Content SECOND on mobile */
  .jv_hero_content {
    order: 2;
  }

  .jv_hero_content h1 {
    font-size: 32px;
  }

  .jv_hero_content p {
    font-size: 16px;
  }
}





.hero .card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15,23,42,.16); }


/* =========================================================
   7. Features Grid with Animation
   ========================================================= */
.mc_features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  max-width: 1200px;
  margin: 0 auto;
}

.mc_feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-6);
  box-shadow: var(--shadow-1);
  transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.6s ease;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);

  /* Scroll animation start state */
  opacity: 0;
  transform: translateY(40px);
}

.mc_feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-2);
}

/* Active state when in viewport */
.mc_feature-card.mc_in-view {
  opacity: 1;
  transform: translateY(0);
}

.mc_feature-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.mc_feature-header img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.mc_feature-card h3 {
  margin: 0;
  font-size: 1.125rem;
}

.mc_feature-card p {
  margin: 0;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 992px) {
  .mc_features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .mc_features {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   8. Content + Sidebar Layout
   ========================================================= */
.content {
  display:grid;
  grid-template-columns: 1fr minmax(280px, 360px);
  gap: clamp(var(--space-6), 5vw, var(--space-12));
}
.prose {
  background: var(--card-bg);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-8);
}
.sidebar {
  position:sticky; top: 96px; align-self:start;
  background: var(--card-bg);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-6);
}
.sidebar ul { list-style:none; padding:0; margin:0; /* display:grid;*/ gap: var(--space-3); }
.sidebar a { color:#0f172a; text-decoration:none; transition: color 0.2s ease; }
.sidebar a:hover { color:var(--brand); }

/* =========================================================
   9. CTA Band
   ========================================================= */
.cta-band {
  background: linear-gradient(135deg, #eff6ff, #ffffff);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
  padding: var(--space-6) 0;
}
.cta-wrap {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap: var(--space-6);
}


/* show hamburger at <= 992px */
@media (max-width: 992px) {
  .nav ul { display: none; }
  .hamburger { display:flex; }
  .cta-btn { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero .card { order: 3; margin-top: var(--space-6); }
  .features { grid-template-columns: repeat(6, 1fr); }
  .feature-card { grid-column: span 6; }
  .content { grid-template-columns: 1fr; }
  .sidebar { position: static; top: auto; }
}

/* micro responsive tweaks */
@media (max-width: 520px) {
  .nav { padding-inline: var(--space-4); height: 64px; }
  .brand { font-size: 1rem; }
  .hamburger { width:40px; height:40px; }
  .hero h1 { font-size: clamp(1.5rem, 6vw, 2.2rem); }
}

/* Separate brand image styling */
.mobile-brand-logo {
  /* width: 36px;  Slightly larger logo */
  height: 28px;
  padding-top: 8px;
  /*border-radius: 14px;  Adjusted for larger size */
  object-fit: cover;
  /*box-shadow: var(--shadow-1, 0 2px 4px rgba(0, 0, 0, 0.1));*/
  display: inline-block;
  margin-right: var(--space-4, 16px); /* Added margin for separation */
}


.custom-list-container {
    width: 100%;
    margin: 2px auto;
    /* background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); */
    border-radius: 4px;
    padding: 2px;
    /* box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); */
    font-family: 'Arial', sans-serif;
}
.custom-list {
    list-style-type: none;
    padding: 0;
}
.custom-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 4px;
    background: #ffffff;
    padding: 10px;
    border-radius: 4px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.custom-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.custom-check {
    background: linear-gradient(45deg, #4CAF50, #2E7D32);
    color: #ffffff;
    font-size: 1.3em;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    border-radius: 50%;
    flex-shrink: 0;
}
.custom-text {
    flex: 1;
    line-height: 1.5;
    color: #333;
    font-size: 14px;
    word-break: break-word;
}
.custom-link {
    color: #1976D2;
    text-decoration: none;
    font-weight: 600;
}
.custom-link:hover {
    text-decoration: underline;
}




/* SECTION */
#jv_half_section {
  padding: 90px 20px;
  background-color: #ffffff;
}

/* CONTAINER */
.jv_half_container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
}

/* LEFT IMAGE */
.jv_half_image {
  width: 50%;
}

.jv_half_image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  /*box-shadow: 0 30px 60px rgba(0,0,0,0.12);*/
}

/* RIGHT CONTENT */
.jv_half_content {
  width: 50%;
  padding-left: 60px;
}

.jv_half_content h2 {
  font-size: 30px;
  margin-bottom: 18px;
  color: #0a165a;
}

.jv_half_content p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
  color: #374151;
}

/* BUTTON GROUP */
.jv_half_buttons {
  display: flex;
  gap: 16px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* BUTTONS */
.jv_btn_primary {
  padding: 14px 28px;
  background-color: #0a165a;
  color: #ffffff;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
}

.jv_btn_secondary {
  padding: 14px 28px;
  background-color: #e5e7eb;
  color: #0a165a;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
}

.jv_btn_outline {
  padding: 14px 28px;
  border: 2px solid #0a165a;
  color: #0a165a;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
}

/* HOVER */
.jv_half_buttons a:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* MOBILE */
@media (max-width: 768px) {
  .jv_half_container {
    flex-direction: column;
  }

  .jv_half_image,
  .jv_half_content {
    width: 100%;
  }

  .jv_half_content {
    padding-left: 0;
    margin-top: 30px;
  }

  .jv_half_buttons {
    justify-content: center;
  }
}



/* REVERSE SECTION */
#jv_reverse_section {
  padding: 90px 20px;
  background-color: #fff;
}

/* CONTAINER */
.jv_reverse_container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
}

/* LEFT CONTENT – 50% */
.jv_reverse_content {
  width: 50%;
}

.jv_reverse_content h2 {
  font-size: 30px;
  margin-bottom: 18px;
  color: #0a165a;
}

.jv_reverse_content p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
  color: #374151;
}

/* BUTTONS */
.jv_reverse_buttons {
  display: flex;
  gap: 16px;
  margin-top: 26px;
  flex-wrap: wrap;
}

/* RIGHT IMAGE – 50% */
.jv_reverse_image {
  width: 50%;
  padding-left: 60px;
}

.jv_reverse_image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

/* MOBILE */
@media (max-width: 768px) {
  .jv_reverse_container {
    flex-direction: column;
  }

  .jv_reverse_content,
  .jv_reverse_image {
    width: 100%;
  }

  .jv_reverse_image {
    padding-left: 0;
    margin-top: 30px;
  }

  .jv_reverse_buttons {
    justify-content: center;
  }
}


/* ===============================
   STATS SECTION
   =============================== */
#jv_stats_section {
  padding: 100px 20px;
  background-color: #ffffff;
}

/* CONTAINER */
.jv_stats_container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

/* TITLE */
.jv_stats_title {
  font-size: 30px;
  margin-bottom: 14px;
  color: #0a165a;
}

.jv_stats_subtitle {
  font-size: 16px;
  max-width: 760px;
  margin: 0 auto 70px;
  color: #6b7280;
  line-height: 1.6;
}

/* GRID */
.jv_stats_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

/* CARD */
.jv_stat_card {
  padding: 10px;
}

/* NUMBER */
.jv_stat_number {
  font-size: 60px;
  font-weight: 800;
  color: #0a165a;
  margin-bottom: 14px;
}

/* + SIGN */
.jv_stat_number::after {
  content: "+";
}

/* HEADING */
.jv_stat_card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #0f172a;
}

/* TEXT */
.jv_stat_card p {
  font-size: 16px;
  line-height: 1.6;
  color: #374151;
}

/* ===============================
   SCROLL ANIMATION
   =============================== */
.jv_stat_card {
  opacity: 0;
  transform: translateY(30px);
  animation: statReveal 0.9s ease forwards;
  animation-timeline: view();
  animation-range: entry 20% cover 40%;
}

@keyframes statReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===============================
   RESPONSIVE
   =============================== */
@media (max-width: 992px) {
  .jv_stats_grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .jv_stat_number {
    font-size: 56px;
  }
}

@media (max-width: 480px) {
  .jv_stats_title {
    font-size: 30px;
  }

  .jv_stat_number {
    font-size: 48px;
  }
}





/* ===============================
           NEW PRODUCT SECTION
           =============================== */
        #jv_product_section {
            padding: 100px 20px;
            background: linear-gradient(180deg, #ffffff, #f8fafc);
            overflow-x: hidden;
        }

        /* CONTAINER */
        .jv_product_container {
            max-width: 1200px;
            margin: auto;
        }

        /* HEADER */
        .jv_product_header {
            text-align: center;
            max-width: 700px;
            margin: 0 auto 70px;
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s ease-out;
        }

        .jv_product_header.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .jv_product_badge {
            display: inline-block;
            background: #0a165a;
            color: #ffffff;
            padding: 6px 14px;
            border-radius: 999px;
            font-size: 13px;
            font-weight: 600;
            margin-bottom: 14px;
            opacity: 0;
            transform: scale(0.8);
            transition: all 0.6s ease-out;
            transition-delay: 0.2s;
        }

        .jv_product_header.visible .jv_product_badge {
            opacity: 1;
            transform: scale(1);
        }

        .jv_product_header h2 {
            font-size: 30px;
            color: #0a165a;
            margin-bottom: 16px;
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.8s ease-out;
            transition-delay: 0.3s;
        }

        .jv_product_header.visible h2 {
            opacity: 1;
            transform: translateY(0);
        }

        .jv_product_header p {
            font-size: 16px;
            color: #374151;
            line-height: 1.6;
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.8s ease-out;
            transition-delay: 0.4s;
        }

        .jv_product_header.visible p {
            opacity: 1;
            transform: translateY(0);
        }

        /* GRID */
        .jv_product_grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }

        /* IMAGE */
        .jv_product_image {
            opacity: 0;
            transform: translateX(-40px);
            transition: all 0.8s ease-out;
            transition-delay: 0.5s;
        }

        .jv_product_image.visible {
            opacity: 1;
            transform: translateX(0);
        }

        .jv_product_image img {
            width: 100%;
            height: auto;
            border-radius: 4px;
            box-shadow: 0 30px 60px rgba(0,0,0,0.12);
            animation: jvFloat 6s ease-in-out infinite, shimmer 3s infinite;
            transform-origin: center;
        }

        /* CONTENT */
        .jv_product_content {
            opacity: 0;
            transform: translateX(40px);
            transition: all 0.8s ease-out;
            transition-delay: 0.6s;
        }

        .jv_product_content.visible {
            opacity: 1;
            transform: translateX(0);
        }

        .jv_product_content h3 {
            font-size: 28px;
            margin-bottom: 18px;
            color: #0a165a;
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.8s ease-out;
            transition-delay: 0.7s;
        }

        .jv_product_content.visible h3 {
            opacity: 1;
            transform: translateY(0);
        }

        .jv_product_features {
            list-style: none;
            padding: 0;
            margin-bottom: 30px;
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.8s ease-out;
            transition-delay: 0.8s;
        }

        .jv_product_content.visible .jv_product_features {
            opacity: 1;
            transform: translateY(0);
        }

        .jv_product_features li {
            font-size: 16px;
            margin-bottom: 12px;
            padding-left: 22px;
            position: relative;
            color: #1f2937;
            opacity: 0;
            transform: translateX(20px);
            transition: all 0.4s ease-out;
        }

        .jv_product_features li:nth-child(1) { transition-delay: 0.9s; }
        .jv_product_features li:nth-child(2) { transition-delay: 1.0s; }
        .jv_product_features li:nth-child(3) { transition-delay: 1.1s; }
        .jv_product_features li:nth-child(4) { transition-delay: 1.2s; }
        .jv_product_features li:nth-child(5) { transition-delay: 1.3s; }
        .jv_product_features li:nth-child(6) { transition-delay: 1.4s; }

        .jv_product_content.visible .jv_product_features li {
            opacity: 1;
            transform: translateX(0);
        }

        .jv_product_features li::before {
            content: "✓";
            position: absolute;
            left: 0;
            color: #22c55e;
            font-weight: 700;
            opacity: 0;
            transform: scale(0);
            transition: all 0.4s ease-out;
        }

        .jv_product_content.visible .jv_product_features li::before {
            opacity: 1;
            transform: scale(1);
        }

        /* BUTTONS */
        .jv_product_buttons {
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.8s ease-out;
            transition-delay: 1.5s;
        }

        .jv_product_content.visible .jv_product_buttons {
            opacity: 1;
            transform: translateY(0);
        }

        .jv_btn_primary, .jv_btn_outline {
            padding: 12px 24px;
            border-radius: 4px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            display: inline-block;
        }

        .jv_btn_primary {
            background: #0a165a;
            color: white;
        }

        .jv_btn_primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(10, 22, 90, 0.3);
        }

        .jv_btn_outline {
            border: 2px solid #0a165a;
            color: #0a165a;
        }

        .jv_btn_outline:hover {
            transform: translateY(-3px);
            background: #0a165a;
            color: white;
        }

        /* FLOAT ANIMATION */
        @keyframes jvFloat {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-14px); }
        }

        /* SHIMMER ANIMATION */
        @keyframes shimmer {
            0% { background-position: -1000px 0; }
            100% { background-position: 1000px 0; }
        }

        /* RESPONSIVE */
        @media (max-width: 768px) {
            .jv_product_grid {
                grid-template-columns: 1fr;
            }

            .jv_product_buttons {
                justify-content: center;
            }

            .jv_product_header h2 {
                font-size: 28px;
            }

            .jv_product_content h3 {
                font-size: 24px;
            }

            .jv_product_grid {
                text-align: center;
            }

            .jv_product_image, .jv_product_content {
                transform: none !important;
            }

            /* Align features to the left on small screens */
            .jv_product_features {
                text-align: left;
                margin-left: auto;
                margin-right: auto;
                max-width: 100%;
            }

            .jv_product_features li {
                text-align: left;
                padding-left: 30px;
                margin-left: 0;
                margin-right: 0;
                transform: translateX(0) !important;
                animation: slideInLeft 0.6s ease-out forwards;
            }

            .jv_product_features li:nth-child(1) { animation-delay: 0.9s; }
            .jv_product_features li:nth-child(2) { animation-delay: 1.0s; }
            .jv_product_features li:nth-child(3) { animation-delay: 1.1s; }
            .jv_product_features li:nth-child(4) { animation-delay: 1.2s; }
            .jv_product_features li:nth-child(5) { animation-delay: 1.3s; }
            .jv_product_features li:nth-child(6) { animation-delay: 1.4s; }

            @keyframes slideInLeft {
                from {
                    opacity: 0;
                    transform: translateX(-30px);
                }
                to {
                    opacity: 1;
                    transform: translateX(0);
                }
            }
        }

        /* PARALLAX EFFECT */
        .parallax-element {
            transform: translateZ(0) scale(1);
            transition: transform 0.1s ease-out;
        }

        /* SCROLL ANIMATION CONTAINER */
        .scroll-animate {
            opacity: 0;
            transition: opacity 0.6s ease-out;
        }

        .scroll-animate.animate {
            opacity: 1;
        }



  /* ===============================
   REVERSE PRODUCT LAYOUT
   =============================== */
.jv_product_reverse .jv_product_grid {
    direction: rtl; /* swap columns */
}

.jv_product_reverse .jv_product_grid > * {
    direction: ltr; /* keep text normal */
}

/* Desktop animations fix */
.jv_product_reverse .jv_product_content {
    transform: translateX(-40px);
}

.jv_product_reverse .jv_product_content.visible {
    transform: translateX(0);
}

.jv_product_reverse .jv_product_image {
    transform: translateX(40px);
}

.jv_product_reverse .jv_product_image.visible {
    transform: translateX(0);
}

/* ===============================
   MOBILE ORDER FIX
   =============================== */
@media (max-width: 768px) {
    .jv_product_reverse .jv_product_grid {
        direction: ltr;
    }

    .jv_product_reverse .jv_product_image {
        order: 1; /* image first */
    }

    .jv_product_reverse .jv_product_content {
        order: 2; /* content second */
    }
}
