:root {
    --primary-green: #2d5f3f;
    --secondary-green: #4a9d5f;
    --light-green: #e8f5e9;
    --accent-green: #76c893;
    --dark-gray: #1a1a1a;
    --light-gray: #f8f9fa;
    --text-gray: #6c757d;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-gray);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 30px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-green) !important;
    letter-spacing: -0.5px;
}

.nav-link {
    color: var(--dark-gray) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link.active {
    color: var(--secondary-green) !important;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary-green);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover:after, .nav-link.active:after {
    width: 100%;
}

.btn-primary-custom {
    background: var(--secondary-green);
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 157, 95, 0.3);
    text-decoration: none;
    display: inline-block;
}

.btn-primary-custom:hover {
    background: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 157, 95, 0.4);
    color: white;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h100v100H0z" fill="none"/><path d="M50 10c-5 0-10 5-10 10s5 10 10 10 10-5 10-10-5-10-10-10zm0 25c-8 0-15 7-15 15s7 15 15 15 15-7 15-15-7-15-15-15z" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-buttons {
    animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease 0.3s backwards;
}

.floating-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Stats Section */
.stats-section {
    background: white;
    padding: 4rem 0;
    margin-top: -50px;
    position: relative;
    z-index: 2;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-green);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-gray);
    font-weight: 500;
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-green), var(--accent-green));
    margin: 1rem auto 2rem;
    border-radius: 2px;
}

/* Presentation Section */
.presentation-section {
    padding: 6rem 0;
    background: white;
}

.content-box {
    padding: 2rem;
}

.lead-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-green);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.content-box p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.image-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

/* Difference Section */
.difference-section {
    padding: 6rem 0;
    background: var(--light-gray);
}

.difference-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.difference-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-green), var(--accent-green));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.difference-card:hover::before {
    transform: scaleX(1);
}

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

.difference-icon {
    width: 70px;
    height: 70px;
    background: var(--light-green);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.difference-card:hover .difference-icon {
    background: var(--secondary-green);
    transform: scale(1.1);
}

.difference-icon i {
    font-size: 2rem;
    color: var(--secondary-green);
    transition: all 0.3s ease;
}

.difference-card:hover .difference-icon i {
    color: white;
}

.difference-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.difference-card p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Vision Section */
.vision-section-home {
    padding: 6rem 0;
    background: white;
}

.vision-card {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    border-radius: 25px;
    padding: 4rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.vision-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.vision-content {
    position: relative;
    z-index: 1;
}

.objective-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.objective-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
}

.objective-item h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.objective-item p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

/* Services Page */
.page-hero {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h100v100H0z" fill="none"/><path d="M50 10c-5 0-10 5-10 10s5 10 10 10 10-5 10-10-5-10-10-10zm0 25c-8 0-15 7-15 15s7 15 15 15 15-7 15-15-7-15-15-15z" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
    opacity: 0.1;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
}

.services-content {
    padding: 6rem 0;
    background: var(--light-gray);
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-green), var(--accent-green));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--light-green);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--secondary-green);
    transform: scale(1.1);
}

.service-icon i {
    font-size: 2rem;
    color: var(--secondary-green);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon i {
    color: white;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 0.5rem 0;
    color: var(--text-gray);
    font-size: 0.95rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-list li:before {
    content: "✓";
    color: var(--secondary-green);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* References Page */
.references-content {
    padding: 6rem 0;
    background: white;
}

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

.partner-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

.partner-card:hover {
    border-color: var(--secondary-green);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.partner-logo {
    max-width: 120px;
    max-height: 80px;
    object-fit: contain;
}

/* About Page */
.about-content {
    padding: 6rem 0;
    background: white;
}

.about-image {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-box {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.feature-box:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    background: white;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--light-green);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--secondary-green);
}

.feature-box h5 {
    margin-bottom: 0.5rem;
    color: var(--primary-green);
    font-weight: 600;
}

.feature-box p {
    margin: 0;
    color: var(--text-gray);
}

.why-trust-section {
    padding: 6rem 0;
    background: var(--light-gray);
}

.trust-card {
    background: white;
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

/* Contact Page */
.contact-content {
    padding: 6rem 0;
    background: white;
}

.contact-info {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    border-radius: 25px;
    padding: 3rem;
    color: white;
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: start;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.3rem;
}

.contact-item h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-item p {
    margin: 0;
    opacity: 0.9;
}

.contact-form {
    background: var(--light-gray);
    border-radius: 25px;
    padding: 3rem;
}

.form-control {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--secondary-green);
    box-shadow: 0 0 0 0.2rem rgba(74, 157, 95, 0.25);
    outline: none;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h100v100H0z" fill="none"/><circle cx="50" cy="50" r="30" fill="rgba(255,255,255,0.03)"/></svg>') repeat;
}

/* Footer */
footer {
    background: var(--dark-gray);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
}

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

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.logo{
    width: 100px;
    height: 100px;
    margin: 0px;
    padding: 0px;
}

.logo-partenaires{
    width: 70%;
    height: 70%;
}

.logo-filiales{
    width: 100%;
    height: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        margin-top: 80px;
    }
    .hero h1, .page-hero h1 {
        font-size: 2.5rem;
    }

    .hero p, .page-hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .vision-card, .contact-info, .contact-form {
        padding: 2rem;
    }

    .difference-card, .service-card {
        margin-bottom: 1.5rem;
    }

    .partner-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
}