/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #76B852;
    --secondary-color: #333333;
    --background-color: #FFFFFF;
    --text-color: #333333;
    --light-gray: #F5F5F5;
    --dark-gray: #444444;
    --border-color: #E0E0E0;
    --footer-bg: #222222;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.8rem;
    text-transform: uppercase;
}

h2 {
    font-size: 2.2rem;
    text-transform: uppercase;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

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

section {
    padding: 5rem 0;
}

.highlight {
    color: var(--primary-color);
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-contact, .btn-learn, .btn-submit {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

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

.btn-contact {
    background-color: white;
    color: var(--secondary-color);
    border-radius: 50px;
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.btn-contact span, .btn-learn span, .btn-submit span {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.btn-contact:hover span, .btn-learn:hover span, .btn-submit:hover span {
    transform: translateX(3px);
}

.btn-learn {
    color: var(--primary-color);
    background-color: transparent;
    padding: 0.5rem 0;
    position: relative;
    display: inline-flex;
    align-items: center;
}

.btn-learn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.btn-learn:hover::after {
    width: 100%;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    margin-top: 1rem;
}

.btn-primary:hover, .btn-submit:hover {
    background-color: darken(var(--primary-color), 10%);
    transform: translateY(-2px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    z-index: 1000;
    max-width: 400px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: none;
}

.cookie-notice.active {
    display: block;
}

.cookie-content h2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.cookie-content p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.cookie-content button {
    margin: 0.25rem 0;
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

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

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav ul li {
    margin-left: 2rem;
}

.nav ul li a {
    font-size: 0.9rem;
    font-weight: 600;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 2px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding-top: 8rem;
    padding-bottom: 3rem;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.hero h1 {
    margin-bottom: 2rem;
}

.hero-text {
    padding-right: 2rem;
}

.stats {
    display: flex;
    justify-content: space-between;
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 3rem;
}

.stat-item h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--dark-gray);
}

/* Services Section */
.services {
    background-color: var(--light-gray);
}

.section-icon {
    display: inline-block;
    color: var(--dark-gray);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.section-icon::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    background-image: url('./imgs/icon.png');
    background-size: contain;
    background-repeat: no-repeat;
}

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

/* Why Us Section */
.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    border: 1px solid var(--border-color);
    padding: 2rem 1.5rem;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--light-gray);
}

.testimonial-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: center;
}

.testimonial-content blockquote {
    font-style: italic;
    position: relative;
    padding-left: 1.5rem;
    border-left: 3px solid var(--primary-color);
}

.testimonial-author {
    margin-top: 2rem;
}

.testimonial-author h4 {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    color: var(--dark-gray);
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
}

.contact h2 {
    margin-bottom: 3rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 1rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Footer */
.footer {
    background-color: var(--footer-bg);
    color: white;
    padding: 3rem 0;
}

.footer-logo a {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-tagline {
    max-width: 600px;
    margin: 1.5rem 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact {
    margin: 1.5rem 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
}

.social-icon {
    font-size: 0;
    width: 2rem;
    height: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
}

.social-icon::before {
    content: '';
    display: block;
    width: 1rem;
    height: 1rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.twitter::before {
    background-image: url('./imgs/twitter.png');
}

.facebook::before {
    background-image: url('./imgs/facebook.png');
}

.instagram::before {
    background-image: url('./imgs/instagram.png');
}

.linkedin::before {
    background-image: url('./imgs/linkedin.png');
}

.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.4rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0.8rem 0;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 1rem 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav.active {
        display: block;
    }
    
    .nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .nav ul li {
        margin: 0.8rem 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-content,
    .services-content,
    .testimonial-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-text {
        padding-right: 0;
    }
    
    .stats {
        flex-wrap: wrap;
    }
    
    .stat-item {
        width: 50%;
        margin-bottom: 2rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .footer-legal {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .stat-item {
        width: 100%;
    }
    
    .btn-contact {
        display: none;
    }
    
    .hero {
        padding-top: 6rem;
    }
    
    .cookie-notice {
        width: 90%;
        max-width: none;
    }
}