﻿
        /* main container – edit freely */
        .upcoming-batches {
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
        }
        .container2 {
            padding: 1.5rem 1rem;
            background: white;
            border-radius: 2rem;
            box-shadow: 0 20px 35px -8px rgba(0,20,40,0.2);
        }
     
        }
        /* ----- carousel layout (edit styles here) ----- */
        .batch-carousel {
            position: relative;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin: 1.2rem 0;
        }
        /* track & slides */
        .carousel-track-container2 {
            flex: 1;
            overflow: hidden;
            border-radius: 1.5rem;
        }
        .carousel-track {
            display: flex;
            transition: transform 0.4s ease-in-out;
            gap: 1.5rem;  /* space between batch boxes */
        }
        /* each batch box = slide */
        .batch-box {
            flex: 0 0 calc(33.333% - 1rem); /* 3 boxes visible on desktop */
            min-width: 280px;
            background: #ffffff;
            border-radius: 1.8rem;
            padding: 2rem 1.5rem;
            box-shadow: 0 15px 30px -12px rgba(0,0,0,0.15);
            border: 1px solid rgba(37,99,235,0.1);
            transition: all 0.2s;
            display: flex;
            flex-direction: column;
        }
        /* unique background tints (edit as you like) */
        .box1 { background: linear-gradient(145deg, #f0f7ff, #ffffff); border-top: 6px solid #3b82f6; }
        .box2 { background: linear-gradient(145deg, #faf5ff, #ffffff); border-top: 6px solid #a855f7; }
        .box3 { background: linear-gradient(145deg, #ecfdf5, #ffffff); border-top: 6px solid #10b981; }
        /* additional boxes for extra slides (we keep same variant) */
        .batch-box.extra-slide {
            background: #fffaf0;
            border-top: 6px solid #f97316;
        }
        .batch-box.extra-slide2 {
            background: #fff1f2;
            border-top: 6px solid #e11d48;
        }

        .batch-date {
            display: inline-block;
            background: rgba(37,99,235,0.1);
            color: #1e4fd9;
            font-weight: 600;
            font-size: 0.9rem;
            padding: 0.4rem 1rem;
            border-radius: 40px;
            margin-bottom: 1.2rem;
            width: fit-content;
            letter-spacing: 0.3px;
        }
        .batch-box h3 {
            font-size: 1.6rem;
            font-weight: 700;
            line-height: 1.3;
            margin-bottom: 0.8rem;
            color: #0a1e32;
        }
        .batch-box p {
            color: #334155;
            margin-bottom: 2rem;
            font-size: 1rem;
            line-height: 1.5;
            flex-grow: 1;
        }
        .batch-btn {
            background: #0b2b4a;
            color: white;
            text-decoration: none;
            padding: 0.9rem 1.5rem;
            border-radius: 3rem;
            font-weight: 600;
            text-align: center;
            transition: background 0.2s, transform 0.1s;
            border: 1px solid #1e3a5f;
            align-self: flex-start;
            width: 100%;
            max-width: 160px;
        }
        .batch-btn:hover {
            background: #1e4fd9;
            border-color: #1e4fd9;
        }

        /* ---- arrows (edit size/color) ---- */
        .carousel-arrow {
            background: white;
            border: none;
            width: 48px;
            height: 48px;
            border-radius: 60px;
            box-shadow: 0 8px 18px rgba(0,20,40,0.12);
            font-size: 2rem;
            font-weight: 400;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: 0.15s;
            color: #0b2b4a;
            z-index: 5;
            flex-shrink: 0;
            line-height: 1;
        }
        .carousel-arrow:hover {
            background: #eef2ff;
            transform: scale(1.05);
            box-shadow: 0 12px 24px rgba(0,40,80,0.2);
        }
        .carousel-arrow:focus-visible {
            outline: 3px solid #2563eb;
        }
        /* arrow hidden when not needed (simple class) */
        .arrow-hidden {
            opacity: 0.2;
            pointer-events: none;
            box-shadow: none;
        }

        /* dots indicator (edit style) */
        .carousel-dots {
            display: flex;
            justify-content: center;
            gap: 0.75rem;
            margin-top: 2rem;
            margin-bottom: 0.5rem;
        }
        .dot {
            width: 12px;
            height: 12px;
            border-radius: 20px;
            background: #cbd5e1;
            border: none;
            cursor: pointer;
            transition: 0.2s;
            padding: 0;
        }
        .dot.active-dot {
            background: #2563eb;
            width: 32px;
            background: #2563eb;
        }
        .dot:hover {
            background: #94a3b8;
        }

        /* ---- responsive: 2 slides on tablet, 1 on mobile ---- */
        @media (max-width: 900px) {
            .batch-box {
                flex: 0 0 calc(50% - 0.75rem);
            }
        }
        @media (max-width: 600px) {
            .batch-box {
                flex: 0 0 100%;
            }
            .carousel-arrow {
                width: 40px;
                height: 40px;
                font-size: 1.8rem;
            }
            .section-title {
                font-size: 1.8rem;
            }
        }
        /* spacing fix for container */
        .batch-container2 {
            /* not used directly inside carousel, but keeping for reference */
        }