/* ===== RESET AND BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #000000;
    --dark-blue: #0a0a2a;
    --deep-blue: #0f0c29;
    --neon-red: #ff0033;
    --neon-cyan: #00ffff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 0, 51, 0.3);
    --text-white: #ffffff;
    --text-light: rgba(255, 255, 255, 0.9);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced Glassmorphism Effects */
.glass-effect {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 0 15px rgba(255, 255, 255, 0.05);
}

body {
    font-family: 'Exo 2', sans-serif;
    background: linear-gradient(135deg, var(--black), var(--deep-blue), var(--dark-blue));
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== NAVIGATION ===== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--neon-red);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--neon-red);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.nav-menu a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
    background: rgba(0, 255, 255, 0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--neon-red);
    margin: 3px 0;
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.particles-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 0, 51, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: floatBackground 20s infinite linear;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: moveGrid 15s infinite linear;
}

@keyframes floatBackground {
    0% { transform: translateY(0) translateX(0); }
    100% { transform: translateY(-50px) translateX(-50px); }
}

@keyframes moveGrid {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(30px) translateY(30px); }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 2rem;
}

.logo-container {
    margin-bottom: 2rem;
    animation: floatLogo 4s ease-in-out infinite;
}

.hero-logo {
    width: 300px;
    height: auto;
    filter: drop-shadow(0 0 20px var(--neon-red));
    animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes floatLogo {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

@keyframes logoGlow {
    0% { filter: drop-shadow(0 0 15px var(--neon-red)); }
    100% { filter: drop-shadow(0 0 30px var(--neon-red)), brightness(1.2); }
}

.main-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--neon-red), var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(255, 0, 51, 0.5);
    animation: titlePulse 2s ease-in-out infinite;
}

@keyframes titlePulse {
    0%, 100% { text-shadow: 0 0 20px rgba(255, 0, 51, 0.5); }
    50% { text-shadow: 0 0 30px rgba(255, 0, 51, 0.8), 0 0 40px rgba(0, 255, 255, 0.3); }
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, var(--neon-red), #ff3366);
    color: var(--text-white);
    box-shadow: 0 0 20px rgba(255, 0, 51, 0.5);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 0, 51, 0.7);
    animation: buttonGlow 1s infinite alternate;
}

@keyframes buttonGlow {
    0% { box-shadow: 0 10px 30px rgba(255, 0, 51, 0.7); }
    100% { box-shadow: 0 15px 40px rgba(255, 0, 51, 0.9); }
}

.btn-secondary {
    background: transparent;
    color: var(--neon-cyan);
    border: 2px solid var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: var(--neon-cyan);
    color: var(--black);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 255, 255, 0.5);
}

/* ===== SECTION TITLES ===== */
.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-red), var(--neon-cyan));
    border-radius: 2px;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 6rem 0;
    background: rgba(10, 10, 42, 0.7);
    backdrop-filter: blur(5px);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ===== DEPARTMENTS SECTION ===== */
.departments-section {
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.particles-field {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
    pointer-events: none;
    animation: gridFloat 25s infinite linear;
}

@keyframes gridFloat {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(40px) translateY(40px); }
}

.logo-center {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
    animation: logoFloat 3s ease-in-out infinite;
}

.center-logo {
    width: 250px;
    height: auto;
    filter: drop-shadow(0 0 15px var(--neon-red));
    animation: centerLogoGlow 2s ease-in-out infinite alternate;
}

.innovation-subtitle {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.3rem;
    color: var(--neon-cyan);
    margin-top: 1rem;
    text-shadow: 0 0 10px var(--neon-cyan);
    opacity: 0;
    animation: fadeIn 1s ease-out 1s forwards;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes centerLogoGlow {
    0% { filter: drop-shadow(0 0 10px var(--neon-red)); }
    100% { filter: drop-shadow(0 0 25px var(--neon-red)), brightness(1.1); }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    width: 100%;
    position: relative;
    z-index: 10;
}

.department-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 0 15px rgba(255, 255, 255, 0.05);
    opacity: 0;
    transform: translateY(30px);
    /* 3D effect */
    perspective: 1000px;
    transform-style: preserve-3d;
}

.department-card:nth-child(1) { animation: cardAppear 0.6s forwards 0.1s; }
.department-card:nth-child(2) { animation: cardAppear 0.6s forwards 0.2s; }
.department-card:nth-child(3) { animation: cardAppear 0.6s forwards 0.3s; }
.department-card:nth-child(4) { animation: cardAppear 0.6s forwards 0.4s; }
.department-card:nth-child(5) { animation: cardAppear 0.6s forwards 0.5s; }
.department-card:nth-child(6) { animation: cardAppear 0.6s forwards 0.6s; }
.department-card:nth-child(7) { animation: cardAppear 0.6s forwards 0.7s; }
.department-card:nth-child(8) { animation: cardAppear 0.6s forwards 0.8s; }
.department-card:nth-child(9) { animation: cardAppear 0.6s forwards 0.9s; }
.department-card:nth-child(10) { animation: cardAppear 0.6s forwards 1.0s; }
.department-card:nth-child(11) { animation: cardAppear 0.6s forwards 1.1s; }

@keyframes cardAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.department-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--neon-red), var(--neon-cyan), var(--neon-red), var(--neon-cyan));
    z-index: -1;
    border-radius: 18px;
    background-size: 400% 400%;
    animation: gradientBorder 4s ease infinite;
    opacity: 0;
}

.department-card:hover::before {
    opacity: 0.7;
}

@keyframes gradientBorder {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.department-card:hover {
    transform: perspective(1000px) translateZ(20px) translateY(-10px) scale(1.02);
    box-shadow: 
        0 15px 35px rgba(255, 0, 51, 0.3),
        0 0 25px rgba(255, 0, 51, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 0, 51, 0.5);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.department-card:hover .card-icon {
    transform: scale(1.2) rotate(10deg);
    text-shadow: 0 0 20px currentColor;
}

.department-card h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-white);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.department-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.5;
}

/* ===== JOIN SECTION ===== */
.join-section {
    padding: 6rem 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    text-align: center;
}

/* ===== JOIN FORM ===== */
.join-form {
    max-width: 600px;
    margin: 2rem auto 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 0 15px rgba(255, 255, 255, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-white);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.btn-join-form {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, var(--neon-cyan), #00ccff);
    color: var(--dark-blue);
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
}

.btn-join-form:hover {
    transform: scale(1.03);
    box-shadow: 
        0 0 25px rgba(0, 255, 255, 0.7),
        0 0 40px rgba(0, 255, 255, 0.5);
    animation: buttonRipple 1s infinite alternate;
}

.btn-join-form:active {
    transform: scale(0.98);
}

.success-message {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 8px;
    color: #00ff00;
    text-align: center;
    font-weight: 500;
    animation: fadeIn 0.5s ease;
}

.join-content {
    max-width: 700px;
    margin: 0 auto;
}

.join-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    line-height: 1.8;
}

.glow-button {
    background: linear-gradient(45deg, var(--neon-red), #ff3366);
    color: var(--text-white);
    border: none;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-family: 'Orbitron', sans-serif;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 0 20px rgba(255, 0, 51, 0.5);
    position: relative;
    overflow: hidden;
}

.glow-button:hover {
    transform: scale(1.05);
    box-shadow: 
        0 0 30px rgba(255, 0, 51, 0.8),
        0 0 50px rgba(255, 0, 51, 0.6);
    animation: buttonRipple 1s infinite alternate;
}

@keyframes buttonRipple {
    0% { box-shadow: 0 0 20px rgba(255, 0, 51, 0.6); }
    100% { box-shadow: 0 0 40px rgba(255, 0, 51, 0.9), 0 0 70px rgba(255, 0, 51, 0.7); }
}

.glow-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20px;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(25deg);
    transition: all 0.6s;
}

.glow-button:hover::before {
    left: 120%;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 6rem 0;
    background: rgba(10, 10, 42, 0.7);
    backdrop-filter: blur(5px);
}

.contact-container {
    display: flex;
    justify-content: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 10px 25px rgba(0, 255, 255, 0.2),
        0 0 20px rgba(0, 255, 255, 0.4);
    border-color: var(--neon-cyan);
    /* Add glowing effect */
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--neon-cyan);
    width: 30px;
    text-align: center;
}

.contact-item span {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--black);
    border-top: 2px solid var(--neon-red);
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.company-info h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-red);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--neon-red);
}

.company-info p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.disclaimer {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.disclaimer p {
    margin-bottom: 1rem;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.tagline {
    font-style: italic;
    color: var(--neon-cyan);
    text-shadow: 0 0 5px var(--neon-cyan);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .main-title {
        font-size: 3rem;
    }
    
    .hero-logo {
        width: 250px;
    }
    
    .center-logo {
        width: 200px;
    }
    
    .cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 10, 42, 0.95);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        padding: 2rem 0;
        backdrop-filter: blur(10px);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 80%;
        max-width: 300px;
        margin-bottom: 1rem;
    }
    
    .hero-logo, .center-logo {
        width: 200px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .department-card {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
    }
    
    .hero-logo, .center-logo {
        width: 180px;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .department-card {
        padding: 1.2rem;
    }
    
    .card-icon {
        font-size: 2.5rem;
    }
    
    .contact-item {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* ===== SCROLLBAR CUSTOMIZATION ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-blue);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--neon-red), var(--neon-cyan));
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(var(--neon-cyan), var(--neon-red));
}

/* ===== FUTURISTIC ANIMATION EFFECTS ===== */
@keyframes pulseGlow {
    0% { box-shadow: 0 0 15px rgba(255, 0, 51, 0.5); }
    50% { box-shadow: 0 0 30px rgba(255, 0, 51, 0.8), 0 0 40px rgba(0, 255, 255, 0.5); }
    100% { box-shadow: 0 0 15px rgba(255, 0, 51, 0.5); }
}

.pulse-glow {
    animation: pulseGlow 3s infinite;
}

@keyframes floatElement {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.float-element {
    animation: floatElement 6s ease-in-out infinite;
}

@keyframes neonSign {
    0%, 100% { text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px var(--neon-red), 0 0 40px var(--neon-red); }
    50% { text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px var(--neon-red), 0 0 20px var(--neon-red); }
}

.neon-sign {
    animation: neonSign 2s ease-in-out infinite alternate;
}

/* ===== ENHANCED GLASSMORPHISM ===== */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 0 15px rgba(255, 255, 255, 0.05);
}