@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

.logo {
    width: 30px;
    height: 30px;
    margin: 10px;
}
body {
    font-family: "Roboto", sans-serif;
    line-height: 1.8;
    background: linear-gradient(to right, #a0eaff, #00aaff);
}

h1,h2,h3,h4,h5,h6 {
    font-weight: 900 !important;
}

a {
    text-decoration: none;
    transition: all 0.4s ease;
    font-weight: 800;
    color: #20212c;
}
.logo + span {
    font-weight: bold; /* Membuat teks tebal */
}
img {
    width: 100%;
}

section {
    padding-top: 80px;
    padding-bottom: 80px;
    z-index: 2;
    position: relative;
}
.bg-cover {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-section h1 {
    font-size: 3rem; /* Atur ukuran font untuk judul */
    margin-bottom: 50px; /* Beri jarak ke bawah */
    position: relative;
    top: 100px; /* Geser ke bawah */
}

.hero-section p {
    font-size: 1.2rem; /* Atur ukuran font untuk deskripsi */
    position: relative;
    top: 50px; /* Geser ke bawah hingga ke dekat ban */
}


.hero-section .container {
    margin-top: 150px; /* Menurunkan container */
}


.btn {
    padding: 14px 22px;
    transition: all 0.3s ease;
}

.btn-main {
    background: linear-gradient(to right,#00e0fe, #1107fe);
    border-radius: 100px;
    border: none;
    font-weight: 600;
    color: #fff;
}

.btn:hover {
    color: blue;
    transform: translateY(-5px);
}

.video-btn {
    width: 60px;
    height:60px;
    background: linear-gradient(to right,#00e0fe, #1107fe);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color:#fff;
    border-radius: 100px;
}

.video-btn i {
    font-size: 32px;
}

.navbar {
    box-shadow: 0 12px 20px rgba(0,0,0,0.1);
    background: linear-gradient(to right, #a0eaff, #00aaff);
}

.navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .show>.nav-link {
    background: -webkit-linear-gradient(#fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color:white;
}

.section-intro {
    margin-bottom: 40px;
}

.section-intro .divider {
    height: 4px;
    width: 70px;
    background: linear-gradient(to right,#00e0fe, #1107fe); 
    margin: 16px auto;
}


.service .service-img .icon i {
    font-size: 36px;
}


/* Bagian Tentang Kami */
#tentangkami {
    background: linear-gradient(to right, #a0eaff, #00aaff);
    padding: 50px 0;
    color: #fff;
    
}

#tentangkami .container {
    max-width: 1200px;
    background: linear-gradient(to right, #a0eaff, #00aaff);
    margin: auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}


h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #fff;
}

.content-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.right-section {
    flex: 1;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: #000;
}

.left-section {
    flex: 1;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: #000;
}
.left-section img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
    margin-top: 30px;
}
.right-section img {
    width: 50%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.left-section p {
    font-size: 0.9em;
    line-height: 1.6;
    text-align: justify;
    color: black
}
.right-section p {
    font-size: 0.9em;
    line-height: 1.6;
    text-align: justify;
    color: black
}

/* Button Style */
.read-more-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 14px;
    color: white;
    background:  #007bff;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background: yellow;
    transform: scale(1.05);
}

#swiper-container {
    background: linear-gradient(to right, #a0eaff, #00aaff);
    padding: 40px 20px;
    text-align: center;
}

.text-center {
    color: white;
    margin-bottom: 10px;
}

.swiper {
    width: 100%; /* Gunakan lebar penuh secara default */
    max-width: 1200px; /* Batasi lebar maksimal */
    margin: 0 auto; /* Pusatkan swiper */
}

.swiper-wrapper {
    display: flex;
}

.swiper-slide {
    width: auto; /* Default ukuran slide fleksibel */
    max-width: 100%; /* Jangan melebihi lebar container */
    box-sizing: border-box; /* Tambahkan padding/margin tanpa mempengaruhi ukuran elemen */
}

.swiper-slide img {
    width: 100px;
    height: auto;
    margin-bottom: 10px;
}

.swiper-slide h3 {
    margin: 10px 0;
    font-size: 16px;
    color: #333;
}

.swiper-slide button {
    padding: 8px 16px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.swiper-slide button:hover {
    background: #0056b3;
}

/* Navigasi Swiper */
.swiper-button-prev,
.swiper-button-next {
    color: white;
    background: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: none;
}

/* Responsif */
@media (max-width: 768px) {
    .swiper {
        width: 90%; /* Lebar 90% untuk tablet */
    }
}

@media (max-width: 480px) {
    .swiper {
        width: 100%; /* Pastikan swiper menggunakan seluruh lebar layar ponsel */
    }
    .swiper-slide {
        text-align: center; /* Tengah slide */
    }
    .swiper-slide img {
        max-width: 80px; /* Sesuaikan ukuran gambar */
    }
}
@media (max-width: 360px) {
    .swiper {
        width: 100%; /* Pastikan swiper menggunakan seluruh lebar layar ponsel */
    }
    .swiper-slide {
        text-align: center; /* Tengah slide */
    }
    .swiper-slide img {
        max-width: 80px; /* Sesuaikan ukuran gambar */
    }
}



/* Bagian Produk */
#product{
    font-family: Arial, sans-serif;
}
#product .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: auto;
    padding: -20px 10px;
    
}

#product .product {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    
}

#product .product-image-1 {
    max-width: 50%;
    height: auto;
    margin-bottom: 20px;
}
#product .product-image-2 {
    max-width: 70%;
    height: auto;
    margin-bottom: 20px;
    align-self: center;
}

#product .product-title-1 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #007bff;
    text-align: left;
}
#product .product-title-2 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #007bff;
    text-align: left;
}
#product .product-description-1 {
    font-size: 0.9em;
    margin-bottom: 50px;
    line-height: 1.6;
    color: black;
    text-align: justify;
}
#product .product-description-2 {
    font-size: 0.9em;
    margin-bottom: 50px;
    line-height: 1.6;
    color: black;
    text-align: justify;
}

#product .read-more-btn-1 {
    display: inline-block; /* Pastikan tampil sebagai blok sebaris */
    margin-top: 10px; /* Tambahkan jarak ke atas */
    padding: 10px 20px; /* Padding tombol */
    font-size: 14px; /* Ukuran teks */
    color: white; /* Warna teks */
    background-color: #007bff; /* Warna latar tombol */
    border-radius: 20px; /* Sudut melengkung */
    text-decoration: none; /* Hilangkan garis bawah */
    border: none; /* Hilangkan border default */
    cursor: pointer; /* Tampilkan pointer pada hover */
    transition: all 0.3s ease; /* Efek transisi */
    align-self: flex-start; /* Posisi jika dalam container flex */
}

#product .read-more-btn-1:hover {
    color: #1107fe;
    background-color: yellow; /* Ubah warna latar saat hover */
    transform: scale(1.05); /* Tambahkan efek pembesaran */
}
#product .read-more-btn-2 {
    display: inline-block; /* Pastikan tampil sebagai blok sebaris */
    margin-top: 10px; /* Tambahkan jarak ke atas */
    padding: 10px 20px; /* Padding tombol */
    font-size: 14px; /* Ukuran teks */
    color: white; /* Warna teks */
    background-color: #007bff; /* Warna latar tombol */
    border-radius: 20px; /* Sudut melengkung */
    text-decoration: none; /* Hilangkan garis bawah */
    border: none; /* Hilangkan border default */
    cursor: pointer; /* Tampilkan pointer pada hover */
    transition: all 0.3s ease; /* Efek transisi */
    align-self: flex-start; /* Posisi jika dalam container flex */
}

#product .read-more-btn-2:hover {
    color: #1107fe;
    background-color: yellow; /* Ubah warna latar saat hover */
    transform: scale(1.05); /* Tambahkan efek pembesaran */
}



.review .stars {
    color: orange;
}



/* Bagian Contact */
.contact-section {
    background: linear-gradient(to right, #5ad4ff, #0056b3);
    color: #000;
    padding: 80px 30px;
    font-family: Arial, sans-serif;
}

.contact-info {
    margin-bottom: 20px;
    background: url('../imgs/background5.png'); /* Path ke gambar Anda */
    background-size: cover; /* Agar gambar memenuhi area */
    background-position: center; /* Posisikan gambar di tengah */
    background-repeat: no-repeat; /* Hindari pengulangan gambar */
    height: 100%; /* Pastikan tinggi sesuai kontainer induk */
    min-height: 300px; /* Berikan tinggi minimal jika elemen kosong */
}

.contact-info h2 {
    font-size: 2em;
    font-weight: bold;
}

.contact-info p {
    font-size: 1em;
    margin: 10px 0;
}

/* Form styling */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}



.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.9em;
}

.contact-form textarea {
    resize: none;
    height: 100px;
}

.contact-form button {
    color: black;
    background:  white;
    border: none;
    padding: 10px;
    width: 130px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: bold;
    align-self: center;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: yellow;
    color: #1107fe;
    transform: scale(1.05);
}

/* Responsif */
@media (max-width: 768px) {
    .contact-info, .contact-form {
        text-align: center;
    }
}


.send-button {
    position: relative; /* Pastikan tombol ini relatif */
}



.notification {
    position: absolute; /* Posisi absolut relatif ke .contact-form */
    top: calc(100% + 10px); /* Tempatkan di bawah tombol dengan jarak 10px */
    left: 50%; /* Pusatkan horizontal */
    transform: translateX(-50%); /* Koreksi untuk memusatkan horizontal */
    padding: 10px 20px;
    border-radius: 5px;
    color: white;
    font-size: 14px;
    text-align: center;
    background-color: #4CAF50;
    z-index: 9999;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    display: none; /* Sembunyikan secara default */
}

.notification.success {
    background-color: #4CAF50; /* Hijau untuk sukses */
}

.notification.error {
    background-color: #f44336; /* Merah untuk error */
}





footer {
    background: linear-gradient(to right,#00e0fe, #1107fe);
    color: #fff;
}

footer a {
    color: #fff;
}

/* Atur elemen contact-section untuk layar kecil */
@media (max-width: 768px) {
    .contact-section {
        padding: 40px 10px; /* Kurangi padding */
    }
    .contact-info, 
    .contact-form {
        width: 100%; /* Buat elemen memenuhi lebar layar */
        margin: 0 auto; /* Tengahkan elemen */
        text-align: center; /* Pusatkan teks */
    }
    .contact-info {
        min-height: 200px; /* Kurangi tinggi minimum */
    }
}

/* Atur produk agar grid tetap rapi */
@media (max-width: 768px) {
    #product .container {
        grid-template-columns: 1fr; /* Ubah grid menjadi satu kolom */
        gap: 10px; /* Kurangi jarak antar elemen */
    }
    #product .product {
        padding: 15px; /* Kurangi padding */
    }
}

/* Atur bagian hero-section agar lebih fleksibel */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column; /* Tumpuk elemen secara vertikal */
        text-align: center; /* Pusatkan teks */
    }
    .hero-section h1 {
        font-size: 2rem; /* Kurangi ukuran font */
    }
    .hero-section p {
        font-size: 1rem; /* Kurangi ukuran font */
    }
    .hero-section .container {
        margin-top: 80px; /* Sesuaikan margin */
    }
}



/* Atur tombol */
@media (max-width: 768px) {
    .btn, .read-more-btn {
        width: 100%; /* Buat tombol memenuhi lebar layar */
        padding: 10px; /* Sesuaikan padding */
    }
}

/* Atur footer */
@media (max-width: 768px) {
    footer {
        text-align: center; /* Pusatkan teks footer */
        padding: 20px 10px; /* Kurangi padding */
    }
    footer a {
        display: block; /* Tampilkan link dalam baris terpisah */
        margin: 5px 0; /* Berikan jarak antar link */
    }
}

@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column; /* Ubah ke kolom */
    }

    .left-section,
    .right-section {
        width: 100%; /* Ambil seluruh lebar */
        text-align: center; /* Rata tengah */
    }

    .left-section img,
    .right-section img {
        width: 80%; /* Kurangi ukuran gambar */
        margin: 0 auto 20px auto;
    }
}



