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

:root {
    --primary-color: #2c5f2d;
    --secondary-color: #97bc62;
    --accent-color: #ff6b35;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --border-color: #ddd;
    --white: #fff;
    --success-color: #4caf50;
    --error-color: #f44336;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    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: color 0.3s ease;
}

#clock {
    position: fixed;
    top: 10px;
    right: 20px;
    background: rgba(44, 95, 45, 0.9);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    z-index: 9999;
    font-weight: 500;
}

.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.cart-link {
    position: relative;
    display: flex;
    align-items: center;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background: #e55a2b;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

.btn-full {
    width: 100%;
}

.features {
    padding: 80px 0;
    background: var(--light-gray);
}

.features h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
    margin-top: 40px;
}

.stat-item h3 {
    font-size: 48px;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.about-courses {
    padding: 80px 0;
}

.about-courses h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.course-description p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.products {
    padding: 80px 0;
}

.products h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--primary-color);
}

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

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.product-info h3 a:hover {
    color: var(--secondary-color);
}

.product-info p {
    margin-bottom: 15px;
    color: #666;
}

.product-price {
    font-size: 24px;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.product-detail {
    padding: 80px 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.product-image img {
    width: 100%;
    border-radius: 10px;
}

.product-details h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.product-description {
    margin: 30px 0;
}

.product-description h2,
.product-description h3 {
    color: var(--primary-color);
    margin-top: 25px;
    margin-bottom: 15px;
}

.product-description ul {
    list-style-position: inside;
    margin-left: 20px;
}

.product-description li {
    margin-bottom: 10px;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.cart-section,
.checkout-section {
    padding: 80px 0;
    min-height: 60vh;
}

.cart-section h1,
.checkout-section h1 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.cart-items {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
}

.cart-item-info h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: 1px solid var(--border-color);
    background: white;
    cursor: pointer;
    border-radius: 3px;
}

.remove-btn {
    color: var(--error-color);
    cursor: pointer;
    padding: 5px 10px;
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
}

.empty-cart svg {
    margin: 0 auto 20px;
    color: var(--border-color);
}

.empty-cart h2 {
    margin-bottom: 10px;
    color: var(--text-color);
}

.cart-summary {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.summary-row.total {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    border-bottom: none;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.checkout-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
}

.order-summary {
    background: white;
    padding: 30px;
    border-radius: 10px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.order-summary h2 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-totals {
    margin-top: 20px;
}

.success-section {
    padding: 100px 0;
    text-align: center;
}

.success-content {
    max-width: 600px;
    margin: 0 auto;
}

.success-icon {
    color: var(--success-color);
    margin-bottom: 30px;
}

.success-content h1 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.success-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 40px;
}

.contact-hero,
.about-hero,
.blog-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 80px 0;
    text-align: center;
}

.contact-hero h1,
.about-hero h1,
.blog-hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.contact-content {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2,
.contact-form-container h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-form button {
    margin-top: 10px;
}

.about-content {
    padding: 80px 0;
}

.about-text h2 {
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-text ul {
    margin: 20px 0 20px 40px;
}

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

.team-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.team-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.team-intro {
    text-align: center;
    margin-bottom: 50px;
    font-size: 18px;
}

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

.team-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

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

.team-card h3 {
    color: var(--primary-color);
    margin: 20px 0 10px;
    padding: 0 20px;
}

.team-role {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.team-bio {
    padding: 0 20px 20px;
    color: #666;
    line-height: 1.6;
}

.blog-list {
    padding: 80px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.blog-category {
    color: var(--primary-color);
    font-weight: 600;
}

.blog-content h2 {
    margin-bottom: 15px;
    font-size: 22px;
}

.blog-content h2 a:hover {
    color: var(--primary-color);
}

.blog-content p {
    margin-bottom: 15px;
    color: #666;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
}

.blog-post {
    padding: 80px 0;
}

.post-header {
    text-align: center;
    margin-bottom: 50px;
}

.post-header h1 {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: #666;
}

.post-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
}

.post-content h2 {
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 32px;
}

.post-content h3 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 24px;
}

.post-content p {
    margin-bottom: 20px;
}

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

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

.post-footer {
    max-width: 800px;
    margin: 50px auto;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.post-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.tag {
    background: var(--light-gray);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-color);
}

.post-share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.post-share a {
    color: var(--primary-color);
}

.related-posts {
    max-width: 800px;
    margin: 60px auto;
}

.related-posts h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.related-post-card {
    background: var(--light-gray);
    padding: 25px;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.related-post-card:hover {
    background: #e8e8e8;
}

.related-post-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

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

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

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-section p {
    margin-bottom: 15px;
    line-height: 1.8;
}

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

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

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

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: background 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
    padding: 20px;
    z-index: 10000;
    display: none;
}

.cookie-consent.show {
    display: block;
}

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

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.notification {
    position: fixed;
    top: 80px;
    right: 20px;
    background: white;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 10000;
    display: none;
    min-width: 250px;
}

.notification.show {
    display: block;
    animation: slideIn 0.3s ease;
}

.notification.success {
    border-left: 4px solid var(--success-color);
}

.notification.error {
    border-left: 4px solid var(--error-color);
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        gap: 15px;
        font-size: 14px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .features-grid,
    .products-grid,
    .stats {
        grid-template-columns: 1fr;
    }
    
    .product-detail-grid,
    .checkout-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 15px;
    }
    
    .cart-item img {
        width: 80px;
        height: 80px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .post-header h1 {
        font-size: 28px;
    }
    
    .post-content {
        font-size: 16px;
    }
}