@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lora:ital,wght@0,400..700;1,400..700&display=swap');

body {
    font-family: "Inter", sans-serif;
    margin: 0;
    background-color: #2e2e2e;
}

header {
    width: 100%;
    height: 100px;
    position: fixed;
    top: 0;      /* <-- Añade esto para anclarlo arriba */
    left: 0;     /* <-- Añade esto para anclarlo a la izquierda */
    padding: 0 0%;
    display: flex;
    align-items: center;
    z-index: 999;
}
.hero {
            width: 100%;
            height: 100vh;
            background-color:rgb(46, 46, 46);
            position: relative;
            padding: 0 0%; /* 5%? */
            display: flex;
            align-items: center;

        }

        nav {
            background-color: #2e2e2e;
            width: 100%;
            position: absolute;
            top: 0;
            left: 0;
            padding: 20px 0%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            transition: background-color 0.3s ease;
        }
        
        .logo-link {
            margin-left: 8%;
            display: flex;
            align-items: center;
            text-decoration: none;
        }

        nav .logo {
            margin-left: 0; /* Quitamos el margen porque ahora lo tiene .logo-link */
            width: 60px;
            content: url(logo2.png);
            transition: content 0.3s ease;
        }

        nav ul {
            margin-right: 8%;
        }

        nav ul li {
            list-style: none;
            display: inline-block;
            margin-left: 40px;
            transition: transform 0.3s ease;
        }

        nav ul li:hover {
            transform: scale(1.05);
            transition: transform 0.3s ease;
        }

        nav ul li a {
            text-decoration: none;
            color: #ffff;
            font-size: 17px;
            transition: transform 0.3s ease, color 0.3s ease;
        }

        .content {
            display: inline-block;
            text-align: left;
            margin-left: 8%;
        }

        .content h1 {
            width: 80%;
            content: url(logo.jpg);
            margin-bottom: 40px;
            max-width: 900px;
        }

        .content a {
            text-decoration: none;
            display: inline-block;
            color: #ffff;
            font-size: 24px;
            border: 2px solid #fff;
            padding: 14px 70px;
            border-radius: 50px;
            transition: transform 0.3s ease, background-color 0.3s, color 0.3s;
            
        }

        .content a:hover {
            transform: scale(1.02);
            background-color: #fff;
            color: rgb(0, 0, 0);
            transition: transform 0.3s ease, background-color 0.3s, color 0.3s;  
        }

        .content2 {
            display: inline-block;
            text-align: right;
            margin-right: 8%;
            max-width: 40%;
        }

        .content2 h1 {
            margin-bottom: 40px;
            color: #ffffff;
        }

        .content2 a {
            text-decoration: none;
            display: inline-block;
            color: #ffff;
            font-size: 24px;
            
        }

        .back-video {
            width: 100%;
            position: absolute;
            left: 0;
            bottom: 0;
            z-index: -1;
        }



        .nosotros {
            margin-top: -30px;
            padding-bottom: 40px;
            color: #000000;
            width: 100%;
            padding: 80px 0;
            background-color: #edecf9;
            text-align: center;
        }
        .nosotros h1 {
            color: #2e2e2e;
            font-size: 60px;
            margin-bottom: 40px;
        }

        .team-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 24px;
            max-width: 1240px;
            margin: 0 auto;
            padding: 0 16px;
        }

        .team-card {
            background-color: #ffffff;
            border-radius: 18px;
            padding: 34px 16px;
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 12px;
        }

        .team-card__avatar {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            border: 4px solid #41ec58;
            background-color: #30b04c;
            background-image: linear-gradient(135deg, #228036 0%, #53d16e 100%);
        }

        .team-card h1 {
            font-size: 20px;
            margin: 0;
            color: #232323;
        }

        .team-card p {
            margin: 0;
            color: #555555;
            font-size: 15px;
        }

        @media (max-width: 600px) {
            .nosotros h1 {
                font-size: 38px;
            }
            .team-card {
                padding: 20px 12px;
            }
            .team-card h1 {
                font-size: 18px;
            }
            .team-card p {
                font-size: 14px;
            }
        }

        .objetivos {
    background-color: #ffffff;
    padding: 80px 8%;
    display: flex;
    justify-content: center;
}

.objetivos-container {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
}

.objetivos-text {
    flex: 1; /* Takes up 50% */
}

.objetivos-text h2 {
    font-size: 48px;
    color: #2e2e2e;
    margin-bottom: 20px;
}

.objetivos-text ul {
    list-style: none;
    padding: 0;
}

.objetivos-text li {
    font-size: 18px;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
    position: relative;
    padding-left: 25px;
}

/* Optional: Green bullet point to match your theme */
.objetivos-text li::before {
    content: "●";
    color: #41ec58;
    position: absolute;
    left: 0;
}

.objetivos-image {
    flex: 1; /* Takes up 50% */
}

.objetivos-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Responsive: Stacks vertically on mobile */
@media (max-width: 850px) {
    .objetivos-container {
        flex-direction: column;
        text-align: center;
    }
    
    .objetivos-text li {
        padding-left: 0;
    }
    
    .objetivos-text li::before {
        display: none;
    }
}




/* Valores stuff */
.valores {
    background-color: #ffffff;
    padding: 80px 8%;
    display: flex;
    justify-content: center;
}

.valores-container {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
}

.valores-text {
    flex: 1; /* Takes up 50% */
}

.valores-text h2 {
    font-size: 48px;
    color: #2e2e2e;
    margin-bottom: 20px;
}

.valores-text ul {
    list-style: none;
    padding: 0;
}

.valores-text li {
    font-size: 18px;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
    position: relative;
    padding-left: 25px;
}

/* Optional: Green bullet point to match your theme */
.valores-text li::before {
    content: "●";
    color: #41ec58;
    position: absolute;
    left: 0;
}

.valores-image {
    flex: 1; /* Takes up 50% */
}

.valores-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Responsive: Stacks vertically on mobile */
@media (max-width: 850px) {
    .valores-container {
        flex-direction: column;
        text-align: center;
    }
    
    .valores-text li {
        padding-left: 0;
    }
    
    .valores-text li::before {
        display: none;
    }
}
/* Valores stuff end */





.blog-intro {
    text-align: center;
    padding: 60px 8% 0 8%; /* Top padding 60px, bottom 0 to stay close to the blog */
    background-color: #2e2e2e; /* Match the blog section background */
}

.blog-intro h1 {
    font-size: 50px;
    color: #fdfdfd;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}
.blog-card:hover {
    transform: translateY(-5px);
    background-color: #454545;
}

/* Optional: Decorative green line under the title */
.blog-intro h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #41ec58;
    margin: 10px auto 0;
    border-radius: 2px;
}

.blog-intro p {
    font-size: 18px;
    color: #dbdbdb;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Small adjustment to the existing blog-section padding */
.blog-section {
    display: flex;
    padding: 40px 8% 80px 8%; /* Reduced top padding since intro provides it */
    gap: 40px;
    background-color: #fdfdfd;
}


.blog-section {
    display: flex;
    padding: 60px 8%;
    gap: 40px;
    background-color: #2e2e2e; /* Light background like the image */
}

/* Sidebar Styling */
.sidebar {
    flex: 0 0 250px; /* Fixed width sidebar */
}

.sidebar h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #ffffff;
}

.filter-group label {
    display: block;
    margin-bottom: 15px;
    font-size: 15px;
    color: #e6e6e6;
    cursor: pointer;
}

.filter-group input {
    margin-right: 10px;
    accent-color: #30b04c; /* Matching your green theme */
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.icon {
    width: 35px;
    height: 35px;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* Blog Feed Styling */
.blog-feed {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.blog-card {
    background-color: #494949;
    border-radius: 12px;
    padding: 30px;
    transition: background 0.3s;
}

.card-header {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.blog-thumb {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
}

.card-meta .category {
    font-size: 12px;
    letter-spacing: 1px;
    color: #adadad;
    font-weight: bold;
}

.card-meta .date {
    font-size: 12px;
    color: #aaa;
    margin-left: 15px;
}

.card-meta h2 {
    margin-top: 10px;
    font-size: 24px;
    color: #dbdbdb;
}

.excerpt {
    color: #d6d6d6;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    display: block;
    text-align: right;
    text-decoration: none;
    color: #b9d8aa;
    font-weight: 600;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 900px) {
    .blog-section {
        flex-direction: column;
    }
    .sidebar {
        flex: none;
        width: 100%;
        border-bottom: 1px solid #eee;
        padding-bottom: 20px;
    }
}

/* Asegura que las imágenes dentro del post no se salgan del contenedor */
.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px; /* Le da un toque redondeado para que combine con tu diseño */
    margin: 20px 0; /* Agrega un poco de espacio arriba y abajo de la imagen */
    display: block; /* Centra la imagen si es más pequeña que el contenedor */
}

footer {

}