* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    font-family: Tahoma, "Segoe UI", sans-serif;
    color: #eef5ff;
    line-height: 1.8;
    background-color: #040918;
    background-image: url("../studentArea/assets/images/backGround_Login.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
@supports (background: image-set(url("../studentArea/assets/images/backGround_Login.webp") type("image/webp"))) {
    body {
        background-image: image-set(
            url("../studentArea/assets/images/backGround_Login.webp") type("image/webp"),
            url("../studentArea/assets/images/backGround_Login.jpg") type("image/jpeg")
        );
    }
}
@property --neon-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}
a { color: #9fd4ff; }
img { max-width: 100%; height: auto; }
.skip {
    position: absolute;
    right: 1rem;
    top: -4rem;
    background: #1568ee;
    color: #fff;
    padding: .4rem .8rem;
    border-radius: 999px;
    z-index: 5;
}
.skip:focus { top: .6rem; }
.wrap { width: min(1080px, calc(100% - 1.4rem)); margin: 0 auto; position: relative; z-index: 1; }
.topbar, .glass, .hero, .card, .branch, .cta {
    position: relative;
    background: linear-gradient(180deg, rgba(14, 42, 110, .78), rgba(7, 22, 68, .88));
    border: 2px solid transparent;
    animation: glow-pulse 4.5s ease-in-out infinite;
}
.topbar::before,
.glass::before,
.hero::before,
.card::before,
.branch::before,
.cta::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    padding: 2px;
    background: conic-gradient(from var(--neon-angle), #3de0ff, #7a5cff, #ff4ec8, #ffc14d, #3dffc2, #3de0ff);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    animation: neon-spin 6s linear infinite;
    pointer-events: none;
}
.card:nth-child(2)::before,
.branch:nth-child(2)::before { animation-duration: 8s; animation-direction: reverse; }
.card:nth-child(3)::before { animation-duration: 7s; }
.card:nth-child(4)::before { animation-duration: 9s; animation-direction: reverse; }
.card > * { position: relative; z-index: 1; }
.card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, .18) 48%, transparent 64%);
    transform: translateX(130%);
    pointer-events: none;
}
.topbar {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin-top: 1rem;
    padding: .55rem .7rem;
    border-radius: 999px;
}
.brand { display: flex; align-items: center; gap: .55rem; color: #fff; text-decoration: none; font-weight: 800; }
.brand img { height: 42px; width: auto; }
.menu { display: flex; flex-wrap: wrap; gap: .35rem .7rem; margin-right: auto; list-style: none; padding: 0; }
.menu a, .btn {
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    border: 1px solid rgba(120, 180, 255, .4);
    padding: .28rem .75rem;
    background: rgba(8, 28, 80, .45);
}
.btn.solid {
    background: linear-gradient(180deg, #5ec0ff, #1568ee);
    border: 0;
    box-shadow: 0 0 16px rgba(40, 140, 255, .85), 0 0 32px rgba(255, 80, 200, .25);
    font-weight: 800;
    animation: btn-glow 2.8s ease-in-out infinite;
}
.hero, .glass, .cta { border-radius: 28px; padding: 1.4rem 1.2rem; }
.hero { margin: 1.2rem 0; text-align: center; }
.kicker { color: #9fd4ff; margin: 0; }
h1, h2, h3 { line-height: 1.4; margin: 0 0 .4rem; }
h1 {
    font-size: 2rem;
    text-shadow: 0 0 12px rgba(120, 210, 255, .85), 0 0 28px rgba(120, 90, 255, .45);
    animation: title-glow 3.2s ease-in-out infinite;
}
.lead { color: #d5e6ff; margin: .4rem auto 1rem; max-width: 40rem; }
.actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .6rem; }
section { margin: 1.3rem 0; }
h2 { text-align: center; font-size: 1.45rem; }
.intro { text-align: center; color: #d7e6ff; margin: 0 auto .9rem; max-width: 42rem; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .85rem; }
.card, .branch { border-radius: 22px; padding: 1rem; }
.card img { width: 100%; height: 180px; object-fit: cover; border-radius: 16px; margin-bottom: .6rem; }
.card h3 { color: #8ecbff; }
.card p, .branch p, li { color: #d7e6ff; }
.benefits { margin: 0; padding-right: 1.1rem; }
.benefits li { margin: .35rem 0; }
.branches { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.cta { text-align: center; }
footer { text-align: center; color: #d5e2f8; padding: 1.2rem .6rem 1.6rem; }
footer a { color: #7ecbff; }
.socials { display: flex; justify-content: center; gap: .7rem; list-style: none; padding: 0; }
@keyframes neon-spin { to { --neon-angle: 360deg; } }
@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 16px rgba(60, 180, 255, .35), 0 0 36px rgba(120, 80, 255, .18); }
    50% { box-shadow: 0 0 26px rgba(255, 80, 190, .45), 0 0 48px rgba(255, 180, 70, .28); }
}
@keyframes sheen {
    0%, 55% { transform: translateX(130%); }
    100% { transform: translateX(-130%); }
}
@keyframes title-glow {
    0%, 100% { text-shadow: 0 0 12px rgba(120, 210, 255, .75), 0 0 26px rgba(120, 90, 255, .35); }
    50% { text-shadow: 0 0 18px rgba(255, 210, 120, .9), 0 0 36px rgba(80, 180, 255, .55); }
}
@keyframes btn-glow {
    0%, 100% { box-shadow: 0 0 14px rgba(40, 140, 255, .7); }
    50% { box-shadow: 0 0 22px rgba(80, 200, 255, 1), 0 0 36px rgba(255, 90, 190, .45); }
}
@media (prefers-reduced-motion: reduce) {
    .topbar, .glass, .hero, .card, .branch, .cta,
    .topbar::before, .glass::before, .hero::before, .card::before, .branch::before, .cta::before,
    .card::after, h1, .btn.solid {
        animation: none;
    }
}
@media (max-width: 720px) {
    .topbar { border-radius: 22px; flex-wrap: wrap; }
    .menu { width: 100%; }
    .grid, .branches { grid-template-columns: 1fr; }
    h1 { font-size: 1.55rem; }
}
