/* Variables y Reset */
:root {
    --primary-color: #003366;
    --secondary-color: #00a0e3;
    --accent-color: #ff6b00;
    --dark-color: #222222;
    --light-color: #ffffff;
    --gray-color: #f5f5f5;
    --text-color: #333333;
    --text-light: #777777;
    --transition: all 0.3s ease;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }

  .logo img {
    height: auto;
    transition: var(--transition);
  }
  
  .logo img:hover {
    opacity: 0.9;
    transform: scale(1.02);
  }
  
  /* Versión mobile */
  @media (max-width: 768px) {
    .logo img {
      max-width: 160px;
    }
  }
  
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
  }
  
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
  }
  
  /* Tipografía */
  h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  p {
    margin-bottom: 1rem;
  }
  
  .section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    color: var(--primary-color);
    text-align: center;
  }

  .section-title-white {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    color: var(--light-color);
    text-align: center;
  }
  
  .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
  }

  .section-title-white::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
  }
  
  .section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 1.1rem;
  }
  
  /* Header y Navegación */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--light-color); /* Cambio a blanco */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
  }
  
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    max-width: 98%;
  }
  
  .logo-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
  }
  
  .logo {
    color: var(--light-color);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
  }
  
  .menu-toggle {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
  }
  
  .nav-links {
    display: flex;
    list-style: none;
  }
  
  .nav-links li {
    margin-left: 30px;
  }
  
  .nav-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
  }
  
  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
  }
  
  .nav-links a:hover::after {
    width: 100%;
  }
  
  .nav-links a:hover {
    color: var(--accent-color);
  }
  
  /* Hero Slider */
  .hero {
    background-color: var(--primary-color);
    margin-top: 80px;
    position: relative;
    height: 80vh;
    overflow: hidden;
  }
  
  .slider {
    position: relative;
    width: 100%;
    height: 100%;
  }
  
  .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
  }
  
  .slide.active {
    opacity: 1;
  }
  
  .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--light-color);
    width: 80%;
    max-width: 800px;
    background: rgba(163, 163, 163, 0.7);
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
  }
  
  .slide-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }
  
  .slide-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }
  
  .slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
  }
  
  .slider-controls button {
    background: rgba(163, 163, 163, 0.7);
    border: none;
    color: var(--light-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .slider-controls button:hover {
    background: var(--accent-color);
  }
  
  /* Quienes Somos */
  .about-section {
    padding: 100px 0;
    background-color: var(--gray-color);
    position: relative;
  }

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

  /* Grid principal */
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
  }

  /* Columna izquierda (contenido principal) */
  .about-main {
    display: flex;
    flex-direction: column;
  }

  .about-intro p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--dark-color);
    font-size: 1.1rem;
    text-align: justify;
  }

  /* Cita de misión */
  .mission-statement {
    position: relative;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--dark-color);
    border-left: 5px solid var(--accent-color);
  }

  .mission-statement::before {
    content: "";
    font-family: Georgia, serif;
    font-size: 5rem;
    color: rgba(0,0,0,0.05);
    position: absolute;
    left: 15px;
    top: 10px;
  }

  /* Columna derecha (destacados) */
  .about-highlights {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: sticky;
    top: 30px;
  }

  /* Tarjeta de certificaciones */
  .certifications-box {
    background: white;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    padding: 40px;
    transition: transform 0.3s ease;
  }

  .certifications-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
  }

  .certifications-header i {
    color: var(--accent-color);
    font-size: 2rem;
  }

  .certifications-header h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin: 0;
  }

  /* Lista de características */
  .features-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .features-list li {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    align-items: flex-start;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }

  .features-list li:last-child {
    border-bottom: none;
  }

  .feature-icon {
    color: var(--accent-color);
    font-size: 1.3rem;
    min-width: 30px;
    padding-top: 3px;
  }

  .feature-text {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--dark-color);
  }

  /* Logos de marcas */
  .brand-logos {
    display: flex;
    justify-content: space-around;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  }

  .brand-logo {
    max-width: 150px;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s ease;
  }

  .brand-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
  }

  /* Responsive Design */
  @media (max-width: 992px) {
    .about-grid {
      grid-template-columns: 1fr;
      gap: 40px;
    }
    
    .about-highlights {
      position: static;
    }
    
    .brand-logos {
      justify-content: center;
      gap: 30px;
      flex-wrap: wrap;
    }
  }

  @media (max-width: 768px) {
    .about-section {
      padding: 70px 0;
    }
    
    .mission-statement {
      padding: 20px;
      font-size: 1.1rem;
    }
    
    .certifications-box {
      padding: 25px;
    }
    
    .brand-logo {
      max-width: 120px;
    }
  }
  
  /* Sección Servicios */
  .services-section {
    padding: 80px 0;
    background-color: var(--light-color);
  }
  
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
  }
  
  .service-card {
    background: var(--light-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
  }
  
  .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }
  
  .service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    font-size: 2rem;
  }
  
  .service-features {
    list-style: none;
    margin: 20px 0;
    text-align: left;
  }
  
  .service-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
  }
  
  .service-features i {
    color: var(--accent-color);
    margin-right: 10px;
    font-size: 0.8rem;
  }
  
  .service-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
  }
  
  .service-link:hover {
    color: var(--accent-color);
  }
  
  .service-link i {
    margin-left: 5px;
    transition: var(--transition);
  }
  
  .service-link:hover i {
    transform: translateX(5px);
  }
  
  /* Sección Proyectos */
  .projects-section {
    padding: 80px 0;
    background-color: var(--gray-color);
  }
  
  .projects-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
  }
  
  .project-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
  }
  
  .project-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 20px;
    background: rgba(0, 51, 102, 0.9);
    color: var(--light-color);
    transition: var(--transition);
  }
  
  .project-item:hover .project-overlay {
    bottom: 0;
  }
  
  .project-item:hover img {
    transform: scale(1.1);
  }
  
  .project-overlay h3 {
    margin-bottom: 10px;
    color: var(--accent-color);
  }
  
  .project-overlay p {
    margin-bottom: 15px;
    font-size: 0.9rem;
  }
  
  .project-link {
    display: inline-block;
    padding: 8px 20px;
    background: var(--accent-color);
    color: var(--light-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: var(--transition);
  }
  
  .project-link:hover {
    background: var(--light-color);
    color: var(--accent-color);
  }
  
  .cta-section {
    text-align: center;
    margin-top: 50px;
  }
  
  .cta-section p {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }
  
  .cta-button {
    display: inline-block;
    padding: 12px 30px;
    background: var(--accent-color);
    color: var(--light-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--accent-color);
  }
  
  .cta-button:hover {
    background: transparent;
    color: var(--accent-color);
  }
  
  /* Sección Contacto */
  .contact-section {
    padding: 80px 0;
    background-color: var(--primary-color);
  }
  
  .contact-container {
    display: flex;
    gap: 40px;
    margin-top: 40px;
  }
  
  .contact-info {
    flex: 1;
    background: var(--gray-color);
    padding: 30px;
    border-radius: 10px;
  }
  
  .info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
  }
  
  .info-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-right: 20px;
    margin-top: 5px;
  }
  
  .info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
  }
  
  .contact-form {
    flex: 1;
    background: var(--gray-color);
    padding: 30px;
    border-radius: 10px;
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
  }
  
  .form-group input:focus,
  .form-group textarea:focus,
  .form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 51, 102, 0.1);
  }
  
  .submit-button {
    width: 100%;
    padding: 12px;
    background: var(--accent-color);
    color: var(--light-color);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
  }
  
  .submit-button:hover {
    background: var(--primary-color);
  }
  
  /* Footer */
  .footer {
    background: var(--light-color);
    color: var(--primary-color);
    padding: 60px 0 0;
  }
  
  .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
  }
  
  .footer-about h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
  }
  
  .footer-about p {
    margin-bottom: 20px;
    color: #aaa;
  }
  
  .social-links {
    display: flex;
    gap: 15px;
  }
  
  .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    transition: var(--transition);
  }
  
  .social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
  }
  
  .footer-links h3,
  .footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
  }
  
  .footer-links ul {
    list-style: none;
  }
  
  .footer-links li {
    margin-bottom: 10px;
  }
  
  .footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: var(--transition);
  }
  
  .footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
  }
  
  .footer-contact ul {
    list-style: none;
  }
  
  .footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
  }
  
  .footer-contact i {
    margin-right: 10px;
    color: var(--accent-color);
  }
  
  .footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 0.9rem;
  }
  
  /* Responsive Design */
  @media (max-width: 992px) {
    .about-content {
      flex-direction: column;
    }
    
    .contact-container {
      flex-direction: column;
    }
    
    .slide-content h1 {
      font-size: 2rem;
    }
  }
  
  @media (max-width: 768px) {
    .menu-toggle {
      display: block;
    }
    
    .nav-links {
      position: fixed;
      top: 80px;
      left: -100%;
      width: 100%;
      height: calc(100vh - 80px);
      background: var(--light-color);
      flex-direction: column;
      align-items: center;
      padding: 40px 0;
      transition: var(--transition);
    }
    
    .nav-links.active {
      left: 0;
    }
    
    .nav-links li {
      margin: 15px 0;
    }
    
    .hero {
      height: 70vh;
    }
    
    .slide-content {
      width: 90%;
      padding: 20px;
    }
    
    .slide-content h1 {
      font-size: 1.8rem;
    }
    
    .slide-content p {
      font-size: 1rem;
    }
  }
  
  @media (max-width: 576px) {
    .section-title {
      font-size: 1.8rem;
    }
    
    .hero {
      height: 60vh;
      margin-top: 70px;
    }
    
    .slide-content h1 {
      font-size: 1.5rem;
    }
  }