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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-brand .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.nav-menu {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.slideshow-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.slide.active {
    opacity: 1;
}

.slide-academic {
    background: linear-gradient(135deg, #1976d2 0%, #1e3c72 100%);
}

.slide-tennis {
    background: linear-gradient(135deg, #4CAF50 0%, #2e7d32 100%);
}

.slide-swimming {
    background: linear-gradient(135deg, #00BCD4 0%, #0097A7 100%);
}

.slide-running {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
}

.slide-content {
    z-index: 2;
    text-align: center;
}

.slide-content .emoji {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.slide-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.slide-content p {
    font-size: 1.3rem;
    max-width: 600px;
}

.hero-overlay {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #FF9800, #F57C00);
    color: white;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

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

.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.slide-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.prev {
    left: 2rem;
}

.next {
    right: 2rem;
}

.slide-indicators {
    position: absolute;
    bottom: 25%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
}

.dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background: white;
    transform: scale(1.2);
}

section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #1e3c72;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #FF9800, #F57C00);
    border-radius: 2px;
}

.about {
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.about-photo {
    text-align: center;
}

.aahan-photo {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.aahan-photo:hover {
    transform: scale(1.05);
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.academic-excellence {
    background: linear-gradient(135deg, #1976d2, #1e3c72);
    color: white;
}

.academic-excellence .section-title {
    color: white;
}

.academic-excellence .section-title::after {
    background: linear-gradient(135deg, #FF9800, #F57C00);
}

.academic-highlight {
    text-align: center;
    margin-bottom: 3rem;
}

.academic-badge {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.academic-highlight h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.academic-highlight p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.academic-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.stat-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.sport-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 5px solid;
}

.sport-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.tennis-card {
    border-left-color: #4CAF50;
}

.swimming-card {
    border-left-color: #00BCD4;
}

.running-card {
    border-left-color: #FF9800;
}

.sport-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.sport-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #1e3c72;
}

.sport-details {
    margin: 1.5rem 0;
}

.sport-details p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.sport-details strong {
    color: #1e3c72;
}

.sport-description {
    font-style: italic;
    color: #666;
    line-height: 1.6;
}

.gallery {
    background: #f8f9fa;
}

.upload-zone {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border: 3px dashed #2196F3;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    transition: all 0.3s ease;
}

.upload-zone:hover {
    border-color: #1976d2;
    background: linear-gradient(135deg, #bbdefb, #90caf9);
}

.upload-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.upload-content h3 {
    color: #1976d2;
    margin-bottom: 0.5rem;
}

.upload-content p {
    color: #666;
    margin-bottom: 2rem;
}

.upload-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.upload-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.academic-upload {
    background: linear-gradient(135deg, #1976d2, #1565c0);
    color: white;
}

.tennis-upload {
    background: linear-gradient(135deg, #4CAF50, #388e3c);
    color: white;
}

.swimming-upload {
    background: linear-gradient(135deg, #00BCD4, #0097a7);
    color: white;
}

.running-upload {
    background: linear-gradient(135deg, #FF9800, #f57c00);
    color: white;
}

.general-upload {
    background: linear-gradient(135deg, #795548, #5d4037);
    color: white;
}

.biking-upload {
    background: linear-gradient(135deg, #607d8b, #455a64);
    color: white;
}

.video-upload {
    background: linear-gradient(135deg, #9c27b0, #7b1fa2);
    color: white;
}

.upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid #1e3c72;
    background: transparent;
    color: #1e3c72;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #1e3c72;
    color: white;
    transform: translateY(-2px);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.gallery-placeholder {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.academic-placeholder {
    background: linear-gradient(135deg, #1976d2, #1565c0);
}

.tennis-placeholder {
    background: linear-gradient(135deg, #4CAF50, #388e3c);
}

.swimming-placeholder {
    background: linear-gradient(135deg, #00BCD4, #0097a7);
}

.running-placeholder {
    background: linear-gradient(135deg, #FF9800, #f57c00);
}

.general-placeholder {
    background: linear-gradient(135deg, #795548, #5d4037);
}

.biking-placeholder {
    background: linear-gradient(135deg, #607d8b, #455a64);
}

.video-placeholder {
    background: linear-gradient(135deg, #9c27b0, #7b1fa2);
}

.gallery-info {
    padding: 1.5rem;
}

.gallery-info h4 {
    color: #1e3c72;
    margin-bottom: 0.5rem;
}

.gallery-info p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.gallery-date {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 1rem;
    display: block;
}

.gallery-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
}

.academic-tag {
    background: #1976d2;
}

.tennis-tag {
    background: #4CAF50;
}

.swimming-tag {
    background: #00BCD4;
}

.running-tag {
    background: #FF9800;
}

.general-tag {
    background: #795548;
}

.biking-tag {
    background: #607d8b;
}

.video-tag {
    background: #9c27b0;
}

.achievements {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.achievement-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 5px solid;
}

.achievement-card:nth-child(odd) {
    border-top-color: #1976d2;
}

.achievement-card:nth-child(even) {
    border-top-color: #FF9800;
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.achievement-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.achievement-card h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
}

.achievement-card p {
    color: #666;
    line-height: 1.6;
}

.contact {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
}

.contact .section-title {
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    text-align: center;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.social-btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: 200px;
}

.youtube {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: white;
}

.tiktok {
    background: linear-gradient(135deg, #000000, #333333);
    color: white;
}

.instagram {
    background: linear-gradient(135deg, #e4405f, #c13584);
    color: white;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.contact-info h3 {
    margin-bottom: 1rem;
}

.contact-info p {
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-cta {
    margin-top: 2rem;
}

.footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand .logo {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: block;
}

.footer-brand p {
    color: #ccc;
    font-style: italic;
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 1rem;
    color: #FF9800;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FF9800;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.2);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
    text-align: center;
    color: #ccc;
}

.gallery-item[style*="display: none"] {
    display: none !important;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    color: #ff6b6b;
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 15px 20px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: -80px;
}

.lightbox-next {
    right: -80px;
}

.lightbox-caption {
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
    color: white;
    text-align: center;
    font-size: 16px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: right 0.3s ease;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        text-align: center;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .slide-content h2 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

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

    .sports-grid,
    .achievements-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .academic-stats {
        grid-template-columns: 1fr;
    }

    .slide-nav {
        padding: 0.8rem 1rem;
        font-size: 1.2rem;
    }

    .prev {
        left: 1rem;
    }

    .next {
        right: 1rem;
    }

    .upload-buttons {
        flex-direction: column;
        align-items: center;
    }

    .gallery-filters {
        flex-direction: column;
        align-items: center;
    }

    .social-buttons {
        align-items: stretch;
    }

    .hero-overlay {
        bottom: 5%;
        padding: 0 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .aahan-photo {
        max-width: 200px;
    }

    .about-text {
        text-align: left;
        padding: 0 1rem;
    }

    .lightbox-nav {
        padding: 10px 15px;
        font-size: 18px;
    }

    .lightbox-prev {
        left: -60px;
    }

    .lightbox-next {
        right: -60px;
    }

    .container {
        padding: 0 15px;
    }
}