/* =========================
TOPBAR
========================= */

.topbar{
  background:var(--color-primary);
  color:var(--color-white);
  font-size:14px;
}

.topbar-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:8px 0;
}

.topbar-left span{
  margin-right:20px;
}


/* =========================
HEADER
========================= */

header{
  background:var(--bg-white);
  box-shadow:var(--shadow-soft);
  position:relative;
  z-index:100;
  transition:all 0.3s ease;
}

/* Sticky state */

header.sticky{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  box-shadow:var(--shadow-medium);
  animation:headerSlide 0.3s ease;
}

/* Sticky animation */

@keyframes headerSlide{
  from{
    transform:translateY(-100%);
  }
  to{
    transform:translateY(0);
  }
}

/* =========================
STICKY HEADER
========================= */

.site-header{
  position:sticky;
  top:0;
  width:100%;
  z-index:1000;
  transition:all 0.3s ease;
}

/* header when scrolling */

.site-header.scrolled{
  box-shadow:0 8px 25px rgba(0,0,0,0.08);
  background:var(--bg-white);
}

/* slightly compact navbar */

.site-header.scrolled .navbar{
  padding:14px 0;
}


/* =========================
NAVBAR
========================= */

.navbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 0;
}

.logo{
  font-size:22px;
  font-weight:700;
  color:var(--color-primary);
}


/* =========================
MAIN MENU
========================= */

.nav-menu{
  display:flex;
  align-items:center;
  gap:28px;
  font-weight:500;
}

.nav-menu li{
  position:relative;
}

.nav-menu a{
  display:flex;
  align-items:center;
  gap:4px;
}

.nav-menu a:hover{
  color:var(--color-primary);
}


/* =========================
DROPDOWN
========================= */

.has-dropdown{
  position:relative;
}

.dropdown{
  position:absolute;
  top:100%;
  left:0;
  background:var(--bg-white);
  min-width:200px;

  border-radius:var(--radius-md);
  box-shadow:var(--shadow-medium);

  opacity:0;
  visibility:hidden;
  transform:translateY(10px);

  transition:0.25s ease;
  z-index:100;
}

/* dropdown items */

.dropdown li{
  border-bottom:1px solid var(--border-light);
}

.dropdown li:last-child{
  border-bottom:none;
}

.dropdown a{
  display:block;
  padding:12px 16px;
  font-size:14px;
}

.dropdown a:hover{
  background:var(--bg-body);
}

/* show dropdown */

.has-dropdown:hover .dropdown{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}


/* =========================
DROPDOWN ICON
========================= */

.nav-dropdown-icon{
  font-size:18px;
  transition:var(--transition);
}

.has-dropdown:hover .nav-dropdown-icon{
  transform:rotate(180deg);
}


/* =========================
TEACHERS SECTION
========================= */

.teachers{
  padding:100px 0;
  background:var(--bg-section-light);
}

.teachers-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:50px;
}

.teachers-header h2{
  font-size:32px;
  margin-top:8px;
}

.teachers-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:25px;
}

.teacher-card{
  background:var(--bg-white);
  border-radius:var(--radius-xl);
  overflow:hidden;
  text-align:center;
  transition:var(--transition);
  box-shadow:var(--shadow-card);
}

.teacher-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow-heavy);
}

.teacher-image{
  position:relative;
}

.teacher-image img{
  width:100%;
  height:260px;
  object-fit:cover;
}

.teacher-social{
  position:absolute;
  top:15px;
  right:15px;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.teacher-social a{
  background:var(--color-primary);
  color:var(--color-white);
  width:34px;
  height:34px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
}

.teacher-info{
  padding:20px;
}

.teacher-info h3{
  font-size:18px;
  margin-bottom:4px;
}

.teacher-info p{
  color:var(--text-muted);
  font-size:14px;
}



/* =========================
VIDEO + FORM SECTION
========================= */

.video-form{
  padding:110px 0;
  background:linear-gradient(
    135deg,
    var(--bg-hero-start),
    var(--bg-white)
  );
}

.video-form-wrapper{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:60px;
}


/* VIDEO */

.video-box{
  position:relative;
  flex:1;
  border-radius:var(--radius-xxl);
  overflow:hidden;
  box-shadow:var(--shadow-heavy);
}

.video-box img{
  width:100%;
  height:380px;
  object-fit:cover;
}

.video-play{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  width:70px;
  height:70px;
  background:var(--color-primary);
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  color:var(--color-white);
  cursor:pointer;
}

.video-play .material-symbols-outlined{
  font-size:36px;
}


/* FORM */

.contact-form{
  flex:1;
}

.contact-form h2{
  font-size:32px;
  margin:12px 0 30px;
}

.contact-form form{
  display:flex;
  flex-direction:column;
  gap:15px;
}

.contact-form input{
  padding:14px 16px;
  border:1px solid var(--border-light);
  border-radius:var(--radius-md);
  font-family:inherit;
}

.contact-form button{
  background:var(--color-primary);
  color:var(--color-white);
  padding:14px;
  border:none;
  border-radius:var(--radius-md);
  font-weight:600;
  cursor:pointer;
  transition:var(--transition);
}

.contact-form button:hover{
  background:var(--color-primary-dark);
}



/* =========================
FOOTER
========================= */

.footer{
  background:var(--footer-bg);
  color:var(--footer-text);
  padding:80px 0 30px;
}

.footer-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:40px;
  margin-bottom:50px;
}

.footer-logo{
  color:var(--color-white);
  margin-bottom:15px;
}

.footer-about p{
  font-size:14px;
  line-height:1.7;
  margin-bottom:20px;
}

.footer-social{
  display:flex;
  gap:10px;
}

.footer-social a{
  background:var(--footer-icon-bg);
  width:36px;
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  color:var(--color-white);
}

.footer-links h4,
.footer-newsletter h4{
  color:var(--color-white);
  margin-bottom:15px;
}

.footer-links ul{
  list-style:none;
}

.footer-links li{
  margin-bottom:10px;
}

.footer-links a{
  color:var(--footer-text);
  font-size:14px;
}

.footer-links a:hover{
  color:var(--color-white);
}

.footer-newsletter p{
  font-size:14px;
  margin-bottom:15px;
}

.footer-newsletter form{
  display:flex;
  gap:10px;
}

.footer-newsletter input{
  flex:1;
  padding:10px;
  border:none;
  border-radius:var(--radius-sm);
}

.footer-newsletter button{
  background:var(--color-primary);
  border:none;
  padding:10px 16px;
  color:var(--color-white);
  border-radius:var(--radius-sm);
  cursor:pointer;
}

.footer-bottom{
  text-align:center;
  border-top:1px solid var(--footer-border);
  padding-top:20px;
  font-size:14px;
}

/* =========================
LOGO WITH TEXT
========================= */

.logo-wrapper{
display:flex;
align-items:center;
gap:10px;
text-decoration:none;
color:inherit;
}

.site-logo{
height:48px;
width:auto;
}

.logo-text{
display:flex;
flex-direction:column;
line-height:1.1;
}

.logo-title{
font-weight:700;
font-size:18px;
}

.logo-subtitle{
font-size:13px;
color:var(--text-muted);
}

/* mobile */

@media(max-width:600px){

.logo-title{
font-size:16px;
}

.logo-subtitle{
font-size:12px;
}

.site-logo{
height:40px;
}

}