
:root {
    --primary-color: #0d5c75;
    --secondary-color: #1995ad;
    --accent-color: #f4f9f9;
    --text-color: #2b2b2b;
    --light-text: #666;
    --white: #ffffff;
    --card-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #f8fafc;
    color: var(--text-color);
    line-height: 1.6;
}

header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--white);
}

.logo-brand svg {
    width: 40px;
    height: 40px;
}

.logo-brand h1 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

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

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

nav a:hover {
    opacity: 0.8;
}

.hero {
    background: linear-gradient(rgba(13, 92, 117, 0.9), rgba(25, 149, 173, 0.85)), url('https://images.unsplash.com/photo-1532187863486-abf9dbad1b69?auto=format&fit=crop&w=1200&q=80') center/cover;
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
}

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

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.btn {
    display: inline-block;
    background-color: #2bcbba;
    color: var(--white);
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, background-color 0.2s;
}

.btn:hover {
    background-color: #20bf6b;
    transform: translateY(-2px);
}

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

.section-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 8px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

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

.card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--secondary-color);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.card-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    line-height: 1.4;
}

.card-text {
    color: var(--light-text);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.card-link:hover {
    color: var(--primary-color);
}

.post-container {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    max-width: 900px;
    margin: 40px auto;
}

.post-meta {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.post-content h2 {
    color: var(--primary-color);
    margin: 25px 0 15px;
}

.post-content p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.post-content ul {
    margin: 15px 0 20px 25px;
}

.post-content li {
    margin-bottom: 8px;
}

footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 40px 20px 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-section p, .footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    color: #94a3b8;
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    .hero h2 {
        font-size: 1.8rem;
    }
}
