:root {
    --eb-blue: #004b87;      /* Biru Utama EagleBurgmann */
    --eb-light-blue: #00a9e0; /* Biru Tombol */
    --eb-text: #002d5a;
    --eb-bg: #f2f5f8;
}

/* Wrapper Utama */

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    background: #f8fafc;
}

.hero-slider-wrapper {
    background: #fff;
    padding: 0;
    margin: 0;
    overflow: hidden;
    position: relative;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
}

@media (min-width: 992px) {
    .hero-slider-wrapper {
        margin-top: 120px; /* Jarak tambahan dari navbar di desktop */
    }
}

.heroSwiper {
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow: hidden;
}

.hero-inner-card {
    position: relative;
    width: 100%;
    height: 650px; /* Tinggi desktop */
    background: var(--navy);
    border-bottom-left-radius: 120px; /* Lengkungan khas */
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* 1. Gambar Menjadi Full Background di Desktop & Mobile */
.hero-image-wrapper {
    position: absolute;
    inset: 0; /* Memenuhi seluruh card */
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 6s ease-out;
}

.swiper-slide-active .hero-main-img {
    transform: scale(1);
}

/* 2. Overlay Gradasi untuk Keterbacaan Teks */
.hero-image-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    /* Gradasi gelap dari kiri ke kanan agar teks putih terbaca jelas */
    background: linear-gradient(to right, rgba(11, 43, 69, 0.9) 10%, rgba(11, 43, 69, 0.3) 50%, transparent 100%);
    z-index: 2;
}

/* 3. Text Container Sebagai Overlay di Sisi Kiri */
.hero-text-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center; /* Teks di tengah secara vertikal */
    padding-left: 80px; /* Jarak dari kiri */
    z-index: 10;
}

.hero-content-inner {
    max-width: 600px; /* Batasi lebar teks agar tidak menutupi seluruh gambar */
    position: relative;
}

/* 4. Tipografi (Semua Teks Menjadi Putih) */
.hero-top-tag {
    display: block;
    color: #ffde00; /* Kuning cerah untuk tag agar menarik perhatian */
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero-main-title {
    color: #ffffff;
    font-size: 58px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-sub-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 19px;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* 5. Tombol Premium (Warna Kuning ala EagleBurgmann) */
.btn-eb-primary{
    display:inline-block;
    background:linear-gradient(135deg,#F7D44C 0%,#D4AF37 50%,#B8860B 100%);
    color:#0B2B45 !important;
    padding:16px 45px;
    font-weight:700;
    text-decoration:none;
    font-size:15px;
    text-transform:uppercase;
    border-radius:4px;
    border:none;
    transition:all .35s ease;
    box-shadow:0 8px 25px rgba(212,175,55,.35);
}

.btn-eb-primary:hover{
    background:linear-gradient(135deg,#FFE27A 0%,#E6C04A 50%,#C99800 100%);
    color:#0B2B45 !important;
    transform:translateY(-3px);
    box-shadow:0 15px 35px rgba(212,175,55,.45);
}

/* Floating Badge Lingkaran */
.hero-floating-badge {
    position: absolute;
    right: 60px;
    bottom: 60px;
    z-index: 15;
}

.badge-circle {
    width: 150px;
    height: 150px;
    background: var(--eb-light-blue);
    border-radius: 50%;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    line-height: 1.2;
    box-shadow: 0 10px 30px rgba(0, 169, 224, 0.4);
    animation: float 4s ease-in-out infinite;
}

.badge-circle span { font-size: 28px; font-weight: 800; }
.badge-circle small { font-size: 12px; text-transform: uppercase; }
.badge-circle strong { font-size: 16px; letter-spacing: 1px; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Pagination (Garis Progress) */
.eb-pagination {
    bottom: 0 !important;
    margin-top: 40px;
    position: relative !important;
}

.eb-pagination .swiper-pagination-bullet {
    width: 60px;
    height: 5px;
    border-radius: 0;
    background: #cbd5e0;
    opacity: 1;
    margin: 0 8px !important;
    transition: 0.4s;
}

.eb-pagination .swiper-pagination-bullet-active {
    background: var(--eb-light-blue);
    width: 80px;
}

.load-more-btn {
    margin-top: 0.25rem;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
}

/* Produk cards */
.product-card {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(11, 43, 69, 0.08);
}

.product-card img {
    height: 220px;
    object-fit: cover;
    display: block;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(11, 43, 69, 0.16);
}

/*==================================================
MOBILE FIX: OVERLAY CONTENT BOX ON IMAGE
==================================================*/
@media (max-width: 991px) {
    .hero-slider-wrapper {
        padding: 0;
        margin: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
    }

    .hero-slider-wrapper > .container-fluid {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .heroSwiper {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    /* 1. Sesuaikan tinggi hero di mobile agar tidak terlalu panjang */
    .hero-inner-card {
        height: 75vh;
        min-height: 520px;
        max-height: 620px;
        border-radius: 0;
        display: block; /* Matikan flex agar tidak stacking */
    }

    /* 2. Gambar menjadi full background */
    .hero-image-wrapper {
        position: absolute;
        top: 50px; /* Geser sedikit ke bawah agar terlihat konten */
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    /* 3. Tambahkan overlay gelap agar teks putih mudah dibaca di mobile */
    .hero-image-wrapper::after {
        background: linear-gradient(to top, rgba(11, 43, 69, 0.9) 20%, rgba(11, 43, 69, 0.2) 100%);
        opacity: 1;
    }

    /* 4. Content Box tetap di baris/overlay gambar */
    .hero-text-container {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        padding: 24px 20px 28px;
        display: flex;
        align-items: flex-end;
        z-index: 10;
        background: transparent;
        backdrop-filter: none;
    }

    .hero-content-inner {
        max-width: 100%;
        padding-bottom: 120px;
    }

    /* 5. Sesuaikan warna teks agar putih (High Contrast) */
    .hero-main-title {
        font-size: 32px;
        color: #ffffff; /* Paksa jadi putih agar terlihat di atas gambar */
        margin-bottom: 15px;
    }

    .hero-sub-text {
        font-size: 16px;
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 25px;
    }

    .hero-top-tag {
        color: #ffffff;
        font-size: 12px;
        margin-bottom: 10px;
    }

    /* 6. Tombol dibuat full width di mobile agar premium */
    .btn-eb-primary {
        width: 100%;
        text-align: center;
        padding: 14px;
        background-color: #ffde00; /* Kuning seperti EagleBurgmann */
        color: #000 !important; /* Teks hitam agar kontras */
    }
    /* Floating Badge Mobile */
.hero-floating-badge{
    right:15px;
    bottom:15px;
}

.badge-circle{
    width:80px;
    height:80px;
    box-shadow:0 6px 18px rgba(0,169,224,.25);
}

.badge-circle span{
    font-size:18px;
}

.badge-circle strong{
    font-size:11px;
    letter-spacing:.5px;
}

.badge-circle small{
    font-size:8px;
    line-height:1.2;
}
}

/* Download Center - EagleBurgmann inspired layout */
.download-section {
    background: linear-gradient(180deg, #f8fbff 0%, #f2f5f8 100%);
}

.download-tag {
    display: inline-block;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(0, 75, 135, 0.08);
    color: var(--eb-blue);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.download-heading {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--eb-text);
    margin-bottom: 1rem;
}

.download-intro {
    max-width: 720px;
    margin: 0 auto 2.5rem;
    color: #4f6478;
    font-size: 1.05rem;
    line-height: 1.8;
}

.eb-download-card {
    height: 100%;
    background: #fff;
    border: 1px solid #dce7f0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.eb-download-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.eb-download-cover {
    height: 100%;
    min-height: 220px;
    background: #eef4f9;
}

.eb-download-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.eb-download-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.5rem;
}

.eb-download-kicker {
    display: inline-block;
    margin-bottom: 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16rem;
    text-transform: uppercase;
    color: var(--eb-light-blue);
}

.eb-download-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--eb-text);
    margin-bottom: 0.65rem;
}

.eb-download-text {
    color: #5f7284;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.eb-download-actions {
    margin-top: auto;
}

.eb-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--eb-blue);
    color: var(--eb-blue);
    background: transparent;
    text-decoration: none;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    font-weight: 700;
    transition: all 0.25s ease;
}

.eb-btn-outline:hover {
    background: var(--eb-blue);
    color: #fff;
    text-decoration: none;
}

.eb-btn-outline.disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.featured-info-section {
    background: #ffffff;
}

.featured-section-title {
    font-size: 2.05rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--eb-text);
}

.featured-section-subtitle {
    font-size: 1rem;
    line-height: 1.8;
    color: #4f6478;
    max-width: 640px;
}

.featured-card {
    border-radius: 22px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(11, 43, 69, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    height: 100%;
}

.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 48px rgba(11, 43, 69, 0.12);
}

.featured-card-image {
    overflow: hidden;
    min-height: 220px;
    aspect-ratio: 4 / 3;
    width: 100%;
}

.featured-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.featured-card:hover .featured-card-image img {
    transform: scale(1.03);
}

.featured-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.featured-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--eb-text);
}

.featured-card-title a {
    color: inherit;
    text-decoration: none;
}

.featured-card-text {
    font-size: 0.95rem;
    color: #5f7284;
    line-height: 1.75;
    margin-bottom: 0;
}

.featured-card-footer {
    padding: 1.25rem 1.5rem 1.5rem;
    border-top: 1px solid #eef2f6;
}

.featured-download-card .featured-card-footer {
    display: flex;
    justify-content: flex-start;
}

.featured-card-image-link {
    display: block;
}

@media (max-width: 767px) {
    .featured-section-title {
        font-size: 1.75rem;
    }

    .featured-card-body,
    .featured-card-footer {
        padding: 1rem;
    }
}

@media (max-width: 575px) {
    .featured-card-image {
        min-height: 180px;
    }
}

.video-slider-section {
    background: #f5f8fc;
}

.video-slide-card {
    border-radius: 24px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(11, 43, 69, 0.08);
    border: 1px solid rgba(11, 43, 69, 0.05);
}

.video-slide-thumb {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
    background: #000;
}

.video-slide-thumb iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-slide-content {
    padding: 1.5rem;
}

.video-slide-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--eb-text);
}

.video-slide-content p {
    margin: 0;
    color: #556777;
    line-height: 1.8;
}

.video-pagination {
    margin-top: 1.8rem;
    text-align: center;
}

.video-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    opacity: 0.4;
    background: #0b2b45;
}

.video-pagination .swiper-pagination-bullet-active {
    opacity: 1;
}

@media (max-width: 767px) {
    .video-slide-content {
        padding: 1rem;
    }
}

@media (max-width: 767px) {
    .eb-download-card {
        border-radius: 16px;
    }

    .eb-download-cover {
        min-height: 200px;
    }

    .eb-download-body {
        padding: 1.2rem;
    }
}
