/* Base Styles */
:root {
  --primary: #7e3af2;
  --primary-hover: #6929d4;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --text: #1f2937;
  --text-light: #6b7280;
  --background: #ffffff;
  --background-light: #f9fafb;
  --border: #e5e7eb;
  --success: #10b981;
  --error: #ef4444;
  --radius: 0.5rem;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  justify-content: center;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-hover);
}

ul {
  list-style: none;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: white;
}

.btn-accent {
  background-color: var(--accent);
  color: black;
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  color: black;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid white;
  color: white;
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.btn-block {
  display: block;
  width: 100%;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);

}

.logo img{
    top: 0px;
    height: 70px;
    position: absolute;
}

.nav-menu {
  display: none;
}

.mobile-menu-button {
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-button svg {
  width: 1.5rem;
  height: 1.5rem;
}

.icon-close {
  display: none;
}

.mobile-menu {
  display: none;
  background-color: white;
  padding: 1rem 0;
}

.mobile-nav-menu {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-nav-menu a {
  display: block;
  padding: 0.5rem 0;
  color: var(--text);
}

.mobile-nav-menu a:hover {
  color: var(--primary);
}

.mobile-cta {
  margin-top: 1rem;
}

.desktop-only {
  display: none;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding-top: 4rem;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, #7e3af2, #4c6ef5);
  z-index: -1;
}

.hero-background svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.hero-content {
  max-width: 100%;
  z-index: 1;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

/* Section Styles */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  font-size: 1.125rem;
  color: var(--text-light);
}

.bg-white {
  background-color: var(--background);
}

.bg-light {
  background-color: var(--background-light);
}

/* About Section */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.language-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.language-card {
  background-color: white;
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.language-card.python {
  background-color: #f0f4ff;
}

.language-card.javascript {
  background-color: #fff8e6;
}

.language-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.language-icon svg {
  width: 100%;
  height: 100%;
}

/* Benefits Section */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  background-color: white;
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.check-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 1rem;
  color: var(--success);
}

/* Process Section */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.process-card {
  background-color: white;
  padding: 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}

.process-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f3f4f6;
  border-radius: 50%;
}

.process-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
}

/* For Whom Section */
.for-whom-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.for-whom-card {
  background-color: white;
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.for-whom-card h3 {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  margin-right: 1rem;
  font-size: 1rem;
}

/* Teacher Section */
.teacher-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  gap: 2rem;
}

.teacher-image {
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  overflow: hidden;
}

.teacher-image svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-info {
  flex: 1;
}

.teacher-description {
  font-size: 1.125rem;
  color: var(--text-light);
}

/* Pricing Section */
.pricing-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background-color: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  position: relative;
}

.pricing-card.featured {
  background: linear-gradient(to bottom right, #fffbeb, #fef3c7);
  border: 2px solid #fbbf24;
}

.pricing-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent);
  color: black;
  font-weight: 600;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
}

.pricing-subtitle {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.pricing-price {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.pricing-features {
  margin-bottom: 2rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.pricing-features .check-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.discount-note {
  max-width: 800px;
  margin: 2rem auto 0;
  background-color: #fffbeb;
  border-left: 4px solid var(--accent);
  padding: 1rem;
  border-radius: 0.25rem;
}

.discount-note p {
  font-weight: 600;
  margin: 0;
}

/* Reviews Section */
.reviews-placeholder {
  text-align: center;
  font-style: italic;
  color: var(--text-light);
}

/* Contact Form */
.contact-form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
}

.form-selection {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.radio-option {
  display: flex;
  align-items: center;
}

.radio-option input {
  width: auto;
  margin-right: 0.5rem;
}

.form-error {
  background-color: #fee2e2;
  color: var(--error);
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

.form-success {
  text-align: center;
  padding: 2rem 0;
}

.success-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  color: var(--success);
}

/* Footer */
.footer {
  background-color: #111827;
  color: white;
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: background-color 0.3s;
}

.social-links a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.social-links svg {
  width: 1.25rem;
  height: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.contact-icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 1rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

/* Media Queries */
@media (min-width: 640px) {
  .hero h1 {
    font-size: 3rem;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .nav-menu {
    display: flex;
    gap: 1.5rem;
  }

  .nav-menu a {
    color: var(--text);
  }

  .nav-menu a:hover {
    color: var(--primary);
  }

  .mobile-menu-button {
    display: none;
  }

  .desktop-only {
    display: block;
  }

  .language-cards,
  .benefits-grid,
  .for-whom-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-card.wide {
    grid-column: span 2;
  }

  .teacher-content {
    flex-direction: row;
  }

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

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

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3.5rem;
  }

  .hero h2 {
    font-size: 2.5rem;
  }
}
