@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Poppins:wght@400;600;800&display=swap');
body {
  font-family: 'Poppins', 'Roboto', Arial, sans-serif;
  background: linear-gradient(135deg, #e8f5e9 60%, #b2dfdb 100%);
  color: #222;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-x: hidden;
}
.bg-icons {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.15;
}
.bg-icons i {
  position: absolute;
  font-size: 4rem;
  color: #388e3c;
  filter: blur(0.5px) drop-shadow(0 2px 6px #388e3c33);
  animation: float 12s infinite ease-in-out;
}
.bg-icons .icon1 { left: 8vw; top: 12vh; font-size: 5rem; color: #43a047; animation-delay: 0s; }
.bg-icons .icon2 { left: 70vw; top: 8vh; font-size: 4.5rem; color: #009688; animation-delay: 2s; }
.bg-icons .icon3 { left: 30vw; top: 70vh; font-size: 4rem; color: #388e3c; animation-delay: 4s; }
.bg-icons .icon4 { left: 80vw; top: 60vh; font-size: 5.5rem; color: #43a047; animation-delay: 1s; }
.bg-icons .icon5 { left: 50vw; top: 40vh; font-size: 6rem; color: #009688; animation-delay: 3s; }
@keyframes float {
  0% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-30px) scale(1.08); }
  100% { transform: translateY(0px) scale(1); }
}
header {
  background: linear-gradient(135deg, #388e3c 0%, #43a047 25%, #009688 75%, #00695c 100%);
  color: #fff;
  padding: 3rem 1rem 2rem 1rem;
  text-align: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 32px #388e3c33;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  overflow: hidden;
}
header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(255,255,255,0.05) 0%, transparent 50%);
  z-index: 1;
}
header > * {
  position: relative;
  z-index: 2;
}
.open-day-title {
  font-family: 'Bebas Neue', 'Orbitron', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: 3px;
  color: #fff;
  margin-bottom: 0.8rem;
  text-shadow: 0 4px 16px #00968855, 0 2px 0 #222;
  background: linear-gradient(90deg, #fff 10%, #43a047 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.welcome-message {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 8px #388e3c33;
  letter-spacing: 1px;
  opacity: 0.95;
}
.logo {
  position: absolute;
  left: 1rem;
  top: 1rem;
  height: 100px;
  z-index: 3;
  transition: height 0.3s;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
}
.profile-img {
  border-radius: 50%;
  border: 8px solid #43a047;
  width: 200px;
  height: 200px;
  object-fit: cover;
  margin-top: 1rem;
  box-shadow: 0 8px 32px #00968833;
  z-index: 3;
  background: #fff;
  transition: width 0.3s, height 0.3s, border 0.3s;
}
h1 {
  font-family: 'Poppins', sans-serif;
  margin: 1rem 0 0.5rem 0;
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-shadow: 0 4px 12px #388e3c33;
}
h2 {
  font-family: 'Poppins', sans-serif;
  color: #43a047;
  margin-top: 2rem;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.about {
  max-width: 700px;
  margin: 2.5rem auto;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 24px #388e3c11;
  padding: 2.2rem 2rem 2rem 2rem;
  text-align: center;
  z-index: 2;
  position: relative;
}
.icons {
  margin: 1.5rem 0 0.5rem 0;
  font-size: 2.4rem;
  color: #388e3c;
  z-index: 3;
}
.icons i {
  margin: 0 0.5rem;
  transition: transform 0.3s, color 0.3s;
  filter: drop-shadow(0 2px 4px rgba(56,142,60,0.3));
}
.icons i:hover {
  transform: scale(1.3) rotate(-8deg);
  color: #009688;
  filter: drop-shadow(0 4px 8px rgba(0,150,136,0.4));
}
.passion {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 2.5rem 0;
  z-index: 2;
  position: relative;
}
.passion-item {
  background: linear-gradient(135deg, #f1f8e9 70%, #b2dfdb 100%);
  border-radius: 20px;
  padding: 1.8rem 1.3rem;
  min-width: 220px;
  box-shadow: 0 4px 16px #43a04722;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 2px solid #43a04722;
}
.passion-item:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 8px 32px #00968833;
  border: 2px solid #43a04788;
}
.passion-item i {
  font-size: 2.8rem;
  color: #43a047;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 8px #388e3c22;
  transition: color 0.3s;
}
.passion-item:hover i {
  color: #009688;
}
.family {
  margin: 2.5rem 0;
  background: linear-gradient(90deg, #e0f2f1 80%, #b2dfdb 100%);
  border-radius: 20px;
  padding: 1.8rem 1.3rem;
  text-align: center;
  box-shadow: 0 4px 16px #00968822;
  z-index: 2;
  position: relative;
}
.contact {
  margin: 2.5rem auto;
  max-width: 500px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 16px #388e3c11;
  padding: 1.8rem 1.3rem;
  text-align: center;
  z-index: 2;
  position: relative;
}
.contact a {
  color: #388e3c;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: color 0.2s;
}
.contact a:hover {
  color: #009688;
  text-decoration: underline;
}
footer {
  text-align: center;
  padding: 1.2rem;
  background: linear-gradient(90deg, #388e3c 80%, #009688 100%);
  color: #fff;
  margin-top: 2rem;
  font-size: 1.1rem;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  box-shadow: 0 -2px 12px #388e3c22;
  z-index: 2;
  position: relative;
}
.theme-icons {
  max-width: 900px;
  margin: 2.5rem auto 0 auto;
  background: #f1f8e9;
  border-radius: 24px;
  box-shadow: 0 4px 20px #43a04722;
  padding: 2.2rem 1rem 1.8rem 1rem;
  text-align: center;
  z-index: 2;
  position: relative;
}
.theme-icons-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 1.5rem;
}
.theme-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 2.5rem;
  color: #388e3c;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 12px #00968822;
  padding: 1.3rem 1.6rem;
  min-width: 120px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.theme-icon-item:hover {
  transform: translateY(-10px) scale(1.1);
  box-shadow: 0 8px 32px #43a04733;
  color: #009688;
}
.theme-icon-item span {
  margin-top: 0.8rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
}
.subjects-taught {
  margin-top: 1.5rem;
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 8px #388e3c33;
}
.subject {
  background: rgba(255,255,255,0.15);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  margin: 0 0.3rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
}
.subject-divider {
  color: #fff;
  font-size: 1.5rem;
  margin: 0 0.5rem;
  opacity: 0.8;
}
@media (max-width: 700px) {
  .theme-icons-row { gap: 1rem; }
  .theme-icon-item { font-size: 1.5rem; min-width: 80px; padding: 0.7rem 0.5rem; }
  .welcome-message { font-size: 1.1rem; }
  .subjects-taught { font-size: 1rem; }
  .subject { padding: 0.3rem 0.7rem; margin: 0 0.2rem; }
}
@media (max-width: 600px) {
  .about, .contact { padding: 1rem; }
  .passion { flex-direction: column; gap: 1rem; }
  .logo { position: static; display: block; margin: 0 auto 1rem auto; }
  .open-day-title { font-size: 1.5rem; }
  h1 { font-size: 1.8rem; }
  .subtitle { font-size: 1.2rem; padding: 0.2em 0.3em; }
  .subjects-taught { flex-direction: column; gap: 0.5rem; }
  .subject-divider { display: none; }
}
.subtitle {
  font-family: 'Bebas Neue', 'Orbitron', 'Roboto', Arial, sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  margin: 1.5rem 0 1rem 0;
  color: #fff;
  letter-spacing: 3px;
  text-shadow: 0 4px 18px #00968855, 0 2px 0 #222;
  background: linear-gradient(90deg, #fff 10%, #43a047 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  border-radius: 12px;
  padding: 0.3em 0.7em;
  display: inline-block;
  box-shadow: 0 2px 12px #43a04722;
  transition: font-size 0.2s;
}