:root {
    --primary-color: #f7b731; /* Color amarillo/dorado del logo */
    --secondary-color: #1d3557; /* Color azul oscuro para textos */
    --accent-color: #000000; /* Color negro para acentos */
    --light-color: #f1faee;
    --white: #ffffff;
    --dark-blue: #1a2c4e; /* Color azul más oscuro para el footer */
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  }
  
  body {
    background-color: var(--light-color);
    color: var(--secondary-color);
    line-height: 1.6;
  }
  
  /* Header y Navegación */
  header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
  }
  
  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .logo {
    display: flex;
    align-items: center;
  }
  
  .logo img {
    height: 60px;
    width: auto;
    alt: "Trabajos U - Servicios Académicos en Costa Rica";
  }
  
  .nav-links {
    display: flex;
    list-style: none;
  }
  
  .nav-links li {
    margin-left: 30px;
  }
  
  .nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    transition: color 0.3s;
  }
  
  .nav-links a:hover {
    color: var(--primary-color);
  }
  
  .hamburger {
    display: none;
    cursor: pointer;
    font-size: 24px;
  }
  
  /* Hero Section con fondo académico */
  .hero {
    background: linear-gradient(rgba(29, 53, 87, 0.8), rgba(29, 53, 87, 0.9)), url("../IMG/hero-background.png");
    background-size: cover;
    background-position: center;
    padding: 150px 5% 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: var(--white);
  }
  
  .hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
      url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-position: center;
    opacity: 0.5;
    z-index: 0;
  }
  
  .hero-content {
    position: relative;
    z-index: 1;
  }
  
  .hero h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero p {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Sección de Estadísticas con animación */
  .statistics {
    background-color: var(--secondary-color);
    padding: 50px 5%;
    text-align: center;
  }
  
  .statistics-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .stat-item {
    padding: 20px;
    margin: 10px;
    flex: 1;
    min-width: 200px;
  }
  
  .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
  }
  
  .stat-number::after {
    content: attr(data-suffix);
    font-size: 2.5rem;
    position: relative;
    top: -5px;
  }
  
  .stat-label {
    font-size: 1.2rem;
    color: var(--white);
  }
  
  .cta-button {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    margin: 10px;
  }
  
  .cta-button i {
    margin-right: 8px;
  }
  
  .cta-button:hover {
    background-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  /* Slider mejorado para mostrar imágenes completas */
  .slider-container {
    width: 100%;
    max-width: 1200px;
    margin: 80px auto 0;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .slider {
    display: flex;
    transition: transform 0.5s ease;
    height: auto;
  }
  
  .slide {
    min-width: 100%;
    position: relative;
    overflow: hidden;
  }
  
  .slide img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
    object-fit: contain; /* Cambiado a contain para mostrar la imagen completa */
    background-color: #000; /* Fondo negro para las imágenes */
  }
  
  .slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 20px;
  }
  
  .slide-content h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
  }
  
  .slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
  }
  
  .slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .slider-dot.active {
    background-color: var(--primary-color);
  }
  
  .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    z-index: 10;
    transition: background-color 0.3s;
  }
  
  .slider-arrow:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }
  
  .slider-prev {
    left: 20px;
  }
  
  .slider-next {
    right: 20px;
  }
  
  /* Servicios */
  .services {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .section-title {
    text-align: center;
    margin-bottom: 50px;
  }
  
  .section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
  }
  
  .section-title h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
  }
  
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
  }
  
  .service-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }
  
  .service-icon {
    background-color: var(--primary-color);
    padding: 30px;
    text-align: center;
  }
  
  .service-icon i {
    font-size: 40px;
    color: var(--secondary-color);
  }
  
  .service-content {
    padding: 25px;
  }
  
  .service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
  }
  
  .service-content ul {
    list-style-position: inside;
    margin-bottom: 20px;
  }
  
  .service-content li {
    margin-bottom: 8px;
  }
  
  /* Proceso y Por qué confiar */
  .process {
    background-color: var(--white);
    padding: 80px 5%;
  }
  
  .process-container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
  }
  
  .step {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    text-align: center;
    padding: 30px;
    background-color: var(--light-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
  }
  
  .step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
  }
  
  .step h3 {
    margin: 20px 0 15px;
    color: var(--secondary-color);
  }
  
  /* Por qué confiar en nosotros */
  .why-trust-us {
    padding: 80px 5%;
    background-color: var(--light-color);
  }
  
  .trust-container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
  }
  
  .trust-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
  }
  
  .trust-card:hover {
    transform: translateY(-10px);
  }
  
  .trust-icon {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 20px;
  }
  
  .trust-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
  }
  
  /* FAQ Section */
  .faq {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .faq-container {
    margin-top: 50px;
  }
  
  .faq-item {
    border: 1px solid #e0e0e0;
    margin-bottom: 10px;
    border-radius: 5px;
    overflow: hidden;
  }
  
  .faq-question {
    padding: 20px;
    background-color: var(--white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--secondary-color);
    transition: background-color 0.3s;
  }
  
  .faq-question:hover {
    background-color: #f9f9f9;
  }
  
  .faq-question i {
    transition: transform 0.3s;
  }
  
  .faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
  }
  
  .faq-answer-content {
    padding: 20px;
  }
  
  .faq-item.active .faq-question {
    background-color: #f5f5f5;
  }
  
  .faq-item.active .faq-question i {
    transform: rotate(180deg);
  }
  
  .faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0;
  }
  
  /* Contacto - Rediseñado según la imagen */
  .contact {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 80px 5%;
    text-align: center;
  }
  
  .contact-container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .contact-title {
    margin-bottom: 30px;
  }
  
  .contact-title h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 15px;
  }
  
  .contact-title p {
    color: var(--white);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .contact-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
  }
  
  .contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    min-width: 250px;
    text-align: center;
  }
  
  .contact-button i {
    margin-right: 10px;
    font-size: 20px;
  }
  
  .contact-button:hover {
    background-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .location {
    margin-top: 40px;
  }
  
  .location h3 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.5rem;
  }
  
  .location p {
    color: var(--light-color);
    font-size: 1.1rem;
    margin-bottom: 10px;
  }
  
  /* Footer */
  footer {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 30px 5%;
    text-align: center;
  }
  
  .footer-content {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .footer-logo {
    margin-bottom: 20px;
  }
  
  .footer-logo img {
    height: 50px;
    width: auto;
    alt: "Trabajos U - Lo hacemos por ti";
  }
  
  .footer-links {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 20px 0;
    flex-wrap: wrap;
  }
  
  .footer-links li {
    margin: 0 15px;
  }
  
  .footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .footer-links a:hover {
    color: var(--primary-color);
  }
  
  .social-links {
    margin: 20px 0;
  }
  
  .social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s;
  }
  
  .social-links a:hover {
    background-color: var(--primary-color);
    color: var(--accent-color);
    transform: translateY(-3px);
  }
  
  .copyright {
    margin-top: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
  }
  
  /* Whatsapp Flotante */
  .whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
  }
  
  .whatsapp-float:hover {
    transform: scale(1.1);
  }
  
  /* Modal de cotización */
  .modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s;
  }
  
  .modal.show {
    display: block;
    opacity: 1;
  }
  
  .modal-content {
    background-color: var(--white);
    margin: 10% auto;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(-50px);
    transition: transform 0.3s;
    position: relative;
  }
  
  .modal.show .modal-content {
    transform: translateY(0);
  }
  
  .close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: var(--secondary-color);
  }
  
  /* Formularios */
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary-color);
  }
  
  .form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
  }
  
  .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(247, 183, 49, 0.3);
  }
  
  .form-control::placeholder {
    color: #aaa;
  }
  
  textarea.form-control {
    min-height: 150px;
    resize: vertical;
  }
  
  .submit-btn {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 1rem;
  }
  
  .submit-btn i {
    margin-right: 8px;
  }
  
  .submit-btn:hover {
    background-color: #ffd166;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .nav-links {
      display: none;
      position: absolute;
      top: 90px;
      left: 0;
      width: 100%;
      background-color: var(--white);
      flex-direction: column;
      padding: 20px 0;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
  
    .nav-links.active {
      display: flex;
    }
  
    .nav-links li {
      margin: 10px 0;
      text-align: center;
    }
  
    .hamburger {
      display: block;
    }
  
    .hero h1 {
      font-size: 2.2rem;
    }
  
    .hero p {
      font-size: 1rem;
    }
  
    .step {
      min-width: 100%;
    }
  
    .trust-grid {
      grid-template-columns: 1fr;
    }
  
    .slide img {
      max-height: 350px;
    }
  
    .slider-arrow {
      width: 30px;
      height: 30px;
      font-size: 16px;
    }
  
    .contact-buttons {
      flex-direction: column;
      align-items: center;
    }
  
    .contact-button {
      width: 100%;
      max-width: 300px;
    }
  
    .footer-links {
      flex-direction: column;
    }
  
    .footer-links li {
      margin: 5px 0;
    }
  }
  
  @media (max-width: 480px) {
    .hero h1 {
      font-size: 1.8rem;
    }
  
    .section-title h2 {
      font-size: 2rem;
    }
  
    .slide img {
      max-height: 250px;
    }
  
    .slide-content h3 {
      font-size: 1.2rem;
    }
  
    .modal-content {
      padding: 20px;
      margin: 15% auto;
    }
  }
  
  