/* ─────────────────────────────────────────────
   EduRisers — Teacher Management & Performance Portal
   Stylesheet v1.0
────────────────────────────────────────────── */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #FFFFFF;
    --bg-soft: #FDF8F5;
    --bg-card: #FFFFFF;
    --border: #E8E0D8;
    --border-accent: #FFD4B0;
    --orange: #FF6B00;
    --orange-light: #FF8C33;
    --amber: #FFB347;
    --gold: #FFDA70;
    --orange-pale: #FFF3EA;
    --text-primary: #1A1A1A;
    --text-body: #374151;
    --text-muted: #6B7280;
    --text-light: #9CA3AF;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.06);
    --nav-h: 68px;
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 8px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(to bottom, #fffcfa 0%, #fff6f0 15%, #feeee3 40%, #fde2ce 70%, #fad4b8 100%);
    background-attachment: fixed;
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
}

    /* subtle warm dot grid */
    body::before {
        content: '';
        position: fixed;
        inset: 0;
        background-image: radial-gradient(circle, rgba(255,107,0,0.06) 1px, transparent 1px);
        background-size: 32px 32px;
        pointer-events: none;
        z-index: 0;
    }

/* ─── NAV ─────────────────────────────── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6%;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    z-index: 200;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo-icon {
    width: 36px;
    height: 36px;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 8px;
    position: relative;
}

    .nav-logo-icon img {
        width: 100%;
        height: auto;
        display: block;
        margin-top: -4px;
        mix-blend-mode: multiply;
    }

.nav-wordmark {
    font-family: 'Sora', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

    .nav-wordmark .r {
        color: var(--orange);
    }

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

    .nav-links a {
        font-size: 0.875rem;
        font-weight: 500;
        color: var(--text-muted);
        text-decoration: none;
        transition: color 0.18s;
    }

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

.btn-login {
    font-family: 'Sora', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 9px 22px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--orange);
    background: transparent;
    color: var(--orange);
    cursor: pointer;
    text-decoration: none;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}

    .btn-login:hover {
        background: var(--orange);
        color: #fff;
        box-shadow: 0 4px 16px rgba(255,107,0,0.3);
    }

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

    .nav-hamburger span {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--text-muted);
        border-radius: 2px;
    }

/* ─── HERO ────────────────────────────── */
#home {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--nav-h) + 60px) 6% 80px;
    z-index: 1;
    overflow: hidden;
}

    #home::after {
        content: '';
        position: absolute;
        width: 700px;
        height: 700px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(255,107,0,0.07) 0%, rgba(255,179,71,0.04) 40%, transparent 70%);
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        pointer-events: none;
        animation: heroWash 6s ease-in-out infinite;
    }

@keyframes heroWash {
    0%,100% {
        transform: translate(-50%,-50%) scale(1);
        opacity: 1;
    }

    50% {
        transform: translate(-50%,-50%) scale(1.12);
        opacity: 0.75;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--orange);
    border: 1px solid var(--border-accent);
    background: var(--orange-pale);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 44px;
    animation: fadeUp 0.55s ease both;
}

    .hero-badge::before {
        content: '';
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--orange);
        animation: blink 2s ease-in-out infinite;
    }

@keyframes blink {
    0%,100% {
        opacity: 1
    }

    50% {
        opacity: 0.25
    }
}

.hero-icon-wrap {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 0 auto 52px;
    animation: fadeUp 0.6s 0.08s ease both;
    z-index: 2;
}

    .hero-icon-wrap::before {
        content: '';
        position: absolute;
        inset: -20px;
        border-radius: 50%;
        border: 2px dashed rgba(255,107,0,0.2);
        animation: spinOrbit 18s linear infinite;
    }

    .hero-icon-wrap::after {
        content: '';
        position: absolute;
        inset: -6px;
        border-radius: 50%;
        box-shadow: 0 0 50px 16px rgba(255,107,0,0.14), 0 0 100px 32px rgba(255,179,71,0.07);
        animation: glowBreath 4s ease-in-out infinite;
    }

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

@keyframes glowBreath {
    0%,100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

.hero-icon-img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 2;
    animation: floatIcon 5s ease-in-out infinite;
    filter: drop-shadow(0 8px 24px rgba(255,107,0,0.2));
}

@keyframes floatIcon {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.hero-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 20px;
    animation: fadeUp 0.6s 0.16s ease both;
}

    .hero-title .accent {
        background: linear-gradient(135deg, var(--orange), var(--amber));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

.hero-sub {
    max-width: 560px;
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 44px;
    animation: fadeUp 0.6s 0.22s ease both;
}

.hero-actions {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp 0.6s 0.28s ease both;
}

.btn-primary {
    font-family: 'Sora', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 13px 30px;
    border-radius: var(--radius-sm);
    border: none;
    background: linear-gradient(135deg, var(--orange), #D95A00);
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.15s;
    box-shadow: 0 4px 20px rgba(255,107,0,0.35);
}

    .btn-primary:hover {
        box-shadow: 0 6px 28px rgba(255,107,0,0.5);
        transform: translateY(-2px);
    }

.btn-outline {
    font-family: 'Sora', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    background: transparent;
    color: var(--text-body);
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.18s, color 0.18s;
}

    .btn-outline:hover {
        border-color: var(--orange);
        color: var(--orange);
    }

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── STATS BAR ───────────────────────── */
.stats-bar {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stat-cell {
    padding: 36px 20px;
    text-align: center;
    border-right: 1px solid var(--border);
    background: transparent;
}

    .stat-cell:last-child {
        border-right: none;
    }

.stat-num {
    font-family: 'Sora', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--orange), var(--amber));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ─── SHARED SECTION ──────────────────── */
section {
    position: relative;
    z-index: 1;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 6%;
}

.section-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 520px;
    line-height: 1.8;
}

/* ─── ABOUT ───────────────────────────── */
#about {
    background: transparent;
}

    #about .section-inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        align-items: center;
    }

.about-card-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.acard {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.18s;
}

    .acard:hover {
        box-shadow: var(--shadow-md);
        border-color: var(--border-accent);
        transform: translateX(4px);
    }

.acard-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--orange-pale);
    border: 1px solid var(--border-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.acard-text strong {
    display: block;
    font-family: 'Sora', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.acard-text span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ─── SERVICES ────────────────────────── */
#services {
    background: transparent;
}

.services-header {
    text-align: center;
    margin-bottom: 56px;
}

    .services-header .section-sub {
        margin: 0 auto;
    }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.scard {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px 26px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.22s, border-color 0.22s, transform 0.18s;
}

    .scard:hover {
        box-shadow: var(--shadow-md);
        border-color: var(--border-accent);
        transform: translateY(-4px);
    }

.scard-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.scard-ico {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: var(--orange-pale);
    border: 1px solid var(--border-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.scard h3 {
    font-family: 'Sora', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.scard p {
    font-size: 0.855rem;
    color: var(--text-muted);
    line-height: 1.72;
}

.scard-tag {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--orange);
    background: var(--orange-pale);
    border: 1px solid var(--border-accent);
    padding: 4px 10px;
    border-radius: 100px;
}

/* ─── ROLES ───────────────────────────── */
#roles {
    background: transparent;
}

    #roles .section-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

.roles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    width: 100%;
    margin-top: 52px;
}

.rcard {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.22s, border-color 0.22s;
    position: relative;
    overflow: hidden;
}

    .rcard::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 50%;
        height: 3px;
        background: linear-gradient(90deg, transparent, var(--orange), transparent);
        opacity: 0;
        transition: opacity 0.25s;
    }

    .rcard:hover::before {
        opacity: 1;
    }

    .rcard:hover {
        box-shadow: var(--shadow-md);
        border-color: var(--border-accent);
    }

.rcard-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: var(--orange-pale);
    border: 1.5px solid var(--border-accent);
}

.rcard h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.rcard p {
    font-size: 0.845rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.rcard-perms {
    list-style: none;
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

    .rcard-perms li {
        font-size: 0.78rem;
        color: var(--text-muted);
        display: flex;
        align-items: center;
        gap: 8px;
        justify-content: center;
    }

        .rcard-perms li::before {
            content: '';
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: var(--orange);
            flex-shrink: 0;
        }

/* ─── CONTACT ─────────────────────────── */
#contact {
    background: transparent;
}

    #contact .section-inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        align-items: start;
    }

.contact-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-top: 14px;
}

.contact-details {
    list-style: none;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .contact-details li {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 0.875rem;
        color: var(--text-muted);
    }

.ci {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: var(--orange-pale);
    border: 1px solid var(--border-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 34px 30px;
    box-shadow: var(--shadow-md);
}

    .contact-form h3 {
        font-family: 'Sora', sans-serif;
        font-size: 1rem;
        font-weight: 700;
        color: var(--text-primary);
        margin-bottom: 22px;
    }

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .form-group.full {
        grid-column: 1 / -1;
    }

    .form-group label {
        font-size: 0.72rem;
        font-weight: 700;
        color: var(--text-muted);
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        font-family: 'Inter', sans-serif;
        font-size: 0.875rem;
        color: var(--text-primary);
        background: var(--bg-soft);
        border: 1px solid var(--border);
        border-radius: var(--radius-sm);
        padding: 10px 13px;
        outline: none;
        transition: border-color 0.18s, box-shadow 0.18s;
    }

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

        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            border-color: rgba(255,107,0,0.5);
            box-shadow: 0 0 0 3px rgba(255,107,0,0.08);
        }

    .form-group textarea {
        resize: vertical;
        min-height: 90px;
    }

.form-submit {
    width: 100%;
    margin-top: 6px;
    font-family: 'Sora', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 12px;
    border-radius: var(--radius-sm);
    border: none;
    background: linear-gradient(135deg, var(--orange), #D95A00);
    color: #fff;
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.15s;
    box-shadow: 0 4px 16px rgba(255,107,0,0.3);
}

    .form-submit:hover {
        box-shadow: 0 6px 24px rgba(255,107,0,0.45);
        transform: translateY(-1px);
    }

/* ─── DIVIDER ─────────────────────────── */
.divider {
    height: 1px;
    background: var(--border);
    position: relative;
    z-index: 1;
}

/* ─── FOOTER ──────────────────────────── */
footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    padding: 36px 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    background: transparent;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo-icon {
    width: 28px;
    height: 28px;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 6px;
    opacity: 0.5;
}

    .footer-logo-icon img {
        width: 100%;
        height: auto;
        display: block;
        margin-top: -3px;
        mix-blend-mode: multiply;
    }

.footer-left p {
    font-size: 0.8rem;
    color: var(--text-light);
}

.footer-right {
    text-align: right;
}

.internal-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #DC2626;
    border: 1px solid rgba(220,38,38,0.2);
    background: rgba(220,38,38,0.05);
    padding: 4px 10px;
    border-radius: 100px;
    margin-bottom: 4px;
}

    .internal-badge::before {
        content: '';
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: #DC2626;
    }

.footer-right p {
    font-size: 0.76rem;
    color: var(--text-light);
}

/* ═══════════════════════════════════════
   LOGIN OVERLAY — GLASSMORPHISM
═══════════════════════════════════════ */

.login-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 500;
    align-items: center;
    justify-content: center;
    background: rgba(255, 248, 240, 0.55);
    backdrop-filter: blur(12px) saturate(1.4);
    -webkit-backdrop-filter: blur(12px) saturate(1.4);
    animation: overlayIn 0.28s ease both;
}

    .login-overlay.active {
        display: flex;
    }

@keyframes overlayIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.login-card {
    position: relative;
    width: 420px;
    max-width: calc(100vw - 32px);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    box-shadow: 0 8px 40px rgba(255,107,0,0.12), 0 2px 8px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.9);
    backdrop-filter: blur(24px) saturate(1.6);
    -webkit-backdrop-filter: blur(24px) saturate(1.6);
    padding: 44px 40px 40px;
    animation: cardIn 0.32s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 55%;
    height: 2px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, transparent, var(--orange), var(--amber), transparent);
}

.login-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.7);
    color: var(--text-muted);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.16s, color 0.16s;
    line-height: 1;
}

    .login-close:hover {
        background: var(--orange-pale);
        color: var(--orange);
    }

.login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

    .login-logo img {
        height: 56px;
        filter: drop-shadow(0 4px 12px rgba(255,107,0,0.2));
    }

.login-title {
    font-family: 'Sora', sans-serif;
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-primary);
    text-align: center;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

    .login-title .r {
        color: var(--orange);
    }

.login-sub {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 30px;
}

.login-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

    .login-field label {
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--text-muted);
    }

.login-input-wrap {
    position: relative;
}

.login-input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.95rem;
    pointer-events: none;
    opacity: 0.5;
}

.login-field input {
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--text-primary);
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(230,220,210,0.9);
    border-radius: 10px;
    padding: 11px 13px 11px 38px;
    outline: none;
    transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}

    .login-field input::placeholder {
        color: var(--text-light);
    }

    .login-field input:focus {
        background: #fff;
        border-color: rgba(255,107,0,0.45);
        box-shadow: 0 0 0 3px rgba(255,107,0,0.1);
    }

.login-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.login-remember {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.8rem;
    color: var(--text-muted);
    cursor: pointer;
}

    .login-remember input[type="checkbox"] {
        accent-color: var(--orange);
        width: 14px;
        height: 14px;
    }

.login-forgot {
    font-size: 0.8rem;
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.16s;
}

    .login-forgot:hover {
        opacity: 0.75;
    }

.login-btn {
    width: 100%;
    font-family: 'Sora', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 13px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, var(--orange) 0%, #C94D00 100%);
    color: #fff;
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.15s;
    box-shadow: 0 4px 18px rgba(255,107,0,0.35);
    letter-spacing: 0.01em;
}

    .login-btn:hover {
        box-shadow: 0 6px 28px rgba(255,107,0,0.5);
        transform: translateY(-1px);
    }

    .login-btn:active {
        transform: translateY(0);
    }

.login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: var(--text-light);
    font-size: 0.75rem;
}

    .login-divider::before,
    .login-divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: var(--border);
    }

.login-role-hint {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.role-chip {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 100px;
    border: 1px solid var(--border-accent);
    background: var(--orange-pale);
    color: var(--orange);
    cursor: default;
}

.login-footer-note {
    text-align: center;
    margin-top: 20px;
    font-size: 0.75rem;
    color: var(--text-light);
}

/* ─── RESPONSIVE ──────────────────────── */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

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

    #about .section-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

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

    #contact .section-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 600px) {
    .stats-bar {
        grid-template-columns: 1fr 1fr;
    }

    .stat-cell {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

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

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

    .form-row {
        grid-template-columns: 1fr;
    }

    footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-right {
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }
}

/* ─── LOGIN ALERT MESSAGES ─────────────────────────── */
.login-alert {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 12px;
    text-align: center;
    font-family: inherit;
}

    .login-alert.error {
        background: rgba(255, 80, 80, 0.15);
        color: #ff5050;
        border: 1px solid rgba(255, 80, 80, 0.3);
    }

    .login-alert.success {
        background: rgba(80, 200, 120, 0.15);
        color: #50c878;
        border: 1px solid rgba(80, 200, 120, 0.3);
    }