﻿/* ===== Reset some defaults ===== */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #fff;
}

/* ===== Hero Section ===== */
#hero {
  width: 100%;
  height: 90vh; /* Banner height */
  overflow: hidden;
}

#hero .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== General Section Styling ===== */
section {
  padding: 8px 0;
}

section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #222;
}

section p {
  font-size: 1.05rem;
  color: #555;
}

/* ===== Images in Sections ===== */
.about-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.about-img:hover {
  transform: scale(1.02);
}

/* ===== Section Layout ===== */
.content {
  padding: 10px 20px;
}

.content h2 {
  color: #007bff; /* Blue heading */
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  #hero {
    height: 300px;
  }

  section {
    padding: 50px 0;
  }

  section h2 {
    font-size: 1.6rem;
  }

  section p {
    font-size: 1rem;
  }

  .about-img {
    margin-bottom: 20px;
  }
}

/* ===== Academics Page CSS ===== */

/* ===== Carousel Styling ===== */
#academicsCarousel {
  max-width: 100%;
  margin: 20px auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 4px 15px rgba(0,0,0,0.2);
}

#academicsCarousel img {
  width:600px ;
  height: 500px; /* Adjust height of slider */
}

.img-thumbnail {
  width: 550px;       /* fixed width */
  height: 180px;      /* fixed height */
  object-fit: contain; /* keeps full image inside without distortion */
  border: 3px solid #fcf347; /* green border */
  border-radius: 10px;
  padding: 5px;
 
}
.img-thumbnail:hover {
  box-shadow: 0 0 20px #e34709;
  border-color: #e34709; /* glow intensifies on hover */
}




/* ===== Academics Section ===== */
#about {
  padding: 50px 0;
}

#about .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

#about h3 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 28px;
  color: #333;
}

/* Left side (multiple images) */
#about .left-side {
  flex: 1;
  min-width: 55%;
}

#about .left-side img {
  width: 100%;
  margin-bottom: 20px;
  border-radius: 8px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

#about .left-side img:hover {
  transform: scale(1.05);
}

/* Right side (single image) */
#about .right-side {
  flex: 1;
  min-width: 35%;
  text-align: center;
}

#about .right-side img {
  max-width: 100%;
  border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
  #academicsCarousel img {
    height: 250px; /* smaller slider height on mobiles */
  }

  #about .container {
    flex-direction: column;
    text-align: center;
  }

  #about .left-side, 
  #about .right-side {
    min-width: 100%;
  }

  #about .left-side img {
    width: 80%;
  }
}


#hero1 {
  width: 100%;
  /*height: 90vh;  Banner height */
  overflow: hidden;
}

#hero1 .hero1-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}