body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f8f9fb;
  color: #222;
}

/* HEADER */

header {
  background: #ffffff;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.top-bar {
  max-width: 1200px;
  margin: auto;
  padding: 16px 24px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;

  font-size: 22px;
  font-weight: bold;
  color: #0f3b57;
}

.logo-box {
  width: 50px;
  height: 50px;

  background: #0f3b57;
  color: white;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 8px;
}

nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
}

nav a:hover {
  color: #0f3b57;
}

/* HERO */

.hero {
  text-align: center;
  padding: 100px 20px;
  background: linear-gradient(to right, #0f3b57, #164755);
  color: white;
}

.hero h1 {
  font-size: 50px;
  margin-bottom: 20px;
}

.hero p {
  max-width: 800px;
  margin: auto;
  font-size: 20px;
  line-height: 1.7;
}

.hero-buttons {
  margin-top: 40px;

  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.youtube-btn,
.whatsapp-btn,
.whatsapp-large {
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: bold;
  transition: 0.3s;
}

.youtube-btn {
  background: red;
  color: white;
}

.youtube-btn:hover {
  opacity: 0.85;
}

.whatsapp-btn,
.whatsapp-large {
  background: #25D366;
  color: white;
}

.whatsapp-btn:hover,
.whatsapp-large:hover {
  opacity: 0.85;
}

/* MAIN */

main {
  max-width: 1200px;
  margin: auto;
  padding: 60px 20px;
}

.card-section {
  margin-bottom: 80px;
}

.card-section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 36px;
  color: #0f3b57;
}

/* SUBJECTS */

.subject-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.subject-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 18px rgba(0,0,0,0.08);
}

.subject-card h3 {
  color: #0f3b57;
}

/* PRICING */

.pricing-container {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.price-card {
  background: white;
  width: 260px;
  text-align: center;
  padding: 40px 20px;
  border-radius: 12px;

  box-shadow: 0 5px 18px rgba(0,0,0,0.08);
}

.price {
  font-size: 40px;
  color: #0f3b57;
  font-weight: bold;
}

/* SCHEDULE */

.schedule-box {
  background: white;
  padding: 30px;
  border-radius: 12px;

  box-shadow: 0 5px 18px rgba(0,0,0,0.08);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

table th,
table td {
  border: 1px solid #ddd;
  padding: 14px;
  text-align: center;
}

table th {
  background: #0f3b57;
  color: white;
}

/* TESTIMONIALS */

.testimonial-wrapper {
  overflow: hidden;
  position: relative;
  background: white;
  padding: 30px 0;
  border-radius: 12px;
}

.testimonial-track {
  display: flex;
  width: max-content;
  animation: scroll 30s linear infinite;
}

.testimonial {
  min-width: 320px;
  margin: 0 20px;
  padding: 24px;
  background: #f3f3f3;
  border-radius: 10px;
  font-style: italic;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* CONTACT */

.contact-box {
  background: white;
  padding: 40px;
  border-radius: 12px;
  text-align: center;

  box-shadow: 0 5px 18px rgba(0,0,0,0.08);
}

.contact-box p {
  font-size: 20px;
}

/* FOOTER */

footer {
  background: #0f3b57;
  color: white;
  text-align: center;
  padding: 24px;
  margin-top: 60px;
}

/* RESPONSIVE */

@media (max-width: 768px) {

  .hero h1 {
    font-size: 36px;
  }

  nav ul {
    gap: 12px;
  }

  .top-bar {
    flex-direction: column;
    gap: 15px;
  }

}
