 @charset "utf-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #f4f6f9;
  color: #333;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0b1c2c;
  padding: 15px 30px;
  color: #fff;
}

.navbar .logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: #FFD700;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.navbar ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s;
}

.navbar ul li a:hover {
  color: #FFD700;
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

.login-btn {
  background: #FFD700;
  padding: 8px 14px;
  border-radius: 6px;
  color: #0b1c2c !important;
  font-weight: bold;
}

.login-btn:hover {
  background: #fff;
  color: #0b1c2c !important;
}

/* Hero Section */
.hero {
  position: relative;
  text-align: center;
  color: white;
}

.hero-img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

/* Cards wrapper 
.cards-wrapper {
  display: flex;
  justify-content: center;
  align-items: stretch;  /* pastikan semua card sama tinggi dalam row 
  flex-wrap: wrap;
  gap: 20px;
}

/* Card 
.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg, #0b1c2c, #1a2e40);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  max-width: 350px;
  flex: 1 1 300px;   /* responsive auto resize 
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 20px;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.card-img-top {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  padding: 30px;
}

.card-title {
  margin-bottom: 12px;
  color: #FFD700;
  font-size: 1.3rem;
  font-weight: bold;
  text-align: center;
}

.card-list {
  flex-grow: 1;
  margin-bottom: 20px;
}

.card-list li {
  margin-bottom: 6px;
  color: #fff;
}

/* Button
.btn {
  display: inline-block;
  background-color: #FFD700;
  color: #0b1c2c;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  align-self: center;
}

.btn:hover {
  background-color: #fff;
  color: #0b1c2c;
}
.site-section {
  padding: 7em 0;
}

#search-form .search-input {
  width: calc(100% - 160px);
  height: 55px;
  border-radius: 0;
  padding-left: 20px;
  padding-right: 20px;
  border: none;
}
*/
/* Section umum */
.site-section {
  padding: 80px 20px;
  background: #f9f9f9;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Row flexbox */
.row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}

/* Column */
.col-md-4, .col-md-1, .col-md-7 {
  flex: 1;
}

/* Text content */
.heading-wrap {
  text-align: center;
}

.sub-heading {
  font-size: 1rem;
  color: #FFD700; /* gold accent */
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.heading {
  font-size: 2.2rem;
  font-weight: bold;
  color: #0b1c2c; /* navy */
  margin-bottom: 20px;
}

.heading-wrap p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Button */
.btn {
  display: inline-block;
  background-color: #FFD700;
  color: #0b1c2c;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: #0b1c2c;
  color: #fff;
}

/* Image */
.img-md-fluid {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* Responsive */
@media (max-width: 768px) {
  .row {
    flex-direction: column;
    text-align: center;
  }

  .col-md-4, .col-md-7 {
    flex: 1 1 100%;
  }
}


/* Responsive Navbar */
@media (max-width: 768px) {
  .navbar ul {
    display: none;
    flex-direction: column;
    background: #0b1c2c;
    position: absolute;
    top: 100%;   /* follow height navbar */
    right: 20px;
    width: 200px;
    padding: 20px;
    border-radius: 10px;
  }

  .navbar ul.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
    color: #fff;
  }
}
