﻿/* Hero (home only) — min-height + flow layout (bukan aspect-ratio + absolute center) */
#hero {
  position: relative;
  width: 100%;
  min-height: 520px;
  display: flex;
  align-items: center;
  padding: 7.5rem 0 2.75rem;
  overflow: hidden;
}

#hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 15, 60, 0.55) 0%,
    rgba(0, 25, 115, 0.35) 45%,
    rgba(0, 0, 0, 0.4) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: left;
}

.hero-content h1 {
  color: white;
  font-size: clamp(1.35rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.5px;
  line-height: 1.2;
  max-width: 100%;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.45;
  max-width: 720px;
  margin: 0 0 0.85rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.35);
}

.hero-search {
  width: 100%;
  max-width: 800px;
  margin-bottom: 0.75rem;
}

.hero-search-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, rgba(0, 25, 115, 0.85), rgba(0, 25, 115, 0.75));
  border-radius: 50px;
  padding: 8px 8px 8px 22px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  outline: none;
}

.hero-search-input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.hero-search-submit {
  flex-shrink: 0;
  border-radius: 50px !important;
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  white-space: nowrap;
}

.hero-popular {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  max-width: 800px;
  margin-bottom: 0.65rem;
}

.hero-popular-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-popular-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-popular-chip {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.hero-popular-chip:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.75);
}

.travel-options-title {
  color: white;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.35);
}

.travel-options {
  width: 100%;
  max-width: 800px;
  margin-top: 0.25rem;
}

.travel-options .custom-col-4 {
  flex: 0 0 33.333%;
  width: 33.333% !important;
  max-width: 33.333%;
  padding: 0 4px;
}

.travel-options .row {
  display: flex;
  flex-wrap: nowrap;
  margin: 0 -4px;
}

.travel-btn {
  font-weight: 600;
  font-size: clamp(0.75rem, 1.5vw, 1.1rem);
  padding: 0.65rem 0.75rem;
  white-space: nowrap;
  transition: all 0.3s ease;
}

@media (min-width: 992px) {
  #hero {
    min-height: 580px;
    padding: 8rem 0 3rem;
  }

  .hero-content h1 {
    font-size: 2.35rem;
  }
}

@media (max-width: 768px) {
  #hero {
    min-height: 0;
    align-items: flex-start;
    padding: 6.25rem 0 2rem;
  }

  .hero-content h1 {
    font-size: 1.45rem;
    text-align: center;
    margin-bottom: 0.35rem;
  }

  .hero-lead {
    font-size: 0.82rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero-search {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-search-inner {
    padding: 6px 6px 6px 14px;
  }

  .hero-search-input {
    font-size: 0.875rem;
  }

  .hero-search-submit {
    padding: 0.45rem 0.75rem;
    font-size: 0.8rem;
  }

  .hero-popular {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-popular-label {
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
  }

  .hero-popular-chips {
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    padding-bottom: 2px;
  }

  .hero-popular-chip {
    font-size: 0.72rem;
    padding: 0.28rem 0.65rem;
  }

  .travel-options .custom-col-4 {
    width: 33.333% !important;
  }

  .travel-options-title {
    text-align: center;
  }
}

@media (max-width: 576px) {
  #hero {
    padding: 5.75rem 0 1.75rem;
  }

  .hero-content h1 {
    font-size: 1.2rem;
    line-height: 1.25;
  }

  .hero-lead {
    font-size: 0.75rem;
    -webkit-line-clamp: 2;
    margin-bottom: 0.65rem;
  }

  .hero-search-inner {
    border-radius: 999px;
    padding: 5px 5px 5px 12px;
  }

  .hero-search-submit-label {
    display: none;
  }

  .hero-search-submit {
    padding: 0.5rem 0.65rem;
    min-width: 42px;
  }

  .travel-options .custom-col-4 {
    width: 33.333% !important;
  }

  .travel-btn {
    font-size: 0.72rem !important;
    padding: 0.45rem 0.25rem;
    letter-spacing: -0.4px;
  }

  .travel-options .row {
    margin: 0 -2px;
  }

  .travel-options .col-4 {
    padding: 0 2px;
  }
}

@media (max-width: 400px) {
  .travel-btn {
    font-size: 0.75rem;
    padding: 0.45rem 0.35rem;
    letter-spacing: -0.25px;
  }
}

/* Feature Cards */
      .feature-card {
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
      }

      .feature-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      }

      /* Feature Icons */
      .feature-icon {
        transition: all 0.3s ease;
        color: var(--accent-color);
      }

      .feature-card:hover .feature-icon {
        transform: scale(1.1);
      }

      /* Stats Items */
      .stats-item {
        padding: 20px;
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      }

      .stats-item .h2 {
        color: var(--primary);
        font-weight: 700;
      }

      /* WhatsApp Button */
      .whatsapp-btn {
        background-color: #25D366;
        color: white;
        border: none;
        transition: background-color 0.3s ease;
      }

      .whatsapp-btn:hover {
        background-color: #1ea952;
        color: white;
      }

/* --- */

/* Discover Indonesia Section */
    .discover-section {
      background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
      padding: 80px 0;
      overflow: hidden;
    }

    .discover-content {
      padding-right: 30px;
    }

    .section-badge {
      display: inline-block;
      background: linear-gradient(135deg, #001973, #0d47a1);
      color: white;
      padding: 8px 20px;
      border-radius: 50px;
      font-size: 0.85rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 20px;
    }

    .discover-title {
      font-size: 2.5rem;
      font-weight: 700;
      color: #001973;
      line-height: 1.2;
      margin-bottom: 25px;
    }

    .discover-description {
      color: #555;
      font-size: 1.05rem;
      line-height: 1.8;
      margin-bottom: 15px;
    }

    .discover-features {
      display: flex;
      flex-wrap: wrap;
      gap: 15px;
      margin: 30px 0;
      list-style: none;
      padding: 0;
    }

    .discover-features .feature-item {
      display: flex;
      align-items: center;
      gap: 8px;
      background: white;
      padding: 12px 20px;
      border-radius: 50px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
      transition: all 0.3s ease;
    }

    .discover-features .feature-item:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    }

    .discover-features .feature-item i {
      color: #001973;
      font-size: 1.1rem;
    }

    .discover-features .feature-item span {
      font-weight: 600;
      color: #2c3e50;
      font-size: 0.9rem;
    }

    .btn-discover {
      background: linear-gradient(135deg, #001973, #0d47a1);
      color: white;
      border: none;
      border-radius: 50px;
      padding: 15px 35px;
      font-weight: 600;
      font-size: 1rem;
      transition: all 0.3s ease;
      display: inline-flex;
      align-items: center;
    }

    .btn-discover:hover {
      background: linear-gradient(135deg, #000d4a, #001973);
      color: white;
      transform: translateY(-3px);
      box-shadow: 0 10px 30px rgba(0, 25, 115, 0.3);
    }

    /* Carousel Wrapper */
    .discover-carousel-wrapper {
      position: relative;
      border-radius: 24px;
      overflow: hidden;
      box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
      max-width: 480px;
      margin: 0 auto;
      background: linear-gradient(145deg, #ffffff, #f0f0f0);
      padding: 12px;
      border: 3px solid rgba(0, 25, 115, 0.1);
    }

    .discoverSwiper {
      width: 100%;
      border-radius: 16px;
      overflow: hidden;
    }

    .discover-slide-item {
      position: relative;
      border-radius: 16px;
      overflow: hidden;
      height: 550px;
    }

    .discover-slide-item img {
      width: 100%;
      height: 100%;
      display: block;
      transition: transform 0.5s ease;
      object-fit: cover;
      object-position: center;
    }

    .discoverSwiper .swiper-slide-active .discover-slide-item img {
      transform: scale(1.02);
    }

    .slide-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      padding: 30px;
      background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
      color: white;
    }

    .slide-overlay h4 {
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 5px;
    }

    .slide-overlay p {
      font-size: 1rem;
      opacity: 0.9;
      margin: 0;
    }

    /* Swiper Pagination */
    .discover-pagination {
      position: relative !important;
      margin-top: 20px !important;
      bottom: auto !important;
    }

    .discover-pagination .swiper-pagination-bullet {
      width: 12px;
      height: 12px;
      background: #ccc;
      opacity: 1;
      transition: all 0.3s ease;
    }

    .discover-pagination .swiper-pagination-bullet-active {
      background: linear-gradient(135deg, #001973, #0d47a1);
      width: 35px;
      border-radius: 10px;
    }

    /* Responsive Styles */
    @media (max-width: 991px) {
      .discover-section {
        padding: 60px 0;
      }

      .discover-content {
        padding-right: 0;
        text-align: center;
        margin-bottom: 40px;
      }

      .discover-title {
        font-size: 2rem;
      }

      .discover-features {
        justify-content: center;
      }

      .discover-slide-item {
        height: 450px;
      }

      .discover-carousel-wrapper {
        max-width: 400px;
      }
    }

    @media (max-width: 768px) {
      .discover-title {
        font-size: 1.75rem;
      }

      .discover-description {
        font-size: 1rem;
      }

      .discover-slide-item {
        height: 400px;
      }

      .discover-carousel-wrapper {
        max-width: 350px;
      }

      .slide-overlay h4 {
        font-size: 1.25rem;
      }

      .slide-overlay p {
        font-size: 0.9rem;
      }

      .discover-features .feature-item {
        padding: 10px 15px;
        font-size: 0.85rem;
      }
    }

    @media (max-width: 576px) {
      .discover-section {
        padding: 40px 0;
      }

      .discover-title {
        font-size: 1.5rem;
      }

      .discover-slide-item {
        height: 350px;
      }

      .discover-carousel-wrapper {
        max-width: 100%;
        padding: 8px;
      }

      .slide-overlay {
        padding: 20px;
      }

      .discover-features .feature-item {
        width: 100%;
        justify-content: center;
      }
    }

/* --- */

/* Image Carousel Styling */
    .image-carousel {
      position: relative;
      overflow: hidden;
      border-radius: 15px 15px 0 0;
      height: 250px;
    }

    /* Only apply display:none to destination carousels, not article carousels */
    .destination-card .carousel-item {
      display: none;
      position: relative;
      height: 100%;
    }

    .destination-card .carousel-item.active {
      display: block;
    }

    /* Override Bootstrap CSS for article carousels - proper carousel behavior */
    .blog-item .image-carousel .carousel-item {
      display: none !important;
      position: relative;
      height: 100%;
    }

    .blog-item .image-carousel .carousel-item.active {
      display: block !important;
    }

    .carousel-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
    }

    .carousel-control {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(255, 255, 255, 0.9);
      border: none;
      border-radius: 50%;
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.3s ease;
      z-index: 10;
      opacity: 0;
    }

    .carousel-control:hover {
      background: rgba(255, 255, 255, 1);
      transform: translateY(-50%) scale(1.1);
    }

    .carousel-control.prev {
      left: 10px;
    }

    .carousel-control.next {
      right: 10px;
    }

    .image-carousel:hover .carousel-control {
      opacity: 1;
    }

    .carousel-dots {
      position: absolute;
      bottom: 15px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 8px;
      z-index: 10;
    }

    .dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.5);
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .dot.active {
      background: rgba(255, 255, 255, 1);
      transform: scale(1.2);
    }

    .dot:hover {
      background: rgba(255, 255, 255, 0.8);
    }

    /* Card Height Consistency */
    .destination-card {
      display: flex;
      flex-direction: column;
      height: 100%;
    }

    .destination-card .card-body {
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    .destination-card .destination-info {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .destination-card .trip-meta {
      flex-shrink: 0;
    }

    .destination-card .d-flex.justify-content-between {
      flex-shrink: 0;
      margin-top: auto;
    }

    /* Grid Layout Fixes */
    .destination-item {
      display: flex;
      margin-bottom: 2rem;
    }

    .destination-item .card {
      width: 100%;
    }

    /* Mobile Responsive */
    @media (max-width: 768px) {
      .carousel-control {
        width: 35px;
        height: 35px;
        opacity: 1;
      }

      .carousel-control i {
        font-size: 0.9rem;
      }

      .carousel-dots {
        bottom: 10px;
      }

      .dot {
        width: 6px;
        height: 6px;
      }
    }

    /* Filter Tabs Styling */
    .filter-tabs {
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(10px);
      border-radius: 50px;
      padding: 8px;
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .filter-tabs .nav-link {
      border: none;
      border-radius: 40px;
      padding: 12px 24px;
      color: #6c757d;
      background: transparent;
      transition: all 0.3s ease;
      font-weight: 500;
      margin: 0 4px;
    }

    .filter-tabs .nav-link:hover {
      color: #001973;
      background: rgba(0, 25, 115, 0.1);
    }

    .filter-tabs .nav-link.active {
      color: white;
      background: linear-gradient(135deg, #001973, #0d47a1);
      box-shadow: 0 4px 15px rgba(0, 25, 115, 0.3);
      transform: translateY(-2px);
    }

    /* Enhanced Card Styling */
    .destination-card {
      border: none;
      border-radius: 20px;
      overflow: hidden;
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      background: white;
    }

    .destination-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
    }

    /* Image Enhancements */
    .destination-img {
      height: 280px;
      object-fit: cover;
      transition: transform 0.4s ease;
    }

    /* Beranda: grid 4 kolom — kartu lebih ringkas */
    .home-destinations-grid .destination-img,
    .home-articles-grid .destination-img {
      height: 185px;
    }

    .home-destinations-grid .destination-card {
      border-radius: 14px;
    }

    .home-destinations-grid .destination-card .card-title {
      font-size: 1rem;
      -webkit-line-clamp: 2;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .home-destinations-grid .destination-card .card-body .btn-sm {
      font-size: 0.78rem;
      padding: 0.35rem 0.65rem;
      white-space: nowrap;
    }

    .home-destinations-grid .price-info .fw-bold {
      font-size: 0.95rem;
    }

    .home-articles-grid .blog-item {
      border-radius: 14px;
      overflow: hidden;
      height: 100%;
    }

    .home-articles-grid .blog-item a {
      display: block;
      padding: 0.75rem 0.85rem 1rem;
    }

    .home-articles-grid .blog-title {
      font-size: 0.95rem;
      margin-bottom: 0.35rem;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .home-articles-grid .blog-description {
      font-size: 0.82rem;
      -webkit-line-clamp: 2;
      margin-bottom: 0.5rem;
    }

    .home-articles-grid .blog-meta {
      font-size: 0.75rem;
      gap: 0.35rem !important;
    }

    .destination-card:hover .destination-img {
      transform: scale(1.05);
    }

    .card-img-overlay-gradient {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(180deg,
          transparent 0%,
          transparent 60%,
          rgba(0, 0, 0, 0.3) 100%);
      pointer-events: none;
    }

    /* Badge Positioning */
    .destination-badge {
      position: absolute;
      top: 15px;
      left: 15px;
      z-index: 2;
    }

    .best-seller-badge {
      position: absolute;
      top: 15px;
      right: 15px;
      z-index: 2;
    }

    .premium-badge {
      position: absolute;
      top: 60px;
      right: 15px;
      z-index: 2;
    }

    .destination-badge .badge,
    .best-seller-badge .badge,
    .premium-badge .badge {
      font-size: 0.75rem;
      padding: 6px 12px;
      border-radius: 20px;
      font-weight: 600;
      letter-spacing: 0.5px;
    }

    /* Card Content */
    .card-title {
      color: #2c3e50;
      font-size: 1.25rem;
      line-height: 1.3;
    }

    .trip-meta {
      border-bottom: 1px solid #f8f9fa;
      padding-bottom: 12px;
    }

    .price-info {
      flex: 1;
    }

    .price-info .fw-bold {
      font-size: 1.1rem;
      color: #001973;
    }

    /* Button Enhancements */
    .btn-primary {
      background: linear-gradient(135deg, #001973, #0d47a1);
      border: none;
      border-radius: 25px;
      font-weight: 600;
      transition: all 0.3s ease;
      text-transform: none;
    }

    .btn-primary:hover {
      background: linear-gradient(135deg, #000d4a, #001973);
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(0, 25, 115, 0.3);
    }

    .btn-warning {
      background: linear-gradient(135deg, #ffc107, #ff8f00);
      border: none;
      border-radius: 25px;
      font-weight: 600;
      color: #212529;
      transition: all 0.3s ease;
    }

    .btn-warning:hover {
      background: linear-gradient(135deg, #ff8f00, #e65100);
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(255, 193, 7, 0.3);
      color: white;
    }

    /* Enhanced CTA Buttons */
    .destination-cta .btn {
      border-radius: 50px;
      padding: 15px 40px;
      font-weight: 600;
      font-size: 1.1rem;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }

    .destination-cta .btn::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
      transition: left 0.5s;
    }

    .destination-cta .btn:hover::before {
      left: 100%;
    }

    /* Animation for filtered items */
    .destination-item {
      transition: all 0.4s ease;
    }

    .destination-item.fade-out {
      opacity: 0;
      transform: scale(0.8);
      pointer-events: none;
    }

    .destination-item.fade-in {
      opacity: 1;
      transform: scale(1);
    }

    /* Mobile Responsive */
    @media (max-width: 768px) {
      .filter-tabs {
        padding: 6px;
        margin: 0 15px;
      }

      .filter-tabs .nav-link {
        padding: 10px 16px;
        font-size: 0.85rem;
        margin: 0 2px;
      }

      .destination-img {
        height: 220px;
      }

      .home-destinations-grid .destination-img,
      .home-articles-grid .destination-img {
        height: 165px;
      }

      .card-body {
        padding: 20px !important;
      }

      .home-destinations-grid .destination-card .card-body {
        padding: 0.85rem !important;
      }

      .destination-cta .btn {
        padding: 12px 30px;
        font-size: 1rem;
      }
    }

    @media (max-width: 576px) {
      .filter-tabs .nav-link {
        padding: 8px 12px;
        font-size: 0.8rem;
      }

      .filter-tabs .nav-link i {
        display: none;
      }
    }

/* --- */

.blog-item {
        background: #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
      }

      .blog-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
      }

      .blog-item a {
        text-decoration: none;
        color: inherit;
        padding: 15px;
      }

      .blog-img {
        flex: 0 0 200px;
        position: relative;
        overflow: hidden;
        border-radius: 8px;
        height: 150px;
        width: 200px;
      }

      .blog-img img {
        width: 200px;
        height: 150px;
        object-fit: cover;
      }

      /* Article Carousel Specific Styles - Completely Separate from Global Carousel */
      .blog-img.image-carousel {
        height: 150px !important;
        width: 200px !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        position: relative !important;
        /* Override global carousel styles completely */
        border-radius: 8px !important;
        height: 150px !important;
        width: 200px !important;
      }



      .blog-item[style*="background-color: yellow"] .image-carousel .carousel-control {
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 10 !important;
      }

      .blog-img.image-carousel .carousel-item {
        height: 150px !important;
        width: 200px !important;
        display: none !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        /* Override global carousel item styles completely */
        height: 150px !important;
        width: 200px !important;
        border-radius: 8px !important;
      }

      .blog-img.image-carousel .carousel-item.active {
        display: block !important;
      }

      .blog-img.image-carousel .carousel-item img {
        width: 200px !important;
        height: 150px !important;
        object-fit: cover !important;
        transition: none !important;
        display: block !important;
        /* Override global carousel image styles completely */
        width: 200px !important;
        height: 150px !important;
        border-radius: 8px !important;
      }

      .blog-img.image-carousel .carousel-control {
        width: 30px !important;
        height: 30px !important;
        font-size: 0.8rem !important;
        /* Override global carousel control styles completely */
        width: 30px !important;
        height: 30px !important;
      }

      .blog-img.image-carousel .carousel-dots {
        bottom: 8px !important;
        /* Override global carousel dots styles completely */
        bottom: 8px !important;
      }

      .blog-img.image-carousel .dot {
        width: 6px !important;
        height: 6px !important;
        /* Override global carousel dot styles completely */
        width: 6px !important;
        height: 6px !important;
      }

      /* Additional CSS to fix spacing issues */
      .blog-img.image-carousel {
        line-height: 0 !important;
        font-size: 0 !important;
      }

      .blog-img.image-carousel * {
        line-height: normal !important;
        font-size: inherit !important;
      }

      .blog-img.image-carousel .carousel-item {
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        outline: none !important;
      }

      .blog-img.image-carousel .carousel-item img {
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        outline: none !important;
        vertical-align: top !important;
      }

      /* Force override global carousel styles */
      .blog-img.image-carousel {
        height: 150px !important;
        width: 200px !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        position: relative !important;
      }

      .blog-img.image-carousel .carousel-item {
        height: 150px !important;
        width: 200px !important;
        border-radius: 8px !important;
      }

      .blog-img.image-carousel .carousel-item img {
        width: 200px !important;
        height: 150px !important;
        border-radius: 8px !important;
      }

      /* Additional specific overrides to prevent global CSS interference */
      .blog-img.image-carousel,
      .blog-img.image-carousel * {
        box-sizing: border-box !important;
      }

      .blog-img.image-carousel {
        min-height: 150px !important;
        max-height: 150px !important;
        min-width: 200px !important;
        max-width: 200px !important;
      }

      .blog-img.image-carousel .carousel-item {
        min-height: 150px !important;
        max-height: 150px !important;
        min-width: 200px !important;
        max-width: 200px !important;
      }

      .blog-img.image-carousel .carousel-item img {
        min-height: 150px !important;
        max-height: 150px !important;
        min-width: 200px !important;
        max-width: 200px !important;
      }

      .blog-title {
        font-size: 1.1rem;
        line-height: 1.4;
        margin-bottom: 10px;
        color: #333;
      }

      .blog-description {
        font-size: 0.9rem;
        color: #666;
        margin-bottom: 10px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
      }

      .read-more {
        color: #0d6efd;
        font-weight: 500;
      }

      .blog-meta {
        color: #666;
        font-size: 0.85rem;
      }

      .blog-meta i {
        margin-right: 3px;
      }

      @media (max-width: 768px) {
        .blog-item a {
          flex-direction: column;
          gap: 15px;
        }

        .blog-img {
          flex: none;
          width: 100%;
        }

        .blog-img.image-carousel {
          width: 100%;
          height: 200px;
        }

        .blog-img.image-carousel .carousel-item {
          width: 100%;
          height: 200px;
        }

        .blog-img.image-carousel .carousel-item img {
          width: 100%;
          height: 100%;
          object-fit: cover;
        }

        .blog-img img {
          width: 100%;
          height: 200px;
        }

        .blog-content {
          width: 100%;
        }
      }
