@import url('https://fonts.googleapis.com/css2?family=Kanit&display=swap');

body {
  font-family: 'Kanit', sans-serif;
  background: #f0f0f0;
  margin: 0; 
  padding: 0;
}

/* ====================== Section ====================== */
.annual-report-section {
  max-width: 960px;
  margin: 80px auto;
  padding: 0 20px 60px;
}

.annual-report-section h1 {
  font-weight: 800;
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 40px;
  background: linear-gradient(90deg, #2e7d32, #c0a040);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ====================== Carousel ====================== */
.carousel-container {
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

/* ====================== Card ====================== */
.annual-report-card {
  flex: 0 0 320px;
  margin-right: 20px;
  background: rgba(255,255,255,0.9);
  border-radius: 10px;
  box-shadow: 0 8px 16px rgb(0 0 0 / 0.1);
  cursor: pointer;
  user-select: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}
.annual-report-card:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(192,160,64,0.45);
  border: 1px solid #c0a040;
}
.annual-report-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}
.annual-report-card h3 {
  font-weight: 700;
  font-size: 1.2rem;
  margin: 16px 16px 8px;
  color: #2e7d32;
}
.annual-report-card p {
  font-size: 0.95rem;
  margin: 0 16px 16px;
  color: #555;
  line-height: 1.4;
}

/* ====================== Dots ====================== */
.carousel-dots {
  text-align: center;
  margin-top: 20px;
}
.carousel-dots button {
  width: 12px;
  height: 12px;
  margin: 0 6px;
  border-radius: 50%;
  border: none;
  background: #bbb;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.carousel-dots button.active {
  background: linear-gradient(90deg, #2e7d32, #c0a040);
  box-shadow: 0 0 8px #c0a040aa;
}

/* ====================== Responsive ====================== */
@media (max-width: 720px) {
  .annual-report-card {
    flex: 0 0 260px;
    margin-right: 16px;
  }
}
@media (max-width: 480px) {
  .annual-report-card {
    flex: 0 0 90vw;
    margin-right: 0;
  }
}
/* ====================== DARK MODE ====================== */
body.dark-mode {
  background: #121212;
  color: #e0e0e0;
}

/* Section */
body.dark-mode .annual-report-section h1 {
  background: linear-gradient(90deg, #2e7d32, #c0a040);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Card */
body.dark-mode .annual-report-card {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  box-shadow: 0 6px 16px rgba(0,0,0,0.6);
}
body.dark-mode .annual-report-card:hover {
  border: 1px solid #c0a040;
  box-shadow: 0 20px 40px rgba(192,160,64,0.45);
}
body.dark-mode .annual-report-card h3 {
  color: #10b981;
}
body.dark-mode .annual-report-card p {
  color: #bbb;
}

/* Dots */
body.dark-mode .carousel-dots button {
  background: #444;
}
body.dark-mode .carousel-dots button.active {
  background: linear-gradient(90deg, #2e7d32, #c0a040);
  box-shadow: 0 0 8px #c0a040aa;
}
