.font-poppins {
    font-family: 'Poppins', sans-serif;
}

.banner {
    width: 100%;
    position: relative;
    text-align: center;
    color: white;
    padding: 1px;
}

.banner-title {
    font-weight: 500;
    font-size: clamp(18px, 4vw, 40px);
    background: #270D5C;
    position: absolute;
    top: clamp(8px, 4vw, 50px);
    padding: 10px 50px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: #555555 2px 2px 2px;
}

.banner-slogan {
    width: min(92%, 900px);
    text-align: right;
    font-weight: 500;
    font-size: clamp(16px, 5vw, 50px);
    position: absolute;
    bottom: clamp(8px, 4vw, 50px);
    right: 16px;
    padding: 10px 50px;
}

.banner img {
    width: 100%;
    height: auto;
    display: block;
}

.intro {
    font-size: clamp(16px, 2.4vw, 22px);
    background: #1b005d;
    color: #fff;
    padding: clamp(24px, 8vw, 80px) 10%;
    margin: 5px;
    text-align: center;
    line-height: 1.8;
    letter-spacing: 0.5px;
}

.reg-card-light {
    max-width: 600px;
    margin: 50px auto;
    padding: 35px 30px;
    border-radius: 18px;

    /* White-friendly pop-out styling */
    background: #ffffff;
    border: 2.5px solid #d6e4ff;
    box-shadow:
            0 4px 20px rgba(0, 0, 0, 0.08),
            0 0 12px rgba(0, 150, 255, 0.15);

    font-family: 'Orbitron', sans-serif;
    text-align: center;
    color: #202939;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Subtle futuristic hover lift */
.reg-card-light:hover {
    transform: translateY(-6px);
    box-shadow:
            0 6px 30px rgba(0, 0, 0, 0.12),
            0 0 18px rgba(0, 150, 255, 0.25);
}

.reg-card-light h2 {
    font-size: 30px;
    margin-bottom: 12px;
    color: #003b6f;
    text-shadow: 0 0 6px rgba(0, 140, 255, 0.2);
}

.reg-card-light p {
    font-size: 18px;
    margin-bottom: 25px;
    color: #4a5568;
}

/* Button with futuristic gradient */
.reg-btn-light {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 25px;
    background: linear-gradient(90deg, #008cff, #00d0ff);
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    font-size: 17px;
    letter-spacing: 0.8px;
    transition: all 0.25s ease;
    box-shadow: 0 0 10px rgba(0, 180, 255, 0.4);
}

.reg-btn-light:hover {
    background: linear-gradient(90deg, #00b6ff, #009aff);
    box-shadow: 0 0 18px rgba(0, 160, 255, 0.5);
    transform: translateY(-2px);
}


.cells {
  width: 100%;
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
  padding: clamp(16px, 4vw, 32px) 4%;
  background: #fff;
  gap: clamp(12px, 3vw, 28px);
}

.rectangle {
    width: auto;
    padding: 10px;
    max-width: 100%;
}

.cell-left,
.cell-right {
  width: min(100%, 960px);
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: space-between;
  gap: clamp(12px, 4vw, 32px);
  margin: 0;
  padding: clamp(8px, 2vw, 16px) clamp(12px, 4vw, 32px);
  border-radius: 16px;
  transition: box-shadow 0.3s ease;
}

.cell-left {
  flex-direction: row;
}

.cell-right {
  flex-direction: row-reverse;
}

.cell-left:hover,
.cell-right:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

/* Fix: target the image with the class .cell-logo */
.cell-logo {
  height: auto;
  max-width: min(220px, 35vw);
  width: clamp(120px, 28vw, 220px);
  padding: 10px;
}

.cells p {
  font-weight: 500;
  font-size: clamp(18px, 3.8vw, 26px);
  padding: 10px 20px;
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
}

.cells p:hover {
    color: #270D5C;
    text-decoration: none;
    cursor: pointer;
}

/*Hover Animation - Underlining*/
.hover-underline-animation {
    display: inline-block;
    position: relative;
}

.hover-underline-animation::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: black;
    transition: transform 0.25s ease-out;
}

.hover-underline-animation:hover::after {
  transform: scaleX(1);
}

.hover-underline-animation.center::after {
  transform-origin: bottom center;
}

.hover-underline-animation.center:hover::after {
  transform-origin: bottom center;
}
/*Hover Animation Ends*/

.carousel {
    overflow: hidden;
    width: 100%;
    padding: 20px 0;             /* top & bottom spacing */
}

.carousel-track {
    display: flex;
    gap: 20px;                   /* spacing between images */
    width: max-content;
    animation: scroll 40s linear infinite;   /* adjust speed by changing 40s */
}

.carousel img {
    max-height: 260px;           /* adjust height as you like */
    width: auto;
    object-fit: contain;         /* ensures entire image is visible */
    border-radius: 12px;         /* optional rounded corners */
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}



.message {
  display: flex;
  flex-wrap: wrap;
  padding: clamp(20px, 5vw, 48px);
  background: #270D5C;
  color: white;
  gap: clamp(12px, 3vw, 24px);
  align-items: center;
}

.quote {
  flex: 1;
  padding: clamp(12px, 3vw, 24px);
  font-size: clamp(16px, 2.2vw, 22px);
  line-height: 1.8;
  max-width: 50%;
    text-align: center;
}

.quote strong {
  font-size: clamp(18px, 3.2vw, 28px);
  text-shadow: 0 0 3px #f9f9f9;
  display: inline-block;
  margin-top: 6px;
}

.quote-image {
  flex: 1;
  padding: clamp(12px, 3vw, 24px);
  text-align: center;
  font-size: clamp(14px, 2vw, 18px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(10px, 3vw, 18px);
}

.quote-image img {
  width: min(80%, 100%);
  border-radius: 10px;
  box-shadow: 0 0 5px #eee;
}

.quote p {
  margin: 0;
}

.quote-image p {
  margin: 0;
  line-height: 1.6;
}

.faculty {
  padding: clamp(20px, 6vw, 54px);
  text-align: center;
}

.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 240px));
  justify-content: center;
  gap: 32px;
  margin-top: 16px;
}

.faculty-member {
  max-width: 240px;
  margin: 0 auto;
}

.faculty-member img {
  width: 100%;
  border-radius: 8px;
}

.faculty-member p {
  margin-top: 5px;
  font-size: 14px;
}

/* Disable font-size bump on small screens where hover isn't relevant */
@media (max-width: 700px) {
  .cells p:hover {
    font-size: inherit;
  }
}

@media (max-width: 900px) {
  .banner-title {
    padding: 10px 28px;
  }
  .banner-slogan {
    font-size: clamp(16px, 4vw, 28px);
      color: white;
    padding: 10px 28px;
    right: clamp(8px, 3vw, 18px);
  }
  .cell-left,
  .cell-right {
    width: min(100%, 720px);
  }
}

@media (max-width: 700px) {
  .rectangle {
    display: none;
  }
  .cell-left,
  .cell-right {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 12px;
    padding: clamp(12px, 4vw, 24px);
  }
  .cell-left,
  .cell-right {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
  }
  .cells p {
    padding: 4px 8px;
  }
  .banner-title {
    top: 14px;
  }
  .banner-slogan {
    bottom: 18px;
      color: white;
  }
  .message {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .quote,
  .quote-image {
    text-align: center;
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .banner {
    padding-bottom: 32px;
  }
  .banner-title,
  .banner-slogan {
    position: static;
    display: block;
    margin: 10px auto 0;
    border-radius: 16px;
    max-width: 92%;
    text-align: center;
    box-shadow: none;
  }

  .banner-slogan {
    font-size: clamp(15px, 5.5vw, 22px);
    padding: 12px 18px;
      color: black;
  }
  .banner-title {
    padding: 12px 18px;
  }
  .message {
    padding: clamp(18px, 7vw, 36px);
  }
  .quote,
  .quote-image {
    padding: clamp(8px, 4vw, 18px);
    text-align: center;
  }
  .faculty-grid {
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .faculty-member p {
    font-size: 13px;
  }
  .banner-slogan {
    text-align: center;
  }
}
