* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f8f9fa;
  color: #222;
  line-height: 1.7;
  padding-top: 70px;
}

ul {
  padding-left: 2rem;
  padding-bottom: 1rem;
}
li {
  font-family: 'Inter', sans-serif;
}

a {
  text-decoration: none;
  color: #3366cc;
}
a:hover {
  text-decoration: none;
  color: #5588ff;
}

h1, h2, h3 {
  font-weight: 800;
  line-height: 1.3;
}

h1 {
  letter-spacing: 15px;
  text-transform: uppercase;
  color: white;
}

h2 {
  padding-bottom:0.5rem;
}

.section {
  padding: 4rem 2rem;
  max-width: 800px;
  margin: auto;
}

.navbar {
  background-color: white;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container {
  max-width: 1000px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  font-weight: 0;
  font-size: 1.4rem;
  background-image: url('9clogo-black-small.png');
  background-repeat: no-repeat;
  background-size: contain;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: #555;
  font-weight: 600;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #000;
}

.hero {
  text-align: center;
  padding: 6rem 2rem 4rem;
  background: linear-gradient(to right, #002233, #112244);
  background-size: cover;
  color: #222;
}
.subhero {
  text-align: center;
  padding: 1rem 1rem 1rem;
  background: linear-gradient(to right, #002233, #112244);
  color: #222;
  font-size: 1.5rem;
}
.subhero a {
  color: #ccc;
}
.subhero a:hover {
  color: #fff;
}


.hero h1 {
  font-size: 2.8rem;
}

.hero-subtitle {
  font-family: 'Segoe UI';
  font-size: 1.25rem;
  margin-top: 0.5rem;
  font-weight: 100;
  color: white;
  letter-spacing: 3px;
}

.about p {
  font-size: 1.1rem;
  color: #555;
}

.posts .post-card {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  margin-bottom: 2rem;
  transition: transform 0.2s ease;
  color: #000;
}
.topics .topic-card {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  margin-bottom: 2rem;
  transition: transform 0.2s ease;
}

.post-card:hover {
  transform: translateY(-4px);
}
.topic-card:hover {
  transform: translateY(-4px);
}
.post-card h3 {
  margin-bottom: 0.5rem;
  color: #333;
}

.post-date {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 1rem;
}

.tag {
  background: #3366cc;
  color: white;
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  border-radius: 4px;
  margin-left: 0.5rem;
}
.tag:hover {
  background-color: #5588ff;
}

.read-more {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  color: #3366cc;
}

.topics{
  font-weight: 600;
}

.footer {
  text-align: center;
  padding: 2rem;
  background: #f1f3f5;
  font-size: 0.9rem;
  color: #777;
}
.menu-toggle {
  display: none;
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }



  .menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    color: #333;
    line-height: 1;
    z-index: 110;
  }

  .nav-container {
    justify-content: space-between;
    align-items: center;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 100;
  }

  .nav-links.active {
    display: flex;
  }


  .nav-container {
    justify-content: space-between;
  }

  .nav-container {
    justify-content: center;
  }

  .hero h1 {
    font-size: 2.2rem;
    letter-spacing: 0px;
  }
  .hero-subtitle {
    letter-spacing: 0px;
  }
}

p {
  margin-bottom: 0.5em;
}






.pancake-button {
      display: inline-block;
      background: linear-gradient(135deg, #FF6B6B, #FF8E53);
      color: white;
      font-size: 1.4rem;
      font-weight: bold;
      padding: 1rem 2rem;
      border: none;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
      text-decoration: none;
      text-align: center;
      cursor: pointer;
      transition: transform 0.15s ease, box-shadow 0.15s ease;
    }

    .pancake-button:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    }

    .pancake-button:active {
      transform: scale(0.97);
    }

    /* Centered for demo purposes */
    .center-wrapper {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 3rem;
      background: #f9f9f9;
    }