* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Kanit", sans-serif;
  background-color: white;
}

.navbar {
  position: fixed;
  background: rgba(242, 242, 242, 0.8);
  width: 100%;
  margin: auto;
  padding: 2px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 3px;
  z-index: 999;
}

.logo img {
  height: 50px;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 35px;
}

.nav-menu li a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  font-size: 14px;
  padding-bottom: 5px;
}

.nav-menu li a:hover {
  color: #568b6d;
}

.nav-menu li a.active {
  border-bottom: 2px solid black;
}

/* .btn-login {
  background: #6bbf72;
  padding: 7px 20px;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 14px;
}

.btn-login:hover {
  background: #5aa963;
} */

.news-container {
  max-width: 1200px;
  margin: auto;
  padding-top: 150px;
  padding-bottom: 100px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
}

.speaker-icon {
  width: 120px;
  height: auto;
}

.header h1 {
  font-size: 3em;
  font-weight: 900;
  color: #000;
  text-transform: uppercase;
}

.slider-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.arrow-button {
  width: 60px;
  height: 60px;
  background-color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  z-index: 10;
}

.cards-wrapper {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: center;
  flex: 1;
  max-width: 900px;
}

.card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 4px solid #000;
}

.card-side {
  width: 220px;
  height: 400px;
  background-color: black;
  position: relative;
  box-shadow: 0 4px 50px rgba(0, 0, 0, 0.5);  
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  
}

.card-side:hover {
  transform: scale(1.08) translateY(-8px);
  
}

.card-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-center {
  width: 380px;
  height: 480px;
  background-color: #fff;
  z-index: 5;
  padding: 30px;
  display: flex;
  flex-direction: column;
  margin: 10px;
  box-shadow: 0 4px 50px rgba(0, 0, 0, 0.5);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card-center:hover {
  transform: scale(1.08) translateY(-8px);
  
}


.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e0e0e0;
}

.card-title {
  font-size: 1.5em;
  font-weight: bold;
  color: #000;
}

.pin-icon {
  width: 50px;
  height: auto;
  transform: rotate(20deg);
}

.card-content {
  font-size: 0.95em;
  line-height: 1.6;
  color: #000;
  overflow: hidden;
  text-align: justify;
  text-align: center;
}

.footer {
  background-color: #4a8b73;
  color: white;
  padding: 40px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2px 1fr;
  gap: 40px;
  align-items: start;
}

.divider {
  width: 2px;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.3);
}

.contact-section h2,
.navigation-section h2 {
  font-size: 1.5em;
  margin-bottom: 20px;
  font-weight: bold;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-icon {
  width: 35px;
  height: 35px;
  background-color: white;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  fill: #4a8b73;
}

.contact-text {
  font-size: 1em;
  color: white;
}

.navigation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px 40px;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-size: 1em;
  transition: opacity 0.3s;
}

.nav-link:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .divider {
    display: none;
  }

  .navigation-grid {
    grid-template-columns: 1fr;
  }
}

.copyright {
  text-align: center;
  padding: 15px 0;
  background: #222;
  color: #fff;
  font-size: 14px;
}
