header.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}

header {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 10px 20px;
    border-bottom: 2px solid #f0f0f0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 50px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

nav {
    display: flex;
    gap: 20px;
}


nav a {
    text-decoration: none;
    color: #333;
    font-size: 1.3rem;
    padding: 12px;
    border-radius: 20px;    
    transition: background-color 0.3s ease, color 0.3s ease;
}
nav a:hover {
    color: white;
    background: #ff8c00;
}
.dropdown {
    position: absolute;
    display: inline-block;
    
    /* Menata gambar bendera dengan kelas */
    .language-flag {
        margin-left: 8px;
        vertical-align: middle;

        
    }

    

}
/* Style untuk dropdown umum */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    border-radius: 20px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    min-width: 160px;
}

.dropdown-content a {
    color: black;
    padding: 20px 20px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #ff8c00;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown {
    position: relative;
}


/* Dropdown khusus About Us */
.dropdown.about-us .dropdown-content {
    position: fixed;
    top: 45%;
    left: 0;
    width: 100%;
    height: 70%;
    transform: translateY(-50%);
    background-color: #fff;
    box-shadow: 0px -4px 8px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    z-index: 1000;
    padding: 10px;
    text-align: center;
}

/* Cards Container */
.cards-container {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    flex-wrap: wrap; 
    padding: 20px; 
    gap: 20px;
}

/* Card Styling */
.card {
    display: inline-block; /* Supaya kartu berjajar horizontal */
    background-color: #f9f9f9; /* Warna latar kartu */
    border-radius: 10px; /* Sudut bulat */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Bayangan */
    padding: 20px; /* Spasi dalam kartu */
    text-align: center; /* Pusatkan isi kartu */
    width: 250px; /* Lebar tetap */
    margin: 20px;
}

.card img {
    width: 80%;
    height: auto;
    max-height: 150px;
    margin-bottom: 8px;
    border-radius: 8px;
}


.card h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
}

.card p {
    font-size: 1em;
    color: #666;
}


/* Cards Container */
.cards-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);  /* 6 kolom, sesuaikan dengan jumlah card */
    column-gap: 10px;  /* Jarak antar kolom (samping) */
    row-gap: 0px;      /* Tidak ada jarak antar baris */
    margin-top: 20px;
}
/* Untuk menampilkan content About Us */
.dropdown.about-us .dropdown-content.active {
    display: block;
}


/*About us sampai sini*/

.hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
}
.language {
    position: relative;
    display: inline-block;
}

/* Section search biru */
.search-section {
    width: 75%;
    text-align: center;
    background-image: linear-gradient(#205F80, #3C98BD, #5CC8F6);
    padding: 130px 20px;
    border-radius: 20px;
    margin-top: 20px;
}

.search-section h1 {
    color: white;
    margin-bottom: 10px;
}

.search-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.search-bar input {
    padding: 10px;
    width: 50%;
    height: 45px;
    border: none;
    border-radius: 20px;
}

.search-bar button {
    padding: 10px 20px;
    background-image: linear-gradient(#F08C35, #FFB84C);
    width: 20%;
    height: 45px;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
}


/* Importing Google fonts */
@import url('https://fonts.googleapis.com/css2?family=Miniver&family=Poppins:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

:root {
    /* Colors */
    --white-color: #fff;
    --black-color: #252525;
    --dark-color: #3b141c;
    --blue-color: #155E95;
    --oren-color: #FF7F3E;
    --kuning-color: #F4C542;

    --font-size-s: 0.9rem;
    --font-size-n: 1rem;
    --font-size-m: 1.12rem;
    --font-size-l: 1.5rem;
    --font-size-xl: 2rem;
    --font-size-xxl: 2.3rem;

    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    --border-radius-s: 8px;
    --border-radius-m: 30px;
    --border-radius-circle: 50%;

    --site-max-width: 1300px;
}

ul{
    list-style: none;
}

a {
    text-decoration: none;
}




button {
    cursor: pointer;
    border: none;
    background: none;
}


/*Layanan Konten, wifi dll*/
.feature-content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 50px;

}
.row {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 120px;
}
.row-img{
    width: 50px !important; /*ukuran gambar*/
    height: 50px !important; /*ukuran gambar*/
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 7%;
    overflow: hidden;
}

.row-img img{
    width: 100% !important; 
    height: 100% !important;
    object-fit: contain; 
}

.row-img:hover{
    transform: scale(1.1);
}
.feature-content h4{
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all .50s ease;
    margin-top: 10px;
}
.feature-content h4:hover{
    color: var(--main-color);
}

/* Banner img section */
.row {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: black;
    width: 120px; /* Atur lebar agar seragam */
}

.row-img {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.row-img img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Pastikan gambar tidak terpotong */
}

/* PRODUK YANG DI SEDIAKAN TABEL WARNA OREN*/
body {
    font-family: Arial, sans-serif;
    background-color: #f3f4f6;
    margin: 0;
    padding: 0;
}


.content-akses {
    padding: 20px;
    background: linear-gradient(to right, #e0eafc, #cfdef3);
}

.section-title-akses {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 20px;
    background-image: linear-gradient(to bottom, #5CC1E6, #87D3F0);
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
}

/* Card Container */
.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 0 20px;
}

/* Card Styling */
.card-wifi {
    width: 300px; /* Tetapkan ukuran card agar tidak berubah */
    max-width: 100%; /* Agar tetap responsif */
    background: #FFFFFF; 
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(255, 127, 62, 0.3);
    border-top: 6px solid #FF7F3E;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding-bottom: 20px;
}

.card-header {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px; /* Tentukan tinggi tetap untuk gambar */
    overflow: hidden; /* Mencegah gambar keluar dari batas card */
}

.card-header img {
    max-width: 100%; /* Batasi ukuran gambar agar tidak memenuhi card */
    height: auto; /* Pastikan proporsi gambar tetap */
    object-fit: contain; /* Gambar tetap terlihat dalam batasnya */
}


.card-wifi:hover {
    transform: translateY(-5px);
}

.card-header img {
    width: 100%;
    height: auto;
}

/* Harga dengan IDR besar, bold, dan tengah */
.card-content .price {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px; /* Lebih besar */
    font-weight: bold;
    color: #FF7F3E; /* Warna mencolok */
    text-transform: uppercase; /* IDR besar semua */
    margin: 10px 0;
}

/* Speed */
.card-content .speed {
    font-weight: bold;
        color: #2D83A3;
    }

/* Jumlah Kbps*/
.card-content .oke {
    font-weight: bold;
    color: #2D83A3;
}

/* Tombol */
.card-content .button-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 80%;
    max-width: 200px;
    text-align: center;
}

/* Tombol Primary */
.btn-primary {
    background-color: #FF7F3E;
    color: #FFFFFF;
    border: none;
}

.btn-primary:hover {
    background-color: #E06A2B;
    transform: scale(0.95);
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.2);
}

/* Tombol Secondary */
.btn-secondary {
    background-color: #155E95;
    color: #FFFFFF;
    border: none;
}

.btn-secondary:hover {
    background-color: #0D4373;
    transform: scale(0.95);
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.2);
}



/* Footer */
/* Footer */
footer {
    width: 100%;
    position: relative;
    margin-top: 10px;
    bottom: 0;
    background: linear-gradient(to right, #3A8FB4, #5CC1E6);
    color: #ffffff;
    padding: 100px 20px 30px; /* Tambahkan padding kiri & kanan */
    border-top-left-radius: 125px;
    font-size: 13px;
    line-height: 20px;
}

/* Container untuk kolom footer */
.foot-row {
    width: 85%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Jarak antar kolom */
    align-items: flex-start;
}

/* Kolom dalam footer */
.foot-col {
    flex-basis: 30%;
    padding: 10px;
}

/* Kolom kedua & ketiga lebih kecil */
.foot-col:nth-child(2), 
.foot-col:nth-child(3) {
    flex-basis: 15%;
}

/* Logo */
.foot-logo {
    width: 80px;
    margin-bottom: 30px;
}

/* Judul di dalam footer */
.foot-col h3 {
    width: fit-content;
    margin-bottom: 20px; /* Kurangi margin agar lebih rapi */
    position: relative;
}

/* Email */
.email {
    width: fit-content;
    border-bottom: 1px solid #ccc;
    margin: 20px 0;
}

/* List */
.foot-col ul {
    padding: 0;
}

.foot-col ul li {
    list-style: none;
    margin-bottom: 12px;
}

.foot-col ul li a {
    text-decoration: none;
    color: #ffffff;
}

/* Form dalam footer */
form {
    padding-bottom: 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ffffff;
    margin-bottom: 30px;
}

form input {
    width: 100%;
    background: transparent;
    border: 0;
    outline: none;
    color: white;
    padding: 5px;
}

/* Tombol form */
form button {
    background: transparent;
    border: 0;
    outline: none;
    cursor: pointer;
}

form button .ri-arrow-right-line {
    font-size: 16px;
    gap: 5px;
    color: #ccc;
}

/* Ikon sosial */
.social-icons {
    display: flex;
    gap: 10px;
    cursor: pointer;
}

/* Garis pemisah */
hr {
    width: 90%;
    border: 0;
    border-bottom: 1px solid #ccc;
    margin: 20px auto;
}

/* Copyright */
.copyright {
    text-align: center;
    font-size: 12px;
}

/* Efek garis bawah */
.underline {
    width: 100%;
    height: 5px;
    background: #cccccc;
    border-radius: 3px;
    position: absolute;
    top: 25px;
    left: 0;
    overflow: hidden;
}

.underline span {
    width: 15px;
    height: 100%;
    background: #ffffff;
    border-radius: 3px;
    position: absolute;
    top: 0;
    left: 10px;
    animation: moving 2s linear infinite;
}

@keyframes moving {
    0% {
        left: -20px;
    }
    100% {
        left: 100px;
    }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .foot-row {
        width: 100%;
    }

    .foot-col {
        flex-basis: 45%; /* Dua kolom per baris */
        text-align: left;
    }
}

@media (max-width: 768px) {
    .foot-row {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .foot-col {
        flex-basis: 100%; /* Satu kolom per baris */
        margin-bottom: 20px;

    }

    .ri-mail-line {
        width: 170px; /* Mengatur lebar ikon untuk layar kecil */
        height: auto; /* Menjaga rasio aspek ikon */
    }

    .underline {
        max-width: 200px;   
    }

    form {
        flex-direction: column;
        align-items: flex-start;
    }

    form input {
        width: 100%;
        text-align: left;
    }
}


.floating-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: left;
    gap: 10px;
    z-index: 1000;
}

.floating-button .whatsapp {
    width: 50px;
    height: 50px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.floating-button .whatsapp-icon img {
    width: 24px;
    height: 24px;
}

.floating-button .chat-button {
    background-color: rgb(212, 17, 17);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0.2);
}

.floating-button .chat-button:hover {
    background-color: rgb(164, 18, 18);
}


@media screen and (max-width: 768px) {
    #nav-menu {
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 20px 0px;
        background-color: white;
        position: absolute;
        top: 60px;
        left: 0;
        z-index: 1000;
    }
    .hidden {
        display: none;
    }    
    header {
        flex-wrap: wrap;
    }
    .hamburger {
        display: block;
    }
    #nav-menu .show {
        display: flex;
    }
    .dropdown.about-us.dropdown-content {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        width: 90%;
        height: auto;
        transform: translate(-50%, -50%);
        background-color: #fff;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        padding: 20px;
        border-radius: 10px;
    }
    /* When active, display the dropdown content */
    .dropdown.about-us.dropdown-content.active {
        display: block;
    }
    
    /* Dropdown image styling */
    .dropdown.about-us.dropdown-content img {
        width: 100%;
        height: auto;
        max-height: 300px;
        border-radius: 5px;
    }
    .cards-container {
        grid-template-columns: repeat(2, 1fr);  /* Show 2 cards per row */
        column-gap: 5px;
        row-gap: 10px;
    }

    .card img {
        width: 80%; /* Adjust image width on smaller screens */
        max-height: 150px;
    }

    .card h3 {
        font-size: 1.2em;
    }

    .card p {
        font-size: 0.9em;
    }
    

    .search-section {
        padding: 60px 15px; 
        width: 90%;
    }
    .search-bar {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 8px;
    }
    .search-bar input {
        width: 60%;
        min-width: 150px;
    }
    .search-bar button {
        width: auto;
        white-space: nowrap;
    }

    .feature-content {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* 3 columns */
        grid-template-rows: repeat(2, auto); /* 2 rows */
        gap: 3rem;
        flex-wrap: nowrap; /* Mencegah ikon turun ke baris berikutnya */
        justify-content: space-evenly; /* Sebar ikon dengan jarak rata */
    }
    
    .row {
        flex: 0 0 calc(33.333% - 2rem);
        
    }
    .row-img img {
        width: 60px;
        height: 60px;
    }

    footer{
        bottom: unset;
    }
    .foot-col{
        flex-basis: 100%;

    }
    .foot-col:nth-child(2), .foot-col:nth-child(3){
        flex-basis: 100%;
    }
}
@media (max-width: 480px) {
    header {
        display: flex;
        flex-direction: row; /* Biar sejajar */
        justify-content: space-between; /* Logo kiri, hamburger kanan */
        align-items: center;
        padding: 8px 15px;
    }


    /* Logo sejajar (gambar & teks) */
    .logo {
        display: flex;
        align-items: center;
        gap: 5px; /* Jarak lebih kecil */
    }

    .logo img {
        width: 35px; /* Diperkecil */
        height: auto;
    }

    .logo-text {
        font-size: 1.1rem; /* Diperkecil */
    }

    /* Hamburger menu disamping logo */
    .hamburger {
        font-size: 22px;
        cursor: pointer;
    }

    /* Menu tetap responsif */
    nav {
        display: none; /* Hidden, muncul saat hamburger diklik */
        flex-direction: column;
        position: absolute;
        top: 50px;
        left: 0;
        width: 100%;
        background: white;
        padding: 10px;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    }

    nav a {
        font-size: 1rem;
        padding: 10px;
        display: block;
        text-align: center;
    }

    .search-section {
        width: 90%;
        padding: 40px 15px; 
        margin: 20px auto;
        border-radius: 15px;
        background-image: linear-gradient(#205F80, #3C98BD, #5CC8F6);
    }

    .search-section h1 {
        font-size: 1.5rem;
        margin-bottom: 20px;
        padding: 0 10px;
        line-height: 1.3;
    }

    .search-bar {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        padding: 0;
    }

    .search-bar input {
        width: 50%;
        min-width: 0;
        padding: 0 15px;
        border-radius: 25px;
        font-size: 14px;
        border: none;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        box-sizing: border-box;
        text-overflow: ellipsis;
    }

    .search-bar button {
        width: auto;
        min-width: 130px;
        padding: 0 18px;
        border-radius: 25px;
        background-image: linear-gradient(#F08C35, #FFB84C);
        color: white;
        font-weight: bold;
        font-size: 14px;
        border: none;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        transition: transform 0.2s ease;
    }

    .search-bar button:active {
        transform: scale(0.98);
    }

    .feature-content {
        grid-template-columns: repeat(2, 1fr); /* Tetap 2 kolom agar tidak turun ke bawah */
        gap: 1rem;
    }

    .banners {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px; /* Beri sedikit jarak antar banner */
    }

    .banner {
        width: 90%; /* Agar menyesuaikan layar tanpa terlalu kecil */
        max-width: 300px; /* Batasi agar tidak terlalu besar */
        min-width: auto; /* Hapus min-width yang terlalu besar */
        height: auto; /* Biarkan tinggi menyesuaikan */
    }

    .banner img {
        width: 100%;
        height: auto; /* Jaga aspek rasio agar gambar tidak terdistorsi */
    }

}
    


