
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
font-family: "Poppins", Arial, sans-serif;
  line-height: 1.6;
  background-color: #f0f8ff;
  overflow-x: hidden;
  background-color: #cee1f4;
  
}

.sub-header {
  height: 50vh;
  width: 100%;
  background-image: linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.7)),
   url(./images/college\ building.webp);
  background-position: center;
  background-size: cover;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.sub-header h1 {
  font-size: 48px;
  font-weight: bold;
  margin-top: 60px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #00ffc7; 
  text-shadow: 
    0 0 5px #00ffc7,
    0 0 10px #00a6ff,
    0 0 15px #ff00ff,
    0 0 20px #00ffc7,
    0 0 30px #00a6ff,
    0 0 40px #ff00ff;
}

.home-intro {
  width: 80%;
  margin: auto;
  padding: 80px 0;

}
.apply-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #ff4141;
  color: #fff;
  font-size: 18px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease-in-out;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  cursor: pointer;
  position: relative;
  z-index: 10;
}



.intro-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.intro-col {
  flex-basis: 48%;
  min-width: 300px;
}

.intro-col h1 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #333;
}

.intro-col p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 20px;
}

.intro-col img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
/* College Team */
.college {
  width: 100%;
  margin: auto;
  text-align: center;
  padding-top: 50px;
}

.member {
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: bold;
}

.college-col {
  flex: 1 1 220px;               /* flexible width but min 220px */
  max-width: 240px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between; 
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

.college-col:hover {
 box-shadow: 0 8px 20px rgba(58, 123, 213, 0.3);
   border: 2px solid #3a7bd5; 
  transform: translateY(-8px);
}

.college-col img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.college-col:hover img { 
  transform: scale(1.05);
}

.layer {
  position: absolute;
  inset: 0;
  background: rgba(207, 223, 227, 0.452);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
}

.college-col:hover .layer {
  opacity: 1;
}

.layer h3 {
  color: #fff;
  font-size: 20px;
  font-weight: bold;
}
.college-col figcaption {
  margin-top: 10px;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
}

/* Facilities */
.facilities {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 100px;
}

.facilities-col {
  flex-basis: 31%;
  max-width: 31%;
  background: #fff;
  border-radius: 10px;
  margin-bottom: 5%;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.facilities-col img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.facilities-col h3 {
  margin-top: 16px;
  margin-bottom: 15px;
  color: #3a7bd5;
  text-align: center;
}

.facilities-col:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* Students */
.student {
  width: 80%;
  margin: auto;
  padding-top: 100px;
  text-align: center;
  
}

.student-col {
  flex-basis: 45%;
  margin-top: 20px;
  display: flex;
  align-items: center;
  padding: 25px;
  border-radius: 15px;
  background: #fff;
  margin-bottom:10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.row {
  display: flex;
  justify-content: center;   /* centers all members horizontally */
  align-items: stretch;   /* aligns them from the top */
  flex-wrap: wrap;           /* allows wrapping on smaller screens */
  gap: 30px;                 /* space between cards */
  margin-top: 30px;
}


.student-col img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-right: 20px;
  object-fit: cover;
}

.student-col h3 {
  color: #3a7bd5;
}

.student-col .fa {
  color: #fbc02d;
}

.student-col:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.18);
}

