:root {
    --primary-color: #5a7d5a;
    --primary-dark: #466046;
    --secondary-color: #d8e2dc;
    --accent-color: #e09f3e;
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

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

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

.btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

.full-width {
    width: 100%;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.section-desc {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    color: var(--text-light);
    font-size: 1.1rem;
}

.bg-light {
    background-color: var(--bg-light);
}

.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    font-size: 0.95rem;
    font-weight: 500;
}

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

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.hero {
    height: 100vh;
    background-image: url('../img/hero.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 70px; 
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 300;
}

.hero-text {
    margin-bottom: 30px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.hero-icons {
    margin-top: 40px;
    font-size: 2rem;
    display: flex;
    justify-content: center;
    gap: 30px;
    opacity: 0.8;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 15px;
}

.highlight-text {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    border-left: 4px solid var(--accent-color);
    padding-left: 15px;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.benefit-card {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 8px;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.benefit-card h3 {
    margin-bottom: 15px;
    color: var(--text-color);
}

.program-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #eee;
    text-align: left;
}

.program-icon {
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.program-card h3 {
    margin-bottom: 10px;
}

.formats-block {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.format-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--primary-dark);
}

.schedule-table-wrapper {
    overflow-x: auto;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.schedule-table th, .schedule-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.schedule-table th {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.schedule-table tr:last-child td {
    border-bottom: none;
}

.price-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #eee;
    position: relative;
}

.price-card.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    z-index: 10;
}

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 20px 0;
}

.price-features {
    margin-bottom: 30px;
    text-align: left;
}

.price-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.price-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--primary-color);
    margin-right: 10px;
}

.instructor-card {
    text-align: center;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding-bottom: 20px;
}

.instructor-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.instructor-card h3 {
    margin-top: 20px;
}

.instructor-role {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.instructor-card p {
    padding: 0 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    color: var(--text-light);
    font-size: 1.2rem;
}

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

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.review-card {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    position: relative;
}

.review-text {
    font-style: italic;
    margin-bottom: 20px;
}

.review-author {
    display: flex;
    flex-direction: column;
}

.review-author strong {
    color: var(--primary-dark);
}

.review-author span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.blog-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.blog-img-wrapper {
    height: 200px;
    overflow: hidden;
}

.blog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-img-wrapper img {
    transform: scale(1.1);
}

.blog-content {
    padding: 20px;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--text-light);
    display: block;
    margin-bottom: 10px;
}

.blog-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    font-weight: 600;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.faq-question {
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question.active {
    color: var(--primary-color);
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
    background: var(--white);
    color: var(--text-light);
}

.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.error-msg {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
    min-height: 20px;
}

.form-success {
    display: none;
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    margin-top: 20px;
    border-radius: 4px;
    text-align: center;
}

.contacts-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.contacts-info {
    flex: 1;
    min-width: 300px;
}

.map-container {
    flex: 1;
    min-width: 300px;
    height: 400px;
    background-color: #eee;
}

.contact-item {
    display: flex;
    margin-bottom: 25px;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.social-icons-large {
    margin: 30px 0;
}

.social-icons-large a {
    font-size: 1.5rem;
    margin-right: 15px;
    color: var(--primary-color);
}

.footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 10px;
    display: inline-block;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ddd;
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

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

.policy-page {
    padding-top: 120px;
    padding-bottom: 60px;
}

.policy-page h1 {
    margin-bottom: 10px;
    font-size: 2.5rem;
    color: var(--primary-dark);
}

.last-updated {
    color: var(--text-light);
    margin-bottom: 40px;
    font-style: italic;
}

.policy-section {
    margin-bottom: 30px;
}

.policy-section h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.policy-section ul {
    list-style: disc;
    padding-left: 20px;
    margin-top: 10px;
}

.policy-section li {
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
    }
    
    .mobile-menu-btn {
        display: block;
    }

    .nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav.active {
        max-height: 300px;
    }

    .nav-list {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .price-card.popular {
        transform: scale(1);
    }
}