body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  color: #222;
}


/********** Notice Board and Upcoming Events CSS Starts **********/


/********** Notice Board and Upcoming Events CSS Ends **********/
/********** Team Section (Dark Theme) **********/

/* Section Wrapper */
#team-section-wrapper {
  padding: 50px 20px;
  background-color: #000; /* black background */
  text-align: center;
}

/* Main Heading */
.team-section h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #FFD700; /* golden */
}

/* Subheading (Role) */
.team-role h2 {
  font-size: 1.8rem;
  color: #FFD700; /* golden */
  margin-bottom: 30px;
  display: inline-block;
  border-bottom: 3px solid #FFD700;
  padding-bottom: 5px;
}

/* Team Grid Container */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  justify-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

/* Individual Member Card */
.team-member {
  width: 250px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background-color: #000;
  border: 2px solid #FFD700;
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: scale(1.05);
}

/* Profile Photo */
.team-photo {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

/* Info at Bottom */
.team-info {
  background-color: #000;
  color: #FFD700;
  padding: 10px;
  text-align: center;
}

.team-info .name {
  font-weight: bold;
  font-size: 1.1rem;
}

.team-info .position {
  font-size: 0.95rem;
  color: #d1d1d1;
  margin-top: 3px;
}

/* Hover Overlay */
.team-hover-info {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(255, 215, 0, 0.9); /* golden */
  color: #111;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.team-member:hover .team-hover-info {
  opacity: 1;
}

/* Description */
.team-hover-info .description {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.team-hover-info .batch {
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 5px;
}

.social-link {
  background: #000;
  color: #FFD700;
  border-radius: 50%;
  padding: 10px;
  font-size: 1.1rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.social-link:hover {
  background: #333;
  color: #fff;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  .team-grid {
    gap: 25px;
  }

  .team-member {
    width: 220px;
  }
}

@media screen and (max-width: 768px) {
  .team-grid {
    flex-direction: column;
    align-items: center;
  }

  .team-member {
    width: 80%;
    max-width: 300px;
  }
}


/****************ABOUT US ************/
/* MAIN LAYOUT */
.who-we-are-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 3rem 1.5rem;
  background-color: #0f0e0c;
  flex-wrap: wrap;
  color: #f5c842;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* LEFT - Number Counter */
.who-left-count {
  flex: 0.6;
  min-width: 150px;
  text-align: center;
}

.who-left-count h2 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  color: #f5c842;
}

.who-count {
  font-size: 3.5rem;
  font-weight: bold;
  margin: 0.2rem 0;
  color: #ffde59;
  text-shadow: 0 0 10px #f9d42380;
}

.who-left-count p:last-child {
  font-size: 1rem;
  color: #e6d9b0;
}

/* MIDDLE - Description */
.who-middle-description {
  flex: 2.8;
  min-width: 300px;
  padding: 0 1rem;
  color: #e6d9b0;
}

.who-heading {
  font-size: 2rem;
  font-weight: 700;
  color: #f5c842;
  margin-bottom: 0.2rem;
}

.who-underline {
  width: 100px;
  height: 3px;
  background: linear-gradient(to right, #f5c842, #e6b800);
  margin-bottom: 1.2rem;
}

.who-middle-description p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

/* RIGHT - Logo */
.who-logo-box {
  flex: 1.2;
  min-width: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.who-logo-box img {
  max-width: 280px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .who-we-are-main {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1rem;
  }

  .who-middle-description {
    padding: 0;
  }

  .who-count {
    font-size: 2.5rem;
  }

  .who-heading {
    font-size: 1.6rem;
  }

  .who-logo-box img {
    max-width: 200px;
    margin-top: 1.5rem;
  }
}
/* Load Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* Hero Section */
.jgy-welcome-section {
  background: linear-gradient(rgba(13,13,13,0.75), rgba(13,13,13,0.75)), 
              url('/jigyansa/images/homeabout.png') no-repeat center center/cover;
  padding-bottom: 4rem;
  color: #fff;
}

.jgy-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 3rem 3rem 5rem;
  color: #f9f6ee;
  font-family: 'Poppins', sans-serif;
  flex-wrap: wrap;
  gap: 2rem;
}


/* Left content block */
.jgy-hero-content {
  flex: 1.3;
  max-width: 600px;
}

.jgy-hero-content h1 {
  font-size: 2.6rem;
  font-weight: 700;
  color: #ffd700;
  margin-bottom: 1.2rem;
}

.jgy-hero-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #f5f5f5;
  margin-bottom: 2rem;
}

/* CTA Button */
.jgy-btn-yellow {
  display: inline-block;
  background: linear-gradient(135deg, #ffd700, #f4c10f);
  color: #111;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.jgy-btn-yellow:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(255, 215, 0, 0.5);
}

/* Video block */
.jgy-hero-video {
  flex: 1;
  max-width: 500px;
  min-width: 280px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.jgy-hero-video video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .jgy-hero {
    flex-direction: column;
    padding: 2rem 1.5rem;
    text-align: center;
  }

  .jgy-hero-content {
    max-width: 100%;
    margin: 0 auto;
  }

  .jgy-hero-content h1 {
    font-size: 2rem;
  }

  .jgy-btn-yellow {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
  }

  .jgy-hero-video {
    max-width: 100%;
    margin-top: 1.5rem;
  }
}

.jgy-card-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Bigger cards */
  gap: 35px;
  padding: 50px 30px;
  font-family: 'Poppins', sans-serif;
}

.jgy-hover-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  cursor: pointer;
  height: 320px; /* Bigger card height */
}

.jgy-hover-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.jgy-hover-card:hover img {
  transform: scale(1.07);
  filter: brightness(70%);
}

.jgy-hover-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 18px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
  color: #fff;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.jgy-hover-card:hover .jgy-hover-content {
  transform: translateY(0);
  opacity: 1;
}

.jgy-hover-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: #FFD700;
  margin-bottom: 10px;
}

.jgy-hover-content p {
  font-size: 14px;
  line-height: 1.4;
  color: #f1f1f1;
  margin-bottom: 15px;
}

.jgy-hover-content .jgy-btn-yellow {
  background: linear-gradient(135deg, #ffd700, #f4c10f);
  color: #111;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.jgy-hover-content .jgy-btn-yellow:hover {
  background: #fff5c1;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(255, 215, 0, 0.3);
}

/* Responsive */
@media (max-width: 992px) {
  .jgy-card-section {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 40px 25px;
  }

  .jgy-hover-card {
    height: 300px;
  }
}

@media (max-width: 600px) {
  .jgy-card-section {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 30px 20px;
  }

  .jgy-hover-card {
    height: 280px;
  }
}

.instagram-feed {
  background: #0d0d0d;
  padding: 4rem 2rem;
  text-align: center;
}

.instagram-feed .team-head-text {
  font-size: 2rem;
  font-weight: 600;
  color: #ffd700;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.instagram-feed .team-head-text::after {
  content: "";
  position: absolute;
  width: 60%;
  height: 4px;
  background: linear-gradient(to right, #ffd700, #f4c10f);
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.insta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.insta-grid img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.1);
}

.insta-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 30px rgba(255, 215, 0, 0.3);
}
/* Sponsor Wrapper with Background */
.jgy-sponsor-wrapper {
  padding: 60px 20px;
}

.sponsor-overlay {
  padding: 40px;
  border-radius: 12px;
  max-width: 1100px;
  margin: 0 auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}



/* Slider Container */
.sponsor-slider-section {
  overflow: hidden;
  width: 100%;
}

/* Image Track Animation */
.sponsor-slider-track {
  display: flex;
  gap: 60px; /* Increase gap for better breathing space between larger logos */
  animation: scroll-left 25s linear infinite;
}


.sponsor-slider-track img {
  height: 300px;         /* Increased from 120px */
  width: 300px;          /* Keep it square */
  object-fit: contain;   /* Ensures the logo fits well */
}


/* Keyframes for smooth left scrolling */
@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive Sizing */
@media (max-width: 768px) {
  .sponsor-slider-track img {
    height: 110px;
    width: 110px;
  }

  .sponsor-title {
    font-size: 1.5rem;
  }

  .sponsor-overlay {
    padding: 20px;
  }
}
.jgy-news-container {
  max-width: 850px;
  margin: 0 auto;
}
.jgy-news-section {
  background-color: #111;
  color: #fff;
  padding: 60px 20px;
  overflow: hidden;
  position: relative;
}

.jgy-news-heading {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: #f4f4f4;
  margin-bottom: 30px;
  font-family: 'Poppins', sans-serif;
}

/* Vertical slider wrapper */
.jgy-news-vertical-slider {
  height: 500px; /* Adjust height as needed */
  overflow: hidden;
  position: relative;
}

/* Track animation */
.jgy-news-track {
  display: flex;
  flex-direction: column;
  animation: scroll-up 20s linear infinite;
}

/* News card layout */
.news-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px;
  background-color: #1c1c1c;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
}

.news-item img {
  width: 250px;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}

.news-content {
  flex: 1;
}

.news-content h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-weight: 700;
  color: #ffd700;
}

.news-content p {
  color: #ccc;
  margin-bottom: 15px;
  line-height: 1.5;
}

/* Button style */
.jgy-btn-yellow {
  display: inline-block;
  padding: 10px 20px;
  background-color: #c4a424;
  color: #000;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.jgy-btn-yellow:hover {
  background-color: #000;
  color: #c4a424;
}

/* Vertical scroll animation */
@keyframes scroll-up {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .news-item {
    flex-direction: column;
    text-align: center;
  }

  .news-item img {
    width: 100%;
    height: 200px;
  }

  .news-content {
    padding-top: 10px;
  }
}

