.batch-section {
    background-color: #f8fafc;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.batch-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.batch-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
}

.batch-banner {
    height: 100%;
    min-height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.batch-ribbon {
    position: absolute;
    top: 10px;
    right: -25px;
    background: #3b82f6;
    color: white;
    padding: 4px 25px;
    font-size: 0.75rem;
    font-weight: 600;
    transform: rotate(45deg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 15px;
}

.batch-highlight {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.75rem;
}

.batch-highlight span {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}

.batch-highlight i {
    margin-right: 5px;
}

.batch-info {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.batch-badge {
    background: #10b981;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 8px;
}

.batch-title {
    font-weight: 700;
    color: #1e293b;
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.batch-price {
    font-weight: 700;
    color: #1e293b;
    font-size: 1.25rem;
    text-align: right;
}

.batch-price span {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

.batch-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 15px;
    color: #64748b;
    font-size: 0.85rem;
}

.batch-meta i {
    margin-right: 5px;
    color: #3b82f6;
}

.batch-countdown {
    margin: 15px 0;
}

.countdown-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 8px;
}

.seats-remaining {
    color: #ef4444;
    font-weight: 500;
}

.countdown-timer {
    display: flex;
    gap: 8px;
}

.countdown-box {
    background: #f1f5f9;
    border-radius: 6px;
    padding: 8px 10px;
    text-align: center;
    min-width: 60px;
}

.countdown-box span {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    display: block;
}

.countdown-box small {
    font-size: 0.65rem;
    color: #64748b;
    text-transform: uppercase;
}

.batch-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.btn-enroll {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 8px 16px;
    font-weight: 600;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.2s;
    flex-grow: 1;
}

.btn-enroll:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.btn-enroll i {
    margin-left: 5px;
    font-size: 0.8rem;
}

.btn-wh {
    background: #188754;
    color: white;
    border: none;
    padding: 8px 16px;
    font-weight: 600;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.2s;
    flex-grow: 1;
}

.btn-wh:hover {
    background: #188737;
    transform: translateY(-1px);
}

.btn-wh i {
    margin-left: 5px;
    font-size: 0.8rem;
}

.btn-outline {
    background: transparent;
    color: #3b82f6;
    padding: 8px 12px;
    font-size: 0.85rem;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
    flex-grow: 1;
    max-width: calc(50% - 4px);
}

.btn-outline:hover {
    background: #f8fafc;
    border-color: #bfdbfe;
}

.btn-outline i {
    margin-right: 5px;
    font-size: 0.8rem;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .batch-banner {
        min-height: 120px;
    }

    .batch-info {
        padding: 16px;
    }

    .batch-title {
        font-size: 1.1rem;
    }

    .batch-meta {
        font-size: 0.8rem;
        gap: 8px;
    }

    .countdown-box {
        min-width: 50px;
        padding: 6px 8px;
    }

    .countdown-box span {
        font-size: 1.1rem;
    }

    .btn-outline {
        max-width: 100%;
    }
}

@media (max-width: 575.98px) {
    .batch-meta {
        flex-direction: column;
        gap: 6px;
    }

    .countdown-box {
        min-width: 45px;
    }
}

/* Batch Section Mobile Fix */
@media (max-width: 767.98px) {
  .batch-card .row {
    flex-direction: column !important;
  }
  
  .batch-card .col-md-4, 
  .batch-card .col-md-8 {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .batch-banner {
    height: 380px !important; 
    min-height: auto !important;
  }
  
  .batch-info {
    padding: 1rem !important;
  }
  
  .batch-meta {
    flex-direction: column !important;
    gap: 0.5rem !important;
  }
  
  .batch-meta span {
    width: 100% !important;
  }
  
  .countdown-timer {
    justify-content: flex-start !important;
  }
  
  .batch-cta {
    flex-direction: column !important;
    gap: 0.75rem !important;
  }
  
  .btn-enroll,
  .btn-outline,
  .btn-wh {
    width: 100% !important;
    margin: 0 !important;
  }
}

/* Extra small devices (phones, 360px and down) */
@media (max-width: 360px) {
  .batch-title {
    font-size: 1.1rem !important;
  }
  
  .batch-meta span {
    font-size: 0.8rem !important;
  }
  
  .countdown-box {
    min-width: 40px !important;
    padding: 0.25rem !important;
  }
  
  .countdown-box span {
    font-size: 1rem !important;
  }
}