/* =========================================
   Global Reset & Base Styles
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
}

.main-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* =========================================
   Ad Banners
   ========================================= */
.ad-banner {
    background-color: #ffffff;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    text-align: center;
    padding: 30px;
    margin: 20px 0;
    color: #94a3b8;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   Navigation & Pagination Panels
   ========================================= */
.nav-panel {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.sub-nav {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: #e0f2fe; /* Light blue background for secondary nav */
}

.nav-label {
    font-weight: bold;
    color: #0284c7;
    white-space: nowrap;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    gap: 10px;
}

.nav-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Button Styling */
.btn {
    display: inline-block;
    padding: 8px 12px;
    background-color: #f1f5f9;
    color: #475569;
    text-decoration: none;
    text-align: center;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.btn:hover {
    background-color: #38bdf8;
    color: #ffffff;
    border-color: #38bdf8;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(56, 189, 248, 0.3);
}

.btn-active {
    background-color: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
}

/* =========================================
   Main Content Card Area
   ========================================= */
.content-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 20px;
}

.data-section {
    border-bottom: 1px solid #f1f5f9;
}

.data-section:last-child {
    border-bottom: none;
}

.section-title {
    background-color: #f8fafc;
    color: #0f172a;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-left: 4px solid #0ea5e9; /* Blue accent line */
}

.section-content {
    padding: 20px;
    color: #475569;
    font-size: 15px;
}

.section-content p {
    margin-bottom: 15px;
}

.section-content p:last-child {
    margin-bottom: 0;
}

.bio {
    font-style: italic;
    color: #64748b;
}

/* =========================================
   Responsive Design (Mobile viewing)
   ========================================= */
@media (max-width: 600px) {
    .sub-nav {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .btn {
        padding: 8px 5px;
        font-size: 12px;
    }
}