﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.s8-visual {
    margin-top: 14px;
    border: 1px solid #cfd8e3;
    border-radius: 20px;
    background: linear-gradient(150deg, #f8fbff 0%, #edf4ff 45%, #ffffff 100%);
    padding: 22px;
}
.s8-visual-head h3 {
    margin: 0;
    font-size: 1.18rem;
    color: #0f1b2d;
}
.s8-visual-head p {
    margin: 8px 0 0;
    color: #33455f;
}
.s8-icon-row {
    margin-top: 16px;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.s8-icon-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #d5deea;
    background: #ffffff;
    border-radius: 999px;
    padding: 10px 12px;
    color: #1d2d46;
    font-size: 0.9rem;
}
.s8-icon-pill span {
    font-size: 1rem;
}
.s8-media-grid {
    margin-top: 16px;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.s8-media-card {
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid #d3ddeb;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(12, 33, 60, 0.08);
}
.s8-media-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}
.s8-media-copy {
    padding: 12px;
}
.s8-media-copy h4 {
    margin: 0;
    font-size: 1rem;
    color: #0f1b2d;
}
.s8-media-copy p {
    margin: 8px 0 0;
    color: #395072;
    font-size: 0.92rem;
}
.s8-media-copy .inline-link {
    display: inline-block;
    margin-top: 8px;
    font-weight: 700;
}
.s8-visual-actions {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

:root {
    --primary-color: #1a1a2e;
    --secondary-color: #ff6b9d;
    --accent-color: #c41e3a;
    --text-dark: #1a1a1a;
    --text-light: #f8f9fa;
    --link-on-dark: #ffffff;
    --link-on-light: #111111;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, #0c1f33 0%, #1f3a5f 100%);
}

html[lang="en-SG"] body {
    background: linear-gradient(135deg, #f7d6c7 0%, #fdeec7 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    background: linear-gradient(90deg, var(--primary-color) 0%, #2d2d44 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 20px rgba(255, 107, 157, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 0 8px rgba(255, 107, 157, 0.4);
}

.language-switcher {
    display: flex;
    gap: 10px;
}

.lang-btn {
    padding: 8px 15px;
    border-radius: var(--border-radius);
    border: 2px solid white;
    cursor: pointer;
    transition: var(--transition);
    color: white;
    text-decoration: none;
    font-size: 13px;
    background: transparent;
    font-weight: 600;
    text-transform: uppercase;
}

.lang-btn:hover,
.lang-btn.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
    animation: fadeInDown 1s ease-out;
}

.hero::before {
    content: "";
    position: absolute;
    inset: -8px;
    background: url('../img/bg-singapore-skyline.jpg') center/cover no-repeat;
    filter: blur(1.5px);
    transform: scale(1.03);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 19, 36, 0.30) 0%, rgba(26, 44, 78, 0.30) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.4);
    letter-spacing: 2px;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 300;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 40px;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--secondary-color);
    color: white;
}

.btn-primary:hover {
    background: #ff5593;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.5);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

section {
    padding: 80px 20px;
}

section h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 60px;
    animation: slideUp 0.8s ease-out;
    color: white;
    letter-spacing: 1px;
    font-weight: 800;
    text-transform: uppercase;
}

.features {
    background: linear-gradient(rgba(14, 42, 64, 0.76), rgba(14, 42, 64, 0.76)), url('../img/features.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}

.features h2 {
    color: #d3f3ff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.10);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(133, 217, 255, 0.35);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 10px 40px rgba(133, 217, 255, 0.35);
    border-color: #8ad8ff;
    background: rgba(79, 173, 224, 0.20);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    animation: bounce 2s infinite;
}

.feature-card h3 {
    color: #c9efff;
    margin-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.quote-link {
    color: #ffd8e9;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
}

.quote-link:hover {
    color: #ffffff;
}

.services {
    background: linear-gradient(rgba(236, 246, 255, 0.92), rgba(236, 246, 255, 0.92)), url('../img/bg-singapore-skyline.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #1f1f1f;
}

.services h2 {
    color: #1f1f1f;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.services-layout {
    display: grid;
    gap: 24px;
}

.services-intro {
    background: rgba(255, 255, 255, 0.88);
    border-radius: var(--border-radius);
    padding: 22px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.services-intro h3 {
    margin-bottom: 8px;
    color: #1f1f1f;
}

.services-intro p {
    color: #2f2f2f;
}

.services-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.service-panel {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(245, 251, 255, 0.92));
    border: 1px solid rgba(41, 93, 126, 0.18);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 26px rgba(21, 54, 74, 0.12);
}

.service-panel h4 {
    margin-bottom: 8px;
    color: #173a52;
}

.service-panel p {
    margin-bottom: 10px;
}

.service-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.service-link-chip {
    background: #173a52;
    color: #ffffff;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2px;
    transition: var(--transition);
}

.service-link-chip:hover {
    background: #245777;
    transform: translateY(-2px);
}

.services-redesign {
    display: grid;
    gap: 18px;
}

.services-banner {
    background: linear-gradient(140deg, rgba(17, 43, 62, 0.92), rgba(28, 77, 106, 0.92));
    color: #ffffff;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 10px 24px rgba(18, 54, 80, 0.22);
}

.services-banner h3 {
    margin-bottom: 10px;
}

.services-banner p {
    margin-bottom: 0;
    color: #ecf7ff;
}

.services-banner a.inline-link {
    color: #ffffff;
}

.service-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.service-block {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 18px;
}

.service-block h4 {
    margin-bottom: 8px;
    color: #173a52;
}

.service-block p {
    margin-bottom: 10px;
}

.service-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.step-pill {
    background: rgba(23, 58, 82, 0.1);
    color: #173a52;
    border: 1px solid rgba(23, 58, 82, 0.25);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.s8s-shell {
    display: grid;
    gap: 16px;
}

.s8s-hero {
    background: radial-gradient(circle at 20% 10%, #2f6888 0%, #16354a 58%, #102938 100%);
    border-radius: 14px;
    padding: 22px;
    color: #f2f9ff;
    box-shadow: 0 12px 28px rgba(17, 42, 58, 0.22);
}

.s8s-tag {
    font-size: 11px;
    letter-spacing: 1.3px;
    font-weight: 800;
    margin-bottom: 6px;
    opacity: 0.9;
}

.s8s-hero h3 {
    margin-bottom: 10px;
}

.s8s-hero p {
    margin-bottom: 0;
    color: #dff1ff;
}

.s8s-hero a.inline-link {
    color: #ffffff;
}

.s8s-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.s8s-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 0, 0, 0.09);
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 10px 22px rgba(30, 66, 88, 0.12);
}

.s8s-card h4 {
    margin-bottom: 8px;
    color: #173a52;
}

.s8s-card p {
    margin-bottom: 10px;
}

.s8s-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.s8s-step {
    background: rgba(20, 57, 79, 0.08);
    border: 1px solid rgba(20, 57, 79, 0.18);
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.s8s-step strong {
    color: #173a52;
    font-size: 12px;
}

.s8s-step span {
    color: #2a2a2a;
    font-size: 13px;
}

.s8s-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.s8-ref {
    display: grid;
    gap: 18px;
}

.s8-ref-head {
    background: linear-gradient(135deg, #0e2e46 0%, #184865 100%);
    border-radius: 16px;
    padding: 24px;
    color: #f3f9ff;
    box-shadow: 0 14px 26px rgba(15, 46, 68, 0.22);
}

.s8-ref-kicker {
    font-size: 11px;
    letter-spacing: 1.4px;
    font-weight: 800;
    margin-bottom: 6px;
    opacity: 0.9;
}

.s8-ref-head h3 {
    margin-bottom: 10px;
}

.s8-ref-head p {
    margin-bottom: 0;
    color: #dcefff;
}

.s8-ref-head a.inline-link {
    color: #ffffff;
}

.s8-ref-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
}

.s8-ref-item {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(17, 58, 84, 0.12);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 10px 18px rgba(25, 62, 85, 0.1);
}

.s8-ref-icon {
    display: inline-block;
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.s8-ref-item h4 {
    margin-bottom: 6px;
    color: #153950;
}

.s8-ref-item p {
    margin-bottom: 0;
}

.s8-ref-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.s8-compact {
    display: grid;
    gap: 14px;
}

.s8-compact-lead {
    text-align: center;
    font-weight: 700;
    font-size: 1.05rem;
    color: #173a52;
}

.s8-compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.s8-compact-item {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 16px;
}

.s8-compact-item h4 {
    color: #173a52;
    margin-bottom: 6px;
}

.s8-compact-item p {
    margin-bottom: 0;
}

.s8-compact-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.community-rebuild {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.community-main {
    background: linear-gradient(145deg, rgba(24, 66, 92, 0.94), rgba(36, 86, 116, 0.94));
    color: #eef7ff;
    border-radius: 14px;
    padding: 22px;
    text-align: left;
}

.community-main h3 {
    margin-bottom: 8px;
}

.community-main p {
    margin-bottom: 14px;
    color: #def0ff;
}

.community-main-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.community-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px;
}

.community-link {
    text-decoration: none;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(17, 58, 84, 0.14);
    border-radius: 10px;
    padding: 10px 12px;
    color: #173a52;
    font-weight: 700;
    text-align: center;
    transition: var(--transition);
}

.community-link:hover {
    background: #173a52;
    color: #ffffff;
}

.community-note {
    background: rgba(23, 58, 82, 0.08);
    border: 1px solid rgba(23, 58, 82, 0.16);
    border-radius: 10px;
    padding: 12px;
}

.community-note p {
    margin: 0;
    color: #2a2a2a;
}

.community-remix {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.community-hero-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 14px;
    background: linear-gradient(145deg, rgba(24, 66, 92, 0.96), rgba(36, 86, 116, 0.96));
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 16px;
    color: #eef7ff;
    text-align: left;
}

.community-hero-copy h3 {
    margin: 0 0 8px;
}

.community-hero-copy p {
    margin: 0;
    color: #def0ff;
}

.community-hero-card img {
    width: 100%;
    height: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 10px;
}

.community-mix-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.community-mini-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(17, 58, 84, 0.14);
    border-radius: 12px;
    padding: 14px;
    text-align: left;
}

.community-mini-card h4 {
    margin: 0;
    color: #173a52;
}

.community-mini-card p {
    margin: 8px 0 12px;
    color: #33455f;
    font-size: 0.92rem;
}

.community-mini-card .community-link {
    display: block;
    margin-bottom: 8px;
}

.community-mini-card .community-link:last-child {
    margin-bottom: 0;
}

.community-tip-strip {
    background: linear-gradient(90deg, rgba(23, 58, 82, 0.1), rgba(23, 58, 82, 0.04));
    border: 1px solid rgba(23, 58, 82, 0.18);
    border-radius: 10px;
    padding: 12px 14px;
    text-align: left;
}

.community-tip-strip p {
    margin: 0;
    color: #1d2d46;
}

.community-versatile {
    margin-top: 22px;
    display: grid;
    gap: 14px;
}

.community-switch {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.community-switch-link {
    text-decoration: none;
    text-align: center;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(157, 183, 221, 0.28);
    background: rgba(17, 29, 45, 0.8);
    color: #eaf2ff;
    font-weight: 700;
    font-size: 0.88rem;
}

.community-switch-link:hover {
    background: rgba(255, 255, 255, 0.14);
}

.community-mode-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.community-mode-card {
    background: rgba(16, 28, 45, 0.9);
    border: 1px solid rgba(157, 183, 221, 0.24);
    border-radius: 14px;
    padding: 14px;
    display: flex;
    flex-direction: column;
}

.community-mode-card h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.05rem;
}

.community-mode-card p {
    margin: 8px 0 0;
    color: #c8d7ee;
}

.community-mode-actions {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.community-brief {
    margin: 0;
    border: 1px solid rgba(157, 183, 221, 0.24);
    background: rgba(15, 25, 40, 0.82);
    border-radius: 10px;
    padding: 11px 12px;
    color: #dde8f8;
}

.route-support-grid {
    margin-top: 14px;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.route-support-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(17, 58, 84, 0.14);
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 6px 16px rgba(10, 36, 61, 0.08);
}

.route-support-card h4 {
    margin: 0;
    color: #173a52;
    font-size: 1rem;
}

.route-support-card p {
    margin: 8px 0 0;
    color: #2f4663;
    font-size: 0.92rem;
}

.services-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.service-point {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--border-radius);
    padding: 18px;
}

.service-point h4 {
    margin-bottom: 8px;
    color: #1f1f1f;
}

.service-point p {
    margin-bottom: 10px;
}

.service-item {
    background: rgba(255, 255, 255, 0.86);
    padding: 30px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.3);
}

.service-item h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.testimonials {
    background: linear-gradient(rgba(16, 26, 44, 0.64), rgba(16, 26, 44, 0.64)), url('../img/testimonials.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}

.testimonials h2 {
    color: var(--secondary-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: rgba(255, 107, 157, 0.15);
    padding: 25px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.testimonial-card p {
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial-card span {
    display: block;
    color: var(--secondary-color);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.faq {
    background: linear-gradient(rgba(20, 29, 43, 0.78), rgba(20, 29, 43, 0.78)), url('../img/bg-faq-singapore.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #f4f7fb;
}

.faq h2 {
    color: #f4f7fb;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.faq-question {
    color: #ffffff;
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
    font-weight: 700;
}

.faq-question:hover {
    color: #d8e9ff;
}

.faq-answer {
    margin-top: 10px;
    color: #e6eef9;
    line-height: 1.8;
}

.newsletter {
    background: linear-gradient(rgba(255, 244, 225, 0.92), rgba(255, 244, 225, 0.92)), url('../img/newsletter.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #1f1f1f;
    text-align: center;
}

.newsletter h2 {
    color: #1f1f1f;
}

.newsletter-form {
    margin-top: 30px;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.community-card {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--border-radius);
    padding: 18px;
    text-align: left;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.community-card h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
    color: #1f1f1f;
}

.community-card p {
    margin-bottom: 12px;
    color: #363636;
    font-size: 0.95rem;
}

.footer {
    background: var(--primary-color);
    color: white;
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 700;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #ffffff;
    text-decoration: none;
    transition: var(--transition);
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
}

.footer-section a:hover {
    color: var(--secondary-color);
    padding-left: 10px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 30px;
    color: #888;
    font-size: 12px;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form .btn {
        width: 100%;
    }

    .community-hero-card {
        grid-template-columns: 1fr;
    }

    .community-mix-grid {
        grid-template-columns: 1fr;
    }

    .community-switch {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .community-mode-grid {
        grid-template-columns: 1fr;
    }

    .route-support-grid {
        grid-template-columns: 1fr;
    }

    .s8-icon-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .s8-media-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section ul {
        padding-left: 0;
    }

    .footer-section a {
        margin-bottom: 10px;
    }

    .footer-section a:hover {
        padding-left: 0;
    }
}


.city-scenes {
    background: linear-gradient(rgba(246, 253, 255, 0.9), rgba(246, 253, 255, 0.9)), url('../img/city-scenes.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #121212;
}

.city-scenes h2,
.city-scenes p,
.city-scenes a {
    color: #121212;
}

.routes-intro {
    max-width: 860px;
    margin: 0 auto 24px;
    text-align: center;
    font-size: 1.05rem;
}

.routes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.route-card {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 10px 22px rgba(9, 42, 66, 0.12);
}

.route-card h3 {
    margin-bottom: 8px;
    color: #183a52;
    font-size: 1.08rem;
}

.route-card p {
    margin-bottom: 8px;
}

.route-meta {
    font-weight: 700;
    font-size: 0.92rem;
    color: #214f6f;
}

.route-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 16px;
}

.theme-dark a.inline-link {
    color: var(--link-on-dark);
}

.theme-light a.inline-link {
    color: var(--link-on-light);
}

.theme-dark a {
    color: var(--link-on-dark);
}

.theme-light a {
    color: var(--link-on-light);
}

a.inline-link {
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 700;
}

.services a.inline-link,
.newsletter a.inline-link {
    color: var(--link-on-light);
}

.hero a.inline-link,
.features a.inline-link,
.testimonials a.inline-link,
.faq a.inline-link,
.footer a.inline-link {
    color: var(--link-on-dark);
}

.city-scenes a.inline-link {
    color: var(--link-on-light);
}

.theme-light .btn-secondary {
    border-color: #111111;
    color: #111111;
}

.theme-light .btn-secondary:hover {
    background: #111111;
    color: #ffffff;
}

/* Dark site refresh */
body,
html[lang="en-SG"] body {
    background: radial-gradient(circle at 20% 10%, #1c2d44 0%, #0b1422 55%, #060c16 100%) !important;
    color: #e8edf6;
}

.services,
.newsletter,
.city-scenes {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #e7eef9 !important;
}

.services {
    background: linear-gradient(rgba(10, 18, 32, 0.9), rgba(10, 18, 32, 0.9)), url('../img/bg-services-dark.jpg') !important;
}

.newsletter {
    background: linear-gradient(rgba(11, 20, 34, 0.9), rgba(11, 20, 34, 0.9)), url('../img/newsletter.png') !important;
}

.city-scenes {
    background: linear-gradient(rgba(8, 15, 27, 0.9), rgba(8, 15, 27, 0.9)), url('../img/city-scenes.png') !important;
}

.services h2,
.newsletter h2,
.city-scenes h2,
.city-scenes p,
.city-scenes a,
.newsletter p {
    color: #f3f7ff !important;
}

.s8-visual,
.s8-icon-pill,
.s8-media-card,
.community-mini-card,
.route-card,
.route-support-card {
    background: rgba(18, 30, 48, 0.88) !important;
    border-color: rgba(157, 183, 221, 0.24) !important;
    color: #eaf0fb;
}

.s8-visual-head h3,
.s8-media-copy h4,
.community-mini-card h4,
.route-card h3,
.route-support-card h4 {
    color: #ffffff !important;
}

.s8-visual-head p,
.s8-media-copy p,
.community-mini-card p,
.route-card p,
.route-meta,
.route-support-card p {
    color: #c8d7ee !important;
}

.theme-light a,
.theme-light a.inline-link,
.services a.inline-link,
.newsletter a.inline-link,
.city-scenes a.inline-link {
    color: #ffffff !important;
}

.theme-light .btn-secondary {
    border-color: #d7e3f5 !important;
    color: #eaf2ff !important;
}

.theme-light .btn-secondary:hover {
    background: #eaf2ff !important;
    color: #0d1b2d !important;
}

.dual-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.dual-card {
    background: rgba(16, 28, 45, 0.9);
    border: 1px solid rgba(157, 183, 221, 0.24);
    border-radius: 14px;
    padding: 18px;
    text-align: left;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.dual-card h3 {
    margin: 0;
    color: #ffffff;
}

.dual-card p {
    margin: 10px 0 0;
    color: #c8d7ee;
}

.dual-card-actions {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 768px) {
    .dual-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


