* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: #f8f9fa;
  color: #1d1d1d;
}

.hero-section {
  position: relative;
  height: 100vh;
  color: white;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;  
  z-index: -1;
  filter: brightness(0.6); 
}

.hero-content {
  max-width: 700px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 20px;
}

.hero-buttons button {
  padding: 10px 20px;
  font-size: 16px;
  margin: 0 10px;
  border-radius: 5px;
  cursor: pointer;
  border: none;
}

.green-btn {
  background: #28a745;
  color: white;
}

.white-btn {
  background: white;
  color: #333;
  border: 1px solid #ccc;
}

.why-choose, .courses, .admission-form {
  padding: 60px 20px;
  text-align: center;
}

.why-choose h2,
.courses h2,
.admission-form h2 {
  font-size: 28px;
  margin-bottom: 30px;
}

.reasons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.reason {
  background: white;
  padding: 20px;
  border-radius: 8px;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.course-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.course-card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.course-card h3 {
  margin-bottom: 10px;
}

.course-card p {
  margin: 6px 0;
}

.course-card button {
  margin-top: 10px;
  background: #003366;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
}

.admission-form form {
  max-width: 400px;
  margin: auto;
  display: flex;
  flex-direction: column;
}

.admission-form input {
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.admission-form button {
  background: #007bff;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.c-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.c-img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}
