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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f9fafb;
  color: #1f2937;
  line-height: 1.6;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

/* ===== HEADER ===== */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 42px;     /* THIS controls size */
    width: auto;
    display: block;
}


.nav-links {
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #0f766e;
  font-weight: 500;
}

.teacher-btn {
  background: #facc15;
  padding: 8px 14px;
  border-radius: 6px;
  color: #000;
  font-weight: 600;
}

/* ===== PAGE TITLE ===== */
.page-title {
  font-size: 2rem;
  margin: 40px 0 10px;
  color: #134e4a;
}

/* ===== BLOG CARD GRID ===== */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 60px;
}

.post-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform .2s ease;
}

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

.post-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-card-content {
  padding: 20px;
}

.post-card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

/* ===== BLOG POST PAGE ===== */
.post-content {
  max-width: 750px;
  margin: 50px auto;
  padding: 0 20px;
}

.post-content img {
  width: 100%;
  border-radius: 10px;
  margin: 20px 0;
}

/* ===== CTA SECTION ===== */
.footer-cta {
  background: #facc15;
  padding: 60px 20px;
  text-align: center;
}

.footer-cta h2 {
  color: #134e4a;
  margin-bottom: 10px;
}

.cta-btn {
  background: #0f766e;
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  margin-top: 15px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  padding: 40px 20px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 25px;
}

.footer-columns h4 {
  margin-bottom: 10px;
  color: #134e4a;
}

.footer-columns a {
  display: block;
  margin-bottom: 6px;
  text-decoration: none;
  color: #4b5563;
  font-size: 0.9rem;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.8rem;
  color: #6b7280;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .page-title {
    font-size: 1.6rem;
  }

  .post-card img {
    height: 180px;
  }
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.teacher-btn {
    background: #f2c94c;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.hamburger {
    display: none;
    font-size: 26px;
    background: none;
    border: none;
    cursor: pointer;
}

/* MOBILE */
@media (max-width: 900px) {
    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        background: white;
        flex-direction: column;
        width: 250px;
        padding: 20px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }
}
