.impact-section {
  background-color: #e3c5fcec;
  overflow: hidden;
  height: 450px;
}

.image-container {
  aspect-ratio: 16 / 9;
  overflow: hidden;
   
   border-radius: 0 250px 250px 0;
}

.image-container img {
    object-fit: cover;
  width: 100%;
  height: 100%;
}
@media (max-width: 767.98px) {
  .impact-section {
    height: auto; /* Biarkan tinggi menyesuaikan konten */
  }
  
  .image-container {
    /* Hilangkan lengkungan di mobile */
    border-radius: 0;
    /* Full width di mobile */
    width: 100%;
    aspect-ratio: 16 / 9;
  }
  
  /* Pastikan gambar full width di mobile */
  .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .text-container {
    padding: 2rem 0.8rem !important;
  }
}

/* Media Query Tablet */
@media (min-width: 768px) and (max-width: 991.98px) {
  .image-container {
    border-radius: 0 150px 150px 0;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12), 
                0 6px 12px rgba(0, 0, 0, 0.08);
  }
}

@media (min-width: 1200px) {
  .image-container {
    border-radius: 0 300px 300px 0;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.18), 
                0 10px 20px rgba(0, 0, 0, 0.12),
                0 0 0 1px rgba(255, 255, 255, 0.05);
  }
  
}
#impactCarousel,
#impactCarousel .carousel-inner,
#impactCarousel .carousel-item {
  height: 100%;
}

.content-section {
    padding: 3rem;
    display: flex;
    align-items: center;
    min-height: 500px;
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
}

.narrative-content {
    animation: fadeInLeft 0.8s ease-out;
}

.narrative-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1B0A42;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.narrative-text {
    font-size: 1.1rem;
    color: #555;

    line-height: 1.8;
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 2rem;
}

.feature-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #28a745;
}

.btn-custom {
    
    background: #5a6f80;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

.btn-custom:hover {
    transform: translateY(-2px);
    color: white;
    background: #38a9c0;
}
.sdg-image {
        border-radius: 2%;
}

.accordion-header {
    font-family: 'Open Sans';
}
.carousel-container {
    position: relative;
    animation: fadeInRight 0.8s ease-out;
}

.carousel-item img {
    height: 400px;
    object-fit: cover;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    top: 50%;
    transform: translateY(-50%);
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: -25px;
}

.carousel-control-next {
    right: -25px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    color: #1B0A42;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #333;
    border-radius: 50%;
    width: 20px;
    height: 20px;
}

.carousel-indicators {
    bottom: -50px;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    border: none;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background-color: #ffffff;
    transform: scale(1.2);
}

.instagram-gradient {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 3px rgba(0,0,0,0.1));
}

.facebook-color {
    color: #1877F2; /* Warna khas Facebook */
}

.facebook-username {
    color: #1877F2;
    text-decoration: none;
}

.facebook-username:hover {
    text-decoration: underline;
}

/* Untuk browser yang tidak support gradient text */
@supports not (-webkit-background-clip: text) {
    .instagram-gradient {
        color: #E4405F;
    }
}
.instagram-username {
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.instagram-username:hover {
    color: #0d6efd;
    text-decoration: underline;
}
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .content-section {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .narrative-title {
        font-size: 2rem;
        margin-top: 10%;
    }

    .carousel-item img {
        height: 250px;
    }

    .main-container {
        margin: 1rem;
    }
    .bc-logo {
        width: 180px;
        height: auto;
    }

    /* Mengubah urutan untuk mobile: carousel di atas, narasi di bawah */
    .mobile-order-carousel {
        order: 1;
        margin-bottom: 2rem;
    }

    .mobile-order-narrative {
        order: 2;
    }

    .stats-container {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .stat-item {
        min-width: 80px;
    }
    .cta-btn {
        margin-top: 5%;
    }
    .sdg-image{
        border-radius: 4%;
    }
}

.badge-custom {
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.stats-container {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #66c0ea;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}


.accordion-style7 .accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.accordion-style7 .accordion-button {
    background: #fff;
    color: #333;
    border: none;
    padding: 1.5rem;
    font-weight: 600;
    position: relative;
    padding-left: 4rem;
    font-size: 17.6px;
}

.accordion-style7 .accordion-button::before {
    content: counter(accordion-counter);
    counter-increment: accordion-counter;
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: #ffc107;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
}

.accordion-style7 {
    counter-reset: accordion-counter;
}

.accordion-style7 .accordion-button:not(.collapsed) {
    background: #fbf8ff;
}
.accordion-body {
    animation: fadeInUp 0.3s ease-out;
    line-height: 1.8;
    font-size: 17.6px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.language-switcher {
    position: relative;
}

.language-toggle {
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.language-toggle:hover {
    background-color: #f8f9fa;
    color: #333;
    text-decoration: none;
}

.flag-icon {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    object-fit: cover;
}
/* best practice */
.best-practice-card {
    background-color: #ffffffe5;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.best-practice-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #394a5c;
    margin-bottom: 30px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #38a9c0;
    margin-bottom: 20px;
}

.section-text {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 20px;
}

.stats-bp-card {
    background: #ffffffe5;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: none;
    height: 100%;
}

.stats-bp-number {
    font-size: 3rem;
    font-weight: 700;
    color: #38a9c0;
    margin-bottom: 10px;
    display: block;
}

.stats-label {
    color: #64748b;
    font-size: 1rem;
    font-weight: 500;
}
.initiative-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: none;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.initiative-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.initiative-icon {
    width: 60px;
    height: 60px;
    background: #007bffc4;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.initiative-icon i {
    font-size: 24px;
    color: white;
}

.initiative-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.initiative-description {
    color: #555;
    line-height: 1.6;
    font-size: 15.5px;
}

.highlight-number {
    color: #38a9c0;
    font-weight: 600;
}

/* =====CSS Halaman UMKM====== */
.header-section-umkm {
            padding: 40px 0 20px 0;
            text-align: center;
        }
        
        .header-section-umkm h1 {
            font-size: 32px;
            font-weight: 700;
            color: #1a1a1a;
            margin-bottom: 10px;
        }
        
        .header-section-umkm p {
            color: #666;
            font-size: 14px;
        }
        
        .filter-section {
            padding: 30px 0;
        }
        
        .filter-label {
            font-size: 14px;
            font-weight: 600;
            color: #333;
            margin-bottom: 8px;
        }
        
        .form-select, .form-control {
            border: 1px solid #464343;
            border-radius: 6px;
            padding: 10px 15px;
            font-size: 14px;
        }
        
        .products-section {
            padding: 20px 0 60px 0;
        }
        
        .product-card {
            background: #ffffff;
            border: 1px solid #e0e0e0;
            border-radius: 12px;
            overflow: hidden;
            margin-bottom: 30px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            position: relative;
        }
        
        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        }
        
        .product-image {
            width: 100%;
            height: 225px;
            object-fit: cover;
        }
        
        .product-body {
            padding: 20px;
        }
        
        .product-title {
            font-size: 18px;
            letter-spacing: 0.05px;
            font-weight: 600;
            color: #1a1a1a;
            margin-bottom: 8px;
            
        }
        .product-title a::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 1;
        }
        
        .badge-umkm {
            display: inline-block;
            background-color: #ffc107;
            color: rgb(22, 22, 22);
            font-size: 12px;
            font-weight: 600;
            padding: 4px 10px;
            border-radius: 8px;
            margin-bottom: 12px;
        }
        
        .badge-produk {
            display: inline-block;
            background-color: #ffa500;
            color: white;
            font-size: 11px;
            font-weight: 600;
            padding: 4px 10px;
            border-radius: 4px;
            margin-bottom: 12px;
        }
        
        .product-category {
            font-size: 13px;
            color: #1B0A42;
            margin-bottom: 8px;
        }
        
        .product-description {
            font-size: 14px;
            color: #666;
            line-height: 1.5;
            margin-bottom: 12px;
        }
        
        .location-info {
            font-size: 13px;
            color: #666;
            display: flex;
            align-items: center;
        }
        
        .product-title a:hover {
            text-decoration: underline;
        }
/* =====END CSS Halaman UMKM====== */

@media (max-width: 768px) {
    .best-practice-card {
        padding: 30px 20px;
    }
    .best-practice-card h3 {
    font-size: 22px; /* tablet */
  }
    .best-practice-title {
        font-size: 2rem;
    }
    
    .stats-bp-number {
        font-size: 2.5rem;
    }
    .section-title {
        font-size: 2rem;
    }
    
    .initiative-card {
        padding: 25px 20px;
    }
    
    .initiative-title {
        font-size: 1.2rem;
    }
}
@media (max-width: 576px) {
  .best-practice-card h3 {
    font-size: 23px; /* smartphone */
  }
}
        /* .dropdown-menu {
            border: 1px solid #dee2e6;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            min-width: 120px;
        }
        
        .dropdown-item {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 16px;
        }
        
        .dropdown-item:hover {
            background-color: #f8f9fa;
        } */
        
        /* .custom-btn {
            background-color: #007bff;
            color: white;
            border-radius: 5px;
            padding: 8px 16px;
            transition: all 0.3s ease;
        }
        
        .custom-btn:hover {
            background-color: #0056b3;
            color: white;
            text-decoration: none;
        } */