/* ========== RESET & BASE ========== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #333;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea {
  font-family: inherit;
  outline: none;
}

/* ========== NAVBAR ========== */
.navbar {
  position: relative;
  z-index: 100;
  padding: 20px 0;
  background: transparent;
}

.navbar-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 134px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Merriweather', serif;
  font-size: 24px;
  font-weight: 800;
  color: #003361;
  letter-spacing: -0.2px;
  line-height: 1;
}

.logo img {
  height: 32.78px;
  width: 186.645px;
}

.nav-contact-btn {
  background: #fff;
  color: #323232;
  font-size: 16px;
  font-weight: 600;
  padding: 16px;
  border-radius: 8px;
  line-height: 24px;
  box-shadow: 0px 4px 4px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s, transform 0.2s;
}

.nav-contact-btn:hover {
  box-shadow: 0px 6px 12px rgba(0,0,0,0.1);
  transform: translateY(-1px);
}

/* ========== HERO ========== */
.hero {
  background: #e1f6ff;
  min-height: 836px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 43px 134px 0;
  position: relative;
  min-height: 718px;
}

.hero-content {
  max-width: 593px;
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 600px;
  padding-bottom: 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 16px;
  border: 1px solid rgba(0,97,139,0.23);
  border-radius: 10px;
  margin-bottom: 24px;
  background: linear-gradient(to bottom, white, #f9fdff);
  box-shadow: 0px 2px 5px rgba(0,0,0,0.06);
}

.badge-number {
  font-size: 14px;
  font-weight: 700;
  color: black;
  line-height: 1;
}

.badge-stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

.badge-stars img {
  width: 16px;
  height: 16px;
  display: block;
}

.hero-title {
  font-family: 'Source Serif 4', 'Source Serif Pro', serif;
  font-weight: 700;
  font-size: 50px;
  line-height: 56px;
  color: #3a3a3a;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 20px;
  line-height: 28px;
  color: #505050;
  margin-bottom: 36px;
  max-width: 593px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #00b42a;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  padding: 12px 8px;
  border-radius: 10px;
  width: 255px;
  line-height: 24px;
  transition: background 0.2s, transform 0.2s;
}

.cta-btn:hover {
  background: #009a24;
  transform: translateY(-1px);
}

.hero-image-container {
  position: absolute;
  right: -134px;
  top: 100px;
  width: 71.5%;
  height: 736px;
  overflow: hidden;
}

.hero-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-gradient-overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(to right, #e1f6ff 10%, rgba(225,246,255,0) 100%);
  z-index: 1;
}

/* ========== SPEECH BUBBLES ========== */
.speech-bubbles {
  padding: 80px 0 80px;
  background: #fff;
}

.speech-bubbles-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 134px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.bubble {
  position: relative;
  width: 100%;
  max-width: 771px;
  transition: transform 0.3s ease, filter 0.3s ease;
  cursor: default;
  --bubble-tilt: 0deg;
  --bubble-flip: 1;
}

.bubble:hover {
  filter: drop-shadow(0 6px 16px rgba(0, 68, 131, 0.15));
}

.bubble-float {
  position: relative;
  transform-origin: center;
  will-change: transform;
}

.bubble-bg {
  width: 100%;
  height: auto;
  transform: rotate(var(--bubble-tilt)) scaleX(var(--bubble-flip));
  transform-origin: center;
}

.bubble p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: 77%;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  line-height: 31px;
  color: rgba(0,68,131,0.91);
}

.bubble-1 {
  --bubble-tilt: -2.95deg;
  --bubble-flip: -1;
}

.bubble-2 {
  --bubble-tilt: 1.09deg;
  --bubble-flip: -1;
}

.bubble-3 {
  --bubble-tilt: -1.49deg;
}

.bubble:hover .bubble-float {
  animation: bubble-pop 480ms cubic-bezier(0.2, 0.9, 0.2, 1.1) both;
}

@keyframes bubble-pop {
  0% {
    transform: translate(0, 0) scale(1);
  }
  45% {
    transform: translate(0, -8px) scale(1.07);
  }
  70% {
    transform: translate(0, 3px) scale(1.03);
  }
  100% {
    transform: translate(0, -2px) scale(1.04);
  }
}

.speech-summary {
  max-width: 1039px;
  text-align: center;
  font-size: 20px;
  line-height: 1.6;
  color: #3f3f3f;
  margin: 0 auto;
  padding: 40px 20px 0;
}

.speech-summary strong {
  font-weight: 700;
}

/* ========== WHY CHOOSE ME ========== */
.why-choose {
  background: #17558e;
  padding: 100px 0 100px;
}

.why-choose-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 134px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.why-choose-title {
  font-family: 'Source Serif 4', 'Source Serif Pro', serif;
  font-weight: 600;
  font-size: 44px;
  color: #fff;
  line-height: normal;
  margin-bottom: 20px;
}

.why-choose-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.why-choose-left {
  flex: 1;
  min-width: 0;
}

.why-choose-text {
  max-width: 644px;
  color: #fff;
}

.why-choose-text p {
  font-size: 18px;
  line-height: 32px;
  color: #fff;
  margin-bottom: 16px;
}

.why-choose-text p:last-child {
  margin-bottom: 0;
}

.why-choose-photo {
  flex-shrink: 0;
  width: 416px;
}

.why-choose-photo img {
  width: 416px;
  height: 443px;
  object-fit: cover;
  border-radius: 12px;
}

.stats-bar {
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 50px;
  gap: 113px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.stat-number {
  font-family: 'Source Serif 4', 'Source Serif Pro', serif;
  font-size: 44px;
  font-weight: 700;
  color: black;
  text-align: center;
  line-height: normal;
}

.stat-label {
  font-size: 20px;
  color: black;
  font-weight: 400;
  text-align: center;
  line-height: normal;
}

.stat-stars {
  display: flex;
  gap: 3px;
}

.stat-stars img {
  width: 24px;
  height: 24px;
}

.stat-divider {
  display: none;
}

/* ========== TESTIMONIALS CAROUSEL ========== */
.testimonials {
  padding: 80px 0 40px;
  background: #fff;
}

.testimonials-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 92px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}

.testimonial-carousel {
  position: relative;
  overflow: hidden;
  flex: 1;
}

.testimonial-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(30px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.testimonial-slide.active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.testimonial-slide.slide-out-left {
  position: absolute;
  opacity: 0;
  transform: translateX(-30px);
}

.testimonial-slide.slide-out-right {
  position: absolute;
  opacity: 0;
  transform: translateX(30px);
}

.testimonial-slide.slide-in-left {
  transform: translateX(-30px);
  transition: none;
}

.testimonial-video {
  flex-shrink: 0;
}

.video-player {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0px 4px 28px rgba(0,0,0,0.09);
}

video.video-thumb {
  height: 328px;
  width: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0px 4px 28px rgba(0,0,0,0.09);
  background: #000;
}

.testimonial-quote {
  text-align: left;
}

.quote-text {
  font-family: 'Source Serif 4', 'Source Serif Pro', serif;
  font-weight: 600;
  font-size: 24px;
  color: #333;
  font-style: italic;
  margin-bottom: 6px;
}

.quote-author {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.author-name {
  font-weight: 600;
  font-size: 16px;
  color: #333;
}

.author-origin {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #666;
}

.flag-icon {
  width: 20px;
  height: 14px;
}

.nav-arrow {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid #ddd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  transition: background 0.2s, border-color 0.2s;
}

.nav-arrow:hover {
  background: #f5f5f5;
  border-color: #bbb;
}

/* ========== REVIEW CARDS ========== */
.reviews {
  padding: 20px 0 80px;
  background: #fff;
}

.reviews-title {
  font-family: 'Source Serif 4', serif;
  font-size: 36px;
  font-weight: 700;
  color: #3a3a3a;
  text-align: center;
  margin: 0 0 40px;
  padding: 40px 134px 0;
}

.reviews-title-main {
  font-weight: 600;
}

.reviews-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 134px;
  display: grid;
  grid-template-columns: repeat(3, 349px);
  gap: 22px;
  justify-content: center;
}

.review-column {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.review-card {
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  padding: 24px 32px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.review-stars {
  display: flex;
  gap: 3px;
}

.review-stars img {
  width: 20px;
  height: 20px;
}

.review-text {
  font-size: 18px;
  font-weight: 500;
  line-height: 31px;
  color: #323232;
}

.review-author {
  display: flex;
  align-items: flex-start;
  gap: 17px;
}

.review-author .flag-icon {
  width: 28px;
  height: 19px;
  margin-top: 6px;
}

.review-author-info {
  display: flex;
  flex-direction: column;
}

.review-name {
  font-weight: 600;
  font-size: 18px;
  line-height: 31px;
  color: black;
}

.review-detail {
  font-size: 14px;
  line-height: 31px;
  color: black;
}

.review-date {
  font-size: 13px;
  color: #888;
  display: block;
}

/* ========== THE COURSE ========== */
.course {
  background: #f3f6f9;
  padding: 120px 0;
}

.course-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 117px;
}

.section-title-serif {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 36px;
  color: #333;
  margin-bottom: 24px;
}

.course-content {
  display: flex;
  gap: 23px;
  align-items: flex-start;
}

.course-text {
  flex: 1;
}

.course-text p {
  font-size: 18px;
  line-height: 1.7;
  color: #3f3f3f;
  margin-bottom: 16px;
}

.course-video {
  flex-shrink: 0;
}

.course-video .video-player {
  width: 543px;
  height: 364px;
  object-fit: cover;
}

/* ========== ENGLISH FOR LAWYERS ========== */
.lawyers {
  background: #f3f6f9;
  padding: 80px 0 120px;
}

.lawyers-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 117px;
  display: flex;
  justify-content: center;
}

.lawyers-card {
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 6px;
  box-shadow: 0px 4px 28px rgba(0,0,0,0.09);
  display: flex;
  overflow: visible;
  width: 1189px;
  max-width: 100%;
}

.lawyers-image {
  flex-shrink: 0;
  width: 373px;
  position: relative;
  overflow: visible;
}

.lawyers-image img {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 373px;
  height: 603px;
  object-fit: contain;
}

.lawyers-content {
  padding: 72px 48px 72px 40px;
  flex: 1;
}

.lawyers-title {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 36px;
  color: #0c5c1b;
  margin-bottom: 20px;
}

.lawyers-content p {
  font-size: 18px;
  line-height: 1.7;
  color: #3f3f3f;
  margin-bottom: 16px;
}

/* ========== THE FIRST LESSON ========== */
.first-lesson {
  padding: 120px 0;
  background: #fff;
}

.first-lesson-inner {
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  max-width: 699px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.first-lesson .section-title-serif {
  text-align: center;
  margin-bottom: 0;
}

.first-lesson p {
  font-size: 18px;
  line-height: 1.7;
  color: #3f3f3f;
  margin-bottom: 16px;
  text-align: left;
}

.cta-btn-large {
  margin-top: 24px;
  padding: 20px 34px;
  font-size: 18px;
  border-radius: 8px;
  width: 340px;
  height: 66px;
}

/* ========== CONTACT FORM ========== */
.contact {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 62% 48%, rgba(0,68,131,1) 0%, rgba(0,66,125,1) 100%);
  opacity: 0.91;
}

.contact-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.contact-card {
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 10px;
  padding: 48px;
  width: 657px;
  box-shadow: 36px 31px 13px 0px rgba(156,156,156,0),
              23px 20px 12px 0px rgba(156,156,156,0.01),
              13px 11px 10px 0px rgba(156,156,156,0.05),
              6px 5px 8px 0px rgba(156,156,156,0.09),
              1px 1px 4px 0px rgba(156,156,156,0.1);
}

.contact-title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 28px;
  letter-spacing: -0.24px;
  line-height: 28px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  line-height: 28px;
  letter-spacing: -0.16px;
}

.form-group input,
.form-group textarea {
  border: 1px solid #b4b4b4;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 14px;
  color: #333;
  height: 45px;
  box-shadow: 0px 4px 4px rgba(0,0,0,0.06);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #0784be;
}

.form-group textarea {
  resize: vertical;
  height: 131px;
  min-height: 80px;
}

.form-row {
  display: flex;
  gap: 15px;
}

.form-row .form-group {
  flex: 1;
}

.form-privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
  background: rgba(245,245,245,0.8);
  border-radius: 6px;
}

.lock-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.form-privacy span {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

.submit-btn {
  background: #0784be;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 40px;
  border-radius: 10px;
  width: 246px;
  height: 52px;
  align-self: flex-end;
  letter-spacing: -0.16px;
  transition: background 0.2s, transform 0.2s;
}

.submit-btn:hover {
  background: #0670a3;
  transform: translateY(-1px);
}

/* Validation & Loading States */
.form-group input.input-error,
.form-group textarea.input-error {
  border-color: #e53935;
}

.field-error {
  font-size: 13px;
  color: #e53935;
  min-height: 0;
  line-height: 1.4;
}

.submit-btn.is-loading {
  pointer-events: none;
  opacity: 0.8;
  position: relative;
  color: transparent;
}

.submit-btn.is-loading::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  top: 50%;
  left: 50%;
  margin: -11px 0 0 -11px;
  border: 3px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Success Screen */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.checkmark-svg {
  margin-bottom: 24px;
}

.checkmark-circle {
  stroke-dasharray: 226;
  stroke-dashoffset: 226;
  animation: circleDraw 0.6s ease forwards;
}

.checkmark-check {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: checkDraw 0.4s ease forwards 0.5s;
}

@keyframes circleDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes checkDraw {
  to { stroke-dashoffset: 0; }
}

.success-title {
  font-family: 'Source Serif 4', serif;
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}

.success-text {
  font-size: 16px;
  color: #505050;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 400px;
}

.success-again-btn {
  background: transparent;
  border: 2px solid #0784be;
  color: #0784be;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.success-again-btn:hover {
  background: #0784be;
  color: #fff;
}

/* ========== FOOTER ========== */
.footer {
  background: #003361;
  height: 115px;
  display: flex;
  align-items: center;
}

.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 134px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-inner span,
.footer-inner a {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: -0.16px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-inner a:hover {
  text-decoration: underline;
}

/* ========== SCROLL ANIMATIONS ========== */
[data-animate] {
  opacity: 0;
  transform: var(--base-transform, none) translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--delay, 0s);
}

[data-animate].is-visible {
  opacity: 1;
  transform: var(--base-transform, none) translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-animate] {
    opacity: 1;
    transform: var(--base-transform, none);
    transition: none;
  }

  .bubble-float {
    animation: none;
  }

  .bubble:hover .bubble-float {
    transform: translate(0, 0) scale(1.02);
  }
}

/* ========== RESPONSIVE ========== */

/* Large Desktop */
@media (max-width: 1440px) {
  .hero-image-container {
    right: 0;
  }
}

/* Tablet */
@media (max-width: 1200px) {
  .navbar-inner,
  .hero-inner,
  .speech-bubbles-inner,
  .why-choose-inner,
  .testimonials-inner,
  .reviews-inner,
  .course-inner,
  .lawyers-inner,
  .contact-inner,
  .footer-inner {
    padding-left: 40px;
    padding-right: 40px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 0;
  }

  .hero-inner {
    padding-top: 40px;
    min-height: auto;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
    align-items: center;
    min-height: auto;
    padding-bottom: 30px;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-image-container {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: 450px;
  }

  .hero-gradient-overlay {
    display: none;
  }

  .why-choose-content {
    flex-direction: column;
    align-items: center;
  }

  .why-choose-left {
    width: 100%;
  }

  .why-choose-text {
    max-width: 100%;
  }

  .why-choose-photo {
    width: 100%;
    max-width: 416px;
  }

  .stats-bar {
    gap: 40px;
    padding: 24px 30px;
  }

  .testimonials-inner {
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 14px;
    padding-left: 40px;
    padding-right: 40px;
  }

  .testimonial-carousel {
    order: 1;
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }

  .testimonial-slide {
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 18px;
  }

  .testimonial-slide .testimonial-video {
    order: 1;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .testimonial-slide .testimonial-quote {
    order: 2;
    width: 100%;
    max-width: 760px;
    text-align: center;
  }

  .testimonial-slide .quote-author {
    align-items: center;
  }

  .nav-prev {
    order: 2;
  }

  .nav-next {
    order: 2;
  }

  .nav-arrow {
    margin-top: 2px;
  }

  .reviews-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding-left: 40px;
    padding-right: 40px;
  }

  .reviews-title {
    padding: 24px 40px 0;
    margin-bottom: 32px;
  }

  .course-content {
    flex-direction: column;
  }

  .course-video .video-player {
    width: 100%;
  }

  .lawyers-card {
    flex-direction: column;
  }

  .lawyers-image {
    width: 100%;
    height: 400px;
    margin-top: 0;
    margin-bottom: 0;
  }

  .lawyers-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
  }
}

/* Tablet - smaller */
@media (max-width: 1024px) {
  video.video-thumb {
    max-height: 328px;
    max-width: 100%;
  }

  .stat-number {
    font-size: 32px;
  }

  .stat-label {
    font-size: 16px;
  }

  .stats-bar {
    gap: 30px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .navbar-inner,
  .hero-inner,
  .speech-bubbles-inner,
  .why-choose-inner,
  .testimonials-inner,
  .reviews-inner,
  .course-inner,
  .lawyers-inner,
  .contact-inner,
  .footer-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    min-height: auto;
  }

  .hero-title {
    font-size: 34px;
    line-height: 38px;
  }

  .hero-subtitle {
    font-size: 16px;
    line-height: 24px;
  }

  .hero-image-container {
    height: 350px;
  }

  .why-choose-title {
    font-size: 32px;
  }

  .why-choose-text p {
    font-size: 16px;
    line-height: 28px;
  }

  .why-choose-photo {
    max-width: 100%;
  }

  .why-choose-photo img {
    width: 100%;
    height: auto;
  }

  .stats-bar {
    flex-direction: column;
    gap: 20px;
    padding: 24px;
  }

  .testimonials {
    padding: 52px 0 20px;
  }

  .testimonials-inner {
    gap: 12px;
  }

  .testimonial-slide {
    gap: 14px;
  }

  .testimonial-slide .testimonial-quote {
    max-width: 100%;
  }

  video.video-thumb {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
  }

  .quote-text {
    font-size: 22px;
    line-height: 1.25;
    margin-bottom: 10px;
  }

  .author-name {
    font-size: 18px;
  }

  .author-origin {
    font-size: 16px;
  }

  .nav-arrow {
    width: 48px;
    height: 48px;
  }

  .reviews {
    padding: 8px 0 64px;
  }

  .reviews-title {
    font-size: clamp(26px, 7vw, 34px);
    line-height: 1.2;
    margin: 0 0 28px;
    padding: 8px 20px 0;
    text-wrap: balance;
  }

  .reviews-inner {
    grid-template-columns: 1fr;
  }

  .review-text {
    font-size: 16px;
    line-height: 26px;
  }

  .bubble p {
    font-size: 14px;
    line-height: 22px;
  }

  .section-title-serif {
    font-size: 28px;
  }

  .lawyers-title {
    font-size: 28px;
  }

  .contact-card {
    width: 100%;
    padding: 32px 24px;
  }

  .form-row {
    flex-direction: column;
  }

  .submit-btn {
    width: 100%;
    align-self: stretch;
  }

  .footer {
    height: auto;
    padding: 30px 0;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .cta-btn-large {
    width: 100%;
    max-width: 340px;
  }

  .cta-btn {
    width: 100%;
    max-width: 255px;
  }

  .hero-badge {
    justify-content: center;
  }

  .first-lesson-inner {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
    line-height: 32px;
  }

  .bubble {
    max-width: 100%;
  }

  .bubble p {
    font-size: 12px;
    line-height: 18px;
    width: 85%;
  }

  .quote-text {
    font-size: 20px;
    line-height: 1.25;
  }

  .author-origin {
    font-size: 15px;
  }

  .nav-arrow {
    width: 44px;
    height: 44px;
  }

  .stat-number {
    font-size: 28px;
  }

  .stat-label {
    font-size: 14px;
  }
}

/* ========== MODALS ========== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #fff;
  border-radius: 12px;
  max-width: 700px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 48px 40px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #333;
  line-height: 1;
  padding: 4px 8px;
}

.modal-close:hover {
  color: #000;
}

.modal-content h2 {
  font-family: 'Source Serif 4', serif;
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}

.modal-content h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin-top: 24px;
  margin-bottom: 8px;
}

.modal-content p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #505050;
  margin-bottom: 4px;
}

@media (max-width: 480px) {
  .modal-content {
    padding: 36px 24px;
    width: 95%;
  }

  .modal-content h2 {
    font-size: 24px;
  }
}
