/* Global Styles */
:root {
    --primary-color: hsl(237, 53%, 55%);
    --secondary-color: #8f94fb;
    --accent-color: #ff6b6b;
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-light: #777;
    --white: #fff;
    --black: #000;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
     background-color: transparent;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    margin-bottom: 45px;
    font-size: 2.5rem;
    color: var(--dark-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    z-index: -1;
    transform: translateX(-100%);
    transition: var(--transition);
}

.btn-secondary:hover {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover::before {
    transform: translateX(0);
}

.btn-tertiary {
    display: inline-block;
    background: transparent;
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid var(--primary-color);
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-tertiary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.btn-tertiary:hover {
    color: var(--white);
}

.btn-tertiary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Cursor Styles */


/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-spinner {
    text-align: center;
}

.spinner-circle {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(78, 84, 200, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

.spinner-text {
    font-weight: 500;
    color: var(--dark-color);
    font-size: 1.2rem;
}

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

/* Particle Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

/* Header Styles */
header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}


/* Updated Logo Styles for 5 Logos */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px; /* Reduced gap to fit more logos */
    flex-wrap: wrap;
    padding: 10px 15px;
}
.mobile-menu-btn {
  display: block;
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1002; /* higher than mobile-nav */
}
.logo a img {
    height: auto;
    max-height: 30px;             /* Force size equality */
  width: auto;
  max-width: 150px;
  object-fit: contain;
}
/* Logo 1 (IEEE) - Reduced size */
.logo-ieee {
    height: 30px; /* Reduced from 50px */
    width: auto;
    transition: transform 0.3s ease;
}

/* Logo 2 (JNNCE) - Reduced size */
.logo-jnnce {
    height: 60px; /* Reduced from 75px */
    width: auto;
    transition: transform 0.3s ease;
}

/* Logo 3 (NES) - Reduced size */
.logo-nes {
    height: 50px; /* Reduced from 70px */
    width: auto;
    transition: transform 0.3s ease;
}

/* New Logo 4 */
.logo-fourth {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

/* New Logo 5 */
.logo-fifth {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

/* Hover effects */
.logo a:hover img {
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .logo {
        justify-content: space-evenly;
        gap: 8px;
        
    }
    
}
/* Make logo larger on laptop/desktop */
@media (min-width: 992px) {
  .logo a img {
    max-height: 50px;
    max-width: 100px;
    
  }
}

@media (min-width: 992px) {
  .mobile-menu-btn {
    display: none !important;
  }
}


@media (max-width: 768px) {
    .logo {
        gap: 8px;
    }
    .logo-ieee {
        height: 25px;
    }
    .logo-jnnce {
        height: 45px;
    }
    .logo-nes {
        height: 40px;
    }
    .logo-fourth {
        height: 25px;
    }
    .logo-fifth {
        height: 20px;
    }
}


@media (max-width: 576px) {
  .logo {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-left: -15px;
  }
  .logo-jnnce {
        height: 100%;
    }
  
  .logo a {
    flex: 8 0 30%; /* roughly 3 logos per row */
    text-align: center;
  }

  .logo a:nth-child(n+4) {
    margin-top: -15px;
     /* space between rows */
  }

  .logo a img {
    max-width: 150%;
    height: auto;
  }
}
/* Laptop/Desktop - 1080p with 150% scaling (~1440px effective) */
@media (min-width: 1024px) {
    .logo{
        height: auto;
        width:auto;
        max-width: -50px;
        max-height: -100px;
        margin-top: auto;
        margin-left: -25px;
    }
  .logo-row {
    gap: 20px;
    padding: 60px 0;
  }

  .logo-row img {
    height: 70px; /* increased size for clarity on high DPI */
  }
}

@media screen and (max-width: 400px) {
  .logo {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
  }

  .logo a {
    flex: 0 1 28%; /* 3 logos per row roughly */
    text-align: center;
  }

  .logo a img {
    width: 100%;
    max-width: 60px;
    height: auto;
    object-fit: contain;
  }

  .logo a:nth-child(n+4) {
    margin-top: 0; /* Removes negative margin to avoid overlap */
  }

  .logo-jnnce {
    height: auto; /* Let image scale naturally */
  }
}

.desktop-nav ul {
    display: flex;
    list-style: none;
}

.desktop-nav ul li {
    margin-left: 20px;
}

.desktop-nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.desktop-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.desktop-nav ul li a:hover::after {
    width: 100%;
}

.desktop-nav ul li a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    
}

.mobile-menu-btn:hover {
    color: var(--primary-color);
    
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 200px;
    height: 80vh;
    background-color: var(--white);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: var(--transition);
    margin-right: auto;
}

.mobile-nav.active {
    right: 0;
    m
}

.mobile-nav-close {
    padding: 20px;
    text-align: right;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    
}

.mobile-nav-close:hover {
    color: var(--primary-color);
    
}

.mobile-nav ul {
    list-style: none;
    padding: 0 30px;
    

}

.mobile-nav ul li {
    margin-bottom: 20px;
    margin-left: 1px;
    
}

.mobile-nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    
}

.mobile-nav ul li a:hover {
    color: var(--primary-color);
    padding-left: 10px;
    
}



/* Hero Section */
.hero {
    background: transparent;
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(143, 148, 251, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-light);
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    text-align: center;
    position: relative;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    animation: float 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-color) 0%, rgba(78, 84, 200, 0) 70%);
    opacity: 0.1;
    border-radius: 50%;
    z-index: 0;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0);
    }
}
.hero::before, .hero::after {
    content: none;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
}

.about-features {
    margin-top: 30px;
    list-style: none;
}

.about-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.about-features li:hover {
    transform: translateX(5px);
}

.about-features li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(78, 84, 200, 0.2), rgba(143, 148, 251, 0.2));
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.about-image:hover::before {
    opacity: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Timeline Section */
.timeline {
    background: transparent !important;
    padding: 100px 0;
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    top: 30px;
    width: 20px;
    height: 20px;
    background-color: var(--white);
    border: px solid var(--primary-color);
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(odd)::after {
    right: -12px;
}

.timeline-item:nth-child(even)::after {
    left: -12px;
}

.timeline-date {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 15px;
}

.timeline-content {
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.timeline-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}


.download-link, .external-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.download-link i, .external-link i {
    margin-right: 5px;
}

.download-link:hover, .external-link:hover {
    color: var(--secondary-color);
}
/* Contact Section */
.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    transition: var(--transition);
}

.info-item:hover {
    transform: translateX(5px);
}

.info-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 20px;
    transition: var(--transition);
}

.info-item:hover i {
    transform: rotate(15deg);
}

.contact-form {
    flex: 1;
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(78, 84, 200, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Partners Section - Uniform Logo Sizes */
.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Reduced gap for better spacing */
}

.partner-logo {
    width: 180px; /* Fixed width */
    height: 100px; /* Fixed height */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    opacity: 0.7;
    transition: var(--transition);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    
}

.partner-logo:hover {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.partner-logo:hover img {
    filter: grayscale(0);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .partner-logo {
        width: 140px;
        height: 80px;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .partner-logo {
        width: 120px;
        height: 70px;
        gap: 15px;
    }
}
/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 80px 0 0;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://ai-grand-Event.in/wp-content/uploads/2023/07/footer-bg.png') no-repeat center/cover;
    opacity: 0.05;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.footer-col p {
    color: #bbb;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transform: translateY(-3px);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 30px 0 0 30px;
    font-family: 'Poppins', sans-serif;
}

.newsletter-form button {
    width: 50px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    opacity: 0.9;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bbb;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 50px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        flex-direction: column;
    }

    .contact-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .timeline-item {
        width: 100%;
        padding: 20px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item::after {
        display: none;
    }

    .timeline-line {
        left: 20px;
    }

    .timeline-content {
        margin-left: 30px;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .tab-buttons {
        flex-wrap: wrap;
    }

    .tab-btn {
        flex: 1 0 50%;
    }
}
/* (Previous CSS remains the same until the About Section) */

/* Team Section */
.team {
    background: transparent !important;
    padding: 100px 0;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 50px;
    font-weight: 600;
    font-size: 1.2rem;
    margin-top: 60px;
    color: white;
}
.section-subtitle-1 {
    text-align: left;
    margin-bottom: 50px;
    font-weight: 500;
    font-size: 1rem;
    margin-top: 60px;
    color: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 20px;
    margin-top: 50px;
}


.team-member {
    text-align: center;
    background-color: var(--white);
    padding: 20px 10px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}


.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.member-image {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(78, 84, 200, 0.1);
}


.team-member:hover .member-image {
    border-color: rgba(78, 84, 200, 0.3);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}


.team-member h3 {
    margin-bottom: 5px;
    font-size: 1rem;
    color: var(--dark-color);
}

.team-member p {
    color: var(--text-light);
    font-size: 0.8rem;
}

/* (Rest of the CSS remains the same) */

@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .member-image {
        width: 90px;
        height: 90px;
    }
}
/* Dual columns for Patron + Program Chair */
.dual-columns {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.team-group {
    flex: 1;
    min-width: 300px;
}

/* Two members per group */
.team-grid-1x {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Four-member rows */
.team-grid-4x {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 30px;
    justify-content: center;
}
.team-grid-centered {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}
/* Team Section Background */
.team-bg-wrapper {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

/* Background Image with Dark Overlay */
.team-bg-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   /* Replace with your image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

/* Dark Overlay */
.team-bg-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(231, 226, 226, 0.29); /* Adjust opacity (0.7 = 70% dark) */
    z-index: -1;
}

/* Ensure team content stays above the background */
.team .container {
    position: relative;
    z-index: 1;
}



.hero-announcement-card {
  position: relative;
  background: linear-gradient(135deg, #1e3c78, #87cefa);
  border-radius: 20px;
  padding: 2rem;
  color: #fff;
  max-width: 420px;
  animation: floatCard 4s ease-in-out infinite;
  box-shadow: 0 8px 30px rgba(30, 60, 120, 0.5);
  overflow: hidden;
  z-index: 1;
  backdrop-filter: blur(6px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.hero-announcement-card:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 40px rgba(135, 206, 250, 0.8);
}

/* Shine sweep */
.hero-announcement-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shine 4s linear infinite;
  transform: rotate(25deg);
  z-index: 0;
}

.hero-announcement-card h2,
.hero-announcement-card p,
.hero-announcement-card .btn-register {
  position: relative;
  z-index: 2;
}

/* Neon-glow button */
.hero-announcement-card .btn-register {
  display: inline-block;
  margin-top: 1.2rem; /* Add this line */
  padding: 0.6rem 1.5rem;
  background-color: #ffffff;
  color: #1e3c78;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.4s ease;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6),
              0 0 20px rgba(255, 255, 255, 0.4);
}

.hero-announcement-card .btn-register:hover {
  background-color: #1e3c78;
  color: #fff;
  box-shadow: 0 0 15px rgba(30, 60, 120, 0.9),
              0 0 25px rgba(30, 60, 120, 0.6);
}

/* Floating bounce */
@keyframes floatCard {
  0% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

/* Shine sweep */
@keyframes shine {
  0% { transform: translateX(-100%) rotate(25deg); }
  100% { transform: translateX(100%) rotate(25deg); }
}
/* Remove the green ball */




@keyframes sparkle {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2.5);
  }
}

/* Create a full-page background container */
.page-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2; /* Behind everything but particles */
}

/* Background image with overlay */
.page-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('pictures/bg - Copy-Picsart-AiImageEnhancer.jpg'); /* Add your image path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Dark overlay */
.page-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Adjust opacity as needed */
}

/* Adjust particle background to be more visible */
#particles-js {
    z-index: -1; /* Above the background but below content */
    background-color: transparent;
}

/* Make sure all sections have transparent background */
section {
    background-color: transparent;
}

/* Add some padding to sections for better spacing */
section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

/* Lighten up some elements for better visibility */
.section-title, h1, h2, h3, h4, h5, h6 {
    color: #fff;
}

p, .text-light {
    color: rgba(255, 255, 255, 0.8);
}

/* Adjust card backgrounds to be semi-transparent */
.Event-card, .timeline-content, .resource-item, .contact-form, .tab-content {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Update text colors in cards */
.Event-card h3, .timeline-content h3, .resource-item h4 {
    color: #fff;
}

.Event-card p, .timeline-content p, .resource-item p {
    color: rgba(255, 255, 255, 0.7);
}
/* Make the hero heading white */
.hero-content h1 {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* Optional: adds subtle shadow for better readability */
}
/* Remove gaps between sections */
section {
    margin: 0;
    padding: 100px 0; /* Uniform padding */
}

/* Fix header spacing */
header {
    margin-bottom: 0;
}
/* Prize Pool Section */
.prize-pool {
    padding: 20px 0;
    background: linear-gradient(135deg, rgba(37, 75, 150, 0.508), rgba(0, 0, 50, 0.9));
    position: relative;
    overflow: hidden;
}

.prize-pool::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: prize-bg-rotate 15s linear infinite;
    z-index: 0;
}

.prize-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.prize-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    min-width: 100px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.prize-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.prize-rank {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffd700; /* Gold for 1st */
    margin-bottom: 5px;
}

.prize-card:nth-child(2) .prize-rank {
    color: #c0c0c0; /* Silver for 2nd */
}

.prize-card:nth-child(3) .prize-rank {
    color: #cd7f32; /* Bronze for 3rd */
}

.prize-amount {
    font-size: 1.7rem;
    font-weight: 1000;
    margin: 8px 0;
    background: linear-gradient(to right, #d6d6df, #8f94fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.prize-desc {
    font-size: 0.8rem;
    opacity: 1.9;
    color : black
}

.prize-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 230%;
    height: 280%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 45%,
        rgba(255, 255, 255, 0.8) 50%,
        rgba(255, 255, 255, 0) 55%
    );
    transform: rotate(30deg);
    animation: prize-shine 4s infinite;
}

.prize-note {
    text-align: center;
    margin-top: 10px;
    font-style: italic;
    font-size: 0.9rem;
}

/* Animations */
@keyframes prize-bg-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes prize-shine {
    0% { transform: translateX(-50%) rotate(30deg); }
    100% { transform: translateX(50%) rotate(30deg); }
}
/* FAQ Section */
.faq {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    padding: 80px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.15);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #fff;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.8);
    padding-bottom: 20px;
    margin: 0;
}

/* Active state */
.faq-item.active .faq-question {
    background: rgba(255, 255, 255, 0.15);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}
/* FAQ Section - White Card Style */
.faq {
  padding: 60px 0;
  background: #f8f9fa2d;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 8px;
  margin-bottom: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 0.95rem;
  color: #333;
}

.faq-question:hover {
  background: #f1f1f1;
}

.faq-question i {
  transition: transform 0.3s ease;
  font-size: 0.9rem;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #555;
}

.faq-answer p {
  padding: 0 20px 15px;
  margin: 0;
  color :#000;
}

/* Active State */
.faq-item.active .faq-question {
  background: #f1f1f1;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-top: 5px;
}
/* Team Section Layout Adjustments */
.team-grid-4x {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 30px auto;
    max-width: 1200px;
}

.team-grid-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 30px auto;
    max-width: 1200px;
}

.team-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.execution-team {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

@media (max-width: 992px) {
    .team-grid-4x {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid-split {
        grid-template-columns: 1fr;
    }
    
    .execution-team {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .team-grid-4x,
    .execution-team {
        grid-template-columns: 1fr;
    }
}
/* Custom Team Row Layout */
.team-special-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    position: relative;
    width: 100%;
}

.team-group-title {
    position: absolute;
    top: -40px;
    font-weight: 600;
    color: white;
    background: rgba(0,0,0,0.3);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 1rem;
    white-space: nowrap;
}

/* Student Coordinators Group (4 cards) */
.team-coordinators {
    display: flex;
    gap: 20px;
    position: relative;
    padding-top: 30px;
}

.team-coordinators .team-group-title {
    left: 50%;
    transform: translateX(-50%);
}

/* Execution Team Group (3 cards) */
.team-execution {
    display: flex;
    gap: 20px;
    position: relative;
    padding-top: 30px;
}

.team-execution .team-group-title {
    left: 50%;
    transform: translateX(-50%);
}

/* Divider between groups */
.team-divider {
    width: 2px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.5), transparent);
    margin: 0 20px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .team-special-row {
        flex-direction: column;
        align-items: center;
    }
    
    .team-divider {
        width: 80%;
        height: 2px;
        margin: 20px 0;
        background: linear-gradient(to right, transparent, rgba(255,255,255,0.5), transparent);
    }
    
    .team-coordinators, .team-execution {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .team-member {
        min-width: 150px;
    }
    
    .team-group-title {
        font-size: 0.9rem;
    }
}
html, body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}
.title-gap {
  display: inline-block;
  width: 20ch; /* Default for desktop (5 tabs) */
  white-space: pre;
}
/* Mobile devices (phones) */
@media (max-width: 992px) {
  .title-gap {
    width: 15ch; /* Wider gap on phones (7.5 tabs) */
  }
}
/* Mobile devices (phones) */
@media (max-width: 768px) {
  .title-gap {
    width: 18ch; /* Wider gap on phones (7.5 tabs) */
  }
}

/* Small phones (extra adjustment) */
@media (max-width: 480px) {
  .title-gap {
    width: 5ch;
     /* Slightly less for very small screens */
  }
}
/* Small phones (extra adjustment) */
@media (max-width: 412px) {
  .title-gap {
    width: 4ch;
     /* Slightly less for very small screens */
  }
}

/* Small phones (extra adjustment) */
@media (max-width: 398px) {
  .title-gap {
    width: 1.4ch;
     /* Slightly less for very small screens */
  }
}

/* Add this to your existing CSS */
.info-item > div {
    display: flex;
    flex-direction: column;
}

.map-container {
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .map-container {
        margin-top: 10px;
    }
    .map-container iframe {
        height: 200px;
    }
}

