* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
	height:100%;
}

body {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
	display: flex;
	flex-direction: column;
	min-height: 100hv;
}

.hero {
	flex: 1;
}

#inicio-boton {
    color:red;
}

/* Header */
header {
    background: white;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.logo {
    font-size: 32px;
    font-weight: bold;
    color: #2d6a5a;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 60px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-cgi {
    font-size: 36px;
    color: #2d6a5a;
}

.logo-empresarial {
    font-size: 18px;
    color: #2d6a5a;
    font-weight: normal;
    letter-spacing: 2px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.menu-toggle {
    display: none;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #2d6a5a;
	border-bottom:2px solid #2d6a5a;
	padding-bottom: 4px;
}

.menu-toggle {
    display: none;
    background: #2d6a5a;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2d6a5a 0%, #3d8b73 100%);
    color: white;
    padding: 100px 20px;
    text-align: left;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-image {
    border-radius: 10px;
    text-align: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Section Styles */
section {
    padding: 80px 20px;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 36px;
    color: #2d6a5a;
    margin-bottom: 50px;
    text-align: center;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content h3 {
    font-size: 28px;
    color: #2d6a5a;
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 15px;
    color: #666;
}

.about-image {
    border-radius: 10px;
    text-align: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
}

.feature-card h4 {
    font-size: 20px;
    color: #2d6a5a;
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    font-size: 14px;
}

/* Services Section */
.services {
    background: #f9fafb;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #2d6a5a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    color: #2d6a5a;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
}

/* Capacitaciones Section */
.capacitaciones {
    background: linear-gradient(135deg, #2d6a5a 0%, #3d8b73 100%);
    color: white;
}

.capacitaciones .section-title {
    color: white;
}

.capacitaciones-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.capacitacion-card {
    background: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    text-align: center;
}

.capacitacion-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.capacitacion-card p {
    opacity: 0.9;
}

/* Asesorias Section */
.asesorias-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.asesorias-list {
    list-style: none;
}

.asesorias-list li {
    padding: 20px;
    margin-bottom: 15px;
    background: white;
    border-left: 4px solid #2d6a5a;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.asesorias-list li h4 {
    color: #2d6a5a;
    margin-bottom: 10px;
}

.asesorias-image {
    border-radius: 10px;
    text-align: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #2d6a5a 0%, #3d8b73 100%);
    color: white;
}

.contact .section-title {
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    background: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    background: rgba(255,255,255,0.9);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn {
    background: white;
    color: #2d6a5a;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.contact-info {
    padding: 40px;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.contact-item p {
    opacity: 0.9;
}

/* Footer */
footer {
    background: #1e293b;
    color: white;
    padding: 40px 20px;
    text-align: center;
	margin-top:auto;
}

footer p {
    opacity: 0.8;
}

/* Estilos para imágenes */
.hero-image img,
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    border: 8px solid #000;
}

/* Imagen de asesorías - mostrar completa sin recortar */
.asesorias-image img {
    width: 65%;
    height: 125%;
    object-fit: cover;
    border-radius: 10px;
    border: 8px solid #000;
}

/* Blog Section */
.blog {
    background: #fff;
}

.blog-intro {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

.blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
}

.blog-date {
    color: #2d6a5a;
    font-size: 14px;
    font-weight: 600;
}

.blog-card h3 {
    font-size: 22px;
    color: #333;
    margin: 15px 0;
}

.blog-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.blog-link {
    color: #2d6a5a;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.blog-link:hover {
    color: #3d8b73;
}

/* Tarjeta Plataforma Educativa */
a {
    text-decoration: none;
}

.plataforma-link {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: #2d6a5a;
    color: #ffffff;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.plataforma-link:hover {
    background: #3d8b73;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.plataforma-link:visited {
    color: #ffffff;
}


/* Responsive */
@media (max-width: 768px) {
     /* Header */
    .header-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

   nav ul {
        display: none;
        flex-direction: column;
        gap: 15px;
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    nav ul.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
        background: #2d6a5a;
        color: white;
        border: none;
        padding: 10px 15px;
        font-size: 16px;
        cursor: pointer;
        border-radius: 5px;
        margin: 10px auto;
    }

    /* Hero */
    .hero {
        padding: 60px 20px;
        text-align: center;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero-image {
        height: auto;
    }

    .hero-image img {
        height: auto;
    }

    /* Secciones generales */
    section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 28px;
    }

    /* Grids */
    .about-grid,
    .services-grid,
    .capacitaciones-grid,
    .asesorias-content,
    .contact-grid,
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    /* Imágenes */
    .about-image,
    .asesorias-image {
        height: auto;
    }

    .asesorias-image img {
        width: 100%;
        height: auto;
    }

    /* Footer */
    footer {
        padding: 30px 15px;
        font-size: 14px;
    }
}