* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Helvetica Neue", Arial, sans-serif;
    font-family: "M PLUS Rounded 1c";
}

body {
  line-height: 1.6;
  color: #222;
}

a:visited {
    color: #444;
}
/* ===== Header ===== */
.header {
  position: fixed;
  width: 100%;
  background: rgba(0,0,0,0.7);
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 15px 40px;
  z-index: 1000;
}

.logo {
  font-weight: bold;
  font-size: 18px;
}
.logo a {
    color: #fff;
    text-decoration: none;
}
.nav {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.nav a:hover {
  opacity: 0.6;
}


/* ===== Hero ===== */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.btn {
  background: #00aaff;
  padding: 12px 24px;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background: #008ecc;
}


#news {
    padding-top: 30px;
    display: inherit;
    width: 100%;
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
}



/* ===== Section ===== */
.section {
  padding: 100px 20px;
  text-align: center;
}

.section h2 {
  margin-bottom: 20px;
  font-size: 32px;
}

.bg {
  background: #f5f7fa;
}

/* ===== Cards ===== */
.cards {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin: 40px 0;
  flex-wrap: wrap;
}

.card {
  background: #fff;
  padding: 20px;
  width: 280px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

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

.card img {
  width: 100%;
  border-radius: 8px;
}

/* ===== Buttons ===== */
.link-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  border: 2px solid #00aaff;
  border-radius: 30px;
  text-decoration: none;
  color: #00aaff;
  transition: 0.3s;
}

.link-btn:hover {
  background: #00aaff;
  color: #fff;
}

/* ===== Footer ===== */
.footer {
  background: #111;
  color: #aaa;
  text-align: center;
  padding: 30px;
}

/* ===== Animation ===== */
.fade {
  opacity: 0;
  transform: translateY(40px);
  transition: 1s;
}

.fade.show {
  opacity: 1;
  transform: translateY(0);
}

.news {
  width: 100%;
  margin: 0px auto;
  padding: 20px;
  background: #ffffff;
  //border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.news h2 {
  margin-bottom: 10px;
  font-size: 20px;
  border-left: 4px solid #333;
  padding-left: 10px;
  color: #000;
  text-align: left;
  font-style: italic;
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-list li {
  display: flex;
  gap: 15px;
  padding: 5px 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.news-list li:last-child {
  border-bottom: none;
}

.news-list .date {
  color: #888;
  min-width: 95px;
}

.news-list a {
  color: #333;
  text-decoration: none;
}

.news-list a:hover {
  text-decoration: underline;
}



/* ===============================
   Animated Gradient Background
=============================== */

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    120deg,
    #5cb4a0,
    #678fb1,
    #5ef0e5,
    #1c92d2,
    #f2fcfe
  );
  background-size: 300% 300%;
  animation: gradientMove 18s ease infinite;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* ===============================
   Responsive
=============================== */

@media (max-width: 768px) {

  .header {
    padding: 12px 20px;
  }

  .nav {
    gap: 12px;
    font-size: 14px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 14px;
  }

  .section {
    padding: 70px 16px;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 100%;
    max-width: 340px;
  }
}