/* General */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  background-color: #ffffff;
  color: #1D233E;
  text-align: center;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1,
h2,
h3,
p {
  color: #1D233E;
}

p {
  font-size: 18px;
}

/* Top line */
.top-line {
  background-color: #9388FF;
  min-height: 48px;
  padding: 12px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-line p {
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  margin: 0;
}

/* Header */
.site-header {
  background-color: #ffffff;
  width: 100%;
  position: relative;
  z-index: 10;
}

.hero-header {
  min-height: 120px;
  padding: 24px 48px;
  background-color: #ffffff;
  display: grid;
  grid-template-columns: auto minmax(220px, 360px) 1fr auto;
  align-items: center;
  gap: 34px;
}

/* Logo image and name */
.header-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.header-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.header-brand span {
  color: #1D233E;
  font-size: 30px;
  font-weight: 800;
  white-space: nowrap;
}

/* Search bar */
.header-search {
  height: 56px;
  display: flex;
  align-items: center;
  border: 2px solid #d9d9d9;
  border-radius: 14px;
  overflow: hidden;
  background-color: #ffffff;
}

.header-search input {
  flex: 1;
  height: 100%;
  border: none;
  outline: none;
  padding: 0 20px;
  font-size: 18px;
  font-family: inherit;
  color: #1D233E;
  background: #ffffff;
}

.header-search input::placeholder {
  color: #777777;
}

.header-search .search-button {
  width: 70px;
  height: 100%;
  border: none;
  background-color: #1D233E;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.header-search .search-button i {
  font-size: 24px;
}

.header-search .search-button:hover {
  background-color: #11172d;
}

/* Menu items */
.menu-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.menu-box a {
  color: #1D233E;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
}

.menu-box a:hover {
  color: #9388FF;
}

/* Contact icons and button */
.header-contact {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

.header-social {
  color: #1D233E;
  font-size: 42px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-demo-button {
  background-color: #1D233E;
  color: #ffffff;
  text-decoration: none;
  padding: 18px 30px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-demo-button:hover {
  background-color: #9388FF;
  color: #ffffff;
}

/* First video section */
.hero-video-section {
  position: relative;
  width: 100%;
  height: calc(100vh - 72px);
  min-height: 620px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.28);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}

.hero-content h1 {
  color: #ffffff;
  font-size: 72px;
  font-weight: 800;
  letter-spacing: 6px;
  margin: 0 0 28px;
}

.hero-content p {
  color: #ffffff;
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 34px;
}

.hero-button {
  background-color: #1D233E;
  color: #ffffff;
  border-radius: 8px;
  padding: 14px 28px;
  font-size: 18px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

/* Buttons */

.enroll-button,
.demo-card button,
.club-card button,
.contact-form button,
.header-demo-button,
.hero-button,
.discount-button {
  background-color: #1D233E;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 12px 25px;
  font-size: 16px;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 5px;
}

.enroll-button:hover,
.demo-card button:hover,
.club-card button:hover,
.contact-form button:hover,
.header-demo-button:hover,
.hero-button:hover,
.discount-button:hover {
  background-color: #11172d;
}

/* Shared two-column sections */
.video-text-section,
.image-text-section {
  background-color: #ffffff;
  padding: 40px 60px;
  width: 100%;
  margin: 0;
}

.video-text-section .container,
.image-text-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
  max-width: 1500px;
  margin: 0 auto;
}

.video-text-section .left,
.image-text-section .left {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.video-text-section .left h2,
.image-text-section .left h2 {
  font-size: 42px;
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 40px;
}

.video-text-section .left p,
.image-text-section .left p {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 40px;
}

.video-text-section .left button,
.image-text-section .left button {
  border-radius: 12px;
  padding: 10px 17px;
  font-size: 16px;
  gap: 16px;
  margin-left: 0;
}

.video-text-section .right iframe {
  width: 100%;
  height: 430px;
  border: none;
  border-radius: 10px;
  display: block;
}

.image-text-section .right img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* Demo heading */
.demo-heading-section {
  background-color: #9388FF;
  padding: 45px 60px 10px;
  width: 100%;
  margin: 0;
  overflow: hidden;
}

.demo-heading-section h1 {
  font-size: 40px;
  font-weight: 700;
  margin: 0;
}

/* Demo cards */
.demo-section {
  background-color: #9388FF;
  padding: 15px 40px 70px;
  width: 100%;
  margin: 0;
  text-align: center;
}

.demo-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  max-width: 1200px;
  margin: 0 auto;
}

.demo-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  margin-bottom: 20px;
}

.demo-card h2,
.club-card h2,
.stats-card h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 15px;
}

.demo-card p,
.club-card p,
.stats-card p {
  font-size: 18px;
  line-height: 1.3;
  margin: 0 0 30px;
}

/* Stats */
.stats-section {
  background-color: #9388FF;
  padding: 0 30px 40px;
  width: 100%;
  margin: 0;
}

.hero-image-wrap {
  width: 100%;
  overflow: hidden;
}

.hero-image-wrap img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.stats-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 45px;
}

.stats-card {
  background-color: #ebeaff;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Speaking clubs */
.clubs-section {
  background-color: #9388FF;
  padding: 50px 40px 60px;
  width: 100%;
  margin: 0;
  text-align: center;
}

.clubs-section h1 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 40px;
}

.club-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.club-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  margin-bottom: 20px;
}

.club-card button {
  margin-bottom: 20px;
}

/* Promo glass cards */
.promo-glass-section {
  background: #ffffff;
  padding: 80px 40px;
  overflow: hidden;
}

.promo-glass-section > h1 {
  font-size: 48px;
  line-height: 1.15;
  font-weight: 800;
  margin: 0 0 40px;
}

.promo-glass-row {
  max-width: 1450px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.promo-glass-card {
  position: relative;
  min-height: 280px;
  padding: 34px;
  border-radius: 30px;
  overflow: hidden;
  text-align: left;
  background:
    radial-gradient(circle at 18% 15%, rgba(255, 255, 255, 0.34), transparent 30%),
    radial-gradient(circle at 82% 82%, rgba(255, 255, 255, 0.16), transparent 34%),
    linear-gradient(135deg, #9388FF, #9388FF);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow:
    inset 8px 8px 18px rgba(255, 255, 255, 0.18),
    inset -10px -12px 24px rgba(38, 20, 120, 0.28),
    0 24px 60px rgba(49, 39, 140, 0.28);
}

.promo-glass-content {
  position: relative;
  z-index: 3;
  width: 420px;
  max-width: 70%;
  display: grid;
  grid-template-rows: 95px 70px 60px;
  align-items: start;
  text-align: left;
}

.promo-glass-card h1 {
  color: #ffffff;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 800;
  margin: 0;
  max-width: 420px;
  white-space: nowrap;
}

.promo-glass-card h2 {
  color: rgba(255, 255, 255, 0.92);
  font-size: 17px;
  line-height: 1.35;
  font-weight: 700;
  margin: 0;
  max-width: 240px;
}

.promo-glass-card a {
  margin: 0;
  background-color: rgba(255, 255, 255, 0.92);
  color: #1D233E;
  text-decoration: none;
  border-radius: 10px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  width: 120px;
  height: 48px;
  padding: 0;
  justify-content: center;
  align-items: center;
}

.promo-glass-card img {
  position: absolute;
  right: 10px;
  bottom:-30px;
  width: 480px;
  max-width: 58%;
  z-index: 2;
  object-fit: contain;

}

@media (max-width:900px){

.promo-glass-content{
    width:100%;
    max-width:100%;
}

.promo-glass-card img{
    width: 140px;
        height: 140px;
        right: 30px;     
        bottom: 40px;    
    }

.contact-text-row img{
    width:100%;
    margin-left:0;
}

.hero-content h1{
    font-size:42px;
    letter-spacing:2px;
}

}

/* Exam section */
.exam-prep-section {
  background-color: #ffffff;
  padding: 70px 40px;
  text-align: center;
}

.exam-prep-section > h1 {
  color: #1D233E;
  font-size: 48px;
  line-height: 1.15;
  font-weight: 800;
  margin: 0 0 40px;
}

.exam-prep-box {
  max-width: 1400px;
  margin: 0 auto;
  padding: 46px 50px;
  border-radius: 24px;
  background-color: #1D233E;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 55px;
}

.exam-left {
  display: flex;
  flex-direction: column;
  gap: 78px;
}

.exam-left img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.exam-button {
  background-color: #9388FF;
  color: #ffffff;
  border-radius: 6px;
  padding: 18px 30px;
  font-size: 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.exam-right {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 8px;
  text-align: left;
}

.exam-item {
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 28px;
  text-align: left;
}

.exam-item:nth-child(1) {
  background: #9388FF;
}

.exam-item:nth-child(2) {
  background: #766aeb;
}

.exam-item:nth-child(3) {
  background: #6156cf;
}

.exam-item h2,
.exam-item p {
  color: #ffffff;
  text-align: left;
}

.exam-item h2 {
  font-size: 34px;
  line-height: 1.35;
  font-weight: 700;
  margin: 0 0 12px;
}

.exam-item p {
  font-size: 17px;
  margin: 0;
}

@media (max-width: 768px) {

    .exam-left img {
        width: 100%;
        height: 450px;
        object-fit: cover;
        border-radius: 30px;
    }

}

/* How it works section */
.how-section {
  background-color: #ffffff;
  padding: 80px 40px;
  text-align: center;
}

.how-section > h1 {
  color: #1D233E;
  font-size: 48px;
  font-weight: 800;
  margin: 0 0 55px;
}

.how-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.how-card {
  position: relative;
  min-height: 260px;
  padding: 48px 28px 32px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(147, 136, 255, 0.35), rgba(255, 255, 255, 0.12));
  border: 1px solid rgba(147, 136, 255, 0.45);
}

.how-number {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: #9388FF;
  color: #ffffff;
  font-size: 28px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-icon {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  margin: 0 auto 28px;
  background: rgba(255, 255, 255, 0.52);
  color: #1D233E;
  font-size: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Method timeline */
.method-points-section {
  background-color: #ffffff;
  padding: 80px 40px;
  text-align: center;
}

.method-points-section > h1 {
  font-size: 48px;
  font-weight: 800;
  color: #1D233E;
  margin: 0 0 60px;
}

.method-timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.method-timeline::before {
  content: "";
  position: absolute;
  top: 40px;
  bottom: 40px;
  left: 50%;
  border-left: 3px dotted rgba(147, 136, 255, 0.55);
  transform: translateX(-50%);
}

.method-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 92px 1fr;
  align-items: start;
  gap: 28px;
  min-height: 120px;
}

.method-item::before {
  content: "";
  width: 16px;
  height: 16px;
  background-color: #9388FF;
  border-radius: 50%;
  position: absolute;
  top: 35px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 6px rgba(147, 136, 255, 0.18);
}

.method-icon {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 8px solid rgba(147, 136, 255, 0.18);
  box-shadow: 0 10px 24px rgba(29, 35, 62, 0.18);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.method-icon i {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: #9388FF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.method-left .method-icon {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
}

.method-left .method-text {
  grid-column: 3;
  grid-row: 1;
  text-align: left;
}

.method-right .method-text {
  grid-column: 1;
  grid-row: 1;
  text-align: right;
}

.method-right .method-icon {
  grid-column: 3;
  grid-row: 1;
  justify-self: start;
}

/* Glass contact form */
.glass-contact-section {
  background-color: #ffffff;
  padding: 70px 40px 30px;
}

.glass-contact-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Left text and image */
.glass-contact-left {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  transform: translateY(50px);
}

.glass-contact-left h1 {
  color: #1D233E;
  font-size: 38px;
  line-height: 1.05;
  font-weight: 800;
  margin: 0 0 12px;
}

.contact-text-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.contact-text-row p {
  color: #1D233E;
  font-size: 18px;
  line-height: 1.45;
  max-width: 560px;
  margin: 0;
}

.contact-text-row img {
  width: 460px;
  max-width: 100%;
  object-fit: contain;
  margin-top: -25px;
  margin-left: -95px;
  filter: drop-shadow(0 22px 34px rgba(29, 35, 62, 0.18));
}

@media (max-width: 768px) {

    .contact-text-row {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .contact-text-row img {
        display: block;
        margin: 30px auto 0;
    }

}

/* Right glass form */
.glass-contact-form {
  padding: 26px;
  border-radius: 24px;
  background: rgba(147, 136, 255, 0.18);
  border: 1px solid rgba(147, 136, 255, 0.45);
  box-shadow:
    inset 6px 6px 16px rgba(255, 255, 255, 0.7),
    inset -8px -10px 20px rgba(29, 35, 62, 0.08),
    0 24px 60px rgba(29, 35, 62, 0.14);
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.glass-contact-form label {
  color: #1D233E;
  font-size: 15px;
  font-weight: 700;
}

.glass-contact-form label span {
  color: #9388FF;
}

.glass-contact-form input,
.glass-contact-form textarea {
  width: 100%;
  margin-top: 6px;
  border: 1px solid rgba(147, 136, 255, 0.55);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  color: #1D233E;
  font-size: 16px;
  font-family: inherit;
  padding: 11px 14px;
  outline: none;
}

.glass-contact-form input {
  height: 48px;
}

.glass-contact-form textarea {
  height: 105px;
  resize: none;
}

.glass-contact-form button {
  margin-top: 6px;
  background-color: #9388FF;
  color: #ffffff;
  border: none;
  border-radius: 14px;
  padding: 13px 28px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}

/* Mobile contact form */
@media (max-width: 900px) {
  .glass-contact-content {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .glass-contact-left {
    transform: none;
  }

  .glass-contact-left h1 {
    font-size: 42px;
  }

  .contact-text-row img {
    width: 260px;
    margin-top: 0;
    margin-left: 0;
  }
}

/* FAQ glass section */
.faq-glass-section {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.35), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.22), transparent 24%),
    linear-gradient(135deg, #9388FF, #9388FF);
  padding: 90px 40px;
  text-align: center;
  overflow: hidden;
}

.faq-glass-section h1 {
  color: #ffffff;
  font-size: 56px;
  font-weight: 800;
  margin: 0 0 45px;
}

.faq-glass-list {
  max-width: 950px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.faq-glass-item {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.55);
  overflow: hidden;
  text-align: left;
}

.faq-glass-item summary {
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
  padding: 24px 28px;
  cursor: pointer;
  list-style: none;
  position: relative;
}

.faq-glass-item summary::-webkit-details-marker {
  display: none;
}

.faq-glass-item summary::after {
  content: "+";
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
}

.faq-glass-item[open] summary::after {
  content: "−";
}

.faq-glass-item p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  line-height: 1.55;
  padding: 0 28px 26px;
  margin: 0;
}

/* Testimonials */
.testimonials-section {
  background-color: #ffffff;
  padding: 70px 40px;
}

.testimonials-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial-card {
  background-color: #9388FF;
  border-radius: 22px;
  min-height: 335px;
  padding: 36px 44px 34px;
  text-align: center;
}

.quote-mark {
  font-size: 74px;
  line-height: 0.7;
  font-weight: 800;
  color: #000000;
  margin-bottom: 22px;
}

.testimonial-card p {
  font-size: 21px;
  line-height: 1.55;
  margin: 0 0 28px;
}

/* Products */
.products-section {
    padding: 80px 5%;
    background: #ffffff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.product-card {
    background: #ffffff;
    border: 2px solid #9388FF;
    border-radius: 32px;
    padding: 32px;
    position: relative;
    transition: 0.3s ease;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(147, 136, 255, 0.2);
}

.product-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #1D233E;
    margin-bottom: 40px;
}

.product-cart {
    position: absolute;
    top: 28px;
    right: 28px;
    width: 42px;
    height: 42px;
    border: 2px solid #9388FF;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #1D233E;
    cursor: pointer;
}

.product-image {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.product-image img {
    width: 220px;
    max-width: 100%;
    object-fit: contain;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
}

.product-description {
    color: #1D233E;
    font-size: 1rem;
    line-height: 1.5;
    max-width: 65%;
}

.product-price {
    color: #1D233E;
    font-size: 2.5rem;
    font-weight: 800;
    white-space: nowrap;
}

.product-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at bottom center,
            rgba(147, 136, 255, 0.15),
            transparent 55%
        );
    pointer-events: none;
}
.book-now-button {
    background: #1D233E;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.book-now-button:hover {
    background: #9388FF;
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-price {
        font-size: 2rem;
    }

    .product-title {
        font-size: 1.75rem;
    }
}

/* Follow */

.follow-section {
    background: #f5f5f5;
    padding: 70px 40px;
}

.follow-section h2 {
    margin: 0 0 60px;
    text-align: center;
    font-size: 32px;
}

.follow-container {
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
}

.follow-container a {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #000;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    font-size: 30px;
    text-decoration: none;

    transition: 0.3s;
}

.follow-container a:hover {
    background: #9388FF;
}

@media (max-width:768px){

    .follow-section h2{
        margin-bottom:40px;
    }

    .follow-container{
        gap:20px;
    }

}

/* Footer */

.footer-section {
    background: #1D233E;
    padding: 60px 50px;
    text-align: left;
}

.footer-container {
    max-width: 1500px;
    margin: 0 auto;
}

.footer-title {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 50px;
    text-align: left;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    align-items: start;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.footer-column h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 25px;
    width: 100%;
    text-align: left;
}

.footer-column a {
    display: block;
    width: 100%;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 16px;
    line-height: 1.8;
    text-align: left;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #9388FF;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.15);

    color: rgba(255,255,255,0.7);
    font-size: 15px;
    text-align: center;
}

/* Override global body alignment */
.footer-section,
.footer-container,
.footer-title,
.footer-grid,
.footer-column,
.footer-column h3,
.footer-column a {
    text-align: left !important;
}

/* Mobile */

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .footer-section {
        padding: 40px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background-color: #1D233E;
  color: #ffffff;
  padding: 22px 24px;
  border-radius: 14px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  z-index: 9999;
}

.cookie-banner p {
  color: #ffffff;
  margin: 0;
  flex: 1;
  font-size: 18px;
  line-height: 1.35;
  text-align: left;
}

.cookie-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.cookie-buttons button {
  background-color: #9388FF;
  color: #ffffff;
  border: none;
  padding: 12px 26px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;   
  font-weight: 700;
}

/* Discount popup */
.discount-popup {
  position: fixed;
  inset: 0;
  background: rgba(29, 35, 62, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
}

.discount-card {
  position: relative;
  max-width: 760px;
  width: 100%;
  min-height: 390px;
  border-radius: 22px;
  overflow: hidden;
  background: #ffffff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

.discount-image-side {
  background: #9388FF;
  padding: 0;
  overflow: hidden;
}

.discount-image-side img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
}

.discount-content-side {
  padding: 56px 42px 42px;
  text-align: center;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.discount-content-side h2 {
  color: #1D233E;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.discount-content-side h1 {
  color: #000000;
  font-size: 48px;
  line-height: 1.05;
  font-weight: 800;
  margin: 0 0 20px;
}

.discount-content-side p {
  color: #1D233E;
  font-size: 17px;
  line-height: 1.45;
  margin: 0 0 28px;
}

.discount-button {
  background: #000000;
  color: #ffffff;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  padding: 0;
  margin: 0;
}

.x-line {
  position: absolute;
  width: 24px;
  height: 3px;
  background-color: #000000;
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

.x-line:nth-child(1) {
  transform: rotate(45deg);
}

.x-line:nth-child(2) {
  transform: rotate(-45deg);
}

.close-btn:hover {
  transform: scale(1.1);
  background: transparent;
}

.close-btn:hover .x-line:nth-child(1) {
  transform: rotate(135deg);
  background-color: #000000;;
}

.close-btn:hover .x-line:nth-child(2) {
  transform: rotate(-135deg);
  background-color: #000000;;
}

.hamburger{
    display:none;
}

/* Mobile discount popup */
@media (max-width: 700px) {
  .discount-popup {
    padding: 18px;
    align-items: center;
  }

  .discount-card {
    max-width: 420px;
    width: 100%;
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .discount-image-side {
    height: 260px;
    padding: 0;
  }

  .discount-image-side img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
  }

  .discount-content-side {
    padding: 34px 28px 36px;
  }

  .discount-content-side h2 {
    font-size: 20px;
  }

  .discount-content-side h1 {
    font-size: 40px;
  }

  .discount-content-side p {
    font-size: 17px;
  }
}

/* Running line */
.breaking-news {
  color: white;
  font-weight: bold;
}

marquee {
  display: block;
  width: 100%;
  font-size: 20px;
  font-family: Helvetica, sans-serif;
  background-color: #1D233E;
  color: white;
  padding: 10px;
  position: relative;
  z-index: 9999;
}

/* Mobile layout */
@media (max-width: 900px) {

  .hero-header{
    display:grid;
    grid-template-columns:1fr auto;
    gap:20px;
    padding:20px;
    background:#fff;
  }

  .top-line{
    padding:12px 20px;
    font-size:15px;
    gap:12px;
    flex-wrap:wrap;
  }

  /* Logo */
  .header-brand{
    grid-column:1;
    grid-row:1;
    display:flex;
    align-items:center;
  }

  .header-brand span{
    font-size:42px;
    letter-spacing:1px;
  }

  /* Hamburger */
  .hamburger{
    display:flex;
    grid-column:2;
    grid-row:1;

    width:56px;
    height:56px;

    background:#1D233E;
    border:none;
    border-radius:12px;

    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:6px;
    cursor:pointer;
  }

  .hamburger span{
    width:28px;
    height:3px;
    background: #ffffff;
    border-radius:99px;
    display:block;
  }

  /* Search */
  .header-search{
    grid-column:1 / -1;
    grid-row:2;
    width:100%;
    margin-top:15px;
  }

  /* Contact */
  .header-contact{
    grid-column:1 / -1;
    grid-row:3;

    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:15px;
  }

  .header-social{
    font-size:28px;
  }

  .header-demo-button{
    width:100%;
    max-width:280px;
  }

  /* Menu */

  .menu-box{
    grid-column:1 / -1;
    grid-row:4;
    display:none;
    width:100%;
  }

  .menu-box.active{
    display:flex;
    flex-direction:column;
    gap:20px;
  }

  .menu-box a{
    font-size:20px;
    letter-spacing:1px;
  }

  /* Hero */

  .hero-video-section{
    height:620px;
    min-height:620px;
  }

  .hero-content h1{
    font-size:42px;
    letter-spacing:3px;
  }

  .hero-content p{
    font-size:20px;
  }

  /* Sections */

  .video-text-section,
  .image-text-section{
    padding:40px 20px;
  }

  .video-text-section .container,
  .image-text-section .container,
  .demo-cards,
  .stats-cards,
  .promo-glass-row,
  .how-grid,
  .testimonials-grid,
  .glass-contact-content,
  .social-newsletter-section,
  .footer-content,
  .exam-prep-box{
    grid-template-columns:1fr;
  }

  .club-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .hero-image-wrap img,
  .contact-image img{
    height:380px;
  }

  .glass-contact-left,
  .glass-contact-form{
    transform:none;
  }

  .contact-text-row img{
    width:260px;
    max-width:100%;
    margin-left:0;
  }
}

/* Small mobile */

@media (max-width:650px){

  .header-brand span{
    font-size:36px;
  }

  .club-grid{
    grid-template-columns:1fr;
  }

  .demo-card img,
  .club-card img{
    height:260px;
  }

  .social-icons{
    flex-wrap:wrap;
  }
}

/* Mobile cookie banner */
@media (max-width:700px){

.cookie-banner{
    left:12px;
    right:12px;
    bottom:12px;
    padding:20px;
    flex-direction:column;
    gap:20px;
    max-height:90vh;
    overflow-y:auto;
}

.cookie-banner p{
    font-size:16px;
    text-align:center;
}

.cookie-buttons{
    display:flex;
    gap:15px;
    width:100%;
}

.cookie-buttons button{
    flex:1;
    padding:14px;
    margin:0;
}
}

html,
body{
    overflow-x:hidden;
    width:100%;
}

*{
    box-sizing:border-box;
}

img{
    max-width:100%;
    height:auto;
}

@media (max-width: 900px) {

  .method-timeline::before{
    left:40px;
    transform:none;
  }

  .method-item{
    grid-template-columns:80px 1fr;
    gap:20px;
    min-height:auto;
    padding-bottom:40px;
  }

  .method-item::before{
    left:40px;
    transform:translateX(-50%);
  }

  .method-icon{
    grid-column:1 !important;
    justify-self:center !important;
  }

  .method-text{
    grid-column:2 !important;
    text-align:left !important;
  }

  .method-left .method-text,
  .method-right .method-text{
    text-align:left !important;
  }

  .method-left .method-icon,
  .method-right .method-icon{
    justify-self:center !important;
  }

  .method-text h2{
    font-size:32px;
    margin-top:0;
  }

  .method-text p{
    font-size:18px;
    line-height:1.4;
  }

}

/* ===== MOBILE FIXES ===== */

@media (max-width: 900px) {

    /* CONTACT SECTION */

    .glass-contact-left {
        align-items: center;
        text-align: center;
    }

    .glass-contact-left h1 {
        text-align: center;
    }

    .contact-text-row {
        align-items: center;
        text-align: center;
    }

    .contact-text-row p {
        text-align: center;
    }

    .contact-text-row img {
        width: 320px;
        margin: 30px auto 0;
        display: block;
    }


    /* LANGUAGE FLAG */

    .promo-glass-card img {
        width: 140px;
        height: 140px;
        right: 20px;
        bottom: 10px;
    }


    /* EXAM IMAGE */

    .exam-left img {
        width: 100%;
        height: 350px;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        border-radius: 30px;
    }

}

/* Legal pages */

.legal-page {
    background: #ffffff;
    padding: 80px 20px;
}

.legal-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.legal-container h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 30px;
    color: #1D233E;
}

.legal-container h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 40px 0 20px;
    color: #1D233E;
}

.legal-container p,
.legal-container li {
    font-size: 18px;
    line-height: 1.8;
    color: #1D233E;
}

.legal-container ul {
    padding-left: 25px;
}

.legal-container a {
    color: #9388FF;
    text-decoration: none;
}

.legal-container a:hover {
    text-decoration: underline;
}

/* Quiz Styles */
#quiz-container {
    max-width: 700px;
    margin: 40px auto;
    font-family: 'Heebo Medium', sans-serif;
}

input[type=button] {
    background-color: #5271FF;
    color: white;
    padding: 10px 40px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 20px;
    display: block;
    margin: 20px auto;
}

.quiz-title {
    text-align: center;
    color: #1B2655;
}

#quiz-container h2 {
    font-size: 20px;
    font-weight: normal;
    margin-top: 20px;
    position: relative;
    padding-left: 50px;
}

#quiz-container h2::before {
    content: attr(data-num);
    background-color: #1B2655;
    color: white;
    width: 30px;
    height: 30px;
    display: block;
    text-align: center;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    line-height: 30px;
}

.choices {
    background-color: #C5D0FF;
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.choice {
    margin: 15px 0;
    background: #5271FF;
    color: white;
    padding: 18px 20px;
    border-radius: 16px;
    cursor: pointer;
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: background 0.3s;
}

.choice:hover {
    background: #A9B8FF !important;
}

.choice input {
    pointer-events: none;
}

.correct {
    background-color: #90D7B9;
}

.incorrect {
    background-color: #F58FA6;
}
.quiz-result h3 {
    font-size: 32px;
    color: #1B2655;
}
.quiz-result p {
    font-family: 'Heebo Medium', sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: #1B2655;
    margin-top: 10px;
}

/* Topic section */
.content-section {
  padding: 20px;
  text-align: left;
}

/* Top menu */
.sub-menu {
  display: flex;
  flex-wrap: wrap;     /* buttons go to next row */
  gap: 12px;
  margin-bottom: 20px;
}

.sub-menu button {
  border: none;
  padding: 12px 20px;
  border-radius: 20px;
  background: #eee;
  cursor: pointer;
  font-size: 18px;
}

.sub-menu button.active {
  background: #1B2655;
  color: white;
}

/* Levels */
.gallery {
  display: block;
}

.level-section {
  margin-bottom: 50px;
}

.level-section h1 {
  margin-bottom: 20px;
  font-size: 24px;
  color: #1B2655;
  text-align: left;
}

/* Card grid */
.level-gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(180px, 1fr));
  gap: 20px;
}

/* Topic card */
.topic-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

/* Image */
.topic-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
  background: white;
}

/* Card content */
.topic-content {
  padding: 15px;
  text-align: center;
}

.topic-content h2 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #1B2655;
}

/* Button */
.start-btn {
  display: block;
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 14px;
  background: #5b6cff;
  color: white;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}

/* Tablet */
@media (max-width: 1200px) {
  .level-gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .level-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .sub-menu button {
    font-size: 14px;
    padding: 8px 14px;
  }

  .level-section h1 {
    font-size: 20px;
  }
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: white;
  font-size: 16px;
}

.breadcrumbs a {
  text-decoration: none;
  color: #5A6785;
}

.breadcrumbs span {
  color: #5A6785;
}

.breadcrumbs .current {
  color: #1B2655;
  font-weight: 500;
}

/* LESSON PAGE */
.lesson-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.lesson-page h1 {
    text-align: center;
    font-size: 32px;
    color: #1B2655;
    margin-top: 20px;
    margin-bottom: 40px;
    font-weight: 700;
}

.lesson-page h2 {
    text-align: center;
    font-size: 24px;
    color: #1B2655;
    margin-bottom: 40px;
    font-weight: 500;
}

/* IMAGE + CONVERSATION CARD */
.lesson-card {
    background: #efefef;
    border-radius: 14px;
    overflow: hidden;
    width: 92%;
    max-width: 1100px;
    margin: 40px auto;
}

.lesson-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

/* CONVERSATION */
.conversation-box {
    padding: 40px;
}

.conversation-box h2 {
    text-align: center;
    font-size: 38px;
    margin: 0 0 40px;
    color: #1D233E;
}

.conversation-content {
    text-align: left;
}

.conversation-content p {
    font-size: 24px;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* PLAYER */
.custom-player {
    background: #1B2655;
    border-radius: 20px;
    padding: 22px 26px;
    width: 92%;
    max-width: 1100px;
    margin: 30px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.custom-player button,
.timer-box,
.progress-box {
    background: #5b6cff;
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 12px;
    box-sizing: border-box;
}

.custom-player button {
    cursor: pointer;
    font-size: 16px;
}

.custom-player button:hover {
    opacity: 0.9;
}

.progress-box {
    min-width: 280px;
    display: flex;
    align-items: center;
}

.progressBar {
    width: 100%;
    cursor: pointer;
}

.timer-box {
    min-width: 140px;
    text-align: center;
}

.timer {
    font-size: 18px;
    color: white;
}

.speed-buttons {
    display: flex;
    gap: 8px;
}

.speedOption.active {
    outline: 2px solid white;
}

/* MOBILE */
@media (max-width: 900px) {
    .custom-player {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        padding: 20px;
    }

    .custom-player button,
    .timer-box,
    .progress-box {
        width: 100%;
    }

    .progress-box {
        grid-column: 1 / -1;
    }

    .speed-buttons {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}

/* NOTICE */
.notice-box {
    background: #eef2ff;
    width: 92%;
    max-width: 1100px;
    padding: 24px 28px;
    margin: 40px auto;
    border-radius: 14px;
    text-align: left;
}

.notice-box h3 {
    margin: 0 0 12px;
    font-size: 26px;
    color: #1B2655;
}

.notice-box p {
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
    color: #1D233E;
}

/* MOBILE */
@media (max-width: 900px) {

    .lesson-page h1 {
        font-size: 34px;
    }

    .lesson-page h2 {
        font-size: 22px;
    }

    .lesson-card,
    .notice-box,
    .custom-player {
        width: 92%;
    }

    .conversation-box {
        padding: 24px 18px;
    }

    .conversation-box h2 {
        font-size: 30px;
    }

    .conversation-content p {
        font-size: 22px;
    }
}

/* WRITING */
.writing-tasks {
    max-width: 800px;
    margin: auto;
}

.task {
    text-align: left;
    margin-bottom: 50px;
}

.task-list {
    padding-left: 25px;
}

.task h2 {
    font-size: 28px;
}