* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: #f4f4f4;
  color: #333;
}

/* Basic Header Styling */
/* --- STYLE UTAMA UNTUK DESKTOP --- */
header {
  background: linear-gradient(to bottom, #293273 0%, #293273 55%, #222 100%);
  color: #fff;
  padding: 0px;
}

.heading {
  display: flex;
  align-items: center;
  position: relative;
}

.mainlogo {
  width: 100px;
  height: 100px;
  margin-left: 20px;
  margin-top: 10px;
}

.heading-text {
  position: absolute;
  top: 50%;               /* Posisi vertikal ke tengah */
  left: 50%;              /* Posisi horizontal ke tengah */
  transform: translate(-50%, -50%); /* Pusatkan ke tengah penuh */
  text-align: center;
  color: white;
}


.heading-text h1 {
  font-size: 24px;
  margin: 0;
}

.heading-text h4 {
  font-size: 16px;
  margin-top: 5px;
}

/* --- STYLE UNTUK MOBILE --- */
@media screen and (max-width: 768px) {
  .heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    position: relative;
  }

  .mainlogo {
    width: 100px;
    height: 100px;
    margin: 0; /* Reset margin agar lebih rapi di HP */
  }

  .heading-text {
    flex: 1;
    text-align: center;
    color: white;
    position: static; /* Supaya tidak absolute di HP */
    transform: none;
  }

  .heading-text h1 {
    font-size: 24px;
    margin: 0;
  }

  .heading-text h4 {
    font-size: 16px;
    margin-top: 5px;
  }
}


/* Navigation Bar */
nav {
  background: #222;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 30px;
  padding: 10px 0;
  margin: 0;
}

nav a {
  color: #fff;
  text-decoration: none;
  padding: 12px 20px;
  font-size: 16px;
}

nav a:hover {
  background: #f4f4f45b;
  border-radius: 5px;
}

/* Dropdown container */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: #222;
  min-width: 180px;
  list-style: none;
  padding: 0;
  margin: 0;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid #222;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  z-index: 1000;
}

.dropdown-content li a {
  display: block;
  padding: 10px 15px;
  color: white;
  text-decoration: none;
  transition: background 0.2s ease;
}

.dropdown-content li a:hover {
  background: #f4f4f45b;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown > a::after {
  content: " ▼";
  font-size: 0.8em;
  margin-left: 5px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .heading {
    flex-direction: column;
    text-align: center;
    padding: 10px 15px;
  }

  .mainlogo {
    width: 80px;
    height: 80px;
  }

  .heading-text h1 {
    font-size: 20px;
  }

  .heading-text h4 {
    font-size: 14px;
    margin-top: 3px;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
    padding: 15px 0;
  }

  nav a {
    padding: 10px 20px;
    font-size: 16px;
  }

  /* Dropdown Styling on Mobile */
  .dropdown-content {
    position: static;
    transform: none;
    box-shadow: none;
    min-width: 100%;
    border-radius: 0;
  }

  .dropdown > a::after {
    content: " ▾";
    font-size: 1em;
    margin-left: 5px;
  }
}

@media (max-width: 480px) {
  nav a {
    font-size: 14px;
    padding: 10px 15px;
  }

  .heading-text h1 {
    font-size: 18px;
  }

  .heading-text h4 {
    font-size: 12px;
  }

  .mainlogo {
    width: 60px;
    height: 60px;
  }
}


.gallery-slider {
  width: 100%;
  max-width: 1150px;   /* bisa kamu ubah */
  margin: 20px auto;
  display: flex;
  justify-content: center;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;   /* bikin kotak */
  object-fit: cover;     /* isi penuh, crop otomatis */
  border-radius: 15px;   /* biar elegan */
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, opacity 0.5s ease;
}

/* .gallery img:hover {
  transform: scale(1.05);  /* efek zoom pas hover */
/* } */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.customers-cta-alt {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
  max-width: 1150px;
  margin: 40px auto;
  padding: 40px 20px;
  border: 2px solid #293273;
  border-radius: 15px;
  background-color: #f0f0f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.customers-cta-alt:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.customers-icon img {
  width: 130px;
  height: auto;
  object-fit: contain;
}

.customers-text h2 {
  font-size: 26px;
  color: #293273;
  margin-bottom: 10px;
}

.customers-text p {
  font-size: 16px;
  margin-bottom: 20px;
  max-width: 500px;
}

.cta-button-alt {
  display: inline-block;
  padding: 12px 25px;
  background-color: #293273;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 50px;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button-alt:hover {
  background-color: #5561c1;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

@media screen and (max-width: 800px) {
  .customers-cta-alt {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .customers-text p {
    max-width: 100%;
  }
}

/* container contact  */
.contact-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f0f0f0;
  padding: 30px 40px;
  border-radius: 15px;
  max-width: 1150px;
  margin: 40px auto;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-icon img {
  width: 60px;
  height: auto;
}

.contact-text {
  flex: 1;
  margin-left: 20px;
}

.contact-text h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.contact-text p {
  font-weight: 600;
  margin-bottom: 5px;
}

.contact-text small {
  color: #555;
}

.contact-button a {
  background-color: #293273;
  color: #fff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-button a:hover {
    background-color: #5561c1;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    transform: scale(1.05);
}

.contact-button a {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.contact-container:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* ========================= */
/* RESPONSIVE UNTUK MOBILE */
/* ========================= */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    max-width: 95%;
  }

  .contact-icon img {
    width: 50px;
    margin-bottom: 15px;
  }

  .contact-text {
    margin-left: 0;
    margin-bottom: 15px;
  }

  .contact-text h3 {
    font-size: 1.3rem;
  }

  .contact-text p {
    font-size: 0.95rem;
  }

  .contact-text small {
    font-size: 0.85rem;
  }

  .contact-button {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .contact-button a {
    padding: 10px 20px;
    font-size: 0.95rem;
    width: auto;
  }
}

/* ========================= */
/* RESPONSIVE UNTUK HP KECIL */
/* ========================= */
@media (max-width: 480px) {
  .contact-container {
    padding: 15px;
    border-radius: 10px;
  }

  .contact-icon img {
    width: 45px;
  }

  .contact-text h3 {
    font-size: 1.1rem;
  }

  .contact-text p {
    font-size: 0.9rem;
  }

  .contact-text small {
    font-size: 0.8rem;
  }

  .contact-button a {
    padding: 8px 18px;
    font-size: 0.9rem;
  }
}


/* Container full width */
/* Struktur umum container */
.info-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background-color: #222; /* contoh background */
    flex-wrap: wrap; /* Supaya kolom bisa turun kalau layar sempit */
}

/* Kolom umum */
.info-column {
    flex: 1;
    min-width: 250px;
}

/* Logo + nama */
.logo-text {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text span{
  color:white ;
  font-size: 16px;
}

.info-logo {
    width: 100px;
    height: 100px;
}

/* Judul kolom */
.info-column h4 {
    margin-bottom: 5px;
    font-size: 18px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Teks */
.info-column p {
    margin: 0;
    font-size: 15px;
    color: #fff;
}

/* ICON INLINE */
.icon-inline {
    width: 18px;
    height: 18px;
}

/* MEDIA QUERY UNTUK HP */
@media screen and (max-width: 768px) {
    .info-container {
        flex-direction: column;  /* Semua kolom ditumpuk ke bawah */
        align-items: center;     /* Semua kolom center */
        text-align: center;      /* Semua teks center */
        gap: 20px;
    }

    .info-column {
        width: 100%;
        max-width: 500px;        /* Supaya tidak kepanjangan */
        display: flex;
        flex-direction: column;  /* Supaya isi kolom vertikal */
        align-items: center;     /* Semua konten di kolom center */
    }

    .logo-text {
        flex-direction: column;  /* Logo di atas nama */
        justify-content: center;
        text-align: center;
    }

    .info-logo {
        width: 60px;
        height: 60px;
    }

    .info-column h4 {
        justify-content: center; /* Icon + teks rata tengah */
        font-size: 16px;
    }

    .info-column p {
        font-size: 14px;
    }
}

/* footer */
footer {
    background-color: #293273; /* abu gelap */
    color: white; /* abu terang */
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
  }

  footer p {
    margin: 0;
  }

.icon-inline {
    width: 20px;
    height: auto;
}

/* whatsapp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    cursor: pointer;
    transition: transform 0.3s;
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* efek hover kecil */
.whatsapp-float:hover {
    transform: scale(1.1);
}

/* aboutus home */
.aboutus-cta {
  background: linear-gradient(135deg, #293273 0%,  #293273 70%, #5561c1);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
  border-radius: 15px;
  max-width: 1150px;
  margin: 40px auto;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.aboutus-cta:hover {
  transform: scale(1.02);
}

.aboutus-content h2 {
  font-size: 28px;
  margin-bottom: 15px;
}

.aboutus-content p {
  font-size: 16px;
  margin-bottom: 25px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-button {
  background-color: #fff;
  color: #222;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 16px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
  background-color: #f4f4f45b;
  transform: scale(1.05);
}

@media screen and (max-width: 800px) {
  .aboutus-content h2 {
    font-size: 22px;
  }

  .aboutus-content p {
    font-size: 14px;
  }

  .cta-button {
    padding: 12px 25px;
    font-size: 14px;
  }
}

/* card service */
.photo-links-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1150px;
  margin: 40px auto;
}

.photo-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.photo-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.photo-card:hover img {
  transform: scale(1.05);
}

.photo-text {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 5px 12px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 16px;
}

@media screen and (max-width: 800px) {
  .photo-links-container {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 20px;
  }
}

/* Namespace khusus untuk About Us */
#about-us-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

#about-us-page {
    background-color: #fff;
    color: #222;
    padding: 40px 20px;
}

/* Header */
#about-us-page .about-header {
    text-align: center;
    margin-bottom: 50px;
    margin-left: 90px;
    margin-right: 90px;
}

#about-us-page .about-header h1 {
    font-size: 36px;
    color: #293273;
    margin-bottom: 10px;
}

#about-us-page .about-header p {
    font-size: 18px;
    color: #555;
}

/* About Us Sections */
#about-us-page .about-section {
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Card */
#about-us-page .about-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    /* Center text vertically dan horizontally */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#about-us-page .about-card:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

#about-us-page .about-card h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #293273;
}

#about-us-page .about-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

/* ========================= */
/*  RESPONSIVE DESIGN       */
/* ========================= */

/* Tablet */
@media (max-width: 1024px) {
    #about-us-page {
        padding: 30px 15px;
    }

    #about-us-page .about-header {
        margin-left: 40px;
        margin-right: 40px;
    }

    #about-us-page .about-header h1 {
        font-size: 32px;
    }

    #about-us-page .about-header p {
        font-size: 17px;
    }
}

/* Smartphone */
@media (max-width: 768px) {
    #about-us-page {
        padding: 25px 10px;
    }

    #about-us-page .about-header {
        margin-left: 15px;
        margin-right: 15px;
    }

    #about-us-page .about-header h1 {
        font-size: 26px;
    }

    #about-us-page .about-header p {
        font-size: 15px;
    }

    /* Ubah layout menjadi 1 kolom */
    #about-us-page .about-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    #about-us-page .about-card {
        padding: 20px 15px;
    }

    #about-us-page .about-card h2 {
        font-size: 20px;
    }

    #about-us-page .about-card p {
        font-size: 14px;
    }
}

/* Smartphone Kecil */
@media (max-width: 480px) {
    #about-us-page {
        padding: 20px 8px;
    }

    #about-us-page .about-header h1 {
        font-size: 22px;
    }

    #about-us-page .about-header p {
        font-size: 14px;
    }

    #about-us-page .about-card {
        padding: 18px 12px;
    }

    #about-us-page .about-card h2 {
        font-size: 18px;
    }

    #about-us-page .about-card p {
        font-size: 13px;
    }
}


/* ourcustomer */
/* --- Tampilan default untuk desktop --- */
.grid-10 {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.grid-10 li,
.cardcus {
  background: white;
  padding: 10px;
  border-radius: 8px;
  width: 15%;   
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  font-size: 14px;
  text-align: justify;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
}

.grid-10 img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  border-radius: 5px;
}

.cardcus {
  text-align: center;
}

.ourcustomerpage h2 {
  text-align: center;
  margin-top: 18px;
  margin-bottom: 12px;
}

.ourcustomerpage {
  width: 90%;
  max-width: 1150px;
  margin: auto;
  padding: 20px 0;
}

/* --- RESPONSIVE UNTUK TABLET --- */
@media (max-width: 1024px) {
  .grid-10 li,
  .cardcus {
    width: 22%; /* 4 item per baris */
  }

  .grid-10 img {
    height: 120px;
  }
}

/* --- RESPONSIVE UNTUK HP LEBAR (PHABLET) --- */
@media (max-width: 768px) {
  .grid-10 li,
  .cardcus {
    width: 30%; /* 3 item per baris */
  }

  .grid-10 img {
    height: 110px;
  }
}

/* --- RESPONSIVE UNTUK HP KECIL --- */
@media (max-width: 480px) {
  .grid-10 li,
  .cardcus {
    width: 45%; /* 2 item per baris */
  }

  .grid-10 img {
    height: 90px;
  }

  .ourcustomerpage h2 {
    font-size: 18px;
  }
}

/* --- RESPONSIVE UNTUK HP SANGAT KECIL --- */
@media (max-width: 360px) {
  .grid-10 li,
  .cardcus {
    width: 100%; /* 1 item per baris */
  }

  .grid-10 img {
    height: 80px;
  }
}


/* contacus page */
.contact-us-section {
  display: flex;
  justify-content: space-between; /* agar card rata dan jaraknya sama */
  align-items: stretch; /* card akan memiliki tinggi sama */
  gap: 20px;
  max-width: 1000px;
  margin: 50px auto;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  flex-wrap: wrap; /* responsif */
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 12px;
  flex: 1; /* semua card punya lebar sama */
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  min-height: 120px; /* tinggi minimum agar sama */
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.contact-icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.contact-info h3 {
  font-size: 18px;
  margin: 0 0 5px 0;
  color: #293273;
}

.contact-info p {
  margin: 0;
  font-size: 13px;
  color: #555;
  word-break: break-word;
}
/* Agar <a> card tetap gaya seperti div card */
.contact-card.contact-whatsapp {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* Hover effect sudah ada, tetap berlaku untuk a */
.contact-card.contact-whatsapp:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}


/* Responsif untuk layar kecil */
@media screen and (max-width: 700px) {
  .contact-us-section {
    flex-direction: column;
    align-items: center;
  }
  .contact-card {
    width: 100%;
    max-width: 400px;
  }
}

/* Service Section */
.service-section {
  display: flex;
  justify-content: space-between;
  align-items: stretch; /* semua card sama tinggi */
  gap: 20px;
  max-width: 1000px;
  margin: 50px auto;
  padding: 20px;
  flex-wrap: wrap;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 12px;
  flex: 1; /* semua card lebar sama */
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  min-height: 180px;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.service-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.service-info h3 {
  font-size: 18px;
  margin: 0 0 5px 0;
  color: #293273;
}

.service-info p {
  font-size: 14px;
  color: #555;
  margin: 0;
  line-height: 1.4;
}

/* Responsif */
@media screen and (max-width: 700px) {
  .service-section {
    flex-direction: column;
    align-items: center;
  }

  .service-card {
    width: 100%;
    max-width: 400px;
  }
}

/* robot kontainer  */
.edu-group {
  max-width: 1150px;         /* sejajar dengan kontainer lain */
  margin: 40px auto;         /* tengah halaman */
  padding: 20px;             /* ruang di dalam */
  background-color: #f0f0f0; /* bisa ganti warna sesuai selera */
  border-radius: 15px;
  display: flex;
  flex-direction: column;    /* susun atas-bawah */
  gap: 20px;                 /* jarak antar card */
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.edu-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 12px;
  background-color: #ffffff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

/* robot: gambar kiri */
.edu-card.robot {
  flex-direction: row;
  justify-content: flex-start;
}

/* simulation: gambar kanan */
.edu-card.reverse {
  flex-direction: row-reverse;
  justify-content: flex-start;
  text-align: right;
}

.edu-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.edu-icon img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
  transition: opacity 0.3s ease;
}

.edu-info h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: #293273;
}

.edu-info p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

/* Responsif */
@media screen and (max-width: 700px) {
  .edu-card {
    flex-direction: column !important; /* atas-bawah untuk mobile */
    text-align: center;
  }
}
