/* New Hero Section */
.about-hero {
    position: relative;
    height: 600px;
    background: url("../../../media/images/mro_CAD_overview.png") center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #1b81e72c, #003366d2);
}




.about-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    

}

.about-hero h1 {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 800;
    line-height: 1.2;
}

.about-hero p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}


/* Page Header deleted*/

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 16px;
}

/* Intro Section */
.intro-section {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    margin-top: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.intro-section h2 {
    color: #003366;
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 700;
}

.intro-section p {
    margin-bottom: 12px;
    color: #333;
    font-size: 15px;
    line-height: 1.6;
}

.what-this-is {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 16px 0;
}

.what-this-is>div {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 8px;
    border-left: 4px solid #0066cc;
}

.what-this-is.is-not>div {
    border-left-color: #cc0000;
}

.what-this-is h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #003366;
    font-weight: 700;
}

.what-this-is ul {
    list-style: none;
    padding-left: 0;
}

.what-this-is li {
    padding: 6px 0;
    padding-left: 22px;
    position: relative;
    color: #555;
    font-size: 14px;
}

.what-this-is li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0066cc;
    font-weight: bold;
    font-size: 14px;
}

.is-not li:before {
    content: "✗";
    color: #cc0000;
}

/* Update Banner */
.update-banner {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe8a1 100%);
    border-left: 4px solid #ffc107;
    padding: 16px;
    margin-bottom: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(255, 193, 7, 0.15);
}

.update-banner strong {
    color: #856404;
    font-size: 15px;
}

.update-banner p {
    font-size: 14px;
    color: #856404;
    margin: 0;
}

/* Filters */
.filters {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.filters h3 {
    color: #003366;
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 700;
}

.filter-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.filter-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #555;
    font-size: 13px;
}

.filter-group select {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s;
}

.filter-group select:focus {
    outline: none;
    border-color: #FF8C00;
}

/* Toggle View Buttons */
.view-toggle {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e0e0e0;
}

.view-toggle button {
    flex: 1;
    padding: 10px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: #555;
    transition: all 0.3s;
}

.view-toggle button.active {
    background: #003366;
    color: white;
    border-color: #003366;
}

.view-toggle button:hover:not(.active) {
    border-color: #FF8C00;
    color: #FF8C00;
}

/* Country Cards - New Improved Design */
.countries-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.country-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.country-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.country-card-header {
    padding: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    transition: background 0.2s;
    position: relative;
    width: 100%;
    border: 0;
    text-align: left;
}

.country-card-header:active {
    background: #f8f9fa;
}

.country-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.country-flag {
    /* Delete later*/
    font-size: 32px;
    line-height: 1;
}

.country-flag {
    width: 32px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.country-flag .fi {
    width: 100%;
    height: 100%;
    border-radius: 3px;
}


.country-details {
    flex: 1;
}

.country-name {
    font-size: 17px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 4px;
}

.country-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.capacity-badge {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.capacity-high {
    background: #d4edda;
    color: #155724;
}

.capacity-medium {
    background: #fff3cd;
    color: #856404;
}

.capacity-limited {
    background: #f8d7da;
    color: #721c24;
}

.capacity-none {
    background: #e2e3e5;
    color: #383d41;
}

.facility-count {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.expand-icon {
    font-size: 20px;
    color: #666;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.country-card-header.expanded .expand-icon {
    transform: rotate(180deg);
}

.country-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #f8f9fa;
}

.country-content.show {
    max-height: 5000px;
}

.country-content-inner {
    padding: 16px;
}

.capacity-note {
    padding: 12px;
    margin-bottom: 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.note-limited {
    background: #fff9e6;
    border-left: 3px solid #ffc107;
    color: #856404;
}

.note-none {
    background: #f5f5f5;
    border-left: 3px solid #999;
    color: #666;
}

/* Facility Cards - Improved Mobile Design */
.facilities-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

/* 
.facilities-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 1000px;
    margin: 0 auto;
}
 */


/* 
.facility-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.facility-card:active {
    transform: scale(0.98);
}
 */


.facility-card {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s;
}


.facility-card:hover {
    border-color: #FF8C00;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.15);
    transform: translateY(-3px);
}

.facility-card:active {
    transform: scale(0.98);
}

.facility-name {
    font-size: 17px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 6px;
}

.facility-name a {
    color: inherit;
    text-decoration: none;
}

.facility-name a:hover {
    text-decoration: underline;
}

.facility-location {
    color: #666;
    font-size: 13px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.facility-quick-info {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.info-tag {
    background: #e8f4fd;
    color: #0066cc;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.facility-details {
    border-top: 1px solid #e0e0e0;
    padding-top: 12px;
}

.detail-row {
    margin-bottom: 25px;
}

.detail-row:last-child {
    margin-bottom: 0;
}

.detail-label {
    font-size: 11px;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.detail-value {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
}

.approvals-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.approval-badge {
    background: #f0f0f0;
    color: #333;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.activity-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}

.activity-high {
    background: #d4edda;
    color: #155724;
}

.activity-medium {
    background: #fff3cd;
    color: #856404;
}

.activity-low {
    background: #f8d7da;
    color: #721c24;
}

.activity-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.facility-metadata {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e0e0e0;
    font-size: 11px;
    color: #999;
    font-weight: 700;
}

/* New metadata styles */
.metadata {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e0e0e0;
    font-size: 11px;
    color: #999;
    font-weight: 700;
}

.meta-value {
    font-weight: 600;

}

.facility-metadata>div {
    display: flex;
    gap: 6px;
    align-items: baseline;
}

/* New metadata styles */




.metadata-item {
    margin-bottom: 4px;
}

.confidence-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.confidence-high {
    background: #d4edda;
    color: #155724;
}

.confidence-medium {
    background: #fff3cd;
    color: #856404;
}

.confidence-low {
    background: #f8d7da;
    color: #721c24;
}

/* Understanding section cards */
.understanding-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 20px 0;
}

.understanding-card {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: #f0f4f8;
    border-radius: 8px;
    align-items: flex-start;
}

.understanding-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--color-accent);
    color: white;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}

.understanding-text h3 {
    font-size: 15px;
    margin-bottom: 4px;
    color: #003366;
    font-weight: 700;
}

.understanding-text p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Footer how we get our data link */

.data-source-link {
    color: #FF8C00;
    text-decoration: underline;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.6;
}


/* Tablet (641px+) */
@media (min-width: 641px) {

    .about-hero {
        padding: 80px 20px;
    }

    .about-hero h1 {
        font-size: 42px;
        margin-bottom: 20px;
    }

    .about-hero p {
        font-size: 20px;
    }
    
    .page-header h1 {
        font-size: 38px;
    }

    .page-header p {
        font-size: 17px;
    }

    .container {
        padding: 40px 24px;
    }

    .intro-section {
        padding: 30px;
    }

    .what-this-is {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .understanding-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .filter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .countries-list {
        gap: 16px;
    }

    .country-card-header {
        padding: 20px;
    }

    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }


}

/* Desktop (1025px+) */
@media (min-width: 1025px) {

    .about-hero h1 {
        font-size: 70px;
    }

    .about-hero p {
    font-size: 28px;
   
}

.about-section-title {
        font-size: 60px;
        margin-bottom: 25px;
    }


    .filter-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .facilities-grid {
        grid-template-columns: repeat(3, 1fr);
    }


}
