/* About Page Components */
.about-container {
    padding: 8rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.about-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s;
}

.about-card:hover::before {
    left: 100%;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(230, 43, 30, 0.2);
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.about-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.about-card p {
    color: var(--light-gray);
    line-height: 1.8;
    font-size: 1rem;
    text-align: justify;
    hyphens: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin: 0;
}

.about-tedx-nmims {
    text-align: center;
    margin: 4rem 0;
    padding: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

.about-tedx-nmims h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--white);
}

.about-tedx-nmims p {
    color: var(--light-gray);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.statistics-section {
    text-align: center;
    margin: 4rem 0;
}

.statistics-section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.stat-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(230, 43, 30, 0.2);
}

.stat-card .stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-red);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-card .stat-label {
    color: var(--light-gray);
    font-size: 1.1rem;
    font-weight: 500;
}

.leadership-section {
    text-align: center;
}

.leadership-section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--white);
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.leader-card {
    background: var(--gradient-primary);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.leader-card:hover {
    transform: scale(1.05);
}

.leader-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.leader-card p {
    font-size: 1.1rem;
    color: var(--white);
}

/* Speakers Page Components */
.speakers-container {
    padding: 8rem 2rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(320px, 1fr));
    gap: 2.5rem;
}

/* Center the last speaker when it's alone in the last row */
.speakers-grid > *:last-child:nth-child(3n-2) {
    grid-column: 2;
}

/* When there are two items in the last row, center them */
.speakers-grid > *:nth-last-child(2):nth-child(3n-1) {
    margin: 0 auto;
}

.speakers-grid > *:last-child:nth-child(3n) {
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .speakers-grid {
        grid-template-columns: repeat(2, minmax(300px, 1fr));
    }
    
    /* Reset centering for 3-column layout */
    .speakers-grid > *:last-child:nth-child(3n-2) {
        grid-column: auto;
    }
    
    /* Center last item when odd number in 2-column layout */
    .speakers-grid > *:last-child:nth-child(2n-1) {
        grid-column: 1 / 3;
        width: calc(300px + 1.25rem);
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .speakers-grid {
        grid-template-columns: minmax(250px, 1fr);
    }
    
    /* Reset all centering for mobile */
    .speakers-grid > * {
        grid-column: 1;
        width: 100%;
        margin: 0;
    }
}

.speaker-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    min-height: 100px;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.speaker-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.speaker-card:hover::before {
    opacity: 0.1;
}

.speaker-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(230, 43, 30, 0.3);
}

.speaker-image {
    width: 100%;
    height: 280px;
    position: relative;
    overflow: hidden;
    background: var(--gradient-dark);
}

.speaker-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary-red);
    transition: all 0.3s ease;
}

.empty-speaker:hover .speaker-placeholder {
    transform: scale(1.1);
    color: var(--white);
}

.speaker-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    filter: brightness(1.1) contrast(1.1);
}

.speaker-card:hover .speaker-photo {
    transform: scale(1.1);
    filter: brightness(0.8) contrast(1.2);
}

.speaker-info {
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.speaker-info h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.speaker-info p {
    color: var(--light-gray);
    font-size: 1rem;
    margin: 0;
}

/* Speaker Details Overlay */
.speaker-details-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.speaker-card:hover .speaker-details-overlay {
    opacity: 1;
    visibility: visible;
}

.speaker-details-content {
    text-align: center;
    max-width: 100%;
}

.speaker-details-content h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-red);
}

.speaker-details-content p {
    color: var(--light-gray);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.speaker-achievements {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.speaker-achievements span {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
    transition: all 0.3s ease;
}

.speaker-achievements span:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(230, 43, 30, 0.3);
}

/* Make empty-speaker same as speaker-card */
.empty-speaker {
    /* Inherit full look from .speaker-card */
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    min-height: 450px;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

/* Optional: Keep placeholder text/icon style */
.empty-speaker .speaker-placeholder {
    font-size: 4rem;
    color: var(--primary-red);
    transition: all 0.3s ease;
}

.empty-speaker:hover .speaker-placeholder {
    transform: scale(1.1);
    color: var(--white);
}


/* Gallery Placeholder Styling */
.gallery-placeholder {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 2px dashed var(--glass-border);
    border-radius: 15px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-placeholder:hover {
    border-color: var(--primary-red);
    background: rgba(230, 43, 30, 0.05);
    transform: scale(1.02);
}

.placeholder-content {
    text-align: center;
    color: var(--light-gray);
}

.placeholder-content i {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.gallery-placeholder:hover .placeholder-content i {
    transform: scale(1.1);
    color: var(--white);
}

.placeholder-content p {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    font-style: italic;
}

/* Empty Team Member Styling */
.empty-team-member {
    border: 2px dashed var(--glass-border);
    background: rgba(255, 255, 255, 0.02);
}

.empty-team-member:hover {
    border-color: var(--primary-red);
    background: rgba(230, 43, 30, 0.05);
}

.empty-team-member .member-info h3 {
    color: var(--light-gray);
    font-style: italic;
}

.empty-team-member .member-role {
    color: var(--primary-red);
    font-weight: 500;
}

.empty-team-member .member-description {
    color: var(--light-gray);
    font-style: italic;
}

.empty-team-member .member-placeholder {
    background: var(--gradient-dark);
    transition: all 0.3s ease;
}

.empty-team-member:hover .member-placeholder {
    background: var(--gradient-primary);
    transform: scale(1.1);
}

.empty-team-member:hover .member-placeholder i {
    color: var(--white);
}



/* Team Page Components */
.team-container {
    padding: 8rem 2rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.team-intro {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 4rem;
}

.team-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--light-gray);
    margin: 0;
}

.team-categories {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.team-category {
    text-align: center;
}

.category-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    color: var(--white);
    position: relative;
    display: inline-block;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-member-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 450px;
    display: flex;
    flex-direction: column;
}
.team-member-card > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 900px) {
    .team-member-card,
    .team-faculty-grid .team-member-card {
        height: auto;
    }
}


.team-member-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(230, 43, 30, 0.2);
}
.team-faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.team-faculty-grid .team-member-card {
    height: 560px;
}
.member-image {
    width: 100%;
    height: 280px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.member-info {
    padding: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: 3px solid var(--primary-red);
}

.team-member-card:hover .member-image {
    transform: scale(1.05);
}

.member-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary-red);
    transition: all 0.3s ease;
}

.member-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-red);
}

.member-info h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.member-role {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-description {
    color: var(--light-gray);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

.theme-section:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(230, 43, 30, 0.15);
}

.section-icon {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.theme-section h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.theme-section p {
    color: var(--light-gray);
    line-height: 1.6;
}

/* Sponsors Page Components */
.sponsors-container {
    padding: 8rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.benefits-section {
    margin-bottom: 4rem;
}

.benefits-section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.benefit-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: rotateY(10deg) translateY(-10px);
    box-shadow: 0 20px 40px rgba(230, 43, 30, 0.2);
}

.benefit-icon {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.benefit-card p {
    color: var(--light-gray);
    line-height: 1.6;
}

.perks-section {
    text-align: center;
}

.perks-section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: var(--white);
}

.perks-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Buy Ticket Button Styles */
.nav-ticket-btn {
    position: absolute;
    right: 2rem;
}

.ticket-btn {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(230, 43, 30, 0.3);
}

.ticket-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 43, 30, 0.4);
}

.cta-ticket-btn {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 2rem;
    box-shadow: 0 6px 20px rgba(230, 43, 30, 0.3);
}

.cta-ticket-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(230, 43, 30, 0.4);
}

.btn-icon {
    transition: transform 0.3s ease;
}

.cta-ticket-btn:hover .btn-icon {
    transform: translateX(5px);
}

/* Hexagon Grid Styles */
.about-hexagon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.hexagon-card {
    position: relative;
    perspective: 1000px;
}

.hexagon-shape {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    align-items: center;
}

.hexagon-shape::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(230, 43, 30, 0.1), transparent);
    transform: rotate(-45deg);
    transition: transform 0.6s ease;
}

.hexagon-card:hover .hexagon-shape::before {
    transform: rotate(45deg);
}

.hexagon-card:hover .hexagon-shape {
    transform: rotateY(5deg) translateY(-10px);
    box-shadow: 0 25px 50px rgba(230, 43, 30, 0.2);
}

.hexagon-content {
    position: relative;
    z-index: 2;
}

.hexagon-content .card-icon {
    font-size: 3.5rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    display: block;
}

.hexagon-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.hexagon-content p {
    color: var(--light-gray);
    line-height: 1.7;
    font-size: 1rem;
}

/* Experience Section Styles */
.about-experience-section {
    margin: 4rem 0;
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(230, 43, 30, 0.05), rgba(255, 107, 107, 0.05));
    border-radius: 30px;
    border: 1px solid rgba(230, 43, 30, 0.1);
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    padding: 0 2rem;
}

.experience-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s;
}

.experience-card:hover::before {
    left: 100%;
}

.experience-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(230, 43, 30, 0.2);
}

.experience-icon {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.experience-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.experience-card p {
    color: var(--light-gray);
    line-height: 1.7;
    font-size: 1rem;
}

/* Gallery Photo Styles */
.gallery-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
    border-radius: 15px;
}

.gallery-item:hover .gallery-photo {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.gallery-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

/* Enhanced Gallery Design */
.gallery-container {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    min-height: 100vh;
    padding: 2rem 0;
}

.gallery-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    color: var(--white);
    margin-bottom: 2rem;
}

/* Gallery Navigation */
.gallery-navigation {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.gallery-nav-link {
    color: #888;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.gallery-nav-link:hover,
.gallery-nav-link.active {
    color: var(--primary-red);
    background: rgba(231, 30, 30, 0.1);
}

.gallery-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: var(--primary-red);
    border-radius: 2px;
}

/* Gallery Sections */
.gallery-section {
    margin-bottom: 4rem;
}

/* Video Section */
.gallery-video-section {
    text-align: center;
    margin-bottom: 4rem;
}

.gallery-highlight-video {
    max-width: 800px;
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Gallery Grids */
.gallery-grid {
    display: grid;
    gap: 1.5rem;
    padding: 0 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-grid.masonry-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.gallery-grid.compact-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.gallery-grid.grid-layout {
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(135deg, #2c2c2c, #1a1a1a);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.gallery-grid.masonry-grid .gallery-item {
    height: 300px;
}

.gallery-grid.compact-grid .gallery-item {
    height: 200px;
}

.gallery-grid.grid-layout .gallery-item {
    height: 150px;
}

/* Gallery Controls */
.gallery-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.gallery-prev,
.gallery-next {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 30, 30, 0.4);
}

/* Videos Section */
.videos-section {
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    margin: 4rem 2rem 0;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--white);
    margin-bottom: 3rem;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.video-item {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.video-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(231, 30, 30, 0.2);
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 1rem;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-item h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.video-item p {
    color: var(--light-gray);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Gallery Tab System */
.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.gallery-tab {
    background: linear-gradient(135deg, #e71e1e, #b71c1c);
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 100px;
}

.gallery-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.gallery-tab:hover::before {
    left: 100%;
}

.gallery-tab:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 30, 30, 0.4);
    background: linear-gradient(135deg, #ff4444, #e71e1e);
}

.gallery-tab.active {
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    color: #e71e1e;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(231, 30, 30, 0.2);
}

.gallery-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    border-radius: 15px;
}

.gallery-item:hover .gallery-photo {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.1);
}

/* Gallery Content Management */
.gallery-content {
    display: none;
}

.gallery-content.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-title {
        font-size: 2.5rem;
    }
    
    .gallery-navigation {
        gap: 1rem;
    }
    
    .gallery-nav-link {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }
    
    .gallery-grid.masonry-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .gallery-grid.compact-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .gallery-grid.grid-layout {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .videos-section {
        margin: 3rem 1rem 0;
        padding: 2rem 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

.gallery-overlay p {
    font-size: 1rem;
    font-weight: 500;
    color: #f0f0f0;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8);
    line-height: 1.4;
    opacity: 0.9;
}

/* Gallery Page Specific Styling */
.page-title {
    background: linear-gradient(135deg, #e71e1e, #ff4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(231, 30, 30, 0.3);
}

.gallery-subtitle {
    text-align: center;
    color: #cccccc;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Mobile Responsiveness for Gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
        gap: 1.5rem;
    }
    
    .gallery-item {
        height: 250px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .gallery-tabs {
        gap: 0.5rem;
    }
    
    .gallery-tab {
        padding: 10px 20px;
        font-size: 0.9rem;
        min-width: 80px;
    }
}

@media (max-width: 480px) {
    .gallery-overlay h3 {
        font-size: 1.2rem;
    }
    
    .gallery-overlay p {
        font-size: 0.9rem;
    }
    
    .gallery-item {
        height: 220px;
    }
}

/* Enhanced text alignment and scrolling improvements */
.about-tedx-nmims p,
.benefit-card p {
    text-align: justify !important;
    line-height: 1.7;
}

.theme-section p {
    text-align: justify !important;
    line-height: 1.7;
}

.contact-info .info-item p {
    text-align: left !important;
}

.page {
    scroll-padding-top: 100px;
}

.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
    text-align: left;
    padding: 12px 16px;
}

/* NMIMS Campus Section */
.nmims-campus-section {
    margin: 4rem 0;
}

.campus-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.campus-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(230, 43, 30, 0.2);
}

.campus-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    filter: brightness(0.8) contrast(1.1);
}

.campus-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 3rem 2rem 2rem;
    text-align: center;
    color: var(--white);
}

.campus-overlay h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.campus-overlay p {
    font-size: 1rem;
    color: var(--light-gray);
    margin: 0;
    font-style: italic;
}

/* Hero Content Position Fix */
.hero-section {
    padding-top: 120px !important;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 2rem;
}

/* Home Theme Section */
.home-theme-section {
    margin: 6rem 0;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(230, 43, 30, 0.1), rgba(255, 71, 87, 0.1));
    border-radius: 30px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(230, 43, 30, 0.2);
    position: relative;
    overflow: hidden;
}

.home-theme-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(230, 43, 30, 0.1), transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(255, 71, 87, 0.1), transparent 50%);
    z-index: -1;
}

.theme-hero-home {
    text-align: center;
    margin-bottom: 4rem;
}

.theme-title-home {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #e62b1e, #ff4757);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.theme-subtitle-home {
    font-size: 1.2rem;
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.theme-quote {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.quote-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--light-gray);
    font-style: italic;
    margin: 0;
    text-align: justify;
}

.theme-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.highlight-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.highlight-card:hover::before {
    transform: scaleX(1);
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(230, 43, 30, 0.2);
}

.highlight-icon {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.highlight-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.highlight-card p {
    color: var(--light-gray);
    line-height: 1.6;
    margin: 0;
}

/* Theme placeholder for theme page */
.theme-placeholder {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    margin: 2rem 0;
}

.placeholder-content i {
    font-size: 4rem;
    color: var(--primary-red);
    margin-bottom: 2rem;
}

.placeholder-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--white);
    margin-bottom: 1rem;
}

.placeholder-content p {
    color: var(--light-gray);
    font-size: 1.1rem;
}

.perk-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: var(--gradient-primary);
    border-radius: 15px;
    padding: 1.5rem;
    color: var(--white);
    font-weight: 600;
    transition: all 0.3s ease;
}

.perk-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(230, 43, 30, 0.3);
}

.perk-item i {
    font-size: 1.2rem;
}

/* Additional responsive styles */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .speakers-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .theme-sections {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-card {
        padding: 2rem;
        min-height: auto;
    }

    .about-card p {
        font-size: 0.95rem;
        text-align: left;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .perks-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .about-container,
    .speakers-container,
    .theme-container,
    .sponsors-container {
        padding: 6rem 1rem 3rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .about-card {
        padding: 1.5rem;
    }

    .speaker-card {
        padding: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .team-container {
        padding: 6rem 1rem 3rem;
    }

    .team-member-card {
        padding: 1.5rem;
        min-height: auto;
    }

    .member-image {
        width: 80px;
        height: 80px;
    }

    .team-description {
        font-size: 1rem;
    }

    .campus-image {
        height: 200px;
    }

    .campus-overlay {
        padding: 2rem 1rem 1rem;
    }

    .campus-overlay h3 {
        font-size: 1.4rem;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .team-member-card {
        min-height: auto;
        padding: 2rem;
    }

    .category-title {
        font-size: 1.8rem;
    }
}

/* Theme Page Components */
.theme-container {
    padding: 8rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.theme-content {
    text-align: center;
}

.theme-hero {
    margin-bottom: 4rem;
    padding: 3rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

.theme-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--light-gray);
    max-width: 700px;
    margin: 0 auto 2rem;
}

.theme-intro {
    font-size: 1.5rem;
    color: var(--light-gray);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    font-style: italic;
    text-align: justify;
}

.theme-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.theme-section {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.theme-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 20px 20px 0 0;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.theme-section:hover::after {
    transform: scaleX(1);
}

.theme-section:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.section-icon {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.theme-section h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.theme-section p {
    color: var(--light-gray);
    line-height: 1.6;
}

/* Sponsors Page Components */
.sponsors-container {
    padding: 8rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.benefits-section {
    margin-bottom: 4rem;
}

.benefits-section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.benefit-card:hover {
    transform: rotateY(5deg) rotateX(5deg);
    box-shadow: 0 25px 50px rgba(230, 43, 30, 0.2);
}

.benefit-icon {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.benefit-card p {
    color: var(--light-gray);
    line-height: 1.6;
}

.perks-section {
    text-align: center;
}

.perks-section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--white);
}

.perks-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.perk-item {
    background: var(--gradient-primary);
    border-radius: 50px;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.perk-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 20px rgba(230, 43, 30, 0.3);
}

.perk-item i {
    font-size: 1.2rem;
    color: var(--white);
}

.perk-item span {
    color: var(--white);
    font-weight: 500;
}

/* Contact Page Components */
.contact-container {
    padding: 8rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-intro {
    text-align: center;
    margin: 2rem 0 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.contact-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.6;
    margin: 0;
    font-weight: 300;
}

.contact-subtitle {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--white);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateX(10px);
    background: rgba(230, 43, 30, 0.1);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-red);
    min-width: 24px;
}

.info-item h4 {
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.info-item p {
    color: var(--light-gray);
    margin: 0;
}

.social-links {
    margin-top: 2rem;
}

.social-links h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-red);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(230, 43, 30, 0.3);
}

.location-map-container {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
}

/* Map Styling */
.map-header {
    text-align: center;
    margin-bottom: 2rem;
}

.map-header h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
}

.map-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.map-wrapper {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.map-wrapper iframe {
    width: 100%;
    height: 400px;
    border: none;
    filter: brightness(0.9) contrast(1.1);
}

.location-details {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
    min-width: 250px;
}

.detail-item i {
    color: var(--primary-red);
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.detail-item h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
}

.detail-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.coordinates-info {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.coordinate-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    text-align: center;
}

.coordinate-item i {
    color: var(--primary-red);
    font-size: 1.5rem;
}

.coordinate-item h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    font-family: 'Space Grotesk', sans-serif;
}

.coordinate-item p {
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Courier New', monospace;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e62b1e !important;
    background: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 0 20px rgba(230, 43, 30, 0.2);
}

.form-group label {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6) !important;
    transition: all 0.3s ease;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.3);
    padding: 0 0.5rem;
    border-radius: 4px;
    font-size: 0.95rem;
}

.form-group textarea + label {
    top: 1rem;
    transform: none;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group input[value]:not([value=""]) + label,
.form-group select:focus + label,
.form-group select:not([value=""]) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 1rem;
    transform: none;
    font-size: 0.85rem;
    color: #e62b1e !important;
    background: rgba(0, 0, 0, 0.8);
}

.form-group select {
    cursor: pointer !important;
    color: #ffffff !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    padding-right: 3rem !important;
}

.form-group select option {
    background: #1a1a1a !important;
    color: #ffffff !important;
    padding: 0.5rem !important;
}

.submit-btn {
    width: 100%;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, #e62b1e, #ff6b35) !important;
    border: none;
    border-radius: 12px;
    color: white !important;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(230, 43, 30, 0.4);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.submit-btn .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive adjustments for components */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-grid,
    .speakers-grid,
    .theme-sections,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .countdown {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .perks-list {
        grid-template-columns: 1fr;
    }

    .leadership-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .about-container,
    .speakers-container,
    .theme-container,
    .sponsors-container,
    .contact-container {
        padding: 6rem 1rem 2rem;
    }

    .about-card,
    .speaker-card,
    .theme-section,
    .benefit-card,
    .contact-form-container {
        padding: 1.5rem;
    }

    .countdown {
        grid-template-columns: 1fr;
    }
}

/* Gallery Page Components */
.gallery-container {
    padding: 8rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-subtitle {
    text-align: center;
    color: var(--medium-gray);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.gallery-tab {
    padding: 0.8rem 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.gallery-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.3s ease;
}

.gallery-tab:hover::before,
.gallery-tab.active::before {
    left: 0;
}

.gallery-tab span,
.gallery-tab {
    position: relative;
    z-index: 1;
}

.gallery-tab:hover,
.gallery-tab.active {
    color: var(--white);
    border-color: var(--primary-red);
}

.gallery-content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.gallery-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    height: 300px;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(230, 43, 30, 0.2);
}

.gallery-image {
    width: 100%;
    height: 70%;
    position: relative;
    overflow: hidden;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--medium-gray);
}

.image-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-red);
}

.image-placeholder span {
    font-size: 1rem;
    font-weight: 500;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

.gallery-overlay h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.gallery-overlay p {
    color: var(--medium-gray);
    font-size: 0.9rem;
    margin: 0;
}

/* Theme Hero Section on Homepage */
.theme-hero-section {
    padding: 6rem 2rem;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.theme-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M20 20 Q50 5 80 20 Q95 50 80 80 Q50 95 20 80 Q5 50 20 20" fill="none" stroke="rgba(230,43,30,0.1)" stroke-width="0.5"/></svg>') repeat;
    opacity: 0.3;
    animation: pathFloat 20s infinite linear;
}

@keyframes pathFloat {
    0% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(-10px) translateY(-5px); }
    50% { transform: translateX(-20px) translateY(-10px); }
    75% { transform: translateX(-10px) translateY(-5px); }
    100% { transform: translateX(0) translateY(0); }
}

.theme-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.theme-content {
    z-index: 1;
    position: relative;
}

.theme-header {
    margin-bottom: 2rem;
}

.theme-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.theme-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-red);
    font-style: italic;
}

.theme-description {
    margin-bottom: 3rem;
}

.theme-text {
    color: var(--light-gray);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.theme-call-to-action {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
}

.theme-call-to-action h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.theme-call-to-action p {
    color: var(--medium-gray);
    margin: 0;
}

.theme-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.path-animation {
    width: 400px;
    height: 300px;
}

.path-svg {
    width: 100%;
    height: 100%;
}

.main-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawPath 3s ease-in-out infinite;
}

.dotted-path {
    opacity: 0.5;
}

.path-dot {
    animation: dotPulse 2s ease-in-out infinite;
}

.active-dot {
    animation: activeDotPulse 1s ease-in-out infinite;
}

@keyframes drawPath {
    0% { stroke-dashoffset: 1000; }
    50% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -1000; }
}

@keyframes dotPulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

@keyframes activeDotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.5); }
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-container {
        padding: 6rem 1rem 3rem;
    }
    
    .gallery-tabs {
        gap: 0.5rem;
    }
    
    .gallery-tab {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .theme-hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .theme-title {
        font-size: 2rem;
    }
    
    .theme-subtitle {
        font-size: 1.4rem;
    }
    
    .path-animation {
        width: 300px;
        height: 200px;
    }
}

.hexagon-card-1 {
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-left: 120px;
    margin-right: -500px;
}
/* New About Page Layout Styles */
.about-container-new {
    width: 100%;
    padding: 6rem 0;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.about-section-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Style for alternating layout */
.about-section-new.reverse {
    direction: rtl; /* This reverses the column order */
}

.about-section-new.reverse > * {
    direction: ltr; /* Reset text direction for content */
}

.about-text-content {
    color: var(--light-gray);
    text-align: left;
}

.about-section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.about-text-content .subtitle {
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.about-text-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--light-gray);
    text-align: justify;
}

.btn-red-more {
    display: inline-block;
    background: var(--primary-red);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-red-more:hover {
    background: var(--secondary-red);
}

.about-image-content img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    object-fit: cover;
    max-height: 400px;
}

/* NMIMS banner variant: text spans page, image as large bottom banner */
.about-section-new.nmims-banner {
    grid-template-columns: 1fr;
    gap: 2rem;
}

.about-section-new.nmims-banner .about-text-content {
    max-width: 100%;
    margin: 0 auto;
}

.about-section-new.nmims-banner .about-image-content {
    order: 2;
}

.about-section-new.nmims-banner .about-text-content {
    order: 1;
}

.about-section-new.nmims-banner .about-image-content img {
    width: 100%;
    height: 60vh;
    max-height: 700px;
    min-height: 320px;
    object-fit: cover;
    border-radius: 15px;
}

/* Responsive Styles for the new About Page */
@media (max-width: 768px) {
    .about-section-new,
    .about-section-new.reverse {
        grid-template-columns: 1fr;
        direction: ltr; /* Reset direction for stacking */
        text-align: center;
    }

    .about-section-title {
        font-size: 2rem;
    }
}

/* Speaker Year Navigation */
.speaker-year-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
    gap: 1rem;
    flex-wrap: wrap;
}

.year-label {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--light-gray);
    margin: 0;
}

.year-tabs {
    display: flex;
    gap: 0.5rem;
}

.year-tab {
    text-decoration: none;
    color: var(--light-gray);
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--light-gray);
    border-radius: 25px;
    transition: all 0.3s ease;
    background: transparent;
}

.year-tab:hover {
    background: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
}

.year-tab.active {
    background: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
}

/* Speaker Content Tabs */
.speakers-content {
    display: none;
}

.speakers-content.active {
    display: block;
}
