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

:root {
    --primary-color: #2c5282;
    --primary-dark: #1a365d;
    --secondary-color: #718096;
    --accent-color: #4299e1;
    --light-color: #f7fafc;
    --dark-color: #2d3748;
    --text-color: #4a5568;
    --border-color: #e2e8f0;
    --form-bg: #2c5282;
    --btn-primary: #2c5282;
    --btn-secondary: #718096;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

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

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

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

.subtitle {
    color: var(--secondary-color);
    font-size: 0.875rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 0.875rem;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
}

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

.btn-secondary:hover {
    background-color: #4a5568;
    color: white;
}

.with-arrow span {
    margin-left: 5px;
    transition: margin-left 0.3s ease;
}

.with-arrow:hover span {
    margin-left: 10px;
}

.btn-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
}

.btn-link span {
    margin-left: 5px;
    transition: margin-left 0.3s ease;
}

.btn-link:hover span {
    margin-left: 10px;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: rgba(44, 82, 130, 0.9);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

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

.nav-links a {
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    position: relative;
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: white;
    transition: width 0.3s ease;
}

.nav-links a:hover:after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1;
    border-radius: 4px;
    padding: 0.5rem 0;
    top: 100%;
    left: 0;
    margin-top: 10px;
}

.dropdown-content a {
    color: var(--text-color);
    padding: 0.75rem 1rem;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f7fafc;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.arrow {
    font-size: 0.75rem;
    margin-left: 4px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(44, 82, 130, 0.8), rgba(44, 82, 130, 0.8)), url('./imgs/1.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 8rem 2rem 5rem;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    color: white;
    margin-bottom: 1.5rem;
}

.hero p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Experiencia Section */
.experiencia {
    padding: 5rem 0;
}

.experiencia-content {
    display: flex;
    gap: 3rem;
    margin-bottom: 4rem;
}

.experiencia-text {
    flex: 1;
}

.experiencia-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

/* Equipo Section */
.equipo {
    padding: 5rem 0;
    background-color: #f7fafc;
}

.equipo-content {
    display: flex;
    gap: 3rem;
}

.equipo-text {
    flex: 1;
}

.equipo-images {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
    font-style: italic;
    margin: 2rem 0;
    color: var(--dark-color);
}

.experience-counter {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.counter-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.counter-text h3 {
    margin-bottom: 0.5rem;
}

/* Servicios Section */
.servicios {
    padding: 5rem 0;
}

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

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.servicio-card {
    background-color: #f7fafc;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.servicio-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

/* Contacto Section */
.contacto {
    padding: 5rem 0;
}

.contacto h2 {
    margin-bottom: 1rem;
}

.contacto p {
    margin-bottom: 3rem;
    font-size: 0.875rem;
}

.contacto-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--form-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

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

.form-group input {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.9);
}

.form-group input::placeholder {
    color: #718096;
}

.contacto-form button {
    width: 100%;
    padding: 1rem;
    background-color: white;
    color: var(--primary-color);
}

.contacto-form button:hover {
    background-color: #f7fafc;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-brand h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-links h4, .footer-legal h4, .footer-social h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links ul, .footer-legal ul {
    list-style: none;
}

.footer-links li, .footer-legal li {
    margin-bottom: 0.5rem;
}

.footer-links a, .footer-legal a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover, .footer-legal a:hover {
    color: white;
}

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

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.footer-copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Icons */
.icon-consultores:before {
    content: "👥";
}

.icon-certificaciones:before {
    content: "🏆";
}

.icon-evaluacion:before {
    content: "🔍";
}

.icon-calendar:before {
    content: "📅";
}

.icon-formacion:before {
    content: "📊";
}

.icon-marketing:before {
    content: "💻";
}

.icon-redes:before {
    content: "🔍";
}

.icon-facebook:before {
    content: "f";
}

.icon-twitter:before {
    content: "t";
}

.icon-instagram:before {
    content: "i";
}

.icon-pinterest:before {
    content: "p";
}

/* Responsive Design */
@media (max-width: 992px) {
    .experiencia-content, .equipo-content {
        flex-direction: column;
    }
    
    .features, .servicios-grid, .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        flex-direction: column;
        padding: 1rem 0;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .dropdown-content {
        position: static;
        box-shadow: none;
        background-color: rgba(255, 255, 255, 0.1);
        margin-top: 0.5rem;
    }
    
    .dropdown-content a {
        color: white;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .features, .servicios-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero {
        padding: 7rem 1rem 4rem;
    }
    
    .navbar {
        padding: 1rem;
    }
}