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

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

:root {
    --primary-color: #1a5f3f;
    --primary-dark: #0f3d26;
    --primary-light: #2d8f5f;
    --accent-color: #8b5cf6;
    --accent-light: #a78bfa;
    --bg-light: #f0fdf4;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
    --border-color: #d1d5db;
}

body {
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-dark);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lora', serif;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.1rem;
    line-height: 1.35;
}

h1 {
    font-size: 2.65rem;
    margin-bottom: 1.65rem;
}

h2 {
    font-size: 2.15rem;
    margin-top: 2.25rem;
    margin-bottom: 1.1rem;
}

h3 {
    font-size: 1.75rem;
    margin-top: 1.85rem;
    margin-bottom: 0.9rem;
}

h4 {
    font-size: 1.45rem;
    margin-top: 1.45rem;
    margin-bottom: 0.7rem;
}

p {
    margin-bottom: 1.1rem;
    font-size: 16px;
    line-height: 1.65;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

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

.header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.14);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 54px;
    width: auto;
}

.nav {
    display: flex;
    list-style: none;
    gap: 2.4rem;
}

.nav li {
    position: relative;
}

.nav a {
    color: var(--white);
    font-weight: 500;
    padding: 0.6rem 0;
    display: block;
    transition: color 0.3s ease;
    font-size: 15px;
}

.nav a:hover {
    color: var(--accent-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.1);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
}

.banner h1 {
    color: var(--white);
    font-size: 3.4rem;
    margin-bottom: 1.5rem;
}

.banner p {
    font-size: 1.35rem;
    margin-bottom: 2.4rem;
    max-width: 840px;
    margin-left: auto;
    margin-right: auto;
}

.main-content {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.content-section {
    background-color: var(--white);
    padding: 2.4rem;
    margin-bottom: 2.4rem;
    border-radius: 13px;
    box-shadow: 0 2px 9px rgba(0,0,0,0.09);
    border-left: 4px solid var(--accent-color);
}

.content-section h2 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.9rem;
    margin-bottom: 1.8rem;
}

.content-section h3 {
    color: var(--accent-color);
    margin-top: 2.4rem;
}

.content-section ul, .content-section ol {
    margin-left: 2.4rem;
    margin-bottom: 1.1rem;
}

.content-section li {
    margin-bottom: 0.9rem;
    line-height: 1.65;
}

.content-section img {
    max-width: 100%;
    height: auto;
    border-radius: 13px;
    margin: 2rem 0;
    display: block;
    box-shadow: 0 3px 13px rgba(0,0,0,0.11);
}

.footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 4rem 0 1.4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.4rem;
    margin-bottom: 2.4rem;
}

.footer-column h4 {
    color: var(--accent-color);
    margin-bottom: 1.3rem;
    font-size: 1.25rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.9rem;
}

.footer-column a {
    color: var(--white);
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1.3rem;
    margin-top: 1.3rem;
}

.social-links a {
    display: inline-block;
    width: 43px;
    height: 43px;
    background-color: #1a5f3f;
    border-radius: 50%;
    text-align: center;
    line-height: 43px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2.4rem;
    border-top: 1px solid #1a5f3f;
    color: var(--text-light);
}

.btn {
    display: inline-block;
    padding: 15px 34px;
    background-color: var(--accent-color);
    color: var(--white);
    font-weight: 600;
    border-radius: 7px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    min-width: 130px;
    min-height: 48px;
    font-size: 15px;
}

.btn:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 3px 13px rgba(139,92,246,0.3);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-light);
}

.breadcrumb {
    padding: 1.2rem 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb a {
    color: var(--text-light);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb span {
    color: var(--text-light);
    margin: 0 0.9rem;
}

.error-page {
    text-align: center;
    padding: 5.5rem 2rem;
}

.error-page h1 {
    font-size: 7.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.error-page h2 {
    margin-bottom: 1.5rem;
}

.error-page p {
    margin-bottom: 2.4rem;
    font-size: 1.25rem;
}

@media (max-width: 991px) {
    .nav {
        position: fixed;
        top: 81px;
        left: -100%;
        width: 100%;
        background-color: var(--primary-color);
        flex-direction: column;
        padding: 2.4rem;
        transition: left 0.3s ease;
        box-shadow: 2px 2px 10px rgba(0,0,0,0.14);
    }

    .nav.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .banner h1 {
        font-size: 2.5rem;
    }

    .banner p {
        font-size: 1.15rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    h1 {
        font-size: 2.3rem;
    }

    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .container {
        padding: 0 20px;
    }

    .banner {
        padding: 80px 0;
    }

    .banner h1 {
        font-size: 2.1rem;
    }

    .content-section {
        padding: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2.1rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 575px) {
    .banner h1 {
        font-size: 1.9rem;
    }

    .banner p {
        font-size: 1.05rem;
    }

    .content-section {
        padding: 1.7rem;
    }

    h1 {
        font-size: 1.9rem;
    }

    h2 {
        font-size: 1.6rem;
    }
}

