* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #053a97;
  --secondary: #c5a46d;
  --white: #ffffff;
  --light-bg: #f8f9fa;
  --text_dark: #2c3e50;
  --text_light: #6c757d;
  --shadow: 0 4px 20px rgba(5, 58, 151, 0.1);
  --shadow_hover: 0 8px 30px rgba(5, 58, 151, 0.15);
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text_dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, #0952c9 100%);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  background-size: 50px 50px;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.logo {
  /* Reduced logo size from 350px to 200px and padding from 25px to 15px */
  width: 200px;
  max-width: 80%;
  margin-bottom: 2rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
  /* Added white circular background for logo visibility */
  background: var(--white);
  padding: 15px;
  border-radius: 36%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
}

.cta-button {
  display: inline-block;
  background: var(--secondary);
  color: var(--white);
  padding: 18px 40px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(197, 164, 109, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(197, 164, 109, 0.5);
  background: #d4b47a;
}

/* Animations */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
}

.fade-in:nth-child(1) {
  animation-delay: 0.2s;
}
.fade-in:nth-child(2) {
  animation-delay: 0.4s;
}
.fade-in:nth-child(3) {
  animation-delay: 0.6s;
}
.fade-in:nth-child(4) {
  animation-delay: 0.8s;
}

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

/* Section Styles */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text_light);
  margin-bottom: 3rem;
}

/* Introduction Section */
.introduction {
  background: var(--white);
  padding: 60px 0;
}

.intro-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.intro-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text_dark);
  margin-bottom: 1.5rem;
}

.intro-text strong {
  color: var(--primary);
  font-weight: 600;
}

/* Benefits Section */
.benefits {
  background: var(--light-bg);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 3rem;
}

.benefit-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.benefit-card.full-width {
  grid-column: 1 / -1;
  max-width: 600px;
  margin: 0 auto;
}

.benefit-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow_hover);
}

.benefit-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.benefit-card h3 {
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.benefit-card p {
  color: var(--text_light);
  line-height: 1.7;
}

/* How It Works Section */
.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 3rem;
}

.step {
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s ease;
}

.step.visible {
  opacity: 1;
  transform: translateY(0);
}

.step-number {
  width: 70px;
  height: 70px;
  background: var(--secondary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 15px rgba(197, 164, 109, 0.3);
}

.step h3 {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.step p {
  color: var(--text_light);
  line-height: 1.7;
}

/* Tracks Section */
.tracks {
  background: var(--white);
  padding: 80px 0;
}

.tracks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 3rem;
}

.track-card {
  background: var(--light-bg);
  border-radius: 12px;
  padding: 40px 35px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 3px solid transparent;
}

.track-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow_hover);
}

.track-card.fast-track {
  border-color: var(--secondary);
}

.track-card.normal-track {
  border-color: var(--primary);
}

.track-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.track-header h2 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.track-duration {
  color: var(--text_light);
  font-size: 1.1rem;
  font-weight: 600;
}

.track-content h3 {
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.track-content ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.track-content ul li {
  padding: 10px 0;
  color: var(--text_dark);
  line-height: 1.7;
  position: relative;
  padding-left: 25px;
}

.track-content ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
}

.track-cta {
  background: var(--secondary);
  color: var(--white);
  padding: 15px 20px;
  border-radius: 8px;
  font-weight: 600;
  margin-top: 1rem;
  display: block;
  text-align: center;
}

/* Prices Section */
.prices {
  background: var(--light-bg);
}

.price-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.price-card {
  background: var(--white);
  border-radius: 12px;
  padding: 40px 30px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  opacity: 0;
  transform: scale(0.95);
}

.price-card.visible {
  opacity: 1;
  transform: scale(1);
}

.price-card.featured {
  border: 3px solid var(--secondary);
  transform: scale(1.05);
}

.price-card.featured.visible {
  transform: scale(1.05);
}

.price-card:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow_hover);
}

.badge {
  position: absolute;
  top: -15px;
  right: 30px;
  background: var(--secondary);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

.price-header {
  text-align: center;
  margin-bottom: 2rem;
}

.price-header h3 {
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.price-subtitle {
  color: var(--text_light);
  font-size: 1rem;
}

.price-amount {
  text-align: center;
  margin-bottom: 2rem;
  padding: 20px 0;
  border-top: 2px solid var(--light-bg);
  border-bottom: 2px solid var(--light-bg);
}

.currency {
  font-size: 1.2rem;
  color: var(--text_light);
  vertical-align: top;
}

.amount {
  font-size: 3.5rem;
  color: var(--primary);
  font-weight: 700;
}

.price-features {
  list-style: none;
}

.price-features li {
  padding: 12px 0;
  color: var(--text_dark);
  font-size: 1.05rem;
}

.price-note {
  text-align: center;
  margin-top: 2rem;
  color: var(--text_light);
  font-style: italic;
}

/* Teacher Comparison Section */
.teacher-comparison {
  background: var(--light-bg);
  padding: 80px 0;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.teacher-card {
  background: var(--white);
  border-radius: 12px;
  padding: 40px 30px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 3px solid transparent;
}

.teacher-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow_hover);
}

.teacher-card.romanian {
  border-color: var(--primary);
}

.teacher-card.native {
  border-color: var(--secondary);
}

.teacher-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--light-bg);
}

.teacher-header h3 {
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.teacher-price {
  font-size: 2.5rem;
  color: var(--secondary);
  font-weight: 700;
}

.teacher-features {
  list-style: none;
}

.teacher-features li {
  padding: 12px 0;
  color: var(--text_dark);
  line-height: 1.7;
  position: relative;
  padding-left: 30px;
}

.teacher-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
  font-size: 1.3rem;
}

.comparison-note {
  text-align: center;
  margin-top: 3rem;
  font-size: 1.1rem;
  color: var(--text_dark);
  font-style: italic;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  background: var(--white);
  padding: 20px 30px;
  border-radius: 8px;
  border-left: 4px solid var(--secondary);
}

/* Contact Form Section */
.contact {
  background: linear-gradient(135deg, var(--primary) 0%, #0952c9 100%);
  color: var(--white);
}

.contact .section-title,
.contact .section-subtitle {
  color: var(--white);
}

.privacy-note {
  font-size: 1rem;
  margin-top: 0.5rem;
}

/* Replaced placeholder styles with responsive iframe container */
.iframe-container {
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: center;
  align-items: center;
}

.iframe-container iframe {
  width: 100%;
  max-width: 650px;
  height: 500px;
  border-radius: 8px;
}

.iframe-placeholder {
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  padding: 80px 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-align: center;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.iframe-note {
  color: var(--primary);
  font-size: 1.3rem;
  font-weight: 600;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

label {
  display: block;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

input,
select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(5, 58, 151, 0.1);
}

.submit-button {
  width: 100%;
  background: var(--secondary);
  color: var(--white);
  padding: 16px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.submit-button:hover {
  background: #d4b47a;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(197, 164, 109, 0.4);
}

.success-message {
  text-align: center;
  background: var(--white);
  padding: 60px 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.success-message h3 {
  color: #28a745;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.success-message p {
  color: var(--text_dark);
  font-size: 1.2rem;
  line-height: 1.8;
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

/* Footer */
.footer {
  background: var(--primary);
  color: var(--white);
  padding: 40px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-logo-img {
  width: 200px;
  /* Removed white background from footer logo, changed to use blue background instead */
  filter: none;
  background: var(--white);
  padding: 20px;
  border-radius: 10%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.footer-contact p {
  margin-bottom: 0.5rem;
}

.footer-contact a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--secondary);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .logo {
    /* Adjusted mobile logo size proportionally */
    width: 280px;
    padding: 20px;
  }

  .section-title {
    font-size: 2rem;
  }

  .benefits-grid,
  .steps-container,
  .tracks-grid,
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .benefit-card.full-width {
    grid-column: 1;
  }

  .price-cards {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: scale(1);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 30px 20px;
  }

  .iframe-placeholder {
    padding: 60px 20px;
    min-height: 300px;
  }

  .iframe-note {
    font-size: 1.1rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  section {
    padding: 50px 0;
  }

  .track-card {
    padding: 30px 25px;
  }

  .track-header h2 {
    font-size: 1.6rem;
  }

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

  .intro-text {
    font-size: 1.05rem;
  }

  /* Added responsive styles for iframe on mobile */
  .iframe-container {
    padding: 20px;
  }

  .iframe-container iframe {
    height: 600px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
  }

  .cta-button {
    padding: 14px 30px;
    font-size: 1rem;
  }

  .amount {
    font-size: 2.8rem;
  }

  .track-header h2 {
    font-size: 1.4rem;
  }

  .teacher-card {
    padding: 30px 20px;
  }

  .comparison-note {
    padding: 15px 20px;
    font-size: 1rem;
  }
}
/* Force iframe to show full form height */
.iframe-container iframe {
  min-height: 950px;
  height: 1000px; /* ajustează între 950–1100 în funcție de conținut */
  width: 100%;
  overflow: hidden;
  border: none;
}
