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;
    }
}


/* Enhanced Faculty Card Animations */

.faculty-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #000000, #1a1a1a);
    border: 2px solid #FFD700;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faculty-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.8s ease;
    z-index: 1;
}

.faculty-card:hover::before {
    left: 100%;
}

.faculty-card:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 25px 50px rgba(255, 215, 0, 0.3);
    border-color: #FFA500;
}

.faculty-card .team-photo {
    transition: all 0.6s ease;
    filter: brightness(0.9) contrast(1.1);
}

.faculty-card:hover .team-photo {
    filter: brightness(1.1) contrast(1.2);
    transform: scale(1.05);
}

.faculty-card .team-info {
    background: linear-gradient(180deg, #000000, #1a1a1a);
    border-top: 2px solid #FFD700;
    transition: all 0.4s ease;
}

.faculty-card:hover .team-info {
    background: linear-gradient(180deg, #1a1a1a, #000000);
    border-top-color: #FFA500;
}

.faculty-card .team-hover-info {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.95), rgba(255, 165, 0, 0.9));
    backdrop-filter: blur(10px);
    transform: translateY(100%);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faculty-card:hover .team-hover-info {
    transform: translateY(0);
    opacity: 1;
}


/* Enhanced Social Icons */

.faculty-card .social-link {
    position: relative;
    overflow: hidden;
    background: #000;
    color: #FFD700;
    border: 2px solid #FFD700;
    border-radius: 50%;
    padding: 12px;
    font-size: 1.2rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 2;
}

.faculty-card .social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: #FFD700;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
    z-index: -1;
}

.faculty-card .social-link:hover::before {
    width: 100%;
    height: 100%;
}

.faculty-card .social-link:hover {
    transform: scale(1.2) rotate(5deg);
    color: #000;
    border-color: #FFA500;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.faculty-card .email-link:hover {
    animation: pulse 0.6s ease-in-out;
}

.faculty-card .scholar-link:hover {
    animation: bounce 0.6s ease-in-out;
}


/* Keyframe Animations */

@keyframes pulse {
    0%,
    100% {
        transform: scale(1.2) rotate(5deg);
    }
    50% {
        transform: scale(1.3) rotate(5deg);
    }
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: scale(1.2) rotate(5deg) translateY(0);
    }
    40% {
        transform: scale(1.2) rotate(5deg) translateY(-10px);
    }
    60% {
        transform: scale(1.2) rotate(5deg) translateY(-5px);
    }
}


/* Floating animation for the card */

@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

.faculty-card {
    animation: float 3s ease-in-out infinite;
}


/* Glow effect on hover */

.faculty-card:hover {
    animation: none;
    box-shadow: 0 25px 50px rgba(255, 215, 0, 0.3), 0 0 20px rgba(255, 215, 0, 0.2), 0 0 40px rgba(255, 215, 0, 0.1);
}


/* Accessibility improvements */

.faculty-card:focus-within {
    outline: 3px solid #FFD700;
    outline-offset: 2px;
}

.faculty-card .social-link:focus {
    outline: 2px solid #FFA500;
    outline-offset: 2px;
}


/* Professional loading state */

.faculty-card.loading {
    opacity: 0.7;
    pointer-events: none;
}


/* Enhanced text readability */

.faculty-card .team-hover-info {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.faculty-card .team-hover-info .description {
    font-weight: 600;
    color: #000;
}

.faculty-card .team-hover-info .batch {
    color: #333;
    font-weight: 500;
}


/****************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('/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: 20px 0;
    overflow: visible;
    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: #f0abfc;
}


/* 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;
    }
}

/* Recruitment Section Styles */

.recruitment-card h2 {
    color: #fff;
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 15px;
}

.recruitment-card p {
    color: #e9d5ff;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.recruitment-details {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
    margin: 25px 0;
}

.detail-box {
    flex: 1;
    min-width: 200px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid #f0abfc;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail-box h4 {
    color: #f0abfc;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.detail-box p {
    margin: 5px 0;
    color: #ddd;
    font-size: 0.95rem;
}

.contact-info {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #e9d5ff;
}

.contact-info a {
    color: #f0abfc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Make the news section heading consistent */
.jgy-news-heading {
    text-align: center;
    color: #f0abfc;
    margin: 2rem 0;
    font-size: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* In public_html/css/index.css */

.recruitment-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.recruitment-card {
    display: flex;
    gap: 30px;
    background: linear-gradient(135deg, #4a1d96 0%, #7e22ce 100%);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    margin-bottom: 40px;
    align-items: center; /* Vertically align items */
}

.recruitment-card img {
    /* Let the image be flexible but not exceed a certain size */
    flex-shrink: 0;
    width: 200px;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
}

.recruitment-card .news-content {
    /* Allow the content to take up the remaining space */
    flex: 1;
    text-align: left;
}


/* --- Other styles for the recruitment card can remain the same --- */


/* Responsive Design for Recruitment Card */
@media screen and (max-width: 768px) {
  .recruitment-card {
    flex-direction: column; /* Stack image and content vertically */
    gap: 20px;
    padding: 20px;
    text-align: center; /* Center align text for mobile */
  }

  .recruitment-card img {
    width: 100%;
    max-width: 200px; /* Adjust as needed */
    height: auto;
  }

  .recruitment-card .news-content {
    text-align: center; /* Center the text for a better look */
  }

  .recruitment-details {
    flex-direction: column;
    align-items: center; /* Center the detail boxes */
    gap: 15px;
  }

  .detail-box {
    width: 100%;
    max-width: 300px;
  }
}