/*============================================ Homee CSS =======================================*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

    body {
        font-family: Arial, sans-serif;
        background-image: url('../images/bg3.jpg'); /* Set background image */
        background-size: cover; /* Ensure the image covers the entire screen */
        background-position: center; /* Center the background image */
        background-repeat: no-repeat; /* Prevent the image from repeating */
        background-attachment: fixed; /* Make the background stay fixed while scrolling */
        color: #333;
    }

    header {
        display: flex;
        justify-content: flex-end;
        align-items: baseline;
        background-color: #CCE7F9;
        padding: 20px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

.logo-container {
    /* display: flex; */
    align-items: center;
    margin-right: auto;
}

.logo {
    width: 220px;
    margin-right: 15px;
    margin-right: auto;
}

.company-name h1 {
    font-size: 24px;
    color: white;
    font-weight: bold;
}

.company-name p {
    font-size: 14px;
    color: white;
    margin-top: -8px;
}

.search-container {
    display: flex;
    margin-left: 20px;
    /* align-items: ; */
    gap: 8px; /* Space between input and button */
}

.search-container input[type="text"] {
    padding: 5px 10px;
    border: 2px solid #0070c0;
    border-radius: 20px; 
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    width: 200px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


.search-container input[type="text"]:focus {
    border-color: #005a9e;
    box-shadow: 0 4px 8px rgba(0, 90, 158, 0.2);
}

.search-container button {
    background-color: #0070c0;
    color: white;
    border: none;
    padding: 8px 20px;
    cursor: pointer;
    border-radius: 20px;
    transition: background-color 0.3s, box-shadow 0.3s;
    font-size: 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.search-container button:hover,
.search-container button:focus {
    background-color: #005a9e; 
    box-shadow: 0 4px 8px rgba(0, 90, 158, 0.2); 
}

@media (max-width: 768px) {
    .search-container {
        width: 100%;
        justify-content: center; /* Center the search box on smaller screens */
    }
    
    .search-container input[type="text"] {
        width: 100%; /* Make the input take the full width */
    }
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    font-size: 16px;
    color: black;
    transition: color 0.3s, text-shadow 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    text-decoration: underline;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}

.content-section {
    background-color: #eef4f7;
    padding: 20px;
}

.content {
    padding: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0070c0;
    color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.content-text {
    max-width: 40%;
}

.content-text h2 {
    font-size: 36px;
    font-weight: bold;
}

.content-text p {
    margin-top: 20px;
    font-size: 18px;
    line-height: 1.8;
}

.content-text a {
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    color: white;
    background-color: #00a7e1;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
}

.content-text a:hover {
    background-color: #008bb5;
    transform: translateY(-2px);
}

.content img {
    max-width: 35%;
    border-radius: 40px;
}

.news-section {
    padding: 50px;
    background-color: transparent;  
}

.news-section h3 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
}

.news-carousel {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}


.card-img-top {
    width: 100%; /* Ensure the image takes the full width of the card */
    height: 200px; /* Set a fixed height for all images */
    object-fit: cover; /* Ensures the image covers the area without distortion */
    border-radius: 8px; /* Optional: Add rounded corners for a clean look */
}

.card-deck .card {
    margin: 15px;
    border: none;
    border-radius: 10px;
    background-color: transparent;
    transition: transform 0.3s;
}

.card-deck .card:hover {
    transform: translateY(-2px);
}

.service-section {
    padding: 50px;
    background-color: transparent;
}

.solution-section{
        padding: 50px;
        background-color: transparent;
}

.solution-section h3 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
}

.service-section h3 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
}

.service-container {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap; /* Untuk responsif */
}

.service-box {
    background-color: white;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    width: 180px;
    height: 80px;
    display: flex; /* Mengaktifkan flexbox */
    align-items: center; /* Pusatkan secara vertikal */
    justify-content: center; /* Pusatkan secara horizontal */
}

/* Hover Effect */
.service-box:hover {
    transform: translateY(-3px);
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
}



.service-box h4 {
    font-size: 18px; /* Sedikit dikecilkan agar proporsional */
    color: #0070c0;
    margin: 0; /* Hilangkan margin bawaan */
}

.solution-box h4 {
    font-size: 18px; /* Sedikit dikecilkan agar proporsional */
    color: #0070c0;
    margin: 0; /* Hilangkan margin bawaan */
}

.service-box p {
    font-size: 16px;
    color: #555;
}

.partners-clients-section {
    padding: 50px;
    background-color: transparent;
    margin-top: 20px;
}

.partners-clients-section h3 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
}

.logo-row,
.client-logo-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.logo-row img,
.client-logo-row img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    filter: none;
    transition: transform 0.3s;
}

.client-logo-row img:hover {
    transform: scale(1.1);
}

footer {
    background-color: #0070c0;
    padding: 10px;
    text-align: center;
    color: white;
    font-size: 1em;
    font-weight: bold;
    position: relative; /* Tetap di bawah konten */
    width: 100%;
}

footer p {
    margin: 0;
}

/* footer {
    background-color: #0070c0;
    padding: 1px;
    text-align: center;
    color: white;
}

footer a {
    color: white;
    text-decoration: none;
}
footer a:hover {
    color: #ddd; /* Mengubah warna saat tautan dihover, opsional */


.social-icons {
    margin-bottom: 10px;
}

.social-icons img {
    width: 30px;
    margin-right: 15px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .content {
        flex-direction: column;
        text-align: center;
    }

    .content img {
        max-width: 100%;
        margin-top: 20px;
    }

    .service-container {
        flex-direction: column;
        align-items: center; /* Pusatkan isi */
    }

    .service-box {
        width: 90%; /* Lebar untuk responsif */
        margin-bottom: 20px; /* Jarak antar kotak */
    }
}

.hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px; /* Jarak sekitar */
    background-color: transparent;
}

.content-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px; /* Membatasi lebar maksimal konten */
    margin: 0 auto; /* Memusatkan konten */
    padding: 40px;
    background-color: white; 
    border-radius: 15px; /* Membuat sudut box melengkung */
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.9);
}

.hero-text {
    flex: 1;
    color: white;
    text-align: left; /* Atur teks tetap rata kiri */
    margin-right: 30px; /* Beri sedikit jarak ke kanan untuk memisahkan teks dengan gambar */
}

.hero-text h1 {
   font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
}

.btn-primary {
    background-color: #0070c0;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #009cd8;
}
    
.carousel-control-prev.custom-prev,
.carousel-control-next.custom-next {
    width: 5%; 
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 100%, 100%;
    border-radius: 50%;
    padding: 10px; 
}

.client-section .carousel-control-prev.custom-prev,
.client-section .carousel-control-next.custom-next,
.partner-section .carousel-control-prev.custom-prev,
.partner-section .carousel-control-next.custom-next {
    width: 5%; 
}

.client-section .carousel-control-prev-icon,
.client-section .carousel-control-next-icon,
.partner-section .carousel-control-prev-icon,
.partner-section .carousel-control-next-icon {
    background-size: 100%, 100%;
    border-radius: 50%;
    padding: 10px;
}

/*================================================= NEWS ===================================================*/

.news-section {
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.news-section h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.news-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.news-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: calc(33.333% - 20px);
    overflow: hidden;
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    -o-transform: translateY(-5px);
}

.news-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-content h2 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    color: #0070c0;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.read-more:hover {
    color: #005a9e;
}

/* Responsive layout */
@media (max-width: 1024px) {
    .news-card {
        width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .news-card {
        width: 100%;
    }
}


/*=============================================== DETAIL NEWS =========================================*/
.news-detail-section {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.news-image-container {
    text-align: center;
    margin-bottom: 20px;
}

.news-image-container img {
    width: 100%;
    max-width: 1200px; /* Lebar diperbesar untuk memanjang ke samping */
    height: auto; /* Mengatur tinggi secara otomatis */
    max-height: 350px; /* Membatasi tinggi agar gambar lebih pipih */
    object-fit: cover; /* Membuat gambar tetap proporsional meski dipotong sedikit */
    border-radius: 8px;
}

.news-content-container {
    text-align: center;
    padding: 20px;
}

.news-content-container h1 {
    font-size: 2.2rem;
    color: #0070c0;
    margin-bottom: 20px;
}

.news-content-container p {
    text-align: justify;
    line-height: 1.8;
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
}

/* Responsive layout */
@media (max-width: 768px) {
    .news-content-container h1 {
        font-size: 1.5rem;
    }

    .news-content-container p {
        font-size: 0.9rem;
    }

    .news-image-container img {
        width: 100%; /* Pada layar lebih kecil, gambar menggunakan 100% lebar */
        max-width: 100%; /* Memastikan gambar memenuhi container pada perangkat kecil */
    }
}

.solutions-container {
    text-align: center;
    padding: 20px;
  }
  
  .solutions-container h1 {
    font-size: 36px;
    color: #000;
    margin-bottom: 40px;
  }
  
  .solution-item {
    display: inline-block;
    width: 150px;
    margin: 20px;
    text-align: center;
  }
  
  .solution-item img {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
  }
  
  .solution-item p {
    font-size: 16px;
    color: #000;
    font-weight: bold;
  }
  
  .solutions-container .solution-item img:hover {
    opacity: 0.7;
    transition: opacity 0.3s ease-in-out;
  }

  
  /* ======================================= SOLUTION =========================================== */
  .solutions-container {
    text-align: center;
    padding: 20px;
}

.solutions-container h1 {
    font-size: 36px;
    color: #000;
    margin-bottom: 40px;
    font-family: Arial, sans-serif;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px; /* Jarak antar lingkaran hanya 3px */
    justify-items: center;
}

.solution-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.solution-circle {
    width: 130px; /* Ukuran lingkaran */
    height: 130px;
    border-radius: 50%;
    background-color: #E6F7FF;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.solution-circle:hover {
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);
}

.solution-circle img {
    width: 55px; /* Ukuran ikon */
    height: 55px;
}

.solution-item p {
    margin-top: 10px; /* Jarak antara lingkaran dan teks */
    font-size: 15px; /* Ukuran teks */
    color: #000;
    font-weight: bold;
    font-family: Arial, sans-serif;
    text-align: center;
}


/* ======================================================= PARTNERS ========================================== */

.partners-container {
    text-align: center;
    padding: 20px;
}

.partners-container h1 {
    font-size: 36px;
    color: #000;
    margin-bottom: 40px;
    font-family: Arial, sans-serif;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Kolom responsif */
    gap: 20px; /* Jarak antar gambar */
    justify-items: center; /* Gambar di tengah tiap grid item */
}

.partner-item img {
    max-width: 150px; /* Batasan lebar gambar */
    height: auto;
    object-fit: contain; /* Gambar tetap proporsional */
    transition: transform 0.3s ease; /* Efek zoom ketika hover */
}

.partner-item img:hover {
    transform: scale(1.1); /* Zoom sedikit saat gambar dihover */
}

.partner-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

/*======================================== CERTIFICATION =============================*/

.certification-container {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Jarak antar baris */
}

.certification-row {
    display: flex;
    justify-content: center; /* Mengatur baris agar berada di tengah */
    gap: 50px; /* Jarak antar elemen dalam baris */
}

.certification-item {
    width: 200px; /* Lebar item sertifikasi */
    display: flex;
    justify-content: center; /* Menempatkan gambar di tengah */
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certification-item img {
    width: 180px; /* Ukuran gambar sertifikasi */
    height: auto;
}

.certification-item:hover {
    transform: scale(1.1); /* Efek zoom saat hover */
}

@media (max-width: 768px) {
    .certification-row {
        flex-wrap: wrap; /* Mengatur item agar melipat pada perangkat kecil */
        gap: 20px;
    }

    .certification-item {
        width: 150px;
    }

    .certification-item img {
        width: 140px;
    }
}


/*===================================== ABOUT US =============================== */

/* Global Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

.about-container {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-align: justify;
    margin: 50px auto;
    width: 80%;
    background-color: rgba(255, 255, 255, 0.8); /* Warna putih dengan transparansi 80% */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    
}

h1 {
    font-size: 36px;
    color: #333;
    text-align: center;
    margin-top: 10px;
    padding: 10px;
}

p {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

/* Vision and Mission Section */
.vision-mission {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    gap: 20px;
}

.vision, .mission {
    flex: 1;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.05);
}

.vision h2, .mission h2 {
    font-size: 24px;
    color: #333;
}

/* Values Section */
.values {
    margin-top: 60px;
    text-align: center;
}

.values h2 {
    font-size: 28px;
    margin-bottom: 30px;
}

.value-icons {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.value-item {
    width: 18%;
    text-align: center;
    padding: 10px;
}

.value-item img {
    width: 100px;
    height: 100px;
    display: block;
    margin: 0 auto 10px;
}

.value-item p {
    font-size: 16px;
    color: #333;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .about-container {
        width: 90%;
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 26px;
    }
}

@media (max-width: 992px) {
    .vision-mission {
        flex-direction: column;
    }

    .vision, .mission {
        width: 100%;
        margin-bottom: 20px;
    }

    .value-item {
        width: 30%;
    }
}

@media (max-width: 768px) {
    .values h2 {
        font-size: 24px;
    }

    .value-item {
        width: 45%;
    }

    .value-item img {
        width: 80px;
        height: 80px;
    }

    h1 {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .value-item {
        width: 100%;
    }

    .value-item img {
        width: 70px;
        height: 70px;
    }

    .about-container {
        width: 95%;
        padding: 20px;
    }

    h1 {
        font-size: 24px;
    }

    p {
        font-size: 14px;
    }
    
}
        


/* ======================= CLIENT ========================= */

.client-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    justify-items: center;
}

.client-logos img {
    width: 150px;
    height: 100px; /* Menentukan tinggi gambar agar seragam */
    object-fit: contain; /* Menjaga aspek rasio gambar */
    transition: transform 0.3s ease;
}

.client-logos img:hover {
    transform: scale(1.1);
}

/* Responsif */
@media (max-width: 1200px) {
    .client-logos {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .client-logos {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .client-logos {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 400px) {
    .client-logos {
        grid-template-columns: 1fr;
    }
}



/* ===================== PRIVACY POLICY ===================== */
.privacy-policy {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.privacy-policy h1 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
}

.privacy-policy h2 {
    margin-top: 20px;
    font-size: 1.8em;
    color: #444;
}

.privacy-policy p, .privacy-policy ul {
    font-size: 1.1em;
    line-height: 1.6em;
    color: #555;
}

.privacy-policy ul {
    padding-left: 20px;
}

.privacy-policy ul li {
    margin-bottom: 10px;
}

@media screen and (max-width: 600px) {
    .privacy-policy {
        padding: 15px;
    }

    .privacy-policy h1 {
        font-size: 2em;
    }

    .privacy-policy h2 {
        font-size: 1.5em;
    }
}