/* Reset e Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --white: #ffffff;
  --blue: #0066cc;
  --blue-dark: #004a99;
  --blue-light: #e6f2ff;
  --yellow: #ffd700;
  --yellow-dark: #e6c200;
  --light-gray: #f8f9fa;
  --gray: #6c757d;
  --red: #dc143c;
  --green: #228b22;
  --green-dark: #1a6b1a;
  --dark: #1a1a1a;
  --dark-light: #333333;
  --font-primary: "Montserrat", sans-serif;
  --font-secondary: "Playfair Display", serif;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo img {
  height: 65px;
  width: auto;
  transition: var(--transition);
}

.logo:hover img {
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 35px;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: var(--transition);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--yellow));
  transition: width 0.3s ease;
}

.nav-menu a:hover {
  color: var(--blue);
}

.nav-menu a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
  padding: 5px;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, #009246 0%, #ffffff 50%, #ce2b37 100%);
  min-height: 800px;
  height: 800px;
  display: flex;
  align-items: center;
  color: var(--dark);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-particles::before,
.hero-particles::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  animation: float 20s infinite ease-in-out;
}

.hero-particles::before {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.hero-particles::after {
  bottom: 10%;
  right: 10%;
  animation-delay: 10s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(50px, 50px) scale(1.1);
  }
}

.hero-wrapper {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  padding: 60px 0 0 0;
  height: 800px;
}

.hero-content {
  animation: fadeInUp 1s ease;
  padding-bottom: 60px;
  align-self: center;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  animation: fadeInUp 1s ease 0.2s backwards;
  align-self: stretch;
  position: relative;
}

.hero-image img {
  width: 100%;
  max-width: 650px;
  display: block;
  position: absolute;
  bottom: 0;
  height: auto;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-block;
  background: rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 15px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--dark);
}

.hero-italian-phrase {
  font-family: var(--font-secondary);
  font-size: 1.8rem;
  font-style: italic;
  color: var(--red);
  margin-bottom: 20px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.hero-title {
  font-family: var(--font-secondary);
  font-size: 3rem;
  margin-bottom: 25px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--dark);
}

.hero-subtitle {
  font-size: 1.4rem;
  margin-bottom: 20px;
  font-weight: 600;
  color: var(--dark-light);
}

.hero-content p {
  font-size: 1.15rem;
  margin-bottom: 35px;
  color: var(--dark-light);
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--dark);
  font-size: 0.85rem;
  opacity: 0.7;
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-left: 2px solid var(--dark);
  border-bottom: 2px solid var(--dark);
  transform: rotate(-45deg);
  margin: 10px auto 0;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 40px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--yellow);
  color: var(--dark);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
  background: var(--yellow-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--dark);
}

.btn-outline:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-secondary {
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background: var(--blue-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--blue);
  transform: translateY(-3px);
}

.btn-test {
  background: linear-gradient(135deg, var(--red), #ff1744);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

.btn-test:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(220, 20, 60, 0.4);
}

.btn-blue {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.btn-blue:hover {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
}

/* Stats Section */
.stats-section {
  background: var(--white);
  padding: 60px 0;
  border-bottom: 1px solid #e9ecef;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-item {
  padding: 20px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 10px;
  font-family: var(--font-secondary);
}

.stat-label {
  font-size: 1rem;
  color: var(--gray);
  font-weight: 500;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.section-tag.light {
  background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
  color: var(--dark);
}

.section-header h2 {
  font-family: var(--font-secondary);
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
}

/* Why Learn Section */
.why-learn {
  padding: 100px 0;
  background: var(--light-gray);
}

.intro-text {
  max-width: 900px;
  margin: 0 auto 60px;
  text-align: center;
}

.intro-text p {
  font-size: 1.15rem;
  margin-bottom: 15px;
  color: var(--dark-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.feature-item {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--yellow));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-item:hover::before {
  transform: scaleX(1);
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-light);
}

.feature-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
  display: inline-block;
  transition: var(--transition);
}

.feature-item:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-item h4 {
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 12px;
  font-weight: 600;
}

.feature-item p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

.closing-box {
  text-align: center;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  margin-bottom: 50px;
}

.closing-text {
  font-size: 1.3rem;
  font-style: italic;
  color: var(--white);
  font-weight: 600;
  margin: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-icon {
  font-size: 3rem;
  color: var(--white);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  animation: zoomIn 0.3s ease;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 50px;
  color: var(--white);
  font-size: 50px;
  font-weight: 300;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close:hover {
  color: var(--yellow);
  transform: scale(1.2);
}

.lightbox-caption {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 1.1rem;
  text-align: center;
  max-width: 80%;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Page Hero (Internal Pages) */
.page-hero {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.page-hero h1 {
  font-family: var(--font-secondary);
  font-size: 3rem;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.page-hero p {
  font-size: 1.3rem;
  opacity: 0.95;
  position: relative;
  z-index: 1;
}

/* Course Levels Section */
.course-levels-section {
  padding: 100px 0;
  background: var(--white);
}

.course-intro {
  max-width: 900px;
  margin: 0 auto 80px;
  text-align: center;
}

.course-intro h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: var(--blue);
}

.course-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.course-feature {
  background: var(--light-gray);
  padding: 20px;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--dark-light);
  border-left: 4px solid var(--green);
}

.course-tagline {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--gray);
  margin-top: 30px;
}

.levels-header {
  text-align: center;
  margin-bottom: 60px;
}

.levels-header h2 {
  font-family: var(--font-secondary);
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.levels-header p {
  font-size: 1.2rem;
  color: var(--gray);
}

.levels-grid {
  display: grid;
  gap: 40px;
  margin-bottom: 60px;
}

.level-card-detail {
  background: var(--light-gray);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.level-card-detail:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.level-card-header {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  padding: 40px;
}

.level-card-header h3 {
  font-size: 2rem;
  margin-bottom: 15px;
  font-family: var(--font-secondary);
}

.level-description {
  font-size: 1.1rem;
  margin-bottom: 10px;
  opacity: 0.95;
}

.level-goal {
  font-size: 1rem;
  opacity: 0.9;
  font-style: italic;
}

.level-content {
  padding: 40px;
}

.level-content h4 {
  font-size: 1.3rem;
  color: var(--blue);
  margin-bottom: 20px;
  margin-top: 30px;
}

.level-content h4:first-child {
  margin-top: 0;
}

.level-topics {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.level-topics li {
  padding: 10px 15px;
  background: var(--white);
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--dark-light);
  position: relative;
  padding-left: 35px;
}

.level-topics li::before {
  content: "•";
  position: absolute;
  left: 15px;
  color: var(--blue);
  font-size: 1.5rem;
  line-height: 1;
}

.level-advanced-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--dark-light);
}

.conversation-section {
  background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
  padding: 50px;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.conversation-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}

.conversation-section h3 {
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 15px;
  font-family: var(--font-secondary);
}

.conversation-section p {
  font-size: 1.15rem;
  color: var(--dark-light);
  max-width: 800px;
  margin: 0 auto;
}

/* Test Level Section */
.test-level-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.test-level-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.test-level-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.test-level-text h2 {
  font-family: var(--font-secondary);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.test-level-text p {
  font-size: 1.15rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

.test-benefits {
  list-style: none;
  margin-bottom: 35px;
}

.test-benefits li {
  font-size: 1.05rem;
  margin-bottom: 12px;
  padding-left: 10px;
}

.test-level-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.level-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.level-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 30px 50px;
  border-radius: 15px;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.level-card span {
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.9;
}

.level-card:hover {
  transform: translateX(10px);
  background: rgba(255, 255, 255, 0.25);
}

/* CTA Section */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-family: var(--font-secondary);
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 50px;
  margin-bottom: 40px;
}

.footer-col h4 {
  margin-bottom: 20px;
  color: var(--yellow);
  font-size: 1.2rem;
}

.footer-col p {
  margin-bottom: 12px;
  opacity: 0.9;
  line-height: 1.8;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.7;
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(34, 139, 34, 0.4);
  z-index: 999;
  transition: var(--transition);
  animation: pulse 2s infinite;
  color: var(--white);
}

.whatsapp-float:hover {
  transform: scale(1.15);
  box-shadow: 0 8px 30px rgba(34, 139, 34, 0.6);
}

.whatsapp-float svg {
  width: 38px;
  height: 38px;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 6px 20px rgba(34, 139, 34, 0.4);
  }
  50% {
    box-shadow: 0 6px 30px rgba(34, 139, 34, 0.7), 0 0 0 15px rgba(34, 139, 34, 0.1);
  }
}

/* Responsive */
@media (max-width: 968px) {
  .test-level-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .level-cards {
    flex-direction: row;
    justify-content: center;
  }

  .level-card {
    padding: 20px 30px;
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 30px 20px;
    gap: 20px;
    box-shadow: var(--shadow-md);
    display: none;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a::after {
    display: none;
  }

  .hero {
    min-height: 1000px;
    height: auto;
  }

  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 60px 0 0 0;
    height: auto;
    display: flex;
    flex-direction: column;
  }

  .hero-content {
    order: 1;
    padding-bottom: 40px;
  }

  .hero-image {
    order: 2;
    position: relative;
    height: 400px;
  }

  .hero-image img {
    max-width: 110%;
    width: 100%;
    object-fit: cover;
    object-position: top center;
  }

  .hero-italian-phrase {
    font-size: 1.3rem;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .cta-section h2 {
    font-size: 2rem;
  }

  .cta-section p {
    font-size: 1.1rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .whatsapp-float {
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float svg {
    width: 32px;
    height: 32px;
  }

  .level-cards {
    flex-direction: column;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 35px;
  }
}

/* Responsive for Course Levels */
@media (max-width: 968px) {
  .course-features {
    grid-template-columns: 1fr;
  }

  .level-topics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .course-levels-section {
    padding: 60px 0;
  }

  .course-intro h3 {
    font-size: 1.5rem;
  }

  .levels-header h2 {
    font-size: 2rem;
  }

  .level-card-header {
    padding: 30px 20px;
  }

  .level-card-header h3 {
    font-size: 1.6rem;
  }

  .level-content {
    padding: 30px 20px;
  }

  .level-content h4 {
    font-size: 1.1rem;
  }

  .conversation-section {
    padding: 40px 20px;
  }

  .conversation-section h3 {
    font-size: 1.6rem;
  }

  .conversation-icon {
    font-size: 3rem;
  }

  .page-hero {
    padding: 80px 0 60px;
  }

  .page-hero h1 {
    font-size: 2.2rem;
  }

  .page-hero p {
    font-size: 1.1rem;
  }
}

/* Contact Section */
.contact-section {
  padding: 100px 0;
  background: var(--light-gray);
}

.contact-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.contact-intro h2 {
  font-family: var(--font-secondary);
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.contact-intro p {
  font-size: 1.15rem;
  color: var(--gray);
}

.contact-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  background: var(--white);
  padding: 25px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-left: 4px solid var(--blue);
}

.contact-card:hover {
  box-shadow: var(--shadow-md);
  border-left-color: var(--yellow);
}

.contact-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.contact-card h3 {
  font-size: 1.2rem;
  color: var(--blue);
  margin-bottom: 10px;
  font-weight: 600;
}

.contact-detail {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 5px;
  line-height: 1.6;
}

.contact-note {
  font-size: 0.85rem;
  color: var(--gray);
  margin: 0;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--white);
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--shadow-md);
}

.form-header {
  margin-bottom: 30px;
}

.form-header h3 {
  font-size: 1.8rem;
  color: var(--blue);
  margin-bottom: 10px;
}

.form-header p {
  color: var(--gray);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font-primary);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-full {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
}

/* Map Section */
.map-section {
  padding: 80px 0 0;
  background: var(--white);
}

.map-section .container {
  text-align: center;
  margin-bottom: 40px;
}

.map-section h2 {
  font-family: var(--font-secondary);
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.map-section p {
  font-size: 1.1rem;
  color: var(--gray);
}

.map-container {
  width: 100%;
  height: 450px;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Responsive Contact Page */
@media (max-width: 968px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 60px 0;
  }

  .contact-intro h2 {
    font-size: 2rem;
  }

  .contact-card {
    padding: 20px;
  }

  .contact-icon {
    font-size: 2rem;
  }

  .contact-form-wrapper {
    padding: 30px 20px;
  }

  .form-header h3 {
    font-size: 1.5rem;
  }

  .map-section {
    padding: 60px 0 0;
  }

  .map-section h2 {
    font-size: 1.8rem;
  }

  .map-container {
    height: 350px;
  }
}

/* About Section */
.about-section {
  padding: 100px 0;
  background: var(--white);
}

.about-intro {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 100px;
}

.about-intro-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.about-intro-text h2 {
  font-family: var(--font-secondary);
  font-size: 2.5rem;
  margin-bottom: 25px;
  color: var(--blue);
}

.about-intro-text .lead {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.6;
}

.about-intro-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--dark-light);
  margin-bottom: 15px;
}

/* Timeline */
.timeline-section {
  margin-bottom: 100px;
}

.timeline-section h2 {
  font-family: var(--font-secondary);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 60px;
  color: var(--dark);
}

.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--blue), var(--yellow));
  transform: translateX(-50%);
}

.timeline-item {
  margin-bottom: 80px;
  position: relative;
}

.timeline-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.timeline-content.reverse {
  direction: rtl;
}

.timeline-content.reverse > * {
  direction: ltr;
}

.timeline-image {
  position: relative;
}

.timeline-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.timeline-image:hover img {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.timeline-text h3 {
  font-size: 1.8rem;
  color: var(--blue);
  margin-bottom: 10px;
}

.timeline-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
  color: var(--dark);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.timeline-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--dark-light);
  margin-bottom: 15px;
}

.about-list {
  list-style: none;
  margin: 20px 0;
}

.about-list li {
  padding: 10px 0 10px 30px;
  position: relative;
  font-size: 1.05rem;
  color: var(--dark-light);
  line-height: 1.6;
}

.about-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 1.2rem;
}

/* Why Teach Section */
.why-teach-section {
  background: var(--light-gray);
  padding: 80px 60px;
  border-radius: 20px;
  margin-bottom: 80px;
}

.why-teach-section h2 {
  font-family: var(--font-secondary);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 40px;
  color: var(--dark);
}

.why-teach-content .lead {
  font-size: 1.3rem;
  text-align: center;
  color: var(--dark);
  margin-bottom: 50px;
  font-weight: 600;
}

.why-teach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.why-teach-item {
  background: var(--white);
  padding: 35px;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.why-teach-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.why-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.why-teach-item h3 {
  font-size: 1.4rem;
  color: var(--blue);
  margin-bottom: 15px;
}

.why-teach-item p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--dark-light);
}

/* About CTA */
.about-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  padding: 60px;
  border-radius: 20px;
}

.about-cta h2 {
  font-family: var(--font-secondary);
  font-size: 2.3rem;
  margin-bottom: 15px;
}

.about-cta p {
  font-size: 1.2rem;
  margin-bottom: 35px;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn.btn-outline:hover {
  background: var(--white);
  color: var(--blue);
}

/* Responsive About Page */
@media (max-width: 968px) {
  .about-intro {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-intro-image {
    max-width: 400px;
    margin: 0 auto;
  }

  .timeline::before {
    display: none;
  }

  .timeline-content,
  .timeline-content.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 0;
  }

  .timeline-text {
    display: flex;
    flex-direction: column;
  }

  .timeline-text h3 {
    order: 1;
  }

  .timeline-text .timeline-tag {
    order: 2;
  }

  .timeline-image {
    order: 3;
    margin: 20px 0;
  }

  .timeline-text p,
  .timeline-text .about-list {
    order: 4;
  }

  .why-teach-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 60px 0;
  }

  .about-intro-text h2 {
    font-size: 2rem;
  }

  .about-intro-text .lead {
    font-size: 1.15rem;
  }

  .timeline-section h2 {
    font-size: 2rem;
  }

  .timeline::before {
    display: none;
  }

  .timeline-item {
    margin-bottom: 50px;
  }

  .timeline-text h3 {
    font-size: 1.5rem;
  }

  .timeline-tag {
    font-size: 0.75rem;
    padding: 4px 12px;
    margin-bottom: 15px;
    display: inline-block;
    width: auto;
    align-self: flex-start;
  }

  .why-teach-section {
    padding: 50px 30px;
  }

  .why-teach-section h2 {
    font-size: 2rem;
  }

  .why-teach-content .lead {
    font-size: 1.1rem;
  }

  .why-teach-item {
    padding: 25px;
  }

  .about-cta {
    padding: 40px 30px;
  }

  .about-cta h2 {
    font-size: 1.8rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }
}

/* Test Section */
.test-section {
  padding: 80px 0;
  background: var(--light-gray);
}

.test-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.test-intro h2 {
  font-family: var(--font-secondary);
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: var(--blue);
}

.test-intro p {
  font-size: 1.1rem;
  color: var(--gray);
  line-height: 1.7;
}

.test-form {
  max-width: 900px;
  margin: 0 auto;
}

.test-personal-info {
  background: var(--white);
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
}

.test-personal-info h3 {
  font-size: 1.8rem;
  color: var(--blue);
  margin-bottom: 25px;
}

.test-questions {
  background: var(--white);
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--shadow-md);
  margin-bottom: 30px;
}

.test-questions h3 {
  font-size: 1.8rem;
  color: var(--blue);
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--blue);
}

.question-block {
  padding: 25px;
  background: var(--light-gray);
  border-radius: 10px;
  margin-bottom: 25px;
  border-left: 4px solid var(--yellow);
}

.question-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 15px;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.options label {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  background: var(--white);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.options label:hover {
  border-color: var(--blue);
  background: var(--blue-light);
}

.options input[type="radio"] {
  margin-right: 12px;
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.options input[type="radio"]:checked + label {
  border-color: var(--blue);
  background: var(--blue-light);
}

/* Responsive Test Page */
@media (max-width: 768px) {
  .test-section {
    padding: 60px 0;
  }

  .test-personal-info,
  .test-questions {
    padding: 30px 20px;
  }

  .test-intro h2 {
    font-size: 1.8rem;
  }

  .question-block {
    padding: 20px 15px;
  }

  .question-text {
    font-size: 1rem;
  }

  .options label {
    padding: 10px 12px;
    font-size: 0.95rem;
  }
}

/* Testimonials Section */
.testimonials-section {
  padding: 100px 0;
  background: var(--light-gray);
}

.testimonials-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.testimonials-intro h2 {
  font-family: var(--font-secondary);
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.testimonials-intro p {
  font-size: 1.15rem;
  color: var(--gray);
  line-height: 1.7;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
}

.testimonial-card {
  background: var(--white);
  padding: 35px;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-left: 4px solid var(--yellow);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--blue);
}

.testimonial-stars {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--yellow-dark);
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--dark-light);
  margin-bottom: 20px;
  flex-grow: 1;
  font-style: italic;
}

.testimonial-author {
  font-size: 0.95rem;
  color: var(--blue);
  font-weight: 600;
  padding-top: 15px;
  border-top: 2px solid var(--light-gray);
}

.testimonials-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  padding: 60px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.testimonials-cta h2 {
  font-family: var(--font-secondary);
  font-size: 2.3rem;
  margin-bottom: 15px;
}

.testimonials-cta p {
  font-size: 1.2rem;
  margin-bottom: 35px;
  opacity: 0.95;
}

/* Responsive Testimonials */
@media (max-width: 768px) {
  .testimonials-section {
    padding: 60px 0;
  }

  .testimonials-intro h2 {
    font-size: 2rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonial-card {
    padding: 25px;
  }

  .testimonials-cta {
    padding: 40px 30px;
  }

  .testimonials-cta h2 {
    font-size: 1.8rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }
}

/* Success Section */
.success-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 100px 0;
  background: var(--light-gray);
}

.success-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  padding: 60px 40px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.success-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: var(--white);
  font-size: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.success-content h1 {
  font-family: var(--font-secondary);
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: 20px;
}

.success-content .lead {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 20px;
}

.success-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--dark-light);
  margin-bottom: 15px;
}

.success-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .success-content {
    padding: 40px 30px;
  }

  .success-content h1 {
    font-size: 2rem;
  }

  .success-icon {
    width: 80px;
    height: 80px;
    font-size: 50px;
  }

  .success-actions {
    flex-direction: column;
  }

  .success-actions .btn {
    width: 100%;
  }
}
