
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

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

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0F4C81, #32CD32);
    color: #333;
    line-height: 1.6;
    padding: 20px;
}

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

header {
    text-align: center;
    margin-bottom: 40px;
}

header h1 {
    font-size: 2.5em;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.card {
    background-color: #FFFFFF;
    border: 1px solid #D3D3D3;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

.card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 1.5em;
    color: #0F4C81;
    margin-bottom: 10px;
    text-align: center;
}

.card p {
    text-align: center;
    margin-bottom: 15px;
    color: #555;
}

.card .buttons {
    display: flex;
    gap: 10px;
}

.card .buttons a {
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.card .buttons a.view {
    background-color: #0F4C81;
    color: #FFFFFF;
}

.card .buttons a.view:hover {
    background-color: #094a6f;
}

.card .buttons a.action {
    background-color: #32CD32;
    color: #FFFFFF;
}

.card .buttons a.action:hover {
    background-color: #28a428;
}

.article-section {
    background-color: #FFFFFF;
    border: 1px solid #D3D3D3;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.article-section h2 {
    font-size: 2em;
    color: #0F4C81;
    margin-bottom: 20px;
    text-align: center;
}

.article-section p {
    margin-bottom: 15px;
    color: #333;
}

.article-section h3 {
    font-size: 1.5em;
    color: #0F4C81;
    margin-top: 20px;
    margin-bottom: 10px;
}

.article-section ul, .article-section ol {
    margin-left: 20px;
    margin-bottom: 15px;
    color: #555;
}

.article-section pre {
    background-color: #f4f4f4;
    padding: 15px;
    border-radius: 6px;
    overflow-x: auto;
    margin-bottom: 15px;
}

.article-section code {
    font-family: 'Courier New', Courier, monospace;
    color: #c7254e;
}

.sample-data-section {
    background: rgba(255, 255, 255, 0.8);
    border: 2px dashed #0F4C81;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 40px;
}

.sample-data-section h2 {
    font-size: 1.8em;
    color: #0F4C81;
    margin-bottom: 15px;
    text-align: center;
}

.sample-data-section ul {
    list-style: none;
    padding-left: 0;
}

.sample-data-section li {
    background-color: #F9F9F9;
    border: 1px solid #D3D3D3;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease;
}

.sample-data-section li:hover {
    background-color: #F0F8FF;
}

.sample-data-section li img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
}

.sample-data-section li .data-content {
    flex: 1;
}

.sample-data-section li .data-content h4 {
    font-size: 1.2em;
    color: #0F4C81;
    margin-bottom: 5px;
}

.sample-data-section li .data-content p {
    color: #555;
    margin-bottom: 10px;
}

.sample-data-section li .data-actions a {
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: bold;
    background-color: #32CD32;
    color: #FFFFFF;
    transition: background-color 0.3s ease;
}

.sample-data-section li .data-actions a:hover {
    background-color: #28a428;
}

footer {
    text-align: center;
    font-size: 1.2em;
    color: #FFFFFF;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

@media (max-width: 1440px) {
    header h1 {
        font-size: 2.3em;
    }
}

@media (max-width: 1200px) {
    .card-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    .article-section h2 {
        font-size: 1.8em;
    }
}

@media (max-width: 1024px) {
    .card img {
        width: 80px;
        height: 80px;
    }

    .card h3 {
        font-size: 1.3em;
    }

    .article-section h2 {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .card img {
        width: 70px;
        height: 70px;
    }

    .card h3 {
        font-size: 1.2em;
    }

    .article-section h2 {
        font-size: 1.4em;
    }
}

@media (max-width: 480px) {
    .card img {
        width: 60px;
        height: 60px;
    }

    .card h3 {
        font-size: 1.1em;
    }

    .sample-data-section h2 {
        font-size: 1.5em;
    }
}

@media (max-width: 320px) {
    .card img {
        width: 50px;
        height: 50px;
    }

    .card h3 {
        font-size: 1em;
    }

    .article-section h2 {
        font-size: 1.2em;
    }
}

button, .buttons a {
    cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
}


