* {
    box-sizing: border-box;
}
body {
    background-color: #0b0712;
    color: white;
    font-family: Arial, sans-serif;
    text-align: center;
}

h1 {
    color: #a855f7;
}

p {
    color: #d8c5f0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: #140d20;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #a855f7;
}

.nav-links a {
    color: white;
    text-decoration: none;
    margin-left: 25px;
}

.nav-links a:hover {
    color: #a855f7;
}

.hero {
    padding: 140px 20px;
    max-width: 900px;
    margin: auto;
}

.tagline {
    color: #a855f7;
    letter-spacing: 4px;
    font-size: 13px;
    font-weight: bold;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.description {
    color: #c4b5d0;
    font-size: 17px;
    line-height: 1.7;
    max-width: 650px;
    margin: 0 auto 35px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.button {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

.primary {
    background-color: #9333ea;
    color: white;
}

.primary:hover {
    background-color: #7e22ce;
}

.secondary {
    border: 1px solid #9333ea;
    color: white;
}

.secondary:hover {
    background-color: #9333ea;
}

@media (max-width: 768px) {

    .navbar {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .nav-links a {
        margin-left: 0;
    }

    .hero {
        padding: 90px 20px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .description {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .button {
        width: 180px;
        text-align: center;
    }
        .department-card {
        width: 100%;
        max-width: 350px;
    }

}

.departments {
    padding: 80px 30px;
    background-color: #100a19;
}

.departments h2 {
    font-size: 32px;
    color: white;
}

.section-description {
    color: #c4b5d0;
    margin-bottom: 40px;
}

.department-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.department-card {
    background-color: #1c1229;
    border: 1px solid #39204f;
    border-radius: 10px;
    padding: 30px;
    width: 250px;
    text-align: left;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.department-card h3 {
    color: #a855f7;
}

.department-card p {
    color: #c4b5d0;
    line-height: 1.6;
}

.department-card:hover {
    border-color: #a855f7;
    transform: translateY(-5px);
}

.about-hero {
    padding: 120px 20px 70px;
    max-width: 900px;
    margin: auto;
}

.about-hero h1 {
    font-size: 46px;
}

.about-content {
    max-width: 850px;
    margin: auto;
    padding: 50px 30px 100px;
    text-align: left;
}

.about-content h2 {
    color: #a855f7;
    margin-top: 35px;
}

.about-content p {
    color: #c4b5d0;
    line-height: 1.8;
}
.rules-hero {
    padding: 100px 20px 60px;
    max-width: 900px;
    margin: auto;
}

.rules-hero h1 {
    font-size: 42px;
}

.rules-content {
    max-width: 900px;
    margin: auto;
    padding: 20px 30px 100px;
}

.rule-card {
    background-color: #1c1229;
    border: 1px solid #39204f;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 25px;
    text-align: left;
}

.rule-card h2 {
    color: #a855f7;
}

.rule-card ul {
    color: #c4b5d0;
    line-height: 2;
}

.departments-hero {
    padding: 100px 20px 60px;
    max-width: 900px;
    margin: auto;
}

.departments-hero h1 {
    font-size: 46px;
}

.department-directory {
    max-width: 1100px;
    margin: auto;
    padding: 20px 30px 100px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.department-profile {
    background-color: #1c1229;
    border: 1px solid #39204f;
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.department-profile:hover {
    transform: translateY(-5px);
    border-color: #a855f7;
}

.department-profile h2 {
    color: white;
    margin-bottom: 5px;
}

.department-acronym {
    color: #a855f7;
    font-weight: bold;
    letter-spacing: 3px;
}

.department-profile > p:not(.department-acronym) {
    color: #c4b5d0;
    line-height: 1.7;
}

.department-status {
    display: inline-block;
    font-size: 12px;
    font-weight: bold;
    padding: 7px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.department-status.active {
    background-color: #14532d;
    color: #86efac;
}

.department-status.preparing {
    background-color: #422006;
    color: #fcd34d;
}

.department-link {
    display: inline-block;
    margin-top: 15px;
    color: #c084fc;
    text-decoration: none;
    font-weight: bold;
}

.department-link:hover {
    color: white;
}

@media (max-width: 768px) {
    .department-directory {
        grid-template-columns: 1fr;
    }

    .departments-hero h1 {
        font-size: 36px;
    }
}

.lspd-hero {
    padding: 120px 20px 80px;
    max-width: 950px;
    margin: auto;
}

.lspd-hero h1 {
    font-size: 52px;
}

.lspd-content {
    max-width: 1100px;
    margin: auto;
    padding: 40px 30px 100px;
    text-align: left;
}

.lspd-content h2 {
    color: #a855f7;
    margin-top: 50px;
    margin-bottom: 20px;
}

.lspd-content > p {
    color: #c4b5d0;
    line-height: 1.8;
}

.lspd-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.lspd-card {
    background-color: #1c1229;
    border: 1px solid #39204f;
    border-radius: 10px;
    padding: 25px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.lspd-card:hover {
    transform: translateY(-5px);
    border-color: #a855f7;
}

.lspd-card h3 {
    color: #c084fc;
}

.lspd-card p {
    color: #c4b5d0;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .lspd-hero h1 {
        font-size: 36px;
    }

    .lspd-grid {
        grid-template-columns: 1fr;
    }
}
/* LSPD BLUE THEME */

.lspd-page {
    background-color: #080e18;
}

.lspd-page .navbar {
    background-color: #0c1728;
    border-bottom: 1px solid #1e3a5f;
}

.lspd-page .logo {
    color: #60a5fa;
}

.lspd-page .nav-links a:hover {
    color: #60a5fa;
}

.lspd-page h1,
.lspd-page h2 {
    color: #60a5fa;
}

.lspd-page .lspd-card {
    background-color: #101e32;
    border-color: #1e3a5f;
}

.lspd-page .lspd-card:hover {
    border-color: #60a5fa;
}

.lspd-page .lspd-card h3 {
    color: #93c5fd;
}

.lspd-page .lspd-content h2 {
    color: #60a5fa;
}

.lspd-page .button.primary {
    background-color: #2563eb;
}

.lspd-page .button.primary:hover {
    background-color: #1d4ed8;
}


.lspd-rank {
    color: #60a5fa;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 15px;
}
/* LSPD RANK STRUCTURE */

.lspd-rank-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.lspd-rank-card {
    background-color: #101e32;
    border: 1px solid #1e3a5f;
    border-radius: 10px;
    padding: 25px;
    text-align: left;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.lspd-rank-card:hover {
    transform: translateY(-5px);
    border-color: #60a5fa;
}

.lspd-rank-card h3 {
    color: #60a5fa;
    margin-top: 0;
    margin-bottom: 15px;
}

.lspd-rank-card ul {
    color: #cbd5e1;
    line-height: 2;
    padding-left: 20px;
}

@media (max-width: 768px) {
    .lspd-rank-grid {
        grid-template-columns: 1fr;
    }
}
/* SPECIALIST DIVISION PAGES */

.division-hero {
    padding: 120px 20px 80px;
    max-width: 950px;
    margin: auto;
}

.division-hero h1 {
    font-size: 46px;
    color: #60a5fa;
}

.division-badge {
    width: 110px;
    height: 110px;
    border: 3px solid #60a5fa;
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #101e32;
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.2);
}

.division-badge span {
    color: #93c5fd;
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .division-hero h1 {
        font-size: 32px;
    }
}
.cad-page {
    margin: 0;
    min-height: 100vh;
    background: #0b0910;
    color: #ffffff;
    font-family: Arial, sans-serif;
}

.cad-login-container {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.cad-login-branding {
    background: linear-gradient(145deg, #211333, #100b18 75%);
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.cad-logo-mark {
    width: 65px;
    height: 65px;
    border: 2px solid #a855f7;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    color: #c084fc;
    margin-bottom: 55px;
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.2);
}

.cad-eyebrow {
    color: #c084fc;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 4px;
    margin-bottom: 18px;
}

.cad-login-branding h1 {
    font-size: 58px;
    line-height: 1.15;
    letter-spacing: 2px;
    margin: 0;
}

.cad-brand-description {
    color: #b8a9c7;
    max-width: 400px;
    line-height: 1.8;
    margin-top: 25px;
}

.cad-brand-footer {
    position: absolute;
    bottom: 35px;
    left: 80px;
    color: #796b89;
    font-size: 10px;
    letter-spacing: 2px;
}

.cad-login-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: #0b0910;
}

.cad-login-card {
    width: 100%;
    max-width: 420px;
}

.cad-login-card h2 {
    font-size: 38px;
    margin: 0 0 12px;
}

.cad-login-description {
    color: #a99bb6;
    line-height: 1.6;
    margin-bottom: 30px;
}

.cad-login-divider {
    height: 1px;
    background: #30243b;
    margin: 28px 0;
}

.cad-discord-button {
    width: 100%;
    padding: 17px;
    background: #352044;
    border: 1px solid #654080;
    border-radius: 9px;
    color: #ffffff;
    font-size: 15px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: not-allowed;
    opacity: 0.65;
}

.cad-discord-icon {
    background: #5865F2;
    border-radius: 7px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.cad-login-notice {
    color: #a78bba;
    font-size: 12px;
    text-align: center;
    margin-top: 14px;
}

.cad-access-note {
    color: #82758d;
    font-size: 12px;
    line-height: 1.8;
    text-align: center;
}

.cad-back-link {
    display: block;
    text-align: center;
    margin-top: 35px;
    color: #c084fc;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.cad-back-link:hover {
    color: #e9d5ff;
}
@media (max-width: 768px) {

    .cad-login-container {
        grid-template-columns: 1fr;
    }

    .cad-login-branding {
        padding: 45px 30px;
        min-height: 340px;
    }

    .cad-login-branding h1 {
        font-size: 38px;
    }

    .cad-logo-mark {
        margin-bottom: 30px;
    }

    .cad-brand-footer {
        position: static;
        margin-top: 35px;
    }

    .cad-login-panel {
        padding: 55px 25px;
    }

    .cad-login-card h2 {
        font-size: 30px;
    }
}

/* =================================
   NOVAIRE CAD - DASHBOARD
================================= */

.cad-layout {
    min-height: 100vh;
    display: flex;
    background: #0b0910;
    color: #ffffff;
}

/* SIDEBAR */

.cad-sidebar {
    width: 265px;
    min-height: 100vh;
    background: #100c16;
    border-right: 1px solid #292033;
    display: flex;
    flex-direction: column;
    padding: 25px 18px;
    flex-shrink: 0;
}

.cad-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 5px 5px 35px;
}

.cad-sidebar-brand h2 {
    font-size: 19px;
    letter-spacing: 2px;
    margin: 0 0 5px;
}

.cad-sidebar-brand span {
    font-size: 8px;
    letter-spacing: 1px;
    color: #9685a5;
}

.cad-logo-mark {
    width: 45px;
    height: 45px;
    border: 2px solid #a855f7;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    font-weight: bold;
    color: #c084fc;
    margin: 0;
}

.cad-sidebar-section {
    color: #776982;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 2px;
    margin: 20px 10px 12px;
}

.cad-navigation {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cad-nav-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 12px;
    border-radius: 8px;
    color: #b9adca;
    text-decoration: none;
    font-size: 13px;
}

.cad-nav-item > span {
    width: 19px;
    text-align: center;
    font-size: 17px;
}

.cad-nav-item.active {
    background: #29183a;
    color: #d8b4fe;
    border: 1px solid #503267;
}

.cad-nav-planned {
    opacity: 0.65;
    cursor: default;
}

.cad-nav-planned small {
    margin-left: auto;
    font-size: 8px;
    color: #a78bba;
    letter-spacing: 1px;
}

.cad-sidebar-bottom {
    margin-top: auto;
    padding: 18px 5px 5px;
    border-top: 1px solid #292033;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cad-user-avatar {
    width: 37px;
    height: 37px;
    border-radius: 50%;
    background: #352044;
    color: #d8b4fe;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.cad-user-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cad-user-details strong {
    font-size: 12px;
}

.cad-user-details span {
    font-size: 10px;
    color: #8d7c9c;
}

/* MAIN AREA */

.cad-main {
    flex: 1;
    min-width: 0;
    padding: 35px 45px;
}

.cad-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 25px;
    border-bottom: 1px solid #292033;
}

.cad-page-label {
    color: #a855f7;
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: bold;
}

.cad-topbar h1 {
    font-size: 27px;
    margin: 7px 0 0;
}

.cad-topbar-right {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #a99bb6;
    font-size: 12px;
}

.cad-status-indicator {
    width: 8px;
    height: 8px;
    background: #a855f7;
    border-radius: 50%;
}

/* WELCOME PANEL */

.cad-welcome {
    margin-top: 30px;
    padding: 35px;
    border: 1px solid #422954;
    border-radius: 13px;
    background: linear-gradient(110deg, #251432, #130e1b);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cad-purple-label {
    color: #c084fc;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 2px;
}

.cad-welcome h2 {
    font-size: 27px;
    margin: 12px 0;
}

.cad-welcome p {
    color: #b8a9c7;
    font-size: 13px;
    line-height: 1.7;
    max-width: 550px;
}

.cad-welcome-icon {
    width: 85px;
    height: 85px;
    border: 2px solid #7845a0;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: bold;
    color: #c084fc;
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.15);
}

/* DEPARTMENT CARDS */

.cad-section {
    margin-top: 40px;
}

.cad-section-heading {
    margin-bottom: 18px;
}

.cad-section-heading h2 {
    font-size: 19px;
    margin: 0 0 7px;
}

.cad-section-heading p {
    color: #8f809d;
    font-size: 12px;
    margin: 0;
}

.cad-department-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.cad-department-card {
    background: #130f19;
    border: 1px solid #30243b;
    border-radius: 11px;
    padding: 23px;
    min-height: 190px;
}

.cad-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 9px;
    background: #29183a;
    color: #c084fc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 18px;
}

.cad-card-status {
    color: #b58ad3;
    font-size: 8px;
    letter-spacing: 1.5px;
    font-weight: bold;
}

.cad-department-card h3 {
    font-size: 16px;
    margin: 9px 0;
}

.cad-department-card p {
    color: #96889f;
    font-size: 11px;
    line-height: 1.7;
}

/* INFORMATION CARDS */

.cad-information-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.cad-information-card {
    background: #130f19;
    border: 1px solid #30243b;
    border-radius: 9px;
    padding: 20px;
}

.cad-information-card span {
    color: #8e7c9d;
    font-size: 9px;
    letter-spacing: 1.5px;
}

.cad-information-card h3 {
    font-size: 13px;
    margin: 10px 0 0;
    color: #d8cce3;
}

.cad-footer {
    margin-top: 55px;
    padding-top: 20px;
    border-top: 1px solid #292033;
    color: #665970;
    font-size: 9px;
    letter-spacing: 1.5px;
}

/* RESPONSIVE LAYOUT */

@media (max-width: 1000px) {
    .cad-department-grid,
    .cad-information-grid {
        grid-template-columns: 1fr;
    }

    .cad-main {
        padding: 25px;
    }
}

@media (max-width: 700px) {
    .cad-layout {
        flex-direction: column;
    }

    .cad-sidebar {
        width: auto;
        min-height: auto;
    }

    .cad-sidebar-bottom {
        margin-top: 20px;
    }

    .cad-main {
        padding: 20px;
    }

    .cad-welcome {
        padding: 23px;
    }

    .cad-welcome-icon {
        display: none;
    }

    .cad-topbar-right {
        display: none;
    }
}

/* =================================
   NOVAIRE CAD - REGISTRATION
================================= */

.cad-register-container {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #0b0910;
    color: #ffffff;
}

.cad-register-branding {
    background: linear-gradient(145deg, #211333, #100b18 75%);
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.cad-register-branding h1 {
    font-size: 55px;
    line-height: 1.15;
    margin: 0;
    letter-spacing: 2px;
}

.cad-register-branding > p {
    color: #b8a9c7;
    max-width: 390px;
    line-height: 1.8;
    margin-top: 25px;
}

.cad-register-footer {
    position: absolute;
    bottom: 35px;
    left: 80px;
    color: #796b89;
    font-size: 10px;
    letter-spacing: 2px;
}

.cad-register-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 45px;
}

.cad-register-card {
    width: 100%;
    max-width: 430px;
}

.cad-register-card h2 {
    font-size: 36px;
    margin: 12px 0;
}

.cad-register-card form {
    display: flex;
    flex-direction: column;
}

.cad-register-card label {
    font-size: 12px;
    color: #c9bad6;
    margin: 17px 0 8px;
}

.cad-register-card input {
    width: 100%;
    box-sizing: border-box;
    padding: 15px;
    background: #15101c;
    border: 1px solid #392a47;
    border-radius: 8px;
    color: #ffffff;
    font-size: 13px;
    outline: none;
}

.cad-register-card input:focus {
    border-color: #a855f7;
    box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.12);
}

.cad-register-card input::placeholder {
    color: #71647d;
}

.cad-register-button {
    margin-top: 25px;
    padding: 16px;
    background: #813db4;
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.cad-register-button:hover {
    background: #984bd0;
}

.cad-register-message {
    font-size: 12px;
    text-align: center;
    color: #f0a0a0;
    min-height: 15px;
}

.cad-register-notice {
    margin-top: 25px;
    padding: 16px;
    background: #1b1424;
    border: 1px solid #49305d;
    border-radius: 8px;
}

.cad-register-notice strong {
    color: #c084fc;
    font-size: 10px;
    letter-spacing: 1.5px;
}

.cad-register-notice p {
    color: #a99bb6;
    font-size: 11px;
    line-height: 1.7;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .cad-register-container {
        grid-template-columns: 1fr;
    }

    .cad-register-branding {
        padding: 40px 30px;
        min-height: 300px;
    }

    .cad-register-branding h1 {
        font-size: 38px;
    }

    .cad-register-footer {
        position: static;
        margin-top: 35px;
    }

    .cad-register-panel {
        padding: 45px 25px;
    }

    .cad-register-card h2 {
        font-size: 30px;
    }
}
