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

:root {
    --primary-color: #2d6a4f;
    --secondary-color: #52b788;
    --accent-color: #95d5b2;
    --text-dark: #1b4332;
    --text-light: #ffffff;
    --background-light: #f8f9fa;
    --border-color: #d8f3dc;
    --error-color: #dc3545;
    --success-color: #28a745;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

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

.navbar {
    background-color: var(--primary-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
}

.logo img {
    border-radius: 50%;
}

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

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
}

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

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

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    transition: 0.3s;
}

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

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

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

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

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

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

.btn-block {
    display: block;
    width: 100%;
}

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

.features h2,
.about-courses h2,
.products h2,
.calculator-section h2,
.tip-of-day h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

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

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

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

.feature-icon {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

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

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.about-courses {
    padding: 4rem 0;
}

.about-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    text-align: justify;
}

.calculator-section {
    padding: 4rem 0;
    background-color: var(--background-light);
}

.calculator {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.calc-input {
    margin-bottom: 1.5rem;
}

.calc-input label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.calc-input select,
.calc-input input[type="number"] {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
}

.calc-result {
    background-color: var(--accent-color);
    padding: 1.5rem;
    border-radius: 5px;
    text-align: center;
    margin-top: 1.5rem;
}

.calc-result h3 {
    color: var(--text-dark);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.calc-note {
    font-size: 0.9rem;
    color: var(--text-dark);
}

.tip-of-day {
    padding: 4rem 0;
}

.tip-card {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    padding: 2rem;
    border-radius: 10px;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.tip-icon {
    color: var(--text-light);
    flex-shrink: 0;
}

.tip-content h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.tip-content p {
    color: var(--text-light);
    line-height: 1.8;
}

.products {
    padding: 4rem 0;
}

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

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

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

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

.product-info {
    padding: 1.5rem;
}

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

.product-description {
    margin: 1rem 0;
    color: #666;
}

.product-price {
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-weight: bold;
    margin: 1rem 0;
}

.product-detail {
    padding: 4rem 0;
}

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

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

.product-detail-price {
    font-size: 2rem;
    color: var(--secondary-color);
    font-weight: bold;
    margin: 1rem 0;
}

.product-rating {
    margin: 1rem 0;
    color: #f39c12;
}

.stars {
    font-size: 1.2rem;
}

.product-features,
.product-specs {
    margin: 2rem 0;
}

.product-features h3,
.product-specs h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-features ul,
.product-specs ul {
    list-style-position: inside;
    line-height: 2;
}

.product-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.related-products {
    padding: 4rem 0;
    background-color: var(--background-light);
}

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

.cart-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.cart-items {
    background: white;
    padding: 2rem;
    border-radius: 10px;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.cart-item-remove {
    background-color: var(--error-color);
    color: white;
    border: none;
    padding: 5px 15px;
    border-radius: 5px;
    cursor: pointer;
}

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

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.summary-row.total {
    border-top: 2px solid var(--border-color);
    padding-top: 1rem;
    font-weight: bold;
    font-size: 1.3rem;
    color: var(--primary-color);
}

.checkout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.checkout-form,
.order-summary {
    background: white;
    padding: 2rem;
    border-radius: 10px;
}

.order-summary {
    height: fit-content;
    position: sticky;
    top: 100px;
}

.form-group {
    margin-bottom: 1.5rem;
}

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

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

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

.success-section {
    padding: 4rem 0;
    min-height: 60vh;
}

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

.success-icon {
    color: var(--success-color);
    margin-bottom: 2rem;
}

.success-message {
    font-size: 1.2rem;
    margin: 2rem 0;
}

.success-info {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    text-align: left;
}

.success-info ul {
    list-style-position: inside;
    line-height: 2;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.contact-hero,
.about-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    padding: 3rem 0;
    text-align: center;
}

.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-detail-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    color: var(--secondary-color);
    flex-shrink: 0;
}

.contact-form {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 10px;
}

.about-content {
    padding: 4rem 0;
}

.about-text {
    max-width: 900px;
    margin: 0 auto;
}

.about-text h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.team-section {
    padding: 4rem 0;
    background-color: var(--background-light);
}

.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

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

.team-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px 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: 1rem 0 0.5rem;
    padding: 0 1rem;
}

.team-card p {
    padding: 0 1rem 1rem;
    line-height: 1.6;
}

.values-section {
    padding: 4rem 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer {
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

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

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

.social-links a {
    transition: transform 0.3s;
}

.social-links a:hover {
    transform: translateY(-3px);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

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

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 1.5rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    z-index: 10000;
    display: none;
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.btn-accept,
.btn-decline {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

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

.btn-decline {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

.cookie-link {
    color: var(--accent-color);
    text-decoration: underline;
    margin-left: auto;
}

.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background-color: var(--success-color);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    display: none;
    z-index: 10001;
}

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

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

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-color);
        flex-direction: column;
        padding: 1rem;
        display: none;
        gap: 1rem;
    }

    .nav-menu.active {
        display: flex;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .features-grid,
    .products-grid,
    .team-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .product-detail-grid,
    .cart-content,
    .checkout-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .tip-card {
        flex-direction: column;
        text-align: center;
    }

    .success-actions,
    .hero-buttons {
        flex-direction: column;
    }

    .product-actions {
        flex-direction: column;
    }
}

@media print {
    .navbar,
    .footer,
    .cookie-consent {
        display: none;
    }
}