/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00d4ff;
    --secondary-color: #ff6b35;
    --accent-color: #7c3aed;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --text-light: #ffffff;
    --text-gray: #a0a0a0;
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    --gradient-secondary: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    --gradient-accent: linear-gradient(135deg, #7c3aed 0%, #00d4ff 100%);
    --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.3);
    --shadow-glow-purple: 0 0 30px rgba(124, 58, 237, 0.3);
}

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

.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;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.nav-logo i {
    font-size: 1.8rem;
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="star" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.8"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="100" cy="100" r="1" fill="url(%23star)"/><circle cx="300" cy="200" r="1" fill="url(%23star)"/><circle cx="500" cy="150" r="1" fill="url(%23star)"/><circle cx="700" cy="300" r="1" fill="url(%23star)"/><circle cx="900" cy="100" r="1" fill="url(%23star)"/><circle cx="200" cy="400" r="1" fill="url(%23star)"/><circle cx="400" cy="500" r="1" fill="url(%23star)"/><circle cx="600" cy="450" r="1" fill="url(%23star)"/><circle cx="800" cy="600" r="1" fill="url(%23star)"/><circle cx="100" cy="700" r="1" fill="url(%23star)"/><circle cx="300" cy="800" r="1" fill="url(%23star)"/><circle cx="500" cy="750" r="1" fill="url(%23star)"/><circle cx="700" cy="900" r="1" fill="url(%23star)"/><circle cx="900" cy="800" r="1" fill="url(%23star)"/></svg>') repeat;
    animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.twinkling {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 212, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.clouds {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
}

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

.hero-content {
    text-align: center;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: var(--shadow-glow);
}

.title-line {
    display: block;
    animation: slideInLeft 1s ease-out forwards;
    opacity: 0;
    transform: translateX(-50px);
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title-line:nth-child(3) { animation-delay: 0.6s; }

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    animation: fadeIn 1s ease-out 0.8s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeIn 1s ease-out 1s forwards;
    opacity: 0;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid var(--primary-color);
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--darker-bg);
}

.section-title {
    text-align: center;
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 4rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.mission-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mission-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.5s ease;
}

.mission-card:hover::before {
    left: 100%;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.mission-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.mission-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Branches Section */
.branches {
    padding: 6rem 0;
    background: var(--dark-bg);
}

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

.branch-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.branch-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

.branch-image {
    height: 200px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.branch-image i {
    font-size: 4rem;
    color: var(--text-light);
    z-index: 2;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.education-branch .branch-image {
    background: var(--gradient-secondary);
}

.foundation-branch .branch-image {
    background: var(--gradient-accent);
}

/* Sports subsection overrides */
#sports .branch-image {
    background: linear-gradient(135deg, #0ea5e9 0%, #22d3ee 100%);
}

/* Digital marketing icon color pop */
#digital-marketing .card-icon {
    color: #fbbf24;
}

.branch-content {
    padding: 2rem;
}

.branch-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.branch-content h4 {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-weight: 400;
}

.branch-content p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.branch-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.branch-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.branch-features i {
    color: var(--primary-color);
}

.btn-branch {
    background: var(--gradient-primary);
    color: var(--text-light);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-branch:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background: var(--darker-bg);
}

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

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-gray);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--dark-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-glow);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--text-gray);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-light);
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-gray);
}

/* Footer */
.footer {
    background: var(--darker-bg);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: 'Orbitron', sans-serif;
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-section p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
}

/* Responsive Design */
@media (max-width: 768px) {
    .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;
        backdrop-filter: blur(10px);
        padding: 2rem 0;
    }

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

    .hamburger {
        display: flex;
    }

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

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

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .branches-grid {
        grid-template-columns: 1fr;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

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

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* 🌟 REVOLUTIONARY EFFECTS - Something Never Seen Before! 🌟 */

/* Neural Network Background Pattern */
.neural-network {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, transparent 30%, rgba(0, 212, 255, 0.05) 50%, transparent 70%);
    opacity: 0.3;
    z-index: -2;
    animation: neural-pulse 8s ease-in-out infinite;
}

@keyframes neural-pulse {
    0%, 100% { 
        background-size: 100% 100%, 100% 100%, 200% 200%;
        opacity: 0.3;
    }
    50% { 
        background-size: 120% 120%, 120% 120%, 250% 250%;
        opacity: 0.5;
    }
}

/* Quantum Particle System */
.quantum-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.quantum-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #00d4ff;
    border-radius: 50%;
    animation: quantum-float 10s linear infinite;
}

@keyframes quantum-float {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: scale(1);
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(100px) scale(0);
        opacity: 0;
    }
}

/* Holographic Card Effects */
.mission-card, .branch-card {
    position: relative;
    overflow: hidden;
}

.mission-card::before, .branch-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    animation: holographic-scan 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mission-card:hover::before, .branch-card:hover::before {
    opacity: 1;
}

@keyframes holographic-scan {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* DNA Helix Animation */
.dna-helix {
    position: fixed;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
    height: 300px;
    pointer-events: none;
    z-index: 1;
}

.dna-strand {
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, #00d4ff, #7c3aed, #ff6b35, #00d4ff);
    animation: dna-rotate 4s linear infinite;
}

.dna-strand:nth-child(2) {
    left: 20px;
    animation-delay: -2s;
}

.dna-strand:nth-child(3) {
    left: 40px;
    animation-delay: -1s;
}

@keyframes dna-rotate {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

/* Energy Field Effect */
.energy-field {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    animation: energy-pulse 2s ease-in-out infinite;
}

.energy-field::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 50%;
    animation: energy-pulse 2s ease-in-out infinite reverse;
}

@keyframes energy-pulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.6;
    }
}

/* Matrix Rain Effect */
.matrix-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -3;
    opacity: 0.1;
}

.matrix-column {
    position: absolute;
    top: -100px;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    animation: matrix-fall 3s linear infinite;
}

@keyframes matrix-fall {
    0% { transform: translateY(-100px); opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

/* Wormhole Effect */
.wormhole {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #00d4ff, #7c3aed, #ff6b35, #00ff88, #00d4ff);
    animation: wormhole-spin 4s linear infinite;
    opacity: 0.1;
    z-index: -2;
}

@keyframes wormhole-spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Time Dilation Effect */
.time-dilation {
    position: relative;
    overflow: hidden;
}

.time-dilation::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), transparent);
    animation: time-sweep 3s ease-in-out infinite;
}

@keyframes time-sweep {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Quantum Entanglement Effect */
.quantum-entangled {
    position: relative;
}

.quantum-entangled::before,
.quantum-entangled::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: inherit;
    animation: quantum-sync 2s ease-in-out infinite;
}

.quantum-entangled::after {
    animation-delay: -1s;
}

@keyframes quantum-sync {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: scale(1.1);
        opacity: 0.6;
    }
}

/* Neural Synapse Effect */
.neural-synapse {
    position: relative;
}

.neural-synapse::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(124, 58, 237, 0.2) 0%, transparent 50%);
    animation: synapse-fire 1.5s ease-in-out infinite;
}

@keyframes synapse-fire {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.6; }
}

/* Cosmic Radiation Effect */
.cosmic-radiation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(0, 212, 255, 0.02) 10px,
            rgba(0, 212, 255, 0.02) 20px
        );
    animation: radiation-sweep 8s linear infinite;
    pointer-events: none;
    z-index: -4;
}

@keyframes radiation-sweep {
    0% { transform: translateX(-100%) translateY(-100%); }
    100% { transform: translateX(100%) translateY(100%); }
}

/* Dimensional Portal Effect */
.dimensional-portal {
    position: relative;
    overflow: hidden;
}

.dimensional-portal::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.3) 0%, transparent 70%);
    animation: portal-expand 4s ease-in-out infinite;
}

@keyframes portal-expand {
    0%, 100% { 
        width: 0;
        height: 0;
        opacity: 0;
    }
    50% { 
        width: 200px;
        height: 200px;
        opacity: 0.5;
    }
}

/* Reality Distortion Effect */
.reality-distortion {
    position: relative;
    transition: all 0.3s ease;
}

.reality-distortion:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(5deg);
    filter: hue-rotate(180deg) brightness(1.2);
}

/* Temporal Loop Effect */
.temporal-loop {
    position: relative;
}

.temporal-loop::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 212, 255, 0.1) 50%, transparent 70%);
    animation: temporal-sweep 2s ease-in-out infinite;
}

@keyframes temporal-sweep {
    0% { transform: translateX(-100%) translateY(-100%); }
    100% { transform: translateX(100%) translateY(100%); }
}

/* Quantum Superposition Effect */
.quantum-superposition {
    position: relative;
}

.quantum-superposition::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(0, 212, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(124, 58, 237, 0.2) 0%, transparent 50%);
    animation: superposition-oscillate 3s ease-in-out infinite;
}

@keyframes superposition-oscillate {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

/* Charity Section */
.charity {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
    position: relative;
}

.charity::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="%2300d4ff" opacity="0.1"/><circle cx="80" cy="40" r="1" fill="%2300d4ff" opacity="0.1"/><circle cx="40" cy="80" r="1" fill="%2300d4ff" opacity="0.1"/></svg>') repeat;
    opacity: 0.3;
}

.section-subtitle {
    text-align: center;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 3rem;
}

.charity-content {
    position: relative;
    z-index: 1;
}

.charity-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    align-items: center;
}

.charity-text h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #00d4ff, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.charity-text p {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.charity-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.charity-stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.charity-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
    border-color: #00d4ff;
}

.charity-stat .stat-number {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 0.5rem;
}

.charity-stat .stat-label {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.charity-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, rgba(0, 212, 255, 0.1), rgba(124, 58, 237, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(0, 212, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    animation: rotate 10s linear infinite;
}

.image-placeholder i {
    font-size: 4rem;
    color: #00d4ff;
    z-index: 1;
    position: relative;
}

.sponsorship-opportunities {
    margin-bottom: 4rem;
}

.sponsorship-opportunities h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, #00d4ff, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.opportunity-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.opportunity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.opportunity-card:hover::before {
    left: 100%;
}

.opportunity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
    border-color: #00d4ff;
}

.opportunity-icon {
    font-size: 3rem;
    color: #00d4ff;
    margin-bottom: 1.5rem;
    text-align: center;
}

.opportunity-card h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
    text-align: center;
}

.opportunity-card p {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
}

.opportunity-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.opportunity-card li {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    color: #94a3b8;
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.opportunity-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00d4ff;
    font-weight: bold;
}

.btn-opportunity {
    background: linear-gradient(45deg, #00d4ff, #7c3aed);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-opportunity:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.4);
}

.donation-section {
    margin-bottom: 4rem;
    text-align: center;
}

.donation-section h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #00d4ff, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.donation-section p {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 3rem;
}

.donation-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.donation-option {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.donation-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.2);
    border-color: #00d4ff;
}

.donation-option h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.donation-option p {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.donation-amounts, .monthly-amounts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.amount-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amount-btn:hover, .amount-btn.active {
    background: linear-gradient(45deg, #00d4ff, #7c3aed);
    border-color: #00d4ff;
    transform: translateY(-2px);
}

.btn-donate {
    background: linear-gradient(45deg, #00d4ff, #7c3aed);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 25px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-donate:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.4);
}

.contact-charity {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
}

.contact-charity h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #00d4ff, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-charity p {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.charity-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .charity-intro {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .charity-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .opportunities-grid {
        grid-template-columns: 1fr;
    }
    
    .donation-options {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .donation-amounts, .monthly-amounts {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Initialize revolutionary effects */
document.addEventListener('DOMContentLoaded', () => {
    // Add neural network background
    const neuralNetwork = document.createElement('div');
    neuralNetwork.className = 'neural-network';
    document.body.appendChild(neuralNetwork);

    // Add quantum particles
    const quantumParticles = document.createElement('div');
    quantumParticles.className = 'quantum-particles';
    document.body.appendChild(quantumParticles);

    // Generate quantum particles
    for (let i = 0; i < 20; i++) {
        const particle = document.createElement('div');
        particle.className = 'quantum-particle';
        particle.style.left = Math.random() * 100 + '%';
        particle.style.animationDelay = Math.random() * 10 + 's';
        particle.style.animationDuration = (Math.random() * 5 + 5) + 's';
        quantumParticles.appendChild(particle);
    }

    // Add DNA helix
    const dnaHelix = document.createElement('div');
    dnaHelix.className = 'dna-helix';
    for (let i = 0; i < 3; i++) {
        const strand = document.createElement('div');
        strand.className = 'dna-strand';
        strand.style.left = (i * 20) + 'px';
        dnaHelix.appendChild(strand);
    }
    document.body.appendChild(dnaHelix);

    // Add energy field
    const energyField = document.createElement('div');
    energyField.className = 'energy-field';
    document.body.appendChild(energyField);

    // Add matrix rain
    const matrixRain = document.createElement('div');
    matrixRain.className = 'matrix-rain';
    document.body.appendChild(matrixRain);

    // Generate matrix columns
    for (let i = 0; i < 50; i++) {
        const column = document.createElement('div');
        column.className = 'matrix-column';
        column.style.left = (i * 2) + '%';
        column.style.animationDelay = Math.random() * 3 + 's';
        column.textContent = String.fromCharCode(0x30A0 + Math.random() * 96);
        matrixRain.appendChild(column);
    }

    // Add wormhole
    const wormhole = document.createElement('div');
    wormhole.className = 'wormhole';
    document.body.appendChild(wormhole);

    // Add cosmic radiation
    const cosmicRadiation = document.createElement('div');
    cosmicRadiation.className = 'cosmic-radiation';
    document.body.appendChild(cosmicRadiation);

    // Add quantum effects to cards
    document.querySelectorAll('.mission-card, .branch-card').forEach(card => {
        card.classList.add('quantum-entangled', 'neural-synapse', 'temporal-loop');
    });

    // Add dimensional portal to hero
    const hero = document.querySelector('.hero');
    if (hero) {
        hero.classList.add('dimensional-portal');
    }

    // Add reality distortion to buttons
    document.querySelectorAll('.btn-primary, .btn-secondary, .btn-branch').forEach(btn => {
        btn.classList.add('reality-distortion');
    });

    // Add quantum superposition to stats
    document.querySelectorAll('.stat-item').forEach(stat => {
        stat.classList.add('quantum-superposition');
    });
});
