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

body {
  font-family: Arial, sans-serif;
  color: #222;
  background: #f7f7f7;
  line-height: 1.6;
}

.header {
  background: #8b0000;
  color: white;
  padding: 18px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  font-size: 20px;
  font-weight: bold;
}

nav a {
  color: white;
  margin-left: 22px;
  text-decoration: none;
  font-weight: 600;
}

nav a:hover {
  color: #ffd700;
}

.hero {
  min-height: 85vh;
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
    url("https://images.unsplash.com/photo-1524995997946-a1c2e315a42f?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 0 8%;
  color: white;
}

.hero-content {
  max-width: 700px;
}

.hero h1 {
  font-size: 52px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 5px;
  text-decoration: none;
  margin-right: 12px;
  font-weight: bold;
}

.primary {
  background: #ffd700;
  color: #111;
}

.secondary {
  background: white;
  color: #8b0000;
}

section {
  padding: 70px 8%;
}

h2 {
  text-align: center;
  font-size: 34px;
  margin-bottom: 35px;
  color: #8b0000;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.card,
.course-card {
  background: white;
  padding: 28px;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  text-align: center;
}

.card h3,
.course-card h3 {
  color: #8b0000;
  margin-bottom: 12px;
}

.course-card {
  border-top: 5px solid #ffd700;
}

.about {
  background: white;
  text-align: center;
}

.about p {
  max-width: 850px;
  margin: auto;
  font-size: 18px;
}

.testimonials {
  background: #f1f1f1;
}

.contact {
  background: white;
  text-align: center;
}

.contact-box {
  margin: 20px auto;
  max-width: 450px;
  background: #f8f8f8;
  padding: 25px;
  border-radius: 10px;
}

.whatsapp {
  display: inline-block;
  background: #25d366;
  color: white;
  padding: 13px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
}

footer {
  background: #111;
  color: white;
  text-align: center;
  padding: 20px;
}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    gap: 12px;
  }

  nav a {
    margin: 0 8px;
    font-size: 14px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero p {
    font-size: 17px;
  }
}

.photo-slider-section {
  background: #fff;
  text-align: center;
}

.slider {
  max-width: 850px;
  height: 420px;
  margin: 0 auto 35px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.18);
}

.slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.current-affairs-box {
  max-width: 700px;
  margin: auto;
  background: #fff8dc;
  padding: 30px;
  border-radius: 12px;
  border-left: 6px solid #8b0000;
}

.current-affairs-box h3 {
  color: #8b0000;
  font-size: 28px;
  margin-bottom: 10px;
}

.current-affairs-box p {
  margin-bottom: 20px;
  font-size: 17px;
}

@media (max-width: 768px) {
  .slider {
    height: 260px;
  }
}