/* ================= GLOBAL ================= */
body{
  font-family:'Poppins',sans-serif;
  background:#f4f8ff;
  overflow-x:hidden;
}
section{position:relative}

/* GLASS */
.glass{
  background:rgba(255,255,255,.18);
  backdrop-filter:blur(15px);
  border:1px solid rgba(255,255,255,.35);
  box-shadow:0 25px 50px rgba(0,0,0,.25);
  border-radius:16px;
}

/* FLOATING LIGHT */
@keyframes floatGlow{
  0%{transform:translate(0,0)}
  50%{transform:translate(35px,-25px)}
  100%{transform:translate(0,0)}
}

/* ================= HEADER + NAV ================= */

/* TOP INFO BAR */
.top-bar{
  background: linear-gradient(135deg,#0072ff,#00c6ff);
  color:#fff;
  font-size:14px;
  padding:6px 0;
}

/* MAIN HEADER (LOGO + COLLEGE NAME) */
.main-header{
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  transition: all 0.35s ease;
}

/* Shadow appears on scroll */
.main-header.scrolled{
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

/* HEADER LAYOUT */
.main-header .container{
  position: relative;
  display: flex;
  align-items: center;
  min-height: 95px;

}

/* LOGO */
.main-header img{
  height: 80px;
  flex-shrink: 0;
}

/* CENTER COLLEGE NAME */
.header-text{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  line-height: 1.2;
}

.header-text h6{
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 2px;
}

.header-text h3{
  font-size: 1.5rem;
  font-weight: 700;
  color: #0d6efd;
  margin-bottom: 2px;
}

.header-text small{
  font-size: 0.8rem;
  color: #6c757d;
}

/* ================= NAVBAR ================= */

.navbar{
  background: rgba(255,255,255,0.95) !important;
  backdrop-filter: blur(10px);
  padding: 8px 0;
  transition: all 0.3s ease;
}

/* NAV SHADOW ON SCROLL */
.navbar.scrolled{
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* NAV LINKS */
.navbar .nav-link{
  font-weight: 600;
  color: #0f172a !important;
  padding: 8px 14px;
  position: relative;
  transition: color 0.3s ease;
}

/* UNDERLINE EFFECT */
.navbar .nav-link::after{
  content:'';
  position:absolute;
  left:0;
  bottom:2px;
  width:0;
  height:2px;
  background: linear-gradient(90deg,#00c6ff,#0072ff);
  transition: width 0.3s ease;
}

.navbar .nav-link:hover{
  color:#0072ff !important;
}

.navbar .nav-link:hover::after{
  width:100%;
}

/* ACTIVE LINK */
.navbar .nav-link.active{
  color:#0072ff !important;
}

/* ================= MOBILE ================= */

@media(max-width: 992px){
  .header-text{
    position: static;
    transform: none;
    margin-left: 15px;
    text-align: left;
  }

  .header-text h3{
    font-size: 1.25rem;
  }

  .navbar-collapse{
    background: rgba(255,255,255,0.97);
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.18);
  }
}


/* ================= HERO ================= */
#hero{
  height:100vh;
  /* background:url('https://images.unsplash.com/photo-1524995997946-a1c2e315a42f') */
  background:url('4.jpeg')
  center/cover fixed;
}
#hero::before{
  content:'';
  position:absolute;
  inset:0;
  background:
  radial-gradient(circle at top left,rgba(0,198,255,.5),transparent 40%),
  linear-gradient(to right,rgba(0,0,0,.75),rgba(0,0,0,.3));
}
.hero-box{
  position:absolute;
  bottom:70px;
  left:60px;
  color:#fff;
  max-width:480px;
  padding:35px;
  animation:floatGlow 6s ease-in-out infinite;
}

/* ================= SECTION TITLE ================= */
.section-title{
  text-align:center;
  font-size:34px;
  font-weight:700;
  margin-bottom:60px;
  color:#0b3c5d;
}
.section-title::after{
  content:'';
  width:90px;height:4px;
  background:linear-gradient(90deg,#00c6ff,#0072ff);
  position:absolute;
  left:50%;
  bottom:-12px;
  transform:translateX(-50%);
}

/* ================= COURSES ================= */
#courses{
  background:
  radial-gradient(circle at right,rgba(0,198,255,.18),transparent 40%),
  url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f')
  center/cover fixed;
}
.course-card{
  border-radius:18px;
  overflow:hidden;
  transition:.4s;
  box-shadow:0 20px 40px rgba(0,0,0,.3);
  position:relative;
}
.course-card::after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(120deg,transparent,rgba(255,255,255,.6),transparent);
  transform:translateX(-100%);
  transition:.6s;
}
.course-card:hover::after{transform:translateX(100%)}
.course-card:hover{transform:translateY(-10px)}
.course-card img{height:260px;width:100%;object-fit:cover}
.bottom-bar{
  background:linear-gradient(135deg,#0072ff,#00c6ff);
  color:#fff;
  text-align:center;
  padding:12px;
  font-weight:600;
}
/* ================= ABOUT US ================= */
#about-us-section{
  background:
  radial-gradient(circle at top left,rgba(0,198,255,.15),transparent 40%),
  url('https://images.unsplash.com/photo-1524995997946-a1c2e315a42f')
  center/cover fixed;
}

.event-card{
  transition:.4s;
}
.event-card:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 40px rgba(0,0,0,.25);
}

/* ================= Director Msg ================= */

/* SECTION BACKGROUND IMAGE WITH LIGHT EFFECT */
.glossy-bg{
  position: relative;
  background:
    linear-gradient(to right, rgba(255,255,255,0.88), rgba(255,255,255,0.78)),
    url('https://images.unsplash.com/photo-1524995997946-a1c2e315a42f')
    center/cover no-repeat;
}

/* GLASS CONTAINER (already used in other sections) */
.glass{
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,.15);
}

/* IMAGE GLOW */
.director-img{
  max-width: 260px;
  transition: .4s;
}
.director-img:hover{
  transform: scale(1.05);
  box-shadow: 0 25px 50px rgba(0,150,255,.35);
}

/* ================= Chairman princ Msg ================= */
/* SECTION BACKGROUND IMAGE WITH LIGHT EFFECT */
.glossy-bg {
  position: relative;
  background:
    linear-gradient(to right, rgba(255,255,255,0.88), rgba(255,255,255,0.78)),
    url('https://images.unsplash.com/photo-1503676260728-1c00da094a0b') center/cover no-repeat;
  padding-top: 60px;
  padding-bottom: 60px;
}

/* GLASS EFFECT CONTAINER */
.glass {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,.15);
}

/* IMAGE GLOW ON HOVER */
.card-img-glow {
  max-width: 160px;
  transition: .4s;
}
.card-img-glow:hover {
  transform: scale(1.05);
  box-shadow: 0 25px 50px rgba(0,150,255,.35);
}

/* CARD TEXT ALIGN & RESPONSIVE */
.card h5 {
  margin-bottom: 0.5rem;
}
.card p, .card small {
  margin-bottom: 0.25rem;
}

/* SECTION BACKGROUND IMAGE WITH LIGHT EFFECT */
.glossy-bg {
  background:
    linear-gradient(to right, rgba(255,255,255,0.85), rgba(255,255,255,0.75)),
    url('https://images.unsplash.com/photo-1503676260728-1c00da094a0b') center/cover no-repeat;
  padding-top: 60px;
  padding-bottom: 60px;
}

/* GLASS EFFECT FOR CARDS */
.glass {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.glass:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0,0,0,.25);
}

/* ICON CIRCLE */
.icon-circle {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 15px auto;
  font-size: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.icon-circle:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(0,0,0,.2);
}

/* CARD TEXT */
.card h4 {
  margin-bottom: 0.75rem;
}
.card p {
  font-size: 0.95rem;
  color: #333;
}



/* ================= STATS ================= */
#stats{
  background:
  radial-gradient(circle at bottom left,rgba(0,198,255,.4),transparent 45%),
  url('https://images.unsplash.com/photo-1523240795612-9a054b0db644')
  center/cover fixed;
  color:#fff;
}
#stats::before{
  content:'';
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.65);
}
#stats .container{position:relative;z-index:2}
#stats i{
  font-size:64px;
  color:#00c6ff;
  text-shadow:0 0 30px rgba(0,198,255,1);
}

/* ================= FOOTER ================= */
footer{
  background:
  radial-gradient(circle at top right,rgba(0,198,255,.3),transparent 40%),
  linear-gradient(rgba(0,0,0,.85),rgba(0,0,0,.9)),
  url('https://images.unsplash.com/photo-1524995997946-a1c2e315a42f')
  center/cover;
  color:#ccc;
}

/* IMAGE GLOW */
img{transition:.4s}
img:hover{
  transform:scale(1.05);
  filter:drop-shadow(0 10px 25px rgba(0,198,255,.35));
}

 /* Quick Links / Footer Section */
    .quick-links {
      background: linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.85)),
                  url('https://source.unsplash.com/1600x900/?college,education') center/cover no-repeat;
      color:#ccc;
      padding-top: 50px; /* Adjusted padding */
      padding-bottom: 20px; /* Space for copyright */
    }
    .quick-links h5 {
      color: #fff;
      font-weight: 600;
      position: relative;
    }
    .quick-links h5::after {
      content: '';
      position: absolute;
      width: 50px;
      height: 3px;
      background-color: #ffc107; /* Warning color for underline */
      bottom: -5px;
      left: 0;
      border-radius: 2px;
    }
    .quick-links ul li a {
      transition: color 0.3s ease, transform 0.3s ease;
      display: flex;
      align-items: center;
    }
    .quick-links ul li a:hover {
      color: #fff;
      transform: translateX(5px);
    }
    .quick-links ul li a::before {
      content: '\203A'; /* Right arrow character */
      margin-right: 8px;
      color: #ffc107;
      font-weight: bold;
      transition: transform 0.3s ease;
    }
    .quick-links ul li a:hover::before {
      transform: translateX(3px);
    }
    .quick-links p i {
      color: #ffc107 !important;
    }
    .map-container {
      border: 2px solid #ffc107;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }

    /* Footer copyright within quick-links */
    .quick-links .footer-copyright {
      margin-top: 40px;
      padding-top: 20px;
      border-top: 1px solid rgba(255,255,255,0.1);
      color:#999;
      font-size: 0.9rem;
    }

/* ===== Modern Management Row Card ===== */
.management-row-card{
  background: linear-gradient(135deg,
    rgba(255,255,255,0.85),
    rgba(240,245,255,0.90)
  );
  backdrop-filter: blur(16px);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 28px;
  box-shadow: 0 15px 35px rgba(37,99,235,0.18);
  transition: all 0.4s ease;
}

.management-row-card:hover{
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 28px 55px rgba(124,58,237,0.35);
}

/* Image */
.management-row-card img{
  width: 145px;
  height: 145px;
  object-fit: cover;
  border-radius: 14px;
}

/* Text */
.management-row-card h5{
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #0f172a;
  margin-bottom: 6px;
}

.management-row-card p{
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #2563eb;
  margin-bottom: 4px;
}

.management-row-card small{
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 0.9rem;
  color: #475569;
}

/* Mobile */
@media(max-width:768px){
  .management-row-card{
    flex-direction: column;
    text-align: center;
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366, #1ebc57);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 15px 30px rgba(37,211,102,0.4);
  z-index: 9999;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 20px 40px rgba(37,211,102,0.6);
  color: #fff;
}
