/* 1. Reset & Global Styles */
* {
  box-sizing: border-box;
}

body {
  text-align: center;
  font-size: 16px;
  margin: 0;
  padding-top: 80px;
  background-color: #eeeeee;
  font-family: Roboto, sans-serif;
}

h1, h2, h3 {
  font-family: 'Roboto Serif', serif;
  font-weight: 500;
  margin-top: 0;
}

h2 {
  font-size: 2rem;
}

p {
  font-size: 1rem;
  margin: 0.5rem 0;
}

/* 2. Layout Containers */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}

/* 3. Header */
#header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 2rem;
  background-color: #ffffff;
  border-bottom: 2px solid #dddddd;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

#header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

#header-img {
  width: 80px;
  height: 50px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: bold;
  color: #212121;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.nav-link:hover {
  color: #007BFF;
}

/* 4. Reusable Card Sections */
.section-card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  padding: 2rem 1.5rem;
  margin: 2rem auto;
  max-width: 900px;
  text-align: center;
  transition: box-shadow 0.3s ease;
  border-left: 6px solid #2196F3;
  padding-left: 1.5rem;
}

.section-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.section-card h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #212121;
  margin-bottom: 0.5rem;
}

.section-card p {
  color: #424242;
}



/* 5. Form */
#form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

#email {
  width: 300px;
  max-width: 100%;
  padding: 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#submit {
  background-color: #007BFF;
  color: #f7f7f7;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

#submit:hover {
  background-color: #005ec3;
}

/* 6. Media Queries */
@media (max-width: 768px) {
  #header .container {
    flex-direction: column;
    align-items: center;
  }

  .nav-list {
    flex-direction: column;
    gap: 1rem;
  }

  .section-card h2 {
    font-size: 1.5rem;
  }

  #email {
    width: 100%;
  }

  #form {
    width: 100%;
  }

  body {
    padding-top: 160px;
  }
}
