/* Reset */
* { margin:0; padding:0; box-sizing:border-box; font-family:'Arial', sans-serif; }

/* Body */
body {
    background: #111;
    color: #fff;
}

/* Navbar */
.neon-navbar {
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding: 20px 50px;
    background: #000;
    border-bottom: 2px solid #0ff;
}
.neon-navbar .logo {
    font-size:24px;
    color:#0ff;
    text-shadow: 0 0 5px #0ff, 0 0 10px #0ff, 0 0 20px #0ff;
}
.neon-navbar .nav-links li {
    display:inline-block;
    margin-left:20px;
}
.neon-navbar .nav-links li a {
    color:#fff;
    text-decoration:none;
    font-weight:bold;
    text-shadow: 0 0 3px #0ff;
}
.neon-navbar .nav-links li a:hover {
    color:#0ff;
    text-shadow: 0 0 5px #0ff, 0 0 10px #0ff;
}

/* Hero Section */
.hero {
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    height:80vh;
    text-align:center;
    padding:20px;
}
.neon-text {
    font-size:36px;
    text-align:center;
    color:#0ff;
    text-shadow: 0 0 5px #0ff, 0 0 10px #0ff, 0 0 20px #0ff;
    margin-bottom:20px;
}
.neon-btn {
    padding:15px 30px;
    color:#fff;
    text-decoration:none;
    background:#0ff;
    border:none;
    border-radius:10px;
    font-size:18px;
    cursor:pointer;
    box-shadow: 0 0 5px #0ff, 0 0 10px #0ff, 0 0 20px #0ff;
    transition: 0.3s;
}
.neon-btn:hover {
    box-shadow: 0 0 20px #0ff, 0 0 40px #0ff, 0 0 60px #0ff;
}

/* Concept Cards */
.concepts {
    display:flex;
    justify-content:space-around;
    flex-wrap:wrap;
    padding:50px 20px;
}
.card {
    width:220px;
    height:180px;
    background:#111;
    margin:20px;
    padding:20px;
    border-radius:15px;
    box-shadow: 0 0 10px #0ff;
    text-align:center;
    transition:0.3s;
}
.card h2 { margin-bottom:10px; }
.card:hover {
    box-shadow: 0 0 20px #0ff, 0 0 40px #0ff;
    transform: scale(1.05);
}
.blue-neon { box-shadow:0 0 10px #0ff; }
.orange-neon { box-shadow:0 0 10px #ff6600; }
.pink-neon { box-shadow:0 0 10px #ff33cc; }
.white-neon { box-shadow:0 0 10px #fff; }

/* Testimonials */
.testimonials { padding:50px 20px; text-align:center; }
.carousel { display:flex; overflow-x:auto; gap:20px; padding-top:20px; }
.slide {
    min-width:250px;
    padding:20px;
    background:#111;
    border-radius:15px;
    box-shadow: 0 0 10px #0ff;
}

/* Contact Form */
.contact-form { padding:50px 20px; text-align:center; }
.contact-form form { display:flex; flex-direction:column; align-items:center; gap:15px; }
.contact-form input, .contact-form textarea {
    width:300px;
    padding:10px;
    border-radius:10px;
    border:none;
    background:#222;
    color:#fff;
    box-shadow: 0 0 5px #0ff;
}
.contact-form button { margin-top:10px; }

/* Subsection Cards Container */
.cards-container {
    display:flex;
    justify-content:space-around;
    flex-wrap:wrap;
    padding:20px;
}

/* Jadual Neon */
.neon-table {
    width:90%;
    margin: 0 auto 50px auto;
    border-collapse: collapse;
    text-align:center;
    color:#0ff;
    text-shadow: 0 0 5px #0ff;
}
.neon-table th, .neon-table td {
    border: 1px solid #0ff;
    padding: 12px;
    font-weight:bold;
}
.neon-table th {
    background: #111;
}
.neon-table tr:nth-child(even) {
    background: #222;
}
.neon-table tr:hover {
    background: #0ff;
    color: #111;
    transition:0.3s;
}

/* Shuttle Route */
.route-map {
    display:flex;
    justify-content:space-around;
    flex-wrap:wrap;
    padding:30px 20px;
    position: relative;
}
.station {
    background:#111;
    padding:20px;
    border-radius:50%;
    width:120px;
    height:120px;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    font-weight:bold;
    box-shadow: 0 0 10px #ff6600;
    color:#ff6600;
    transition:0.3s;
}
.station:hover {
    box-shadow: 0 0 20px #ff6600, 0 0 40px #ff6600;
    transform: scale(1.1);
}

/* Line connecting stations */
.route-map::before {
    content:"";
    position:absolute;
    top:50%;
    left:5%;
    width:90%;
    height:4px;
    background: linear-gradient(to right, #ff6600, #ffa500);
    z-index:-1;
}

/* Shuttle Schedule & Safety */
.schedule-safety {
    padding:50px 20px;
    text-align:center;
}
.neon-list {
    list-style:none;
    padding:0;
    margin-top:20px;
}
.neon-list li {
    margin:15px 0;
    font-size:18px;
    color:#ff6600;
    text-shadow: 0 0 5px #ff6600, 0 0 10px #ff6600;
}

/* ===== Ngasuh Budak Page Styles ===== */

/* Neon Cards Pink & Purple */
.pink-neon {
    box-shadow: 0 0 10px #ff33cc;
    color: #ff33cc;
    transition:0.3s;
}
.pink-neon:hover {
    box-shadow: 0 0 20px #ff33cc, 0 0 40px #ff33cc;
    transform: scale(1.05);
}
.purple-neon {
    box-shadow: 0 0 10px #9933ff;
    color: #9933ff;
    transition:0.3s;
}
.purple-neon:hover {
    box-shadow: 0 0 20px #9933ff, 0 0 40px #9933ff;
    transform: scale(1.05);
}

/* ===== NGSystem Page Styles ===== */

/* Summary Cards */
.summary-cards {
    padding:50px 20px;
    text-align:center;
}
.summary-cards .card {
    width:220px;
    height:140px;
    display:inline-block;
    margin:20px;
    padding:20px;
    border-radius:15px;
    background:#111;
    box-shadow: 0 0 10px #fff;
    color:#fff;
    transition:0.3s;
}
.summary-cards .card:hover {
    box-shadow: 0 0 20px #fff, 0 0 40px #fff;
    transform: scale(1.05);
}

/* Parent Table */
.parent-table {
    padding:50px 20px;
    text-align:center;
}
.parent-table .neon-table th, .parent-table .neon-table td {
    border:1px solid #fff;
    padding:12px;
    color:#fff;
    text-shadow:0 0 5px #fff;
}
.parent-table .neon-table tr:nth-child(even) { background:#222; }
.parent-table .neon-table tr:hover { background:#fff; color:#111; transition:0.3s; }

/* Neon Button */
.parent-table .neon-btn {
    padding:8px 15px;
    border-radius:8px;
    font-weight:bold;
    text-shadow:0 0 3px #fff;
    cursor:pointer;
}

/* ===== Global Responsive ===== */
body {
    font-size:16px;
}

@media only screen and (max-width: 1024px) {
    .cards-container {
        flex-direction: column;
        align-items: center;
    }
    .summary-cards .card, .cards-container .card {
        width: 80%;
        margin-bottom: 20px;
    }
    .neon-navbar {
        flex-direction: column;
        align-items: flex-start;
    }
    .neon-navbar .nav-links {
        margin-top:10px;
    }
}

/* Mobile */
@media only screen and (max-width: 768px) {
    .hero h1 {
        font-size:28px;
    }
    .hero p {
        font-size:16px;
    }
    .neon-table {
        font-size:14px;
    }
}

/* ===== Neon Animations ===== */
.neon-text {
    animation: neon-flicker 1.5s infinite alternate;
}

.neon-btn {
    animation: neon-pulse 2s infinite alternate;
}

.card {
    animation: neon-pulse 2.5s infinite alternate;
}

/* Flicker Text Animation */
@keyframes neon-flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        text-shadow:
        0 0 2px currentColor,
        0 0 5px currentColor,
        0 0 10px currentColor,
        0 0 20px currentColor,
        0 0 30px currentColor;
    }
    20%, 24%, 55% {
        text-shadow: none;
    }
}

/* Pulse Glow Animation */
@keyframes neon-pulse {
    0% { box-shadow: 0 0 5px currentColor; transform: scale(1); }
    50% { box-shadow: 0 0 20px currentColor, 0 0 40px currentColor; transform: scale(1.03); }
    100% { box-shadow: 0 0 5px currentColor; transform: scale(1); }
}

/* Smooth Scroll for Anchor Links */
html {
    scroll-behavior: smooth;
}

/* Hover Effects for Buttons on Mobile & Desktop */
.neon-btn:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}