/* Estilos Generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.company-name {
    font-size: 2rem;
    font-weight: bold;
    color: #333; /* Ajusta el color según tu diseño */
    margin: 0;
    white-space: nowrap;
}

/* Asegúrate de que el header mantenga su tamaño */
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Si necesitas ajustar el logo para hacer espacio */
.logo img {
    max-height: 50px; /* Ajusta según necesites */
    width: auto;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav ul li {
    margin-left: 20px;
}

.nav ul li a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    font-size: 16px;
    padding: 5px 10px;
    transition: color 0.3s;
}

.nav ul li a:hover, 
.nav ul li a.active {
    color: #2c7be5;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/index/home.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    padding: 100px 0;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.cta-button {
    display: inline-block;
    background-color: white;
    color: #2c7be5;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.2s;
}

.cta-button:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.cta-button.secondary {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.cta-button.secondary:hover {
    background-color: rgba(255,255,255,0.1);
}

/* Features Section */
.features {
    padding: 60px 0;
    background-color: #fff;
}

.features .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    text-align: center;
}

.feature-box {
    padding: 30px;
    flex: 1;
    min-width: 250px;
    margin: 10px;
    transition: all 0.3s;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature-box h3 {
    color: #2c7be5;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.feature-box p {
    color: #666;
    font-size: 1rem;
}

/* About Section - Alternating Layout */
.about {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.about-row {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
}

.about-row:last-child {
    margin-bottom: 0;
}

.about-image, .about-content {
    flex: 1;
    padding: 20px;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.about-image img:hover {
    transform: scale(1.02);
}

.about-content h2 {
    color: #2c7be5;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.about-content p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #555;
}

.about-list {
    list-style: none;
    margin-top: 20px;
}

.about-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #444;
}

.about-list li:before {
    content: "✓";
    color: #2c7be5;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Alternating layout */
.about-row:nth-child(odd) .about-image {
    order: 1;
}

.about-row:nth-child(odd) .about-content {
    order: 2;
}

.about-row:nth-child(even) .about-image {
    order: 2;
}

.about-row:nth-child(even) .about-content {
    order: 1;
}

/* CTA Banner */
.cta-banner {
    background-color: #2c7be5;
    color: white;
    padding: 60px 0;
    text-align: center;
}

.cta-banner h3 {
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.cta-banner p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 40px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo img {
    height: 60px;
    width: auto;
}

.footer-info h4, 
.footer-links h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-info p {
    margin-bottom: 10px;
    color: #ccc;
    font-size: 0.9rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    color: #ccc;
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-row {
        flex-direction: column;
    }
    
    .about-image, .about-content {
        order: initial !important;
        width: 100%;
    }
    
    .about-image {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .nav ul li {
        margin: 5px 10px;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons a {
        width: 100%;
        text-align: center;
    }
    
    .features .container {
        flex-direction: column;
    }
    
    .feature-box {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-banner {
        padding: 40px 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}