/* CSS Variables with enhanced effects - Teal-Orange Color Scheme */
:root {
    --teal-primary: #008080;
    --teal-dark: #006666;
    --teal-light: #00a0a0;
    --orange-primary: #ff7f50;
    --orange-dark: #e67348;
    --orange-light: #ff9a75;
    --background-light: #fff8dc;
    --text-dark: #2a4a4a;
    --text-light: #5c7a7a;
    --white: #fffdf6;
    --cream: #FFF8DC;
    --card-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    --card-shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --border-radius: 14px;
    --gray-light: #e9ecef;
}

/* Global Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--cream) 0%, #fff9f0 100%);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

body.kannada {
    font-family: 'Noto Sans Kannada', 'Poppins', sans-serif;
}

/* Geometric Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-size: 60px 60px;
    z-index: -1;
}

/* Common Header Styles */
.page-header,
.header,
.sub-header {
    margin-bottom: 0;
    height: 75vh;
    min-height: 450px;
    background-image: linear-gradient(90deg, rgba(22, 48, 5, 0.7) 0%, rgba(196, 110, 57, 0.7) 100%), url('transportation_assets/rail.JPG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    animation: headerZoom 20s ease-in-out infinite;
}

.page-header::before,
.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="rgba(255,255,255,0.05)"><path d="M30,30 Q50,10 70,30 T90,50 T70,70 T50,90 T30,70 T10,50 T30,30 Z"/></svg>');
    background-size: 200px;
}

.header-content h1,
.header h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.header p {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.95;
    position: relative;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.sub-header {
    height: auto;
    min-height: auto;
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--teal-dark) 0%, var(--orange-dark) 100%);
    border-radius: 0 0 0px 0px;
    animation: none;
}

/* Navigation */
.transport-nav {
    background: linear-gradient(135deg, var(--teal-dark) 0%, var(--orange-dark) 100%);
    padding: 1rem 0;
    position: relative;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.transport-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.transport-nav li {
    margin: 0 0.5rem;
}

.transport-nav a {
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.95rem;
    display: block;
    border: 2px solid transparent;
    position: relative;
}

.transport-nav a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
}

.transport-nav a.active {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Main Containers */
.trains-container {
    height: 100px;
}

.transport-container,
.trains-container,
.citybus-container,
.autorickshaw-container,
.taxi-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* Section Management */
.transport-section,
.trains-section,
.citybus-section,
.autorickshaw-section,
.taxi-section {
    display: none;
    animation: fadeIn 0.5s ease;
    margin-bottom: 40px;
    position: relative;
    padding: 20px 0;
}

.transport-section.active,
.trains-section.active,
.citybus-section.active,
.autorickshaw-section.active,
.taxi-section.active {
    display: block;
}
  .trains-container, .trains-section {
    display: block !important;
    opacity: 1 !important;
    height: auto !important;
  }

.transport-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--teal-primary), transparent);
    opacity: 0.2;
}

/* Section Headers & Titles */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 12px;
    color: var(--teal-dark);
    position: relative;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--teal-primary), var(--orange-primary));
    border-radius: 2px;
}

.section-description {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    padding: 0 15px;
}

/* Grid Systems */
.transport-grid,
.overview-grid,
.features-grid,
.routes-grid,
.tips-container,
.tips-grid,
.facilities-grid,
.important-trains-grid,
.booking-options,
.pass-grid,
.buses-grid,
.contact-grid,
.zones-grid,
.fleet-grid {
    display: grid;
    gap: 25px;
    margin-bottom: 40px;
}

.transport-grid,
.routes-grid,
.fleet-grid {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

.overview-grid,
.tips-container,
.tips-grid,
.pass-grid,
.buses-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.features-grid,
.zones-grid,
.contact-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.facilities-grid,
.important-trains-grid,
.booking-options {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Card Components */
.transport-card,
.tip-card,
.overview-card,
.feature-card,
.route-card,
.facility-category,
.train-card,
.booking-method,
.pass-card,
.bus-card,
.zone-card,
.booking-card,
.fleet-card,
.rate-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    align-content: center;
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 127, 80, 0.1);
}

.overview-card {
    display: flex;
    flex-direction: column;
}

/* Airport Info Section */
.airport-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(2, 2fr));
    background: #f9fafb;
    /* light background for contrast */
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 20px 24px;
    max-width: 500px;
    margin: 30px auto;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.airport-info:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.airport-info h3 {
    font-size: 1.5rem;
    color: var(--teal-dark);
    /* deep blue accent */
    margin-bottom: 10px;
}

.airport-info p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 16px;
}

.airport-info .external-link {
    display: inline-block;
    background: linear-gradient(90deg, var(--teal-primary), var(--orange-primary));
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.airport-info .external-link:hover {
    background: linear-gradient(90deg, var(--teal-primary), var(--orange-primary));
    text-decoration: none;
    transform: scale(1.05);
}

/* Optional: add small emoji spacing */
.airport-info .external-link::before {
    content: "✈️ ";
}

/* ✨ Responsive Design */
@media (max-width: 768px) {
    .airport-info {
        padding: 20px;
        margin: 20px 16px;
    }

    .airport-info h3 {
        font-size: 1.3rem;
    }

    .airport-info p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .airport-info .external-link {
        font-size: 0.95rem;
        padding: 9px 18px;
    }
}

@media (max-width: 480px) {
    .airport-info {
        display: flex;
        flex-direction: column;
        padding: 18px 14px;
        border-radius: 14px;
    }

    .airport-info h3 {
        font-size: 1.15rem;
    }

    .airport-info p {
        font-size: 0.9rem;
    }

    .airport-info .external-link {
        display: block;
        width: 100%;
        margin-top: 10px;
        border-radius: 25px;
        font-size: 0.9rem;
    }
}

.transport-card::before,
.tip-card::before,
.overview-card::before,
.feature-card::before,
.route-card::before,
.zone-card::before,
.booking-card::before,
.fleet-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--teal-primary), var(--orange-primary));
}

.transport-card:hover,
.tip-card:hover,
.overview-card:hover,
.feature-card:hover,
.route-card:hover,
.train-card:hover,
.booking-method:hover,
.pass-card:hover,
.bus-card:hover,
.zone-card:hover,
.booking-card:hover,
.fleet-card:hover,
.rate-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

/* Icon Styles */
.transport-icon,
.tip-icon,
.overview-icon,
.feature-icon,
.booking-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: white;
    border-radius: 15px;
    transition: var(--transition);
}

.transport-icon,
.tip-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--teal-light), var(--teal-primary));
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 128, 128, 0.2);
}

.tip-icon {
    background: linear-gradient(135deg, var(--orange-light), var(--orange-primary));
    box-shadow: 0 4px 12px rgba(255, 127, 80, 0.2);
}

.overview-icon,
.feature-icon {
    font-size: 2.5rem;
    color: var(--teal-primary);
    margin: 0 auto 15px;
}

.booking-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--teal-light), var(--teal-primary));
    border-radius: 50%;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.transport-card:hover .transport-icon,
.feature-card:hover .feature-icon,
.booking-card:hover .booking-icon {
    transform: scale(1.08) rotate(3deg);
}

.tip-card:hover .tip-icon {
    transform: scale(1.08) rotate(8deg);
}

/* Card Headers */
.transport-card h3,
.tip-card h4,
.overview-card h4,
.feature-card h3,
.route-body h4,
.facility-category h3,
.train-card h4,
.booking-method h4,
.pass-card h4,
.zone-header h3,
.booking-card h3,
.fleet-content h3 {
    color: var(--teal-dark);
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
}

.transport-card h3 {
    display: inline-block;
    font-size: 1.4rem;
}

.transport-card h3::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--orange-primary);
    border-radius: 1px;
    transition: width 0.3s ease;
}

.transport-card:hover h3::after {
    width: 60px;
}

/* Image Containers */
.healthcare-image {
    height: 180px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 18px;
    position: relative;
}

.healthcare-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.healthcare-card:hover .healthcare-image img {
    transform: scale(1.08);
}

/* Detail & List Styles */
.transport-details,
.route-finder,
.calculator-form,
.booking-form,
.booking-summary,
.pricing-info,
.contact-info,
.feedback-form,
.tracking-controls {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(255, 127, 80, 0.1);
}

.transport-details {
    background: linear-gradient(135deg, rgba(255, 247, 220, 0.6), rgba(255, 250, 240, 0.8));
    margin-bottom: 22px;
    padding: 16px;
}

.detail-item,
.route-stop,
.zone-stop,
.summary-item,
.charge-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(0, 128, 128, 0.25);
    align-items: center;
}

.detail-item:last-child,
.zone-stop:last-child,
.summary-item:last-child,
.charge-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: var(--teal-dark);
    font-size: 0.9rem;
}

.detail-value {
    color: var(--text-light);
    font-weight: 500;
    background: rgba(0, 128, 128, 0.05);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.9rem;
}

/* Button Styles */
.transport-actions,
.route-finder,
.calculator-form,
.booking-form,
.tracking-controls {
    text-align: center;
}

.action-btn,
.search-btn,
.calculate-btn,
.book-now-btn,
.track-btn,
.submit-btn {
    background: linear-gradient(135deg, var(--teal-primary), var(--orange-primary));
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 128, 128, 0.25);
    position: relative;
    overflow: hidden;
    font-size: 0.95rem;
}

.action-btn::before,
.search-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.action-btn:hover::before,
.search-btn:hover::before {
    left: 100%;
}

.action-btn:hover,
.search-btn:hover,
.calculate-btn:hover,
.book-now-btn:hover,
.track-btn:hover,
.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 128, 128, 0.35);
}

/* Form Styles */
.search-form,
.calculator-form .form-group,
.booking-form .form-group,
.feedback-form .form-group {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 600;
    color: var(--teal-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal-primary);
    box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.1);
}

/* Specialized Components */
.route-header,
.zone-header {
    background: linear-gradient(135deg, var(--teal-primary), var(--teal-light));
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.route-number,
.zone-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

.route-fare,
.zone-status {
    background: var(--orange-primary);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 600;
}

.fare-amount,
.overview-card p {
    font-size: 1rem;
    font-weight: 700;
    color: var(--orange-primary);
}

/* Status Indicators */
.status,
.zone-status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

.status.on-time {
    background: #d4edda;
    color: #155724;
}

.status.delayed {
    background: #f8d7da;
    color: #721c24;
}

/* Contact Items */
.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--teal-light), var(--teal-primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--white);
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    background: linear-gradient(135deg, var(--orange-light), var(--orange-primary));
    transform: scale(1.1);
}

.contact-item h4 {
    font-size: 1.1rem;
    color: var(--teal-dark);
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.5;
}

/* ========== TRAINS PAGE SPECIFIC STYLES ========== */
.station-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.station-code {
    font-size: 2rem;
    font-weight: bold;
    color: var(--teal-primary);
    background: rgba(0, 128, 128, 0.1);
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
}

.station-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.detail-column h3 {
    color: var(--teal-dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--orange-primary);
}

.platform-info,
.contact-info {
    background: var(--white);
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--card-shadow);
}

.platform-item,
.contact-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-light);
}

.platform-item:last-child,
.contact-item:last-child {
    border-bottom: none;
}

.platform-number {
    font-weight: bold;
    color: var(--teal-primary);
    background: rgba(0, 128, 128, 0.1);
    padding: 5px 10px;
    border-radius: 5px;
}

/* Schedule Controls */
.schedule-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 10px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--card-shadow);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.filter-group label {
    font-weight: 600;
    color: var(--teal-dark);
}

.filter-group select {
    padding: 8px 15px;
    border: 1px solid var(--teal-light);
    border-radius: 5px;
    background: var(--white);
    color: var(--text-dark);
}

.time-display {
    background: var(--teal-primary);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
}

/* Schedule Tabs */
.schedule-tabs {
    display: flex;
    margin-bottom: 20px;
    background: var(--white);
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.tab-btn {
    flex: 1;
    padding: 15px 20px;
    border: none;
    background: var(--gray-light);
    color: var(--text-light);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active {
    background: var(--teal-primary);
    color: white;
}

.tab-btn:hover:not(.active) {
    background: var(--teal-light);
    color: white;
}

/* Schedule Table */
.schedule-table {
    display: none;
    background: var(--white);
    border-radius: 0 0 10px 10px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    margin-bottom: 40px;
}

.schedule-table.active {
    display: block;
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 15px;
    padding: 20px;
    background: var(--teal-dark);
    color: white;
    font-weight: 600;
}

.table-body {
    max-height: 500px;
    overflow-y: auto;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 15px;
    padding: 15px 20px;
    border-bottom: 1px solid var(--gray-light);
    transition: var(--transition);
}

.table-row:hover {
    background: rgba(0, 128, 128, 0.05);
}

.table-row:last-child {
    border-bottom: none;
}

.train-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.train-info strong {
    color: var(--teal-primary);
    font-size: 1.1rem;
}

.time {
    font-weight: 600;
    color: var(--teal-dark);
}

.platform {
    background: var(--orange-light);
    color: var(--text-dark);
    padding: 5px 10px;
    border-radius: 15px;
    text-align: center;
    font-weight: 600;
}

/* Station Map */
.facility-map {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
}

.facility-map h3 {
    color: var(--teal-dark);
    margin-bottom: 20px;
    text-align: center;
}

.map-container {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 30px;
}

.map-legend {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.color-box {
    width: 20px;
    height: 20px;
    border-radius: 3px;
}

.color-box.entrance {
    background: var(--teal-primary);
}

.color-box.platform {
    background: var(--orange-primary);
}

.color-box.facility {
    background: var(--teal-light);
}

.station-map {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 100px);
    gap: 10px;
}

.map-area {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-light);
    border-radius: 5px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    padding: 10px;
}

.entrance-area {
    grid-column: 2;
    grid-row: 1;
    background: var(--teal-primary);
    color: white;
}

.platform-1 {
    grid-column: 1;
    grid-row: 2;
    background: var(--orange-primary);
    color: white;
}

.platform-2 {
    grid-column: 3;
    grid-row: 2;
    background: var(--orange-primary);
    color: white;
}

.waiting-hall {
    grid-column: 2;
    grid-row: 2;
    background: var(--teal-light);
}

.food-court {
    grid-column: 2;
    grid-row: 3;
    background: var(--teal-light);
}

/* Important Trains */
.train-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-light);
}

.train-number {
    background: var(--teal-primary);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.train-route {
    color: var(--text-light);
    margin-bottom: 15px;
    font-weight: 600;
}

.train-timing {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(0, 128, 128, 0.05);
    border-radius: 5px;
}

.train-facilities {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.facility-tag {
    background: var(--orange-light);
    color: var(--text-dark);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.booking-link {
    display: inline-block;
    background: var(--teal-primary);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.booking-link:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
}

.booking-info {
    display: block;
    background: var(--orange-light);
    color: var(--text-dark);
    padding: 10px;
    border-radius: 5px;
    font-weight: 600;
    margin-top: 10px;
}

/* ========== CITY BUS PAGE SPECIFIC STYLES ========== */
.route-finder {
    background: linear-gradient(145deg, #ffffff 0%, #f8fdfd 100%);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 128, 128, 0.15), 0 2px 8px rgba(0, 128, 128, 0.1);
    margin-bottom: 40px;
    border-left: 6px solid #008080;
    border-right: 2px solid rgba(0, 128, 128, 0.1);
    position: relative;
    overflow: hidden;
}

.route-finder::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.1) 0%, rgba(255, 102, 0, 0.05) 100%);
    border-radius: 0 0 0 80px;
}

.route-finder h3 {
    margin-bottom: 25px;
    color: #008080;
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.route-finder h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #008080, #ff6600);
    border-radius: 2px;
}

/* ========== ROUTE TIMELINE CONTAINER ========== */
.route-body {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    background: #fafafa;
    margin-bottom: 20px;
}

.route-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #006d77;
    color: white;
    padding: 10px 15px;
    border-radius: 8px 8px 0 0;
}

.route-stops {
    margin-top: 10px;
}

.route-stop {
    padding: 5px 0;
    border-bottom: 1px dashed #ccc;
}

.route-stop:last-child {
    border-bottom: none;
}

.see-all-btn {
    margin-top: 10px;
    display: inline-block;
    background-color: #008CBA;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

.see-all-btn:hover {
    background-color: #005f7f;
}

/* Fares Table */
.fares-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.fares-table th,
.fares-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.fares-table th {
    background: var(--teal-dark);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.fares-table tr:last-child td {
    border-bottom: none;
}

.fares-table tr:hover {
    background: #f8f9fa;
}

/* Tracking */
.tracking-search {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.tracking-search input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
}

.tracking-map {
    background: white;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.map-placeholder {
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #f8f9fa;
    color: #7f8c8d;
}

.map-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #bdc3c7;
}

.map-placeholder p {
    font-size: 1.2rem;
}

.bus-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.bus-number {
    font-weight: 600;
    color: #2c3e50;
}

.bus-route {
    color: #3498db;
    font-weight: 500;
}

.bus-location {
    color: #7f8c8d;
    font-weight: 500;
}

/* ========== AUTORICKSHAW PAGE SPECIFIC STYLES ========== */
.fare-calculator {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.fare-result {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-card {
    text-align: center;
    width: 100%;
}

.fare-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fare-table {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.fare-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1px;
    background: var(--gray-light);
}

.fare-row-head {
    background: linear-gradient(135deg, var(--teal-primary), var(--teal-dark));
    color: var(--white);
    font-weight: 600;
    padding: 10px 15px;
    /* optional: adds spacing */
    text-align: left;
    /* optional: aligns text */
    border-radius: 5px 5px 0 0;
    /* optional: rounded top corners */
}

.fare-row>div {
    background: var(--white);
    padding: 15px 20px;
    display: flex;
    align-items: center;
}

.fare-row.header>div {
    background: transparent;
    font-weight: 600;
}

.zone-body {
    padding: 25px;
}

.zone-info {
    display: flex;
    gap: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--gray-light);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-weight: 500;
}

.info-item i {
    color: var(--teal-primary);
}

.booking-contact {
    background: var(--orange-light);
    color: var(--text-dark);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
}

.app-badges {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.app-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: var(--gray-light);
    border-radius: 8px;
    color: var(--text-dark);
    font-weight: 600;
    transition: var(--transition);
}

.app-badge:hover {
    background: var(--teal-light);
    color: var(--white);
}

.find-stand-btn {
    background: linear-gradient(135deg, var(--teal-primary), var(--orange-primary));
    color: var(--white);
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.find-stand-btn:hover {
    background: linear-gradient(135deg, var(--teal-dark), var(--orange-dark));
    transform: translateY(-2px);
}

/* ========== TAXI PAGE SPECIFIC STYLES ========== */
.booking-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.booking-summary {
    align-self: start;
}

.summary-details {
    margin-bottom: 25px;
}

.estimated-fare {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--orange-primary);
}

.summary-features h4 {
    color: var(--teal-dark);
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.summary-features ul {
    list-style: none;
    padding: 0;
}

.summary-features li {
    padding: 8px 0;
    color: var(--text-light);
    position: relative;
    padding-left: 20px;
}

.summary-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--teal-primary);
    font-weight: bold;
}

.fleet-image {
    height: 120px;
    background: linear-gradient(135deg, var(--teal-light), var(--teal-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
}

.fleet-content {
    padding: 25px;
}

.fleet-capacity {
    color: var(--orange-primary);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.fleet-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.5;
    font-size: 0.9rem;
}

.fleet-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--gray-light);
}

.fleet-price span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.fleet-price strong {
    color: var(--orange-primary);
    font-size: 1.3rem;
}

.pricing-tables {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.rate-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray-light);
}

.rate-header h4 {
    color: var(--teal-dark);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.rate-price {
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-dark));
    color: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.1rem;
}

.rate-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rate-features li {
    padding: 8px 0;
    color: var(--text-light);
    border-bottom: 1px dashed var(--gray-light);
}

.rate-features li:last-child {
    border-bottom: none;
}

.charges-list {
    margin-bottom: 30px;
}

.booking-tips h4 {
    color: var(--teal-dark);
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.booking-tips ul {
    list-style: none;
    padding: 0;
}

.booking-tips li {
    padding: 8px 0;
    color: var(--text-light);
    position: relative;
    padding-left: 20px;
    line-height: 1.5;
}

.booking-tips li:before {
    content: '💡';
    position: absolute;
    left: 0;
    color: var(--orange-primary);
}

/* ========== UTILITY CLASSES ========== */
.gradient-text {
    background: linear-gradient(135deg, var(--teal-primary), var(--orange-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes headerZoom {

    0%,
    100% {
        background-size: 100% auto;
    }

    50% {
        background-size: 110% auto;
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

/* ========== PRINT STYLES ========== */
@media print {

    .language-toggle,
    .transport-nav,
    .back-to-top,
    .action-btn {
        display: none !important;
    }

    .transport-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .page-header {
        background: #f0f0f0 !important;
        color: #000 !important;
    }
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1200px) {

    .transport-grid,
    .routes-grid,
    .fleet-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 22px;
    }

    .tips-container,
    .tips-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }
}

@media (max-width: 992px) {

    .header-content h1,
    .header h1 {
        font-size: 2.8rem;
    }

    .transport-grid,
    .routes-grid,
    .fleet-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }

    .tips-container,
    .tips-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 18px;
    }

    .section-title {
        font-size: 2rem;
    }

    .transport-container,
    .trains-container,
    .citybus-container,
    .autorickshaw-container,
    .taxi-container {
        padding: 25px 18px 15px;
    }

    .station-details {
        grid-template-columns: 1fr;
    }

    .map-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .page-header,
    .header {
        height: 65vh;
        min-height: 400px;
        padding: 60px 20px;
    }

    .header-content h1,
    .header h1 {
        font-size: 2.2rem;
    }

    .header-content p,
    .header p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    /* Mobile Responsive Navigation */
    @media (max-width: 768px) {
        .transport-nav ul {
            flex-wrap: wrap;
            /* Prevent wrapping */
            overflow-x: auto;
            /* Allow horizontal scroll if items overflow */
            -webkit-overflow-scrolling: touch;
            justify-content: flex-start;
            padding: 0 0.5rem;
            /* Add slight padding for scroll */
            scrollbar-width: none;
            /* Hide scrollbar in Firefox */
        }

        /* Hide scrollbar in Webkit browsers */
        .transport-nav ul::-webkit-scrollbar {
            display: none;
        }

        .transport-nav li {
            margin: 0 0.5rem;
            /* Keep some space between items */
            flex: 0 0 auto;
            /* Ensure each item keeps its width */
        }

        .transport-nav a {
            padding: 0.6rem 1rem;
            font-size: 0.85rem;
            white-space: nowrap;
            display: inline-block;
            /* Ensures JS treats them as block elements */
        }
    }


    .transport-card,
    .route-card,
    .feature-card,
    .overview-card {
        padding: 20px;
    }

    .transport-container,
    .trains-container,
    .citybus-container,
    .autorickshaw-container,
    .taxi-container {
        padding: 20px 15px 10px;
    }

    .transport-grid,
    .routes-grid,
    .overview-grid,
    .features-grid,
    .tips-container,
    .facilities-grid,
    .important-trains-grid,
    .booking-options,
    .pass-grid,
    .buses-grid,
    .contact-grid,
    .zones-grid,
    .fleet-grid,
    .tips-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .search-form,
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .fare-calculator,
    .booking-container,
    .pricing-tables {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .route-timings,
    .tracking-info,
    .bus-status,
    .zone-info {
        flex-direction: column;
        gap: 10px;
    }

    .schedule-controls {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .table-header,
    .table-row {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }

    .station-map {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 80px);
    }

    .map-area {
        grid-column: 1 !important;
        grid-row: auto !important;
    }

    .schedule-tabs {
        flex-direction: column;
    }
}

@media (max-width: 480px) {

    .header-content h1,
    .header h1 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .transport-container,
    .trains-container,
    .citybus-container,
    .autorickshaw-container,
    .taxi-container {
        padding: 15px 12px 8px;
    }

    .transport-card,
    .route-card,
    .feature-card,
    .overview-card {
        padding: 18px;
    }

    .transport-grid,
    .routes-grid,
    .overview-grid,
    .features-grid,
    .tips-container,
    .facilities-grid,
    .important-trains-grid,
    .booking-options,
    .pass-grid,
    .buses-grid,
    .contact-grid,
    .zones-grid,
    .fleet-grid,
    .tips-grid {
        gap: 16px;
    }

    .healthcare-image {
        height: 160px;
    }

    .route-finder,
    .calculator-form,
    .booking-form,
    .booking-summary,
    .pricing-info,
    .contact-info,
    .feedback-form,
    .tracking-controls {
        padding: 20px;
    }

    .station-overview {
        grid-template-columns: 1fr;
    }

    .important-trains-grid,
    .booking-options {
        grid-template-columns: 1fr;
    }

    .fare-row {
        grid-template-columns: 1fr;
    }

    .fare-row>div {
        padding: 10px 15px;
    }

    .app-badges {
        flex-direction: column;
        align-items: center;
    }
}

.kannada-font {
    font-family: 'Noto Sans Kannada', sans-serif;
}

/* Language content styling - FIXED */
.en {
    display: block;
}

.kn {
    display: none;
    font-family: 'Noto Sans Kannada', sans-serif;
}

/* When body has kannada class, show Kannada content */
body.kannada .en {
    display: none;
}

body.kannada .kn {
    display: block;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    align-items: center;

    line-height: 1.3;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Smooth scroll bar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--teal-primary), var(--orange-primary));
    border-radius: 6px;
}

::-webkit-scrollbar-track {
    background: #ddd;
}

/* ---------------- HERO SECTION ---------------- */
.hero {
    text-align: center;
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--teal-dark) 0%, var(--orange-dark) 100%);
    color: white;
    border-radius: 0 0 0px 0px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%23ffffff" opacity="0.1"><polygon points="1000,100 1000,0 0,100"></polygon></svg>');
    background-size: cover;
}

.business-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* ---------------- MAIN CONTAINER ---------------- */
.industry-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ---------------- CATEGORIES SECTION ---------------- */
.categories {
    margin-bottom: 60px;
}

.categories h3 {
    font-size: 2.2rem;
    color: var(--teal-dark);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.categories h3::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(to right, var(--teal-primary), var(--orange-primary));
}

/* ---------------- HUB DETAILS ---------------- */
/* Hub Details Card */
.hub-details {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e0f2f1;
}

.hub-details:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 131, 143, 0.15);
}

/* Hub Header */
.hub-header {
    display: flex;
    align-items: center;
    padding: 25px;
    background: linear-gradient(135deg, #00695c 0%, #00897b 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hub-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: translate(30px, -30px);
}

.hub-icon {
    background: rgba(255, 255, 255, 0.25);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 1.8rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}

.hub-title {
    font-size: 1.6rem;
    margin-bottom: 8px;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hub-subtitle {
    opacity: 0.9;
    font-size: 1rem;
    font-weight: 400;
}

/* Hub Content */
.hub-content {
    display: flex;
    padding: 30px;
    gap: 40px;
    background: #fff;
}

.hub-info,
.hub-facilities {
    flex: 1;
}

.hub-info h4,
.hub-facilities h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #00695c;
    padding-bottom: 12px;
    border-bottom: 2px solid #00897b;
    font-weight: 600;
    position: relative;
}

.hub-info h4::after,
.hub-facilities h4::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #ff9800;
}

/* Info Items */
.info-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0f2f1;
    align-items: flex-start;
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-label {
    font-weight: 600;
    min-width: 150px;
    color: #00796b;
    font-size: 0.95rem;
    line-height: 1.4;
}

.info-value {
    color: #004d40;
    font-weight: 500;
    line-height: 1.4;
    flex: 1;
}

/* Facilities List */
.facilities-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.facility-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    transition: all 0.2s ease;
}

.facility-item:hover {
    transform: translateX(5px);
}

.facility-icon {
    color: #00796b;
    margin-right: 12px;
    font-size: 0.9rem;
    background: #e0f2f1;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Hub Image Section */
.hub-image {

    text-align: center;
}

.station-image {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 6px 20px rgba(0, 105, 92, 0.1);
    border: 1px solid #b2dfdb;
    transition: all 0.3s ease;
}

.station-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 105, 92, 0.15);
}

/* Direction Button */
.direction-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.direction-btn:hover {
    background: linear-gradient(135deg, #f57c00 0%, #ef6c00 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
    color: white;
    text-decoration: none;
}

.direction-btn i {
    margin-right: 8px;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hub-content {
        flex-direction: column;
        gap: 25px;
        padding: 25px;
    }

    .facilities-list {
        grid-template-columns: 1fr;
    }

    .hub-image {
        padding: 0 25px 25px;
    }
}

@media (max-width: 768px) {
    .hub-header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .hub-icon {
        margin-right: 0;
        margin-bottom: 15px;
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .hub-title {
        font-size: 1.4rem;
    }

    .info-item {
        flex-direction: column;
        gap: 5px;
    }

    .info-label {
        min-width: auto;
        font-weight: 600;
        color: #00796b;
    }

    .station-image {
        max-height: 250px;
    }
}

@media (max-width: 480px) {
    .hub-content {
        padding: 20px;
    }

    .hub-image {
        padding: 0 20px 20px;
    }

    .direction-btn {
        width: 100%;
        justify-content: center;
        padding: 15px 25px;
    }

    .hub-info h4,
    .hub-facilities h4 {
        font-size: 1.2rem;
    }
}

/* Animation for card entrance */
@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hub-details {
    animation: cardEntrance 0.6s ease-out;
}

/* ---------------- TRANSPORTATION TIPS ---------------- */
.transport-tips {
    background: linear-gradient(135deg, var(--teal-light), var(--teal-primary));
    border-radius: 15px;
    padding: 30px;
    margin-top: 40px;
    box-shadow: var(--shadow);
}

.transport-tips h4 {
    color: var(--white);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    font-size: 1.4rem;
}

.transport-tips h4 i {
    margin-right: 12px;
    color: var(--orange-light);
}

.tips-list {
    list-style-type: none;
    padding: 0;
}

.tips-list li {
    margin-bottom: 12px;
    padding: 12px 15px 12px 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    position: relative;
    transition: var(--transition);
}

.tips-list li:hover {
    background: var(--white);
    transform: translateX(5px);
}

.tips-list li:before {
    content: "💡";
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
}

/* ---------------- LANGUAGE TOGGLE SYSTEM ---------------- */
body:not(.kannada) .en {
    display: block;
}

body:not(.kannada) .kn {
    display: none;
}

body.kannada .en {
    display: none;
}

body.kannada .kn {
    display: block;
    font-family: 'Noto Sans Kannada', sans-serif;
}

/* Ensure proper font for Kannada content */
body.kannada {
    font-family: 'Noto Sans Kannada', sans-serif;
}

/* ---------------- ANIMATIONS ---------------- */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }
}

/* ---------------- RESPONSIVE DESIGN ---------------- */
@media (max-width: 992px) {
    .hero h2 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hub-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .facilities-list {
        grid-template-columns: 1fr;
    }

    .hub-header {
        flex-direction: column;
        text-align: center;
    }

    .hub-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0 60px;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .categories h3 {
        font-size: 1.8rem;
    }

    .hub-details {
        padding: 20px;
    }

    .hub-title {
        font-size: 1.5rem;
    }

    .info-item {
        flex-direction: column;
    }

    .info-label {
        min-width: auto;
        margin-bottom: 5px;
    }

    .language-toggle {
        top: 10px;
        right: 10px;
        padding: 6px 12px;
    }

    .lang-btn {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero h2 {
        font-size: 1.8rem;
    }

    .categories h3 {
        font-size: 1.5rem;
    }

    .hub-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .transport-tips {
        padding: 20px;
    }

    .tips-list li {
        padding: 10px 12px 10px 35px;
    }
}