:root {
    --primary: #1a3a6c;
    --secondary: #f47b20;
    --light: #f8f9fa;
    --dark: #343a40;
    --gray: #6c757d;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--dark);
    line-height: 1.6;
    background-color: #f5f7fa;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    background: var(--secondary);
    color: white;
    padding: 12px 25px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn:hover {
    background: #d96a1d;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

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

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary);
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 15px auto 0;
}

/* Header Styles */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100vw;
    left: 0;
    top: 0;
    z-index: 3;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    
    width: 100%;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
        padding: 0 30px;0
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    display: block;
    height: 200px;   /* Cambia el tamaño aquí: 60px, 80px, etc. */
    width: auto;    /* Así mantiene la proporción */
    margin-bottom: 10px; /* Espacio bajo el logo */
}

.logo-text {
    margin-left: 18px;
    font-weight: 700;
    font-size: 22px;
    color: var(--primary);
    display: flex;
    align-items: center;
}



nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--dark);
    font-weight: 600;
    font-size: 16px;
    position: relative;
    padding: 5px 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(26,58,108,0.9) 0%, rgba(26,58,108,0.7) 100%), url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1415&q=80') center/cover no-repeat;
    height: 90vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 80px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

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

.service-icon {
    background: var(--primary);
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: white;
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

/* About Section */
.about {
    background: var(--light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
        padding-left: 40px;
    padding-right: 40px;
}

.about-text h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
}

.about-features {
    margin-top: 30px;
}

/* Da más separación entre listas y el siguiente título en about-content */
.about-content ul {
    margin-bottom: 28px;  /* Puedes ajustar 28px a tu gusto */
}

.about-content h3 {
    margin-top: 32px;
    margin-bottom: 10px;
}

.about-content h3:first-child {
    margin-top: 0; /* Elimina margen del primer h3 de la columna */
}



.feature {
    display: flex;
    margin-bottom: 15px;
}

.feature-icon {
    background: var(--secondary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 15px;
    flex-shrink: 0;
}

.feature-text h4 {
    margin-bottom: 5px;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    display: block;
}

/* Testimonials */
.testimonials {
    background: linear-gradient(rgba(26,58,108,0.9), rgba(26,58,108,0.9)), url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80') center/cover no-repeat;
    color: white;
           color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
           color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.testimonial-card {
    background: rgba(30,40,60,0.7);
    border-radius: 8px;
    padding: 30px;
    backdrop-filter: blur(5px);
           color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
           color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Mejora contraste de sección testimonios */
.testimonials .section-title h2,
.testimonials .section-title p {
    color: #fff !important;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.testimonial-text::before {
    content: '"';
    font-size: 80px;
    position: absolute;
    top: -30px;
    left: -15px;
    opacity: 0.2;
    font-family: Georgia, serif;
       color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.testimonial-author {
    display: flex;
    align-items: center;
           color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    opacity: 0.8;
    font-size: 14px;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 15px;
}

.contact-icon {
    background: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-text h3 {
    margin-bottom: 5px;
    color: var(--primary);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(26,58,108,0.1);
}

.contact-form textarea {
    min-height: 150px;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #bbb;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--secondary);
    margin-top: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

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

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-5px);
}

.copyright {
    background: rgba(0,0,0,0.2);
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    color: #bbb;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background: white;
        transition: 0.4s;
        padding: 30px;
        box-shadow: 5px 0 15px rgba(0,0,0,0.1);
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 0 0 20px 0;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .hero {
        height: auto;
        padding: 120px 0 80px;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
        
        
        footer a,
footer .footer-col a {
    color: #fff !important; /* Hace todos los links blancos */
    text-decoration: underline;
    transition: color 0.3s;
}

footer a:hover,
footer .footer-col a:hover {
    color: var(--secondary) !important; /* Resalta en naranja al pasar mouse */
}

footer .logo-text {
    color: #fff !important;
}
      
        
        
        
        
        
        
        
        

        
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 40px;
}

.portfolio-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 24px rgba(26,58,108,0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s;
}

.portfolio-card:hover {
    box-shadow: 0 10px 30px rgba(26,58,108,0.15);
}

.portfolio-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.portfolio-info {
    padding: 22px 18px 18px 18px;
}

.portfolio-info h3 {
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 1.22rem;
}

.portfolio-info p {
    color: var(--dark);
    font-size: 1rem;
    margin-bottom: 15px;
}
        
        
        
        
        
        

}