/* eningles.css - Modern style for English classes site */


:root {
  --primary-cyan: #04A494;
  --primary-green: #00ff99;
  --primary-dark: #23272f;
  --background-gradient: linear-gradient(90deg, #23272f 0%, #23272f 100%);
  --background-light: #23272f;
  --background-white: #fff;
  --text-dark: #23272f;
  --text-light: #fff;
  --font-main: 'Lato', 'Open Sans', Arial, sans-serif;
}


body {
  background: linear-gradient(90deg, #000 0%, #23272f 100%) ;
  color: white;
  font-family: Lato;
  margin: 0;
  padding: 0;
}


.banner {
  background: var(--background-gradient) ;
  color: white ;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 2rem 1.5rem 2rem;
  margin: 0 auto;
}

.banner-logo {
  height: 64px;
  margin-bottom: 1rem;
  background: #23272f;
  color: #fff;
  font-family: 'Lato', 'Open Sans', Arial, sans-serif;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.banner-title {
  font-size: 2.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 0 auto;
  background: var(--background-gradient);
  color: #fff ;
  text-align: center;
  width: 100%;
}


header {
  background: none;
  color: white;
  text-align: center;
  margin-bottom: 0;
}

nav ul {
  color: #04A494;
  text-shadow: 0 2px 16px rgba(0,230,207,0.12);
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0 0;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
}

nav a {
  color: #00e6cf;
  background: #fff;
  font-size: 1.15rem;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  box-shadow: 0 4px 24px rgba(0,230,207,0.07);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

nav a:hover {
  background: var(--primary-green);
  color: black;
}

main {
  margin: 2.5rem auto;
  background: var(--background-white);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,230,207,0.04);
  color: black;
  padding: 2rem;
  max-width: 900px;
}

section {
  margin-bottom: 2.5rem;
}

/* Headings */
h2 {
  font-family: 'Lato', 'Open Sans', Arial, sans-serif;
  border: 1px solid #04A494;
  background: #fff;
  color: #04A494;
  font-size: 2.2rem;
  margin-bottom: 0.7rem;
  outline: 2px solid #00ff99;
  border-color: #00ff99;
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

h3, h4, h5, h6 {
  background: #00e6cf;
  color: #23272f;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  margin-bottom: 0.7rem;
}

/* .form-section block removed, use form styles below */

label {
  font-weight: 600;
  color: #04A494;
}


input, textarea, button {
  font-family: Lato;
  font-size: 1rem;
  padding: 0.8rem;
  border-radius: 7px;
  border: 1px solid #00e6cf;
  background: var(--background-white);
}


input:focus, textarea:focus {
  outline: 2px solid var(--primary-green);
  border-color: green;
}


button[type="submit"] {
  background: #00e6cf;
  color: black;
  border: none;
  font-weight: 700;
  cursor: pointer;
  border-radius: 7px;
  box-shadow: 0 2px 8px rgba(0,230,207,0.08);
  transition: background 0.2s;
}

button[type="submit"]:hover {
  background: var(--primary-green);
  color: black;
}


footer {
  background: --background-gradient;
  color: #00e6cf;
  text-align: center;
  padding: 1.2rem 0;
  margin-top: 2.5rem;
  font-size: 1.05rem;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 -2px 8px rgba(0,230,207,0.05);
}


/* Responsive Design */
@media (max-width: 700px) {
  .banner {
    flex-direction: column;
    padding: 1.5rem 0.5rem 1.2rem 0.5rem;
    text-align: center;
  }
  .banner-logo {
    margin: 0 0 1rem 0;
    height: 48px;
  }
  .banner-title {
    font-size: 2rem;
  }
  main {
    padding: 1rem;
  }
  nav ul {
    gap: 1rem;
    flex-direction: column;
  }
  section {
    margin-bottom: 1.5rem;
  }
}

/* -------------------------------------------------- */
/* Additional styles copied from eningles.html (head & inline blocks)
   Appended to central stylesheet for consistency across pages
   Date: 2025-11-09
*/

/* Prevent horizontal scrolling and ensure responsive images */
html, body { box-sizing: border-box; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }

body, .banner, header, main, footer, .extra-section {
  background: none;
  color: #fff;
}
.banner {
  display: flex;
  background: linear-gradient(90deg, #000 0%, #23272f 100%) !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 0 1.5rem 0;
  margin: 0;
  width: 100vw;
  max-width: 100vw;
}
.banner-logo {
  height: 90px;
  width: 100%;
  max-width: 420px;
  object-fit: contain;
  background: transparent;
  color: #fff;
  font-family: 'Lato', 'Open Sans', Arial, sans-serif;
  display: block;
  margin: 0 auto;
}
.extra-section {
  background: linear-gradient(90deg, #000 0%, #23272f 100%) !important;
  width: 100%;
  max-width: 1100px;
  margin: 2rem auto 0 auto;
  padding: 3.5rem 2rem 3.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  box-shadow: 0 12px 48px rgba(23,106,58,0.22);
  box-sizing: border-box;
  position: relative;
}
.extra-section h2 {
  color: #04A494;
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
}
.extra-section p {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 2rem;
}
.survey-form {
  background: rgba(35,39,47,0.85);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(0,230,207,0.07);
  color: #fff;
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.survey-form label {
  color: #00ff99;
  font-weight: 600;
}
.survey-form input, .survey-form textarea {
  background: #23272f;
  color: #fff;
  border: 1px solid #00ff99;
  border-radius: 10px;
  padding: 0.7rem;
  font-size: 1.1rem;
}
.survey-form button {
  background: linear-gradient(90deg, #176a3a 0%, #00ff99 100%) !important;
  color: #23272f;
  border: none;
  font-weight: 700;
  border-radius: 7px;
  padding: 0.9rem 1.5rem;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,230,207,0.08);
  transition: background 0.2s;
}
.survey-form button:hover {
  background: #00ff99;
  color: #23272f;
}
.floating-price-banner {
  position: absolute;
  top: -30px;
  left: -30px;
  z-index: 100;
  background: linear-gradient(90deg, #23272f 0%, #176a3a 100%);
  padding: 1.2rem 2rem;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,230,207,0.18);
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 1.5rem;
  font-weight: 700;
  min-width: 320px;
  max-width: 90vw;
  animation: float-in 1s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes float-in {
  0% { transform: scale(0.7) translateY(-40px); opacity: 0; }
  80% { transform: scale(1.05) translateY(5px); opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.floating-price-banner .discount-badge {
  background: #ff3b3b;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(255,59,59,0.18);
  transform: rotate(-15deg);
  letter-spacing: 1px;
  margin-right: 0.7rem;
  animation: badge-pop 1.2s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes badge-pop {
  0% { transform: scale(0.5) rotate(-15deg); opacity: 0; }
  80% { transform: scale(1.1) rotate(-15deg); opacity: 1; }
  100% { transform: scale(1) rotate(-15deg); opacity: 1; }
}
.floating-price-banner .old-price {
  color: #fff;
  text-decoration: line-through;
  opacity: 0.7;
  font-size: 1.1rem;
  margin-right: 0.5rem;
}
.floating-price-banner .new-price {
  color: #00ff99;
  font-size: 1.7rem;
  font-weight: 800;
  margin-left: 0.5rem;
}
.floating-price-banner .price-note {
  color: #ffeb3b;
  font-size: 1rem;
  font-weight: 600;
  margin-left: 1.2rem;
}

/* Banner flex and action buttons */
.banner-flex {
  display: flex;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  padding: 0 2rem;
  box-sizing: border-box;
}
.banner-left, .banner-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.banner-right {
  justify-content: flex-end;
}
.banner-center {
  flex: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.probar-tutor-btn {
  background: linear-gradient(90deg, #176a3a 0%, #00ff99 100%) !important;
  color: #23272f !important;
  border: none;
  font-weight: 700;
  border-radius: 7px;
  padding: 0.9rem 1.5rem;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,230,207,0.08);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  margin-left: 1rem;
}
.probar-tutor-btn:hover {
  background: #00ff99 !important;
  color: #23272f !important;
}

/* Secondary header/nav styles */
header {
  background: linear-gradient(90deg, #000 0%, #23272f 100%) !important;
  color: white;
  text-align: center;
  margin-bottom: 0;
}
nav {
  box-shadow: 0 12px 48px 0 rgba(0,230,207,0.18);
  border-radius: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 3rem auto 0 auto;
  background: transparent;
  padding: 1.5rem 2.5rem;
  max-width: 1100px;
  width: 100%;
  box-sizing: border-box;
}
nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
  width: 100%;
}
nav li {
  display: flex;
  align-items: center;
}
nav a {
  color: #23272f !important;
  background: linear-gradient(90deg,#176a3a 0%,#00ff99 100%) !important;
  font-size: 1.15rem;
  padding: 0.3rem 0.7rem;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0,230,207,0.07);
  text-decoration: none;
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
}
nav a:hover {
  background: #00ff99 !important;
  color: #23272f !important;
}

/* Main layout helpers */
.main-flex-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  box-shadow: none !important;
  padding: 0;
}
.main-left {
  flex: 1;
  padding-right: 2rem;
  min-width: 280px;
  max-width: 600px;
  text-align: left;
  display: flex;
  flex-direction: column;
}

/* Modal styles */
.modal-content {
  background: rgba(35,39,47,0.85);
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(23,106,58,0.22);
  padding: 2.5rem 2rem 2rem 2rem;
  max-width: 420px;
  width: 90vw;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #23272f;
  color: #00ff99;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
}
.modal-title {
  color: #00ff99;
  margin-bottom: 1.2rem;
}
.modal-form {
  width: 100%;
  background: rgba(35,39,47,0.85);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.modal-label {
  color: #00ff99;
  font-weight: 600;
}
.modal-input {
  background: #23272f;
  color: #fff;
  border: 1px solid #00ff99;
  border-radius: 10px;
  padding: 0.7rem;
  font-size: 1.1rem;
}
.modal-btn {
  background: linear-gradient(90deg,#176a3a 0%,#00ff99 100%) !important;
  color: #23272f !important;
  border: none;
  font-weight: 700;
  border-radius: 7px;
  padding: 0.9rem 1.5rem;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,230,207,0.08);
  transition: background 0.2s;
  width: 100%;
}
.modal-btn:hover {
  background: #00ff99 !important;
  color: #23272f !important;
}
.modal-success {
  display: none;
  color: #00ff99;
  font-weight: 600;
  margin-top: 1rem;
  text-align: center;
}

/* Footer styles copied from inline block */
footer {
  background: linear-gradient(90deg, #23272f 0%, #23272f 100%);
  color: #176a3a;
  text-align: center;
  padding: 1.2rem 0;
  margin-top: 2.5rem;
  font-size: 1.05rem;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 -2px 8px rgba(23,106,58,0.05);
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #176a3a;
  text-decoration: none;
  font-weight: 600;
  margin-right: 1.5rem;
  font-size: 1.08rem;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.1s;
  border-radius: 6px;
}
.footer-social-link img {
  height: 20px;
  width: 20px;
  vertical-align: middle;
  margin-right: 0.2rem;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(23,106,58,0.08);
  transition: box-shadow 0.2s;
}
.footer-social-link:hover {
  background: #00ff99;
  color: #23272f !important;
  box-shadow: 0 2px 8px rgba(23,106,58,0.12);
  border-radius: 6px;
  transform: scale(1.05);
}

/* ================================================== */
/* Page-specific styles: About page (scoped)           */
/* Use body.aboutus-page to avoid duplicating global rules */
.aboutus-page {
  background: #0f1720;
  color: #e6f9ef;
}
.aboutus-page .container {
  max-width: 1100px;
  margin: 2.5rem auto;
  padding: 2rem;
  background: linear-gradient(90deg,#0b1220 0%, #16202a 100%);
  border-radius: 12px;
  color: #e6f9ef;
  box-sizing: border-box;
}
.aboutus-page h1 {
  color: var(--primary-green);
  margin-top: 0;
}
.aboutus-page p {
  color: #0f8b5a;
  line-height: 1.6;
}
.aboutus-page .links a {
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 700;
}
.aboutus-page footer {
  text-align: center;
  margin-top: 2rem;
  color: #9ecbb8;
}

/* Secondary navigation used on several pages */
.secondary-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1rem auto;
  max-width: 1100px;
}

/* Responsive tweaks for the about page */
@media (max-width: 700px) {
  .aboutus-page .container {
    margin: 1rem;
    padding: 1rem;
  }
  .aboutus-page .banner-logo {
    height: 56px;
  }
  .aboutus-page .probar-tutor-btn {
    padding: 0.5rem 0.8rem;
    font-size: 0.95rem;
    margin-left: 0.4rem;
  }
  .secondary-nav {
    gap: 0.6rem;
    flex-wrap: wrap;
  }
}

/* ================================================== */
/* Page-specific: Terms page styles (moved from terms.html head) */
.terms-page {
  font-family: Arial, Helvetica, sans-serif;
  background: #07111a;
  color: #0f8b5a;
  margin: 0;
}
.terms-page .container {
  max-width: 900px;
  margin: 2.5rem auto;
  padding: 2rem;
  background: linear-gradient(90deg,#0b1220 0%, #16202a 100%);
  border-radius: 12px;
}
.terms-page h1 { color: #00ff99; }
.terms-page p { line-height: 1.6; }
.terms-page .banner { margin-bottom: 1.6rem; padding-top: 1rem; }
.terms-page .banner-flex { max-width: 1100px; margin: 0 auto; }
.terms-page .banner-logo { max-width: 320px; }
.terms-page > header + nav { display: flex; justify-content: center; gap: 1rem; margin: 1rem auto; max-width: 1100px; }

