* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #f5f5f5;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: #003087; /* SA flag blue */
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.logo img {
    height: 50px;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #FFC107; /* SA flag yellow */
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 2px 0;
}

.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("../images/hero-bg.7309c0134b01.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
}

.btn img {
    height: 50px;
    transition: transform 0.3s;
}

.btn img:hover {
    transform: scale(1.1);
}

.features {
    padding: 80px 50px;
    background-color: #fff;
    text-align: center;
}

.features h2 {
    font-size: 2.5rem;
    color: #C8102E; /* SA flag red */
    margin-bottom: 50px;
}

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

.feature-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card img {
    width: 80px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: #003087;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 1rem;
    color: #666;
}

.download {
    padding: 80px 50px;
    background: linear-gradient(135deg, #00A550, #FFC107); /* SA flag green & yellow */
    text-align: center;
    color: #fff;
}

.download h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.download p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.footer {
    padding: 50px 50px;
    background-color: #333;
    color: #fff;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.social-links img {
    width: 30px;
    margin-right: 10px;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #555;
}

.search-form {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.search-form label {
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 0.3rem;
    display: block;
}

.search-form input.form-control {
    width: 100%;
    padding: 1rem;
    border: 2px solid #FFB81C;
    border-radius: 10px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.search-form input.form-control:focus {
    outline: none;
    border-color: #007A4D;
    transform: scale(1.02);
}

.search-form button {
    background: #DE3831;
    color: #FFFFFF;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.search-form button:hover {
    background: #001A72;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.results-header {
    margin-bottom: 1rem;
}

.results-count {
    font-size: 1.1rem;
    color: #001A72;
    margin-top: 0.5rem;
}

.trip-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.trip-list li {
    background: #FFFFFF;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #F4F4F9;
}

.trip-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.no-trips {
    text-align: center;
    color: #001A72;
    font-size: 1.3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #F4F4F9 100%);
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    margin-bottom: 2rem;
}

.station-info, .association-info {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #000000;
    background: #F4F4F9;
    padding: 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.station-info:hover {
    background: #FFB81C;
    color: #000000;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 2rem 2rem; 
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}


.container h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #003087; 
    margin-bottom: 1rem;
}

.container h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #C8102E; 
    margin-top: 2rem;
    margin-bottom: 1rem;
}


.container p {
    font-size: 1rem;
    color: #4b5563;
    margin-bottom: 1rem;
}

.container p[style*="color:#666"] {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}


.container ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.container ul li {
    margin-bottom: 0.5rem;
    color: #4b5563;
}


.container table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    background-color: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.container th, .container td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.container th {
    background-color: #003087; 
    color: #fff;
    font-weight: 600;
}

.container td {
    color: #4b5563;
}


.container a {
    color: #003087; 
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.container a:hover {
    color: #FFC107; 
    text-decoration: underline;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: #003087;
        padding: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

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

    .features, .download {
        padding: 50px 20px;
    }
}