 * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Montserrat', sans-serif;
    }

    :root {
        --primary: #0B3C5D;
        --secondary: #1D5B8C;
        --accent: #FFB400;
        --light: #F4F4F4;
        --dark: #333333;
    }

    body {
        line-height: 1.6;
        color: var(--dark);
    }

    .container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 20px;
    }

    /* Hero Section */
    .hero {
        height: 100vh;
        background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.7)), url(img/home-background.jfif);
        background-size: cover;
        background-position: center;
        display: flex;
        align-items: center;
        text-align: center;
        color: white;
        margin-top: 0;
    }

    .hero-content {
        max-width: 800px;
        margin: 0 auto;
        padding: 2rem;
    }

    .hero h1 {
        font-size: 3rem;
        margin: 1.2rem;
        line-height: 1.2;
        padding-top: 1rem; /*agregue esto*/
    }

    .hero p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
        color: var(--light);
    }

    .cta-button {
        display: inline-block;
        padding: 1.2rem 3rem;
        background-color: var(--accent);
        color: var(--dark);
        text-decoration: none;
        border-radius: 50px;
        font-weight: 700;
        transition: transform 0.3s, box-shadow 0.3s;
        font-size: 21px;
    }

    .cta-button:hover {
        transform: translateY(-4px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        color: var(--secondary);
    }

    /* Services Section */
    .services {
        padding: 6rem 0;
        background-color: white;
    }

    .section-header {
        text-align: center;
        margin-bottom: 4rem;
    }

    .section-header h2 {
        font-size: 2.5rem;
        color: var(--primary);
        margin-bottom: 1rem;
    }

    .section-header p {
        color: #4d4c4c;
        font-size: 1.1rem;
        max-width: 600px;
        margin: 0 auto;
    }

    .services-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        padding: 2rem 0;
    }

    .service-card {
        background: white;
        padding: 2.5rem 2rem;
        border-radius: 15px;
        text-align: center;
        transition: transform 0.3s, box-shadow 0.3s;
        border: 1px solid #eee;
        display: flex;
        flex-direction: column; 
        min-height: 400px;
        
    }

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .service-card i {
        font-size: 3rem;
        color: var(--accent);
        margin-bottom: 1.5rem;
    }

    .service-card h3 {
        color: var(--primary);
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .service-card p {
        color: #4d4c4c;
        margin-bottom: 1.5rem;
        flex-grow: 1;
    }

    .learn-more {
        color: var(--primary);
        text-decoration: none;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        margin-top: auto; 
        justify-content: center; 
        width: 100%; 
        padding-bottom: 1rem;
    }
    
    .learn-more i { 
        font-size: 1rem; /* Added to match text size */ 
        margin-bottom: 0; /* Reset margin from previous icon styles */ 
    }

    .learn-more:hover {
        color: var(--secondary);
    }

    /* Why Choose Us Section */
    .why-us {
        padding: 6rem 0;
        background-color: var(--light);
    }

    .features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
    }

    .feature {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.5rem;
    }

    .feature i {
        font-size: 2rem;
        color: var(--accent);
    }

    .feature-content h3 {
        color: var(--primary);
        margin-bottom: 0.5rem;
    }

    .feature-content p{
        color: #4d4c4c;
    }

    /* Responsive Design */
    @media (max-width: 768px) {
        .hero h1 {
            font-size: 2rem;
        }

        .nav-links {
            display: none;
        }

        .services-grid {
            grid-template-columns: 1fr;
        }

        .features-grid {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 400px){

        .hero h1{
            font-size: 1.5rem;
        }

        .hero p{
            font-size: 1rem;
        }
    }

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
}

.modal-content {
    background-color: white;
    margin: 10% auto; /* 10% from the top and centered */
    padding: 2rem;
    border-radius: 10px;
    width: 80%; /* 80% width */
    max-width: 600px; /* Maximum width */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.close {
    color: #aaa;
    float: right;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: var(--primary);
}