/* =========================
   BANNER SECTION - IMPROVED
========================= */
#banner {
    position: relative;
    margin-bottom: var(--space-2xl);
}

.banner-img img {
    width: 100%;
    height: auto;
    /* max-height: 500px; */
    object-fit: cover;
}

/* Owl Carousel Navigation Improvement */
.owl-nav button {
    background: rgba(29, 53, 102, 0.7) !important;
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    color: white !important;
    font-size: 24px !important;
    transition: all var(--transition-fast);
}

.owl-nav button:hover {
    background: var(--accent) !important;
    transform: scale(1.1);
}

.owl-dots .owl-dot span {
    background: var(--primary-light) !important;
    width: 10px !important;
    height: 10px !important;
}

.owl-dots .owl-dot.active span {
    background: var(--accent) !important;
    /* width: 30px !important; */
}
.banner-img {
  position: relative;
  width: 100%;
}

/* Banner Item */
.banner-item {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f0f4f8;
}

/* Banner Image - Responsive, No Crop, Perfect Fit */
.banner-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
}

/* Desktop (1200px and above) */
@media (min-width: 1200px) {
  .banner-image {
    max-height: 480px;
    width: 100%;
    object-fit: cover;
  }
}

/* Laptop (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .banner-image {
    max-height: 420px;
    width: 100%;
    object-fit: cover;
  }
}

/* Tablet (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .banner-image {
    max-height: 350px;
    width: 100%;
    object-fit: cover;
  }
}

/* Mobile (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .banner-image {
    max-height: 280px;
    width: 100%;
    object-fit: cover;
  }
}

/* Small Mobile (below 576px) */
@media (max-width: 575px) {
  .banner-image {
    max-height: 200px;
    width: 100%;
    object-fit: cover;
  }
}

/* =========================
   OWL CAROUSEL NAVIGATION (IMPROVED)
========================= */
.owl-carousel .owl-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
  z-index: 10;
}

.owl-carousel .owl-nav button {
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.5) !important;
  color: white !important;
  width: 48px;
  height: 48px;
  border-radius: 50% !important;
  font-size: 22px !important;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none !important;
  cursor: pointer;
  backdrop-filter: blur(2px);
}

.owl-carousel .owl-nav button:hover {
  background: #c0392b !important;
  transform: scale(1.1);
}

.owl-carousel .owl-nav button i {
  font-size: 20px;
  pointer-events: none;
}

/* Focus State for Accessibility */
.owl-carousel .owl-nav button:focus-visible {
  outline: 3px solid #c0392b;
  outline-offset: 2px;
  background: #c0392b !important;
}

/* =========================
   DOT INDICATORS (IMPROVED)
========================= */
.owl-carousel .owl-dots {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 10;
  margin-bottom: -4%;
}

.owl-carousel .owl-dots .owl-dot {
  display: inline-block;
  margin: 0 6px;
}

.owl-carousel .owl-dots .owl-dot span {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  cursor: pointer;
}

.owl-carousel .owl-dots .owl-dot.active span,
.owl-carousel .owl-dots .owl-dot:hover span {
  background: #c0392b;
  transform: scale(1.3);
  box-shadow: 0 0 5px rgba(192, 57, 43, 0.5);
}

/* =========================
   LAST UPDATE TEXT
========================= */
.lastTimeUpdate {
  position: absolute;
  bottom: 15px;
  left: 20px;
  z-index: 15;
  color: #fff;
  font-size: 13px;
  background: rgba(0, 0, 0, 0.6);
  padding: 5px 12px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  font-weight: 500;
  pointer-events: none;
}

/* =========================
   RESPONSIVE DESIGN (IMPROVED)
========================= */
@media (max-width: 992px) {
  .owl-carousel .owl-nav {
    padding: 0 12px;
  }
  
  .owl-carousel .owl-nav button {
    width: 42px;
    height: 42px;
    font-size: 18px !important;
  }
  
  .owl-carousel .owl-nav button i {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .owl-carousel .owl-nav {
    padding: 0 10px;
  }
  
  .owl-carousel .owl-nav button {
    width: 36px;
    height: 36px;
    font-size: 16px !important;
  }
  
  .owl-carousel .owl-nav button i {
    font-size: 14px;
  }
  
  .owl-carousel .owl-dots {
    bottom: 12px;
  }
  
  .owl-carousel .owl-dots .owl-dot span {
    width: 8px;
    height: 8px;
    margin: 0 4px;
  }
  
  .lastTimeUpdate {
    font-size: 10px;
    bottom: 10px;
    left: 12px;
    padding: 3px 10px;
  }
}

@media (max-width: 480px) {
  .owl-carousel .owl-nav button {
    width: 32px;
    height: 32px;
    font-size: 14px !important;
  }
  
  .owl-carousel .owl-nav {
    padding: 0 6px;
  }
  
  .owl-carousel .owl-nav .owl-prev {
    left: 0;
  }
  
  .owl-carousel .owl-nav .owl-next {
    right: 0;
  }
  
  .lastTimeUpdate {
    display: none; /* Mobile pe hide kar sakte ho */
  }
}

/* =========================
   TOUCH DEVICE OPTIMIZATION
========================= */
@media (hover: none) and (pointer: coarse) {
  .owl-carousel .owl-nav button {
    background: rgba(0, 0, 0, 0.6) !important;
    width: 40px;
    height: 40px;
  }
  
  .owl-carousel .owl-nav button:active {
    transform: scale(0.95);
    background: #c0392b !important;
  }
}

/* =========================
   BANNER SECTION - NO CROP, PERFECT ON ALL SCREENS
========================= */

.banner-img {
  position: relative;
  width: 100%;
}

/* Banner Item - Full Width Container */
.banner-item {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #1a4d6e 0%, #0b3b5f 100%);
}

/* ===== MAIN SOLUTION - IMAGE NEVER BREAKS ===== */
.banner-image {
  width: 100%;
  /* height: auto; */
  display: block;
  object-fit: contain;     /* Poori image dikhegi, koi crop nahi */
  object-position: center center;
  background: linear-gradient(135deg, #1a4d6e 0%, #0b3b5f 100%);
}

/* Desktop Large (1200px+) */
@media (min-width: 1200px) {
  .banner-image {
    max-height: auto;
    width: auto;
    min-width: 100%;
  }
}

/* Desktop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .banner-image {
    max-height: auto;
    width: auto;
    min-width: 100%;
  }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .banner-image {
    max-height: 400px;
    width: auto;
    min-width: 100%;
  }
}

/* Mobile (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .banner-image {
    max-height: 320px;
    width: auto;
    min-width: 100%;
  }
}

/* Small Mobile (below 576px) */
@media (max-width: 575px) {
  .banner-image {
    max-height: auto;
    width: auto;
    min-width: 100%;
  }
}

/* ===== ULTRA WIDE SCREEN (21:9, TV, Monitor) ===== */
@media (min-width: 1600px) {
  .banner-image {
    max-height: 100%;
    width: 100%;
    object-fit: contain;
  }
}

@media (min-width: 1920px) {
  .banner-image {
    max-height: auto;
    width: 100%;
    object-fit: contain;
  }
}

@media (min-width: 2560px) {
  .banner-image {
    max-height: auto;
    width: 100%;
    object-fit: contain;
  }
}

/* =========================
   OWL CAROUSEL NAVIGATION
========================= */
.owl-carousel .owl-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
  z-index: 10;
}

.owl-carousel .owl-nav button {
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.5) !important;
  color: white !important;
  width: 48px;
  height: 48px;
  border-radius: 50% !important;
  font-size: 22px !important;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none !important;
  cursor: pointer;
  backdrop-filter: blur(2px);
}

.owl-carousel .owl-nav button:hover {
  background: #c0392b !important;
  transform: scale(1.1);
}

.owl-carousel .owl-nav button i {
  font-size: 20px;
}

/* =========================
   DOT INDICATORS
========================= */
.owl-carousel .owl-dots {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 10;
}

.owl-carousel .owl-dots .owl-dot {
  display: inline-block;
  margin: 0 6px;
}

.owl-carousel .owl-dots .owl-dot span {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  cursor: pointer;
}

.owl-carousel .owl-dots .owl-dot.active span,
.owl-carousel .owl-dots .owl-dot:hover span {
  background: #c0392b;
  transform: scale(1.3);
}

/* =========================
   RESPONSIVE ARROWS
========================= */
@media (max-width: 768px) {
  .owl-carousel .owl-nav {
    padding: 0 10px;
  }
  
  .owl-carousel .owl-nav button {
    width: 36px;
    height: 36px;
    font-size: 16px !important;
  }
  
  .owl-carousel .owl-nav button i {
    font-size: 14px;
  }
  
  .owl-carousel .owl-dots {
    bottom: 12px;
  }
  
  .owl-carousel .owl-dots .owl-dot span {
    width: 8px;
    height: 8px;
  }
}

@media (max-width: 480px) {
  .owl-carousel .owl-nav button {
    width: 32px;
    height: 32px;
    font-size: 14px !important;
  }
}