@import url("https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap");

:root {
  --bs-body-font-family: sans-serif;
}

body {
  font-family: var(--bs-body-font-family) !important;
}

.social-icons {
  display: flex;
  gap: 18px;
  /* More spacing between icons */
  align-items: center;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 1px solid #e0e0e0;
  /* light border */
  border-radius: 8px;
  /* soft rounded corners */
  transition: border-color 0.25s ease, box-shadow 0.25s ease,
    transform 0.25s ease;
}

.social-icons a img {
  width: 24px;
  height: 24px;
  opacity: 0.85;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.social-icons a:hover {
  border-color: #bfbfbf;
  /* slightly darker border on hover */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.social-icons a:hover img {
  transform: scale(1.12);
  opacity: 1;
}


.academic-title-thin {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 600;
  font-size: 28px;
  color: #202020;
  letter-spacing: 0.4px;
  padding-bottom: 14px;
  position: relative;
  margin-bottom: 28px;
}

/* Base underline (invisible at first) */
.academic-title-thin::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 2px;
  background: #2d4a9d;
  opacity: 0.9;

  width: 0;
  transform: translateX(-50%);
}

/* Trigger animation only once */
.animate-underline::after {
  animation: underlineGrow 2s ease-out forwards;
}

/* KEYFRAMES */
@keyframes underlineGrow {
  0% {
    width: 0;
    opacity: 0;
  }

  100% {
    width: 100%;
    opacity: 0.9;
  }
}

.carousel-item img {
  width: 100%;
  height: 240px;
  /* Auto height for small screens */
  object-fit: fill;
}





/* Tablet */
@media (min-width: 768px) {
  .carousel-item img {
    height: 350px;
    /* Adjust according to your need */
  }
}

/* Desktop */
@media (min-width: 992px) {
  .carousel-item img {
    height: 500px;
    /* Adjust for large screens */
  }
}

/* Large Desktop */
@media (min-width: 1400px) {
  .carousel-item img {
    height: 500px;
  }
}


/* about and principal section */
.about {
  display: flex;
  justify-content: space-around;
}

.box {
  width: 48%;
}

.box1 {
  width: 48%;
}

.section-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease-in-out;
  height: 100%;
  overflow: hidden;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
  font-family: "Open Sans", sans-serif;
  color: #ff4d61;
}

.section-image {
  float: right;
  width: 42%;
  max-width: 250px;
  border-radius: 14px;
  margin-left: 20px;
  margin-bottom: 10px;
  height: 220px;
  object-fit: fill;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-image:hover {
  transform: scale(1.03);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.28);
}

.section-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  margin-top: 15px;
}

.read-more {
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
  margin-top: 10px;
  display: inline-block;
}

.read-more:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 767px) {
  .section-image {
    float: none;
    width: 100%;
    max-width: 100%;
    height: 200px;
    margin: 0 0 15px 0;
  }

  .section-image2 {
    float: none;
    width: 100%;
    max-width: 100%;
    height: 200px;
    margin: 0 0 15px 0;
  }

  .about {
    display: block;
  }

  .box {
    width: 95%;
  }

  .box1 {
    width: 95%;
  }

  .section-text {
    clear: both;
  }
}

.section-card::after {
  content: "";
  display: block;
  clear: both;
}

.dashed-title {
  font-size: 28px;
  font-weight: 700;
  color: #ff4d61;
  /* pinkish-red like the image */
  display: inline-block;
  position: relative;
  padding-bottom: 6px;
  letter-spacing: 1px;
}

.dashed-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  border-bottom: 3px dashed #ff4d61;
  /* dashed underline */
}

.dashed-title span {
  display: inline-block;
  min-width: 200px;
  /* ensures the typed text has room */
}

.typed-cursor {
  display: none !important;
}

.fancy-btn {
  position: relative;
  display: inline-block;

  padding: 12px 28px;
  text-decoration: none;
  color: #000;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  border: 2px solid #b18338;
  /* gold/brown color */
  text-transform: uppercase;
}

.fancy-btn::before,
.fancy-btn::after {
  /* content: ""; */
  /* position: absolute; */
  width: 100%;
  height: 100%;
  border: 2px solid #b18338;
  pointer-events: none;
}

.fancy-btn::before {
  top: -8px;
  left: -8px;
}

.fancy-btn::after {
  bottom: -8px;
  right: -8px;
}

/* Optional hover effect */
.fancy-btn:hover {
  background: #b18338;
  color: #fff;
  transition: 0.3s ease;
}

.but {
  display: flex;
  justify-content: end;
  margin-top: 83px;
}

.btm {
  display: flex;
  justify-content: end;
  margin-top: 113px;
}

/* mentor's */
.mentor-card {
  background: #fff;
  border-radius: 28px;
  height: 315px;
  overflow: hidden;
  position: relative;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.mentor-card:hover {
  transform: translateY(-6px);
}

.mentor-top {
  height: 120px;
  border-radius: 28px 28px 0 0;
  background: var(--grad);
  position: relative;
}

.mentor-img-wrapper {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 8px solid #fff;
  position: absolute;
  left: 50%;
  bottom: -90px;
  transform: translateX(-50%);
}

.mentor-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.mentor-name {
  margin-top: 105px;
  font-size: 1.4rem;
  font-weight: 700;
  color: #ff5d72;
}

.mentor-title {
  font-size: 1rem;
  color: #555;
}

/* news */

.info-card {
  background: #fff;
  border-radius: 6px;
  padding: 30px 25px;
  box-shadow: 0 8px 24px rgba(0, 123, 255, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 123, 255, 0.23);
}

.info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 75px;
  width: 100%;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(135deg, #007bff, #00bfff);
  z-index: 0;
}

/* Colored Bars */
.blue-card::before {
  background: linear-gradient(135deg, #007bff, #00bfff);
}

.green-card::before {
  background: linear-gradient(135deg, #28a745, #71d88e);
}

.yellow-card::before {
  background: linear-gradient(135deg, #ffc107, #ffd54f);
}

/* Icon Circle */
.card-icon {
  width: 60px;
  height: 60px;
  background: #f0f8ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2px;
  position: relative;
  z-index: 1;
}

.card-icon img {
  width: 32px;
}

/* Card Title */
.card-title {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

/* Marquee */
.marquee {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.marquee-content {
  display: flex;
  flex-direction: column;
  animation: marquee-scroll 30s linear infinite;
}

.marquee:hover .marquee-content {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

.marquee-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f4f7ff;
  border-radius: 12px;
  padding: 12px 15px;
  margin-bottom: 10px;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.marquee-item:hover {
  background: #e0efff;
}

.item-text {
  width: 85%;
  font-weight: 600;
  color: #222;
  line-height: 1.3;
}

.item-date {
  font-size: 12px;
  color: #555;
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.date-icon {
  width: 14px;
  height: 14px;
  opacity: 0.75;
}

.item-arrow {
  font-size: 20px;
  color: #007bff;
  opacity: 0.6;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.marquee-item:hover .item-arrow {
  opacity: 1;
  transform: translateX(4px);
}

a {
  text-decoration: none;
}

/* View Button */
.btn-view {
  display: flex;
  background-color: #007bff;
  color: #fff;
  border-radius: 25px;
  padding: 10px 25px;
  font-weight: 700;
  border: none;
  transition: background-color 0.3s ease;
  justify-content: center !important;
  margin-top: 1rem;
  text-decoration: none;
}

.btn-view:hover {
  background-color: #0056b3;
  color: #fff;
}

/* quick links */
.quick-links-wrapper {
  border-radius: 6px;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(0, 123, 255, 0.15);
  padding: 30px 1rem;
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}

.quick-link-card {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  border: 1px solid rgba(0, 123, 255, 0.25);
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
  overflow: hidden;
}

.quick-link-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 45px rgba(0, 123, 255, 0.3);
  border-color: rgba(0, 179, 255, 0.5);
}

/* .icon-circle {
  width: 70px;
  height: 70px;
  background: rgba(0, 179, 255, 0.15);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 15px;
  transition: background-color 0.3s ease, transform 0.3s ease;
} */

/* .quick-link-card:hover .icon-circle {
  background: rgba(0, 179, 255, 0.35);
  transform: scale(1.2);
} */

.icon-img {
  width: 34px;
  height: 34px;
  transition: transform 0.3s ease;
}

.quick-link-card:hover .icon-img {
  transform: scale(1.15);
}

.quick-link-title {
  font-weight: 600;
  font-size: 1.1rem;
  color: #007bff;
  letter-spacing: 0.5px;
  margin-top: 12px;
}

/* key highlight */
.glass-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 8px 32px rgba(0, 123, 255, 0.3);
  transition: all 0.4s ease;
  padding: 25px;
  text-align: center;
  font-size: "Open Sans", sans-serif;
}

.glass-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(0, 123, 255, 0.5);
  border-color: rgba(0, 123, 255, 0.4);
}

.glass-card img {
  max-height: 100px;
  margin-bottom: 15px;
  transition: transform 0.4s ease;
}

.glass-card:hover img {
  transform: scale(1.1);
}

.glass-title {
  font-weight: 600;
  color: #00bfff;
  margin-bottom: 10px;
}

.glass-text {
  color: rgba(26, 25, 25, 0.94);
}

/* =========================================================
NEW HEADER DESIGN
========================================================= */
.new-header {
  background: #fff9d9;
  padding: 25px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid #e5d58a;
}

.new-logo {
  width: 130px;
  height: auto;
}

/* Center content */
.header-center {
  text-align: center;
  font-family: "Open Sans", sans-serif;
}

.college-name {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 5px;
}

.tagline {
  font-size: 15px;
  line-height: 1.3;
  margin: 0;
}

/* Social Icons */
.social-icons {
  display: flex;
  /*gap: 12px;*/
}

.social-icons .icon {
  font-size: 22px;
  text-decoration: none;
  color: #333;
  background: #fff;
  border: 2px solid #d9c67a;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
}

.social-icons .icon:hover {
  background: #f7e799;
  border-color: #b89d4f;
  transform: translateY(-3px);
}

/* NAVBAR BASE */
.new-navbar {
  background: linear-gradient(to right, #FFFFFF, #FFEFBA);
  padding: 0 25px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  /*border-top:2px solid black;*/
  white-space: nowrap;
}

/* NAV LINKS */
.navbar-nav .nav-link {
  font-size: 17px;
  font-weight: 700;
  color: #3b3b3b;
  padding: 10px 10px !important;
  position: relative;
  transition: color 0.25s ease, opacity 0.2s ease;
}

/* Soft elegant hover color */
.navbar-nav .nav-link:hover {
  color: #1a1a1a;
  opacity: 0.85;
}

/* Underline animation (soft, premium, NO color splash) */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: #1a1a1a;
  /* subtle dark underline */
  border-radius: 4px;
  transition: width 0.25s ease, left 0.25s ease;
}

/* Underline expands smoothly */
.navbar-nav .nav-link:hover::after {
  width: 100%;
  left: 0;
}

.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
  /* Remove flicker gap */
}

.dropdown-menu {
  border-radius: 6px;
  border: 1px solid #e8e8e8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 8px 0;
}

/* Dropdown link */
.dropdown-item {
  font-size: 14px;
  padding: 10px 20px;
  color: #3b3b3b;
  transition: background 0.2s ease, padding-left 0.2s ease;
}

/* Clean subtle hover (no ugly background) */
.dropdown-item:hover {
  background: #f7f7f7;
  padding-left: 26px;
  /* nice micro animation */
  color: #000;
}

/* Sticky Navbar */
.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive Fixes */
@media (max-width: 768px) {
  .new-header {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .social-icons {
    justify-content: center;
    gap: 3px;
  }

  .header-center {
    order: 1;
  }
}

/* FOOTER BASE STYLING */
.footer {
  background: #0D9488;
  color: white;
  font-family: "Open Sans", sans-serif !important;
  position: relative;
  font-size: 14px;
  font-weight: 500;
}

.footer a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  font-size: 14px;
  font-weight: 500;
}

.footer a:hover {
  color: #47fff0;
  /* Highlight color on hover */
  transform: translateY(-3px);
}

/* SOCIAL ICON BAR */
.footer-social-bar {
  background: linear-gradient(to right, #eaf6ff, #e9e9ff);
  padding: 15px 0;
  color: black;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-bar span {
  font-size: 28px;
}

.footer-social-bar .social-icons a {
  font-size: 20px;
  margin-left: 15px;
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
  color: #373333ff;
}


.footer-social-bar .social-icons a:hover {
  transform: scale(1.2) rotate(10deg);
}
.footer-social-bar .social-icons a:hover .bi-twitter-x {
  color:dodgerblue;
}
.footer-social-bar .social-icons a:hover .bi-facebook{
  color:blue;
}
.footer-social-bar .social-icons a:hover .bi-whatsapp{
  color:green;
}
.footer-social-bar .social-icons a:hover .bi-instagram{
  color:#E1306C;
}
.footer-social-bar .social-icons a:hover .bi-linkedin{
  color:dodgerblue;
}
.footer-social-bar .social-icons a:hover .bi-youtube{
  color:red;
}


/* FOOTER TITLES */
.footer-title {
  color: white;
  font-size: 16px;
  margin-bottom: 20px;
  position: relative;
}

.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 50px;
  height: 4px;
  border-radius: 15px 15px 15px 15px;
  background-color: #0b5e57;
}

/* FOOTER LINKS */
.footer-link {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
}

.footer-link:hover {
  color: #0D9488;
  transform: translateX(5px);
}

/* FOOTER BOTTOM BAR */
.footer-bottom {
  background: #4bd3c8;
  color: black;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* BACK TO TOP BUTTON */
#btn-back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #eb2d7a;
  /* light, soft blue */
  color: #ffffff;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  font-size: 26px;
  z-index: 1000;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  display: none;
}

#btn-back-to-top:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

/* RESPONSIVE FOOTER */
@media (max-width: 768px) {
  .footer-social-bar {
    text-align: center;
  }

  .footer-social-bar .social-icons {
    margin-top: 10px;
  }

  .footer-bottom .row {
    text-align: center;
  }
}


.gallery {
  padding: 0;

}

.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 20px;
  height: 250px;
  /* fixed container height */
  position: relative;
  border: 1px outset yellow;

}

.gallery-item img {
  width: 100%;
  height: 100%;
  /* fit container height */
  object-fit: cover;
  /* scale image to fill container */
  border-radius: 10px;
  transition: transform 0.5s ease;
}

.gallery-item img:hover {
  transform: scale(1.1);
  /* hover zoom */
}

@media (max-width: 768px) {
  .gallery-item {
    height: 180px;
    /* smaller height on mobile */
  }
}