/* GLOBAL SETTINGS */
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

:root {
    --logo-purple: #7b1fa2; /* The primary color from your logo */
    --logo-dark: #4a148c;   /* A darker shade for contrast */
    --light-gray: #f4f4f9;
    --white: #ffffff;
    --text-main: #333333;
}

body { 
    font-family: 'Segoe UI', Arial, sans-serif; 
    background: var(--light-gray); 
    color: var(--text-main); 
    overflow-x: hidden;
}

/* HEADER - White Background with Purple Accents */
header {
    background: var(--white);
    color: var(--logo-purple);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0; 
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 3px solid var(--logo-purple);
}

.logo-container img { 
    height: clamp(45px, 6vw, 65px); 
    width: auto; 
    display: block; 
}

nav { 
    display: flex; 
    gap: clamp(15px, 3vw, 25px); 
}

nav a { 
    color: var(--logo-purple); 
    text-decoration: none; 
    font-weight: 700; 
    font-size: 0.99rem; 
    text-transform: uppercase; 
    transition: 0.3s; 
}

nav a:hover { 
    color: var(--logo-dark);
    text-decoration: underline;
}

/* HERO SECTION */
.hero { 
    width: 100%; 
    height: 35vh; 
    background: #000; 
    overflow: hidden; 
}

.hero img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

/* MAIN CONTENT */
main { 
    max-width: 1200px; 
    margin: 3rem auto; 
    padding: 0 5%; 
    min-height: 50vh; 
}

h1, h2 { 
    color: var(--logo-dark); 
    margin-bottom: 1.5rem; 
    border-left: 5px solid var(--logo-purple); 
    padding-left: 15px; 
}

/* TABLE STYLING */
.table-container { 
    overflow-x: auto; 
    margin: 2rem 0; 
}

table { 
    width: 100%; 
    border-collapse: collapse; 
    background: var(--white); 
    border-radius: 8px; 
    overflow: hidden; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
}

table th { 
    background: var(--logo-purple); 
    color: var(--white); 
    text-align: left; 
    padding: 15px; 
    font-size: 0.85rem; 
}

table td { 
    padding: 15px; 
    border-bottom: 1px solid #eee; 
    font-size: 0.95rem; 
}

table tr:nth-child(even) { 
    background-color: #fcfaff; 
}

/* GRID SYSTEM */
.content-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 2rem; 
}

.card { 
    background: var(--white); 
    padding: 2rem; 
    border-radius: 8px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.06); 
    transition: 0.3s; 
}

.card:hover { 
    transform: translateY(-5px); 
    border-bottom: 3px solid var(--logo-purple); 
}

/* FOOTER - White Background with Purple Links */
footer { 
    background: var(--white); 
    color: var(--text-main); 
    padding: 4rem 5% 1.5rem; 
    margin-top: 5rem; 
    border-top: 2px solid #eee;
}

.footer-container { 
    display: flex; 
    justify-content: space-between; 
    flex-wrap: wrap; 
    max-width: 1200px; 
    margin: 0 auto; 
    gap: 3rem; 
}

.footer-section h4 { 
    color: var(--logo-purple); 
    margin-bottom: 1.5rem; 
    text-transform: uppercase; 
    font-size: 1rem;
}

.footer-section ul { list-style: none; }
.footer-section li { margin-bottom: 10px; }

.footer-section a { 
    color: var(--text-main); 
    text-decoration: none; 
    transition: 0.2s;
}

.footer-section a:hover { 
    color: var(--logo-purple); 
}

.footer-bottom { 
    text-align: center; 
    margin-top: 3rem; 
    padding-top: 1.5rem; 
    border-top: 1px solid #eee; 
    font-size: 0.8rem; 
    color: #888; 
}

/* RESPONSIVE */
@media (max-width: 768px) {
    header, .footer-container { 
        flex-direction: column; 
        text-align: center; 
    }
    nav { margin-top: 1.5rem; justify-content: center; }
    .footer-section:last-child { text-align: center; }
}