:root {
    --accent: #ff9e1b;
    --neon-glow: 0 0 10px rgba(255, 158, 27, 0.8);
}

body {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    background: radial-gradient(circle at center, #0a0f2c, #050518);
    color: #fff;
    overflow-x: hidden;
}

h1 {
    text-align: center;
    font-size: 3rem;
    margin-top: 30px;
    color: #ffcc00;
    text-shadow: 0 0 15px gold;
}

.division-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    flex-wrap: wrap;
}

.division {
    background: rgba(255, 204, 0, 0.05);
    border: 2px solid gold;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    width: 240px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    box-shadow: 0 0 20px gold;
}

.division:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px gold;
}

.division img {
    width: 130px;
    height: 130px;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 15px white);
}

.description {
    display: none;
    margin-top: 10px;
    font-size: 0.9rem;
    color: gold;
}

.form-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background: #12192c;
    border-radius: 10px;
    border: 2px solid #00ffe1;
    box-shadow: 0 0 20px #00ffe1;
}

.form-container h2 {
    text-align: center;
    color: #00ffe1;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #00ffe1;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: #1e253a;
    color: #fff;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    box-shadow: 0 0 10px #00ffe1;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: #00ffe1;
    color: #000;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #00c9b8;
}

.blast {
    display: none;
    text-align: center;
    font-size: 2rem;
    margin-top: 20px;
    color: #fff;
    text-shadow: 0 0 20px red;
    animation: explode 1s ease-out forwards;
}

#logout-btn,
#login-link {
    position: fixed;
    top: 10px;
    right: 10px;
    background-color: gold;
    color: black;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 0 10px gold;
    z-index: 999;
    text-decoration: none;
}

#logout-btn:hover,
#login-link:hover {
    background-color: white;
}

header {
    background-color: #111;
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);

}

.header-content {
    display: flex;
    flex-direction: row;

    align-items: center;
    justify-content: space-between;

}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s;
    padding-left: 20px;
}

.logo:hover {
    transform: scale(1.03);
}

.logo img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 0 8px var(--accent));
    transition: transform 0.3s;
}

.logo:hover img {
    transform: rotate(5deg);
}

.logo-text h1 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-light);
    white-space: nowrap;
    text-shadow: var(--text-glow);
}

.logo-text p {
    margin: 3px 0 0;
    font-size: 0.9rem;
    color: var(--accent);
    text-shadow: var(--neon-glow);
    letter-spacing: 1px;
}

.apply_now {
    background-color: gold;
    color: #000;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 0 10px gold;
}

@media (max-width: 1400px) {
    .header-content {
        flex-direction: column;
        gap: 10px;
    }
}

.menu-toggle,
.menu_toggle_inNav {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 0;
    position: absolute;
    top: 20px;
    right: 20px;
}

.menu_toggle_inNav {
    color: black !important;
}

@media (max-width: 576px) {
    .logo {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .logo img {
        height: 50px;
    }

    .hero h2 {
        font-size: 2.4rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .btn {
        padding: 14px 28px;
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .feature-card {
        padding: 25px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    padding: 0;
}

nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s;
    position: relative;
    padding: 5px 0;
    white-space: nowrap;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent);
    box-shadow: var(--neon-glow);
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a.apply_now:hover::after {
    border-radius: 8px 8px 0 0;
}

@media (max-width: 990px) {

    .menu-toggle,
    .menu_toggle_inNav {
        display: block;
    }

    header {
        position: sticky !important;
    }

    .header-content {
        flex-direction: row !important;
        align-items: center;
        justify-content: center;
    }

    .header-content nav {
        transform: translate(100%, 0%);
        width: 100%;
        height: 100vh;
        max-width: 400px;
        background-color: white;
        color: black !important;
        position: absolute;
        top: 0;
        right: 0px;
        transition: transform 0.3s ease, opacity 0.3s ease 0.1s;
        display: none;
        opacity: 0;
        color: white;
    }
    
    .header-content nav.active {
        opacity: 1;
        display: block;
        transform: translate(0%, 0%);
    }

    nav ul {
        gap: 25px;
        flex-direction: column-reverse;
        justify-content: center;
        text-align: center;
        align-items: center;
        height: 100%;
        width: 100%;
    }

    nav ul li a {
        color: #000;
        text-decoration: none;
        font-weight: 500;
        font-size: 1rem;
        transition: all 0.3s;
        position: relative;
        padding: 5px 0;
        white-space: nowrap;
    }

}

nav ul li a:not(.apply_now):hover {
    color: var(--accent);
    text-shadow: var(--neon-glow);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent);
    box-shadow: var(--neon-glow);
    transition: width 0.3s;
}

nav ul li a:not(.apply_now):hover::after {
    width: 100%;
}

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 1s, visibility 1s;
}

#loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-logo {
    width: 180px;
    height: 180px;
    object-fit: contain;
    margin-bottom: 30px;
    animation: pulse 2s infinite;
    filter: drop-shadow(0 0 15px rgba(255, 158, 27, 0.7));
}

.loading-text {
    color: var(--accent);
    font-size: 1.8rem;
    text-shadow: var(--neon-glow);
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-align: center;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.9;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

.loading-progress {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, var(--accent), #ff6b1b);
    box-shadow: var(--neon-glow);
    animation: loadProgress 2s forwards;
}

@keyframes loadProgress {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

footer {
    font-family: 'Orbitron', sans-serif;
    background-color: rgba(10, 31, 68, 0.95);
    padding: 100px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-right: 60px;
    margin-bottom: 60px;
    padding: 0 24px;
}

.footer-section h3 {
    color: var(--accent);
    margin-bottom: 30px;
    font-size: 1.6rem;
    font-weight: 600;
    text-shadow: var(--neon-glow);
}

.footer-section p {
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(8px);
    text-shadow: var(--neon-glow);
}

.footer-links a i {
    font-size: 0.9rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-size: 1.05rem;
}

.contact-info i {
    color: var(--accent);
    width: 24px;
    text-align: center;
    text-shadow: var(--neon-glow);
    font-size: 1.1rem;
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-light);
    font-size: 1.3rem;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--accent);
    color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--neon-glow);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 1rem;
}