/* Base Styles */
:root {
    --primary-color: #4361ee;
    --secondary-color: #3f37c9;
    --accent-color: #4cc9f0;
    --dark-color: #2b2d42;
    --light-color: #f8f9fa;
    --success-color: #4caf50;
    --danger-color: #f44336;
    --warning-color: #ff9800;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.hero-header {
    background: linear-gradient(135deg, #2b2d42 0%, #4361ee 100%);
    color: white;
    padding-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.hero-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo span {
    color: var(--accent-color);
}

.hero-content {
    text-align: center;
    padding: 40px 0 30px;
}

.hero-content h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.hero-content p {
    font-size: 1rem;
    max-width: 100%;
    margin: 0 auto 25px;
    opacity: 0.9;
    padding: 0 15px;
}

.cta-button {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--accent-color);
    color: var(--dark-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(76, 201, 240, 0.4);
    font-size: 0.95rem;
}

.cta-button:hover {
    background-color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(76, 201, 240, 0.6);
}

/* Metrics Section */
.metrics-section {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 25px 15px;
    margin: -30px auto 0;
    position: relative;
    z-index: 1;
    box-shadow: var(--box-shadow);
    width: calc(100% - 30px);
}

.section-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    gap: 15px;
}

.section-header h2 {
    font-size: 1.5rem;
    color: var(--dark-color);
    text-align: center;
}

.metrics-filters {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}

.filter-group label {
    font-weight: 500;
    font-size: 0.9rem;
}

.filter-group select {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    background-color: white;
    width: 100%;
}

.filter-button {
    padding: 10px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 1rem;
    width: 100%;
}

.filter-button:hover {
    background-color: var(--secondary-color);
}

/* Table Styles */
.table-container {
    overflow-x: auto;
    margin-top: 20px;
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.85rem;
    min-width: 600px;
}

th, td {
    padding: 12px 8px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: var(--dark-color);
    position: sticky;
    top: 0;
}

tr:hover {
    background-color: #f8f9fa;
}

.fa-info-circle {
    color: var(--accent-color);
    cursor: help;
}

/* Contact Section */
.contact-section {
    margin: 40px 0;
}

.contact-container {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: var(--border-radius);
    padding: 25px 15px;
    box-shadow: var(--box-shadow);
    width: calc(100% - 30px);
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    text-align: center;
}

.contact-info p {
    margin-bottom: 20px;
    color: #666;
    text-align: center;
}

.contact-method {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.contact-method i {
    font-size: 1.2rem;
    color: var(--primary-color);
    width: 30px;
    text-align: center;
}

.contact-method a {
    color: var(--primary-color);
    text-decoration: none;
    word-break: break-all;
}

/* Footer Styles */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 30px 0 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
    gap: 20px;
    text-align: center;
}

.footer-brand h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.footer-brand span {
    color: var(--accent-color);
}

.footer-brand p {
    opacity: 0.7;
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 15px;
}

.footer-links a {
    color: white;
    font-size: 1.2rem;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    opacity: 0.7;
    text-align: center;
    gap: 5px;
}

/* Tablet Styles */
@media (min-width: 600px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-content {
        padding: 60px 0 40px;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .metrics-section {
        padding: 30px;
        margin-top: -40px;
        width: calc(100% - 40px);
    }
    
    .section-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .section-header h2 {
        text-align: left;
    }
    
    .metrics-filters {
        flex-direction: row;
        align-items: center;
    }
    
    .filter-group {
        flex-direction: row;
        align-items: center;
        width: auto;
    }
    
    .filter-button {
        width: auto;
        padding: 10px 20px;
    }
    
    .contact-container {
        padding: 30px;
        width: calc(100% - 40px);
    }
    
    .contact-info h3,
    .contact-info p {
        text-align: left;
    }
    
    .contact-method {
        justify-content: flex-start;
    }
}

/* Desktop Styles */
@media (min-width: 992px) {
    .hero-header {
        padding-bottom: 60px;
    }
    
    .hero-content {
        padding: 80px 0 60px;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
        max-width: 700px;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .metrics-section {
        padding: 40px;
        margin-top: -50px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    table {
        font-size: 0.95rem;
    }
    
    .contact-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Large Desktop Styles */
@media (min-width: 1200px) {
    .contact-container {
        grid-template-columns: 1fr 1fr;
    }
}