/* teacher.css */

/* ================================
   DARKER NAVY BLUE THEME
================================= */
:root {
  --bg: #e8ecf7;
  --card: #ffffff;

  --blue-dark: #0f1835;
  --blue: #1d2753;
  --blue-light: #2d3c7a;

  --text: #0b1228;
  --text-light: #5b6b84;

  --radius: 12px;
  --shadow: 0 6px 20px rgba(5, 10, 30, 0.20);
  --transition: 0.3s ease;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* ================================
   HEADER
================================= */
.site-header {
  width: 100%;
  background: var(--card);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.header-inner {
  max-width: 1100px;
  margin: auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  text-decoration: none !important;
}

.brand-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--blue-dark);
}

/* NAV TOGGLE */
.nav-toggle {
  background: none;
  border: none;
  font-size: 28px;
  color: var(--blue-dark);
  cursor: pointer;
}

/* MOBILE NAV */
.mobile-nav {
  background: var(--blue-dark);
  width: 100%;
  overflow: hidden;

  max-height: 0;
  opacity: 0;
  pointer-events: none;

  display: flex;
  flex-direction: column;
  transition: max-height .35s ease, opacity .25s ease;
}

.mobile-nav.open {
  max-height: 260px;
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav a {
  padding: 18px 22px;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  font-size: 16px;
}

.mobile-nav a:hover {
  background: var(--blue-light);
}

/* HERO */
.hero {
  background: var(--card);
  padding: 90px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 34px;
  color: var(--blue-dark);
  margin-bottom: 12px;
}

.lead {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 28px;
}

/* HERO BUTTONS */
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.btn {
  padding: 12px 22px;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  transition: var(--transition);
}

.btn-primary {
  background: var(--blue);
  color: white;
}

.btn-primary:hover {
  background: var(--blue-light);
}

.btn-ghost {
  border: 2px solid var(--blue);
  color: var(--blue);
}

.btn-ghost:hover {
  background: var(--blue);
  color: white;
}

/* SECTIONS */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 40px 20px;
}

.section-title {
  font-size: 28px;
  color: var(--blue-dark);
  margin-bottom: 10px;
}

.section-lead {
  color: var(--text-light);
  margin-bottom: 28px;
}

/* BIO / AVATAR */
.about-grid {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 26px;
  align-items: start;
}

.avatar-large {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  font-weight: 700;
}

/* CLASSES / SEMINARS SLIDER */
.classes-slider {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding-bottom: 10px;
}

.class-card {
  min-width: 220px;
  background: var(--card);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 16px;
  flex-shrink: 0;
  color: var(--text);
}

/* CONTACT LINKS */
ul {
  padding-left: 20px;
}

ul li {
  margin-bottom: 8px;
}

/* FOOTER */
.site-footer {
  background: var(--card);
  color: var(--text-light);
  text-align: center;
  padding: 22px;
  margin-top: 40px;
  box-shadow: var(--shadow);
}

/* RESPONSIVE */
@media (max-width: 800px) {
  .header-inner {
    padding: 14px 16px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .avatar-large {
    margin: auto;
  }
  .classes-slider {
    justify-content: flex-start;
  }
}
/* BIO SECTION IMPROVED */
.bio-section {
  margin-top: 40px;
}

.bio-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 28px;
}

.bio-avatar {
  flex-shrink: 0;
}

.bio-text {
  max-width: 700px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
}

/* Responsive */
@media (max-width: 800px) {
  .bio-wrapper {
    flex-direction: column;
    text-align: left;
  }
  .bio-avatar {
    margin: 0 auto;
  }
}
/* CONTACT BUTTON LINKS */
.link-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.link-btn {
  padding: 10px 18px;
  background: var(--blue);
  color: white;
  border-radius: var(--radius);
  text-decoration: underline;
  font-weight: 600;
  transition: var(--transition);
}

.link-btn:hover {
  background: var(--blue-light);
  color: #fff;
}

