/* ===========================
   INFRASTRUCTURE / CLASSROOM /
   LIBRARY / LAB / SPORTS - CLEANED
   (Kept original visual properties â€” only deduped & reorganized)
   =========================== */

/* --------------- INFRASTRUCTURE --------------- */
/* --- Infrastructure Section Styling --- */
/* --- SECTION WRAPPER --- */
.infrastructure-section {
  background: radial-gradient(circle at center, #0a1128 0%, #000510 100%) !important;
  padding: 80px 20px;
  font-family: Georgia, 'Times New Roman', Times, serif;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

/* Home Page Admission CSS*/

.admission-section {
  background: linear-gradient(135deg, #1e3c72, #2a5298, #6dd5ed);
  padding: 60px 20px;
  text-align: center;
  color: #fff;
  font-family: 'Nunito', sans-serif;
}

.admission-container h2 {
  font-size: 34px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.admission-container p {
  font-size: 17px;
  margin-bottom: 25px;
  opacity: 0.95;
}

.admission-btn {
  display: inline-block;
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 30px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.3);
  transition: 0.3s ease;
}

.admission-btn:hover {
  background: #ffffff;
  color: #1e3c72;
}

/*Faculty Vacancy */
.vacancy-section {
  background: linear-gradient(135deg, #134e5e, #2c3e50, #4ca1af);
  padding: 60px 20px;
  text-align: center;
  color: #fff;
  font-family: 'Nunito', sans-serif;
}

.vacancy-container h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.vacancy-container p {
  font-size: 16px;
  margin-bottom: 25px;
  opacity: 0.9;
}

.vacancy-btn {
  display: inline-block;
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 30px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.3);
  transition: 0.3s ease;
}

.vacancy-btn:hover {
  background: #ffffff;
  color: #134e5e;
}

.flash-news {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(193, 10, 10, 0.7);
  overflow: hidden;
  white-space: nowrap;
}

.news-track {
  display: flex;
  width: max-content;
  animation: scrollNews 25s linear infinite; /* slower */
}

.news-track {
  display: flex;
}

.news-track a {
  color: #e2eee8 !important;
  margin: 0 50px;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}

.news-track a:visited {
  color: #ffffff !important;   /* 👈 removes purple after click */
}

.news-track a:hover {
  color: #ffd700;
}

@keyframes scrollNews {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.flash-news:hover .news-track {
  animation-play-state: paused;
}

.infrastructure-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 50px;
}

/* --- IMAGE STYLING (NOT TOUCHED) --- */
.infrastructure-image {
  flex: 1 1 400px;
  overflow: hidden;
  border-radius: 20px;
  padding: 10px;
  background: #f0e6ff;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  animation: floatImage 3s ease-in-out infinite;
  border: 4px solid #150341;
  margin-top: 3rem;
}

.infrastructure-image img {
  width: 100%;
  height: 600px;
  display: block;
  border-radius: 15px;
  transition: transform 0.5s ease;
}

.infrastructure-image img:hover {
  transform: scale(1.05);
}

/* --- RIGHT CONTENT: LARGER FONTS --- */
.infrastructure-content {
  flex: 1 1 500px;
  animation: fadeInRight 1.5s ease forwards;
}

.infrastructure-content h2 {
  /* INCREASED: Bold Elite Title */
  font-size: clamp(34px, 4.5vw, 55px); 
  margin-bottom: 25px;
  display: flex;
  flex-wrap: nowrap;
  gap: 15px;
  white-space: nowrap; 
  
  /* Shining Liquid Gold Gradient */
  background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-weight: 900;
  filter: drop-shadow(0 4px 15px rgba(191, 149, 63, 0.4));
}

.infrastructure-content .infra-intro {
  color: #ede9e9 !important;

  /* âœ… RESPONSIVE FONT SIZE */
  font-size: clamp(1rem, 2vw, 1.9rem);

  line-height: 1.8;
  margin-bottom: 30px;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.infrastructure-content .infra-points {
  list-style: none;
  padding: 0;
  margin: 0;
}

.infrastructure-content .infra-points li {
  position: relative;
  /* INCREASED: Point Font Size */
  font-size: 1.2rem; 
  padding-left: 40px;
  margin-bottom: 20px;
  /* Pearl Aqua for the points */
  color: #4ecdc4 !important;
  font-weight: 700;
  transition: transform 0.3s ease;
}

/* Shining Aqua Bullet Points */
.infrastructure-content .infra-points li::before {
  content: "âœ¦"; /* Posh Star Icon */
  position: absolute;
  left: 0;
  color: #fcf6ba; /* Champagne Gold Icon */
  font-size: 1.4rem;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(252, 246, 186, 0.5);
}

.infrastructure-content .infra-points li:hover {
  transform: translateX(10px);
}

/* --- Animations --- */
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes floatImage {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* --- Responsive Adjustments --- */
@media (max-width: 900px) {
  .infrastructure-container {
    flex-direction: column-reverse;
  }
}

@media (max-width: 768px) {
  .infrastructure-content h2 {
    font-size: 2.2rem;
    justify-content: center;
  }
  .infrastructure-content .infra-intro {
    font-size: 1.15rem;
  }
}
/* mv */
/* ============================= */
/* ðŸ’» LARGE SCREENS (DESKTOP) */
/* ============================= */
@media (min-width: 1200px) {
  .infrastructure-container {
    gap: 70px;
  }

  .infrastructure-image img {
    height: 650px;
  }

  .infrastructure-content h2 {
    font-size: 55px;
  }

  .infrastructure-content .infra-intro {
    font-size: 1.6rem;
  }

  .infrastructure-content .infra-points li {
    font-size: 1.25rem;
  }
}


/* ============================= */
/* ðŸ’» NORMAL LAPTOP */
/* ============================= */
@media (max-width: 1199px) {
  .infrastructure-container {
    gap: 40px;
  }

  .infrastructure-image img {
    height: 520px;
  }

  .infrastructure-content h2 {
    font-size: 42px;
  }

  .infrastructure-content .infra-intro {
    font-size: 1.3rem;
  }
}


/* ============================= */
/* ðŸ“± TABLET VIEW */
/* ============================= */
@media (max-width: 900px) {
  .infrastructure-container {
    flex-direction: column-reverse;
    text-align: center;
    gap: 30px;
  }

  .infrastructure-image {
    margin-top: 0;
    width: 100%;
  }

  .infrastructure-image img {
    height: 420px;
    width: 100%;
    object-fit: cover;
  }

  .infrastructure-content h2 {
    justify-content: center;
    font-size: 2.3rem;
    white-space: normal;
  }

  .infrastructure-content .infra-intro {
    font-size: 1.1rem;
  }

  .infrastructure-content .infra-points li {
    font-size: 1.05rem;
    padding-left: 30px;
  }
}


/* ============================= */
/* ðŸ“± MOBILE VIEW */
/* ============================= */
@media (max-width: 600px) {
  .infrastructure-section {
    padding: 60px 15px;
  }

  .infrastructure-container {
    gap: 25px;
  }

  .infrastructure-image {
    padding: 6px;
  }

  .infrastructure-image img {
    height: 400px;
    border-radius: 12px;
  }

  .infrastructure-content h2 {
    font-size: 1.8rem;
    gap: 8px;
  }

  .infrastructure-content .infra-intro {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .infrastructure-content .infra-points li {
    font-size: 0.95rem;
    margin-bottom: 15px;
    padding-left: 25px;
  }

  .infrastructure-content .infra-points li::before {
    font-size: 1.1rem;
  }
}
/* --------------- CLASSROOM --------------- */
.classroom-section {
  padding: 80px 5%;
  /* SHINING GRADIENT: Light Blue (#a6d8e5) to Soft Brown (#4a2c18) with a White glow center */
  background: radial-gradient(
    circle at center, 
    rgba(255, 255, 255, 0.15) 0%,   /* White Shining Center */
    rgba(69, 208, 243, 0.2) 40%,   /* Light Blue Glow */
    #2a1b12 100%                    /* Deep Chocolate Brown Edges */
  ), 
  linear-gradient(135deg, #1a1a1a, #2d1b10) !important;
  
  text-align: center;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  /* METALLIC BRONZE-ORANGE BORDER FOR THE WHOLE SECTION */
  border: 6px solid;
  border-image: linear-gradient(to bottom, #ffb347, #4a2c18, #ffb347) 1;
}

/* --- THE SHINING HEADER (Orange to White) --- */
.shine-title {
  font-size: 55px;
 font-family: Georgia, 'Times New Roman', Times, serif;
  margin-bottom: 15px;
  /* Posh Orange to White Shine */
  background: linear-gradient(90deg, #ffb347, #ffffff, #ffb347, #ffffff);
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shine 3s linear infinite;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
}

@keyframes shine { 
  to { background-position: 200% center; } 
}

.top-info {
  max-width: 800px;
  margin: 0 auto 60px;
  font-size: 18px;
  line-height: 1.8;
  color: #f0e6ff; /* Soft off-white */
  font-weight: 300;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

/* --- CLASSROOM GRID --- */
.classroom-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.classroom-card {
  width: 100%;
  transition: all .4s cubic-bezier(0.165, 0.84, 0.44, 1);
  background: rgba(255, 255, 255, 0.03); /* Glass effect */
  border-radius: 20px;
  padding-bottom: 20px;
  /* SHINING CARD BORDER (Light Blue & Orange) */
  border: 1px solid rgba(166, 216, 229, 0.3);
}

.classroom-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 20px 20px 0 0;
  /* Sharp HD Image feel */
  filter: contrast(1.1) brightness(1.05);
  transition: all .5s ease;
}

.classroom-card h3 { 
  margin-top: 20px; 
  font-size: 22px; 
  color: #ffb347; /* Bright Posh Orange */
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-weight: 700;
}

.classroom-card p { 
  font-size: 15px; 
  color: #a6d8e5; /* Light Blue Subtext */
  padding: 0 15px;
  margin-top: 10px; 
  line-height: 1.6; 
  font-family: Georgia, 'Times New Roman', Times, serif;
}

/* --- POSH HOVER EFFECTS --- */
.classroom-card:hover { 
  transform: translateY(-15px); 
  background: rgba(255, 255, 255, 0.08);
  /* Border shines Orange on hover */
  border: 1px solid #ffb347; 
  box-shadow: 0 20px 40px rgba(255, 179, 71, 0.2);
}

.classroom-card:hover img { 
  filter: contrast(1.2);
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 1024px) {
  .classroom-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 650px) {
  .classroom-row { grid-template-columns: 1fr; }
  .shine-title { font-size: 38px; }
  .classroom-section { border-width: 3px; }
}

/* --------------- LIBRARY --------------- */
/* --- LIBRARY MAIN: Keeping your exact Midnight Navy BG --- */
.library-main {
  padding: 80px 5%;
  background: radial-gradient(circle at center, #1a2456 100%) !important;
  overflow-x: hidden;
  box-sizing: border-box;
  color: #ffffff;
  display: flex;
  align-items: center; 
  min-height: 80vh;
}

.library-wrapper {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr; 
  gap: 60px;
  align-items: center; 
  width: 100%;
}

/* --- TITLE: Radiant Platinum & Chrome Mix --- */
.library-content h1 {
  font-size: clamp(3rem, 5vw, 4.5rem); 
  font-family: Georgia, 'Times New Roman', Times, serif;
  /* NEW COLOR MIX: High-Gloss Platinum Silver to White */
  background: linear-gradient(90deg, #cfd9df, #e2ebf0, #ffffff, #e2ebf0, #cfd9df);
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: metallicShine 4s linear infinite;
  margin-bottom: 25px;
  font-weight: 900;
  line-height: 1.1;
  filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.2));
}

@keyframes metallicShine {
  to { background-position: 200% center; }
}

/* Elegant Underline */
.library-content h1::after {
  content: ""; 
  width: 120px; 
  height: 5px;
  /* NEW COLOR: Platinum to Warm Amber */
  background: linear-gradient(to right, #ffffff, #f59e0b);
  display: block; 
  margin-top: 15px; 
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

.library-description {
  font-size: 20px; /* Increased for better visibility */
  line-height: 1.9; 
  /* NEW COLOR: Pure Crystal White for ultimate sharpness */
  color: #f8fafc !important; 
  margin-bottom: 35px;
  font-family: Georgia, 'Times New Roman', Times, serif;
  letter-spacing: 0.3px;
}

/* Feature list: Warm Amber & Platinum */
.library-features p { 
  font-size: 19px; /* Slightly larger */
  margin: 15px 0; 
  /* NEW COLOR: Warm Amber (Vibrant and distinct) */
  color: #fbbf24 !important;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 15px;
 font-family: Georgia, 'Times New Roman', Times, serif;
  transition: transform 0.3s ease;
}

.library-features p:hover {
  transform: translateX(12px);
  color: #ffffff !important;
}

/* Gold Diamond Bullet */
.library-features p::before {
  /* content: "âœ¦"; */
  color: #ffffff; /* Platinum Bullet */
  font-size: 18px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* --- IMAGE PART (KEPT EXACTLY THE SAME) --- */
.library-media {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  grid-auto-rows: 280px;
}

.media-card {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  transition: all .5s ease;
  border: 1px solid rgba(14, 165, 233, 0.3);
  background: #0f172a;
}

.media-card img, .media-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.1) brightness(0.95);
  transition: transform 1s ease;
}

.media-card:hover { 
  transform: translateY(-10px); 
  border-color: #fcf6ba; 
  box-shadow: 0 30px 60px rgba(0,0,0,0.7);
}

.media-card:hover img, .media-card:hover video { 
  transform: scale(1.1);
  filter: brightness(1.1) contrast(1.15);
}

.library-media .media-card:nth-child(3) {
  grid-column: span 2;
  height: 320px;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .library-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .library-content h1::after { margin: 15px auto; }
  .library-features p { justify-content: center; }
  .library-content h1 { font-size: 2.8rem; }
  .library-description { font-size: 18px; }
}
/* mobile view */
/* ============================= */
/* ===== RESPONSIVE VIEWS ===== */
/* ============================= */


/* -------- PC (DEFAULT - already yours) -------- */
/* No changes needed */


/* -------- TABLET VIEW -------- */
@media (max-width: 1024px) {

  .library-main {
    padding: 70px 5%;
    min-height: auto;
  }

  .library-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .library-content h1 {
    font-size: 2.8rem;
  }

  .library-content h1::after {
    margin: 15px auto;
  }

  .library-description {
    font-size: 18px;
  }

  .library-features p {
    justify-content: center;
    font-size: 17px;
  }

  .library-media {
    grid-auto-rows: 240px;
    gap: 15px;
  }

  .library-media .media-card:nth-child(3) {
    height: 260px;
  }
}


/* -------- MOBILE VIEW -------- */
@media (max-width: 768px) {

  .library-main {
    padding: 60px 5%;
  }

  .library-content h1 {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .library-description {
    font-size: 16px;
    line-height: 1.7;
  }

  .library-features p {
    font-size: 16px;
    gap: 10px;
  }

  .library-media {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .library-media .media-card:nth-child(3) {
    grid-column: span 1;
    height: 240px;
  }
}


/* -------- SMALL MOBILE -------- */
@media (max-width: 480px) {

  .library-main {
    padding: 50px 4%;
  }

  .library-content h1 {
    font-size: 1.8rem;
  }

  .library-description {
    font-size: 15px;
  }

  .library-features p {
    font-size: 14px;
  }

  .library-media {
    grid-auto-rows: 200px;
  }

  .library-media .media-card:nth-child(3) {
    height: 220px;
  }
}
/* --------------- LAB --------------- *//* 1. SECTION */
/* --- GLOBAL & SECTION STYLES --- */
/* --- GLOBAL & SECTION STYLES --- */
.lab-section {
  padding: 100px 6%;
  background: linear-gradient(135deg, #004454, #2d3748); 
  text-align: center;
  font-family: "Poppins", sans-serif;
}

/* --- HEADER --- */
.lab-header { 
  max-width: 1100px; 
  margin: 0 auto 30px; 
  padding: 0 2%; 
}

.lab-header h2 {
  font-size: 52px;
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
  
}

.lab-header h2::after {
  content: "";
  width: 70%;
  height: 5px;
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
  position: absolute;
  left: 15%;
  bottom: -10px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

.lab-header p {
  font-size: 23px!important;
  color: #e2e8f0;
  line-height: 1.8;
  font-family: Georgia, 'Times New Roman', Times, serif;
  margin-bottom: 70px;
}

/* --- GRID SYSTEM --- */
.lab-container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 34px;
}

/* --- INDIVIDUAL CARDS --- */
.lab-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  transition: all .4s ease;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
}

.lab-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 40px 90px rgba(0,0,0,0.3);
}

.lab-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform .6s ease;
}

.card-info {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.lab-card h3 {
 font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 1.4rem;
  color: #072019; 
  margin-bottom: 8px;
}

.lab-card span {
font-family: Georgia, 'Times New Roman', Times, serif;
  color: #0058a1; 
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- CARD BUTTON --- */
.lab-btn {
  margin-top: auto;
  padding: 14px;
  background: linear-gradient(45deg, #0d9488, #059669);
  color: #fff !important;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(5, 150, 105, 0.2);
}

.lab-btn:hover {
  background: linear-gradient(45deg, #fbbf24, #f59e0b);
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}

/* --- POPUP OVERLAY (HD GLASS EFFECT) --- */
.lab-popup {
  position: fixed;
  inset: 0;
  background: rgba(4, 15, 12, 0.94); 
  display: none;
  z-index: 10000;
  padding: 40px 20px;
  overflow-y: auto; /* âœ… Full popup scroll */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

/* Activate popup */
.lab-popup:target {
  display: block;
}

/* Background click area */
.popup-overlay {
  position: fixed;
  inset: 0;
  cursor: default;
}

/* --- POPUP CONTENT BOX --- */
.popup-box {
  background: linear-gradient(145deg, #ffffff, #f1f8f5);
  width: 95%;
  max-width: 1150px; 
  margin: 60px auto; /* âœ… Proper center + spacing */
  border-radius: 40px;
  padding: 60px;
  position: relative;

  /* Removed height restriction for natural scroll */
  
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), 
              inset 0 0 20px rgba(6, 78, 59, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 25px;
  right: 35px;
  font-size: 45px;
  color: #064e3b;
  text-decoration: none;
  z-index: 10;
  transition: transform 0.4s ease, color 0.3s;
}

.close-btn:hover {
  color: #b45309;
  transform: rotate(90deg) scale(1.1);
}

/* Titles */
.popup-main-title {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 3.4rem;
  font-weight: 900;
  color: #064e3b;
  margin-bottom: 35px;
  text-align: center;
  text-transform: uppercase;
}

/* Gallery */
.popup-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.pop-img {
  width: 100%;
  height: 350px; 
  object-fit: cover;
  border-radius: 24px;
  border: 5px solid #ffffff;
  box-shadow: 0 20px 45px rgba(0,0,0,0.15);
  transition: all 0.5s ease;
}

.pop-img:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 35px 70px rgba(0,0,0,0.25);
  border-color: #064e3b;
}

/* Text */
.popup-text {
  max-width: 850px;
  margin: 0 auto;
}

.popup-intro {
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-size: 1.4rem;
  font-style: italic;
  color: #334155;
  line-height: 2;
  margin-bottom: 35px;
  text-align: center;
}

/* Tag list */
.popup-list {
  list-style: none;
  padding: 0;
  margin-bottom: 45px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.popup-list li {
  font-family: Georgia, 'Times New Roman', Times, serif;
  padding: 12px 28px;
  color: #064e3b;
  background: rgba(6, 78, 59, 0.06);
  border-radius: 50px;
  border: 1px solid rgba(6, 78, 59, 0.12);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 1.5px;
}

.popup-list li:hover {
  background: #064e3b;
  color: #fff;
}

.popup-list li::before {
  content: "âœ¦";
  color: #b45309; 
  margin-right: 10px;
}

/* Button */
.popup-close-action {
  display: inline-block;
  padding: 18px 55px;
  background: #064e3b;
  color: #ffffff;
  text-decoration: none;
  border-radius: 100px;
  font-weight: 700;
  letter-spacing: 3px;
}

.popup-close-action:hover {
  background: #b45309;
  transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 1024px) {
  .popup-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .popup-main-title { font-size: 2.8rem; }
}

@media (max-width: 768px) {
  .popup-box { padding: 40px 20px; border-radius: 30px; }
  .popup-gallery-grid { grid-template-columns: 1fr; }
  .pop-img { height: 260px; }
  .popup-main-title { font-size: 2.2rem; }
  .popup-intro { font-size: 1.15rem; }
}
/* ====================audi */
/* 1. FONT IMPORT */
/* ======= 1. SECTION BASE (Wide & Posh) ======= */
/* ======= 1. SECTION BASE (Professional Deep Blue) ======= */
.auditorium-section {
  padding: 80px 0; 
  /* PROFESSIONAL BLUE MIX: Midnight Navy to Deep Azure */
  background: radial-gradient(
    circle at center, 
    #1e293b 0%,    /* Deep Slate Blue */
    #0b1a3e 50%,   /* Midnight Navy */
    #020a2f 100%   /* Obsidian Black-Blue */
  ) !important;
 font-family: Georgia, 'Times New Roman', Times, serif;
  overflow: hidden;
  text-align: center;
}

/* ======= 2. PREMIUM HEADER STYLING ======= */
.auditorium-header {
  max-width: 1200px;
  margin: 0 auto 50px;
  padding: 0 5%;
}

.auditorium-header h1 {
  font-size: 52px;
  font-family: Georgia, 'Times New Roman', Times, serif;
  /* Metallic Silver & Sky Blue Shine (Pops against dark blue) */
  background: linear-gradient(90deg, #e2e8f0, #0ea5e9, #ffffff, #047ab1, #e2e8f0);
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shineHeader 4s linear infinite;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 25px;
}

@keyframes shineHeader {
  to { background-position: 200% center; }
}

.auditorium-point {
  /* FORCE SIZE: Overrides any other conflicting styles */
  font-size: 24px !important; 
  
  /* PREMIUM COLOR: Slate-Silver with high readability */
  color: #f6f8fa !important; 
  
  line-height: 1.6;
  margin: 15px 0;
  font-weight: 400;
  
  /* PERFECT ALIGNMENT */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  
  /* ELEGANT SERIF: Matches the academic school theme */
  font-family: Georgia, 'Times New Roman', Times, serif;
  letter-spacing: 0.3px;
}

/* Optional: Make the bullet points (the dots) a different color to pop */
.auditorium-point::before {
  /* content: "â€¢"; */
  color: #f0f2f3; /* Light Sky Blue for eye-catchy accent */
  font-weight: bold;
  font-size: 24px;
}

/* ======= 3. BIGGER HD GALLERY GRID ======= */
.auditorium-gallery {
  max-width: 1600px; 
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 30px;
  padding: 0 4%;
}

.auditorium-card {
  position: relative;
  height: 480px; /* Kept the Bigger Size */
  border-radius: 24px;
  overflow: hidden;
  /* Shining Sky-Blue Border */
  border: 1px solid rgba(14, 165, 233, 0.3);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  background: #1e293b; /* Fallback for HD feel */
}

.auditorium-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* HD Image Sharpness */
  filter: contrast(1.1) brightness(0.9);
  transition: transform 1.2s ease, filter 0.6s ease;
}

/* ======= 4. STYLISH OVERLAY ======= */
.auditorium-card .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  
  /* PERFECT CENTERING: Flexbox Alignment */
  display: flex;
  align-items: center;    /* Vertical center */
  justify-content: center; /* Horizontal center */
  text-align: center;
  
  /* REFINED SIZE: Height adjusted for professional look */
  height: 60px;           /* Gives enough room for the text to breathe */
  padding: 10px 20px;
  
  /* DARK HD GRADIENT: Deep Midnight Blue */
  background: linear-gradient(to top, #0f172a 0%, #1e3a8a 100%);
  
  color: #ffffff;
  font-size: 22px;        /* Slightly adjusted for premium fit */
  font-weight: 600;
  letter-spacing: 0.5px;
  font-family: Georgia, 'Times New Roman', Times, serif;
  
  /* ANIMATION: Slides up from bottom on hover */
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

/* Ensure the overlay shows up when hovering over the card */
.auditorium-card:hover .overlay {
  transform: translateY(0);
}

/* ======= 5. INTERACTIVE HOVER EFFECTS ======= */
.auditorium-card:hover {
  transform: translateY(-15px) scale(1.02);
  border-color: #020a0e; 
  box-shadow: 0 40px 80px rgba(14, 165, 233, 0.3);
}

.auditorium-card:hover img {
  transform: scale(1.1);
  filter: contrast(1.1) brightness(1.1); /* HD Pop */
}

.auditorium-card:hover .overlay {
  transform: translateY(0);
}

/* ======= 6. MOBILE RESPONSIVE ======= */
@media (max-width: 1024px) {
  .auditorium-gallery { grid-template-columns: 1fr; }
  .auditorium-card { height: 380px; }
  .auditorium-header h1 { font-size: 38px; }
}
/* --------------- SPORTS --------------- */
/* 1. Section & Centered Heading */
/* 1. SECTION BASE (Reduced Top/Bottom Spacing) */
.sports-section {
  width: 100%;
  background: linear-gradient(135deg, #4f81b4 0%, #e2e8f0 50%, #7b7fe4 100%) !important;
  padding: 10px 0 40px; /* Shaved top (10px) and bottom (40px) */
 font-family: Georgia, 'Times New Roman', Times, serif;
  position: relative;
}

/* 2. THE PAGE TITLE (Reduced Vertical Margin) */
.page-title {
  width: 100%;
  text-align: center; 
  margin: 0;
  padding: 20px 0 10px; /* Reduced padding significantly */
  font-size: 50px;
  font-weight: 900;
  background: linear-gradient(90deg, #0f172a, #334155, #0f172a);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: metallicShine 5s linear infinite;
  text-transform: uppercase;
  letter-spacing: -1px;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

@keyframes metallicShine { to { background-position: 200% center; } }

/* 3. THE CONTAINER (Tighter Grid Gaps) */
.sports-container {
  max-width: 1550px;
  margin: 0 auto;
  display: grid !important; 
  grid-template-columns: repeat(3, 1fr);
  column-gap: 25px; /* Reduced from 45px for less space "in-between" */
  row-gap: 30px !important; /* Reduced from 100px to remove vertical gap */
  padding: 10px 5% 20px; /* Tighter internal padding */
  box-sizing: border-box;
}

/* 4. THE POSH CARD */
.premium-card {
  background: #ffffff;
  border-radius: 24px; /* Slightly tighter radius for smaller cards */
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(15, 23, 42, 0.1); 
  padding: 8px; /* Reduced from 12px */
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.premium-card:hover {
  transform: translateY(-8px); /* Subtle lift */
  border-color: #0f172a; 
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.12);
}

/* 5. VISUALS (Tall HD Height) */
.card-visual {
  height: 280px; 
  overflow: hidden;
  position: relative;
  border-radius: 18px;
  background: #0f172a;
}

.card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}

/* 6. CONTENT DETAILS (Compact Padding) */
.card-details {
  padding: 12px 8px 8px; /* Reduced spacing around text */
}

.card-details h3 {
  font-size: 20px;
  margin-bottom: 4px;
  color: #0f172a;
  text-transform: uppercase;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.card-details p {
  font-size: 14px;
  color: #475569;
  line-height: 1.4; /* Tighter line height */
}

/* 7. VIEW GALLERY BUTTON - RIGHT ALIGNED */
.gallery-footer {
  max-width: 1550px;
  margin: 15px auto 0; /* Reduced top margin */
  padding: 0 5%;
  display: flex;
  justify-content: flex-end; 
}

.small-gallery-btn {
  display: inline-block;
  padding: 14px 45px; /* Slightly smaller button */
  background: #0f172a;
  color: #ffffff;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 3px;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.4s ease;
}

/* Responsive Cleanup */
@media (max-width: 768px) {
  .sports-container { grid-template-columns: 1fr; row-gap: 20px !important; }
  .page-title { font-size: 34px; padding: 15px 0 5px; }
}
/* library head */
/* ===== H3 HEADING (PURPLE METALLIC STYLE) ===== */
h3.read-lead-title {
    font-family: 'Georgia', serif;
    font-size: 28px;
    font-weight: 800;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;

    /* ROYAL PURPLE & AMETHYST GRADIENT */
    background: linear-gradient(90deg, hsl(0, 0%, 100%), #b19cd9, #eeecef);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    
    /* SOFT METALLIC SHINE ANIMATION */
    animation: purpleShine 4s linear infinite;
    
    /* HD DEPTH */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

@keyframes purpleShine {
    to { background-position: 200% center; }
}