* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Baloo 2", sans-serif;
  font-weight: 300;
}

body {
  font-family: "Baloo 2";
}

.hero-wrapper {
  background-image: url("Images/hero-2.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #111010;
  font-family: "Baloo 2", cursive;
  height: 40vh;
  text-align: center;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 10%;
}

.hero-content {
  margin-left: 300px;
  max-width: 600px;
}

.hero-content h1 {
  font-size: 36px;

  color: red;
  -webkit-text-stroke: 1.5px rgb(209, 27, 27);
  font-family: "Baloo 2", cursive;
  font-weight: 1900;
}

.hero-content h2 {
  font-size: 36px;
  font-family: "Baloo 2", cursive;
  font-weight: 1900;
  color: red;
  -webkit-text-stroke: 1.5px rgb(209, 27, 27);
}

.hero-content p {
  font-size: 26px;
  color: #2196f3;
  margin-bottom: 30px;
  line-height: 1.6;
}

.cta-button {
  background-color: #1c71e0;
  color: #f8f7f7;
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
  text-decoration: none;
}

.cta-button:hover {
  background-color: #e6c200;
}

.hero-image img {
  width: 80%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-top: 30px;
}

.container {
  padding: 40px 20px;
  text-align: center;
  margin-top: -100px;
  /* ✅ Pushes content down */
}

.heading-section {
  background-color: #3498db;
  /* Blue */
  color: white;
  padding: 5px 30px;
  /* font-size: 1.8rem; */
  font-weight: bold;
  border-radius: 20px;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  font-size: 35px;
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 30px;
  margin-bottom: 100px;
}

.card-wrapper {
  position: relative;
  width: 250px;
  text-align: center;
}

.card {
  background-color: #ccc;
  color: white;
  padding: 20px;
  border-radius: 12px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.card img {
  width: 200px;
  height: 120px;
  object-fit: cover;
  margin-bottom: 10px;
}

.card h3 {
  font-size: 35px;
}

.card:hover {
  transform: scale(1.05);
}

.card.red::before {
  content: "";
  position: absolute;
  top: -63px;
  left: -63px;
  width: 150px;
  height: 150px;
  background-image: url(Images/star.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 2;
}

/* Image decor for Green Card - bottom-right */
.card.green::after {
  content: "";
  position: absolute;
  bottom: -50px;
  right: -78px;
  width: 150px;
  height: 150px;
  background-image: url("Images/star.webp");
  /* Replace with your image URL */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 2;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  padding: 15px;

  border-radius: 12px;
  color: white;
  z-index: 10;
}

/* Show dropdown on hover */
.card-wrapper:hover .dropdown {
  display: block;
}

/* Colors */
.red {
  background-color: #e74c3c;
}

.red-box {
  background-color: #e74c3c;
}

.blue {
  background-color: #3498db;
}

.blue-box {
  background-color: #3498db;
}

.yellow {
  background-color: #f1c40f;
  color: rgb(253, 253, 253);
}

.yellow-box {
  background-color: #f1c40f;
  color: rgb(255, 255, 255);
}

.green {
  background-color: #2ecc71;
}

.green-box {
  background-color: #2ecc71;
}

.image-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding-left: 70px;
  padding-right: 70px;
  margin-bottom: 100px;
}

.image-box {
  flex: 1 1 calc(25% - 20px);
  max-width: calc(25% - 20px);
  min-width: 200px;
  border-radius: 12px;
  overflow: hidden;
}

.image-box img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 5px solid transparent;
}

.img1 img {
  border-color: #e74c3c;
}

.img2 img {
  border-color: #3498db;
}

.img3 img {
  border-color: #f1c40f;
}

.img4 img {
  border-color: #2ecc71;
}

.img5 img {
  border-color: #e74c3c;
}

.img6 img {
  border-color: #3498db;
}

.img7 img {
  border-color: #f1c40f;
}

.img8 img {
  border-color: #2ecc71;
}

@media (max-width: 992px) {
  .image-box {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}

@media (max-width: 600px) {
  .heading-section {
    font-size: 1.4rem;
    padding: 15px 20px;
  }
}

@media (max-width: 600px) {
  .image-box {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .hero-image img {
    width: 57%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    margin-top: 0px;
  }

  .hero-content {
    margin-left: 0px;
  }

  .about-right-image img {
    width: 70%;
  }

  .programs-wrapper h2 {
    font-size: 26px;
    margin-bottom: 40px;
    margin-left: 50px;
    margin-right: 50px;
    background: dodgerblue;
    color: #f7f4f4;
  }

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

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .card-wrapper {
    width: 90%;
  }

  .dropdown {
    width: 90vw;
  }
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  /* padding: 1rem 0; */
}

.navbar {
  /* max-width: 1200px; */
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 100%;
  background-color: white;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 80px;
  width: 140px;
}

.tagline {
  font-size: 0.75rem;
  color: #fff;
}

nav {
  display: flex;
  gap: 2rem;
  font-family: "Baloo 2";
}

nav a {
  text-decoration: none;
  font-size: 1rem;
  color: #00aaff;
  transition: color 0.3s;
}

nav a:hover {
  color: #0077b6;
}

nav a.contact {
  color: #ffca28;
}

.hamburger {
  font-size: 2rem;
  color: #00aaff;
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.95);
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
}

.mobile-menu a {
  padding: 0.5rem 1rem;
  color: #009be0;
  text-decoration: none;
}

.mobile-menu a.contact {
  color: #ffca28;
}

/* Hero */
.hero {
  /* background: url('Images/hero-2.webp') repeat-x bottom; */
  height: 680px;
  background-size: cover;
  background-position: bottom;
  position: relative;
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    display: none;
  }

  .hamburger {
    display: block;
    margin-right: 30px;
  }

  .mobile-menu.show {
    display: flex;
    margin-top: 50px;
  }

  .tagline {
    color: #333;
  }
}

.cards-container p {
  font-size: 20px;
}