/* ---------------- Reset & Fonts ---------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #f5fdfa; /* whitish background */
  color: #333;
}

/* ------------------- Master CSS Slim Floating Right Navbar ------------------- */
.navbar {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.85); /* semi-black background */
  border-radius: 50px; /* pill/capsule shape */
  padding: 6px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}

/* Logo */
.navbar .nav-logo img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #d9a441; /* cyan border */
  box-shadow: 0 0 10px rgba(0,255,255,0.6);
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.navbar .nav-logo img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 16px rgba(0,255,255,1); /* bright cyan glow */
}

/* Nav Links */
.navbar .nav-links {
  display: flex;
  gap: 10px;
  list-style: none;
}

.navbar .nav-links li a {
  text-decoration: none;
  color: #fff; /* white text */
  font-weight: 500;
  font-size: 0.88rem;
  padding: 6px 14px;
  border-radius: 30px; /* capsule */
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
}

/* Hover and Active Effect */
.navbar .nav-links li a:hover,
.navbar .nav-links li a.active {
  background: #d9a441; /* cyan hover */
  color: #000; /* black text */
  box-shadow: 0 0 12px rgba(0,255,255,0.7);
  transform: scale(1.05);
}

/* Hover underline animation */
.navbar .nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 10%;
  height: 2px;
  width: 0%;
  background: #d9a441;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.navbar .nav-links li a:hover::after,
.navbar .nav-links li a.active::after {
  width: 80%;
}

/* Responsive */
@media(max-width: 600px) {
  .navbar {
    padding: 4px 12px;
    gap: 6px;
  }
  .navbar .nav-logo img {
    width: 32px;
    height: 32px;
  }
  .navbar .nav-links li a {
    font-size: 0.78rem;
    padding: 4px 8px;
  }
}

.faculty-header {
  background-color: #bfe8c4;
  border-radius: 12px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.12), 0 0 25px rgba(0,255,255,0.2) inset;
  position: relative;
  overflow: hidden;
  animation: glowHeader 3s ease-in-out infinite alternate;
}

@keyframes glowHeader {
  0% { box-shadow: 0 6px 25px rgba(0,0,0,0.12), 0 0 25px rgba(0,255,255,0.2) inset; }
  100% { box-shadow: 0 6px 30px rgba(0,0,0,0.15), 0 0 40px rgba(0,255,255,0.35) inset; }
}


/* ---------------- Sort Section ---------------- */
.sort-section {
  text-align: center;
  margin: 40px 0;
}

.sort-section label {
  font-size: 1rem;
  margin-right: 10px;
  font-weight: 500;
  color: #333;
}

.sort-section select {
  padding: 10px 20px;
  border-radius: 50px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, #bfe8c4, #d9a441);
  color: #333;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2), 0 4px 6px rgba(0,0,0,0.1) inset;
  transition: all 0.4s ease;
  appearance: none;
  position: relative;
}

.sort-section select:hover {
  transform: translateY(-2px) scale(1.03);
  background: linear-gradient(135deg, #d9a441, #bfe8c4);
  box-shadow: 0 12px 25px rgba(0,0,0,0.3), 0 4px 6px rgba(0,0,0,0.1) inset;
}

.sort-section select:focus {
  outline: none;
  box-shadow: 0 12px 25px rgba(0,0,0,0.4), 0 4px 6px rgba(0,0,0,0.1) inset;
}

/* ---------------- Faculty Section ---------------- */
.faculty-section {
  padding: 20px;
  max-width: 1200px;
  margin: auto;
}

.faculty-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 35px;
}

/* ---------------- Faculty Cards ---------------- */
.faculty-card {
  position: relative;
  overflow: hidden;
  border-radius: 25px 10px 25px 10px;
  background: #ffffffdd; /* slightly transparent white */
  box-shadow: 0 10px 30px rgba(0,0,0,0.07);
  border: 1px solid rgba(200,200,200,0.3);
  transition: transform 0.5s ease, box-shadow 0.5s ease, background 0.3s ease;
  cursor: pointer;
}

.faculty-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 18px 45px rgba(0,0,0,0.18);
  background: #fefefe;
}

.faculty-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 70%);
  z-index: 0;
  transform: rotate(0deg);
  animation: rotatePulse 12s linear infinite;
}

@keyframes rotatePulse {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.card-image {
  overflow: hidden;
  border-radius: 20px 0 0 20px;
  border-left: 5px solid #6fcf87;
  margin-bottom: 15px;
}

.card-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
  position: relative;
  z-index: 1;
}

.faculty-card:hover .card-image img {
  transform: scale(1.06) rotate(0.5deg);
  filter: brightness(1.05);
}

.card-content {
  padding: 20px;
  text-align: left;
  position: relative;
  z-index: 2;
  border-top: 3px solid #6fcf87;
}

.card-content h3 {
  font-size: 1.5rem;
  color: #6fcf87;
  margin-bottom: 8px;
}

.card-content p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 8px;
}

/* Gender specific top border */
.faculty-card.boy .card-content { border-top-color: #6fcf87; }
.faculty-card.girl .card-content { border-top-color: #FF7043; }

/* ---------------- Responsive ---------------- */
@media(max-width: 900px) {
  .faculty-container {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media(max-width: 600px) {
  .faculty-container {
    grid-template-columns: 1fr;
  }
}
.footer-bottom a { color:rgba(255,255,255,0.6); text-decoration:none; }
.footer-bottom a:hover { color:#d9a441; }

/* ============================================================
   FOOTER (added — was missing from council.css, causing the
   footer to render unstyled on Student Council & Pictorial pages)
   ============================================================ */

footer {
  background: #142a1c;
  color: #c8e8c4;
  padding: 56px 40px 28px;
  border-top: 1px solid rgba(120, 180, 120, 0.12);
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 32px;
}

.footer-col h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #6fcf87;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(168, 213, 162, 0.2);
  display: inline-block;
}

.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin: 9px 0; }

.footer-col ul li a {
  text-decoration: none;
  color: rgba(200, 232, 196, 0.5);
  font-size: 0.9rem;
  transition: color 0.25s ease;
}

.footer-col ul li a:hover { color: #6fcf87; }

.map-container iframe {
  border-radius: 12px;
  width: 100%;
  min-width: 260px;
  height: 200px;
  border: none;
  opacity: 0.9;
}

.footer-text {
  text-align: center;
  margin-top: 32px;
  color: rgba(168, 213, 162, 0.35);
  font-size: 0.85rem;
  line-height: 1.8;
}

.footer-text strong { color: rgba(168, 213, 162, 0.6); }

/* ---------- Social icons (footer) ---------- */
.social-icons { margin-top: 18px; text-align: center; }
.social-icons a {
  display: inline-block;
  margin: 0 10px;
  font-size: 18px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.7;
}
.social-icons a:hover { transform: scale(1.2); opacity: 1; }
.social-icons a.facebook { color: #1877f2; }
.social-icons a.instagram { color: #E1306C; }

.meet-team-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #d9a441, #b9852f);
  color: #142a1c;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 13px 30px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(217,164,65,0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.meet-team-btn:hover {
  background: linear-gradient(135deg, #6fcf87, #4caf7d);
  color: #142a1c;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(111,207,135,0.4);
}
.footer-bottom { text-align: center; margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.1); }
