:root {
    --primary-red: #cc0000;
    --dark-red: #8b0000;
    --gold: #ffcc00;
    --olive: #556b2f;
    --light-bg: #f4f4f4;
    --dark-text: #222;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, .brand-name {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
header {
    background: var(--dark-red);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

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

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 50px;
    width: 50px;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid var(--gold);
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--gold);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    height: 80vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
    color: var(--gold);
}

.hero-content .tagline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 3px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
    border: 2px solid var(--gold);
}

.btn-primary:hover {
    background-color: var(--gold);
    color: var(--dark-red);
}

/* Section Common */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    color: var(--dark-red);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gold);
    margin: 10px auto 0;
}

.section-title.left {
    text-align: left;
}

.section-title.left::after {
    margin: 10px 0 0;
}

.bg-light {
    background-color: var(--light-bg);
}

/* Grid Layouts */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.metas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.meta-item {
    background: var(--white);
    padding: 25px;
    border-radius: 4px;
    text-align: center;
    border: 1px solid #ddd;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.meta-item:hover {
    border-color: var(--primary-red);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.meta-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.meta-item h3 {
    font-size: 1.2rem;
    color: var(--dark-red);
    margin-bottom: 10px;
}

.meta-item p {
    font-size: 0.9rem;
    color: #555;
}

.grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-left: 5px solid var(--primary-red);
}

.card h3 {
    margin-bottom: 15px;
    color: var(--dark-red);
}

/* Statutes Tabs */
.statutes-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.statutes-nav {
    display: flex;
    overflow-x: auto;
    border-bottom: 2px solid var(--light-bg);
}

.tab-btn {
    padding: 15px 25px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}

.tab-btn.active {
    color: var(--primary-red);
    border-bottom-color: var(--primary-red);
}

.tab-content {
    display: none;
    padding: 30px;
    background: var(--light-bg);
    border-radius: 0 0 5px 5px;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.tab-content h3 {
    margin-bottom: 20px;
}

.tab-content ul {
    list-style: none;
    margin-top: 20px;
}

.tab-content li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.tab-content li::before {
    content: '★';
    position: absolute;
    left: 0;
    color: var(--primary-red);
}

.hierarchy {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.h-item {
    background: var(--white);
    padding: 15px;
    border-left: 4px solid var(--olive);
}

/* Uniform Section */
.uniform-section {
    background-color: var(--olive);
    color: var(--white);
}

.uniform-section .section-title {
    color: var(--gold);
}

.uniform-list {
    list-style: none;
    margin: 15px 0;
}

.uniform-list li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.uniform-list li::before {
    content: '➔';
    position: absolute;
    left: 0;
    color: var(--gold);
}

.creative-note {
    font-size: 0.85rem;
    opacity: 0.9;
    border-left: 2px solid var(--gold);
    padding-left: 10px;
}

.color-swatch-group {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.swatch {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.3);
}

.swatch.olive { background-color: #556b2f; }
.swatch.red { background-color: #cc0000; }
.swatch.gold { background-color: #ffcc00; }

.uniform-grid-display {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.uniform-card {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    border: 3px solid var(--gold);
    background: white;
    display: flex;
    flex-direction: column;
}

.uniform-card.small {
    z-index: 2;
}

@media (max-width: 768px) {
    .uniform-grid-display {
        grid-template-columns: 1fr;
    }
}

.uniform-img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.uniform-card:hover .uniform-img {
    transform: scale(1.05);
}

.uniform-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: var(--gold);
    padding: 10px;
    text-align: center;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

/* Footer */
footer {
    background: #111;
    color: var(--white);
    padding: 60px 0 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    padding-bottom: 40px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 15px;
}

.slogan {
    color: var(--gold);
    font-weight: 700;
}

.copyright {
    text-align: center;
    padding: 20px;
    background: #000;
    font-size: 0.8rem;
    color: #666;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--dark-red);
        padding: 20px;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .grid-two {
        grid-template-columns: 1fr;
    }

    .statutes-nav {
        flex-wrap: nowrap;
    }
}