* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f7fb;
    color: #162033;
}

a {
    text-decoration: none;
}

/* =========================
   TOP STRIP
========================= */

.top-strip {
    background: #082f63;
    color: white;
    padding: 8px 20px;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

/* =========================
   HEADER
========================= */

.header {
    background: white;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rail-logo {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rail-logo img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    display: block;
}

.brand-text h2 {
    margin: 0;
    color: #072f63;
    font-size: 24px;
}

.brand-text p {
    margin: 3px 0 0;
    color: #667085;
    font-size: 13px;
}

/* =========================
   NAVIGATION
========================= */
.menu-toggle {
    display: none;
    background: #0866d6;
    color: white;
    border: none;
    border-radius: 7px;
    padding: 8px 12px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
.nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav a {
    color: #1c2a42;
    font-weight: bold;
    font-size: 14px;
}

.login-btn {
    background: #0866d6;
    color: white !important;
    padding: 10px 16px;
    border-radius: 7px;
}

/* =========================
   HERO SECTION
========================= */

.hero-wrap {
    max-width: 1240px;
    margin: 24px auto;
    padding: 0 18px;
}

.hero {
    min-height: 405px;
    border-radius: 18px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.1fr 1fr;

    background: linear-gradient(
        90deg,
        rgba(1,35,74,0.98) 0%,
        rgba(4,56,110,0.94) 48%,
        rgba(10,76,143,0.82) 100%
    );

    color: white;

    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

.hero-content {
    padding: 55px 52px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content h1 {
    font-size: 46px;
    margin: 0 0 10px;
    line-height: 1.08;
}

.hero-content h2 {
    margin: 0 0 24px;
    font-size: 27px;
    font-weight: normal;
}

.hero-content p {
    max-width: 620px;
    font-size: 17px;
    line-height: 1.7;
    color: #d8e7f6;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.primary-btn {
    background: #1680ff;
    color: white;
    padding: 13px 22px;
    border-radius: 8px;
    font-weight: bold;
}

.secondary-btn {
    color: white;
    border: 1px solid rgba(255,255,255,0.65);
    padding: 13px 22px;
    border-radius: 8px;
    font-weight: bold;
}

/* =========================
   HERO VISUAL
========================= */

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 330px;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.10),
        rgba(255,255,255,0.02)
    );
}

.train-panel {
    width: 82%;
    max-width: 460px;
    min-height: 255px;
    border-radius: 16px;

    background: linear-gradient(
        145deg,
        rgba(255,255,255,0.18),
        rgba(255,255,255,0.06)
    );

    border: 1px solid rgba(255,255,255,0.24);

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    padding: 30px;

    backdrop-filter: blur(4px);

    position: relative;
}

.train-panel .symbol {
    font-size: 80px;
    margin-bottom: 16px;
}

.train-panel h3 {
    margin: 0 0 8px;
    font-size: 24px;
}

.train-panel p {
    margin: 0;
    color: #dceafa;
    line-height: 1.5;
}

/* =========================
   GENERAL SECTIONS
========================= */

.section {
    max-width: 1240px;
    margin: 24px auto;
    padding: 0 18px;
}

/* =========================
   QUICK INFORMATION CARDS
========================= */

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.quick-card {
    background: white;
    border-radius: 14px;
    padding: 20px;
    border: 1px solid #e6eaf0;

    box-shadow: 0 5px 15px rgba(0,0,0,0.04);
}

.quick-card h3 {
    margin-top: 0;
    color: #073d7c;
}

.quick-card p {
    color: #68758a;
    font-size: 14px;
    line-height: 1.5;
}

/* =========================
   INSTALLATIONS
========================= */

.section-title {
    text-align: center;
    margin: 38px 0 22px;
    font-size: 30px;
    color: #0b376d;
}

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

.installation-card {
    background: white;
    border: 1px solid #e4e8ee;
    border-radius: 14px;
    padding: 24px;
    text-align: center;

    box-shadow: 0 5px 15px rgba(0,0,0,0.04);
}

.installation-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 15px;

    border-radius: 14px;

    background: #eaf3ff;
    color: #0866d6;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 28px;
}

.installation-card h3 {
    margin-bottom: 8px;
    color: #0a3569;
}

.installation-card p {
    margin: 0;
    color: #6b778c;
    font-size: 14px;
}

/* =========================
   SECURITY / FEATURES STRIP
========================= */

.security-strip {
    margin-top: 42px;
    background: #062e5f;
    color: white;
    padding: 30px 18px;
}

.security-inner {
    max-width: 1240px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.security-item h4 {
    margin: 0 0 6px;
}

.security-item p {
    margin: 0;
    color: #c7d8ec;
    font-size: 13px;
}

/* =========================
   FOOTER
========================= */

footer {
    background: #03264e;
    color: #c7d5e7;

    text-align: center;

    padding: 18px;

    font-size: 13px;
}

/* =========================
   TABLET
========================= */

@media (max-width: 900px) {
        .menu-toggle {
        display: block;
    }
    .nav.nav-open {
    display: flex;
    position: absolute;
    top: 100%;
    right: 14px;
    left: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.nav.nav-open a {
    padding: 12px 14px;
    border-radius: 7px;
}

.nav.nav-open a:hover {
    background: #f1f5fa;
}

    .nav {
        display: none;
    }
    .nav.nav-open {
    display: flex;
    position: absolute;
    top: 100%;
    right: 14px;
    left: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.nav.nav-open a {
    padding: 12px 14px;
    border-radius: 7px;
}

.nav.nav-open a:hover {
    background: #f1f5fa;
}

   

    .hero-content {
        padding: 38px 30px;
    }

    .hero-content h1 {
        font-size: 38px;
    }

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

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

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

/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    .top-strip {
        font-size: 12px;
    }

    .header {
        padding: 12px 14px;
    }

    .rail-logo {
        width: 48px;
        height: 48px;
    }

    .brand-text h2 {
        font-size: 19px;
    }

    .hero-wrap {
        margin-top: 14px;
    }

    .hero-content {
        padding: 30px 22px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content h2 {
        font-size: 21px;
    }

    .quick-grid,
    .installations,
    .security-inner {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

    .primary-btn,
    .secondary-btn {
        text-align: center;
    }
}
    .latest-update {
    background: #fff4e5;
    border-bottom: 1px solid #f0c36d;
    padding: 10px 18px;
}

.latest-update-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 14px;
}

.update-label {
    background: #c62828;
    color: white;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
}

.update-text {
    flex: 1;
    color: #4b3b20;
    font-size: 14px;
    font-weight: 600;
}

.update-link {
    color: #075bb5;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
}
.update-text {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    animation: updateTicker 15s linear infinite;
}

@keyframes updateTicker {
    0% {
        text-indent: 100%;
    }

    100% {
        text-indent: -100%;
    }
}
}