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

body {
    font-family: 'Lora', Georgia, 'Times New Roman', serif;
    line-height: 1.6;
    color: #1a1a2e;
    background: #fff;
}

.container {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 600;
    color: #1a3c6e;
    margin-bottom: 2.5rem;
}

/* ===== HEADER ===== */
header {
    background: #0a1a3a;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        #006633 0%,
        #006633 calc(33.333% - 3px),
        #fff 33.333%,
        #c81e1e calc(33.333% + 3px),
        #c81e1e calc(66.666% - 3px),
        #fff 66.666%,
        #0a1a3a calc(66.666% + 3px),
        #0a1a3a 100%
    );
    transform: skewX(-14deg);
    transform-origin: left center;
    width: 115%;
    left: -7.5%;
    pointer-events: none;
    z-index: 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 24px;
    position: relative;
    z-index: 2;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px;
    width: auto;
}

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

nav a {
    color: rgba(255,255,255,0.95);
    text-decoration: none;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
    transition: color 0.2s;
    position: relative;
}

nav a:hover,
nav a.active {
    color: #fff;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    transition: width 0.25s;
}

nav li:nth-child(1) a::after, nav li:nth-child(4) a::after { background: #e74c3c; }
nav li:nth-child(2) a::after, nav li:nth-child(5) a::after { background: #27ae60; }
nav li:nth-child(3) a::after, nav li:nth-child(6) a::after { background: #5dade2; }

nav a:hover::after,
nav a.active::after {
    width: 80%;
}

/* ===== HERO ===== */
.hero {
    background: #f5f7fa;
    color: #1a1a2e;
    text-align: center;
    padding: 5rem 2rem;
}

.hero-content {
    max-width: 620px;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    color: #1a3c6e;
}

.hero-content p {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background: #1a3c6e;
    color: #fff;
    padding: 0.7rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #244d8a;
}

.btn-secondary {
    background: transparent;
    color: #1a3c6e;
    border: 1px solid #1a3c6e;
}

.btn-secondary:hover {
    background: #1a3c6e;
    color: #fff;
}

/* ===== FEATURES ===== */
.features {
    padding: 3.5rem 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: #eee;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: #fff;
    transition: background 0.2s;
}

.feature-card:hover {
    background: #fafbfc;
}

.feature-icon {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    display: block;
}

.feature-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a3c6e;
    margin-bottom: 0.4rem;
}

.feature-card p {
    font-size: 0.85rem;
    color: #777;
    line-height: 1.5;
}

/* ===== ABOUT ===== */
.about {
    padding: 3.5rem 0;
    background: #f5f7fa;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #1a3c6e;
    margin-bottom: 1rem;
}

.about-text p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 1rem;
}

.about-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-logo {
    max-width: 100%;
    height: auto;
    max-height: 260px;
    border-radius: 8px;
}

/* ===== NEWS ===== */
.news {
    padding: 3.5rem 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.news-card {
    border-bottom: 2px solid #eee;
    padding-bottom: 1.25rem;
}

.news-card:hover {
    border-bottom-color: #1a3c6e;
}

.news-date {
    font-size: 0.8rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
}

.news-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a3c6e;
    margin-bottom: 0.4rem;
}

.news-card p {
    font-size: 0.85rem;
    color: #777;
}

.announce-card {
    border-bottom: 2px solid #1a3c6e;
    padding-bottom: 1.25rem;
    background: #f0f4ff;
    padding: 1.25rem;
    border-radius: 8px;
}

.announce-card .news-date {
    font-size: 0.8rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
}

.announce-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a3c6e;
    margin-bottom: 0.4rem;
}

.announce-card p {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.6;
}

/* ===== FOOTER CONTACT ===== */
.footer-contact {
    padding: 3.5rem 0 2rem;
    color: #fff;
    position: relative;
    z-index: 2;
}

.footer-contact .section-title {
    color: #fff;
}

.contact-grid {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.contact-item p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
}

/* ===== FOOTER ===== */
footer {
    background: #0a1a3a;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        #006633 0%,
        #006633 calc(33.333% - 3px),
        #fff 33.333%,
        #c81e1e calc(33.333% + 3px),
        #c81e1e calc(66.666% - 3px),
        #fff 66.666%,
        #0a1a3a calc(66.666% + 3px),
        #0a1a3a 100%
    );
    transform: skewX(-14deg);
    transform-origin: left center;
    width: 115%;
    left: -7.5%;
    pointer-events: none;
    z-index: 0;
}

footer::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.footer-content {
    text-align: center;
    padding: 1.5rem 24px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    max-width: 1060px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.footer-content p {
    margin: 0.15rem 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content h2 {
        font-size: 1.7rem;
    }

    .hero {
        padding: 3rem 1rem;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .section-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}
