/* =============================================================================
Tempranitos Color Cleanup - Reemplazar colores rojos/rosas con colores corporativos
============================================================================= */

/* Reemplazar todos los colores rojos/rosas con colores corporativos */

/* Eliminar todas las sombras de texto */
* {
    text-shadow: none !important;
}

/* Colores de texto optimizados para legibilidad */
body {
    color: var(--tempranitos-dark) !important;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--tempranitos-dark) !important;
}

p {
    color: var(--tempranitos-gray) !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
}

a {
    color: var(--tempranitos-turquoise) !important;
}

a:hover {
    color: var(--tempranitos-sky-blue) !important;
}

/* Backgrounds */
[style*="#d13581"],
[style*="#911ec2"],
[style*="#b242e2"] {
    background-color: var(--tempranitos-turquoise) !important;
}

/* Borders */
[style*="border.*#d13581"],
[style*="border.*#911ec2"] {
    border-color: var(--tempranitos-turquoise) !important;
}

/* Gradientes específicos */
.start_home.demo1:before,
.start_home.demo2:before {
    background: linear-gradient(to right, 
        rgba(0, 180, 216, 0.90) 0%, 
        rgba(76, 201, 240, 0.9) 51%, 
        rgba(6, 214, 160, 0.90) 100%) !important;
}

/* Botones y elementos interactivos */
.theme-btn,
.btn-primary,
.contact-form button,
.newsletter-form button {
    background: var(--tempranitos-turquoise) !important;
    border-color: var(--tempranitos-turquoise) !important;
    color: var(--tempranitos-white) !important;
}

.theme-btn:hover,
.btn-primary:hover,
.contact-form button:hover,
.newsletter-form button:hover {
    background: var(--tempranitos-sky-blue) !important;
    border-color: var(--tempranitos-sky-blue) !important;
}

/* Botón hamburguesa del menú móvil */
.navbar-toggler {
    border: 2px solid var(--tempranitos-white) !important;
    background: transparent !important;
    backdrop-filter: none !important;
}

.navbar-toggler-icon {
    color: var(--tempranitos-white) !important;
}

.navbar-toggler:hover {
    background: transparent !important;
    border-color: var(--tempranitos-yellow) !important;
}

/* Botón hamburguesa en menú sticky */
.navbar.sticky .navbar-toggler {
    border: 2px solid var(--tempranitos-turquoise) !important;
    background: transparent !important;
    backdrop-filter: none !important;
}

.navbar.sticky .navbar-toggler-icon {
    color: var(--tempranitos-turquoise) !important;
}

.navbar.sticky .navbar-toggler:hover {
    background: transparent !important;
    border-color: var(--tempranitos-yellow) !important;
}

/* Enlaces y elementos de navegación */
.navbar-nav li a {
    color: #ffffff !important;
    font-weight: 600 !important;
}

.navbar-nav li a:hover,
.footer-links li a:hover,
a:hover {
    color: var(--tempranitos-dark) !important;
}

/* Navegación en secciones con degradado */
.bg-gradient-primary .navbar-nav li a {
    color: #ffffff !important;
    font-weight: 600 !important;
}

.bg-gradient-primary .navbar-nav li a:hover {
    color: #ffffff !important;
}

/* Menú sticky/fijo */
.navbar.sticky .navbar-nav li a,
.navbar.sticky .navbar-nav li a:focus,
.navbar.sticky .navbar-nav li a:active {
    color: #3498db !important;
    font-weight: 600 !important;
    background: transparent !important;
}

.navbar.sticky .navbar-nav li a:hover {
    color: var(--tempranitos-dark) !important;
    background: transparent !important;
}

/* Force blue color for sticky menu */
.navbar.sticky * {
    color: #3498db !important;
}

/* Force white color for access buttons in sticky navbar */
.navbar.sticky .access,
.navbar.sticky a.access,
.navbar.sticky .navbar-nav li a.access,
.navbar.sticky a[style*="border: 1px solid var(--tempranitos-turquoise)"],
.navbar.sticky a[style*="border: 1px solid var(--tempranitos-turquoise);"] {
    color: var(--tempranitos-white) !important;
}

/* Ensure access buttons are visible in sticky navbar */
.header-area.sticky .access,
.header-area.sticky a.access,
.header-area.sticky .navbar-nav li a.access {
    color: var(--tempranitos-dark) !important;
    border-color: var(--tempranitos-turquoise) !important;
}

.header-area.sticky .access:hover,
.header-area.sticky a.access:hover,
.header-area.sticky .navbar-nav li a.access:hover {
    color: var(--tempranitos-white) !important;
    background-color: var(--tempranitos-turquoise) !important;
    border-color: var(--tempranitos-turquoise) !important;
}

/* Override any other hover effects for sticky navbar access buttons */
.header-area.sticky .access:hover *,
.header-area.sticky a.access:hover *,
.header-area.sticky .navbar-nav li a.access:hover * {
    color: var(--tempranitos-white) !important;
}

.navbar.sticky .navbar-nav li a {
    color: #3498db !important;
}

/* Specific override for navigation links with classes */
.navbar.sticky a[data-scroll-nav],
.navbar.sticky .pt-2,
.navbar.sticky .navbar-nav li a.pt-2 {
    color: #3498db !important;
    background: transparent !important;
    text-decoration: none !important;
}

/* Access buttons styling */
.access,
a.access,
.navbar-nav li a.access {
    color: #ffffff !important;
    background: var(--tempranitos-turquoise) !important;
    border-color: var(--tempranitos-turquoise) !important;
    border-radius: 25px !important;
    padding: 8px 20px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.access:hover {
    color: #ffffff !important;
    background: var(--tempranitos-sky-blue) !important;
    border-color: var(--tempranitos-sky-blue) !important;
    text-decoration: none !important;
}

/* Access buttons in sticky navbar */
.navbar.sticky .access,
.navbar.sticky a.access,
.navbar.sticky .navbar-nav li a.access {
    color: #ffffff !important;
    background: var(--tempranitos-turquoise) !important;
    border-color: var(--tempranitos-turquoise) !important;
}

.navbar.sticky .access:hover,
.navbar.sticky a.access:hover,
.navbar.sticky .navbar-nav li a.access:hover {
    color: #ffffff !important;
    background: var(--tempranitos-sky-blue) !important;
    border-color: var(--tempranitos-sky-blue) !important;
}

/* Override inline styles */
a[style*="border: 1px solid #d13581"],
a[style*="border: 1px solid #d13581;"] {
    color: #ffffff !important;
    background: var(--tempranitos-turquoise) !important;
    border-color: var(--tempranitos-turquoise) !important;
}

/* Override inline styles in sticky navbar */
.navbar.sticky a[style*="border: 1px solid #d13581"],
.navbar.sticky a[style*="border: 1px solid #d13581;"],
.navbar.fixed-top a[style*="border: 1px solid #d13581"],
.navbar.fixed-top a[style*="border: 1px solid #d13581;"] {
    color: #ffffff !important;
    background: var(--tempranitos-turquoise) !important;
    border-color: var(--tempranitos-turquoise) !important;
}

.navbar.sticky a[data-scroll-nav]:hover,
.navbar.sticky .pt-2:hover,
.navbar.sticky .navbar-nav li a.pt-2:hover {
    color: var(--tempranitos-sky-blue) !important;
}

/* Override Bootstrap btn-link colors */
.btn-link {
    color: #ffffff !important;
    text-decoration: none !important;
}

.btn-link:hover,
.btn-link:focus,
.btn-link:active {
    color: var(--tempranitos-sky-blue) !important;
    text-decoration: none !important;
}

/* Specific override for accordion buttons */
.card-header .btn-link {
    color: #ffffff !important;
    font-weight: 600 !important;
    text-align: left !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    transition: all 0.5s ease-in-out !important;
    position: relative !important;
    z-index: 1 !important;
}

.card-header .btn-link:hover,
.card-header .btn-link:focus,
.card-header .btn-link:active {
    color: #ffffff !important;
    background: transparent !important;
    text-decoration: none !important;
}

/* Make entire card-header clickable */
.card-header {
    cursor: pointer !important;
    transition: all 0.5s ease-in-out !important;
    position: relative !important;
    overflow: hidden !important;
}

.card-header h2 {
    position: relative !important;
    z-index: 1 !important;
}

.card-header::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: var(--tempranitos-gradient-accent) !important;
    opacity: 0 !important;
    transition: opacity 0.5s ease-in-out !important;
    z-index: 0 !important;
}

.card-header:hover::before {
    opacity: 1 !important;
}

/* Hamburger menu in sticky state */
.navbar.sticky .navbar-toggler {
    border-color: #3498db !important;
}

.navbar.sticky .navbar-toggler-icon {
    color: #3498db !important;
}

.navbar.sticky .navbar-toggler:hover {
    border-color: var(--tempranitos-turquoise) !important;
}

/* Card header with Tempranitos colors */
header.card-header {
    background: var(--tempranitos-gradient-primary) !important;
    position: relative !important;
    background-size: 100% auto !important;
}

.card-header {
    background: var(--tempranitos-gradient-primary) !important;
    color: #ffffff !important;
    text-align: center !important;
    padding: 25px 10px !important;
    border-radius: 15px 15px 0 0 !important;
    background-size: 100% auto !important;
}

.card-header h4 {
    color: #ffffff !important;
    margin-bottom: 15px !important;
    font-weight: 500 !important;
    font-size: 22px !important;
}

/* Default navbar styles (transparent) */
.navbar {
    background: transparent !important;
    transition: all 0.3s ease !important;
    position: absolute !important;
    top: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
}

/* Add padding to body when navbar is fixed */
body {
    padding-top: 0 !important;
}

body.navbar-fixed {
    padding-top: 80px !important;
}

/* Fixed navbar styles (when scrolled) */
.navbar.fixed-top,
.navbar.sticky {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
}

.navbar.fixed-top .navbar-nav li a:not(.access),
.navbar.sticky .navbar-nav li a:not(.access) {
    color: #3498db !important;
    font-weight: 600 !important;
}

.navbar.fixed-top .navbar-nav li a:hover,
.navbar.sticky .navbar-nav li a:hover {
    color: var(--tempranitos-sky-blue) !important;
}

.navbar.fixed-top .site-logo span,
.navbar.sticky .site-logo span {
    color: #3498db !important;
}

.navbar.fixed-top .navbar-toggler,
.navbar.sticky .navbar-toggler {
    border-color: #3498db !important;
}

.navbar.fixed-top .navbar-toggler-icon,
.navbar.sticky .navbar-toggler-icon {
    color: #3498db !important;
}

.navbar.fixed-top .navbar-toggler:hover,
.navbar.sticky .navbar-toggler:hover {
    border-color: var(--tempranitos-turquoise) !important;
}

/* Iconos y elementos decorativos */
.feature-icon,
.feature-icon i,
.faq-icon i {
    color: var(--tempranitos-dark) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
}

/* Contact icons in white */
.contact-block i {
    color: #ffffff !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
}

/* Override gradient backgrounds on icons */
.feature-icon i,
.feature-icon i:before,
.feature-icon i:after,
.faq-icon i,
.faq-icon i:before,
.faq-icon i:after {
    background: none !important;
    background-image: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    color: var(--tempranitos-sky-blue) !important;
}

/* Contact icons override gradients */
.contact-block i,
.contact-block i:before,
.contact-block i:after {
    background: none !important;
    background-image: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    color: #ffffff !important;
}

/* Formularios */
.form-control:focus {
    border-color: var(--tempranitos-turquoise) !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 180, 216, 0.25) !important;
}

/* Form controls styling */
.form-control {
    background-color: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    color: #333333 !important;
    padding: 12px 15px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
}

.form-control::placeholder {
    color: #999999 !important;
    opacity: 1 !important;
}

.form-control:focus {
    background-color: #ffffff !important;
    border-color: var(--tempranitos-turquoise) !important;
    color: #333333 !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 180, 216, 0.25) !important;
}

/* Contact form specific styling */
.contact-form-block .form-control {
    margin-bottom: 15px !important;
    background-color: #ffffff !important;
    border: 2px solid #e0e0e0 !important;
    color: #333333 !important;
}

.contact-form-block .form-control:focus {
    border-color: var(--tempranitos-turquoise) !important;
    background-color: #ffffff !important;
    color: #333333 !important;
}

/* Textarea specific styling */
textarea.form-control {
    min-height: 120px !important;
    resize: vertical !important;
}

/* Paginación */
.page-item.active .page-link {
    background: var(--tempranitos-turquoise) !important;
    border-color: var(--tempranitos-turquoise) !important;
}

/* Carousel dots */
.owl-dot.active span {
    background: var(--tempranitos-turquoise) !important;
}

/* Bubbles z-index fix */
.bubbles-animate .bubble {
    z-index: 1 !important;
}

/* Fix for bubble b_two that interferes with text */
.bubbles-animate .bubble.b_two {
    top: 20% !important;
    left: 50px !important;
}

/* Ensure bubbles appear behind all content */
.bubbles-animate .bubble {
    z-index: 1 !important;
    pointer-events: none !important;
}

.bubbles-animate .triangle {
    z-index: 1 !important;
    pointer-events: none !important;
}

/* Ensure content appears above bubbles */
.start-home-content,
.start-home-img,
.banner_top,
.container,
.row,
.col-md-6,
.col-12,
.section-block,
.feature-block,
.contact-form-block,
.footer,
.navbar,
.header-area {
    position: relative !important;
    z-index: 10 !important;
}

/* Ensure text and images are always on top */
h1, h2, h3, h4, h5, h6,
p, span, a, img,
.hero-image-container,
.hero-image,
.feature-icon,
.contact-block,
.form-control,
.btn {
    position: relative !important;
    z-index: 20 !important;
}

/* Ensure navbar is always on top */
.navbar,
.header-area,
.navbar-nav,
.nav-item {
    z-index: 1000 !important;
}

/* Override hero title styles */
.start-home-content h1.hero-title-alt {
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 3.5rem !important;
    line-height: 1.2 !important;
    text-align: left !important;
    margin: 0 0 1.5rem 0 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3) !important;
    display: block !important;
    width: 100% !important;
}

/* Override demo3 specific title styles */
.start_home.demo3 .start-home-content h1,
.start_home.demo3 .start-home-content h1.hero-title-alt,
.start_home.demo3 .start-home-content h1 span {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 3.5rem !important;
    line-height: 1.2 !important;
    text-align: left !important;
    margin: 0 0 1.5rem 0 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3) !important;
    display: block !important;
    width: 100% !important;
}

/* Force white color for all title elements */
.start_home.demo3 .start-home-content h1 *,
.start_home.demo3 .start-home-content h1.hero-title-alt * {
    color: #ffffff !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
}

/* Global override for any green colors in titles */
h1, h1 *, .hero-title-alt, .hero-title-alt * {
    color: #ffffff !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
}

/* Fix spacing between words in title */
.hero-title-alt span {
    display: inline !important;
    margin-right: 8px !important;
    text-transform: none !important;
}

.hero-title-alt span:last-child {
    margin-right: 0 !important;
}

/* Remove text-transform for hero title */
.hero-title-alt {
    text-transform: none !important;
    text-align: left !important;
}

/* Remove text-transform for feature titles */
.feature-block h2,
#AppFeatures h2 {
    text-transform: none !important;
}

/* Section header styling for features */
#AppFeatures .section-header-style2 {
    text-align: center !important;
    margin-bottom: 50px !important;
}

#AppFeatures .section-header-style2 h2 {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    color: var(--tempranitos-dark) !important;
}

#AppFeatures .section-header-style2 p {
    font-size: 18px !important;
    line-height: 1.7 !important;
    color: #2c3e50 !important;
    max-width: 800px !important;
    margin: 0 auto 30px auto !important;
}

#AppFeatures .btn-read-more {
    margin-top: 30px !important;
}

/* Footer */
.footer-social-links {
    display: flex !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}

.footer-social-links a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: var(--tempranitos-white) !important;
    transition: all 0.3s ease !important;
    flex-shrink: 0 !important;
}

.footer-social-links a:hover {
    color: var(--tempranitos-turquoise) !important;
    background: var(--tempranitos-white) !important;
    transform: translateY(-2px) !important;
}

/* Back to top */
#back-to-top .top {
    background-color: var(--tempranitos-turquoise) !important;
    color: var(--tempranitos-white) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
}

/* Back to Top - Remove extra space */
#back-to-top {
    position: fixed !important;
    bottom: 45px !important;
    right: 45px !important;
    z-index: 999 !important;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    width: auto !important;
}

#back-to-top .top {
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Logo en navegación */
.navbar .site-logo {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
}

.navbar .site-logo a {
    color: var(--tempranitos-white) !important;
}

.navbar .site-logo span {
    color: var(--tempranitos-white) !important;
}

/* Logo en menú sticky */
.navbar.sticky .site-logo {
    background: transparent !important;
    padding: 0 !important;
    backdrop-filter: none !important;
}

.navbar.sticky .site-logo a {
    color: #3498db !important;
}

.navbar.sticky .site-logo span {
    color: #3498db !important;
}

/* Logo en footer */
.footer .footer-logo {
    background: transparent !important;
}

.footer .footer-logo img {
    max-height: 40px !important;
    margin-right: 10px !important;
}

.footer .footer-logo span {
    color: var(--tempranitos-white) !important;
    font-size: 24px !important;
    font-weight: 600 !important;
}

/* Logo en modal de login */
.modal .site-logo {
    background: transparent !important;
}

.modal .site-logo img {
    max-height: 40px !important;
    margin-right: 10px !important;
}

.modal .site-logo span {
    color: var(--tempranitos-dark) !important;
    font-size: 20px !important;
    font-weight: 600 !important;
}

#back-to-top .top:hover {
    background-color: var(--tempranitos-sky-blue) !important;
    transform: translateY(-3px) !important;
}

/* List items con checkmarks */
ul.list-checked li i {
    color: var(--tempranitos-turquoise) !important;
    background: rgba(0, 180, 216, 0.07) !important;
}

/* Text highlights */
.text-primary {
    color: var(--tempranitos-turquoise) !important;
}

/* Section descriptions and general text */
.section-header-style2 p,
.contact-form-block p,
.modal p,
.card-body {
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: #2c3e50 !important;
}

/* Footer text - white for dark background */
.footer p {
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: #ffffff !important;
}

/* Feature descriptions */
.feature-block p,
#AppFeatures p,
.cta-section p {
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: #2c3e50 !important;
}

/* Equal height feature blocks */
.feature-block {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important;
    text-align: center !important;
    padding: 30px 20px !important;
    background: #ffffff !important;
    border-radius: 15px !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}

.feature-block:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.feature-block h3 {
    margin: 20px 0 15px 0 !important;
    font-size: 1.3rem !important;
    font-weight: 600 !important;
    color: var(--tempranitos-dark) !important;
}

.feature-block p {
    flex-grow: 1 !important;
    margin-bottom: 0 !important;
}

.feature-block .feature-icon {
    margin-bottom: 15px !important;
}

/* Specific sections that need darker text for better contrast */
.contact-form-block p,
.section-header-style2 p {
    color: #2c3e50 !important;
}

/* CTA section styling */
.cta-section {
    background: linear-gradient(to right, var(--tempranitos-sky-blue) 0%, var(--tempranitos-orange) 100%) !important;
}

.bg-primary {
    background-color: var(--tempranitos-turquoise) !important;
}

/* Override específicos para elementos problemáticos */
.navbar-nav .dropdown-menu a:hover,
.accordion .card button:hover,
.accordion .card button:focus {
    color: #ffffff !important;
    background: transparent !important;
}

/* Botones secundarios */
.theme-btn-sec {
    color: var(--tempranitos-turquoise) !important;
    background: rgba(0, 180, 216, 0.07) !important;
    border-color: var(--tempranitos-turquoise) !important;
}

.theme-btn-sec:hover {
    background: var(--tempranitos-gradient-primary) !important;
    color: var(--tempranitos-white) !important;
} 

/* Fix for demo3 layout - ensure image appears in correct position */
.start_home.demo3 .start-home-img {
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    flex-flow: row wrap !important;
}

.start_home.demo3 .start-home-img .hero-image-container {
    width: 100% !important;
    max-width: 500px !important;
    margin: 0 auto !important;
}

.start_home.demo3 .start-home-img .hero-image {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
}

/* Ensure proper alignment in demo3 */
.start_home.demo3 .banner_top {
    padding: 10px 0 !important;
    min-height: 600px !important;
    display: flex !important;
    align-items: center !important;
}

.start_home.demo3 .start-home-content {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    height: 100% !important;
    padding: 40px 0 !important;
}

/* Override any conflicting styles from demo2 */
.start_home.demo3 .start-home-img {
    height: auto !important;
    -webkit-flex-flow: row wrap !important;
    -ms-flex-flow: row wrap !important;
    flex-flow: row wrap !important;
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-pack: center !important;
    -webkit-justify-content: center !important;
    -ms-flex-pack: center !important;
    justify-content: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
} 

/* Fix overlay to not cover the image completely */
.start_home.demo3 .hero-overlay {
    background: linear-gradient(135deg, 
        rgba(0, 180, 216, 0.1) 0%, 
        rgba(76, 201, 240, 0.05) 50%, 
        rgba(6, 214, 160, 0.1) 100%) !important;
    pointer-events: none !important;
}

.start_home.demo3 .overlay-icon {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 3px solid rgba(0, 180, 216, 0.8) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

.start_home.demo3 .overlay-icon i {
    color: var(--tempranitos-turquoise) !important;
    text-shadow: none !important;
}

/* Alternative: Remove overlay completely for demo3 */
.start_home.demo3 .hero-overlay {
    display: none !important;
} 

/* Fix header background when at top of page */
.header-area {
    background: var(--tempranitos-gradient-primary) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

/* Ensure header has proper background when not sticky */
.header-area:not(.sticky) {
    background: var(--tempranitos-gradient-primary) !important;
}

/* Fix navbar background for demo3 */
.home-demo3 .header-area {
    background: var(--tempranitos-gradient-primary) !important;
}

.home-demo3 .header-area .navbar {
    background: transparent !important;
}

/* Ensure text is visible on header */
.header-area .navbar-nav li a {
    color: var(--tempranitos-white) !important;
    font-weight: 500 !important;
}

.header-area .navbar-nav li a:hover {
    color: var(--tempranitos-yellow) !important;
}

/* Fix logo text color */
.header-area .site-logo span {
    color: var(--tempranitos-white) !important;
}

/* Fix navbar toggler color */
.header-area .navbar-toggler-icon {
    color: var(--tempranitos-white) !important;
} 

/* Fix sticky header behavior */
.header-area.sticky {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    background: var(--tempranitos-white) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}

.header-area.sticky .navbar {
    background: var(--tempranitos-white) !important;
}

/* Ensure sticky header text is visible */
.header-area.sticky .navbar-nav li a {
    color: var(--tempranitos-dark) !important;
    font-weight: 500 !important;
}

.header-area.sticky .navbar-nav li a:hover {
    color: var(--tempranitos-turquoise) !important;
}

.header-area.sticky .site-logo span {
    color: var(--tempranitos-turquoise) !important;
}

.header-area.sticky .navbar-toggler-icon {
    color: var(--tempranitos-dark) !important;
} 

/* Fix overlay for FAQ section image */
#faqs .hero-overlay {
    background: linear-gradient(135deg, 
        rgba(0, 180, 216, 0.1) 0%, 
        rgba(76, 201, 240, 0.05) 50%, 
        rgba(6, 214, 160, 0.1) 100%) !important;
    pointer-events: none !important;
}

#faqs .overlay-icon {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 3px solid rgba(0, 180, 216, 0.8) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

#faqs .overlay-icon i {
    color: var(--tempranitos-turquoise) !important;
    text-shadow: none !important;
}

/* Alternative: Make overlay very subtle for FAQ image */
#faqs .hero-overlay {
    background: linear-gradient(135deg, 
        rgba(0, 180, 216, 0.05) 0%, 
        rgba(76, 201, 240, 0.02) 50%, 
        rgba(6, 214, 160, 0.05) 100%) !important;
}

/* Make overlay transparent for FAQ image */
#faqs .hero-overlay {
    background: transparent !important;
    pointer-events: none !important;
}

#faqs .overlay-icon {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

#faqs .overlay-icon i {
    color: var(--tempranitos-white) !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
} 

/* Remove border from mobile hamburger button */
@media (max-width: 768px) {
    .navbar-toggler-icon {
        color: var(--tempranitos-turquoise) !important;
        border: none !important;
        background: transparent !important;
        width: 40px !important;
        height: 40px !important;
        line-height: 40px !important;
        border-radius: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* Contact Form Overlay Effect - Formulario sobre la imagen */
.contact-shape {
    position: relative !important;
    min-height: 500px !important;
    overflow: visible !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.contact-shape img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    z-index: 1 !important;
}

.contact-form-block {
    position: relative !important;
    background: #fff !important;
    box-shadow: 0px 0px 29px 6px rgba(154, 161, 171, 0.18) !important;
    padding: 60px 50px !important;
    border-radius: 30px !important;
    z-index: 10 !important;
    width: 90% !important;
    max-width: 500px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Mobile adjustments for contact form overlay */
@media(max-width:768px) {
    .contact-shape {
        min-height: 400px !important;
    }
    
    .contact-form-block {
        padding: 30px 20px !important;
        width: 95% !important;
        max-width: none !important;
    }
}

/* Newsletter Form - Formulario de email en footer */
.newsletter-form {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
    background: transparent !important;
    border-radius: 30px !important;
    height: auto !important;
    width: 100% !important;
    padding-right: 0 !important;
    position: relative !important;
}

.newsletter-form input[type="email"] {
    flex: 1 !important;
    min-width: 200px !important;
    margin: 0 !important;
    width: auto !important;
    padding-left: 20px !important;
    height: 45px !important;
    background: #fff !important;
    box-shadow: none !important;
    border: none !important;
    padding-right: 20px !important;
    border-radius: 30px !important;
}

.newsletter-form button {
    white-space: nowrap !important;
    margin: 0 !important;
    position: relative !important;
    height: 45px !important;
    border-radius: 30px !important;
    right: auto !important;
    top: auto !important;
    width: auto !important;
    padding: 0 20px !important;
    background: var(--tempranitos-white) !important;
    color: var(--tempranitos-turquoise) !important;
    border: 2px solid var(--tempranitos-turquoise) !important;
}

.newsletter-form button:hover {
    background: var(--tempranitos-turquoise) !important;
    color: var(--tempranitos-white) !important;
    border-color: var(--tempranitos-turquoise) !important;
}

@media(max-width:768px) {
    .newsletter-form {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 15px !important;
    }
    
    .newsletter-form input[type="email"] {
        min-width: auto !important;
        width: 100% !important;
        border-radius: 30px !important;
        height: 50px !important;
        font-size: 16px !important;
        padding: 15px 20px !important;
    }
    
    .newsletter-form button {
        width: 100% !important;
        border-radius: 30px !important;
        height: 50px !important;
        font-size: 16px !important;
    }
}

/* Footer Menu Spacing */
.footer .col-md-3 {
    padding-left: 30px !important;
    padding-right: 30px !important;
}

.footer .col-md-4:first-child {
    padding-right: 30px !important;
}

.footer .col-md-5 {
    padding-left: 30px !important;
}

/* Footer Logo Centering */
.footer-logo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin-bottom: 20px !important;
}

.footer-logo img {
    margin-right: 10px !important;
    margin-bottom: 0 !important;
}

.footer-logo span {
    display: inline-block !important;
    vertical-align: middle !important;
}

/* Header Logo Centering */
.site-logo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.site-logo .navbar-brand {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

.site-logo .navbar-brand img {
    margin-right: 10px !important;
    margin-bottom: 0 !important;
}

.site-logo .navbar-brand span {
    display: inline-block !important;
    vertical-align: middle !important;
}

/* Contact Section Extension */
.section-block.cta-section {
    padding-bottom: 50px !important;
}

/* Footer straight */
footer {
    background: var(--tempranitos-turquoise) !important;
    padding-top: 50px !important;
}

/* Hide original shape-top */
footer .shape-top {
    display: none !important;
}

/* Remove rotating square from footer titles */
.footer-title:before {
    display: none !important;
}

/* Align footer titles to left */
.footer-title {
    text-align: left !important;
    padding-left: 0 !important;
}

/* Add more spacing between contact blocks */
.contact-block {
    margin-bottom: 30px !important;
}

/* Wider container for contact section on mobile and iPad */
@media (max-width: 991px) {
    #contact .container {
        max-width: none !important;
    }
} 

/* ============================================================================= 
Preloader mejorado para Tempranitos
============================================================================= */

#preloader {
    background: var(--tempranitos-gradient-primary) !important;
    background-size: 200% 200% !important;
    animation: gradient-shift 2s ease infinite !important;
}

#preloader-circle {
    position: relative !important;
    width: 80px !important;
    height: 80px !important;
    top: 43% !important;
    margin: 0 auto !important;
}

#preloader-circle span {
    position: absolute !important;
    border: 8px solid var(--tempranitos-white) !important;
    border-top: 8px solid transparent !important;
    border-radius: 999px !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3) !important;
}

#preloader-circle span:nth-child(1) {
    width: 80px !important;
    height: 80px !important;
    animation: spin-1 2s infinite linear !important;
}

#preloader-circle span:nth-child(2) {
    top: 20px !important;
    left: 20px !important;
    width: 40px !important;
    height: 40px !important;
    animation: spin-2 1s infinite linear !important;
    border-color: var(--tempranitos-orange) !important;
    border-top-color: transparent !important;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes spin-1 {
    0% { transform: rotate(360deg); opacity: 1; }
    50% { transform: rotate(180deg); opacity: 0.7; }
    100% { transform: rotate(0deg); opacity: 1; }
}

@keyframes spin-2 {
    0% { transform: rotate(0deg); opacity: 0.7; }
    50% { transform: rotate(180deg); opacity: 1; }
    100% { transform: rotate(360deg); opacity: 0.7; }
} 

 

 