/* Overview Specific Styles */

/* Fix for navbar overlap */
body {
    padding-top: 80px;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fc;
    margin: 0;
    color: #1a1a2e;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Section */
.overview-header {
    background: linear-gradient(135deg, #2b4e87 0%, #77c7b5 100%);
    color: white;
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
    margin-top: -80px;
}

.overview-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(119, 199, 181, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(244, 198, 50, 0.15) 0%, transparent 50%);
}

.overview-header .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    padding-top: 80px;
}

.overview-header .header-content {
    flex: 1;
    max-width: 600px;
}

.overview-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.header-subtitle {
    font-size: 1.4rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.overview-header .header-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overview-header .image-placeholder {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    font-size: 8rem;
}

/* Main Content Section */
.main-content-section {
    padding: 80px 0;
    background: white;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: start;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.content-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.content-text h2 {
    font-size: 2.2rem;
    color: #2b4e87;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.content-text p {
    font-size: 1.3rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.content-text > p:first-of-type {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2b4e87;
    padding-bottom: 0; /* Changed from 1.5rem to 0 */
    margin-bottom: 2rem;
}

/* REMOVED THE UNDERLINE - This was the ::after pseudo-element creating the underline */
/* .content-text > p:first-of-type::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, #2b4e87, #77c7b5);
    border-radius: 2px;
} */

.content-text > p:last-of-type {
    font-size: 1.3rem;
    color: #555;
    font-weight: 500;
    background: linear-gradient(135deg, rgba(43, 78, 135, 0.05) 0%, rgba(119, 199, 181, 0.05) 100%);
    padding: 2rem 3rem;
    border-radius: 20px;
    border-left: 4px solid #77c7b5;
    margin-top: 1rem;
}

/* Enhanced text styling for emphasis */
.content-text > p:first-of-type {
    font-size: 1.6rem;
    line-height: 1.9;
    background: linear-gradient(135deg, #2b4e87 0%, #77c7b5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 0 2rem;
}

.key-highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.key-highlight-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
    border: 1px solid rgba(43, 78, 135, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 320px;
    height: 100%;
    box-sizing: border-box;
}

.key-highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(43, 78, 135, 0.15);
    border-color: rgba(43, 78, 135, 0.3);
}

.key-highlight-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2b4e87 0%, #77c7b5 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    box-shadow: 0 4px 20px rgba(43, 78, 135, 0.3);
    flex-shrink: 0;
}

.key-highlight-card h3 {
    font-size: 1.3rem;
    margin: 0 0 1rem 0;
    color: #1c749c;
    font-weight: 700;
    line-height: 1.4;
}

.key-highlight-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

/* Footer */
footer {
    background: #0d1321;
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section h3 {
    color: #77c7b5;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-section p, 
.footer-section li a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a:hover {
    color: #77c7b5;
}

.footer-bottom {
    margin-top: 4rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
    margin-top: 1rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 1rem;
    text-decoration: none;
    font-size: 0.85rem;
}

.footer-legal a:hover {
    color: #77c7b5;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .key-highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .content-text p {
        font-size: 1.2rem;
        max-width: 800px;
    }
    
    .content-text > p:first-of-type {
        font-size: 1.4rem;
    }
    
    .content-text > p:last-of-type {
        font-size: 1.2rem;
        padding: 1.5rem 2rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .overview-header {
        margin-top: -70px;
        padding: 50px 0 60px 0;
    }
    
    .overview-header .container {
        flex-direction: column;
        text-align: center;
        padding-top: 70px;
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .overview-header h1 {
        font-size: 2.5rem;
    }
    
    .header-subtitle {
        font-size: 1.2rem;
    }
    
    .overview-header .image-placeholder {
        width: 200px;
        height: 200px;
        font-size: 5rem;
    }
    
    .content-text h2 {
        font-size: 2.2rem;
    }
    
    .content-text p {
        font-size: 1.1rem;
        text-align: center;
        padding: 0 1rem;
        max-width: 600px;
    }
    
    .content-text > p:first-of-type {
        font-size: 1.3rem;
        padding: 0 1rem;
    }
    
    .content-text > p:last-of-type {
        font-size: 1.1rem;
        padding: 1.5rem;
        margin: 1rem 0;
    }
    
    .key-highlights-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 500px;
        margin: 30px auto 0;
    }
    
    .key-highlight-card {
        padding: 2.5rem 2rem;
        min-height: 280px;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .key-highlight-icon {
        font-size: 2rem;
        width: 70px;
        height: 70px;
    }
    
    .key-highlight-card h3 {
        font-size: 1.2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 60px;
    }
    
    .overview-header {
        margin-top: -60px;
        padding: 40px 0 50px 0;
    }
    
    .overview-header .container {
        padding-top: 60px;
    }
    
    .overview-header h1 {
        font-size: 2rem;
    }
    
    .overview-header .image-placeholder {
        width: 180px;
        height: 180px;
        font-size: 4rem;
    }
    
    .content-text h2 {
        font-size: 1.8rem;
    }
    
    .content-text p {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .content-text > p:first-of-type {
        font-size: 1.2rem;
        line-height: 1.6;
    }
    
    .content-text > p:last-of-type {
        font-size: 1rem;
        padding: 1.2rem;
    }
    
    .key-highlight-card {
        padding: 2rem 1.5rem;
        min-height: 260px;
    }
    
    .key-highlight-icon {
        font-size: 1.8rem;
        width: 60px;
        height: 60px;
    }
    
    .key-highlight-card h3 {
        font-size: 1.1rem;
    }
    
    .key-highlight-card p {
        font-size: 0.95rem;
    }
}

/* Header Image Section - Medium/Fit Size (no outline) */
.overview-header .header-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    width: 100%;
    max-width: 400px; /* Medium size */
    height: 240px; /* Fit size for ecosystem images */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.header-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Good for ecosystem/network images */
    border-radius: 8px;
    transition: transform 0.6s ease;
}

.header-img:hover {
    transform: scale(1.04);
}

/* Responsive adjustments for the image */
@media (max-width: 768px) {
    .image-container {
        max-width: 250px; /* Good tablet size */
        height: 180px;
    }
}

@media (max-width: 480px) {
    .image-container {
        max-width: 200px; /* Good mobile size */
        height: 140px;
    }
}