/* Variables globales */
:root {
    --primary-color: #4a90e2;
    --secondary-color: #5cb85c;
    --accent-color: #f0ad4e;
    --dark-color: #333;
    --light-color: #f4f4f4;
    --danger-color: #d9534f;
    --success-color: #5cb85c;
    --max-width: 1200px;
    --box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

/* Estilos básicos */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}


a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Utilidades */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    overflow: hidden;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #3a7bc8;
}

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

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

/* Secciones */
.section {
    padding: 5rem 0;
}

/* ===== HEADER ===== */
.main-header {
    background-color: #222; /* Color de fondo oscuro del header */
    color: #fff; /* Color de texto del header */
    padding: 10px 0;
    position: sticky; /* Opcional: para que se quede fijo arriba */
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
}

.logo-small {
    height: 40px; /* Ajusta el tamaño según tu logo */
    margin-right: 10px;
}
.logo{
    height: 200px;
}
.brand-name {
    font-size: 1.5em;
    font-weight: bold;
    color: #fff;
}

.main-nav ul {
    display: flex;
}

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

.main-nav ul li a {
    color: #ddd; /* Color de los enlaces de navegación */
    font-size: 1em;
    transition: color 0.3s ease;
}

.main-nav ul li a:hover {
    color: #fff; /* Color al pasar el ratón */
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px; /* Espacio uniforme entre botones */
}

.header-actions .btn {
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 0.9em;
    height: 36px; /* Altura fija para todos los botones */
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-actions button {
    margin: 0; /* Eliminar margen que podría estar causando desalineación */
    padding: 8px 16px;
    height: 36px; /* Misma altura que los otros botones */
    font-size: 0.9em;
    background: transparent;
    border: 1px solid #ccc;
    color: #ccc;
}

.header-actions button:hover {
    border-color: #fff;
    color: #fff;
    background: transparent;
}

.header-actions button::before {
    display: none; /* Eliminar el efecto de brillo que podría estar causando problemas */
}

.header-actions .btn-outline {
    border: 1px solid #ccc;
    color: #ccc;
    background-color: transparent;
    margin: 0;
}

.header-actions .btn-primary {
    border: 1px solid #87CEEB; /* Color del borde (azul claro) */
    background-color: #87CEEB; /* Color de fondo (azul claro) */
    color: #222; /* Color del texto */
}
.header-actions .btn-primary:hover {
    background-color: #76bfde; /* Un poco más oscuro al pasar el ratón */
    border-color: #76bfde;
}

/* Hero */

button {
    background: lightblue;
    cursor: pointer;
    border: none;
    padding: 16px 32px;
    color: azure;
    font-size: 16px;
    font-weight: bold;
    position: relative;
    border-radius: 12px;
    z-index: 1;
    overflow: hidden;
    margin-top: 1rem;
    transition: background 0.3s ease, color 0.3s ease;
}

button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, skyblue, lightblue, skyblue, lightblue, skyblue, lightblue, skyblue, lightblue);
    background-size: 800%;
    border-radius: 12px;
    filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

button:hover::before {
    opacity: 1;
    animation: glowing 20s linear infinite;
}

@keyframes glowing {
    0% {
        background-position: 0 0;
    }
    50% {
        background-position: 400% 0;
    }
    100% {
        background-position: 0 0;
    }
}


.hero {
    background-color: #f0f0f0;
    display: flex;
    width: 100%;
    height: 600px;
    overflow: hidden;
}


.hero-content, .hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}


.hero-content {
    text-align: left;
    flex-direction: column;
    background-color: white;
    padding: 20px;
}


.hero-content h1 {
    font-size: 36px;
    color: skyblue;
    margin-bottom: 10px;
}


.hero-content p {
    font-size: 18px;
    color: #666;
    line-height: 1.5;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}


/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    text-align: center;
}

.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: #eee;
    margin: 0 auto 1rem;
}

.member-role {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.benefit-card {
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    padding: 2rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    background-color: #F8F9FA;
}

.benefit-card:hover {
    background-color: #DDE2E5;
    transform: translateY(-4px);
}

.benefit-card:nth-child(odd) {
    background-color: #C2F2ED;
}

.benefit-card:nth-child(even) {
    background-color: #69BFB7;
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background-color: #10BEAE;
    border-radius: 50%;
    margin-bottom: 1rem;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-left: auto;
    margin-right: auto;

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.benefit-icon img {
    width: 36px;
    height: 36px;
}

.benefit-card h3 {
    color: #091133;
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.75rem;
}

.benefit-card p {
    color: #212429;
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
}

/* Advantages */
.advantages {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
}

.advantages h3 {
    color: #091133;
    margin-bottom: 1rem;
}

.advantages-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 900px;
    text-align: left;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.advantages-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #F8F9FA;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    color: #212429;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.advantages-list li::before {
    content: "✓";
    background-color: #10BEAE;
    color: white;
    font-weight: bold;
    border-radius: 50%;
    padding: 0.25rem 0.6rem;
    font-size: 1rem;
    line-height: 1;
    display: inline-block;
}

@media (max-width: 768px) {
    .advantages-list {
        grid-template-columns: 1fr;
    }
}

/* Pricing */
.pricing-plans {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.pricing-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.highlighted {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.highlighted:hover {
    transform: scale(1.05) translateY(-10px);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1rem 0;
    color: var(--primary-color);
}

.features {
    margin: 1.5rem 0;
    text-align: left;
}

.features li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.features li::before {
    content: "✓";
    color: var(--success-color);
    position: absolute;
    left: 0;
}

/* Video */
.video-container {
    margin: 2rem 0;
}

.video-placeholder {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* Proporción 16:9 */
    background-color: #eee;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #bbb;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    color: #bbb;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.psymed-section {
    text-align: center;
    padding: 50px 20px;
    max-width: 1000px;
    margin: auto;
  }
  
  .title {
    font-size: 28px;
    font-weight: bold;
    color: #0e1a36;
    margin-bottom: 20px;
  }
  
  .description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 40px;
    padding: 0 10px;
  }
  
  .team-photos {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .team-photos figure {
    margin: 0;
    text-align: center;
    width: 120px;
  }
  
  .team-photos img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
  }
  
  .team-photos img:hover {
    transform: scale(1.05);
  }
  
  .team-photos figcaption {
    margin-top: 8px;
    font-size: 14px;
    color: #333;
    line-height: 1.4;
  }

/* Responsive */
@media (max-width: 768px) {
    .menu {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .pricing-card.highlighted {
        transform: none;
    }
    
    .pricing-card.highlighted:hover {
        transform: translateY(-10px);
    }
    .team-photos {
        gap: 16px;
      }
    
      .team-photos figure {
        width: 100px;
      }
    
      .team-photos img {
        height: 130px;
      }
    
      .title {
        font-size: 24px;
      }
    
      .description {
        font-size: 15px;
      }
      
    
} 
@media (max-width: 480px) {
    .team-photos {
      flex-direction: column;
      align-items: center;
    }
  
    .team-photos figure {
      width: 80%;
      max-width: 200px;
    }
  
    .team-photos img {
      height: auto;
    }
  
    .title {
      font-size: 22px;
    }
  
    .description {
      font-size: 14px;
    }
  }
}
.project-content{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.text{
    flex: 1;
    padding: 20px;
}
.image{
    max-width: 350px;
    height: auto;
}

/* Testimonios */
.testimonials-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.testimonial-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 350px;
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 120px;
  color: rgba(135, 206, 235, 0.1);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-avatar {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.avatar-initials {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: skyblue;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
  text-align: center;
  z-index: 1;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 15px;
  color: #555;
  line-height: 1.6;
}

.testimonial-author {
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.testimonial-rating {
  color: gold;
  font-size: 20px;
  letter-spacing: 2px;
}

.star {
  display: inline-block;
}

/* Media queries para testimonios */
@media (max-width: 1100px) {
  .testimonials-container {
    gap: 20px;
  }
  
  .testimonial-card {
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .testimonial-card {
    max-width: 100%;
  }
}

/* WhatsApp Contact Form */
.contact-section {
  background-color: #f8f9fa;
  padding: 80px 0;
}

.contact-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
  color: #555;
  font-size: 18px;
  line-height: 1.6;
}

.contact-form-container {
  max-width: 600px;
  margin: 0 auto 40px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 500;
  margin-bottom: 8px;
  color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: skyblue;
  box-shadow: 0 0 0 3px rgba(135, 206, 235, 0.2);
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #25D366;
  color: white;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 10px;
  width: 100%;
}

.whatsapp-btn:hover {
  background-color: #128C7E;
}

.whatsapp-icon {
  display: flex;
  align-items: center;
}

.contact-info {
  text-align: center;
  color: #555;
  line-height: 1.8;
}

.contact-info p {
  margin-bottom: 8px;
}

.contact-info strong {
  color: #333;
}

@media (max-width: 768px) {
  .contact-form-container {
    padding: 20px;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 10px;
  }
  
  .whatsapp-btn {
    padding: 12px 16px;
  }
}

@media (max-width: 480px) {
  .contact-section {
    padding: 60px 0;
  }
  
  .contact-intro {
    font-size: 16px;
  }
}

.video-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.video-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.video-section .video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--box-shadow);
    border-radius: 10px;
}

.video-section .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .video-section {
        padding: 3rem 0;
    }

    .video-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .video-section {
        padding: 2rem 0;
    }

    .video-section h2 {
        font-size: 1.75rem;
    }
}
