/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header styles */
.top-header {
    background-color: #1e3a8a;
    color: white;
    padding: 0.5rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mail-icon {
    margin-left: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: white;
    transition: color 0.3s;
}

    .social-link:hover {
        color: #93c5fd;
    }

/* Navigation styles */
.main-nav {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 50;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    margin-top: 1%;
    margin-left: -50%;
    font-size: 1.875rem;
    font-weight: bold;
    color: #1e3a8a;
}

.nav-links {
    display: none;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
        gap: 2rem;
    }
}

.nav-link {
    color: #4b5563;
    text-decoration: none;
    transition: color 0.3s;
}

    .nav-link:hover {
        color: #1e3a8a;
    }

/* Hero section */
.hero {
    position: relative;
    height: 600px;
}

.hero-background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-text {
    color: white;
    max-width: 32rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Services section */
.services-section {
    padding: 5rem 0;
    background-color: #f9fafb;
}

.section-title {
    font-size: 2.25rem;
    font-weight: bold;
    text-align: center;
    color: #1f2937;
    margin-bottom: 4rem;
}

.services-grid {
    margin-left: -10%;
    width: 120%;
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}




.services-grid2 {
    margin-top: 30px;
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
   
}

.service-card2 {
 
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-card {
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


.service-image {
    width: 100%;
    height: 12rem;
    object-fit: cover;
}

.service-image2 {
    width: 100%;
    height: 16rem;
    object-fit: cover;
}

.service-content {
    padding: 1.5rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    space: 0.5rem;
}

.service-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.feature-icon {
    color: #22c55e;
}

/* Features section */
.features-section {
    padding: 5rem 0;
}

.features-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.feature-item {
    text-align: center;
}

.feature-icon {
    color: #1e3a8a;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Contact section */
.contact-section {
    padding: 5rem 0;
    background-color: #f9fafb;
}

.contact-container {
    max-width: 48rem;
    margin: 0 auto;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(2, 1fr);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.full-width {
    grid-column: span 2;
}

.form-input,
.form-textarea {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    width: 100%;
}

    .form-input:focus,
    .form-textarea:focus {
        outline: none;
        border-color: #1e3a8a;
        box-shadow: 0 0 0 2px rgba(30, 58, 138, 0.2);
    }

.validation-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.alert {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: #dcfce7;
    border: 1px solid #86efac;
    color: #166534;
}

/* Button styles */
.btn {
    font-size: 13px;
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #1e3a8a;
    color: white;
}

.btn2 {
    text-align:center;
    margin-top: 10px;
    display: inline-block;
    padding: 0.75rem 2rem;
    width: 100%;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 13px;
    text-decoration: none;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary2 {
    background-color: green;
    color: white;
}

    .btn-primary:hover {
        background-color: #1e40af;
    }

/* Footer styles */
.main-footer {
    background-color: #1e3a8a;
    color: white;
    padding: 2.5rem 0;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.footer-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-item {
    display: flex;
    color: white;
    align-items: center;
    text-decoration: none;
    gap: 0.5rem;
}

    .contact-item:hover {
        color: darkgrey;
    }
    .footer-bottom {
    border-top: 1px solid #2563eb;
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.mission, .vision {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
}

    .mission h3, .vision h3 {
        color: #1A365D;
        margin-bottom: 1rem;
    }

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

    .team-member h3 {
        color: #1A365D;
        margin-bottom: 0.5rem;
    }

    .team-member .title {
        color: #B91C1C;
        font-weight: bold;
        margin-bottom: 1rem;
    }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

    .service h3 {
        color: #1A365D;
        margin-bottom: 1rem;
    }


.hero-section2 {
    background-color: #1e3a8a;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-content2 h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.container2 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section2 {
    padding: 80px 0;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-links {
    display: flex;
    gap: 1rem;
}

.menu-toggle {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
}

/* Estilos para mobile */
@media (max-width: 768px) {
    .nav-links {
    
        display: none;
        flex-direction: column;
        background-color: #fff;
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        padding: 1rem;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

        .nav-links.show {
            display: flex;
        }

    .menu-toggle {
        display: block;
    }

    .logo {
        margin-top: 1%;
        margin-left: -5%;
        font-size: 1.875rem;
        font-weight: bold;
        color: #1e3a8a;
    }
}
