/* style.css (Integrated and Updated for Suggestions) */
        :root {
            /* Professional Color Palette */
            --primary-color: #141516; 
            --secondary-color: #28A745; 
            --background-color: #F8F9FA; 
            --card-background: #FFFFFF; 
            --text-color: #343A40; 
            --passed-time-color: #DC3545; 
            --upcoming-highlight: #292c29; 
            --chip-bg: #E6F3FF; 
            --chip-border: #BBDEFB; 
            --chip-next-bg: #D4EDDA; 
            --chip-next-border: #28A745; 
            --chip-passed-bg: #F8D7DA; 
            --chip-passed-border: #DC3545; 
            --chip-text-color: #0056B3; 
            --chip-arrival-color: #6C757D; 
            /* New colors for the route info box */
            --route-info-bg: #E0F7FA; 
            --route-info-text: #006064;
            --route-info-border: #00BCD4;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'Poppins', sans-serif;
        }

        body {
            background-color: var(--background-color);
            color: var(--text-color);
            padding: 20px;
            line-height: 1.6;
        }

        .container {
            max-width: 1100px;
            margin: 0 auto;
            background-color: var(--card-background);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            border-radius: 10px;
            padding: 30px;
        }

        /* --- Header & Search --- */
        header { text-align: center; padding-bottom: 20px; border-bottom: 3px solid var(--primary-color); margin-bottom: 30px; }
        header h1 { font-size: 2.5em; color: var(--primary-color); margin-bottom: 5px; font-family: 'Baloo 2', cursive; }
        #current-time { font-size: 1.1em; color: #6C757D; font-weight: 600; }
        
        .search-section { 
            display: flex; 
            flex-direction: column; 
            align-items: center; 
            margin-bottom: 40px; 
            padding: 20px; 
            background-color: #E9ECEF; 
            border-radius: 8px; 
        }
        .search-section label { 
            font-size: 1.2em; 
            margin-bottom: 10px; 
            font-weight: 600; 
            color: var(--text-color); 
        }
        
        /* Search Input Group & Suggestions */
        .search-container {
            width: 100%;
            max-width: 400px;
            position: relative; 
        }
        
        #city-search { 
            padding: 12px 15px; 
            font-size: 1em; 
            border: 3.5px solid var(--chip-next-border); 
            border-radius: 5px; 
            width: 100%; 
            margin-bottom: 0;
            transition: border-color 0.3s;
        }
        #city-search:focus {
            border-color: var(--secondary-color);
            outline: none;
            box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
        }

        #suggestions-list {
            position: absolute;
            z-index: 20;
            width: 100%;
            max-height: 200px;
            overflow-y: auto;
            background-color: var(--card-background);
            border: 1px solid #ccc;
            border-top: none;
            border-radius: 0 0 5px 5px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .suggestion-item {
            padding: 10px 15px;
            cursor: pointer;
            border-bottom: 1px solid #eee;
            color: var(--text-color);
            font-size: 0.95em;
        }
        .suggestion-item:hover, .suggestion-item.highlighted {
            background-color: var(--chip-bg);
            color: var(--primary-color);
        }
        .suggestion-item:last-child {
            border-bottom: none;
        }

        #search-feedback {
            margin-top: 15px;
            font-weight: 600;
            text-align: center;
        }

        .disclaimer-note {
            background-color: #FFF3CD;
            border: 1px solid #FFC107;
            color: #856404;
            padding: 15px;
            border-radius: 5px;
            margin-top: 20px;
            font-size: 0.75em;
            font-weight: 600;
            text-align: center;
        }
        
        /* --- Timetable content styles (Previous Updates) --- */
        .destination-title { 
            text-align: center; 
            font-size: 2em; 
            font-weight: 700; 
            color: var(--primary-color); 
            margin-bottom: 20px; 
            font-family: 'Baloo 2', cursive; 
        }
        
        .frequency-info {
            background-color: #E6F7FF; 
            color: #0056B3; 
            padding: 15px;
            border-radius: 5px;
            margin-bottom: 25px;
            border-left: 5px solid var(--primary-color);
            font-weight: 600;
            font-family: 'Baloo 2', cursive;
            text-align: center;
        }
        .frequency-info p { margin: 5px 0; }
        .frequency-info strong { font-weight: 700; } 
        /*------------------------------------*/
       .route-info {
    background-color: #f5fbfc;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 25px;
    border: 1px solid #d9f0f3;
}


   .route-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 10px 0;
    font-size: 0.95em;
}

.route-info p:last-child {
    border-bottom: none;
}

.route-info span.icon {
    font-size: 1.3em;
    opacity: 0.9;
}


.route-info strong {
    font-weight: 600;
    font-size: 0.9em;
    color: #444;
}

.route-info .value {
    font-weight: 600;
    color: #000;
}

.route-info small {
    display: block;
    font-size: 0.8em;
    color: #555;
}


        
       /* .route-info { 
            background-color: var(--route-info-bg); 
            color: var(--route-info-text); 
            padding: 20px; 
            border-radius: 8px; 
            margin-bottom: 30px; 
            border: 1px solid var(--route-info-border);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
            font-weight: 500; 
        }
        
        .route-info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 15px;
            margin-bottom: 15px;
        }

        .route-info p { 
            margin: 10px 0; 
            padding: 5px 0;
            border-top: 1px dashed rgba(0, 96, 100, 0.1); 
            font-size: 1em;
        }
        .route-info p:first-child { border-top: none; }
        
        .route-info strong { 
            font-weight: 700; 
            color: var(--text-color); 
        } 
        .route-info span.icon {
            font-size: 1.2em;
            margin-right: 8px;
        }
        .route-info .type-price {
            border-top: none !important;
        } */
        
        /* --- Bus Chip Styles (Same as previous) --- */
        .bus-chips-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 15px; justify-content: center; }
        .bus-chip { background-color: var(--chip-bg); border: 1px solid var(--chip-border); border-radius: 8px; padding: 15px; text-align: center; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); transition: transform 0.2s ease, box-shadow 0.2s ease; position: relative; }
        .bus-chip:hover { transform: translateY(-3px); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); }
        .bus-chip h4 { font-size: 1.1em; color: var(--chip-text-color); margin-bottom: 5px; font-weight: 600; }
        .bus-chip p { font-size: 0.9em; color: var(--chip-arrival-color); margin: 0; }
        .bus-chip .next-tag { position: absolute; top: -10px; right: -10px; background-color: var(--secondary-color); color: white; padding: 5px 10px; border-radius: 5px; font-size: 0.8em; font-weight: 700; box-shadow: 0 2px 4px rgba(0,0,0,0.2); z-index: 10; }
        .bus-chip.passed-time { background-color: var(--chip-passed-bg); border-color: var(--chip-passed-border); opacity: 0.55; filter: grayscale(10%) }
        .bus-chip.passed-time h4, .bus-chip.passed-time p { color: var(--passed-time-color); }
        .bus-chip.upcoming-highlight { background-color: var(--chip-next-bg); border-color: var(--chip-next-border); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); }
        .bus-chip.upcoming-highlight h4, .bus-chip.upcoming-highlight p { color: var(--secondary-color); }

        /* Responsive Design (Same as previous) */
        /*@media (max-width: 768px) {
            .bus-chips-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
            .route-info-grid { grid-template-columns: 1fr; }
        } */
        @media (max-width: 768px) {

    /* FORCE 3 boxes per row */
    .bus-chips-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    /* Reduce box size */
    .bus-chip {
        padding: 8px 5px;
        border-radius: 6px;
    }

    /* Time text */
    .bus-chip h4 {
        font-size: 0.9em;
        margin-bottom: 3px;
    }

    /* Marathi text */
    .bus-chip p {
        font-size: 0.75em;
    }

    /* NEXT tag smaller */
    .bus-chip .next-tag {
        font-size: 0.65em;
        padding: 2px 6px;
        top: -6px;
        right: -6px;
    }

    /*.route-info-grid {
        grid-template-columns: 1fr;
    } */

    /*-------*/
}



        
        /* ADD THIS TO YOUR <style> BLOCK */
       .seo-hero-image {
    max-width: 100%; /* Ensures it scales down on mobile */
    height: auto;
    display: block; /* Prevents spacing issues */
    margin: 15px auto 30px auto; /* Centers the image */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .seo-hero-image {
    max-width: 100%; /* Ensures it scales down on mobile */
    height: auto;
    display: block; /* Prevents spacing issues */
    margin: 15px auto 30px auto; /* Centers the image and adds vertical space */
    border-radius: 8px; /* Softens corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Subtle shadow for depth */
}

/* --- Static Overview Section Styling (Optional, as you had inline styles) --- */
#static-bus-overview {
    /* Styles matching your request */
    margin-bottom: 30px; 
    padding: 20px; 
    background-color: #f1f8e9; /* Light, distinct background */
    border-radius: 8px;
    border-left: 5px solid var(--secondary-color); /* Highlight bar */
}

#static-bus-overview h2 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-bottom: 10px;
}

#static-bus-overview p {
    font-size: 1em;
    margin-bottom: 5px;
}
/* --- FAQ Section Styles --- */
/* --- FAQ Section Styles (UPDATED) --- */
.faq-section {
    margin-top: 40px;
    padding: 25px;
    background-color: #f8fbfd; /* Very light background for contrast */
    border: 1px solid #e0f0ff;
    border-radius: 8px;
}

.faq-section h3 {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 20px;
    border-bottom: 2px solid #e0f0ff;
    padding-bottom: 10px;
}

.faq-item {
    margin-bottom: 1px; /* Tighter spacing for accordion */
    border: 1px solid #e0f0ff;
    border-radius: 5px;
    overflow: hidden; /* Important for clean hiding/showing */
}

/* Question style - Now acts as the clickable button */
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px 15px;
    cursor: pointer; /* Indicates clickability */
    font-size: 1.1em;
    font-weight: 600;
    color: var(--text-color);
    background-color: #f0f7ff; /* Light blue background for contrast */
    border: none;
    text-align: left;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #e0efff;
}

/* Icon for the toggle state (e.g., plus/minus) */
.faq-question .toggle-icon {
    font-size: 1.2em;
    font-weight: 700;
    margin-left: 10px;
    color: var(--primary-color);
    transition: transform 0.3s;
}

.faq-answer-content {
    /* Initially hide the content */
    display: none; 
    padding: 15px;
    background-color: var(--card-background); /* White background for text */
    border-top: 1px solid #e0f0ff;
}

/* Rotate icon when the answer is active/open */
.faq-question.active .toggle-icon {
    transform: rotate(45deg); /* Plus sign becomes an 'X' */
}

/* --- STICKY AD WIDGET STYLES --- */
#sticky-ad-widget {
    /* Critical for making it stick during scroll */
    position: fixed; 
    
    /* Position it in the bottom-right corner */
    bottom: 20px;
    right: 20px;
    
    /* Styling */
    width: 200px; /* Small, manageable size */
    background-color: var(--card-background); /* White or light background */
    border: 2px solid var(--secondary-color); /* Highlight with your accent color */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 10px;
    z-index: 100; /* Ensure it floats above all other content */
    
    /* Initial state (optional, can be controlled by JS for fade-in) */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ad-image-content {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 8px;
}

.ad-text-content p {
    font-size: 0.9em;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 8px 0;
}

.ad-cta-button {
    display: block;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.9em;
    transition: background-color 0.3s;
}

.ad-cta-button:hover {
    background-color: #0056b3; /* Darker shade of primary color */
}

/* Close Button */
#close-ad-button {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: var(--passed-time-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-weight: bold;
    line-height: 20px;
    text-align: center;
    padding: 0;
}