:root {
    --primary: #1a3a5f;
    --secondary: #c5a059;
    --dark: #0d1b2a;
    --light: #f8f9fa;
    --text: #333333;
    --text-muted: #666666;
    --bg-pattern: url('../img/pattern.svg');
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    line-height: 1.6;
    color: var(--text);
    background-color: #ffffff;
}

h1, h2, h3 {
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

header {
    padding: 1rem 0;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--secondary);
}

section {
    padding: 5rem 0;
}

/* Hero Section */
.hero {
    background-color: var(--light);
    background-image: var(--bg-pattern);
    padding: 6rem 0;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.hero-img img {
    width: 100%;
    height: auto;
}

/* Educational Sections */
.section-title {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

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

.card {
    background: #fff;
    padding: 2.5rem;
    border: 1px solid #eee;
    border-radius: 4px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--secondary);
}

/* Tables & Explanatory Boxes */
.info-box {
    background: var(--primary);
    color: #fff;
    padding: 3rem;
    border-radius: 8px;
    margin: 3rem 0;
}

.info-box h2 {
    color: var(--secondary);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

table th, table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

table th {
    background-color: var(--light);
    color: var(--primary);
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid #eee;
    padding: 1.5rem 0;
}

.faq-question {
    font-weight: bold;
    cursor: pointer;
    color: var(--primary);
    display: flex;
    justify-content: space-between;
}

.faq-answer {
    padding-top: 1rem;
    display: none;
}

/* Footer */
footer {
    background: var(--dark);
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-info p {
    font-size: 0.85rem;
    opacity: 0.6;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    nav ul {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
