/* General Reset */
body, ul, li, h1, h2, h3, p {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Hero Section */
.hero {
  height: 60vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 1s ease-in-out;
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.55);
  padding: 2rem 3rem;
  border-radius: 10px;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  color: #FFD700;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.5rem;
  color: #fff;
}

/* Section Base Styling */
.section {
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Fade-In Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Curriculum Overview Section */
.curriculum {
  background: linear-gradient(135deg, #FFEFBA, #FFFFFF); /* Light, warm gradient */
}

.curriculum h2 {
  color: #4E2E1C;
  margin-bottom: 2rem;
}

.curriculum-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  animation: fadeIn 1s ease-in-out;
}

.curriculum-text {
  flex: 1;
  min-width: 300px;
  text-align: left;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #4E2E1C;
  padding-right: 1rem;
}

.curriculum-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}

.curriculum-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.curriculum-image img:hover {
  transform: scale(1.03);
}

/* Academic Calendar Section */
.academic-calendar {
  background: linear-gradient(135deg, #FFE4B5, #FFDEAD);
  color: #4E2E1C;
}

.academic-calendar h2 {
  margin-bottom: 2rem;
}

.calendar-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.calendar-item {
  flex: 1;
  min-width: 280px;
  background: #4E2E1C;
  color: #fff;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.calendar-item:hover {
  transform: translateY(-5px);
}

.calendar-item img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
}

/* Departments and Faculties Section */
.departments {
  background: linear-gradient(135deg, #F5F5F5, #FFEBCD);
  color: #4E2E1C;
}

.departments h2 {
  margin-bottom: 2rem;
}

.dept-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.dept-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.dept-card:hover {
  transform: translateY(-5px);
}

.dept-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
}

/* Extracurricular Activities Section */
.extracurricular {
  background: linear-gradient(135deg, #E0FFFF, #AFEEEE);
  color: #4E2E1C;
}

.extracurricular h2 {
  margin-bottom: 2rem;
}

.extra-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.extra-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.extra-card:hover {
  transform: translateY(-5px);
}

.extra-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .curriculum-grid {
    flex-direction: column;
    text-align: center;
  }
  .curriculum-text {
    text-align: center;
    padding-right: 0;
  }
}
