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

/* Body and Main */
body, main {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(160deg, #fefcfb, #e8f0f2);
  color: #3a3a3a;
  max-width: 900px;
  margin: 30px auto;
  padding: 20px;
  line-height: 1.6;
}

/* Header */
header {
  text-align: center;
  margin-bottom: 50px;
}

.logo {
  width: 130px;
  display: block;
  margin: 0 auto 15px auto;
  border-radius: 20px;
  box-shadow: 0 6px 12px rgba(97,138,138,0.2);
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

header h1 {
  font-size: 3rem;
  color: #436363;
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

.tagline {
  font-size: 1.2rem;
  color: #618a8a;
  font-style: italic;
  margin-bottom: 35px;
}

/* Navigation */
.nav-list {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 50px;
}

.nav-list li {
  position: relative; /* anchor for dropdowns */
}

.nav-list a {
  padding: 8px 15px;
  border-radius: 30px;
  text-decoration: none;
  color: #618a8a;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-list a:hover,
.nav-list a.active {
  background-color: #618a8a;
  color: white;
}

/* Dropdown */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fcf8f6;
  min-width: 160px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-radius: 8px;
  z-index: 100;
  padding: 5px 0;
  margin: 0;
  list-style: none;
}

.dropdown-content li {
  margin: 0;
}

.dropdown-content li a {
  padding: 10px 15px;
  display: block;
  color: #618a8a;
  font-weight: 600;
  text-decoration: none;
}

.dropdown-content li a:hover {
  background-color: #618a8a;
  color: white;
  border-radius: 5px;
}

/* Show dropdown only on hover */
.nav-list > li.dropdown:hover > .dropdown-content {
  display: block;
}

/* Cards */
.card {
  background: #ffffff;
  padding: 25px 30px;
  margin-bottom: 35px;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(97, 138, 138, 0.15);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(97,138,138,0.2);
}

h2, h3 {
  color: #436363;
  margin-bottom: 15px;
  font-weight: 700;
}

ul {
  list-style-type: disc;
  padding-left: 25px;
}

ul li {
  margin-bottom: 8px;
}

/* Footer */
footer {
  text-align: center;
  font-size: 0.9rem;
  color: #999;
  border-top: 1px solid #ddd;
  padding-top: 25px;
  margin-top: 50px;
}

footer a {
  color: #618a8a;
  text-decoration: none;
  font-weight: 600;
}

footer a:hover {
  text-decoration: underline;
}

/* Lesson Plan Table */
.lesson-plan {
  overflow-x: auto;
  margin-top: 20px;
}

.lesson-plan table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 14px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-radius: 10px;
  overflow: hidden;
}

.lesson-plan th {
  background: linear-gradient(90deg, #618a8a, #436363);
  color: white;
  padding: 12px 10px;
  text-align: left;
  position: sticky;
  top: 0;
  font-weight: 700;
  letter-spacing: 1px;
}

.lesson-plan td {
  border-bottom: 1px solid #ddd;
  padding: 12px 10px;
  vertical-align: top;
}

.lesson-plan tr:nth-child(even) {
  background-color: #f7f5f5;
}

.lesson-plan tr:hover {
  background-color: #e6f0f0;
  transition: background-color 0.3s ease;
}

/* Concept badges */
.concept-badge {
  display: inline-block;
  background-color: #618a8a;
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  margin: 2px 4px 2px 0;
  transition: background-color 0.3s ease;
}

.concept-badge:hover {
  background-color: #436363;
}

/* Responsive */
@media (max-width: 600px) {
  .lesson-plan th,
  .lesson-plan td {
    font-size: 13px;
    padding: 8px;
  }

  .card {
    padding: 20px;
  }

  header h1 {
    font-size: 2.5rem;
  }

  .tagline {
    font-size: 1rem;
  }

  .nav-list {
    flex-direction: column;
    gap: 10px;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    background: none;
    padding: 0;
  }

  .dropdown-content li a {
    padding: 8px 15px;
  }
}

/* Team Members Section */
/* Team Members Section - Elevated Style */
.team-members {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
  margin-top: 30px;
}

.member-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(97,138,138,0.15);
  padding: 25px 20px;
  width: 220px;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.member-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 28px rgba(97,138,138,0.25), 0 10px 10px rgba(97,138,138,0.2);
}

.member-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  box-shadow: 0 6px 14px rgba(97,138,138,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-card img:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(97,138,138,0.3);
}

.member-card h3 {
  color: #436363;
  margin-bottom: 5px;
  font-size: 1.3rem;
  font-weight: 700;
}

.member-card p {
  color: #618a8a;
  font-size: 0.95rem;
  margin-bottom: 5px;
}

/* Responsive */
@media (max-width: 600px) {
  .team-members {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
}
