/* ---------------------------
   Base & Typography
--------------------------- */
:root{
  --bg:#f7f8fa;
  --text:#102022;
  --muted:#6b6f72;
  --accent:#1aa3a3;
  --accent-2:#eed85a;
  --card:#ffffff;
  --glass: rgba(255,255,255,0.65);
  --radius:14px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: 'Montserrat', sans-serif;
  background:var(--bg);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.45;
}
.container{max-width:1200px;margin:0 auto;padding:0 20px}

/* ---------------------------
   Header & Nav - consistent
--------------------------- */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  background: rgba(255,255,255,0.9);
  background-color: #ffffff;
  box-shadow: 0 4px 18px rgba(15,20,25,0.06);
  z-index: 1200;
}

.header-nav .logo img { display: block; }

.header-nav .menu {
  display: flex;
  gap: 20px;
  list-style: none;
  margin-left: 12px;
  align-items: center;
}

.header-nav .menu a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.header-nav .menu a:hover { color: var(--text); }

/* Match hero button style */
.menu .btn-menu-cta {
  display: inline-block;
  background: linear-gradient(90deg, #83e29c, #4ac78d);
  padding: 10px 20px;
  border-radius: 999px; /* pill shape */
  color: #1f1f1f;
  text-decoration: none;
  font-weight: 700;
  transition: transform .25s, box-shadow .25s;
  box-shadow: 0 6px 18px rgba(16,32,34,0.1);
}

.menu .btn-menu-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16,32,34,0.15);
}

.nav-cta {
  display: flex;
  align-items: center;
}

.nav-cta .btn-lang {
  padding: 6px 12px;
  border-radius: 8px;
  border: none;
  color: #6b6f72;
  font-weight: 700;
  margin-right: 10px;
  cursor: pointer;
  background: transparent; /* keeps home page style */
}

.nav-cta .social-icon {
  margin-left: 12px;
  color: var(--muted);
  font-size: 1.1rem;
  text-decoration: none;
}

.nav-cta .social-icon:hover { color: var(--accent-2); }
/* ---------------------------
   Floating WhatsApp
--------------------------- */
.whatsapp-btn{
  position:fixed;
  right:22px;
  bottom:22px;
  width:64px;
  height:64px;
  border-radius:50%;
  background:#25D366;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.4rem;
  box-shadow:0 12px 36px rgba(0,0,0,0.12);
  z-index:1300;
  text-decoration:none;
}

/* ---------------------------
   Learning Path Section
--------------------------- */
.learning-path {
  text-align: center;
  padding: 80px 20px;
  background: #ffffff;
}
.learning-title {font-size:2.5rem;font-weight:700;margin-bottom:12px;color:#222}
.learning-subtitle {font-size:1.2rem;color:#555;margin-bottom:60px}
.path-container {display:flex;align-items:center;justify-content:center;gap:30px;flex-wrap:wrap}
.path-step {width:260px;background:#f9f9f9;border-radius:16px;padding:30px 20px;box-shadow:0 4px 12px rgba(0,0,0,0.06);transition: transform 0.3s ease, box-shadow 0.3s ease}
.path-step:hover {transform: translateY(-5px);box-shadow:0 8px 20px rgba(0,0,0,0.1)}
.path-step .icon {font-size:3rem;margin-bottom:15px}
.path-step h3 {font-size:1.5rem;font-weight:700;color:#2b2b2b;margin-bottom:10px}
.path-step p {font-size:1rem;color:#555;line-height:1.5}
.path-arrow {font-size:2rem;color:#4caf50}
@media (max-width:900px){.path-container{flex-direction:column;gap:40px}.path-arrow{transform:rotate(90deg)}}

/* ---------------------------
   Placement Test Section (Improved)
--------------------------- */
.placement-test-section {
  padding: 80px 20px;
  background: #fefefe;
  text-align: center;
}

/* Make start test button match header/hero buttons */
#startTestBtn {
  background: linear-gradient(90deg, #83e29c, #4ac78d); /* same as header */
  color: #1f1f1f; /* same as header */
  padding: 10px 22px; /* same padding as header */
  border-radius: 999px; /* pill shape */
  font-weight: 700;
  font-size: 1rem; /* slightly bigger for visibility */
  cursor: pointer;
  border: none; /* remove black outline */
  outline: none; /* remove focus outline */
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 6px 18px rgba(16,32,34,0.1);
}

#startTestBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16,32,34,0.15);
}

/* Difficulty buttons standardized (not yellow) */
.difficulty-buttons {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  pointer-events: none;
}

.difficulty-buttons.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.btn-difficulty {
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(90deg, #83e29c, #4ac78d); /* match header style */
  color: #1f1f1f;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
}

.btn-difficulty:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16,32,34,0.1);
}

/* Responsive tweaks for placement test only */
@media (max-width:700px){
  .placement-test-section h2 {
    font-size: 1.7rem;
  }
  .placement-test-section p {
    font-size: 1.05rem;
  }
  #startTestBtn {
    font-size: 0.95rem;
    padding: 10px 20px;
  }
  .btn-difficulty {
    font-size: 0.9rem;
    padding: 10px 18px;
  }
}

/* ---------------------------
   Footer & WhatsApp
--------------------------- */
.site-footer {
  background-color: #1e2b58;
  color: #fff;
  padding: 40px 20px 20px;
  font-family: 'Montserrat', sans-serif;
}

.footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-left {
  flex: 1 1 300px;
}

.footer-right {
  flex: 1 1 600px; /* bigger map */
}

.footer-info h3,
.footer-socials h3,
.footer-right h3 {
  margin-bottom: 12px;
  font-size: 18px;
  color: #f5f5f5;
}

.footer-info p {
  font-size: 14px;
  color: #ccc;
  margin: 4px 0;
}

.footer-map iframe {
  border-radius: 8px;
  width: 100%;
  height: 100%;
  max-height: 400px;
}

.footer-socials a {
  color: #ccc;
  font-size: 18px;
  margin-right: 12px;
}

.footer-socials a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 12px;
  color: #999;
}

/* Responsive */
@media screen and (max-width: 900px) {
  .footer-main {
    flex-direction: column;
  }

  .footer-right {
    order: -1; /* map on top for mobile if you want */
    margin-bottom: 20px;
  }
}

/* ---------------------------
   Responsive
--------------------------- */
@media (max-width:1000px){
  .features-grid{grid-template-columns:repeat(2,1fr)}
  .photo-grid{grid-template-columns:repeat(3,1fr)}
  .video-overlay h1{font-size:2.1rem}
}

@media (max-width:700px){
  .about-container{flex-direction:column;text-align:center}
  .photo-grid{grid-template-columns:repeat(2,1fr)}
  .reviews-carousel{width:86%}
  .header-nav .menu{display:none}
  .video-overlay{left:6%;right:6%}
}

@media (max-width:420px){
  .photo-grid img{height:140px}
  .video-overlay h1{font-size:1.5rem}
  .btn-signup{padding:10px 18px;font-size:0.9rem}
}
.placement-test-section {
  padding: 80px 20px;
  background: #fefefe;
  text-align: center;
}

#startTestBtn {
  background: linear-gradient(90deg, #83e29c, #4ac78d);
  color: #1f1f1f;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}
#startTestBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16,32,34,0.1);
}

.difficulty-buttons {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  pointer-events: none;
}

.difficulty-buttons.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.btn-difficulty {
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  background: #ffd166;
  color: #1f1f1f;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
}
.btn-difficulty:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16,32,34,0.1);
}

#formContainer iframe {
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(16,32,34,0.1);
  transition: all 0.3s ease;
}
