@import url("https://fonts.googleapis.com/css2?family=Michroma&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-image: url("../assets/background-landing.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  opacity: 0.95;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../assets/background-landing.png");
  background-size: cover;
  background-position: center;
  opacity: 0.07;
  z-index: -1;
}

main {
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding: 80px 100px;
}

/* LEFT SIDE */
.intro {
  max-width: 550px;
}

.intro h2 {
  font-family: "Michroma", sans-serif;
  font-size: 80px;
  color: #1f2c6c;
  letter-spacing: 2px;
}

.subtitle {
  color: #777;
  font-weight: 500;
  margin-bottom: 40px;
  margin-top: -7px;
  font-size: 20px;
  padding-left: 7px;
}

.welcome {
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 15px;
}

.description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 55px;
}

.schedule-btn {
  background-color: #1f2c6c;
  color: white;
  font-size: 19px;
  font-weight: 600;
  padding: 15px 18px;
  margin-bottom: 20px;
  border: none;
  border-radius: 13px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s;
  transition: box-shadow 0.3s;
}

.schedule-btn:hover {
  background-color: #2d3d99;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* RIGHT SIDE - ADVISORY */
.advisory {
  background: none;
}

.advisory-card {
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 25px 35px;
  width: 500px;
  min-height: 450px;
  text-align: center;
}

.advisory-card h3 {
  color: #1f2c6c;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
}

.notice {
  border-top: 1px solid #ddd;
  padding-top: 15px;
  text-align: center;
}

.notice-header {
  background: linear-gradient(to right, #1f2c6c, #4a63d9);
  color: white;
  padding: 10px;
  border-radius: 6px;
  text-align: center;
  font-weight: 700;
  margin-bottom: -5px;
}

.notice p {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
  text-align: justify;
}

/* announcement carousel styles reused by index.php */
.ann-carousel {
  position: relative;
  min-height: 120px;
  padding: 12px;
}
.ann-item {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  opacity: 0;
  padding: 12px;
  border-radius: 8px;
}
.ann-item.active {
  position: relative;
  opacity: 1;
}
.ann-subject {
  font-weight: 800;
  color: #1f2c6c;
  font-size: 18px;
}
.ann-office {
  color: #475569;
  font-weight: 700;
  margin: 10px 0 20px 0;
}
.ann-content {
  color: #111;
  margin-top: 10px;
  font-size: 15px;
}

/* arrow controls */

.ann-prev,
.ann-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0);
  color: #7a86be;
  border: 0;
  font-size: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 30;
}
.ann-prev {
  left: 1px;
}
.ann-next {
  right: 1px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  main {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 30px;
  }

  .advisory-card {
    margin-top: 40px;
    width: 100%;
    max-width: 500px;
    min-height: 800px;
  }
}
