/* Base styles */
html, body {
  height: 100%;
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  color: #333;
  overflow: hidden;
}
.main-scroll-wrapper {
  position: absolute;
  top: 154px; /* height of header + menu-bar */
  bottom: 0;
  width: 98%;
  overflow-y: auto;
}
.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header styles */
header {
  background: #e0e0e0; /* Light gray */
  color: #d32f2f;
}

.header-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 10px 20px;
  max-width: 1200px;
  margin: 0 auto;
  background: #e0e0e0;
  color: #d32f2f;
}

.left-section {
  display: flex;
  align-items: center;
}

.logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-right: 20px;
  align-items: flex-start;
}

.left-section h1 {
  margin: 0;
  font-size: 26px;
  color: #d32f2f;
}

.nav-links a {
  margin-left: 20px;
  color: #333;
  text-decoration: none;
  font-weight: bold;
}

.nav-links a:hover {
  text-decoration: underline;
}

/* Main content */
main {
  flex: 1;
  padding: 40px 20px;
  text-align: center;
}

.homepage-main {
  text-align: center;
  padding: 40px 20px;
}

.hero h2 {
  font-size: 2em;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.1em;
  max-width: 600px;
  margin: 0 auto 30px;
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

.feature {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  width: 300px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.feature h3 {
  margin-bottom: 10px;
  color: #d32f2f;
}

.cta {
  margin-top: 40px;
}

.subscribe-button {
  padding: 10px 20px;
  font-size: 1em;
  background: #007acc;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.subscribe-button:hover {
  background: #005fa3;
}

/* Footer styles */
footer {
  text-align: center;
  padding: 20px;
  background: #eaeaea;
  color: #555;
  margin-top: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .header-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    margin-top: 10px;
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }

  .nav-links a {
    margin-left: 15px;
  }

  .feature {
    width: 100%;
  }
}
.notebook-background {
  background: repeating-linear-gradient(
    #fff,
    #fff 28px,
    #dce3e8 29px,
    #dce3e8 30px
  );
  border-left: 4px solid #ff5a5f; /* Red margin line like notebook */
  padding: 40px 30px;
  margin-top: 40px;
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
}
/* Menu Bar */
.menu-bar {
  background-color: #d32f2f;
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

.menu-bar a {
  text-decoration: none;
  color: white;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.menu-bar a:hover {
  background-color: #d32f2f;
  color: #000;
}