* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

/* Navigation Menu */
.nav-menu {
    background: linear-gradient(90deg, #003473 0%, #425500 100%);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.nav-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5em;
    color: white;
}

.nav-links {
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 5px 15px;
    margin: 0 5px;
    border-radius: 20px;
    font-size: 0.9em;
    transition: all 0.3s ease;
    display: inline-block;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(90deg, #003473EE 0%, #425500EE 100%);
    padding: 20px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff10" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.logo {
    max-width: 150px;
    margin-bottom: 30px;
}

.hero-section h1 {
    color: white;
    font-size: 3.5em;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.subtitle {
    color: #84bd00;
    font-size: 1.5em;
    font-weight: 500;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Introduction Section */
.intro-section {
    margin-bottom: 60px;
}

.intro-card {
    background: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-left: 5px solid #003473;
    transition: all 0.3s ease;
}

.intro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.intro-card h2 {
    color: #003473;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.intro-card p {
    color: #555;
    line-height: 1.8;
    text-align: justify;
}

.intro-card hr {
    margin: 20px 0;
    border: none;
    border-top: 1px solid #e0e0e0;
}

/* Tools Section */
.tools-section {
    margin-top: 60px;
}

.section-title {
    color: #003473;
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #84bd00;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
}

.tool-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #003473 0%, #84bd00 100%);
}

.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.tool-icon {
    font-size: 3em;
    margin-bottom: 20px;
    display: block;
    text-align: center;
}

.tool-card h2 {
    margin-bottom: 15px;
    font-size: 1.5em;
    text-align: center;
}

.tool-card h2 a {
    color: #003473;
    text-decoration: none;
    transition: color 0.3s ease;
}

.tool-card h2 a:hover {
    color: #84bd00;
}

.tool-card p {
    color: #666;
    line-height: 1.8;
    text-align: justify;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 40px 20px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-menu {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-menu a {
    color: #84bd00;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: #a4dd00;
}

.footer-credits {
    color: #999;
}

.footer-credits a {
    color: #84bd00;
    text-decoration: none;
}

.footer-credits a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(90deg, #003473 0%, #425500 100%);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hero-section h1 {
        font-size: 2.5em;
    }
    
    .subtitle {
        font-size: 1.2em;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-menu {
        flex-direction: column;
        gap: 15px;
    }
}
