/* Hide the video section */
.sticky-images.middle {
  display: none !important;
}

/* Blog Section Styles */
.section-blog {
  padding: 4rem 0 2rem;
  background-color: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.section-header p {
  font-size: 1.25rem;
  color: #666;
  max-width: 800px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.blog-list-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.blog-list-item:hover {
  transform: translateY(-5px);
}

.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-5px);
}

.blog-card-image {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.blog-card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.title-wrapper h3 {
  font-size: 1.375rem;
  margin: 0 0 0.75rem;
  color: #1a1a1a;
  line-height: 1.3;
}

.blog-date {
  display: block;
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 1rem;
}

.card-content p {
  color: #4d4d4d;
  margin: 0 0 1.5rem;
  line-height: 1.6;
  flex-grow: 1;
}

.read-more-button {
  display: inline-flex;
  align-items: center;
  color: #1E73BE;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: color 0.2s ease;
  margin-top: auto;
}

.read-more-button .arrow {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
  width: 16px;
  height: 16px;
}

.blog-card:hover .read-more-button {
  color: #155a9e;
}

.blog-card:hover .read-more-button .arrow {
  transform: translateX(4px);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .blog-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .section-blog {
    padding: 4rem 0;
  }
  
  .section-header h2 {
    font-size: 2.25rem;
  }
}

@media (max-width: 767px) {
  .blog-list {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 550px;
    margin: 0 auto;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .section-header p {
    font-size: 1.125rem;
  }
  
  .card-content {
    padding: 1.5rem;
  }
}

/* Mobile Menu Enhancements */

/* Mobile Menu Enhancements */
@media (max-width: 991px) {
  /* Larger logo on mobile */
  .navbar-2 .brand img.image-10 {
    max-height: 70px !important;
    width: auto !important;
    transform: scale(1.4);
    transform-origin: left center;
    margin: 10px 0;
  }
  
  /* Larger hamburger menu button */
  .menu-button.w-nav-button {
    width: 60px;
    height: 60px;
    padding: 15px;
    margin: 5px 0;
  }
  
  /* Larger hamburger menu icon */
  .w-icon-nav-menu:before {
    font-size: 32px !important;
    color: #1E73BE;
  }
  
  /* Better spacing for mobile navigation */
  .navbar-2 .w-nav-button {
    margin-right: 10px;
  }
  
  /* Ensure header has enough height for larger elements */
  .navbar-2 {
    min-height: 80px;
    padding: 10px 0;
  }
}

/* Responsive heading for mobile devices */
@media (max-width: 767px) {
  .hero-component .heading-2 {
    font-size: 2rem;
    line-height: 1.2;
  }
}

/* Variables CSS */
:root {
    --header-height: 140px;
    --header-bg-color: rgba(255, 255, 255, 0.98);
    --header-blur: 15px;
    --header-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --primary-color: #007bff;
    --transition-speed: 0.3s;
    --hover-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --success-color: #28a745;
    --text-color: #333;
    --text-light: #6c757d;
    --spacing-unit: 1rem;
    --border-radius: 8px;
}

/* Reset y compatibilidad base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilos base del header */
.navbar-2 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: var(--header-bg-color);
    -webkit-backdrop-filter: blur(var(--header-blur));
    backdrop-filter: blur(var(--header-blur));
    box-shadow: var(--header-shadow);
    -webkit-transition: all var(--transition-speed) ease;
    -moz-transition: all var(--transition-speed) ease;
    -o-transition: all var(--transition-speed) ease;
    transition: all var(--transition-speed) ease;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    -o-align-items: center;
    align-items: center;
    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    -ms-justify-content: space-between;
    -o-justify-content: space-between;
    justify-content: space-between;
    padding: 0 40px;
}

/* Thank You Page Styles */
.section-thankyou {
    padding: 120px 0;
    background-color: #f8f9fa;
    min-height: calc(100vh - 300px);
    display: flex;
    align-items: center;
}

.thankyou-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}

.thankyou-icon {
    margin-bottom: 2rem;
}

.thankyou-icon svg {
    width: 80px;
    height: 80px;
}

.thankyou-content h1 {
    color: var(--text-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.thankyou-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.thankyou-content .button-primary-4 {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.thankyou-content .button-primary-4:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .thankyou-content {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .thankyou-content h1 {
        font-size: 2rem;
    }
    
    .thankyou-icon svg {
        width: 60px;
        height: 60px;
    }
}

/* Ajuste para el menú fijo */
.navbar-2.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 1);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
    padding: 0 30px;
}

/* Ocultar menú en la sección about-hero-interaction */
.about-hero-interaction {
    margin-top: var(--header-height);
    padding-top: var(--header-height);
    position: relative;
    z-index: 1;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.about-hero-interaction .navbar-2 {
    display: block !important;
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* Efectos hover mejorados */
.nav-link-2 {
    position: relative;
    -webkit-transition: all var(--transition-speed) ease;
    -moz-transition: all var(--transition-speed) ease;
    -o-transition: all var(--transition-speed) ease;
    transition: all var(--transition-speed) ease;
    padding: 10px 15px;
}

.nav-link-2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    -webkit-transition: width var(--transition-speed) ease;
    -moz-transition: width var(--transition-speed) ease;
    -o-transition: width var(--transition-speed) ease;
    transition: width var(--transition-speed) ease;
}

.nav-link-2:hover {
    color: var(--primary-color) !important;
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    -o-transform: translateY(-2px);
    transform: translateY(-2px);
}

.nav-link-2:hover::after {
    width: 100%;
}

/* Botón de contacto mejorado */
.primary-button-3 {
    position: relative;
    -webkit-transition: all var(--transition-speed) ease;
    -moz-transition: all var(--transition-speed) ease;
    -o-transition: all var(--transition-speed) ease;
    transition: all var(--transition-speed) ease;
    overflow: hidden;
}

.primary-button-3::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 123, 255, 0.5), transparent);
    -webkit-transition: left var(--transition-speed) ease;
    -moz-transition: left var(--transition-speed) ease;
    -o-transition: left var(--transition-speed) ease;
    transition: left var(--transition-speed) ease;
}

.primary-button-3:hover {
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    -o-transform: translateY(-2px);
    transform: translateY(-2px);
    box-shadow: var(--hover-shadow);
}

/* Fallback para backdrop-filter */
@supports not ((-webkit-backdrop-filter: none) or (backdrop-filter: none)) {
    .navbar-2 {
        background: rgba(255, 255, 255, 1);
    }
    
    .navbar-2.fixed {
        background: rgba(255, 255, 255, 1);
    }
}

/* Fallback para CSS Grid y Flexbox */
@supports not (display: grid) {
    .navbar-2 {
        display: block;
    }
}

/* Fallback para transform */
@supports not (transform: translateZ(0)) {
    .about-hero-interaction,
    .about-hero-interaction .navbar-2 {
        -webkit-transform: none;
        transform: none;
    }
}

.primary-button-3:hover::before {
    left: 100%;
}

/* Logo mejorado */
.brand {
    transition: all var(--transition-speed) ease;
    display: flex;
    align-items: center;
}

.brand:hover {
    transform: scale(1.05);
}

.brand img {
    height: 120px;
    transition: all var(--transition-speed) ease;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin-top: -20px;
}

/* Responsive design - Mobile */
@media screen and (max-width: 768px) {
    :root {
        --header-height: 140px;
    }
    
    .brand img {
        height: 120px;
        margin-top: -30px;
    }
    
    .navbar-2 {
        padding: 0 20px;
    }
    
    .nav-menu-3 {
        padding: 20px 0;
    }
    
    .nav-link-2 {
        padding: 15px 10px;
        font-size: 1.2rem;
    }
    
    .primary-button-3 {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
}

/* Responsive design - Tablet */
@media screen and (max-width: 1024px) {
    :root {
        --header-height: 130px;
    }
    
    .brand img {
        height: 110px;
        margin-top: -25px;
    }
    
    .navbar-2 {
        padding: 0 25px;
    }
}

.brand:hover img {
    filter: brightness(1.1) contrast(1.1);
}

/* Menú móvil mejorado */
@media (max-width: 768px) {
    .navbar-2 {
        background: rgba(255, 255, 255, 1);
        backdrop-filter: none;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
    }
    
    .menu-button {
        transition: all var(--transition-speed) ease;
        padding: 10px;
    }
    
    .menu-button:hover {
        transform: scale(1.1);
        background: rgba(0, 123, 255, 0.1);
        border-radius: 50%;
    }
    
    .nav-menu-3 {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }
}

/* Espaciado mejorado */
body {
    padding-top: calc(var(--header-height) + 20px);
}

@media (max-width: 768px) {
    body {
        padding-top: calc(var(--header-height) + 30px);
    }
}

/* Primera sección mejorada */
section:first-of-type {
    margin-top: 10px;
    padding-top: 10px;
}

@media (max-width: 768px) {
    section:first-of-type {
        margin-top: 20px;
        padding-top: 10px;
    }
}

/* Ajuste para el contenido hero */
.hero-wrapper {
    margin-top: -20px;
    padding-top: 0;
}

.hero-component {
    margin-top: 0;
    padding-top: 0;
}

/* Efectos de scroll mejorados */
.scrolled {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-10px);
}

.scrolled .nav-link-2 {
    color: var(--primary-color) !important;
}

.scrolled .nav-link-2::after {
    width: 100%;
}

/* Animación de entrada */
.navbar-2 {
    animation: headerFadeIn 0.5s ease-out;
}

@keyframes headerFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
