/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  width: 100%;
  overflow-x: hidden;
}
body {
  font-family: 'Inter', sans-serif;
  background-color: #0d1117;
  color: #e6edf3;
  line-height: 1.6;
}

/* Hero */
.hero {
  text-align: center;
  background: linear-gradient(120deg, #1f6feb 0%, #0d1117 90%);
  padding: 5rem 2rem 6rem;
  box-shadow: 0 10px 30px rgba(31, 111, 235, 0.3);
}
.hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}
.hero p {
  color: #d1d7e0;
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ICT Section */
.ict-section {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
  text-align: center;
}
.ict-section h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.ict-section p {
  color: #8b949e;
  margin-bottom: 2rem;
}
.ict-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.ict-card {
  background: #161b22;
  border: 1px solid #21262d;
  border-radius: 1rem;
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 0 20px rgba(88,166,255,0.05);
}
.ict-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 25px rgba(88,166,255,0.2);
}
.icon {
  width: 40px;
  height: 40px;
  color: #58a6ff;
  margin-bottom: 1rem;
}
.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 0.6rem;
  background: #58a6ff;
  color: #0d1117;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
  margin-top: 1rem;
}
.btn:hover {
  background: #1f6feb;
}

/* Resources */
.resources {
  background: #11161d;
  padding: 4rem 2rem;
  text-align: center;
}
.resources h2 {
  font-size: 2rem;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.resource-card {
  background: #161b22;
  border: 1px solid #21262d;
  border-radius: 1rem;
  padding: 2rem;
  transition: 0.3s;
}
.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(88,166,255,0.15);
}
.btn-outline {
  display: inline-block;
  color: #58a6ff;
  border: 1px solid #58a6ff;
  padding: 0.6rem 1.2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: 0.3s;
  margin-top: 1rem;
}
.btn-outline:hover {
  background: #1f6feb;
  color: #0d1117;
}

/* Latest Lesson */
.latest {
  max-width: 1100px;
  margin: 4rem auto;
  padding: 0 2rem;
}
.latest-card {
  display: flex;
  flex-wrap: wrap;
  background: #161b22;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #21262d;
}
.latest-card img {
  width: 100%;
  max-width: 420px;
  object-fit: cover;
}
.lesson-text {
  flex: 1;
  padding: 2rem;
}
.lesson-text h3 {
  color: #58a6ff;
  margin-bottom: 1rem;
}
.lesson-text p {
  color: #8b949e;
  margin-bottom: 1.5rem;
}

/* Motivation */
.motivation {
  text-align: center;
  padding: 4rem 2rem;
  background: #0d1117;
  border-top: 1px solid #161b22;
}
.motivation h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.motivation p {
  color: #8b949e;
  max-width: 700px;
  margin: 0.5rem auto;
}
.motivation a {
  color: #58a6ff;
  text-decoration: none;
}

/* Footer */
.footer {
  border-top: 1px solid #161b22;
  text-align: center;
  padding: 1.5rem;
  color: #8b949e;
}

/* Mobile */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .latest-card {
    flex-direction: column;
  }
}
/* End of learn.css */
