:root {
  --primary: #2d89e5;
  --secondary: #25D366;
  --accent: #f9b233;
  --bg: #f6f9fb;
  --card-bg: #fff;
  --shadow: 0 4px 24px rgba(44, 62, 80, 0.08);
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  font-family: 'Roboto', Arial, sans-serif;
  color: #222;
}

header {
  background: linear-gradient(90deg, var(--primary) 60%, var(--secondary) 100%);
  color: #fff;
  padding: 2.5em 0 2em 0;
  text-align: center;
  box-shadow: var(--shadow);
}

header h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5em;
  margin: 0 0 0.3em 0;
  letter-spacing: 1px;
}

.subtitle {
  font-size: 1.2em;
  margin-bottom: 1.5em;
}

.header-btns {
  margin-top: 1em;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 0.5em 1.2em;
  margin: 0 0.5em;
  font-size: 1em;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.social-btn .icon {
  width: 22px;
  height: 22px;
  margin-right: 0.5em;
  filter: invert(1);
}
.fb-btn:hover {
  background: #4267B2;
}
.wa-btn:hover {
  background: #128C7E;
}

main {
  max-width: 900px;
  margin: 2em auto;
  padding: 0 1em;
}

.card {
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 2em 1.5em;
  margin-bottom: 2em;
  transition: transform 0.15s;
}
.card:hover {
  transform: translateY(-4px) scale(1.01);
}

.about-section ul {
  margin: 1em 0 0 1.2em;
  padding: 0;
}
.about-section li {
  margin-bottom: 0.5em;
  font-size: 1.08em;
}

.subject-section {
  border-left: 8px solid var(--primary);
  margin-bottom: 2em;
  background: linear-gradient(90deg, #f6f9fb 80%, #eaf6ff 100%);
}
.subject-section.cs { border-color: #2d89e5; }
.subject-section.maths { border-color: #f9b233; }
.subject-section.science { border-color: #25D366; }
.subject-section.hindi { border-color: #e94f4f; }

.subject-section h2 {
  margin-top: 0;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
}
.subject-section.maths h2 { color: var(--accent);}
.subject-section.science h2 { color: var(--secondary);}
.subject-section.hindi h2 { color: #e94f4f;}

.subject-features {
  margin: 1em 0 0 1em;
  padding: 0;
}
.subject-features li {
  margin-bottom: 0.5em;
  font-size: 1.08em;
}

.subject-extra {
  margin-top: 1.2em;
  font-weight: bold;
  color: var(--primary);
  background: #eaf6ff;
  padding: 0.6em 1em;
  border-radius: 8px;
  display: inline-block;
}
.subject-section.maths .subject-extra { color: var(--accent);}
.subject-section.science .subject-extra { color: var(--secondary);}
.subject-section.hindi .subject-extra { color: #e94f4f; background: #fff2f2;}

.testimonials-section {
  background: linear-gradient(90deg, #f6f9fb 80%, #eaf6ff 100%);
  border-left: 8px solid var(--accent);
}
.testimonials-section h2 {
  color: var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
}
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  margin-bottom: 2em;
}
.testimonial {
  flex: 1 1 220px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(44, 62, 80, 0.06);
  padding: 1em 1.2em;
  margin-bottom: 1em;
  font-style: italic;
  border-left: 4px solid var(--primary);
}
.testimonial span {
  display: block;
  margin-top: 0.7em;
  font-style: normal;
  font-weight: bold;
  color: var(--primary);
}
.results {
  background: #eaf6ff;
  border-radius: 8px;
  padding: 1em 1.2em;
}
.results h3 {
  margin-top: 0;
  color: var(--primary);
}
.results ul {
  margin: 0.5em 0 0 1.2em;
}
.results li {
  margin-bottom: 0.3em;
  font-size: 1.04em;
}

.contact-section h2 {
  margin-top: 0;
}

.contact-info {
  margin-bottom: 1.5em;
  font-size: 1.08em;
}
.contact-label {
  font-weight: bold;
  color: var(--primary);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.contact-form input,
.contact-form textarea {
  padding: 0.9em;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1em;
  font-family: inherit;
  background: #f8fafc;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  outline: none;
}

.contact-form button {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 1em;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(44, 62, 80, 0.08);
}
.contact-form button:hover {
  background: linear-gradient(90deg, var(--accent), var(--primary));
  box-shadow: 0 4px 16px rgba(44, 62, 80, 0.12);
}

footer {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 1.2em 0;
  font-size: 1em;
  margin-top: 2em;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -2px 12px rgba(44, 62, 80, 0.05);
}

@media (max-width: 900px) {
  main {
    max-width: 98vw;
  }
  .testimonials {
    flex-direction: column;
  }
}
@media (max-width: 600px) {
  header h1 {
    font-size: 1.5em;
  }
  .card {
    padding: 1.2em 0.7em;
  }
  main {
    padding: 0 0.2em;
  }
}
