/* styles.css - Advanced Modern Design */

:root {
    --mta-blue: #0039A6;
    --mta-yellow: #FFC72C;
    --mta-blue-light: #0052D4;
    --mta-blue-dark: #002A7A;
    --yellow-light: #FFD966;
    --text-color: #1a1a1a;
    --text-light: #666;
    --light-grey: #f8f9fa;
    --dark-grey: #2c3e50;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 57, 166, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 57, 166, 0.12);
    --shadow-lg: 0 12px 40px rgba(0, 57, 166, 0.18);
    --shadow-xl: 0 20px 60px rgba(0, 57, 166, 0.25);
    --gradient-blue: linear-gradient(135deg, #0039A6 0%, #0052D4 50%, #0039A6 100%);
    --gradient-yellow: linear-gradient(135deg, #FFC72C 0%, #FFD966 100%);
    --gradient-hero: linear-gradient(135deg, #0039A6 0%, #0052D4 30%, #0039A6 60%, #002A7A 100%);
    --border-radius: 16px;
    --border-radius-lg: 24px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    margin: 0;
    padding: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 57, 166, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 199, 44, 0.03) 0%, transparent 50%),
        linear-gradient(to bottom, #fafbfc 0%, #ffffff 100%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Smooth scroll reveal animation */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: slideInUp 0.8s ease-out forwards;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: var(--white);
    color: var(--text-color);
    padding: 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--mta-blue);
    transition: var(--transition-fast);
}

.header-top-bar {
    height: 4px;
    background: var(--gradient-blue);
    width: 100%;
}

header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

header .container {
    padding: 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    position: relative;
    min-height: 80px;
}

.header-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 57, 166, 0.2), transparent);
}

.header-branding {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.header-logo-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.header-logo {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--gradient-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 57, 166, 0.25);
    position: relative;
    overflow: hidden;
}

.header-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--mta-yellow);
}

.logo-letter {
    color: var(--white);
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 1;
    position: relative;
    z-index: 1;
}

.logo-accent {
    width: 4px;
    height: 40px;
    background: var(--mta-yellow);
    border-radius: 2px;
    margin-left: 0.75rem;
    box-shadow: 0 2px 8px rgba(255, 199, 44, 0.3);
}

.header-title {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.header-title h1 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--mta-blue);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.header-title h1 a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: opacity 0.2s ease;
    display: inline-block;
}

.header-title h1 a:hover {
    opacity: 0.8;
}

.header-tagline {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 40px;
    height: 40px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
    outline: none;
}

.mobile-menu-toggle:focus {
    outline: 2px solid var(--mta-blue);
    outline-offset: 2px;
}

.mobile-menu-toggle:hover {
    background: #f8f9ff;
    box-shadow: 0 4px 12px rgba(0, 57, 166, 0.15);
}

.mobile-menu-toggle.active {
    background: var(--mta-blue);
    border-color: var(--mta-blue);
}

.mobile-menu-toggle.active .hamburger-line {
    background: var(--white);
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: var(--mta-blue);
    border-radius: 2px;
    transition: all 0.3s ease;
    pointer-events: none;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    transform-origin: center;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 10;
    position: relative;
}

.header-nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: var(--white);
    border-radius: 20px;
    text-decoration: none;
    color: #4a4a4a;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.header-nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 57, 166, 0.1), transparent);
    transition: left 0.5s ease;
}

.header-nav-item:hover {
    box-shadow: 0 4px 16px rgba(0, 57, 166, 0.2);
    transform: translateY(-2px) scale(1.02);
    color: var(--mta-blue);
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9ff 100%);
    border-color: rgba(0, 57, 166, 0.15);
}

.header-nav-item:hover::before {
    left: 100%;
}

.header-nav-item:active {
    transform: translateY(0) scale(0.98);
    transition: all 0.1s ease;
}

.header-nav-icon {
    font-size: 1.1rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header-train-decoration {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.2;
    transition: opacity 0.3s ease;
}

.header-train-decoration:hover {
    opacity: 0.3;
}

.subway-train-image {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.4);
    mix-blend-mode: multiply;
}

.subway-train-illustration {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.train-car {
    width: 140px;
    height: 50px;
    background: linear-gradient(135deg, #0039A6 0%, #0052D4 100%);
    border-radius: 8px 8px 4px 4px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 57, 166, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 0.5rem;
}

.train-car::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--mta-yellow);
    border-radius: 3px 3px 0 0;
}

.train-window {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.train-window::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
}

.train-tracks {
    width: 100%;
    height: 4px;
    position: relative;
}

.track-line {
    width: 100%;
    height: 2px;
    background: var(--mta-blue);
    border-radius: 1px;
    position: relative;
}

.track-line::before,
.track-line::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--mta-yellow);
    border-radius: 50%;
}

.track-line::before {
    left: 0;
}

.track-line::after {
    right: 0;
}

/* Hero Section - Metro Style */
.hero {
    position: relative;
    min-height: 400px;
    background: var(--gradient-blue);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    margin-bottom: 0;
    padding: 3rem 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/nyc-subway-map-hero.jpg') no-repeat center center/cover;
    opacity: 0.12;
    z-index: 1;
    filter: blur(1px);
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 199, 44, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 199, 44, 0.1) 0%, transparent 50%);
    animation: rotate 25s linear infinite;
    z-index: 1;
}

.hero .pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.03) 4px);
    z-index: 1;
    opacity: 0.5;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-overlay {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
    max-width: 1000px;
}

.hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

.hero p {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    color: var(--mta-blue);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: none;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    background: #f8f9fa;
}

.hero-btn-icon {
    font-size: 1.2rem;
}

@keyframes expandWidth {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 100px;
        opacity: 1;
    }
}

/* Quick Access Section */
.quick-access-section {
    background: var(--white);
    padding: 4rem 0;
    margin-top: 0;
}

.quick-access-title {
    text-align: center;
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--mta-blue);
    margin-bottom: 3rem;
    letter-spacing: -0.5px;
    position: relative;
    width: 100%;

        text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 3rem;
    letter-spacing: -0.5px;
}

.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.quick-access-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: var(--gradient-blue);
    color: var(--white);
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    min-height: 150px;
}

.quick-access-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #0052D4 0%, #0039A6 100%);
}

.quick-access-icon {
    font-size: 3rem;
    line-height: 1;
}

/* Keep 5 columns on tablets and larger screens */
@media (min-width: 769px) and (max-width: 1200px) {
    .quick-access-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1.2rem;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .quick-access-btn {
        padding: 1.5rem 1rem;
        font-size: 1rem;
    }
    
    .quick-access-icon {
        font-size: 2.5rem;
    }
}

/* Statistics Section */
.stats-section {
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    padding: 4rem 0;
    margin-top: 0;
}

.stats-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 3rem;
    letter-spacing: -0.5px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0, 57, 166, 0.1);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(0, 57, 166, 0.2);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--mta-blue);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Emergency Section */
.emergency-section {
    padding: 0;
    background: linear-gradient(135deg, #0039A6 0%, #0052D4 50%, #0066FF 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.emergency-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 199, 44, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 199, 44, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.emergency-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.03) 4px);
    pointer-events: none;
}

.emergency-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2.5rem 0;
    position: relative;
    z-index: 1;
}

.emergency-icon {
    font-size: 2rem;
    background: rgba(255, 199, 44, 0.2);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--mta-yellow);
    box-shadow: 0 0 20px rgba(255, 199, 44, 0.3);
}

.emergency-header h2 {
    margin: 0;
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.5px;
}

.emergency-contacts {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 0 4rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.emergency-contact-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    padding: 1.5rem 2.5rem;
    border-radius: 16px;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.emergency-contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.emergency-contact-item:hover::before {
    left: 100%;
}

.emergency-contact-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.2) 100%);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 199, 44, 0.5);
}

.emergency-contact-icon {
    font-size: 2.5rem;
    line-height: 1;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
    transition: var(--transition);
}

.emergency-contact-item:hover .emergency-contact-icon {
    transform: scale(1.15) rotate(5deg);
}

.emergency-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.emergency-contact-info strong {
    font-size: 1rem;
    opacity: 0.95;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.emergency-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--mta-yellow);
    line-height: 1;
    text-shadow: 0 2px 10px rgba(255, 199, 44, 0.5);
    letter-spacing: 2px;
}

/* Overview Section */
.overview-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    position: relative;
}

.overview-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(0, 57, 166, 0.04) 1px, transparent 0);
    background-size: 25px 25px;
    pointer-events: none;
}

.overview-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--mta-blue);
    margin-bottom: 3rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.overview-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 5px;
    background: linear-gradient(90deg, transparent, var(--mta-yellow), transparent);
    border-radius: 3px;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.overview-column {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 30px rgba(0, 57, 166, 0.12);
    border: 2px solid rgba(0, 57, 166, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.overview-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.overview-column:hover::before {
    transform: scaleX(1);
}

.overview-column:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 57, 166, 0.2);
    border-color: rgba(0, 57, 166, 0.3);
}

.overview-column:nth-child(1) {
    border-top: 5px solid #EE352E;
}

.overview-column:nth-child(2) {
    border-top: 5px solid #0039A6;
}

.overview-column:nth-child(3) {
    border-top: 5px solid #FF6319;
}

.overview-column h3 {
    font-size: 1.75rem;
    color: var(--mta-blue);
    margin-bottom: 1.5rem;
    font-weight: 700;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--mta-yellow);
    position: relative;
}

.overview-column h3::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--mta-yellow);
    border-radius: 2px;
}

.overview-column p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.overview-column p strong {
    color: var(--mta-blue);
    font-weight: 600;
    background: linear-gradient(135deg, rgba(0, 57, 166, 0.1) 0%, rgba(0, 82, 212, 0.1) 100%);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.overview-lines-list,
.overview-services-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0 0;
}

.overview-lines-list li,
.overview-services-list li {
    padding: 0.875rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-color);
    line-height: 1.7;
    border-bottom: 1px solid rgba(0, 57, 166, 0.1);
    transition: var(--transition);
}

.overview-lines-list li:hover,
.overview-services-list li:hover {
    background: rgba(0, 57, 166, 0.03);
    padding-left: 2.25rem;
    border-left: 3px solid var(--mta-yellow);
    margin-left: -3px;
}

.overview-lines-list li:last-child,
.overview-services-list li:last-child {
    border-bottom: none;
}

.overview-lines-list li::before,
.overview-services-list li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--mta-blue);
    font-weight: 700;
    font-size: 0.8rem;
    transition: var(--transition);
}

.overview-lines-list li:hover::before,
.overview-services-list li:hover::before {
    color: var(--mta-yellow);
    transform: translateX(3px);
}

.overview-lines-list li strong {
    color: var(--mta-blue);
    font-weight: 600;
    background: linear-gradient(135deg, rgba(0, 57, 166, 0.1) 0%, rgba(0, 82, 212, 0.1) 100%);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    display: inline-block;
}

/* Updates Section */
.updates-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 50%, #ffffff 100%);
    position: relative;
}

.updates-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 57, 166, 0.02) 2px, rgba(0, 57, 166, 0.02) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 57, 166, 0.02) 2px, rgba(0, 57, 166, 0.02) 4px);
    background-size: 40px 40px;
    pointer-events: none;
    opacity: 0.5;
}

.updates-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--mta-blue);
    margin-bottom: 3rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.updates-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: var(--mta-blue);
    border-radius: 2px;
}

.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.update-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 6px 25px rgba(0, 57, 166, 0.12);
    text-align: center;
    transition: var(--transition);
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.update-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 57, 166, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.update-card:hover::after {
    opacity: 1;
}

.update-card:hover {
    transform: translateY(-10px) rotate(-1deg);
    box-shadow: 0 12px 40px rgba(0, 57, 166, 0.2);
    border-color: var(--mta-yellow);
}

.update-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--mta-blue) 0%, var(--mta-yellow) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    box-shadow: 0 8px 20px rgba(0, 57, 166, 0.25);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.update-card:hover .update-icon {
    transform: scale(1.15) rotate(-10deg);
    box-shadow: 0 12px 30px rgba(0, 57, 166, 0.4);
    border-radius: 50%;
}

.update-card h3 {
    font-size: 1.5rem;
    color: var(--mta-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

.update-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.update-link {
    color: var(--mta-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.update-link:hover {
    color: var(--mta-yellow);
    gap: 0.75rem;
}

/* Insights Section */
.insights-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.insights-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 57, 166, 0.2), transparent);
}

.insights-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--mta-blue);
    margin-bottom: 3rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.insights-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: var(--mta-blue);
    border-radius: 2px;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.insight-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0, 57, 166, 0.1);
    display: flex;
    flex-direction: column;
}

.insight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 57, 166, 0.15);
    border-color: rgba(0, 57, 166, 0.2);
}

.insight-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 57, 166, 0.1) 0%, rgba(0, 82, 212, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.insight-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 57, 166, 0.05) 0%, rgba(0, 82, 212, 0.05) 100%);
    filter: grayscale(100%);
}

.insight-image-placeholder {
    font-size: 4rem;
    opacity: 0.3;
    filter: grayscale(100%);
    position: relative;
    z-index: 1;
}

.insight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.insight-card:hover .insight-image-placeholder {
    opacity: 0.5;
    transform: scale(1.1);
    transition: var(--transition);
}

.insight-card:hover .insight-image img {
    transform: scale(1.05);
    transition: var(--transition);
}

.insight-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.insight-content h3 {
    font-size: 1.5rem;
    color: var(--mta-blue);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.insight-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    flex: 1;
}

.insight-link {
    color: var(--mta-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
}

.insight-link:hover {
    color: var(--mta-yellow);
    gap: 0.75rem;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f0f4f8 100%);
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(0, 57, 166, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(255, 199, 44, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--mta-blue);
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    position: relative;
}

.section-intro {
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2.5rem;
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 2px solid rgba(0, 57, 166, 0.1);
    border-top: 6px solid var(--mta-blue);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-yellow);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
    z-index: 1;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(0, 57, 166, 0.1) 0%, transparent 70%);
    border-radius: 0 0 0 100%;
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 57, 166, 0.2);
    border-color: rgba(0, 57, 166, 0.3);
    border-top-color: var(--mta-yellow);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon-wrapper {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(0, 57, 166, 0.1) 0%, rgba(0, 82, 212, 0.1) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon-wrapper {
    background: var(--gradient-blue);
    transform: scale(1.1) rotate(5deg);
}

.feature-icon {
    font-size: 2rem;
    line-height: 1;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--mta-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.feature-link {
    color: var(--mta-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-link:hover {
    color: var(--mta-yellow);
    gap: 0.75rem;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 57, 166, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 199, 44, 0.06) 0%, transparent 40%),
        linear-gradient(135deg, rgba(248, 249, 250, 0.9) 0%, rgba(255, 255, 255, 1) 50%, rgba(248, 249, 250, 0.9) 100%);
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-blue);
    box-shadow: 0 2px 10px rgba(0, 57, 166, 0.3);
}

.faq-section::after {
    content: '';
    position: absolute;
    top: 20%;
    left: -10%;
    width: 120%;
    height: 60%;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(0, 57, 166, 0.02) 10px,
            rgba(0, 57, 166, 0.02) 20px
        );
    pointer-events: none;
    z-index: -1;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.75rem;
    color: var(--mta-blue);
    margin-bottom: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 57, 166, 0.1);
}

.faq-section h2::after {
    content: '🚇';
    position: absolute;
    top: -15px;
    right: -45px;
    font-size: 2.5rem;
    opacity: 0.85;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background: linear-gradient(145deg, var(--white) 0%, rgba(248, 249, 250, 0.8) 100%);
    border-radius: var(--border-radius-lg);
    box-shadow: 
        0 4px 20px rgba(0, 57, 166, 0.08),
        0 2px 10px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 57, 166, 0.1);
    border-top: 5px solid var(--mta-blue);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 
        0 8px 30px rgba(0, 57, 166, 0.12),
        0 4px 15px rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 57, 166, 0.2);
}

.faq-item[open] {
    box-shadow: 
        0 10px 40px rgba(0, 57, 166, 0.15),
        0 5px 20px rgba(0, 0, 0, 0.08);
}

.faq-item summary {
    padding: 2rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--mta-blue);
    cursor: pointer;
    list-style: none;
    position: relative;
    transition: color 0.3s ease;
    padding-right: 4rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--mta-yellow);
    font-weight: 900;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
}

.faq-item summary:hover {
    color: var(--dark-grey);
}

.faq-item p {
    padding: 0 2rem 2rem 2rem;
    margin: 0;
    color: var(--text-color);
    line-height: 1.7;
    font-size: 1rem;
    border-top: 1px solid rgba(0, 57, 166, 0.1);
    background: rgba(248, 249, 250, 0.5);
}

/* Info Section */
.info-section {
    padding: 5rem 0;
    background: var(--white);
    position: relative;
}

.info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--mta-yellow), transparent);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.info-card-large {
    background: var(--white);
    border-radius: 0;
    box-shadow: 0 6px 25px rgba(0, 57, 166, 0.12);
    overflow: hidden;
    border: 3px solid rgba(0, 57, 166, 0.15);
    transition: var(--transition);
    position: relative;
}

.info-card-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 100%;
    background: var(--gradient-blue);
    transform: scaleY(0);
    transform-origin: top;
    transition: var(--transition);
}

.info-card-large:hover::before {
    transform: scaleY(1);
}

.info-card-large:hover {
    box-shadow: 0 12px 40px rgba(0, 57, 166, 0.25);
    transform: translateY(-6px);
    border-color: rgba(0, 57, 166, 0.3);
}

.info-card-header {
    background: var(--gradient-blue);
    padding: 1.75rem 2rem;
    color: var(--white);
}

.info-card-header h3 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.info-card-content {
    padding: 2.5rem;
}

.info-card-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.info-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 57, 166, 0.1);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list strong {
    color: var(--mta-blue);
    font-weight: 600;
}

.tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tips-list li {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(0, 57, 166, 0.1);
}

.tips-list li:last-child {
    border-bottom: none;
}

.tip-icon {
    width: 32px;
    height: 32px;
    background: var(--mta-yellow);
    color: var(--mta-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(255, 199, 44, 0.3);
}

.tips-list li div {
    flex: 1;
}

.tips-list li strong {
    display: block;
    color: var(--mta-blue);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.tips-list li p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Share Section */
.share-section {
    padding: 2rem 0 2rem 0;
    background: rgba(0, 57, 166, 0.15);
    text-align: center;
    position: relative;
    border-top: 2px solid rgba(0, 57, 166, 0.1);
    margin-bottom: 0px;
}

.share-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(0, 57, 166, 0.1);
}

.share-content h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    color: var(--mta-blue);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.share-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    color: var(--white);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    border: 2px solid transparent;
    flex: 0 1 auto;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.share-icon {
    font-size: 1.25rem;
    line-height: 1;
}

.share-btn-facebook {
    background: #1877F2;
}

.share-btn-facebook:hover {
    background: #166FE5;
    border-color: rgba(255, 255, 255, 0.3);
}

.share-btn-twitter {
    background: #1DA1F2;
}

.share-btn-twitter:hover {
    background: #1A91DA;
    border-color: rgba(255, 255, 255, 0.3);
}

.share-btn-linkedin {
    background: #0077B5;
}

.share-btn-linkedin:hover {
    background: #006399;
    border-color: rgba(255, 255, 255, 0.3);
}

.share-btn-whatsapp {
    background: #25D366;
}

.share-btn-whatsapp:hover {
    background: #22C55E;
    border-color: rgba(255, 255, 255, 0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main Content Sections - Modern */
.section {
    padding: 5rem 0;
    position: relative;
    background: var(--white);
}

.section h1 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--mta-blue);
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.section h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--mta-blue);
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: var(--gradient-yellow);
    border-radius: 2px;
    animation: expandWidth 1s ease-out 0.3s forwards;
}

.section h2::before {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: rgba(0, 57, 166, 0.2);
    border-radius: 1px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.grid-item {
    background: var(--white);
    padding: 2.5rem;
    text-align: center;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 57, 166, 0.08);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.grid-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
    z-index: 1;
}

.grid-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 57, 166, 0.05) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: var(--transition-slow);
    z-index: 0;
}

.grid-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: rgba(0, 57, 166, 0.25);
}

.grid-item:hover::before {
    transform: scaleX(1);
}

.grid-item:hover::after {
    width: 300px;
    height: 300px;
}

.grid-item:active {
    transform: translateY(-8px) scale(1.01);
}

.grid-item h3 {
    color: var(--mta-blue);
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.6rem;
    font-weight: 800;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.grid-item:hover h3 {
    color: var(--mta-blue-light);
    transform: translateX(4px);
}

.grid-item p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.grid-item:hover p {
    color: var(--text-color);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--gradient-yellow);
    color: var(--mta-blue);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 1.05rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: translate(-50%, -50%);
    transition: width 0.7s, height 0.7s;
    z-index: 0;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--border-radius);
    padding: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition);
}

.btn span {
    position: relative;
    z-index: 1;
}

.btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #FFD966 0%, #FFC72C 100%);
}

.btn:hover::before {
    width: 400px;
    height: 400px;
}

.btn:hover::after {
    opacity: 1;
}

.btn:active {
    transform: translateY(-2px) scale(1);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    box-shadow: none;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--mta-yellow);
    color: var(--mta-yellow);
}

/* Footer - Modern */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
    color: #fff;
    padding: 1.5rem 0 1rem;
    text-align: center;
    font-size: 0.95rem;
    margin-top: 0;
    position: relative;
}

footer .container {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-logo {
    margin-bottom: 0.1rem;
}

.footer-logo-letter {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    display: inline-block;
    line-height: 1;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    padding: 0;
}

.footer-tagline {
    font-size: 1rem;
    color: #fff;
    margin: 0;
    opacity: 0.95;
}

.footer-nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0.1rem 0;
}

.footer-nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 0.25rem 0;
}

.footer-nav-links a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.footer-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0.1rem 0;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 0.95rem;
}

.footer-icon {
    font-size: 1.1rem;
    line-height: 1;
}

.footer-separator {
    color: #fff;
    opacity: 0.7;
    font-size: 1.2rem;
}

.footer-disclaimer {
    font-size: 0.9rem;
    color: #fff;
    margin: 0.1rem 0;
    opacity: 0.9;
    line-height: 1.5;
}

.footer-copyright {
    font-size: 0.9rem;
    color: #fff;
    margin: 0.1rem 0 0 0;
    opacity: 0.9;
}

/* Responsive Design - Enhanced */
@media (max-width: 768px) {
    .header-content {
        padding: 1rem 0;
        position: relative;
    }

    .header-branding {
        gap: 1rem;
    }

    .header-logo {
        width: 48px;
        height: 48px;
    }

    .logo-letter {
        font-size: 1.5rem;
    }

    .logo-accent {
        height: 32px;
        width: 3px;
    }

    .header-title h1 {
        font-size: 1.4rem;
    }

    .header-title h1 a {
        text-decoration: none;
        color: inherit;
        cursor: pointer;
        transition: opacity 0.2s ease;
        display: inline-block;
    }

    .header-title h1 a:hover {
        opacity: 0.8;
    }

    .header-tagline {
        font-size: 0.7rem;
    }

    .mobile-menu-toggle {
        display: flex;
        position: relative;
        z-index: 1002;
        min-width: 44px;
        min-height: 44px;
        width: 44px;
        height: 44px;
    }

    .header-content {
        position: relative;
        z-index: 1;
    }

    .header-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        max-width: 85vw;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 80px 1.5rem 2rem;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        overflow-y: auto;
        display: flex;
        visibility: hidden;
    }

    .header-nav.active {
        right: 0;
        visibility: visible;
    }


    .header-nav-item {
        width: 100%;
        padding: 1rem 1.25rem;
        font-size: 1rem;
        border-radius: 12px;
        margin-bottom: 0.5rem;
        justify-content: flex-start;
    }

    .header-nav-icon {
        font-size: 1.1rem;
    }

    /* Mobile menu overlay */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: 999;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        pointer-events: all;
    }

    .hero {
        min-height: 360px;
        padding: 2.5rem 0;
    }

    .updates-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .update-card {
        padding: 2rem;
    }

    .emergency-contacts {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem 0 2rem;
    }

    .emergency-contact-item {
        width: 100%;
        max-width: 300px;
        padding: 1rem 1.5rem;
    }

    .overview-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .overview-column {
        padding: 2rem;
    }

    .insights-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .insight-image {
        height: 180px;
    }

    .insight-content {
        padding: 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 2rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .info-card-content {
        padding: 2rem;
    }

    .share-content {
        padding: 2rem;
    }

    .share-buttons {
        flex-direction: column;
    }

    /* Footer Responsive */
    footer {
        padding: 2.5rem 0 1.5rem;
    }

    footer .container {
        padding: 0 1rem;
        gap: 1rem;
    }

    .footer-logo-letter {
        font-size: 2.5rem;
    }

    .footer-title {
        font-size: 1.3rem;
    }

    .footer-tagline {
        font-size: 0.9rem;
    }

    .footer-nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-nav-links a {
        font-size: 0.9rem;
    }

    .footer-contact {
        flex-direction: column;
        gap: 0.75rem;
    }

    .footer-separator {
        display: none;
    }

    .footer-disclaimer {
        font-size: 0.85rem;
        padding: 0 1rem;
    }

    .footer-copyright {
        font-size: 0.85rem;
    }

    .share-btn {
        width: 100%;
        justify-content: center;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    .quick-access-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .quick-access-btn {
        padding: 1.5rem 1rem;
        min-height: 120px;
    }

    .quick-access-icon {
        font-size: 2.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-card {
        padding: 2rem 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section h1 {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
        margin-bottom: 1.25rem;
    }

    .grid-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .grid-item {
        padding: 2rem;
    }
}

/* Map Page Specific Styles */
.map-section {
    text-align: center;
}

.map-section .map-intro {
    font-size: 1.1em;
    margin-bottom: 30px;
}

.subway-map-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto 30px auto;
    border: 1px solid var(--light-grey);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    cursor: grab;
    background: #f5f5f5;
    touch-action: none;
}

.map-wrapper.dragging {
    cursor: grabbing;
}

.responsive-map {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.1s ease-out;
    user-select: none;
    -webkit-user-drag: none;
    transform-origin: 0 0;
    will-change: transform;
}

.map-wrapper.dragging .responsive-map {
    transition: none;
}

.map-zoom-controls {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.zoom-btn {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 57, 166, 0.2);
    background: var(--white);
    color: var(--mta-blue);
    font-size: 1.5rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
}

.zoom-btn:hover {
    background: var(--mta-blue);
    color: var(--white);
    border-color: var(--mta-blue);
    transform: scale(1.05);
}

.zoom-btn:active {
    transform: scale(0.95);
}

.zoom-reset {
    font-size: 1.2rem;
    margin-top: 4px;
    border-top: 2px solid rgba(0, 57, 166, 0.2);
    padding-top: 8px;
}

.zoom-fullscreen {
    font-size: 1.2rem;
    margin-top: 4px;
    border-top: 2px solid rgba(0, 57, 166, 0.2);
    padding-top: 8px;
}

/* Fullscreen mode styles */
.subway-map-container:fullscreen {
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    border-radius: 0;
    border: none;
    background: #000;
}

.subway-map-container:-webkit-full-screen {
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    border-radius: 0;
    border: none;
    background: #000;
}

.subway-map-container:-moz-full-screen {
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    border-radius: 0;
    border: none;
    background: #000;
}

.subway-map-container:-ms-fullscreen {
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    border-radius: 0;
    border: none;
    background: #000;
}

.subway-map-container:fullscreen .map-wrapper {
    height: calc(100vh - 60px);
}

.subway-map-container:-webkit-full-screen .map-wrapper {
    height: calc(100vh - 60px);
}

.subway-map-container:-moz-full-screen .map-wrapper {
    height: calc(100vh - 60px);
}

.subway-map-container:-ms-fullscreen .map-wrapper {
    height: calc(100vh - 60px);
}

.subway-map-container:fullscreen .map-legend,
.subway-map-container:fullscreen .map-instructions {
    display: none;
}

.subway-map-container:-webkit-full-screen .map-legend,
.subway-map-container:-webkit-full-screen .map-instructions {
    display: none;
}

.subway-map-container:-moz-full-screen .map-legend,
.subway-map-container:-moz-full-screen .map-instructions {
    display: none;
}

.subway-map-container:-ms-fullscreen .map-legend,
.subway-map-container:-ms-fullscreen .map-instructions {
    display: none;
}

.subway-map-container:fullscreen .map-zoom-controls {
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.subway-map-container:-webkit-full-screen .map-zoom-controls {
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.subway-map-container:-moz-full-screen .map-zoom-controls {
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.subway-map-container:-ms-fullscreen .map-zoom-controls {
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.subway-map-container:fullscreen .zoom-btn {
    background: rgba(255, 255, 255, 0.9);
    color: var(--mta-blue);
    border-color: rgba(255, 255, 255, 0.3);
}

.subway-map-container:-webkit-full-screen .zoom-btn {
    background: rgba(255, 255, 255, 0.9);
    color: var(--mta-blue);
    border-color: rgba(255, 255, 255, 0.3);
}

.subway-map-container:-moz-full-screen .zoom-btn {
    background: rgba(255, 255, 255, 0.9);
    color: var(--mta-blue);
    border-color: rgba(255, 255, 255, 0.3);
}

.subway-map-container:-ms-fullscreen .zoom-btn {
    background: rgba(255, 255, 255, 0.9);
    color: var(--mta-blue);
    border-color: rgba(255, 255, 255, 0.3);
}

.subway-map-container:fullscreen .zoom-btn:hover {
    background: var(--mta-blue);
    color: var(--white);
}

.subway-map-container:-webkit-full-screen .zoom-btn:hover {
    background: var(--mta-blue);
    color: var(--white);
}

.subway-map-container:-moz-full-screen .zoom-btn:hover {
    background: var(--mta-blue);
    color: var(--white);
}

.subway-map-container:-ms-fullscreen .zoom-btn:hover {
    background: var(--mta-blue);
    color: var(--white);
}

.map-instructions {
    padding: 15px 20px;
    background: #f8f9fa;
    border-top: 1px solid var(--light-grey);
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
}

.map-legend {
    background-color: #fff;
    padding: 25px;
    text-align: left;
    border-top: 1px solid var(--light-grey);
}

.map-legend h3 {
    color: var(--mta-blue);
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.legend-intro {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.legend-section {
    margin-bottom: 20px;
}

.legend-section:last-of-type {
    margin-bottom: 15px;
}

.legend-group-title {
    color: #333;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 0;
    padding-left: 5px;
    border-left: 3px solid var(--mta-blue);
    padding-left: 10px;
}

.map-legend .line-items {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-bottom: 0;
}

.legend-info {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid #e0e0e0;
}

.legend-info p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 10px;
}

.legend-info p:last-child {
    margin-bottom: 0;
}

.line-indicator {
    display: inline-block;
    width: 25px;
    height: 25px;
    line-height: 25px;
    border-radius: 50%;
    color: #fff;
    font-weight: bold;
    text-align: center;
    font-size: 0.9em;
    margin-right: 5px;
}

/* MTA Line Colors - Complete Set */
/* Red Lines (Broadway-Seventh Avenue) */
.line-indicator.\31, .line-indicator.\32, .line-indicator.\33 {
    background-color: #EE352E; /* Red */
}

/* Green Lines (Lexington Avenue) */
.line-indicator.\34, .line-indicator.\35, .line-indicator.\36 {
    background-color: #00933C; /* Green */
}

/* Blue Lines (Eighth Avenue) */
.line-indicator.A, .line-indicator.C, .line-indicator.E {
    background-color: #2850AD; /* Blue */
}

/* Orange Lines (Sixth Avenue) */
.line-indicator.B, .line-indicator.D, .line-indicator.F, .line-indicator.M {
    background-color: #FF6319; /* Orange */
}

/* Yellow Lines (Broadway) */
.line-indicator.N, .line-indicator.Q, .line-indicator.R, .line-indicator.W {
    background-color: #FCCC0A; /* Yellow */
    color: #000; /* Black text for contrast */
}

/* Purple Line (Flushing) */
.line-indicator.\37 {
    background-color: #B933AD; /* Purple */
}

/* Light Green Line (Brooklyn-Queens Crosstown) */
.line-indicator.G {
    background-color: #6CBE45; /* Light Green */
}

/* Brown Lines (Nassau Street) */
.line-indicator.J, .line-indicator.Z {
    background-color: #996600; /* Brown */
}

/* Gray Line (Canarsie) */
.line-indicator.L {
    background-color: #A7A9AC; /* Gray */
}

/* Dark Gray Line (Shuttle) */
.line-indicator.S {
    background-color: #808183; /* Dark Gray */
}

.transfer-note {
    font-size: 0.9em;
    color: #555;
    margin-top: 15px;
    width: 100%; /* Ensure it takes full width in flex container */
}

.map-travel-info {
    margin-top: 40px;
    padding: 0;
    text-align: left;
}

.travel-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.travel-info-card {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    text-align: left;
}

.travel-info-card:hover {
    box-shadow: 0 4px 12px rgba(0, 57, 166, 0.1);
    border-color: rgba(0, 57, 166, 0.2);
    transform: translateY(-2px);
}

.travel-info-card h3 {
    color: var(--mta-blue);
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0, 57, 166, 0.1);
    text-align: left;
}

.travel-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.travel-info-list li {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    text-align: left;
}

.travel-info-list li:last-child {
    margin-bottom: 0;
}

.travel-info-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--mta-blue);
    font-weight: bold;
    font-size: 1.2rem;
}

.travel-info-list strong {
    color: #333;
    font-weight: 600;
}

.travel-info-list a {
    color: var(--mta-blue);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.travel-info-list a:hover {
    color: #0039A6;
    text-decoration: none;
}

.map-disclaimer {
    font-size: 0.85em;
    color: #777;
    margin-top: 20px;
    padding: 0 10px;
    line-height: 1.6;
}

.map-disclaimer a {
    color: var(--mta-blue);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.map-disclaimer a:hover {
    color: #0039A6;
}

@media (max-width: 768px) {
    .map-legend .line-items {
        justify-content: center;
    }

    .map-wrapper {
        height: 400px;
    }

    .map-zoom-controls {
        top: 10px;
        right: 10px;
        padding: 6px;
        gap: 6px;
    }

    .zoom-btn {
        width: 36px;
        height: 36px;
        font-size: 1.3rem;
    }

    .zoom-fullscreen {
        font-size: 1.1rem;
    }

    .map-instructions {
        font-size: 0.85rem;
        padding: 12px 15px;
    }

    .travel-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .travel-info-card {
        padding: 15px;
    }

    .travel-info-card h3 {
        font-size: 1rem;
    }

    .travel-info-list li {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }
}

/* Fare Calculator Page Specific Styles */
.fare-calculator-section {
    text-align: center;
    padding: 40px 0;
}

.fare-calculator-section .intro-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.fare-calculator-tool {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    margin: 3rem auto;
    text-align: left;
    border: 1px solid rgba(0, 57, 166, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.fare-calculator-tool::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-slow);
}

.fare-calculator-tool:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.fare-calculator-tool:hover::before {
    transform: scaleX(1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--dark-grey);
}

.form-group select,
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="date"],
.form-group input[type="time"],
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    background-color: #fff;
    transition: var(--transition);
    font-family: inherit;
}

.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--mta-blue);
    box-shadow: 0 0 0 3px rgba(0, 57, 166, 0.1);
    transform: translateY(-1px);
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-grey);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-group:focus-within label {
    color: var(--mta-blue);
}

#calculate-fare-btn {
    width: 100%;
    padding: 12px;
    font-size: 1.1em;
    margin-top: 15px;
}

.fare-result {
    margin-top: 2rem;
    padding: 2.5rem;
    background: var(--gradient-blue);
    color: #fff;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.6s ease-out, pulse 2s ease-in-out infinite 0.6s;
    position: relative;
    overflow: hidden;
}

.fare-result::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 199, 44, 0.2) 0%, transparent 70%);
    animation: rotate 15s linear infinite;
}

.fare-result h3 {
    margin: 0;
    font-size: 2.2rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.fare-result span {
    font-weight: 900;
    color: var(--mta-yellow);
    font-size: 2.5rem;
    display: inline-block;
    margin-left: 0.5rem;
    text-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 199, 44, 0.5);
    position: relative;
    z-index: 1;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

@keyframes glow {
    from {
        text-shadow: 
            0 2px 8px rgba(0, 0, 0, 0.3),
            0 0 20px rgba(255, 199, 44, 0.5);
    }
    to {
        text-shadow: 
            0 2px 8px rgba(0, 0, 0, 0.3),
            0 0 30px rgba(255, 199, 44, 0.8);
    }
}

.fare-info {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.fare-info h3 {
    color: var(--mta-blue);
    margin-bottom: 15px;
}

.fare-info p {
    margin-bottom: 10px;
    font-size: 0.95em;
    line-height: 1.5;
}

.fare-info a {
    color: var(--mta-blue);
    text-decoration: underline;
}

.fare-calculator-form {
    margin-bottom: 2rem;
}

.fare-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.fare-info-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 2px solid #e9ecef;
    transition: var(--transition);
}

.fare-info-card:hover {
    border-color: var(--mta-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.fare-info-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
}

.fare-info-card h4 {
    color: var(--mta-blue);
    margin: 0 0 0.75rem 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.fare-info-card p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--dark-grey);
}

.fare-details {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    text-align: left;
    position: relative;
    z-index: 1;
}

.fare-detail-item {
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
    font-size: 1rem;
    line-height: 1.6;
}

.fare-detail-item strong {
    color: rgba(255, 255, 255, 0.95);
    margin-right: 0.5rem;
}

.fare-detail-item:last-child {
    margin-bottom: 0;
}

.fare-savings {
    background: rgba(255, 199, 44, 0.2);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--mta-yellow);
    margin-top: 1rem;
}

.fare-tip {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border-left: 4px solid rgba(255, 255, 255, 0.5);
    margin-top: 1rem;
    font-style: italic;
}

.fare-result.fare-error {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

@media (max-width: 768px) {
    .fare-calculator-tool {
        padding: 20px;
        margin: 20px auto;
    }

    .fare-result h3 {
        font-size: 1.5em;
    }

    .fare-result span {
        font-size: 1.8rem;
    }

    .fare-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .fare-details {
        font-size: 0.9rem;
    }
}

/* Station Info Page Specific Styles */
.stations-section {
    padding: 40px 0;
}

.stations-section .intro-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.station-filter-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    padding: 2.5rem;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 57, 166, 0.1);
    position: relative;
    overflow: hidden;
}

.station-filter-controls::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-blue);
    transform: scaleX(0);
    animation: expandWidth 1s ease-out 0.3s forwards;
}

.search-wrapper {
    position: relative;
    flex-grow: 1;
    max-width: 250px;
    display: flex;
    align-items: center;
}

.text-input, .select-input {
    padding: 0.875rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    flex-grow: 1;
    max-width: 250px;
    transition: var(--transition);
    background: var(--white);
    width: 100%;
}

.search-wrapper .text-input {
    max-width: 100%;
    padding-right: 2.5rem;
}

.clear-search-btn {
    position: absolute;
    right: 8px;
    background: transparent;
    border: none;
    color: #999;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    line-height: 1;
    transition: color 0.2s ease;
    z-index: 10;
}

.clear-search-btn:hover {
    color: var(--mta-blue);
}

.clear-search-btn:focus {
    outline: 2px solid var(--mta-blue);
    outline-offset: 2px;
    border-radius: 4px;
}

.text-input:focus, .select-input:focus {
    outline: none;
    border-color: var(--mta-blue);
    box-shadow: 0 0 0 3px rgba(0, 57, 166, 0.1);
}

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 0;
    cursor: pointer;
    font-size: 1em;
    user-select: none;
    display: flex;
    align-items: center;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border-radius: 3px;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #ccc;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--mta-blue);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.station-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.station-card {
    background: var(--white);
    border: 1px solid rgba(0, 57, 166, 0.1);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    cursor: pointer;
}

.station-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
    z-index: 1;
}

.station-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 57, 166, 0.02) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.station-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: var(--shadow-xl);
    border-color: rgba(0, 57, 166, 0.3);
}

.station-card:hover::before {
    transform: scaleX(1);
}

.station-card:hover::after {
    opacity: 1;
}

.station-card a {
    text-decoration: none;
    color: var(--text-color);
    display: block;
    padding: 20px;
}

.station-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--light-grey);
}

.station-card-header h3 {
    margin: 0;
    font-size: 1.5em;
    color: var(--mta-blue);
}

.station-lines {
    display: flex;
    gap: 5px;
}

.station-card-body p {
    margin: 5px 0;
    font-size: 0.95em;
}

.station-card-body p strong {
    color: var(--dark-grey);
}

/* Media Queries for Station Info */
@media (max-width: 768px) {
    .map-legend .line-items {
        justify-content: center;
    }

    .station-filter-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .search-wrapper {
        max-width: 100%;
    }

    .text-input, .select-input {
        max-width: 100%;
    }
}

/* Lines Page Specific Styles */
.lines-section {
    padding: 40px 0;
}

.lines-section .intro-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.line-list-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.line-card {
    background: var(--white);
    border: 1px solid rgba(0, 57, 166, 0.1);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.line-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: var(--shadow-xl);
    border-color: rgba(0, 57, 166, 0.3);
}

.line-card .line-header {
    position: relative;
    overflow: hidden;
}

.line-card .line-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: var(--transition-slow);
}

.line-card:hover .line-header::after {
    left: 100%;
}

.line-card .line-header {
    padding: 15px 20px;
    color: #fff;
    font-weight: bold;
}

.line-card .line-header h3 {
    margin: 0;
    font-size: 1.6em;
}

.line-card .line-body {
    padding: 20px;
    text-align: left;
}

.line-card .line-body p {
    margin-bottom: 10px;
    font-size: 0.95em;
}

.line-card .line-body strong {
    color: var(--dark-grey);
}

.line-card .btn-small {
    padding: 8px 15px;
    font-size: 0.9em;
    margin-top: 10px;
}

/* Individual Line Colors */
.line-A, .line-C, .line-E {
    background-color: #2850AD; /* Blue */
}
.line-B, .line-D, .line-F, .line-M {
    background-color: #FF6319; /* Orange */
}
.line-G {
    background-color: #6CBE45; /* Lime Green */
}
.line-J, .line-Z {
    background-color: #996633; /* Brown */
}
.line-L {
    background-color: #A7A9AC; /* Gray */
}
.line-N, .line-Q, .line-R, .line-W {
    background-color: #FCCC0A; /* Yellow */
    color: var(--text-color); /* Adjust text color for contrast */
}
.line-S {
    background-color: #808183; /* Dark Gray */
}
.line-1, .line-2, .line-3 {
    background-color: #EE352E; /* Red */
}
.line-4, .line-5, .line-6 {
    background-color: #00933C; /* Green */
}
.line-7 {
    background-color: #B933AD; /* Purple */
}

/* Media Queries for Lines Info */
@media (max-width: 768px) {
    .map-legend .line-items {
        justify-content: center;
    }

    .line-list-container {
        grid-template-columns: 1fr;
    }
}

/* Train Timings Page Specific Styles */
.train-timings-section {
    padding: 40px 0;
}

.train-timings-section .intro-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.timings-selector {
    margin-bottom: 3rem;
}

.timings-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 57, 166, 0.1);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    align-items: end;
}

.timings-form .form-group {
    margin-bottom: 0;
}

.timings-form .btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
}

.timings-results {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 57, 166, 0.1);
    margin-bottom: 3rem;
    overflow: hidden;
}

.timings-header {
    background: var(--gradient-blue);
    color: white;
    padding: 2rem;
    text-align: center;
}

.timings-header h3 {
    margin: 0 0 1rem 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.timings-line-display {
    margin-bottom: 1rem;
}

.timings-line-display .line-indicator {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 1.5rem;
    font-weight: 800;
}

.timings-updated {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.timings-content {
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.timings-direction-group {
    background: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 1.5rem;
}

.direction-heading {
    margin: 0 0 1rem 0;
    color: var(--mta-blue);
    font-size: 1.3rem;
    font-weight: 700;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--mta-blue);
}

.timings-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.timing-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 1rem;
    align-items: center;
    border-left: 4px solid var(--mta-blue);
    transition: var(--transition);
}

.timing-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.timing-item.timing-arriving {
    border-left-color: #28a745;
    background: #f0f9f4;
}

.timing-item.timing-approaching {
    border-left-color: var(--mta-yellow);
    background: #fffef0;
}

.timing-time {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-grey);
}

.timing-minutes {
    font-size: 0.9rem;
    color: var(--mta-blue);
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 57, 166, 0.1);
    border-radius: 4px;
}

.timing-status {
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timing-item.timing-arriving .timing-status {
    color: #28a745;
    font-weight: 600;
}

.timing-item.timing-approaching .timing-status {
    color: #856404;
    font-weight: 600;
}

.timing-item.no-timings {
    text-align: center;
    padding: 2rem;
    color: #999;
    font-style: italic;
    border-left-color: #ddd;
}

.timings-info {
    margin-top: 3rem;
}

.timings-info h3 {
    color: var(--mta-blue);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.8rem;
}

.timings-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.timings-info-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 2px solid #e9ecef;
    transition: var(--transition);
}

.timings-info-card:hover {
    border-color: var(--mta-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.timings-info-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
}

.timings-info-card h4 {
    color: var(--mta-blue);
    margin: 0 0 0.75rem 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.timings-info-card p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--dark-grey);
}

@media (max-width: 768px) {
    .timings-form {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .timings-content {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .timings-header {
        padding: 1.5rem;
    }

    .timings-header h3 {
        font-size: 1.4rem;
    }

    .timing-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: center;
    }

    .timings-info-grid {
        grid-template-columns: 1fr;
    }
}

/* Blog List Page Specific Styles */
.blog-list-section {
    padding: 40px 0;
}

.blog-list-section .intro-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.blog-posts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.blog-post-preview {
    background: var(--white);
    border: 1px solid rgba(0, 57, 166, 0.1);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.blog-post-preview:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(0, 57, 166, 0.25);
}

.post-preview-image {
    transition: var(--transition-slow);
    filter: brightness(1);
}

.blog-post-preview:hover .post-preview-image {
    transform: scale(1.08);
    filter: brightness(1.1);
}

.post-preview-content {
    position: relative;
}

.post-preview-content::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--mta-yellow);
    transition: var(--transition);
}

.blog-post-preview:hover .post-preview-content::before {
    width: 100%;
}

.blog-post-preview a {
    text-decoration: none;
    color: var(--text-color);
    display: block;
}

.post-preview-image {
    width: 100%;
    height: 200px; /* Fixed height for consistent preview images */
    object-fit: cover;
    display: block;
}

.post-preview-content {
    padding: 20px;
}

.post-preview-content h3 {
    margin-top: 0;
    font-size: 1.4em;
    color: var(--mta-blue);
    margin-bottom: 10px;
}

.post-preview-content .post-meta {
    font-size: 0.85em;
    color: #777;
    margin-bottom: 15px;
}

.post-preview-content p {
    font-size: 0.95em;
    line-height: 1.5;
}

/* Individual Blog Post Styles */
.blog-post {
    padding: 40px 0;
    background: linear-gradient(to bottom, #f0f5ff 0%, #f5f8ff 50%, #fafbff 100%);
    min-height: 100vh;
}

.blog-post .container {
    max-width: 900px;
}

.blog-post-content-card {
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 57, 166, 0.12);
    padding: 0;
    margin: 20px auto;
    overflow: hidden;
}

.blog-post .blog-hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    margin: 0;
    border-radius: 0;
}

.blog-post-header {
    padding: 50px 60px 30px;
}

.blog-post h1 {
    font-size: 2.8em;
    font-weight: 800;
    color: var(--mta-blue);
    margin: 0 0 25px 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.blog-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 0;
    font-size: 0.95em;
    color: #666;
}

.blog-post-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-post-meta-item svg {
    width: 18px;
    height: 18px;
    stroke: var(--mta-blue);
    fill: none;
    opacity: 0.7;
}

.blog-post-meta-item .meta-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--mta-blue);
    opacity: 0.7;
}

.blog-post .post-meta {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 25px;
}

.blog-post-content-body {
    padding: 0 60px 50px;
}

.blog-post .post-content h2 {
    font-size: 2.2em;
    font-weight: 800;
    color: var(--mta-blue);
    margin-top: 40px;
    margin-bottom: 20px;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.blog-post .post-content h3 {
    font-size: 1.6em;
    font-weight: 700;
    color: var(--mta-blue);
    margin-top: 30px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-post .post-content p, .blog-post .post-content ul, .blog-post .post-content ol {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 1.2em;
    color: #444;
}

.blog-post .post-content ul,
.blog-post .post-content ol {
    padding-left: 20px;
}

.blog-post .post-content li {
    margin-bottom: 8px;
}

.blog-post .post-content a {
    color: var(--mta-blue);
    text-decoration: underline;
}

.blog-post .back-link {
    margin-top: 40px;
    text-align: center;
    font-size: 1.1em;
}

.blog-post .back-link a {
    font-weight: bold;
    color: var(--mta-blue);
    text-decoration: none;
}

.blog-post .back-link a:hover {
    text-decoration: underline;
}

/* Media Queries for Blog */
@media (max-width: 768px) {
    .map-legend .line-items {
        justify-content: center;
    }

    .blog-posts-container {
        grid-template-columns: 1fr;
    }

    .blog-post {
        padding: 20px 0;
    }

    .blog-post-content-card {
        margin: 10px;
        border-radius: 16px;
    }

    .blog-post-header {
        padding: 30px 25px 20px;
    }

    .blog-post-content-body {
        padding: 0 25px 30px;
    }

    .blog-post h1 {
        font-size: 2em;
    }

    .blog-post .blog-hero-image {
        height: 250px;
    }

    .blog-post .post-content h2 {
        font-size: 1.8em;
    }

    .blog-post .post-content h3 {
        font-size: 1.4em;
    }

    .blog-post-meta {
        flex-direction: column;
        gap: 12px;
    }
}

/* About Page Specific Styles */
.about-section {
    padding: 40px 0;
}

.about-section .intro-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 57, 166, 0.1);
}

.about-content h3 {
    color: var(--mta-blue);
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
}

.about-content p {
    font-size: 1em;
    line-height: 1.7;
    margin-bottom: 1em;
}

.about-content p:first-of-type {
    margin-top: 0;
}

/* Media Queries for About Page */
@media (max-width: 768px) {
    .map-legend .line-items {
        justify-content: center;
    }

    .about-content {
        padding: 15px;
    }

    .about-content h3 {
        font-size: 1.5em;
    }
}

/* Services Page Specific Styles */
.services-section {
    padding: 40px 0;
}

.services-section .intro-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.service-item {
    background: var(--white);
    border: 1px solid rgba(0, 57, 166, 0.1);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    padding: 2rem;
    text-align: left;
    transition: var(--transition);
    position: relative;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 57, 166, 0.2);
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-item h3 {
    color: var(--mta-blue);
    font-size: 1.6em;
    margin-top: 0;
    margin-bottom: 15px;
}

.service-item p {
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 10px;
}

.service-item a {
    color: var(--mta-blue);
    text-decoration: underline;
}

.service-item strong {
    color: var(--dark-grey);
}

/* Media Queries for Services Page */
@media (max-width: 768px) {
    .map-legend .line-items {
        justify-content: center;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }
}

/* Lost & Found Page Specific Styles */
/* Lost and Found Page Styles - Matching Screenshot Design */
.lost-found-section {
    padding: 40px 20px;
    background: #f5f5f5;
}

.lost-found-section .container {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff8f0;
    border: 2px solid #f5e6d3;
    border-radius: 12px;
    padding: 40px;
}

.lost-found-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2rem;
    margin-top: 0;
}

/* Hero Card */
.lost-found-hero-card {
    background: #e8e8e8;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

.lost-found-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.lost-found-icon-circle {
    width: 80px;
    height: 80px;
    background: #FF6319;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.lost-found-icon-circle svg {
    width: 40px;
    height: 40px;
}

.lost-found-hero-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.75rem;
}

.lost-found-hero-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Section Block */
.lost-found-section-block {
    margin-bottom: 2.5rem;
}

.lost-found-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.25rem;
    margin-top: 0;
}

/* Contact Grid */
.lost-found-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 0;
}

.lost-found-contact-card {
    background: #e8e8e8;
    border-radius: 12px;
    padding: 1.25rem;
}

.lost-found-contact-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.lost-found-contact-icon {
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.lost-found-contact-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    line-height: 1.4;
}

.lost-found-contact-text {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 0.375rem;
    margin-left: 0;
}

.lost-found-contact-hours {
    font-size: 0.875rem;
    color: #666;
    font-weight: 500;
    margin-top: 0.5rem;
    margin-left: 0;
}

.lost-found-link {
    color: #0039A6;
    text-decoration: none;
    font-weight: 500;
}

.lost-found-link:hover {
    text-decoration: underline;
}

/* Steps Card */
.lost-found-steps-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
}

.lost-found-step {
    display: flex;
    gap: 0.875rem;
    margin-bottom: 1rem;
}

.lost-found-step:last-child {
    margin-bottom: 0;
}

.lost-found-step-number {
    width: 24px;
    height: 24px;
    background: #0039A6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.lost-found-step-text {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Info Card */
.lost-found-info-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
}

.lost-found-info-item {
    display: flex;
    gap: 0.875rem;
    margin-bottom: 0.875rem;
}

.lost-found-info-item:last-child {
    margin-bottom: 0;
}

.lost-found-bullet {
    width: 8px;
    height: 8px;
    background: #0039A6;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.5rem;
}

.lost-found-info-text {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Recommendation Box */
.lost-found-recommendation-box {
    background: #ffeef0;
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}

.lost-found-recommendation-icon {
    width: 28px;
    height: 28px;
    background: #FF6319;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lost-found-recommendation-icon svg {
    width: 18px;
    height: 18px;
}

.lost-found-recommendation-text {
    font-size: 0.9rem;
    color: #2c3e50;
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
}

/* Disclaimer Box */
.lost-found-disclaimer-box {
    background: #fef3c7;
    border: 2px solid #fbbf24;
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    margin-top: 2rem;
}

.lost-found-disclaimer-icon {
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.lost-found-disclaimer-title {
    font-size: 1rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
}

.lost-found-disclaimer-text {
    font-size: 0.875rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.lost-item-form {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--light-grey);
}

.lost-item-form .form-group label {
    font-weight: bold;
    margin-bottom: 8px;
}

.lost-item-form .form-group input[type="text"],
.lost-item-form .form-group input[type="email"],
.lost-item-form .form-group input[type="date"],
.lost-item-form .form-group input[type="time"],
.lost-item-form .form-group select,
.lost-item-form .form-group textarea {
    width: calc(100% - 22px); /* Adjust for padding and border */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    margin-top: 5px;
}

.lost-item-form textarea {
    resize: vertical;
}

.lost-item-form .btn {
    margin-top: 20px;
    width: auto;
    padding: 12px 25px;
}

.form-message {
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
    display: none; /* Hidden by default */
}

.form-message {
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
    margin-top: 1.5rem;
    font-weight: 500;
    animation: slideInUp 0.4s ease-out;
    border-left: 4px solid;
}

.form-message.success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border-left-color: #28a745;
    box-shadow: var(--shadow-sm);
}

.form-message.error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border-left-color: #dc3545;
    box-shadow: var(--shadow-sm);
}

/* Media Queries for Lost & Found Page */
@media (max-width: 768px) {
    .map-legend .line-items {
        justify-content: center;
    }

    .lost-found-section .container {
        padding: 25px 20px;
    }

    .lost-found-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .lost-found-hero-card {
        padding: 2rem 1.5rem;
    }

    .lost-found-icon-circle {
        width: 60px;
        height: 60px;
    }

    .lost-found-icon-circle svg {
        width: 30px;
        height: 30px;
    }

    .lost-found-hero-title {
        font-size: 1.25rem;
    }

    .lost-found-hero-text {
        font-size: 0.95rem;
    }

    .lost-found-contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .lost-found-section-title {
        font-size: 1.25rem;
    }

    .lost-found-steps-card,
    .lost-found-info-card {
        padding: 1.25rem;
    }

    .lost-found-recommendation-box,
    .lost-found-disclaimer-box {
        flex-direction: column;
        padding: 1rem;
    }
}

/* Contact Page Specific Styles */
.contact-hero {
    background: var(--gradient-blue);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 199, 44, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 199, 44, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.contact-hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.contact-hero-text {
    font-size: 1.2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.contact-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-method-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 57, 166, 0.1);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.contact-method-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(0, 57, 166, 0.3);
}

.contact-method-card:hover::before {
    transform: scaleX(1);
}

.contact-method-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
}

.contact-method-card h3 {
    color: var(--mta-blue);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
}

.contact-method-content {
    text-align: left;
}

.contact-number {
    margin-bottom: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-link-large {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--mta-blue);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.contact-link-large:hover {
    color: #003d99;
    transform: scale(1.05);
}

.contact-note {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
}

.contact-link {
    font-size: 1.1rem;
    color: var(--mta-blue);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    word-break: break-all;
}

.contact-link:hover {
    color: #003d99;
    text-decoration: underline;
}

.contact-hours {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.contact-headquarters {
    margin-bottom: 4rem;
}

.headquarters-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 57, 166, 0.1);
    overflow: hidden;
}

.headquarters-header {
    background: var(--gradient-blue);
    color: white;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.headquarters-icon {
    font-size: 2.5rem;
    background: rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.headquarters-header h2 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.headquarters-content {
    padding: 2.5rem;
}

.headquarters-address {
    margin-bottom: 2rem;
}

.headquarters-address p {
    margin: 0.5rem 0;
    font-size: 1rem;
    line-height: 1.6;
}

.headquarters-address p:first-child {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--mta-blue);
    margin-bottom: 1rem;
}

.map-embed {
    margin-top: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contact-resources {
    margin-bottom: 4rem;
}

.resources-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--mta-blue);
    margin-bottom: 2.5rem;
    font-weight: 700;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.resource-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 57, 166, 0.1);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.resource-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(0, 57, 166, 0.3);
}

.resource-card:hover::before {
    transform: scaleX(1);
}

.resource-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.resource-card h3 {
    color: var(--mta-blue);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
}

.resource-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    flex: 1;
}

.resource-link {
    color: var(--mta-blue);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: auto;
    display: inline-block;
    transition: var(--transition);
}

.resource-card:hover .resource-link {
    transform: translateX(4px);
}

.contact-disclaimer {
    background: linear-gradient(135deg, #fff9e6 0%, #fffef0 100%);
    border: 2px solid var(--mta-yellow);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
}

.disclaimer-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.disclaimer-content h3 {
    color: var(--mta-blue);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
}

.disclaimer-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--dark-grey);
}

.disclaimer-content a {
    color: var(--mta-blue);
    text-decoration: underline;
    font-weight: 600;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 57, 166, 0.1);
}

.contact-form h3 {
    color: var(--mta-blue);
    font-size: 1.6em;
    margin-top: 0;
    margin-bottom: 20px;
}

.contact-form .form-group label {
    font-weight: bold;
    margin-bottom: 8px;
}

.contact-form .form-group input[type="text"],
.contact-form .form-group input[type="email"],
.contact-form .form-group textarea {
    width: calc(100% - 22px);
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    margin-top: 5px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .btn {
    margin-top: 15px;
    width: auto;
    padding: 12px 25px;
}

.privacy-notice {
    max-width: 800px;
    margin: 40px auto 0 auto;
    padding: 20px;
    background-color: var(--light-grey);
    border-radius: 8px;
    border-left: 4px solid var(--mta-blue);
}

.privacy-notice h3 {
    color: var(--mta-blue);
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 15px;
}

.privacy-notice p {
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 0;
}

.privacy-notice a {
    color: var(--mta-blue);
    text-decoration: underline;
}

/* Legal Pages (Disclaimer, Privacy, Terms) Styles */
.disclaimer-section,
.privacy-section,
.terms-section {
    padding: 40px 0;
    background: #f5f5f5;
}

.disclaimer-header {
    text-align: center;
    margin-bottom: 3rem;
}

.disclaimer-section h1 {
    font-size: 2.5rem;
    color: var(--mta-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

.disclaimer-subtitle {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 1rem;
}

.disclaimer-date {
    font-size: 0.95rem;
    color: #666;
}

.legal-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
}

.disclaimer-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 57, 166, 0.1);
}

.disclaimer-card-title {
    color: var(--mta-blue);
    font-size: 1.75rem;
    margin-top: 0;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.disclaimer-card p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #333;
}

.disclaimer-card ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.disclaimer-card li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.disclaimer-card a {
    color: var(--mta-blue);
    text-decoration: underline;
    font-weight: 500;
}

.disclaimer-card a:hover {
    color: #002A7A;
}

.disclaimer-card strong {
    color: var(--dark-grey);
    font-weight: 600;
}

.disclaimer-warning-box {
    background: #fff9e6;
    border-left: 4px solid #fbbf24;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.disclaimer-warning-box .disclaimer-card-title {
    color: #92400e;
}

.disclaimer-warning-text {
    font-weight: 600;
    color: #78350f;
}

.disclaimer-warning-box ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-top: 0.75rem;
    margin-bottom: 1rem;
}

.disclaimer-warning-box li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.disclaimer-warning-box a {
    color: var(--mta-blue);
    text-decoration: underline;
    font-weight: 600;
}

.disclaimer-contact-box {
    background: #e0f2fe;
    border: 2px solid var(--mta-blue);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.disclaimer-contact-box .disclaimer-card-title {
    color: var(--mta-blue);
}

.disclaimer-contact-card {
    background: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
    border: 1px solid rgba(0, 57, 166, 0.1);
}

.disclaimer-contact-card p {
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.disclaimer-contact-card a {
    color: var(--mta-blue);
    text-decoration: underline;
    font-weight: 600;
}

.disclaimer-footer-note {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
}

/* Privacy Policy Specific Styles */
.privacy-header {
    text-align: center;
    margin-bottom: 3rem;
}

.privacy-section h1 {
    font-size: 2.5rem;
    color: var(--mta-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

.privacy-subtitle {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 1rem;
}

.privacy-date {
    font-size: 0.95rem;
    color: #666;
}

.privacy-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 57, 166, 0.1);
}

.privacy-card-title {
    color: var(--mta-blue);
    font-size: 1.75rem;
    margin-top: 0;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.privacy-subsection-title {
    color: var(--dark-grey);
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.privacy-card p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #333;
}

.privacy-card ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.privacy-card li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.privacy-card a {
    color: var(--mta-blue);
    text-decoration: underline;
    font-weight: 500;
}

.privacy-card a:hover {
    color: #002A7A;
}

.privacy-card strong {
    color: var(--dark-grey);
    font-weight: 600;
}

.privacy-important-text {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.05rem;
}

.privacy-warning-box {
    background: #fff9e6;
    border-left: 4px solid #fbbf24;
    border-radius: 8px;
    padding: 1.25rem;
    margin-top: 1.5rem;
}

.privacy-warning-title {
    font-weight: 600;
    color: #92400e;
    margin-bottom: 0.5rem;
}

.privacy-warning-box p {
    color: #78350f;
    margin-bottom: 0.5rem;
}

.privacy-info-box {
    background: #e0f2fe;
    border-left: 4px solid var(--mta-blue);
    border-radius: 8px;
    padding: 1.25rem;
    margin-top: 1.5rem;
}

.privacy-info-title {
    font-weight: 600;
    color: var(--mta-blue);
    margin-bottom: 0.5rem;
}

.privacy-info-box p {
    color: #333;
    margin-bottom: 0.5rem;
}

.privacy-contact-box {
    background: #e0f2fe;
    border: 2px solid var(--mta-blue);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.privacy-contact-box .privacy-card-title {
    color: var(--mta-blue);
}

.privacy-contact-card {
    background: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
    border: 1px solid rgba(0, 57, 166, 0.1);
}

.privacy-contact-card p {
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.privacy-contact-card a {
    color: var(--mta-blue);
    text-decoration: underline;
    font-weight: 600;
}

.privacy-footer-note {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
}

/* Terms & Conditions Specific Styles */
.terms-header {
    text-align: center;
    margin-bottom: 3rem;
}

.terms-section h1 {
    font-size: 2.5rem;
    color: var(--mta-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

.terms-subtitle {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 1rem;
}

.terms-date {
    font-size: 0.95rem;
    color: #666;
}

.terms-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 57, 166, 0.1);
}

.terms-card-title {
    color: var(--mta-blue);
    font-size: 1.75rem;
    margin-top: 0;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.terms-subsection-title {
    color: var(--dark-grey);
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.terms-card p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #333;
}

.terms-card ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.terms-card li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.terms-card a {
    color: var(--mta-blue);
    text-decoration: underline;
    font-weight: 500;
}

.terms-card a:hover {
    color: #002A7A;
}

.terms-card strong {
    color: var(--dark-grey);
    font-weight: 600;
}

.terms-important-text {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.05rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.terms-warning-box {
    background: #fff9e6;
    border-left: 4px solid #fbbf24;
    border-radius: 8px;
    padding: 1.25rem;
    margin-top: 1.5rem;
}

.terms-warning-title {
    font-weight: 600;
    color: #92400e;
    margin-bottom: 0.5rem;
}

.terms-warning-box p {
    color: #78350f;
    margin-bottom: 0.5rem;
}

.terms-contact-box {
    background: #e0f2fe;
    border: 2px solid var(--mta-blue);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.terms-contact-box .terms-card-title {
    color: var(--mta-blue);
}

.terms-contact-card {
    background: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
    border: 1px solid rgba(0, 57, 166, 0.1);
}

.terms-contact-card p {
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.terms-contact-card a {
    color: var(--mta-blue);
    text-decoration: underline;
    font-weight: 600;
}

.terms-footer-note {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
}

.legal-content h2 {
    color: var(--mta-blue);
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-content h3 {
    color: var(--dark-grey);
    font-size: 1.4em;
    margin-top: 25px;
    margin-bottom: 12px;
}

.legal-content p {
    font-size: 1em;
    line-height: 1.7;
    margin-bottom: 1em;
}

.legal-content ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 1em;
}

.legal-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.legal-content a {
    color: var(--mta-blue);
    text-decoration: underline;
}

.legal-content strong {
    color: var(--dark-grey);
}

/* Loading States */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 3px solid var(--mta-yellow);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection styling */
::selection {
    background: var(--mta-yellow);
    color: var(--mta-blue);
}

::-moz-selection {
    background: var(--mta-yellow);
    color: var(--mta-blue);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-blue);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--mta-blue-dark);
}

/* Media Queries for Contact and Legal Pages */
@media (max-width: 768px) {
    .contact-hero {
        padding: 3rem 0;
    }

    .contact-hero h1 {
        font-size: 2rem;
    }

    .contact-hero-text {
        font-size: 1rem;
    }

    .contact-methods-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-method-card {
        padding: 2rem;
    }

    .headquarters-header {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .headquarters-header h2 {
        font-size: 1.5rem;
    }

    .headquarters-content {
        padding: 1.5rem;
    }

    .resources-title {
        font-size: 2rem;
    }

    .resources-grid {
        grid-template-columns: 1fr;
    }

    .contact-disclaimer {
        flex-direction: column;
        padding: 1.5rem;
        text-align: center;
    }

    .disclaimer-icon {
        margin: 0 auto;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 15px;
    }

    .contact-info,
    .contact-form {
        padding: 20px;
    }

    .legal-content {
        padding: 0;
    }

    .disclaimer-section h1 {
        font-size: 2rem;
    }

    .disclaimer-subtitle {
        font-size: 1.1rem;
    }

    .disclaimer-card {
        padding: 1.5rem;
        margin-bottom: 1.25rem;
    }

    .disclaimer-card-title {
        font-size: 1.5rem;
    }

    .disclaimer-warning-box {
        padding: 1.5rem;
    }

    .disclaimer-contact-box {
        padding: 1.5rem;
    }

    .disclaimer-contact-card {
        padding: 1.25rem;
    }

    .privacy-section h1 {
        font-size: 2rem;
    }

    .privacy-subtitle {
        font-size: 1.1rem;
    }

    .privacy-card {
        padding: 1.5rem;
        margin-bottom: 1.25rem;
    }

    .privacy-card-title {
        font-size: 1.5rem;
    }

    .privacy-subsection-title {
        font-size: 1.1rem;
    }

    .privacy-contact-box {
        padding: 1.5rem;
    }

    .privacy-contact-card {
        padding: 1.25rem;
    }

    .terms-section h1 {
        font-size: 2rem;
    }

    .terms-subtitle {
        font-size: 1.1rem;
    }

    .terms-card {
        padding: 1.5rem;
        margin-bottom: 1.25rem;
    }

    .terms-card-title {
        font-size: 1.5rem;
    }

    .terms-subsection-title {
        font-size: 1.1rem;
    }

    .terms-contact-box {
        padding: 1.5rem;
    }

    .terms-contact-card {
        padding: 1.25rem;
    }

    .contact-form .form-group input[type="text"],
    .contact-form .form-group input[type="email"],
    .contact-form .form-group textarea {
        width: calc(100% - 20px);
    }

    .hero .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero .cta-buttons .btn {
        width: 100%;
    }
}