:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #60a5fa;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --success-color: #198754;
    --rating-high: #198754;
    --rating-good: #28a745;
    --rating-medium: #ffc107;
    --rating-fair: #fd7e14;
    --rating-low: #dc3545;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

/* Navbar Styles */
.navbar {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 600;
}

.navbar-brand i {
    margin-right: 8px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

/* LED Matrix Display */
.led-matrix {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
}

.matrix-display {
    background: #000;
    border-radius: 10px;
    padding: 2rem;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    position: relative;
}

.bus-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bus-info span {
    font-size: 1.5rem;
    text-shadow: 0 0 10px #00ff00;
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: var(--light-color);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

.feature-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Problem Statement Section */
.problem-statement-section {
    padding: 6rem 0;
    background: var(--light-color);
}

.problem-statement-card {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.problem-statement-card h3 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.problem-points {
    margin-top: 3rem;
}

.problem-point {
    margin-bottom: 2rem;
    padding-left: 3rem;
    position: relative;
}

.problem-point i {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 2rem;
    color: var(--primary-color);
}

.problem-point h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Problems Section */
.problems-section {
    padding: 6rem 0;
    background: white;
}

.problem-card {
    padding: 2rem;
    background: var(--light-color);
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: transform 0.3s;
}

.problem-card:hover {
    transform: translateY(-5px);
}

.problem-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.benefits-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.benefits-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.benefits-list li:before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Features Highlight */
.features-highlight {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.features-highlight .section-title {
    color: white;
}

.highlight-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.highlight-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.highlight-card h3 {
    margin-bottom: 1rem;
    font-weight: 600;
    color: white;
}

.highlight-card p {
    color: rgba(255, 255, 255, 0.9);
}

.highlight-card ul {
    list-style: none;
    padding-left: 0;
    color: rgba(255, 255, 255, 0.9);
}

.highlight-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.highlight-card li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.7);
}

/* Team Section */
.team-section {
    padding: 6rem 0;
    background: var(--light-color);
}

.team-member {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 4px solid var(--primary-color);
}

.team-member h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.member-desc {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Statistics Section */
.statistics-section {
    padding: 4rem 0;
    background: var(--light-color);
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--secondary-color);
    font-weight: 500;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: white;
    padding: 4rem 0;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--accent-color);
}

/* Matrix Styles */
.matrix-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 30px;
}

.matrix-table {
    margin-bottom: 0;
}

.matrix-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
}

.matrix-table td {
    text-align: center;
    vertical-align: middle;
    transition: background-color 0.2s;
}

.matrix-table tr:hover {
    background-color: rgba(13, 110, 253, 0.05);
}

.transport-type {
    font-weight: 600;
    text-align: left !important;
}

.rating-cell {
    font-size: 0.9rem;
}

.rating-high { color: var(--rating-high); }
.rating-good { color: var(--rating-good); }
.rating-medium { color: var(--rating-medium); }
.rating-fair { color: var(--rating-fair); }
.rating-low { color: var(--rating-low); }

.detailed-note {
    font-size: 0.8rem;
    color: var(--secondary-color);
    margin-top: 4px;
}

.matrix-controls {
    display: flex;
    justify-content: center;
}

.legend {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.legend span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 0;
    }

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

    .led-matrix {
        margin-top: 2rem;
    }

    .bus-info span {
        font-size: 1.2rem;
    }

    .matrix-table {
        font-size: 0.9rem;
    }
    
    .detailed-note {
        font-size: 0.75rem;
    }
}

/* Animations */
@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.bus-info span {
    animation: blink 2s infinite;
}
