* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f7f7f7;
}

/* Scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Navbar */
nav {
  background-color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 3rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  position: fixed;
  top: 0; /* supaya nempel di atas */
  width: 100%; /* supaya selebar layar */
  z-index: 1000;
}


.logo img {
  width: 50px;
}

.list {
  display: none;
  font-size: 28px;
  color: #232e7e;
  cursor: pointer;
}

/* Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 3rem;
  list-style: none;
}

.nav-menu li a {
  text-decoration: none;
  font-family: 'Segoe UI', Tahoma;
  color: #232E7E;
  font-weight: 600;
  font-size: medium;
  padding: 3px 0;
  transition: border-bottom 300ms ease, color 300ms ease;
  border-bottom: 2px solid transparent;
}

.nav-menu li a:hover {
  color: #A0B7FF;
  border-bottom: 2px solid #A0B7FF;
}

/* Responsive untuk Mobile */
@media (max-width: 768px) {
  .list {
    display: block;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 3rem;
    background-color: white;
    padding: 1rem 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    z-index: 1000;
    min-width: 200px;
    align-items: flex-start;
  }

  .nav-menu.active {
    display: flex;
  }

  
}


/* Home */
.home-section {
  position: relative;
  background-image: url('asset/Home.jpg');
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(135, 131, 131, 0.4); /* untuk efek gelap */
  z-index: 1;
}

.home-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  color: rgb(255, 255, 255);
  max-width: 800px;
  padding: 20px;
}

.home-section h1 {
  font-size:40px;
  font-family: 'Segoe UI', Tahoma;
  font-weight: bold;
  margin-bottom: 1rem;
}

.home-section p {
  font-size: 20px;
  margin-bottom: 2rem;
  font-family: 'Segoe UI', Tahoma;
}

.home-section-button {
  display: flex;
  font-family: 'Segoe UI', Tahoma;
  gap: 3rem;
  justify-content: center;
}

.btn {
  padding: 10px 20px;
  font-weight: 600;
  border-radius: 5px;
  gap: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-light {
  background-color: white;
  color: #232E7E;
  border: 0px solid #232E7E;
}

.btn-light:hover {
  background-color: #e1e1e1;
}

.btn-primary {
  background-color: #232E7E;
  color: white;
  border: 0px solid #ffffff;
}

.btn-primary:hover {
  background-color: #1a2264;
}


/* About Us Section */
.about-section {
  padding: 60px 20px;
  background-color: #ffffff;
  font-family: 'Segoe UI', Tahoma;
}

.about-section h2 {
  font-size: 2.2rem;
  color: #00205b;
  margin-bottom: 40px;
  text-align: center;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: justify;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h3 {
  font-size: 1.5rem;
  color: #00205b;
  margin-bottom: 15px;
  font-weight: 700;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
}

/* Vision & Mission Section */
.vision-mission-section {
  padding: 60px 20px;
  background-color: #ffffff;
  font-family: 'Segoe UI', Tahoma;
}

.vision-mission-section h2 {
  font-size: 2.2rem;
  color: #00205b;
  margin-bottom: 40px;
  text-align: left;
  padding-left: 3rem;

}

.vision-mission-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.vision, .mission {
  flex: 1;
  min-width: 300px;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.vision h3, .mission h3 {
  font-size: 1.5rem;
  color: #00205b;
  margin-bottom: 5px;
  font-weight: 700;
}

.vision p, .mission ol {
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
}

.mission ol {
  padding-left: 20px;
}

.mission li {
  margin-bottom: 12px;
}


/* Responsive */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-text {
    text-align: justify;
  }
}

/* Our Branch Section */
.branch-section {
  padding: 60px 20px;
  background-color: #ffffff;
  font-family: 'Segoe UI', Tahoma;
  padding-top: 0rem;
}

.branch-section h2 {
  text-align: center;
  font-size: 1.5rem;
  color: #00205b;
  margin-bottom: 30px;
}

.branch-content {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.branch-text {
  flex: 1;
  background-color: #ffffff;
  padding: 30px;
  font-size: 1.5rem;
  color: #333;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  min-width: 250px;
  margin-top: 20px;
}

.carousel-wrapper {
  flex: 1.2;
  max-width: 700px;
  height: 400px;
  overflow: hidden;
  border-radius: 12px;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
  min-width: 300px; 
}

.carousel-images {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.carousel-images img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* Responsive */
@media (max-width: 768px) {
  .branch-content {
    flex-direction: column;
    align-items: center;
  }

  .branch-text {
    text-align: center;
  }

  .carousel-wrapper {
    width: 100%;
    height: 250px;
  }
}


/* Our Product Section */
.product-section {
  padding: 60px 20px;
  background-color: #ffffff;
  text-align: center;
  font-family: 'Segoe UI', Tahoma;
}

.product-section h2 {
  font-size: 2.2rem;
  color: #00205b;
  margin-bottom: 10px;
}

.product-subtitle {
  font-size: 1rem;
  color: #555;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.product-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background-color: #f4f6fb;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.product-card h3 {
  color: #00205b;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.product-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}


/* Contact Us Section */
.contact-section {
  padding: 60px 20px;
  background-color: #f7f9fd;
  font-family: sans-serif;
  text-align: center;
}

.subtitle {
  font-size: 2rem;
  color:#232E7E;
  margin-bottom: 8px;
}

.title {
  font-size: 2rem;
  font-weight: 700;
  color: #232E7E;
  margin-bottom: 16px;
}

.description {
  max-width: 500px;
  margin: 0 auto 40px;
  color: #555;
}

.info-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

/*optional*/
.info-box {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: center;
}

.info-box.dark {
  background-color: #232E7E;
  color: white;
}

.info-box i {
  font-size: 1.5rem;
  margin-bottom: 10px;
  display: block;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: stretch;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.contact-form button {
  background-color: #1e3a8a;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
}

.map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border-radius: 10px;
}


/* Responsive */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-image img {
    margin: 0 auto;
  }

  .about-text h3, .about-text p {
    text-align: left;
  }
}
