/****************************
 *    Education Style        *
 ****************************/

/* Hero Section */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh; /* adjust height */
  background: url("../img/home-bg1.webp") no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-overlay {
  text-align: center;
  color: #fff;
  padding: 20px;
}

.hero-section h1 {
  font-size: 3rem;
  font-weight: 800;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.4); /* dark overlay behind text */
  display: inline-block;
  padding: 10px 20px;
  border-radius: 6px;
}

/* Background images for each hero */
.hero1 { background-image: url("../img/banner-1.jpg"); }
.hero2 { background-image: url("../img/banner-2.jpg"); }
.hero3 { background-image: url("../img/banner-3.jpg"); }
.hero4 { background-image: url("../img/banner-4.jpg"); }
.hero5 { background-image: url("../img/banner-5.jpg"); }
.hero6 { background-image: url("../img/banner-6.jpg"); }
.hero7 { background-image: url("../img/banner-7.jpg"); }
.hero8 { background-image: url("../img/banner-8.jpg"); }
.hero9 { background-image: url("../img/banner-9.jpg"); }
.hero10 { background-image: url("../img/banner-10.jpg");}


/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    height: 40vh;
  }

  .hero-section h1 {
    font-size: 1.8rem;
    padding: 8px 12px;
  }
}


/* body section */

body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #fff;
  color: #333;
  line-height: 1.6;
}

.section {
  
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
  text-align: left;
}

.section h2 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.section p {
  font-size: 15px;
  margin-bottom: 40px;
  color: #444;
}

/* Cards styling */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  text-align: center;
}

.card {
  padding: 20px;
  border-radius: 12px;
  background: #f8f9fa;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card i {
  font-size: 40px;
  color: #2d8659;
  margin-bottom: 15px;
}

.card h3 {
  font-size: 15px;
  font-weight: normal;
  color: #333;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 14px rgba(0,0,0,0.15);
}
