/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #0a0a0a;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #00ff88;
}

.nav-logo i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #00ff88;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00ff88;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%2300ff88" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #fff;
}

.gradient-text {
    background: linear-gradient(45deg, #00ff88, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(45deg, #00ff88, #00d4ff);
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 255, 136, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #00ff88;
    border: 2px solid #00ff88;
}

.btn-secondary:hover {
    background: #00ff88;
    color: #000;
    transform: translateY(-2px);
}

.btn-tertiary {
    background: transparent;
    color: #00d4ff;
    border: 2px solid #00d4ff;
}

.btn-tertiary:hover {
    background: #00d4ff;
    color: #000;
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(45deg, #00ff88, #00d4ff);
    color: #000;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 255, 136, 0.18);
    transition: all 0.3s ease;
    padding: 12px 24px;
    display: inline-block;
    cursor: pointer;
    font-size: 1rem;
}

.btn-success:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 12px 28px rgba(0, 255, 136, 0.28);
    background: linear-gradient(45deg, #00d4ff, #00ff88);
    color: #000;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-img-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.profile-img-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%);
    border-radius: 20px;
    background: radial-gradient(circle, rgba(0,255,136,0.25) 0%, rgba(0,255,136,0.10) 60%, transparent 100%);
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.4s;
    filter: blur(8px);
}

.profile-img-wrapper:hover::before {
    opacity: 1;
}

.profile-img {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid rgba(0, 255, 136, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto;
}

.cyber-grid, .grid-item {
    display: none;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: #111;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    color: #ccc;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}
.about-text .certifications {
    margin-top: 1rem;
    background: rgba(0, 255, 136, 0.05);
    border-radius: 6px;
    padding: 0.75rem;
    border: 1px solid rgba(0, 255, 136, 0.2);
    position: relative;
    overflow: hidden;
}

.about-text .certifications::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, #00ff88, #00d4ff);
    background-size: 200% 100%;
    animation: gradientShift 2s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.about-text .certifications h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #00ff88;
    margin-bottom: 0.5rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid rgba(0, 255, 136, 0.3);
    display: inline-block;
    position: relative;
}

.about-text .certifications h3::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 20px;
    height: 1px;
    background: #00ff88;
    animation: expandWidth 2s ease-in-out infinite;
}

@keyframes expandWidth {
    0%, 100% { width: 20px; }
    50% { width: 40px; }
}

.about-text .certifications ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-text .certifications li {
    font-size: 0.85rem;
    color: #ccc;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    padding: 0.4rem;
    background: rgba(0, 255, 136, 0.03);
    border-radius: 4px;
    border-left: 2px solid #00ff88;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-text .certifications li::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.1), transparent);
    transition: left 0.5s ease;
}

.about-text .certifications li:hover::before {
    left: 100%;
}

.about-text .certifications li:hover {
    transform: translateX(3px);
    background: rgba(0, 255, 136, 0.08);
    border-left-color: #00d4ff;
    box-shadow: 0 2px 8px rgba(0, 255, 136, 0.15);
}

.about-text .certifications li i {
    color: #00ff88;
    margin-right: 8px;
    font-size: 0.9rem;
    min-width: 12px;
    text-align: center;
    filter: drop-shadow(0 1px 2px rgba(0, 255, 136, 0.3));
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2rem;
}

.tag {
    background: linear-gradient(45deg, #00ff88, #00d4ff);
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00ff88;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #ccc;
    font-weight: 500;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: #0a0a0a;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #111;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 136, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(45deg, #00ff88, #00d4ff);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #00ff88, #00d4ff);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.5rem;
    color: #000;
}

.service-card h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: #ccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
}

.service-features li {
    color: #ccc;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00ff88;
    font-weight: bold;
}

/* Methodology Section */
.methodology {
    padding: 6rem 0;
    background: #111;
}

.methodology-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.methodology-item {
    text-align: center;
    padding: 2rem;
}

.methodology-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #00ff88, #00d4ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.methodology-icon i {
    font-size: 2rem;
    color: #000;
}

.methodology-item h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.methodology-item p {
    color: #ccc;
    line-height: 1.6;
}

/* Gallery Section */
.gallery {
    padding: 6rem 0;
    background: #0a0a0a;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    background: transparent;
    border: 2px solid #00ff88;
    color: #00ff88;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: #00ff88;
    color: #000;
    transform: translateY(-2px);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
    border: 1px solid rgba(0, 255, 136, 0.2);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.2);
}

.gallery-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    text-align: center;
    color: #fff;
    padding: 2rem;
}

.gallery-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.gallery-info p {
    color: #ccc;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.view-btn {
    background: linear-gradient(45deg, #00ff88, #00d4ff);
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.view-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 255, 136, 0.3);
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    position: relative;
    margin: auto;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#lightbox-image {
    width: 650px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    display: block;
    margin-bottom: 1rem;
    background: transparent;
    margin-left: auto;
    margin-right: auto;
}

.close-lightbox {
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 10px;
    z-index: 10001;
    transition: color 0.3s ease;
    background: none;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-lightbox:hover {
    color: #00ff88;
}

.lightbox-caption {
    text-align: center;
    color: #fff;
    padding: 1rem 0;
}

.lightbox-caption h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #00ff88;
}

.lightbox-caption p {
    color: #ccc;
    font-size: 1rem;
}

/* Gallery Animation */
.gallery-item {
    animation: fadeInUp 0.6s ease-out;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }
.gallery-item:nth-child(7) { animation-delay: 0.7s; }
.gallery-item:nth-child(8) { animation-delay: 0.8s; }
.gallery-item:nth-child(9) { animation-delay: 0.9s; }

/* Hide gallery items beyond first 9 */
.gallery-item:nth-child(n+10) {
    display: none;
}

/* Gallery Load More */
.gallery-load-more {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.gallery-load-more .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.gallery-load-more .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 255, 136, 0.3);
}

.gallery-load-more .btn i {
    margin-right: 0.5rem;
}

/* Show all items when expanded */
.gallery-grid.show-all .gallery-item {
    display: block !important;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: #0a0a0a;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #00ff88, #00d4ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    color: #000;
    font-size: 1.2rem;
}

.contact-details h4 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-details p {
    color: #ccc;
}

.contact-details p a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details p a:hover {
    color: #00ff88;
    text-decoration: underline;
}

.contact-form {
    background: #111;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 8px;
    background: #1a1a1a;
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00ff88;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666;
}

/* Footer */
.footer {
    background: #111;
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(0, 255, 136, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: #00ff88;
    margin-bottom: 1rem;
}

.footer-logo i {
    margin-right: 0.5rem;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
}

.footer-section h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #00ff88;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .cyber-grid {
        width: 200px;
        height: 200px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .methodology-content {
        grid-template-columns: 1fr;
    }

    .achievements-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .achievement-category {
        padding: 2rem;
    }
    
    .category-header {
        gap: 1rem;
    }
    
    .category-header i {
        font-size: 2rem;
    }
    
    .category-header h3 {
        font-size: 1.4rem;
    }
    
    .achievement-item {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .achievement-rank {
        padding: 0.8rem 1.2rem;
        font-size: 1rem;
        min-width: 110px;
    }
    
    .experience-item {
        padding: 2rem;
        gap: 1.5rem;
    }
    
    .experience-icon {
        width: 60px;
        height: 60px;
    }
    
    .experience-icon i {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .methodology-content {
        grid-template-columns: 1fr;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Achievements Section */
.achievements {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.achievements::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="achievement-grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="%2300ff88" stroke-width="0.3" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23achievement-grid)"/></svg>');
    opacity: 0.3;
}

.achievements-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.achievement-category {
    background: #111;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 136, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.achievement-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(45deg, #00ff88, #00d4ff);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.achievement-category:hover::before {
    transform: scaleX(1);
}

.achievement-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.1);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #00ff88, #00d4ff);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-icon i {
    font-size: 1.5rem;
    color: #000;
}

.category-header h3 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.achievement-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    flex-grow: 1;
}

.achievement-list li {
    color: #ccc;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
}

.achievement-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00ff88;
    font-weight: bold;
}

.achievement-list li strong {
    color: #fff;
    font-weight: 600;
}

/* Cleanup old/conflicting styles */
.category-header::after,
.achievement-item,
.achievement-rank,
.achievement-details,
.experience-item,
.experience-icon,
.experience-details,
.experience-list {
    display: none;
}

.experience-description {
    color: #ccc;
    line-height: 1.5;
    margin: 0;
    font-size: 0.85rem;
}

/* Videos Page */
.videos {
    padding: 6rem 0;
    background: #fff;
}

.videos .section-header h2 {
    color: #222;
}

.video-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Hide videos beyond the first 9 by default */
.video-gallery-item:nth-child(n+10) {
    display: none;
}

/* Show all items when the grid has the 'show-all' class */
.video-gallery-grid.show-all .video-gallery-item {
    display: block !important;
}

.video-gallery-item {
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-gallery-item:hover {
    transform: translateY(-8px);
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 15px;
    background: #000;
}

.video-thumbnail iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
    transition: transform 0.4s ease;
    background: #000;
}

.video-gallery-item:hover .video-thumbnail iframe {
    transform: scale(1.02);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-gallery-item:hover .video-overlay {
    opacity: 1;
}

.play-btn {
    background: rgba(255, 255, 255, 0.9);
    color: #e52d27;
    border: none;
    width: 70px;
    height: 50px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-btn:hover {
    transform: scale(1.1);
    background: #fff;
}

#video-embed-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

#video-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/*=============== VIDEO PAGE STYLES ===============*/
.video-section {
    padding: 6rem 0;
    background: #0a0a0a;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(0,255,136,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(0,255,136,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(0,255,136,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(0,255,136,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(0,255,136,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.video-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.video-section h2 {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
}

.video-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #00ff88, #00ccff);
    border-radius: 2px;
}

.video-section p {
    text-align: center;
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.video-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
}

/* Hide videos beyond the first 9 by default */
.video-gallery-item:nth-child(n+10) {
    display: none;
}

/* Show all items when the grid has the 'show-all' class */
.video-gallery-grid.show-all .video-gallery-item {
    display: block !important;
}

.video-gallery-item {
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,255,136,0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
}

.video-gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,255,136,0.2);
    border-color: rgba(0,255,136,0.4);
}

.video-gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,255,136,0.1), rgba(0,255,136,0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.video-gallery-item:hover::before {
    opacity: 1;
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 15px;
    background: #000;
}

.video-thumbnail iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
    transition: transform 0.4s ease;
    background: #000;
}

.video-gallery-item:hover .video-thumbnail iframe {
    transform: scale(1.02);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.video-gallery-item:hover .video-overlay {
    opacity: 1;
    background: rgba(0,0,0,0.6);
}

.play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00ff88, #00ccff);
    border: none;
    color: #1a1a1a;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,255,136,0.3);
    position: relative;
    overflow: hidden;
}

.play-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #00ccff, #00ff88);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(0,255,136,0.4);
}

.play-btn:hover::before {
    opacity: 1;
}

.play-btn i {
    position: relative;
    z-index: 2;
    margin-left: 3px;
}

.gallery-load-more {
    text-align: center;
    margin-top: 2rem;
}

#video-load-more-btn {
    background: linear-gradient(135deg, #00ff88, #00ccff);
    color: #1a1a1a;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,255,136,0.3);
    position: relative;
    overflow: hidden;
}

#video-load-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

#video-load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0,255,136,0.4);
}

#video-load-more-btn:hover::before {
    left: 100%;
}

#video-load-more-btn i {
    margin-right: 8px;
}

/* Lightbox styles for video */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.lightbox iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

.close-lightbox {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.close-lightbox:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

/* Responsive design */
@media (max-width: 1024px) {
    .video-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .video-section {
        padding: 4rem 0;
    }
    
    .video-section h2 {
        font-size: 2.5rem;
    }
    
    .video-section p {
        font-size: 1rem;
        margin-bottom: 3rem;
    }
    
    .video-gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .video-container {
        padding: 0 1rem;
    }
    
    .play-btn {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .video-section h2 {
        font-size: 2rem;
    }
    
    .video-section p {
        font-size: 0.9rem;
    }
    
    .play-btn {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    #video-load-more-btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 800px) {
    #lightbox-image {
        width: 100%;
        max-width: 100%;
    }
} 
