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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #f8f9fa;
}

header {
    background: linear-gradient(135deg, #1a237e, #283593);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

header .logo {
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    color: white;
}

header .logo span {
    color: #ffcc80;
}

nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: background 0.2s;
}

nav a:hover,
nav a.active {
    background: rgba(255, 255, 255, 0.2);
}

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

.hero {
    background: linear-gradient(135deg, #1a237e, #283593);
    color: white;
    padding: 50px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: white;
}

.hero p {
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto;
    opacity: 0.95;
    color: white;
}

main {
    padding: 40px 20px;
}

main .container {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}

h1 {
    color: #1a237e;
    margin-bottom: 20px;
    font-size: 2rem;
}

h2 {
    color: #1a237e;
    margin-top: 35px;
    margin-bottom: 15px;
    font-size: 1.4rem;
    border-bottom: 2px solid #e8eaf6;
    padding-bottom: 6px;
}

h3 {
    color: #283593;
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 1.15rem;
}

p {
    margin-bottom: 16px;
    color: #444;
}

ul, ol {
    margin: 10px 0 20px 25px;
}

li {
    margin-bottom: 8px;
    color: #444;
}

strong {
    color: #333;
}

a {
    color: #283593;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
    display: block;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.card h3 {
    margin-top: 15px;
    color: #283593;
}

.card p {
    font-size: 0.95rem;
}

.card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
}

.tip-box {
    background: #e8eaf6;
    border-left: 4px solid #283593;
    padding: 18px 22px;
    border-radius: 0 8px 8px 0;
    margin: 20px 0;
}

.tip-box strong {
    color: #1a237e;
}

.warning-box {
    background: #ffebee;
    border-left: 4px solid #c62828;
    padding: 18px 22px;
    border-radius: 0 8px 8px 0;
    margin: 20px 0;
}

.warning-box strong {
    color: #b71c1c;
}

.info-box {
    background: #e0f2f1;
    border-left: 4px solid #00695c;
    padding: 18px 22px;
    border-radius: 0 8px 8px 0;
    margin: 20px 0;
}

.info-box strong {
    color: #00695c;
}

.content-img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 25px auto;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    text-align: left;
    padding: 12px 16px;
    border-bottom: 1px solid #e0e0e0;
}

th {
    background: #1a237e;
    color: white;
    font-weight: 600;
}

tr:nth-child(even) {
    background: #f8f9fa;
}

footer {
    background: #0d1b3e;
    color: #c5cae9;
    text-align: center;
    padding: 30px 20px;
    margin-top: 50px;
    font-size: 0.9rem;
}

footer a {
    color: #ffcc80;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    main .container {
        padding: 25px 18px;
    }

    header .container {
        flex-direction: column;
        text-align: center;
    }

    nav {
        justify-content: center;
    }
}
