body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(120deg, #f8fafc 0%, #e0e7ef 100%);
    color: #23272f;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: background 0.4s, color 0.4s;
}
.dark-mode {
    background: linear-gradient(120deg, #181a1b 0%, #23272a 100%);
    color: #e0e0e0;
}
.dark-mode {
    background: #181a1b;
    color: #e0e0e0;
}
.sticky {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(120deg, #0073aa 0%, #00c3e6 100%);
    color: #fff;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}
header {
    background: none;
    color: #fff;
    padding-bottom: 0;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 48px;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    border-radius: 0 0 32px 32px;
    position: relative;
}
.logo {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: #2b6cb0;
    text-shadow: 0 2px 8px #e0e7ef;
}
#darkModeToggle {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: 20px;
    transition: color 0.2s;
}
#darkModeToggle:hover {
    color: #ffe082;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 36px;
}
.nav-links li a {
    color: #23272f;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 8px 18px;
    border-radius: 18px;
    transition: background 0.2s, color 0.2s;
}
.nav-links li a.active, .nav-links li a:hover {
    background: #2b6cb0;
    color: #fff;
}
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}
.burger div {
    width: 28px;
    height: 3px;
    background: #2b6cb0;
    border-radius: 2px;
}
.slider-parallax {
    position: relative;
    height: 420px;
    overflow: hidden;
    background: linear-gradient(120deg, #0073aa 0%, #00c3e6 100%);
}
.slider {
    position: relative;
    width: 100%;
    height: 420px;
}
.slides {
    width: 100%;
    height: 100%;
    position: relative;
}
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0;
    transition: opacity 1s;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slide.active {
    opacity: 1;
    z-index: 2;
}
.slide-content {
    background: rgba(0,0,0,0.45);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    color: #fff;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    animation: fadeInUp 1s;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
.slider-controls {
    position: absolute;
    width: 100%;
    top: 50%;
    display: flex;
    justify-content: space-between;
    z-index: 3;
    pointer-events: none;
}
.slider-controls span {
    background: rgba(0,0,0,0.4);
    color: #fff;
    font-size: 2.2rem;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: all;
    transition: background 0.2s;
}
.slider-controls span:hover {
    background: #ffe082;
    color: #0073aa;
}
.slider-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 4;
}
.slider-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.2s, background 0.2s;
}
.slider-dots span.active {
    opacity: 1;
    background: #ffe082;
}
.hero.ultra {
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(120deg, #2b6cb0 0%, #6ee7b7 100%);
    color: #fff;
    border-radius: 0 0 48px 48px;
    box-shadow: 0 8px 32px rgba(43,108,176,0.08);
    position: relative;
    overflow: hidden;
}
.hero-content {
    text-align: center;
    z-index: 2;
    animation: fadeInUp 1.2s;
}
.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 900;
    margin-bottom: 18px;
    letter-spacing: 1px;
    text-shadow: 0 4px 24px #2b6cb0;
}
.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 28px;
    color: #e0e7ef;
}
.cta {
    background: #fff;
    color: #2b6cb0;
    padding: 14px 36px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 2px 12px rgba(43,108,176,0.08);
    transition: background 0.2s, color 0.2s;
}
.cta:hover {
    background: #2b6cb0;
    color: #fff;
}
.blog-section {
    padding: 60px 20px 40px 20px;
    background: #fff;
    margin-top: -40px;
    border-radius: 30px 30px 0 0;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.07);
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s, transform 0.8s;
}
.blog-section.visible {
    opacity: 1;
    transform: translateY(0);
}
.blog-section h2 {
    text-align: center;
    margin-bottom: 40px;
}
.featured-articles {
    padding: 64px 0 40px 0;
    background: #fff;
    margin-top: -48px;
    border-radius: 48px 48px 0 0;
    box-shadow: 0 -4px 32px rgba(43,108,176,0.07);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}
.featured-articles h2 {
    text-align: center;
    margin-bottom: 48px;
    font-size: 2.2rem;
    color: #2b6cb0;
    font-weight: 800;
}
.blog-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 36px;
    justify-content: center;
    align-items: stretch;
}
.card {
    background: #f8fafc;
    border-radius: 24px;
    box-shadow: 0 2px 16px rgba(43,108,176,0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    min-height: 420px;
}
.card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 8px 32px rgba(43,108,176,0.13);
}
.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 24px 24px 0 0;
}
.card h3 {
    margin: 22px 20px 10px 20px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #2b6cb0;
}
.card p {
    margin: 0 20px 20px 20px;
    color: #555;
    flex: 1;
}
.read-more {
    display: block;
    margin: 0 20px 20px 20px;
    color: #2b6cb0;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: color 0.2s;
}
.read-more:hover {
    text-decoration: underline;
    color: #6ee7b7;
}
/* Sidebar ultra-moderne */
.sidebar {
    position: fixed;
    right: 0;
    top: 120px;
    width: 320px;
    background: #fff;
    box-shadow: 0 2px 16px rgba(43,108,176,0.08);
    border-radius: 32px 0 0 32px;
    padding: 32px 24px;
    z-index: 10;
    max-height: 70vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.sidebar h3 {
    color: #2b6cb0;
    font-size: 1.2rem;
    margin-bottom: 12px;
}
.categories {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.categories li a {
    color: #23272f;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.categories li a:hover {
    color: #2b6cb0;
}
.features {
    background: #e3f6fc;
    padding: 40px 20px;
    border-radius: 0 0 30px 30px;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s, transform 0.8s;
}
.features.visible {
    opacity: 1;
    transform: translateY(0);
}
.features h2 {
    text-align: center;
    margin-bottom: 20px;
}
.features ul {
    display: flex;
    justify-content: center;
    gap: 40px;
    list-style: none;
    padding: 0;
    flex-wrap: wrap;
}
.features li {
    font-size: 1.2rem;
    background: #fff;
    padding: 12px 24px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin-bottom: 10px;
}
footer {
    text-align: center;
    padding: 32px 0 0 0;
    background: #23272f;
    color: #fff;
    border-radius: 48px 48px 0 0;
    margin-top: 64px;
    flex-shrink: 0;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto 18px auto;
    padding: 0 32px;
}
.footer-logo {
    font-size: 1.6rem;
    font-weight: 900;
    color: #6ee7b7;
}
.footer-socials a {
    margin: 0 10px;
    display: inline-block;
    transition: transform 0.2s;
}
.footer-socials a:hover {
    transform: scale(1.2);
}
.footer-socials img {
    width: 32px;
    height: 32px;
    filter: invert(1);
}
.dark-mode .footer-socials img {
    filter: invert(0.7);
}
@media (max-width: 1200px) {
    .sidebar {
        display: none;
    }
    .featured-articles {
        border-radius: 0;
    }
    .footer-content {
        flex-direction: column;
        gap: 18px;
    }
}
@media (max-width: 900px) {
    .navbar {
        padding: 18px 12px;
    }
    .hero.ultra {
        min-height: 260px;
        border-radius: 0 0 32px 32px;
    }
    .featured-articles {
        padding: 32px 0 24px 0;
    }
    .blog-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}
@media (max-width: 700px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 8px;
    }
    .nav-links {
        flex-direction: column;
        width: 100%;
        display: none;
        gap: 0;
    }
    .nav-links.active {
        display: flex;
    }
    .burger {
        display: flex;
    }
    .hero-content h1 {
        font-size: 1.7rem;
    }
    .sidebar {
        display: none;
    }
}
