/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: #0a192f;
  color: white;
  overflow-x: hidden;
  width: 100%;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 70px;
  background: black;
  display: flex;
  align-items: center;
  justify-content: space-between; /* Better for spacing logo and hamburger */
  padding: 0 40px;
  z-index: 9999;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Circular logo */
.logo {
  width: 42px;
  height: 42px;
  border: 2px solid #00bfff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00bfff;
  position: relative;
  font-weight: 500;
}

.logo .mu { font-size: 22px; }
.logo .alpha {
  font-size: 12px;
  position: relative;
  top: 6px;
  left: -2px;
}

.title { line-height: 1.1; }
.title .main { font-size: 22px; font-weight: 600; }
.title .sub {
  display: block;
  font-size: 12px;
  color: #cccccc;
  margin-top: 2px;
}

/* ===== RIGHT MENU (DESKTOP) ===== */
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  margin-left: auto;
}

.nav-links a {
  text-decoration: none;
  color: #ccc;
  font-size: 14px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #00bfff;
}
.hamburger {
  display: none; /* Hidden on desktop */
  font-size: 32px;
  cursor: pointer;
  color: #00bfff;
  z-index: 10001; /* Higher than navbar and nav-links */
  position: relative;
  pointer-events: auto; /* Ensures it can be clicked */
}
/* ===== SECTIONS ===== */
.section {
  min-height: 100vh; /* Changed from height: 100vh to allow growth */
  padding: 100px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  background: #0a192f;
  border-bottom: 1px solid #222;
  width: 100%;
}

/* ================= FIXED MOBILE & RESIZE RESPONSIVENESS ================= */

/* We use 1024px so you can see the hamburger easily on a laptop resize */
@media (max-width: 1024px) {
    
    .hamburger {
        display: block !important; /* Force it to show */
        font-size: 35px;
        cursor: pointer;
        color: #00bfff;
        z-index: 10002;
        position: relative;
    }

    .nav-links {
        display: flex; /* Always flex, but moved off-screen */
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 70px;
        right: -100%; /* Start off-screen */
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 25, 47, 0.98); /* Solid theme color */
        backdrop-filter: blur(15px);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 10001;
        gap: 25px;
    }

    /* Slid-in state */
    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        font-size: 22px;
        color: white;
        display: block;
        padding: 15px;
        width: 100%;
    }

    /* Smaller Title for Mobile */
    .title .main {
        font-size: 18px;
    }
    
    .logo {
        width: 35px;
        height: 35px;
    }
}



/* ===== HOME SECTION GLASS BOX ===== */
.home-container {
    max-width: 900px;
    width: 90%;
    padding: 60px 40px;
    /* Identical glass effect to About container */
    background: rgba(10, 25, 47, 0.7); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    text-align: center;
}

/* Adjusting the Home layout to center the container */
#home.section {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent; /* Ensure Vanta is visible */
}

/* Optional: Style the Register button for better readability */
.register-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    border: 2px solid #00bfff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    color: #00bfff !important; /* Force the cyan color */
}

.register-btn:hover {
    background: #00bfff;
    color: #0a192f !important;
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.4);
}
@media (max-width: 768px) {
    .home-container {
        padding: 40px 20px;
        width: 95%;
    }
    #home h3 {
        font-size: 2.2rem;
    }
}

/* ===== HOME SECTION ENHANCEMENTS ===== */

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 10px;
    background: linear-gradient(to right, #fff, #00bfff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
}

.welcome {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 40px;
    font-weight: 400;
}

/* Info Bar Styling */
.home-details {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(0, 191, 255, 0.2);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.detail-item i {
    font-size: 2rem;
    color: #00bfff;
    filter: drop-shadow(0 0 8px rgba(0, 191, 255, 0.4));
}

.detail-text {
    display: flex;
    flex-direction: column;
}

.detail-text span {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-text strong {
    font-size: 1.3rem;
    color: #fff;
}

.detail-separator {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, rgba(0, 191, 255, 0.5), transparent);
}

.announcement {
    font-size: 0.9rem;
    letter-spacing: 3px;
    color: #00bfff;
    margin-bottom: 10px;
    font-weight: 700;
}

/* Responsive adjustments for the info bar */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .home-details {
        flex-direction: column;
        gap: 20px;
    }
    
    .detail-separator {
        width: 80%;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(0, 191, 255, 0.5), transparent);
    }

    .detail-item {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 8px;
    }
}




/* Adjust Team and News Grids for smaller screens */
@media (max-width: 768px) {
    .team-row {
        gap: 20px;
    }
    
    .member {
        width: 150px;
    }
    
    .member img {
        width: 120px;
        height: 120px;
    }

    .news-grid {
        flex-direction: column;
        gap: 40px;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }
}
/* ===== VANTA BACKGROUND ===== */
#vanta-bg {
  position: relative;
  min-height: 100vh;
}

#vanta-bg canvas {
  pointer-events: none;
  position: absolute !important;
  top: 0;
  left: 0;
  z-index: 0;
}

#vanta-bg > * {
  position: relative;
  z-index: 1;
}

#vanta-bg .section {
  background: transparent;
}

#home {
  text-align: center;
}

#home h3 { font-size: 3rem; margin-bottom: 10px; }
#home .welcome { font-size: 1.2rem; margin-bottom: 30px; color: #ddd; }
#home .announcement { font-size: 1rem; color: #ff4d4d; letter-spacing: 2px; }

.iitb { color: #00bfff; font-weight: 500; }

/* Sets all links to a specific shade of blue */
a:link, a:visited {
  color: #f4f4f5; 
}

/* Sets the color to orange on hover and active states */
a:hover, a:active {
  color: rgb(218, 162, 249);
}

/* ===== TEAM SECTION ===== */
.team-section {
  height: auto; /* Allows section to expand for long lists */
  padding: 120px 20px;
}

.team-container {
  max-width: 1200px;
  width: 95%;
  margin: 0 auto;
  padding: 60px 20px;
  background: rgba(10, 25, 47, 0.7); /* Consistent Glass BG */
  backdrop-filter: blur(12px);
  border-radius: 20px;
  border: 1px solid rgba(0, 191, 255, 0.2);
}

.team-main-title {
  font-size: 2.5rem;
  color: #00bfff;
  margin-bottom: 50px;
  text-align: center;
  text-transform: uppercase;
}

/* ===== TEAM SECTION CONTAINER ===== */
.team-section {
  padding: 100px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent; /* Let Vanta show through */
}

/* This creates the card look similar to your Eligibility section */
.team-card-wrapper {
  max-width: 900px; /* Reduced width to force more rows */
  width: 100%;
  padding: 60px 40px;
  background: rgba(10, 25, 47, 0.85); /* Dark navy matching eligibility */
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(0, 191, 255, 0.3); /* Cyan border glow */
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  margin: 0 auto;
}

.team-main-title {
  font-size: 2.5rem;
  color: #00bfff;
  margin-bottom: 50px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 3px;
}

/* ===== GROUPING & ROWS ===== */
.team-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 60px;
  width: 100%;
}

.team-title {
  color: #ff4d4d; /* Red Title */
  text-align: center;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(255, 77, 77, 0.3);
  padding-bottom: 10px;
}

.team-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px; /* Increased gap for better spacing in compact view */
}

/* ===== MEMBER STYLES (CIRCULAR) ===== */
.member {
  width: 180px; 
  text-align: center;
  transition: transform 0.3s ease;
}

.member:hover {
  transform: translateY(-10px);
}

.member img {
  width: 150px;
  height: 150px;
  border-radius: 50%; /* Reverted to circular */
  border: 2px solid #00bfff;
  margin-bottom: 15px;
  object-fit: cover;
  background: #0a192f;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
}

/* Special styling for Heads/OCs */
.member.head img { 
  border-color: #ff4d4d; 
  width: 170px; 
  height: 170px; 
}

.member.oc img { 
  border-color: #fff04d; 
  width: 170px; 
  height: 170px; 
}

.member .name { 
  font-size: 1.1rem; 
  font-weight: 600; 
  color: #fff; 
  margin-top: 5px;
  display: block;
}

.member .role { 
  font-size: 0.9rem; 
  color: #00bfff; 
  text-transform: uppercase;
  letter-spacing: 1px;
}
/* ===== ELIGIBILITY SECTION ===== */
.eligibility-section {
  padding: 100px 20px;
}

.eligibility-card {
  width: 95%;
  max-width: 900px;
  padding: 50px;
  /* Matching the Glass Effect from About/News */
  background: rgba(10, 25, 47, 0.75); 
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 191, 255, 0.2); /* Subtle blue border to match theme */
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  margin: 0 auto;
}

.eligibility-title { 
  font-size: 32px; 
  margin-bottom: 35px; 
  text-align: center; 
  color: #fff;
  font-weight: 600;
}

.eligibility-list { 
  list-style: none; 
  display: flex; 
  flex-direction: column; 
  gap: 22px; 
}

.eligibility-list li { 
  display: flex; 
  gap: 18px; 
  font-size: 1.1rem; 
  line-height: 1.6; 
  color: #e0e0e0;
  align-items: flex-start;
}

/* Icon styling for the list */
.eligibility-list .icon {
  color: #00bfff; /* Your theme blue */
  font-size: 1.2rem;
  margin-top: 4px;
}

.eligibility-note { 
  margin-top: 30px; 
  font-size: 14px; 
  color: #cbd5e0; 
  font-style: italic;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
}

/* Responsive fix for Eligibility Card */
@media (max-width: 768px) {
  .eligibility-card {
    padding: 30px 20px;
  }
  
  .eligibility-title {
    font-size: 26px;
  }
  
  .eligibility-list li {
    font-size: 1rem;
  }
}
/* ===== ABOUT SECTION ENHANCEMENTS ===== */
.about-section {
  height: auto;
  min-height: 100vh;
  padding: 120px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-container {
  max-width: 1100px;
  width: 95%;
  padding: 50px;
  /* The Glass Effect */
  background: rgba(10, 25, 47, 0.7); 
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.about-main-title {
  font-size: 3rem;
  margin-bottom: 10px;
  color: #fff;
}

.about-tagline {
  font-size: 1.1rem;
  color: #00bfff; /* Using your theme blue for the sub-header */
  margin-bottom: 40px;
  font-weight: 500;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
  text-align: left;
}

/* Ensure images don't look washed out against the blur */
.about-image svg {
  width: 100%;
  max-width: 350px;
  filter: drop-shadow(0 0 15px rgba(0, 191, 255, 0.4));
}
.about-text {
  flex: 1.2;
  display: flex;
    flex-direction: column;
    align-items: center; /* This centers the left-aligned list block */
    text-align: center;
}

.about-text p {
  font-size: 1rem;
  color: #e0e0e0;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* ===== UPDATED ABOUT FEATURES ===== */
.about-features {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: inline-block; /* Keeps the list container as wide as the longest item */
    text-align: left;      /* Aligns text and bullets to the left inside the container */
}

.about-text {
    text-align: center;    /* Keeps the paragraph text centered */
}

.about-features li {
    display: flex;
    align-items: flex-start; /* Keeps bullet at the top if text wraps */
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1rem;
    color: #ccc;
}

.about-features .bullet {
    color: #00bfff;
    font-size: 0.9rem;
    flex-shrink: 0;        /* Prevents the bullet from squishing on small screens */
    margin-top: 4px;       /* Aligns bullet vertically with the first line of text */
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }
  
  .about-features li {
    justify-content: center;
  }

  .about-image svg {
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .about-main-title { font-size: 2.2rem; }
  .about-tagline { font-size: 1rem; }
}



/* ===== NEWS SECTION ENHANCEMENTS ===== */
/* ===== NEWS SECTION IMPROVEMENTS ===== */

/* ================= NEWS PAGE COMPACT STYLING ================= */
/* ================= NEWS SECTION (INTEGRATED) ================= */
.news-section {
    padding: 100px 20px; /* More vertical breathing room */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh; 
    position: relative;
    z-index: 2;
}

.news-container {
    max-width: 1100px; /* Increased from 720px for a wide, cinematic look */
    width: 100%;
    padding: 60px 40px; /* Significantly more internal padding */
    background: rgba(10, 25, 47, 0.75); 
    backdrop-filter: blur(15px); /* Stronger blur for better readability */
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px; /* Softer, larger corners */
    border: 1px solid rgba(0, 191, 255, 0.4);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
}

.news-title {
    font-size: 1.8rem;
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
    border-bottom: 2px solid #00bfff;
    display: table;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 8px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 15px;
    align-items: start;
}

.news-item {
    text-align: center;
    padding: 5px;
}

.news-icon {
    font-size: 2.5rem !important;
    color: #00bfff;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.news-item:hover .news-icon {
    transform: translateY(-3px); /* Subtle lift on hover */
}

.news-bold {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-top: 5px;
}

.news-sub {
    display: block;
    font-size: 0.8rem;
    color: #bbb;
    line-height: 1.3;
}

/* --- REFINED LINKS (Brochure & Syllabus) --- */

.news-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: opacity 0.3s ease;
}

.news-link:hover {
    opacity: 0.8;
}

.news-label {
    font-weight: 700;
    font-size: 0.9rem; 
    margin-top: 8px;
    color: #fff;
}

/* --- RESPONSIVE ADJUSTMENTS --- */

@media (max-width: 768px) {
    .news-section {
        padding: 60px 15px;
    }

    .news-container {
        padding: 20px;
        width: 95%;
    }
  
    .news-grid {
        grid-template-columns: repeat(2, 1fr); 
        gap: 25px;
    }
    
    .news-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
/* Container for the single line timing */
.schedule-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Individual info blocks */
.time-block {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.time-block i {
  color: #00d4ff; /* Accent color for icons */
  font-size: 0.75rem;
}

/* The vertical separator | */
.inline-divider {
  color: rgba(255, 255, 255, 0.3);
  font-weight: 300;
  font-size: 1rem;
}

/* Ensure the news item can expand width if needed */
.schedule-wide {
  min-width: 280px;
}

/* Mobile responsiveness: stack them if the screen is too small */
@media (max-width: 480px) {
  .schedule-inline {
    flex-direction: column;
    gap: 4px;
  }
  .inline-divider {
    display: none; /* Hide separator on mobile */
  }
}


/* ===== CONTACT SECTION GLASS STYLE ===== */
.contact-section {
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}

.contact-container {
  max-width: 1100px;
  width: 95%;
  padding: 50px;
  /* EXACT MATCH TO ABOUT SECTION BG */
  background: rgba(10, 25, 47, 0.75); 
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 191, 255, 0.2);
  border-radius: 20px;
  color: white;
}

.contact-main-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #00bfff;
}

.contact-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  text-align: left;
}

.contact-large {
  font-size: 1.2rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.contact-text {
  font-size: 1.2rem;

  color: #ccc;
  margin-bottom: 20px;
}

.contact-hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 20px 0;
}

.contact-list {
  list-style: none;
  padding: 0;
    font-size: 1.2rem;

}

.contact-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-list i { color: #00bfff; }
.contact-list a { color: #00bfff; text-decoration: none; }

.social-links {
  margin-top: 25px;
  display: flex;
  gap: 20px;
}

.social-icon i {
  font-size: 1.8rem;
  color: white;
  transition: color 0.3s;
}

.social-icon i:hover { color: #00bfff; }

/* Map Styling */
.contact-map-box { text-align: center; }
.map-title { font-size: 1.3rem; margin-bottom: 10px; }
.map-hr { width: 50%; margin: 10px auto 20px auto; border-top: 1px solid #ff4d4d; }


.google-map {
  width: 100%;
  height: 300px;
  border-radius: 10px;
  /* Removed the grayscale and invert filters */
  border: 2px solid rgba(0, 191, 255, 0.3); /* Optional: adds a subtle blue glow */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Subfooter */
.subfooter {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
  color: #888;
}

.subfooter a { color: #00bfff; text-decoration: none; font-size: 0.8rem; }

/* Mobile Responsive */
@media (max-width: 768px) {
  .contact-content-grid { grid-template-columns: 1fr; text-align: center; }
  .contact-list li { justify-content: center; }
  .social-links { justify-content: center; }
}



/* ===== GALLERY STYLE ===== */
.gallery-section {
  position: relative;
  padding: 60px 20px;
  background: transparent;
  color: white;
  z-index: 1;
}

.gallery-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(10, 25, 47, 0.75);  /* dark overlay */
  z-index: -1;
}

.gallery-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 10px;
}

.gallery-quote {
  text-align: center;
  font-style: italic;
  font-size: 1rem;
  margin-bottom: 20px;
}

.gallery-filters {
  text-align: center;
  margin-bottom: 30px;
}

.filter-btn {
  background: transparent;
  border: 2px solid white;
  color: white;
  padding: 10px 20px;
  margin: 0 10px;
  cursor: pointer;
  transition: 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
  background: white;
  color: #001f4d;
}


/* ===== UPDATED GALLERY STYLE ===== */
.gallery-section {
    position: relative;
    padding: 80px 20px;
    background: transparent;
    color: white;
    z-index: 1;
    width: 100%;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Responsive Grid */
.gallery-grid {
    display: grid;
    /* auto-fit makes the items expand to fill the row on all screen sizes */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 25px;
    padding: 20px 0;
    justify-content: center;
}

.gallery-item {
    width: 100%;
    background: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, opacity 0.4s ease;
}

.gallery-item img {
    width: 100%;
    height: 200px; /* Fixed height for uniformity */
    object-fit: cover; /* Prevents image stretching */
    display: block;
    cursor: pointer;
}

.gallery-item .overlay {
    padding: 15px;
    text-align: center;
    background: white;
    color: #333; /* Darker text for readability on white background */
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .gallery-title { font-size: 1.8rem; }
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr; /* Single column on small phones */
    }
    .filter-btn {
        padding: 8px 12px;
        margin: 5px;
        font-size: 0.8rem;
    }
}

#toppersMessage {
  width: 100%;
  max-width: 1000px;
  margin: 40px auto;
  padding: 80px 20px;
  background: rgba(10, 25, 47, 0.8);
  border: 2px dashed #00bfff;
  border-radius: 15px;
  text-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}


/* Global blue shadow for all major UI cards */
.home-container,
.news-container, 
.eligibility-card, 
.team-card-wrapper, 
.about-container,
.contact-container {
    box-shadow: 0 15px 35px rgba(41, 157, 196, 0.3) !important;
    border: 1px solid rgba(0, 191, 255, 0.5); /* Boosts the glow effect */
}



/* PYQ SECTION */
/* ================= PYQ SECTION STYLES ================= */
.pyq-section {
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.pyq-container {
    max-width: 900px;
    width: 100%;
    text-align: center;
}

.pyq-title {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.pyq-subtitle {
    color: #ccc;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.pyq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.pyq-card {
    background: rgba(10, 25, 47, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 191, 255, 0.3);
    border-radius: 15px;
    padding: 40px 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 15px 35px rgba(0, 191, 255, 0.1);
}

.pyq-card:hover {
    transform: translateY(-10px);
    border-color: #00bfff;
    box-shadow: 0 15px 35px rgba(0, 191, 255, 0.4); /* Your custom blue shadow */
}

.pyq-icon {
    font-size: 3rem;
    color: #00bfff;
    margin-bottom: 20px;
}

.pyq-card h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.pyq-card p {
    color: #bbb;
    margin-bottom: 20px;
}

.download-btn {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid #00bfff;
    color: #00bfff;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.pyq-card:hover .download-btn {
    background: #00bfff;
    color: #0a192f;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .pyq-grid {
        grid-template-columns: 1fr;
    }
}



/* Results Container Styling */
.results-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.level-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    width: 280px;
}

.level-box h4 {
    color: #00d2ff;
    margin-bottom: 15px;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.action-btn {
    text-decoration: none;
    color: white;
    font-size: 0.9rem;
    padding: 10px 15px;
    border: 1px solid #00d2ff;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.action-btn:hover {
    background: #00d2ff;
    color: #000;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.5);
}

.solution-btn {
    border-color: #32ff7e; /* Light green for solutions */
}

.solution-btn:hover {
    background: #32ff7e;
    border-color: #32ff7e;
    box-shadow: 0 0 15px rgba(50, 255, 126, 0.5);
}