/* Variables */
:root {
  --primary-dark: #1f2b56;
  --primary-light: #46aebc;
  --secondary-purple: #24810d;
  --secondary-mint: #33CC66;
  --secondary-orange: #ff6d00;
  --gray-light: #f5f7fa;
  --white: #ffffff;
  --black: #000000;
  --gray-dark: #1E1E1E;
  --gray-medium: #666666;
  --gray-border: #e0e0e0;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-dark);
  background-color: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: #46aebc;
  color: var(--white);
}

.btn-primary:hover {
  background-color: rgba(31, 43, 86, 0.9);
  color: var(--white);
}

.btn-secondary {
  background-color: var(--secondary-purple);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: rgba(124, 77, 255, 0.9);
  color: var(--white);
}

.btn-white {
  background-color: var(--white);
  color: var(--primary-dark);
}

.btn-white:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.btn-block {
  display: block;
  width: 100%;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background-color: var(--white);
  z-index: 1000;
  box-shadow: var(--shadow);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo a {
  display: flex;
  align-items: center;
  color: var(--primary-dark);
}

.logo img {
  height: 80%;
  width: auto;
  margin-right: 0.5rem;
}

.logo span {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
}

.main-nav ul {
  display: flex;
}

.main-nav li {
  margin-left: 1.5rem;
}

.main-nav a {
  color: var(--primary-dark);
  font-weight: 500;
}

.main-nav a:hover {
  color: var(--primary-light);
}

.main-nav li.active a {
  color: var(--secondary-purple);
  font-weight: 600;
}

.header-right {
  display: flex;
  align-items: center;
}

/* Language Dropdown */
.language {
  position: relative;
  margin-right: 1rem;
}

.language-toggle {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: var(--transition);
}

.language-toggle:hover {
  background-color: var(--gray-light);
}

.language-toggle img {
  height: 20px;
  width: auto;
  margin-right: 0.5rem;
}

.language-toggle span {
  font-size: 0.9rem;
  color: var(--gray-dark);
}

.language-toggle i {
  font-size: 0.8rem;
  margin-left: 0.25rem;
  color: var(--gray-medium);
}

.language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--white);
  border-radius: 4px;
  box-shadow: var(--shadow);
  min-width: 120px;
  z-index: 1000;
  display: none;
}

.language-dropdown.show {
  display: block;
}

.language-dropdown ul {
  padding: 0.5rem 0;
}

.language-dropdown li {
  padding: 0;
  margin: 0;
}

.language-dropdown a {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  color: var(--gray-dark);
  transition: var(--transition);
}

.language-dropdown a:hover {
  background-color: var(--gray-light);
}

.language-dropdown img {
  height: 16px;
  width: auto;
  margin-right: 0.5rem;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 1001;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-dark);
  margin: 5px 0;
  transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 999;
  padding: 1rem 0;
}

.mobile-menu ul {
  margin-bottom: 1rem;
}

.mobile-menu li {
  margin-bottom: 0.5rem;
}

.mobile-menu a {
  display: block;
  padding: 0.5rem 0;
  color: var(--primary-dark);
}

.mobile-menu li.active a {
  color: var(--secondary-purple);
  font-weight: 600;
}

.mobile-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-border);
}

.mobile-cta .language-toggle img {
  height: 20px;
  width: auto;
}

/* FAQ Styles */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-category {
  margin-bottom: 3rem;
}

.faq-category h2 {
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid var(--gray-border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  background-color: var(--white);
}

.faq-question {
  padding: 1.25rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  position: relative;
}

.faq-question:hover {
  background-color: var(--gray-light);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  padding-right: 2rem;
}

.faq-icon {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
}

.faq-icon:before,
.faq-icon:after {
  content: "";
  position: absolute;
  background-color: var(--primary-dark);
  transition: var(--transition);
}

.faq-icon:before {
  top: 9px;
  left: 0;
  width: 100%;
  height: 2px;
}

.faq-icon:after {
  top: 0;
  left: 9px;
  width: 2px;
  height: 100%;
}

.faq-question.active .faq-icon:after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-question.active {
  background-color: var(--gray-light);
}

.faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.show {
  padding: 0 1.25rem 1.25rem;
  max-height: 1000px;
  border-top: 1px solid var(--gray-border);
}

.faq-answer ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.faq-answer ul li {
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .faq-question h3 {
    font-size: 1rem;
  }

  .faq-answer {
    font-size: 0.95rem;
  }
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  margin-top: 70px;
}

.carousel {
  height: 100%;
  position: relative;
}

.carousel-inner {
  height: 100%;
}

.carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.carousel-item.active {
  opacity: 1;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 10;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  margin: 0 5px;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-indicators button.active {
  background-color: var(--white);
  transform: scale(1.2);
}

.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 254, 254, 0.099);
  z-index: 5;
}

.hero-box {
  max-width: 800px;
  text-align: center;
  padding: 2rem;
  background-color: rgba(2, 43, 6, 0.6);
  border-radius: 8px;
  color: var(--white);
  margin: 0 auto;
}

.hero-box h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.hero-box p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Imagen de proximamente en algunas de las paginas */
.imagen-proximamente {
  text-align: center;
  margin-top: 120px;
  margin-bottom: 60px;
}

/* Page Hero */
.page-hero {
  background-color: rgba(2, 43, 6, 0.8);
  color: var(--white);
  padding: 8rem 0 4rem;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
}

.page-hero p {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.bg-light {
  background-color: var(--gray-light);
}

.bg-primary {
  background-color: rgba(2, 43, 6, 0.8);;
  color: var(--white);
}

.bg-primary h2,
.bg-primary h3 {
  color: var(--white);
}

.bg-light-blue {
  background-color: var(--primary-light);
  color: var(--white);
}

.bg-light-blue h2,
.bg-light-blue h3 {
  color: var(--white);
}

.bg-purple {
  background-color: rgba(2, 43, 6, 0.8);;
  color: var(--white);
}

.bg-purple h2,
.bg-purple h3 {
  color: var(--white);
}

.bg-mint {
  background-color: var(--secondary-mint);
}

.bg-orange {
  background-color: var(--secondary-orange);
  color: var(--white);
}

.text-center {
  text-align: center;
}

.text-white {
  color: var(--white);
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.grid-5 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* Problem Section */
.image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

/* Guide Section */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.client {
  background-color: var(--gray-light);
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
}

.client img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

/* Plan Section */
.plan-box {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  transition: 0.5s;
}

.plan-box:hover {
  box-shadow: var(--shadow);
  transform: translateY(-10px);
}

.plan-number {
  width: 60px;
  height: 60px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.cta-button {
  margin-top: 3rem;
}

/* Benefits Section */
.benefit-box {
  padding: 2rem;
  border: 1px solid var(--gray-border);
  border-radius: 8px;
  transition: var(--transition);
  text-align: center;
}

.benefit-box:hover {
  box-shadow: var(--shadow);
  transform: translateY(-10px);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--white);
  font-size: 1.5rem;
}

.tagline {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 2rem;
}

/* Services */
.service-card {
  background-color: rgba(2, 43, 6, 0.6);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  transition: var(--transition);
}

.service-card:hover {
  box-shadow: rgba(2, 43, 6, 1);
  transform: translateY(-10px);
}

.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--white);
  font-size: 2rem;
}

.link-arrow {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
}

/* Packages */
.packages {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.package {
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.package-content {
  display: flex;
  padding: 2rem;
}

.package-icon {
  font-size: 3rem;
  margin-right: 2rem;
  flex-shrink: 0;
}

.package-details h3 {
  margin-bottom: 1rem;
}

.package-meta {
  display: flex;
  margin: 1.5rem 0;
}

.duration {
  background-color: var(--gray-light);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
}

/* Contact Form */
.contact-form {
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--gray-border);
  border-radius: 4px;
  font-family: "Open Sans", sans-serif;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 2px rgba(70, 174, 188, 0.2);
}

.alert {
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.alert-success {
  background-color: rgba(105, 240, 174, 0.2);
  color: #2e7d32;
  border: 1px solid rgba(105, 240, 174, 0.5);
}

.alert-error {
  background-color: rgba(255, 109, 0, 0.2);
  color: #d32f2f;
  border: 1px solid rgba(255, 109, 0, 0.5);
}

/* Contact Info */
.contact-info-box {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(2, 43, 6, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
  margin-right: 1rem;
}

.contact-text h3 {
  margin-bottom: 0.25rem;
}

.social-connect {
  margin-bottom: 2rem;
}

.social-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.whatsapp-btn {
  width: 50px;
  height: 50px;
  background-color: rgba(2, 43, 6, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  transition: var(--transition);
}

.whatsapp-btn:hover {
  background-color: #128c7e;
  color: var(--white);
}

.map-container {
  height: 300px;
  background-color: var(--gray-light);
  border-radius: 8px;
  overflow: hidden;
  display: none; /* Ocultar el mapa como solicitado */
}

.map-placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-medium);
}

/* Footer - Reducido y optimizado */
.footer {
  background-color: #1E1E1E;
  color: var(--white);
  padding: 2rem 0 1rem; /* Reducido de 4rem a 2rem */
  font-size: 0.9rem; /* Texto más pequeño */
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; /* Reducido de 2rem a 1.5rem */
  margin-bottom: 1.5rem; /* Reducido de 3rem a 1.5rem */
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem; /* Reducido de 1rem a 0.5rem */
}

.footer-logo img {
  height: 30px; /* Reducido de 40px a 30px */
  width: auto;
  margin-right: 0.5rem;
}

.footer-logo span {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.1rem; /* Reducido de 1.25rem a 1.1rem */
}

.footer-col h3 {
  color: var(--white);
  margin-bottom: 1rem; /* Reducido de 1.5rem a 1rem */
  position: relative;
  padding-bottom: 0.5rem; /* Reducido de 0.75rem a 0.5rem */
  font-size: 1.1rem; /* Reducido */
}

.footer-col h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px; /* Reducido de 50px a 40px */
  height: 2px;
  background-color: var(--primary-light);
}

.footer-col ul li {
  margin-bottom: 0.5rem; /* Reducido de 0.75rem a 0.5rem */
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--white);
}

.social-icons {
  display: flex;
  gap: 0.75rem; /* Reducido de 1rem a 0.75rem */
  margin-top: 1rem; /* Reducido de 1.5rem a 1rem */
}

.social-icons a {
  width: 32px; /* Reducido de 40px a 32px */
  height: 32px; /* Reducido de 40px a 32px */
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem; /* Reducido de 1.25rem a 1rem */
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-light);
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem; /* Reducido de 1rem a 0.75rem */
}

.contact-info li i {
  margin-right: 0.5rem; /* Reducido de 0.75rem a 0.5rem */
  color: var(--primary-light);
}

.footer-bottom {
  padding-top: 1rem; /* Reducido de 2rem a 1rem */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links {
  margin-top: 0;
  display: flex;
  gap: 1rem; /* Reducido de 1.5rem a 1rem */
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem; /* Reducido de 0.875rem a 0.8rem */
}

.footer-links a:hover {
  color: var(--white);
}

/* Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
}

.chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--secondary-purple);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.chat-toggle:hover {
  background-color: var(--primary-dark);
}

.chat-container {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  height: 450px;
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  display: none;
  flex-direction: column;
}

.chat-header {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header h3 {
  color: var(--white);
  margin: 0;
}

.chat-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

.chat-messages {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
}

.message {
  margin-bottom: 1rem;
  max-width: 80%;
}

.message.bot {
  background-color: var(--gray-light);
  padding: 0.75rem;
  border-radius: 10px 10px 10px 0;
}

.message.user {
  background-color: var(--secondary-purple);
  color: var(--white);
  padding: 0.75rem;
  border-radius: 10px 10px 0 10px;
  margin-left: auto;
}

.chat-input {
  display: flex;
  border-top: 1px solid var(--gray-border);
  padding: 0.75rem;
}

.chat-input input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid var(--gray-border);
  border-radius: 4px 0 0 4px;
  outline: none;
}

.send-button {
  background-color: var(--primary-dark);
  color: var(--white);
  border: none;
  padding: 0 1rem;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}

/* Icons */
[class^="icon-"] {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.icon-facebook:before {
  content: "\f39e";
}
.icon-twitter:before {
  content: "\f099";
}
.icon-instagram:before {
  content: "\f16d";
}
.icon-linkedin:before {
  content: "\f0e1";
}
.icon-phone:before {
  content: "\f095";
}
.icon-map:before {
  content: "\f3c5";
}
.icon-mail:before {
  content: "\f0e0";
}
.icon-message:before {
  content: "\f4ad";
}
.icon-send:before {
  content: "\f1d8";
}
.icon-whatsapp:before {
  content: "\f232";
}
.icon-desktop:before {
  content: "\f108";
}
.icon-chart:before {
  content: "\f080";
}
.icon-rocket:before {
  content: "\f135";
}
.icon-search:before {
  content: "\f002";
}
.icon-dollar:before {
  content: "\f155";
}
.icon-money:before {
  content: "\f3d1";
}
.icon-users:before {
  content: "\f0c0";
}
.icon-clock:before {
  content: "\f017";
}

/* Additional styles for new pages */

/* Video Container */
.video-container {
  max-width: 800px;
  margin: 0 auto;
}

.video-placeholder {
  width: 100%;
  height: 400px;
  background-color: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-medium);
  border-radius: 8px;
}

/* Mission & Vision */
.mission-box {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.large-text {
  font-size: 1.25rem;
  line-height: 1.8;
}

/* Values */
.value-box {
  background-color: rgba(2, 43, 6, 0.6);;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
  color: white;
}

.value-box h1{
  color: white;
}

.value-box:hover {
  transform: translateY(-10px);
}

.value-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--white);
  font-size: 1.5rem;
}


/* Team Members */
.team-member {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow);
}

.member-photo {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-role {
  color: var(--primary-light);
  margin-bottom: 1rem;
}

/* Featured Course */
.featured-course {
  background-color: var(--gray-light);
  padding: 2rem;
  border-radius: 8px;
}

.feature-list {
  margin: 1.5rem 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.feature-list li i {
  color: var(--secondary-purple);
  margin-right: 0.75rem;
  flex-shrink: 0;
}

/* Course Cards */
.course-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.course-image {
  height: 200px;
  overflow: hidden;
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-details {
  padding: 1.5rem;
}

.course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
}

.course-price {
  font-weight: 600;
  color: var(--secondary-purple);
}

.course-link {
  font-weight: 600;
}

/* Testimonials */
.testimonial {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-meta h3 {
  margin-bottom: 0.25rem;
}

.testimonial-meta p {
  font-size: 0.875rem;
  color: var(--gray-medium);
  margin: 0;
}

.testimonial-text {
  font-style: italic;
  color: var(--gray-dark);
}

/* Tool Cards */
.tool-card {
  background-color: var(--gray-light);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  transition: var(--transition);
}

.tool-card:hover:not(.coming-soon) {
  background-color: var(--white);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.tool-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.coming-soon {
  opacity: 0.7;
}

.coming-soon-badge {
  display: inline-block;
  background-color: var(--gray-medium);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  margin-top: 1rem;
}

/* Blog */
.blog-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.featured-post {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.post-image {
  height: 250px;
  overflow: hidden;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-content {
  padding: 1.5rem;
}

.post-meta {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

.post-category {
  color: var(--primary-light);
  margin-right: 0.5rem;
}

.post-date {
  color: var(--gray-medium);
}

.post-date:before {
  content: "•";
  margin: 0 0.5rem;
}

.post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
}

.post-author {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--gray-light);
  margin-right: 0.75rem;
}

.post-link {
  font-weight: 600;
}

.blog-post {
  display: flex;
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.blog-post .post-image {
  width: 35%;
  height: auto;
}

.blog-post .post-content {
  width: 65%;
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.pagination-item {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0.25rem;
  border-radius: 4px;
  background-color: var(--white);
  border: none;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: var(--transition);
}

.pagination-item.active {
  background-color: var(--primary-dark);
  color: var(--white);
}

.pagination-item:hover:not(.active) {
  background-color: var(--gray-light);
}

.sidebar-widget {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.sidebar-widget h3 {
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gray-border);
}

.search-form {
  position: relative;
}

.search-form input {
  width: 100%;
  padding: 0.75rem;
  padding-right: 3rem;
  border: 1px solid var(--gray-border);
  border-radius: 4px;
}

.search-form button {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 3rem;
  background: none;
  border: none;
  color: var(--gray-medium);
  cursor: pointer;
}

.category-list li {
  margin-bottom: 0.75rem;
}

.category-list a {
  color: var(--gray-dark);
  transition: var(--transition);
}

.category-list a:hover {
  color: var(--primary-light);
}

.popular-post {
  display: flex;
  margin-bottom: 1rem;
}

.popular-post-image {
  width: 60px;
  height: 60px;
  border-radius: 4px;
  overflow: hidden;
  margin-right: 1rem;
}

.popular-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popular-post-content a {
  display: block;
  font-weight: 500;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
  transition: var(--transition);
}

.popular-post-content a:hover {
  color: var(--primary-light);
}

.popular-post-content p {
  font-size: 0.875rem;
  color: var(--gray-medium);
  margin: 0;
}

.newsletter {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-form {
  display: flex;
  margin-top: 1.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem;
  border: none;
  border-radius: 4px 0 0 4px;
}

.newsletter-form button {
  border-radius: 0 4px 4px 0;
}

/* Legal Pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  margin-top: 2rem;
}

.legal-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  list-style-type: disc;
}

.legal-content ul li {
  margin-bottom: 0.5rem;
}

.last-updated {
  margin-top: 3rem;
  font-style: italic;
  color: var(--gray-medium);
}

/* Media Queries */
@media (max-width: 991px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-post {
    flex-direction: column;
  }

  .blog-post .post-image {
    width: 100%;
    height: 200px;
  }

  .blog-post .post-content {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .main-nav {
    display: none;
  }

  .header-right {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .hero-box h1 {
    font-size: 1.75rem;
  }

  .hero-box p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .package-content {
    flex-direction: column;
    text-align: center;
  }

  .package-icon {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-links {
    margin-top: 1rem;
  }

  /* Correcciones para el menú móvil */
  .mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 1rem 0;
  }

  .mobile-menu ul {
    margin-bottom: 1rem;
    padding: 0 1rem;
  }

  .mobile-menu li {
    margin-bottom: 0.5rem;
  }

  .mobile-menu a {
    display: block;
    padding: 0.5rem 0;
    color: var(--primary-dark);
    font-size: 1.1rem;
  }

  .mobile-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    border-top: 1px solid var(--gray-border);
  }

  .mobile-cta .btn {
    margin-top: 1rem;
    width: 100%;
  }

  .mobile-cta .language {
    margin-bottom: 0.5rem;
  }

  /* Ajustar el grid-4 para dispositivos móviles */
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Ajustar el hero para móviles */
  .hero-box {
    padding: 1.5rem;
    max-width: 90%;
  }

  .hero-box h1 {
    font-size: 1.5rem;
  }

  .hero-box p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  /* Ajustar el chat widget para móviles */
  .chat-widget {
    bottom: 1rem;
    right: 1rem;
  }

  .chat-container {
    width: 300px;
    height: 400px;
    bottom: 70px;
  }
}

/* Ajustar el grid-4 para pantallas más pequeñas */
@media (max-width: 576px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .benefit-box,
  .plan-box {
    padding: 1.5rem;
  }

  .section {
    padding: 3rem 0;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero {
    height: 90vh;
  }
}

/* Additional Icons */
.icon-bolt:before {
  content: "\f0e7";
}
.icon-shield:before {
  content: "\f3ed";
}
.icon-user:before {
  content: "\f007";
}
.icon-chart-bar:before {
  content: "\f080";
}
.icon-life-ring:before {
  content: "\f1cd";
}
.icon-cloud:before {
  content: "\f0c2";
}
.icon-check:before {
  content: "\f00c";
}
.icon-search:before {
  content: "\f002";
}
.icon-times:before {
  content: "\f00d";
}

/* Icon for dropdown arrow */
.icon-chevron-down:before {
  content: "\f078";
}

.video-container {
    max-width: 800px; /* Ajusta al ancho que desees */
    margin: 0 auto;
    position: relative;
}

/* Esto asegura que el video mantenga la proporción 16:9 */
.video-placeholder iframe {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
    border-radius: 8px; /* Opcional: bordes redondeados */
}
.contact-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

.contact-image img {
    max-width: 350px;
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}
@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .contact-image img {
        max-width: 100%;
    }
}

.contact-section {
    margin-bottom: 80px;
}

.contact-header h2 {
    margin-bottom: 30px;
}

.contact-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

.contact-image img {
    width: 100%;
    max-width: 380px;
    border-radius: 12px;
    object-fit: cover;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .contact-item {
        justify-content: center;
    }
}
.contact-wrapper {
    display: flex;
    align-items: flex-start; /* 🔥 clave */
    gap: 40px;
}
.contact-image img {
    width: 100%;
    max-width: 380px;
    height: 320px;          /* 🔥 fuerza coherencia */
    object-fit: cover;     /* no se deforma */
    border-radius: 12px;
}
.video-vertical {
    width: 100%;
    max-width: 360px;     /* tamaño ideal vertical */
    aspect-ratio: 9 / 16;
    margin: 24px auto;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.video-vertical iframe {
    width: 100%;
    height: 100%;
}
.video-thumbnail {
    position: relative;
    max-width: 360px;
    aspect-ratio: 9 / 16;
    margin: 24px auto;
    cursor: pointer;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 120, 255, 0.35);
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Botón Play */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 72px;
    height: 72px;
    background: rgba(0, 120, 255, 0.85);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.play-button::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 18px solid white;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}
