/* --- Reset & Base Styles --- */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
body { background-color: #f4f7fc; color: #1a1a2e; line-height: 1.5; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

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

/* --- Hero Section (Background moved to HTML) --- */
.hero {
    padding: 30px 0 20px 0;
}

.hero-top-info {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    color: #f8fafc;
    font-size: 0.85rem;
    margin-bottom: 20px;
}
.hero-top-info i { margin-right: 6px; color: #facc15; }

.hero-content h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1.1;
    color: #ffffff;
}
.hero-content h1 span { 
    background: linear-gradient(90deg, #facc15, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-content h2 {
    font-size: 1.1rem;
    font-weight: 400;
    color: #f1f5f9;
    margin-bottom: 8px;
}
.hero-content p {
    font-size: 0.95rem;
    color: #cbd5e1;
    max-width: 600px;
    margin-bottom: 20px;
    font-weight: 300;
}

.hero-btn {
    display: inline-block;
    background: linear-gradient(90deg, #facc15, #f59e0b);
    color: #1a1a2e;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 700;
}

/* --- Feature Ribbon --- */
.feature-ribbon {
    background: #ffffff;
    border-radius: 12px;
    padding: 12px 15px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
    margin-top: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
    color: #334155;
    padding: 5px;
    border-right: 1px solid #e2e8f0;
}
.feature-item:last-child { border-right: none; }
.feature-item i {
    font-size: 1.4rem;
    color: #ffffff;
    background: #1e3a8a;
    padding: 8px;
    border-radius: 50%;
}
.feature-item span { font-weight: 700; color: #0f172a; display: block; margin-bottom: 0; font-size: 0.8rem; }
.feature-item small { color: #64748b; line-height: 1; display: block; font-size: 0.7rem; }

/* --- Main Grid Section --- */
.grid-section { padding: 25px 0; }

.two-col-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 20px;
    margin-bottom: 20px;
}

.blue-panel {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.panel-header {
    background: #1e3a8a;
    color: #ffffff;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
}
.panel-header.green { background: #166534; }
.panel-header.green-light { background: #15803d; }

.panel-content { padding: 15px; }

/* Toll Table */
.toll-table { width: 100%; border-collapse: collapse; font-size: 0.8rem; }
.toll-table th { text-align: left; color: #64748b; border-bottom: 2px solid #e2e8f0; padding: 8px 5px; font-weight: 600; }
.toll-table td { padding: 8px 5px; border-bottom: 1px solid #f1f5f9; color: #1a1a2e; }
.toll-table tr:last-child td { border-bottom: none; }
.toll-table .highlight { font-weight: 700; color: #1e3a8a; }

.total-toll {
    background: #f8fafc;
    padding: 12px;
    border-radius: 8px;
    margin-top: 15px;
    border-left: 5px solid #facc15;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.total-toll strong { font-size: 1rem; color: #0f172a; display: flex; align-items: center; gap: 10px; }
.total-toll strong i { color: #facc15; }
.total-toll .price { background: #1e3a8a; color: white; padding: 5px 15px; border-radius: 20px; font-weight: 700; }

/* Map Styling */
.map-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    position: relative;
}
.map-dot {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: flex-start;
    padding: 5px 15px;
    position: relative;
}
.map-dot .dot {
    width: 14px;
    height: 14px;
    background: #ef4444;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #ef4444;
    z-index: 2;
    flex-shrink: 0;
}
.map-dot .dot.start { background: #16a34a; box-shadow: 0 0 0 2px #16a34a; }
.map-dot .dot.end { background: #eab308; box-shadow: 0 0 0 2px #eab308; }

.map-line {
    position: absolute;
    left: 21px;
    top: 0;
    height: 100%;
    width: 2px;
    background: #d1d5db;
    z-index: 1;
}
.map-dot .label {
    margin-left: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.map-dot .label small { color: #64748b; font-weight: 400; }

/* --- Important Info Section --- */
.info-blocks {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 20px;
}
.info-block {
    background: #f8fafc;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    text-align: center;
}
.info-block i { font-size: 2rem; color: #1e3a8a; margin-bottom: 8px; }
.info-block h4 { font-size: 0.9rem; color: #0f172a; margin-bottom: 5px; }
.info-block p { font-size: 0.75rem; color: #475569; }

/* --- Tips Banner --- */
.tips-banner {
    background: #1e3a8a;
    color: white;
    border-radius: 10px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}
.tips-banner h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    border-right: 1px solid rgba(255,255,255,0.3);
    padding-right: 15px;
}
.tips-list-banner {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.tips-list-banner span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
}
.tips-list-banner i { color: #facc15; }

/* --- FAQ SECTION --- */
.faq-section {
    padding: 40px 0;
    background: #ffffff;
    border-top: 2px solid #e2e8f0;
    border-bottom: 2px solid #e2e8f0;
    margin-top: 25px;
}

.faq-header {
    text-align: center;
    margin-bottom: 30px;
}
.faq-header h2 {
    font-size: 2rem;
    color: #0f172a;
    font-weight: 700;
}
.faq-header p {
    color: #475569;
    margin-top: 5px;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* HTML Native Accordion Styling */
details.faq-item {
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s ease;
}
details.faq-item[open] {
    background: #ffffff;
    border-color: #1e3a8a;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.08);
}

summary.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 16px 20px;
    font-weight: 600;
    color: #1e3a8a;
    list-style: none;
    transition: 0.2s;
}
summary.faq-question::-webkit-details-marker {
    display: none;
}
summary.faq-question:hover {
    background: rgba(30, 58, 138, 0.05);
}

summary.faq-question .icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 15px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #1e3a8a;
    transition: transform 0.3s ease, background 0.3s;
}
details.faq-item[open] summary .icon-wrap {
    transform: rotate(180deg);
    background: #1e3a8a;
    color: #ffffff;
}

.faq-answer {
    padding: 0 20px 20px 20px;
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- Responsive CSS for Main Content --- */
@media (max-width: 992px) {
    .feature-ribbon { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .feature-item { border-right: none; border-bottom: 1px solid #e2e8f0; padding-bottom: 8px; }
    .feature-item:nth-last-child(-n+2) { border-bottom: none; padding-bottom: 0; }
    .two-col-grid { grid-template-columns: 1fr; }
    .info-blocks { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 2rem; }
    .hero-top-info { justify-content: flex-start; flex-direction: column; gap: 5px; }
    .info-blocks { grid-template-columns: 1fr; }
    .tips-banner { flex-direction: column; align-items: flex-start; }
    .tips-banner h4 { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.3); padding-bottom: 8px; width: 100%; }
}

@media (max-width: 480px) {
    .feature-ribbon { grid-template-columns: 1fr; }
    .feature-item { border-bottom: 1px solid #e2e8f0; padding: 10px 0; }
    .feature-item:last-child { border-bottom: none; }
}

/* Additional styles for CNG content – integrated with existing layout */
        .cng-wrapper {
            max-width: 1400px;
            margin: 0 auto;
            padding: 20px;
            background: #ffffff;
        }
        
        /* CNG header / hero replacement inside main container */
        .cng-hero {
            text-align: center;
            background: #fff;
            padding: 20px 0 10px;
            position: relative;
        }
        .cng-hero-bg {
            background-size: cover;
            height: 100px;
            width: 100%;
            border-radius: 10px 10px 0 0;
            opacity: 0.7;
        }
        .cng-hero-content {
            padding: 10px 0;
            position: relative;
            z-index: 2;
        }
        .cng-main-title {
            font-size: 2.5rem;
            font-weight: 800;
            color: #1a4d2e;
            margin-bottom: 5px;
            text-shadow: 2px 2px 4px rgba(255,255,255,0.8);
        }
        .cng-main-title span {
            color: #2e7d32;
        }
        .cng-sub-title {
            background-color: #1a4d2e;
            color: #fff;
            display: inline-block;
            padding: 8px 25px;
            border-radius: 20px;
            font-weight: 600;
            font-size: 1.1rem;
            letter-spacing: 1px;
        }
        .cng-logo-badge {
            position: absolute;
            top: 20px;
            left: 20px;
            background: #fff;
            border: 3px solid #1a4d2e;
            border-radius: 10px;
            padding: 5px 10px;
            color: #1a4d2e;
            font-weight: bold;
            font-size: 1.5rem;
            z-index: 3;
        }
        .cng-logo-badge i {
            margin-right: 5px;
        }

        /* Icons row */
        .cng-icons-row {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 15px;
            margin: 20px 0;
            padding: 15px;
            background-color: #f8f9fa;
            border-radius: 10px;
            border: 1px solid #e9ecef;
        }
        .cng-icon-box {
            text-align: center;
        }
        .cng-icon-box i {
            font-size: 2.5rem;
            color: #2e7d32;
            background: #e8f5e9;
            padding: 15px;
            border-radius: 50%;
            margin-bottom: 10px;
            width: 70px;
            height: 70px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        .cng-icon-box h3 {
            font-size: 1rem;
            color: #1a4d2e;
            margin-bottom: 5px;
        }
        .cng-icon-box p {
            font-size: 0.8rem;
            color: #555;
        }

        /* Full width intro paragraph */
        .cng-intro-full {
            width: 100%;
            background: #f8f9fa;
            padding: 20px 25px;
            border-radius: 10px;
            border-left: 5px solid #1a4d2e;
            margin: 20px 0;
            box-sizing: border-box;
        }
        .cng-intro-full p {
            margin-bottom: 12px;
            font-size: 1rem;
            line-height: 1.6;
            color: #222;
        }
        .cng-intro-full p:last-child {
            margin-bottom: 0;
        }
        .cng-intro-full strong {
            color: #1a4d2e;
        }
        .cng-intro-full .highlight-box {
            background: #e8f5e9;
            padding: 12px 18px;
            border-radius: 8px;
            margin-top: 10px;
            border: 1px solid #c8e6c9;
        }
        .cng-intro-full .highlight-box i {
            color: #2e7d32;
            margin-right: 8px;
        }

        /* Two column grid */
        .cng-main-grid {
            display: grid;
            grid-template-columns: 1.2fr 2fr;
            gap: 20px;
            margin-top: 20px;
        }

        /* Route column */
        .cng-route-col {
            background: #fff;
            border: 1px solid #e0e0e0;
            border-radius: 10px;
            padding: 15px;
        }
        .cng-route-header {
            background: #1a4d2e;
            color: #fff;
            padding: 10px;
            border-radius: 5px;
            text-align: center;
            margin-bottom: 20px;
            font-weight: 700;
        }
        .cng-route-list {
            position: relative;
            padding-left: 40px;
        }
        .cng-route-list::before {
            content: '';
            position: absolute;
            left: 25px;
            top: 0;
            bottom: 0;
            width: 4px;
            background: #333;
        }
        .cng-route-item {
            margin-bottom: 25px;
            position: relative;
        }
        .cng-route-item:last-child {
            margin-bottom: 0;
        }
        .cng-route-icon {
            position: absolute;
            left: -45px;
            top: 0;
            background: #fff;
            border: 2px solid #333;
            border-radius: 50%;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            font-weight: bold;
            z-index: 2;
        }
        .cng-route-icon.start { background: #2e7d32; color: #fff; border-color: #2e7d32; }
        .cng-route-icon.mid { background: #fff; color: #333; border-color: #ff9800; }
        .cng-route-icon.end { background: #d32f2f; color: #fff; border-color: #d32f2f; }
        .cng-route-icon.mid-warning { background: #fff3e0; border-color: #ff9800; color: #ff9800; }
        
        .cng-route-content {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            border-bottom: 1px dashed #ccc;
            padding-bottom: 10px;
        }
        .cng-route-item:last-child .cng-route-content { border-bottom: none; }
        
        .cng-route-location {
            font-weight: 700;
            font-size: 1.1rem;
            color: #1a4d2e;
        }
        .cng-route-details {
            font-size: 0.85rem;
            color: #555;
            margin-top: 3px;
            max-width: 150px;
        }
        .cng-route-km {
            background: #f1f1f1;
            padding: 2px 8px;
            border-radius: 10px;
            font-size: 0.8rem;
            font-weight: 600;
            color: #333;
            white-space: nowrap;
            margin-left: 10px;
        }

        /* Right column boxes */
        .cng-right-col {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        .cng-box {
            border: 1px solid #e0e0e0;
            border-radius: 10px;
            padding: 15px;
            background: #fff;
        }
        .cng-box-title {
            background-color: #1a4d2e;
            color: #fff;
            padding: 8px 15px;
            border-radius: 20px;
            display: inline-block;
            margin-bottom: 15px;
            font-weight: 600;
            font-size: 0.95rem;
        }
        .cng-last-pump-box {
            background: #fff;
            border: 2px dashed #4caf50;
            position: relative;
        }
        .cng-last-pump-box .cng-box-title {
            background: transparent;
            color: #1a4d2e;
            font-weight: 700;
            padding-left: 0;
            font-size: 1.1rem;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .cng-last-pump-box .cng-box-title i { color: #2e7d32; }
        .cng-last-pump-content {
            display: flex;
            align-items: center;
            gap: 20px;
        }
        .cng-last-pump-content i {
            font-size: 3rem;
            color: #2e7d32;
        }
        .cng-himachal-content {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        .cng-himachal-content i {
            font-size: 3rem;
            color: #4caf50;
        }
        .cng-himachal-text {
            font-size: 0.9rem;
            color: #333;
        }
        
        /* FAQ grid */
        .cng-faq-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
        }
        .cng-faq-item {
            background: #fff;
            padding: 10px;
            border: 1px solid #eee;
            border-radius: 5px;
        }
        .cng-faq-q {
            font-weight: 600;
            color: #1a4d2e;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        .cng-faq-q i { color: #2e7d32; font-size: 0.8rem; }
        .cng-faq-a {
            font-size: 0.85rem;
            color: #555;
            margin-top: 5px;
            padding-left: 20px;
        }

        .cng-bottom-right-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }
        .cng-search-list {
            list-style: none;
            padding: 0;
        }
        .cng-search-list li {
            padding: 5px 0;
            border-bottom: 1px solid #f1f1f1;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .cng-search-list li i { color: #1a4d2e; font-size: 0.8rem; }
        .cng-tip-list {
            list-style: none;
            padding: 0;
        }
        .cng-tip-list li {
            margin-bottom: 10px;
            font-size: 0.9rem;
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }
        .cng-tip-list li i { color: #2e7d32; margin-top: 3px; }

        /* Bottom 3 columns */
        .cng-bottom-section {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 20px;
            margin-top: 30px;
            padding-top: 20px;
            border-top: 2px solid #1a4d2e;
        }
        .cng-bottom-box {
            background: #f8f9fa;
            border-radius: 10px;
            padding: 15px;
            border: 1px solid #e0e0e0;
        }
        .cng-bottom-box h4 {
            color: #1a4d2e;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .cng-bottom-box h4 i { color: #2e7d32; }
        .cng-bottom-box p, .cng-bottom-box li {
            font-size: 0.9rem;
            color: #444;
        }
        .cng-bottom-box ul { list-style: none; padding: 0; }
        .cng-bottom-box ul li { margin-bottom: 8px; padding-left: 20px; position: relative; }
        .cng-bottom-box ul li::before {
            content: '•';
            color: #2e7d32;
            position: absolute;
            left: 0;
            font-weight: bold;
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .cng-main-grid { grid-template-columns: 1fr; }
            .cng-bottom-section { grid-template-columns: 1fr 1fr; }
            .cng-bottom-right-grid { grid-template-columns: 1fr; }
        }
        @media (max-width: 768px) {
            .cng-icons-row { grid-template-columns: 1fr 1fr; }
            .cng-faq-grid { grid-template-columns: 1fr; }
            .cng-bottom-section { grid-template-columns: 1fr; }
            .cng-main-title { font-size: 1.8rem; }
            .cng-last-pump-content { flex-direction: column; text-align: center; }
            .cng-himachal-content { flex-direction: column; text-align: center; }
        }