:root {
            --primary: #2563eb;
            --primary-dark: #1d4ed8;
            --secondary: #8b5cf6;
            --light: #f8fafc;
            --dark: #0f172a;
            --gray: #64748b;
            --light-gray: #e2e8f0;
            --success: #10b981;
            --card-width: 300px;
            --card-height: 180px;
            --row-height: 220px;
            /* Animation variables */
            --stat-card-animation-duration: 1.5s; /* How long one full cycle takes */
            --stat-card-animation-delay-offset: 0.1s; /* Staggering delay for each card */
            --stat-card-offset: 5px; /* How far the ::after element moves */
        }
/* --- UX Enhancements: NEW/MODIFIED STYLES --- */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f0f2f5; /* Lighter background */
    color: #333;
    margin: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.blog-header {
    /* Blue Gradient */
    background: linear-gradient(135deg, #1A237E 0%, #2196F3 100%); /* Deeper Blue to Lighter Blue */
    color: white;
    padding: 10px 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.blog-title {
    /* font-size: 2.5em; */
    margin-bottom: 10px;
    font-weight: 700;
}

.blog-subtitle {
    font-size: 1.2em;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 10px auto;
}

.job-meta {
    font-size: 0.9em;
    opacity: 0.8;
    margin-top: 10px;
}

.fullscreen {
    padding: 25px 20px; /* Slightly less padding */
    max-width: 960px; /* Wider content area */
    margin: 25px auto; /* Add margin to separate from header */
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08); /* More subtle shadow */
}

.breadcrumb {
    margin-bottom: 20px;
    font-size: 0.85em;
    color: #666;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.route-info {
    background: #e3f2fd; /* Light blue background */
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    border: 1px solid #bbdefb; /* Lighter border */
    box-shadow: 0 2px 8px rgba(0,0,0,0.08); /* More prominent shadow */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive grid */
    gap: 15px; /* Spacing between items */
}

.route-info h2 {
    color: #1976D2; /* Darker blue */
    margin-top: 0;
    font-size: 1.5em;
    grid-column: 1 / -1; /* Span full width */
    text-align: left;
    margin-bottom: 0px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #bbdefb;
}

.route-info p {
    margin: 5px 0;
    font-size: 1.05em;
    display: flex;
    align-items: center;
}

.route-info strong {
    color: #0D47A1; /* Even darker blue */
    margin-right: 8px;
}

/* Distinct colors for from/to stations in route-info */
.from-station-highlight {
    background-color: #ffe0b2; /* Light orange/peach */
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    color: #E65100; /* Darker orange */
}

.to-station-highlight {
    background-color: #c8e6c9; /* Light green */
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    color: #2E7D32; /* Darker green */
}

/* --- Detailed Route Map (Train GUI) Styles --- */
.route-map-details {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    padding-left: 50px; /* More space for the vertical line and dots */
}
.route-map-details::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #ddd; /* Neutral path color */
    z-index: 0;
}
.route-map-details h2 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 1.8em;
    text-align: center;
    width: 100%;
}
.route-item {
    background-color: #ffffff; /* Keep background white for clarity */
    padding: 12px 18px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    width: calc(100% - 70px); /* Adjust width considering padding-left */
    max-width: 500px;
    text-align: left; /* Align text left */
    z-index: 1;
    border-left: 4px solid var(--line-color, #607D8B); /* Thicker left border, default grey */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}
.route-item::before { /* The "dot" on the line */
    content: '';
    position: absolute;
    left: -15px; /* Position relative to the left border */
    top: 50%;
    transform: translateY(-50%);
    width: 18px; /* Larger dot */
    height: 18px;
    background-color: var(--line-color, #607D8B); /* Dot color matches line */
    border-radius: 50%;
    border: 3px solid #f0f2f5; /* Background color border to stand out */
    z-index: 2;
}
.route-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* Station Node Styling - No background color */
.station-node {
    color: #333; /* Text color for stations on white background */
    font-weight: 600;
}
.station-node a {
    color: #1a73e8; /* Google blue for links */
    text-decoration: none;
}
.station-node a:hover {
    text-decoration: underline;
}

/* Labels for start/end stations */
.you-are-here-label, .your-destination-label {
    font-size: 0.75em;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #E65100; /* Darker orange for start */
}
.your-destination-label {
    color: #2E7D32; /* Darker green for destination */
}
.board-info {
    font-size: 0.85em;
    font-weight: normal;
    color: #555;
    margin-top: 5px;
    display: block;
}

div.flex {
    display: flex;
}
/* Line change instruction */
.line-segment { /* Now explicitly for line segments */
    background-color: #f8f8f8; /* A light background for line info itself */
    color: #555;
    font-weight: bold;
    font-size: 0.95em;
    padding: 10px 18px;
    border-left: 4px solid var(--line-color, #607D8B); /* Matches station border */
}
.line-segment::before { /* No dot for line segments */
    content: none;
}
.line-change-instruction { /* Specific class for interchange instructions */
    background-color: #e3f2fd; /* Light blue background for instructions */
    color: #1A237E; /* Dark blue text */
    font-weight: 600;
    font-size: 0.9em;
    padding: 10px 18px;
    margin: 0; /* More spacing for instructions */
    border-left: 8px solid #FF9800; /* Orange border for instructions */
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.line-change-instruction::before {
    content: none; /* No dot for instruction box */
}
.interchange-instruction {
    display: block; /* Ensure text wraps */
}


/* Interchange node styling (no background, just border) */
.interchange {
    background-color: #ffffff; /* Keep background white */
    color: #D66D00; /* Darker orange text */
    font-style: italic;
    border: 2px dashed #FFB74D; /* Dashed orange border */
    padding: 12px 18px;
    margin: 10px 0;
    position: relative;
    border-left-color: #FF9800 !important; /* Force orange border for interchange */
}
.interchange::before { /* Dot for interchange, maybe a different color/shape */
    background-color: #FF9800; /* Orange dot */
    width: 18px; /* Slightly larger dot */
    height: 18px;
    border: 3px solid #f0f2f5; /* Background color border to stand out */
}


.station-gate-details {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}
.station-gate-details .gate-table-title { /* New title class */
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 1.8em;
    text-align: center;
}
.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden; /* Ensures rounded corners apply to table content */
}
.table th, .table td {
    border: 1px solid #e0e0e0;
    padding: 12px 15px;
    text-align: left;
}
.table th {
    background-color: #f5f5f5; /* Lighter header background */
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
    font-size: 0.9em;
}
.table thead tr:first-child th {
    background-color: #e0e0e0; /* Header for combined gates */
    font-size: 1.05em;
    color: #000;
}
.table tr:nth-child(even) {
    background-color: #fafafa; /* Lighter alternating row */
}
.table tr:hover {
    background-color: #eef; /* Subtle hover effect */
}

a.btn {
  display: inline-block;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  color: white;
  padding: 14px 32px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  margin-top: 24px;
  border-radius: 4px;
  box-shadow: 2px 3px 5px #414eaa;
}

a.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: translateX(-100%);
  animation: shimmer 2s infinite linear;
  pointer-events: none;
}

a.btn:hover {
  color: white;
  text-decoration: none;
}

a.btn:hover::after {
  transform: translateX(100%);
}

/* Automatic shimmer animation */
@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}


/* --- Article Content (ENHANCED STYLES) --- */
.article-content {
    font-size: 1.1em;
    line-height: 1.8;
    color: #444;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 30px;
}

.article-content h2 {
    font-size: 2em;
    color: #34495e; /* Slightly different heading color */
    margin-top: 1.5em;
    margin-bottom: 0.7em;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 5px;
}

.article-content h3 {
    font-size: 1.6em;
    color: #34495e;
    margin-top: 1.2em;
    margin-bottom: 0.6em;
}

.article-content p {
    margin-bottom: 1.2em;
}

.article-content ul,
.article-content ol {
    margin-left: 25px;
    margin-bottom: 1.2em;
    padding: 0;
}

.article-content li {
    margin-bottom: 0.6em;
    line-height: 1.6;
}

.article-content strong {
    font-weight: 700;
    color: #2c3e50; /* Make strong text stand out more */
}

.article-content em {
    font-style: italic;
    color: #555;
}

.article-content a {
    color: #007bff;
    text-decoration: underline;
}

.article-content a:hover {
    color: #0056b3;
    text-decoration: none;
}

.faq-section {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}
.faq-section h2 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 1.8em;
    text-align: center;
}
.faq-item {
    margin-bottom: 15px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s ease;
}
.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.faq-question {
    font-weight: 700;
    color: #3f51b5; /* Deeper blue for questions */
    margin-bottom: 10px;
    font-size: 1.15em;
    cursor: pointer; /* Indicate clickability */
    position: relative;
    padding-right: 30px; /* Space for arrow */
}
/* .faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.2em;
    transition: transform 0.3s ease;
}
.faq-question.active::after {
    content: '-';
} */
.faq-answer {
    color: #555;
    line-height: 1.7;
    font-size: 1em;
    /* max-height: 0; */
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding-top: 0;
}
.faq-answer.active {
    max-height: 200px; /* Adjust as needed, a large enough value */
    padding-top: 10px;
}
/* --- NEW/MODIFIED CSS FOR HEADER & NAVIGATION --- */
        .blog-header {
            /* Existing styles */
        }

        .header-top-row {
            width: 100%;
            display: flex;
            justify-content: space-between; /* Logo/Hamburger left, Nav right (desktop) */
            align-items: center;
            padding: 10px 0; /* Vertical padding for the top row */
            box-sizing: border-box;
        }

        .header-left {
            display: flex;
            align-items: center;
        }

        .site-logo {
            height: 125px; /* Adjust as needed */
            width: auto;
            border-radius: 8px; /* Rounded corners for logo */
        }

        .logo-link {
            display: flex; /* To align image */
            align-items: center;
            text-decoration: none;
            color: inherit;
        }

        .main-nav ul {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex; /* Desktop: horizontal menu */
            align-items: center;
        }

        .main-nav li {
            margin-left: 25px; /* Spacing between desktop nav items */
        }

        .main-nav a:not(.btn) {
            color: white;
            text-decoration: none;
            font-weight: 600;
            font-size: 1.05em;
            padding: 5px 0;
            position: relative;
            transition: color 0.3s ease;
        }

        .main-nav a:not(.btn)::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -3px;
            left: 0;
            background-color: var(--secondary); /* Highlight color */
            transition: width 0.3s ease;
        }

        .main-nav a:not(.btn):hover::after {
            width: 100%;
        }

        .main-nav a:not(.btn):hover {
            color: var(--secondary); /* Change text color on hover */
        }

        /* Hamburger Menu Styles */
        .hamburger-menu {
            display: none; /* Hidden by default on desktop */
            background: none;
            border: none;
            cursor: pointer;
            padding: 10px;
            position: relative;
            z-index: 101; /* Above logo on mobile */
            margin-right: 15px; /* Space between hamburger and logo */
        }

        .hamburger-menu span {
            display: block;
            width: 25px;
            height: 3px;
            background-color: white;
            margin: 5px 0;
            transition: all 0.3s ease-in-out;
            border-radius: 2px;
        }

        /* Hamburger animation for active state */
        .hamburger-menu.active span:nth-child(1) {
            transform: translateY(8px) rotate(45deg);
        }

        .hamburger-menu.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger-menu.active span:nth-child(3) {
            transform: translateY(-8px) rotate(-45deg);
        }

        .header-bottom-row {
            width: 100%;
            padding: 10px 20px 0; /* Padding for the main title/subtitle */
            box-sizing: border-box;
        }

/* Responsive adjustments */
@media (max-width: 768px) {
    .header-top-row {
                justify-content: flex-start; /* Hamburger and logo on left */
            }

            .hamburger-menu {
                display: block; /* Show hamburger on mobile */
            }

            .main-nav {
                display: none; /* Hide nav by default on mobile */
                flex-direction: column;
                width: 100%;
                position: absolute;
                top: 100%; /* Position below the header-top-row */
                left: 0;
                background: var(--dark); /* Dark background for mobile menu */
                box-shadow: 0 8px 16px rgba(0,0,0,0.2);
                padding: 0; /* Initial padding 0 for slide animation */
                max-height: 0; /* For smooth slide-down animation */
                overflow: hidden;
                transition: max-height 0.3s ease-out, padding 0.3s ease-out;
            }

            .main-nav.active {
                display: flex; /* Show nav when active */
                max-height: 500px; /* A value larger than content height */
                padding: 20px 0;
                top: 0;
                z-index: 9;
            }

            .main-nav ul {
                flex-direction: column;
                width: 100%;
            }

            .main-nav li {
                margin: 0;
                width: 100%;
                text-align: center;
                padding: 10px 0;
            }

            .main-nav a {
                display: block; /* Make links full width */
                padding: 10px 20px;
                color: white;
            }

            .main-nav a:not(.btn)::after {
                background-color: var(--secondary); /* Highlight color for mobile */
                height: 1px; /* Thinner line for mobile */
                bottom: 0;
            }

            .nav-subscribe-btn {
                margin: 15px auto 0 auto; /* Center button on mobile */
                width: calc(100% - 40px); /* Adjust width */
                max-width: 250px;
            }

    .blog-title { font-size: 1.8em; }
    .blog-subtitle { font-size: 1em; }
    .fullscreen { padding: 15px; margin: 15px auto; }
    .route-info { padding: 15px; }
    .route-info h2 { font-size: 1.5em; }
    .faq-section h2, .station-gate-details .gate-table-title { font-size: 1.5em; }
    .faq-item { padding: 15px; }
    .faq-question { font-size: 1em; }
    .table { font-size: 0.85em; }
    .route-info { grid-template-columns: 1fr; } /* Stack on smaller screens */
}



/* --- Footer Styles --- */
.site-footer {
  background: #0f172a;
  color: #f0f2f5;
  padding: 40px 20px 20px;
  font-size: 0.95em;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto 20px;
  gap: 40px;
}

.footer-logo-col {
  max-width: 300px;
}

.footer-logo {
  width: 140px;
  margin-bottom: 10px;
  border-radius: 6px;
}

.footer-tagline {
  margin-top: 8px;
  color: #cbd5e1;
  line-height: 1.5;
  font-size: 0.95em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
}

.footer-links h4 {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 10px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--secondary);
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #1e293b;
  padding-top: 15px;
  font-size: 0.85em;
  color: #94a3b8;
}
