/* Template 1 - Professional Corporate Theme (LanguageLine Style) */
:root {
/* ELEGANTE NATURAL */
    --TEST1: #3F834C;
    --TEST2: #F5F5DC;
    --TEST3: #A9A9A9;
    --TEST4: #696969;
    /* MODERNA Y VIBRANTE */
    --TEST5: #3F834C;
    --TEST6: #FFA07A;           
    --TEST7: #FFD700;
    --TEST8: #FFFFFF;
    /* RETRO Y ACOGEDORA */
    --TEST9: #3F834C;  
    --TEST10: #D2B48C;
    --TEST11: #A0522D;
    --TEST12: #F5DEB3;
    /* NUEVA PALETA  */
     --TEST13: #7E949E;
    --TEST14: #AEC2AB;
    --TEST15: #EBCEA0;
    --TEST16: #FC7765;
    --TEST17: #FF335F;
    /* test */
      --TEST18: #C5E0DC;
    --TEST19: #ECE5CE;
    --TEST20: #F1D4AF;
    --TEST21: #E08E79;
    --TEST22: #CFB7B9; 
    --TEST23: #A79C8E;

    /* Colores personalizados */
    --primary-color-old: #003366;
     --secondary-color-old: #004080;
    --accent-color-old: #0066CC;
     --dark-blue-old: #002244;
      

 /*   --primary-color: #3F834C;   */
   /*  --primary-color: #66F1C2;  */
    --primary-color: #71B39E;
    
      /* --secondary-color: #3F934C; */
    /*  --accent-color: #3f933f; */

    --light-blue: #E6F3FF;
    --white: #FFFFFF;
       --light-gray: #F8F9FA;
  
 
    --dark-gray: #343A40;
    --text-dark: #2C3E50;
    --text-light: #6C757D;
        --shadow: 0 10px 30px rgba(0, 51, 102, 0.1);
    --shadow-hover: 0 20px 40px rgba(0, 51, 102, 0.2);

    /* Gradientes híbridos */
  /*   --gradient-primary: linear-gradient(135deg, #003366 0%, #0066CC 100%);
    --gradient-secondary: linear-gradient(135deg, #0066CC 0%, #4A90E2 100%);
    --gradient-accent: linear-gradient(135deg, #FF6B47 0%, #F7931E 100%); */
    

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Estilos personalizados para la barra de scroll */
/* Ocultar scrollbar en móvil */
@media (max-width: 768px) {
    body {
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* Internet Explorer 10+ */
    }
    
    body::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
}

/* Estilos para scrollbar en desktop */
@media (min-width: 769px) {
    /* Scrollbar personalizada que aparece solo al hacer scroll */
    body {
        scrollbar-width: none; /* Firefox - oculta por defecto */
        -ms-overflow-style: none; /* IE - oculta por defecto */
    }
    
    /* Webkit browsers (Chrome, Safari, Edge) */
    body::-webkit-scrollbar {
        width: 14px;
        background-color: rgba(0, 0, 0, 0.15);
        border-radius: 7px;
    }
    
    body::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.08);
        border-radius: 7px;
        margin: 3px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    body::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, #FF6B35 0%, #F7931E 50%, #FF8C42 100%);
        border-radius: 7px;
        border: 2px solid rgba(255, 255, 255, 0.4);
        opacity: 0;
        transition: all 0.3s ease;
        visibility: hidden;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
        position: relative;
    }
    
    body::-webkit-scrollbar-thumb::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 4px;
        height: 20px;
        background: rgba(255, 255, 255, 0.6);
        border-radius: 2px;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    }
    
    body::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(180deg, #FF8C42 0%, #FF6B35 50%, #F7931E 100%);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);
        transform: scale(1.08);
        border-color: rgba(255, 255, 255, 0.6);
    }
    
    body::-webkit-scrollbar-thumb:hover::before {
        background: rgba(255, 255, 255, 0.8);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }
    
    /* Clase para mostrar scrollbar durante el scroll */
    body.scrolling::-webkit-scrollbar-thumb {
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Scrollbar para elementos con scroll interno */
    .service-card, .card, .modal-body {
        scrollbar-width: thin;
        scrollbar-color: #FF6B35 #f1f1f1;
    }
    
    .service-card::-webkit-scrollbar,
    .card::-webkit-scrollbar,
    .modal-body::-webkit-scrollbar {
        width: 8px;
    }
    
    .service-card::-webkit-scrollbar-track,
    .card::-webkit-scrollbar-track,
    .modal-body::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }
    
    .service-card::-webkit-scrollbar-thumb,
    .card::-webkit-scrollbar-thumb,
    .modal-body::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, #FF6B35 0%, #F7931E 100%);
        border-radius: 4px;
        border: 1px solid rgba(255, 255, 255, 0.3);
    }
    
    .service-card::-webkit-scrollbar-thumb:hover,
    .card::-webkit-scrollbar-thumb:hover,
    .modal-body::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(180deg, #F7931E 0%, #FF6B35 100%);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }
}

/* Navigation - Con efecto glassmorphism blanco */
.navbar {
    background: rgba(255, 255, 255, 0.85) !important;
    padding: 12px 0;
    transition: all 0.3s ease;
    top: 0 !important;
    z-index: 1050 !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* Ensure content doesn't hide behind fixed navbar */
body {
    padding-top: 0;
}

/* Add proper spacing for sections to prevent content hiding behind navbar */
section {
    scroll-margin-top: 80px;
}

/* Specific adjustment for hero section to account for fixed navbar */
#home {
    margin-top: 0;
    padding-top: 90px;
}

/* Navbar Language Dropdown */
.navbar-lang-dropdown {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--primary-color) !important;
    border-radius: 20px;
    font-size: 0.8rem;
    padding: 6px 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.navbar-lang-dropdown:hover,
.navbar-lang-dropdown:focus,
.navbar-lang-dropdown.show {
    background: rgba(255, 255, 255, 1);
    border-color: var(--primary-color);
    color: var(--primary-color) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.navbar-lang-dropdown::after {
    margin-left: 8px;
}

.navbar-lang-menu {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    min-width: 140px;
    margin-top: 8px;
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
}

.navbar-lang-menu .dropdown-item {
    color: var(--text-dark);
    font-size: 0.85rem;
    padding: 8px 15px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.navbar-lang-menu .dropdown-item:hover {
    background: var(--primary-color);
    color: white;
}

.navbar-lang-menu .dropdown-item.active {
    background: var(--secondary-color);
    color: white;
    font-weight: 600;
}

.navbar-lang-menu .dropdown-item i {
    color: var(--primary-color);
    width: 16px;
}

.navbar-lang-menu .dropdown-item:hover i,
.navbar-lang-menu .dropdown-item.active i {
    color: white;
}

/* Flag Icons for Language Selector */
.flag-icon {
    display: inline-block;
    width: 20px;
    height: 15px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.flag-icon-es {
    background-image: url('../images/spain.png');
}

.flag-icon-us {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIwMCIgaGVpZ2h0PSI2MzAiIHZpZXdCb3g9IjAgMCAxMjAwIDYzMCIgZmls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2N3oiLz4KPHBhdGggZD0iTTExNS41IDU4aC03di03aDd2N3oiLz4KPHBhdGggZD0iTTExNS41IDUxaC03di03aDd2N3oiLz4KPHBhdGggZD0iTTExNS41IDQ0aC03di03aDd2N3oiLz4KPHBhdGggZD0iTTExNS41IDM3aC03di03aDd2N3oiLz4KPHBhdGggZD0iTTExNS41IDMwaC03di03aDd2N3oiLz4KPC9nPgo8L3N2Zz4K');
}

.navbar-lang-menu .dropdown-item:hover .flag-icon,
.navbar-lang-menu .dropdown-item.active .flag-icon {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

/* Ensure dropdown text is visible */
.navbar-lang-menu .dropdown-item {
    color: #333 !important;
    font-weight: 500;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar-lang-menu .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #333 !important;
}

.navbar-lang-menu .dropdown-item.active {
    background-color: #e9ecef;
    color: #333 !important;
}

/* Notification Toggle Styles */
.notification-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
    padding: 18px 24px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(15px);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.notification-toggle.show {
    transform: translateX(0);
}

.notification-toggle.success {
    background: rgba(40, 167, 69, 0.85);
    color: white;
    border-left: 4px solid #28a745;
}

.notification-toggle.error {
    background: rgba(220, 53, 69, 0.85);
    color: white;
    border-left: 4px solid #dc3545;
}

.notification-toggle.info {
    background: rgba(23, 162, 184, 0.85);
    color: white;
    border-left: 4px solid #17a2b8;
}

.notification-toggle .notification-icon {
    margin-right: 10px;
    font-size: 1.1rem;
}

.notification-toggle .notification-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: none;
    border: none;
    color: inherit;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.notification-toggle .notification-close:hover {
    opacity: 1;
}

/* Navbar Search */
.navbar-search-input {
    width: 160px;
    height: 28px;
    font-size: 0.8rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 4px 12px;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.navbar-search-input:focus {
    background: white;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.15rem rgba(0, 102, 204, 0.2);
    outline: none;
}

.navbar-search-btn {
    height: 28px;
    width: 28px;
    padding: 0;
    border-radius: 50%;
    font-size: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    margin-left: 8px;
}

.navbar-search-btn:hover {
    background: rgba(255, 255, 255, 1);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.navbar-logo {
    height: 55px;
    width: auto;
    max-width: 200px;
    transition: all 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: #2C3E50 !important;
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: #34495E !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--light-turquoise);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Navbar Toggler para glassmorphism */
.navbar-toggler {
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.1);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.7)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Parallax Sections */
.parallax-section {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: -1;
}

.parallax-bg-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark-turquoise), var(--primary-color), var(--secondary-color));
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite reverse;
    z-index: -1;
}

.parallax-bg-3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color), var(--light-turquoise));
    background-size: 400% 400%;
    animation: gradientShift 18s ease infinite;
    z-index: -1;
}

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

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 70px;
    background: var(--primary-color);
    z-index: 1;
}

/* Custom min-vh-60 class for 80% viewport height */
.min-vh-60 {
    min-height: 80vh !important;
}

/* CAPTCHA Styles */
.captcha-container {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    max-width: 350px;
}

.captcha-challenge {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #495057;
}

.captcha-math {
    background: #ffffff;
    padding: 6px 12px;
    border: 2px solid #71B39E;
    border-radius: 4px;
    font-weight: bold;
    color: #2C3E50;
    min-width: 60px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    font-size: 0.9rem;
}

.captcha-input-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

.captcha-input {
    flex: 1;
    max-width: 150px;
    font-size: 0.9rem;
}

.captcha-refresh {
    padding: 6px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.captcha-refresh:hover {
    background-color: #71B39E;
    border-color: #71B39E;
    color: white;
}

.captcha-refresh:focus {
    box-shadow: 0 0 0 0.2rem rgba(113, 179, 158, 0.25);
}

/* Responsive CAPTCHA */
@media (max-width: 768px) {
    .captcha-container {
        margin: 0 -5px;
        border-radius: 6px;
    }
    
    .captcha-challenge {
        font-size: 0.9rem;
        flex-direction: column;
        gap: 10px;
        padding: 8px;
    }
    
    .captcha-math {
        min-width: 50px;
        padding: 6px 10px;
        font-size: 0.9rem;
    }
    
    .captcha-input-group {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .captcha-input {
        max-width: none;
        width: 100%;
        font-size: 16px;
        padding: 8px 10px;
    }
    
    .captcha-refresh {
        width: 100%;
        padding: 8px;
        font-size: 0.9rem;
    }
    
    .request-section .card {
        max-width: 100%;
        padding: 15px;
        margin: 10px 0;
    }
    
    .request-section .form-control,
    .request-section .form-select {
        font-size: 16px; /* Evita zoom en iOS */
        padding: 10px 12px;
    }
    
    .request-section .form-label {
        font-size: 0.85rem;
    }
    
    .request-section textarea.form-control {
        min-height: 100px;
    }
}

.hero-title {
    color: #FFFFFF !important;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8), 1px 1px 3px rgba(0, 0, 0, 0.9);
    position: relative;
    z-index: 10;
}

.hero-subtitle {
    font-size: 1.75rem;
    font-weight: 500;
    opacity: 0.95;
    color: #FFFFFF !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7), 1px 1px 2px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 10;
}

.coral-text {
    color: #FF3E3E !important;
}

.hero-description {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.6;
    color: #FFFFFF !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7), 1px 1px 2px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 10;
}

.hero-icon {
    font-size: 8rem;
    color: var(--white);
    opacity: 0.8;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Hero Image Icon with Animation */
.hero-image-icon {
    width: 500px;
    height: auto;
    max-width: 100%;
    opacity: 0;
    transform: translateY(50px) scale(0.8);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
   /*  animation: floatAnimation 3s ease-in-out infinite; */
}

/* Animation when the element becomes visible */
.hero-image-icon.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Floating animation */
@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-image-icon {
        width: 250px;
    }
}

@media (max-width: 576px) {
    .hero-image-icon {
        width: 200px;
    }
}

/* Services Section */
.services-section {
    padding: 60px 0;
    position: relative;
    background: rgba(248, 249, 250, 0.9);
}

.services-section.services-bg-pattern {
    /* Background is defined in background-patterns.css */
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(248, 249, 250, 0.8);
    z-index: -1;
}

.services-section.services-bg-pattern::before {
    /* Override the background for services-bg-pattern */
    background: transparent !important;
    z-index: 0;
}

/* OUR SERVICES */
/* Direct grid pattern for services section ONLY */
.services-section.services-bg-pattern {
    background: linear-gradient(135deg, #147699 0%, #4967d3 50%, #124e80 100%);
    position: relative;
    overflow: hidden;
    isolation: isolate; /* Crear un nuevo contexto de apilamiento */
}

.services-section.services-bg-pattern::after {
    content: '';
    position: absolute;
    top: -1500px;
    left: -1500px;
    right: -1500px;
    bottom: -1500px;
    background-image: 
        linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 20px 20px;
    transform: rotate(15deg);
    animation: gridMove 60s linear infinite;
    z-index: 0;
    pointer-events: none;
}

.services-section.services-bg-pattern::before {
    content: '';
    position: absolute;
    top: -1200px;
    left: -1200px;
    right: -1200px;
    bottom: -1200px;
    background-image: 
        linear-gradient(45deg, rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(-45deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 15px 15px;
    transform: rotate(5deg);
    animation: gridMoveSecondary 45s linear infinite;
    z-index: 0;
    pointer-events: none;
}

.services-section.services-bg-pattern .grid-overlay {
    content: '';
    position: absolute;
    top: -1800px;
    left: -1800px;
    right: -1800px;
    bottom: -1800px;
    background-image: 
        linear-gradient(30deg, rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(-30deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 10px 10px;
    transform: rotate(0deg);
    animation: gridMoveTertiary 75s linear infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes gridMove {
    0% { transform: rotate(15deg) translateX(0px) translateY(0px); }
    25% { transform: rotate(15deg) translateX(-50px) translateY(0px); }
    50% { transform: rotate(15deg) translateX(-100px) translateY(0px); }
    75% { transform: rotate(15deg) translateX(-150px) translateY(0px); }
    100% { transform: rotate(15deg) translateX(-200px) translateY(0px); }
}

@keyframes gridMoveSecondary {
    0% { transform: rotate(5deg) translateX(0px) translateY(0px); }
    25% { transform: rotate(5deg) translateX(40px) translateY(0px); }
    50% { transform: rotate(5deg) translateX(80px) translateY(0px); }
    75% { transform: rotate(5deg) translateX(120px) translateY(0px); }
    100% { transform: rotate(5deg) translateX(160px) translateY(0px); }
}

@keyframes gridMoveTertiary {
    0% { transform: rotate(0deg) translateX(0px) translateY(0px); }
    25% { transform: rotate(0deg) translateX(-30px) translateY(0px); }
    50% { transform: rotate(0deg) translateX(-60px) translateY(0px); }
    75% { transform: rotate(0deg) translateX(-90px) translateY(0px); }
    100% { transform: rotate(0deg) translateX(-120px) translateY(0px); }
}

.services-section .container {
    position: relative;
    z-index: 100;
    padding-top: 20px;
}

/* Services Section Title Styling */
.services-section h2 {
    color: var(--primary-color) !important;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
    font-weight: 800;
}

.services-section.services-bg-pattern h2 {
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.services-section .lead {
    color: var(--text-dark) !important;
    opacity: 0.8;
}

.services-section.services-bg-pattern .lead {
    color: white !important;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: var(--secondary-color);
}

.service-card h4 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.service-brief {
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-details {
    text-align: left;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
}

.service-details p {
    color: var(--text-dark);
    margin-bottom: 15px;
}

.service-details ul {
    list-style: none;
    padding: 0;
}

.service-details li {
    color: var(--text-light);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.service-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Request Service Section - COMENTADO para usar force-request-bg.css */
/*
.request-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #A8E6CF 0%, #F5F0EC 100%) !important;
    position: relative;
    overflow: hidden;
}

.request-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #A8E6CF 0%, #F5F0EC 100%);
    z-index: 1;
    animation: gradientShift 8s ease-in-out infinite;
}
*/

.request-section .container {
    position: relative;
    z-index: 3;
}

.request-section .card {
    position: relative;
    z-index: 4;
}

.request-section .card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 50px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 4;
}

.request-section .form-control,
.request-section .form-select {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.95);
    color: #2C3E50;
    font-weight: 500;
}

.request-section .form-control::placeholder,
.request-section .form-select::placeholder {
    color: #6c757d;
    opacity: 0.8;
}

.request-section textarea.form-control {
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
}

.request-section .form-control:focus,
.request-section .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    background: rgba(255, 255, 255, 1);
    outline: none;
    transform: translateY(-1px);
}

.request-section .form-label {
    color: #2C3E50;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.request-section .btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 10px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    font-size: 0.95rem;
}

.request-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2, #667eea);
    color: #FFFFFF;
}

/* Enhanced animations for request section */
.request-section h2 {
    animation: slideInFromLeft 1s ease-out;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 3;
}

.request-section .lead {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 3;
}

.request-section p {
    animation: slideInFromLeft 1s ease-out 0.3s both;
}

.request-section .card {
    animation: slideInFromLeft 1s ease-out 0.6s both;
}

.request-section .btn-primary {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.request-section .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.request-section .btn-primary:hover::before {
    left: 100%;
}

/* Careers Section */
.interpreter-section {
    padding: 100px 0;
    position: relative;
}

.interpreter-section.interpreter-bg-pattern {
    /* Background is defined in background-patterns.css */
}



.interpreter-icon {
    font-size: 6rem;
    color: var(--white);
    opacity: 0.9;
    animation: pulse 4s ease-in-out infinite, float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255,255,255,0.3));
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
        filter: drop-shadow(0 0 20px rgba(255,255,255,0.3));
    }
    50% { 
        transform: scale(1.05); 
        filter: drop-shadow(0 0 30px rgba(255,255,255,0.5));
    }
}

/* Enhanced animations for interpreter section */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px); 
    }
    50% { 
        transform: translateY(-10px); 
    }
}

.feature-item {
    text-align: center;
    margin-bottom: 30px;
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 15px;
}

.feature-item h5 {
    color: var(--white);
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-item p {
    color: var(--white);
    opacity: 0.9;
}

/* Clients Section */
.clients-section {
    padding: 100px 0;
    background: none !important; /* Remove default background to show pattern */
}

.clients-section.clients-bg-pattern {
    /* Background is defined in background-patterns.css */
}

.client-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.client-logo {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.client-card:hover .client-logo {
    transform: scale(1.1);
    color: var(--secondary-color);
}

.client-card h5 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.client-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 60px 0;
    background: none !important; /* Remove default background to show pattern */
    position: relative;
}

.contact-section.contact-bg-pattern {
    /* Background is defined in background-patterns.css */
}

.contact-section.services-bg-pattern {
    /* Background is defined in background-patterns.css */
}

.contact-section.contact-yellow-pattern {
    /* Background is defined in background-patterns.css */
}

/* Contact Section with Services Pattern - Orange background */
.contact-section.services-bg-pattern h2 {
    color: white !important;
        color: #2C3E50 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-section.services-bg-pattern .lead {
    color: white !important;
            color: #2C3E50 !important;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Contact Section with Yellow Pattern */
.contact-section.contact-yellow-pattern h2 {
    color: #2C3E50 !important;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
    font-weight: 900;
}

.contact-section.contact-yellow-pattern .lead {
    color: #2C3E50 !important;
    opacity: 0.8;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
    font-weight: 600;
}

/* Make form semi-transparent to show background pattern */
.contact-section.contact-yellow-pattern .card {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37) !important;
    position: relative;
    z-index: 100;
}

/* Ensure all pattern section containers have proper z-index */
.contact-section.contact-yellow-pattern .container,
.hero-section.hero-bg-pattern .container,
.services-section.services-bg-pattern .container,
.interpreter-section.interpreter-bg-pattern .container,
.clients-section.clients-bg-pattern .container {
    position: relative;
    z-index: 100;
}

/* Request section usa un z-index diferente porque tiene imagen de fondo */
.request-section.request-bg-pattern .container {
    position: relative;
    z-index: 2;
}

.contact-item {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

/* Permitir que toda la tarjeta sea clickeable manteniendo estilos */
.contact-card-link {
    display: flex !important;
    align-items: flex-start;
    gap: 15px;
    text-decoration: none !important;
    color: inherit !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 10000 !important;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px;
    transition: all 0.3s ease;
    pointer-events: auto !important;
}

.contact-card-link:hover {
    text-decoration: none !important;
    transform: translateX(10px) translateY(-5px);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
    color: var(--secondary-color);
}

/* New Contact Section Styles - COMENTADO para usar force-contact-bg.css */
/*
.contact-section.contact-bg-pattern {
    background: linear-gradient(135deg, #147699 0%, #4967d3 50%, #124e80 100%);
    position: relative;
    overflow: hidden;
    z-index: 30;
}

/* Asegurar que la sección de contacto NO tenga el patrón de cuadros de servicios */
.contact-section.contact-bg-pattern::after {
    display: none !important;
}
*/

/* Contact Header Styles - Same color as section 1 */
.contact-header h2 {
    color: #2C3E50 !important;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.contact-header p {
    color: #2C3E50 !important;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.6);
}

/* .contact-section.contact-bg-pattern::after - COMENTADO para usar force-contact-bg.css */
/*
.contact-section.contact-bg-pattern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    transform: rotate(3deg);
    animation: gridMove 25s linear infinite;
    z-index: 0;
}
*/

.contact-info-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 100; /* sobre la imagen */
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.contact-info-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

/* Estilos base para .contact-item - aplicados a través de .contact-card-link */

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(113, 179, 158, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-card-link:hover .contact-icon {
    background: rgba(113, 179, 158, 1);
    transform: scale(1.2) rotate(5deg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Animación de pulso para los iconos */
@keyframes iconPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.contact-card-link:hover .contact-icon i {
    animation: iconPulse 1s ease-in-out infinite;
}

/* Asegurar que los enlaces sean completamente clickeables */
.contact-card-link * {
    pointer-events: none !important; /* Los elementos hijos no interfieren */
}

.contact-card-link {
    pointer-events: auto !important; /* Solo el enlace principal es clickeable */
}

/* Máxima prioridad para elementos de contacto */
.contact-info-card .contact-card-link {
    z-index: 99999 !important;
    pointer-events: auto !important;
    position: relative !important;
}

/* Eliminar cualquier overlay de AOS que pueda interferir */
[data-aos="fade-right"] {
    pointer-events: auto !important;
}

[data-aos="fade-right"] * {
    pointer-events: auto !important;
}

/* Cursor pointer visible en toda la tarjeta */
.contact-card-link,
.contact-card-link:hover,
.contact-card-link:focus {
    cursor: pointer !important;
}

/* Prevenir interferencia de AOS */
[data-aos="fade-right"] .contact-info-card,
[data-aos="fade-right"] .contact-card-link {
    pointer-events: auto !important;
    position: relative;
    z-index: 999 !important;
}

/* Área clickeable visible - sin debug */

.contact-details h5 {
    font-weight: 600;
    margin-bottom: 5px;
    color: #2C3E50 !important;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.contact-details p {
    font-size: 1rem;
    margin-bottom: 2px;
    color: #2C3E50 !important;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.6);
}

.contact-details p a {
    color: #2C3E50 !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-details p a:hover {
    color: var(--primary-color) !important;
    text-decoration: underline;
}

.contact-details small {
    font-size: 0.85rem;
    opacity: 0.9;
    color: #2C3E50 !important;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.6);
}

.contact-image-container {
    position: relative;
    z-index: 1; /* por debajo de las tarjetas */
}

.contact-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 50;
}

.contact-image:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.contact-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: all 0.3s ease;
    position: relative;
    z-index: 60;
}

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

.contact-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(113, 179, 158, 0.3), rgba(113, 179, 158, 0.1));
    z-index: 1;
    border-radius: 20px;
}

.contact-item h5 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-item p {
    color: var(--text-light);
    margin-bottom: 5px;
}

/* Footer */
.footer-section {
    background: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-section h5,
.footer-section h6 {
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section p {
    color: var(--light-gray);
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-links {
    margin-top: 20px;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.newsletter-form .form-control {
    border-radius: 25px 0 0 25px;
    border: 2px solid var(--light-gray);
}

.newsletter-form .btn {
    border-radius: 0 25px 25px 0;
    background: var(--primary-color);
    border: none;
    padding: 12px 20px;
}

.newsletter-form .btn:hover {
    background: var(--secondary-color);
}

/* Footer Contact Info */
.contact-info-title {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-info-item {
    color: var(--light-gray);
    font-size: 0.9rem;
    margin-bottom: 12px;
    line-height: 1.5;
}

.contact-info-item strong {
    color: var(--white);
    font-weight: 600;
}

.contact-info-item a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-item a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Footer bottom links alignment */
.footer-section .text-muted {
    color: var(--white) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section .text-muted:hover {
    color: var(--primary-color) !important;
}

/* Align footer bottom links more to the left */
.footer-section .col-md-6.text-md-end {
    text-align: left !important;
}

@media (min-width: 768px) {
    .footer-section .col-md-6.text-md-end {
        text-align: left !important;
        padding-left: 0;
    }
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #2C3E50, #34495E);
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.3);
    background: linear-gradient(135deg, #34495E, #2C3E50);
    color: #FFFFFF;
}

.btn-outline-light {
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #2C3E50;
    color: #2C3E50;
    background: transparent;
}

.btn-outline-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.2);
    background: #2C3E50;
    color: #FFFFFF;
    border-color: #2C3E50;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        top: 0 !important;
        padding: 8px 0;
    }
    
    #home {
        padding-top: 100px;
    }
    
    section {
        scroll-margin-top: 90px;
    }
    
    .navbar-search-input {
        width: 100px;
        height: 26px;
        font-size: 0.75rem;
    }
    
    .navbar-search-btn {
        height: 26px;
        width: 26px;
        font-size: 0.7rem;
    }
    
    .navbar-lang-dropdown {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
    
    .navbar-logo {
        height: 45px;
    }
    
    .navbar-lang-menu {
        min-width: 120px;
    }
    
    .navbar-lang-menu .dropdown-item {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .hero-section {
        min-height: 80vh;
        padding-top: 80px;
        text-align: center;
    }
    
    .min-vh-60 {
        min-height: 70vh !important;
    }
    
    .hero-title {
        font-size: 2.5rem;
        color: #FFFFFF !important;
        text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8), 1px 1px 3px rgba(0, 0, 0, 0.9);
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
        color: #FFFFFF !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7), 1px 1px 2px rgba(0, 0, 0, 0.8);
    }
    
    .hero-description {
        font-size: 1.1rem;
        color: #FFFFFF !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7), 1px 1px 2px rgba(0, 0, 0, 0.8);
    }
    
    .hero-icon {
        font-size: 4rem;
    }
    
    .interpreter-icon {
        font-size: 3rem;
    }
    
    .service-card,
    .client-card,
    .contact-item {
        margin-bottom: 30px;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    /* Contact section mobile adjustments */
    .contact-details p {
        font-size: 0.9rem;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    .contact-card-link {
        padding: 12px;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 70vh;
        padding-top: 110px;
    }
    
    .min-vh-60 {
        min-height: 60vh !important;
    }
    
    #home {
        padding-top: 110px;
    }
    
    section {
        scroll-margin-top: 100px;
    }
    
    .navbar-search-input {
        width: 80px;
        height: 24px;
        font-size: 0.7rem;
    }
    
    .navbar-search-btn {
        height: 24px;
        width: 24px;
        font-size: 0.65rem;
    }
    
    .navbar-lang-dropdown {
        font-size: 0.7rem;
        padding: 3px 6px;
    }
    
    .navbar-logo {
        height: 40px;
        max-width: 150px;
    }
    
    .hero-title {
        font-size: 2rem;
        color: #FFFFFF !important;
        text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8), 1px 1px 3px rgba(0, 0, 0, 0.9);
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        color: #FFFFFF !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7), 1px 1px 2px rgba(0, 0, 0, 0.8);
    }
    
    .hero-description {
        font-size: 1rem;
        color: #FFFFFF !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7), 1px 1px 2px rgba(0, 0, 0, 0.8);
    }
    
    .display-3 {
        font-size: 2rem
    }
    
    .display-4 {
        font-size: 1.75rem;
    }
    
    .btn-lg {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .d-flex {
        margin-top: 8px !important;
        justify-content: center;
    }
    
    /* Contact section small mobile adjustments */
    .contact-details p {
        font-size: 0.8rem;
        word-break: break-word;
        overflow-wrap: break-word;
        line-height: 1.3;
    }
    
    .contact-card-link {
        padding: 10px;
        gap: 10px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .contact-details h5 {
        font-size: 0.9rem;
        margin-bottom: 3px;
    }
    
    .contact-details small {
        font-size: 0.75rem;
    }
    
    .dropdown {
        margin-bottom: 8px;
    }
    
    .navbar-collapse {
        text-align: center;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar - ELIMINADO - Usando los nuevos estilos personalizados arriba */

/* Focus States */
.btn:focus,
.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 0.2rem rgba(32, 178, 170, 0.25);
}

/* Print Styles */
@media print {
    .navbar,
    .language-selector,
    .footer-section {
        display: none;
    }
    
    body {
       /*  color: black; */
        background: white;
    }
} /* Cache Buster: 20250803_185754 */
/* Contact style updated: 20250803_202800 */

/* Hero Slider Styles */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    max-height: 100vh;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    transform: scale(1.05);
    transition: opacity 0.6s ease-in-out, transform 4s ease-in-out;
}

.slider-slide.active {
    opacity: 1;
    transform: scale(1);
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(113, 179, 158, 0.75) 0%, 
        rgba(113, 179, 158, 0.6) 50%, 
        rgba(113, 179, 158, 0.45) 100%);
    z-index: 2;
}

/* Slider Navigation Dots - Ocultos */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: none; /* Ocultar los círculos del slider */
    gap: 15px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.2);
    padding: 12px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.slider-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.slider-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: transparent;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 1);
    transform: scale(1.4);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

.slider-dot.active::before {
    background: rgba(113, 179, 158, 1);
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 1);
    transform: scale(1.3);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

/* Slider Navigation Arrows - ELIMINADAS */

/* Ensure content is above slider */
.hero-section .container {
    position: relative;
    z-index: 5;
    padding-bottom: 60px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-slider {
        max-height: 100vh;
        min-height: 80vh;
    }
    
    .slider-dots {
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        gap: 10px;
        padding: 10px 15px;
    }
    
    .slider-dot {
        width: 12px;
        height: 12px;
    }
    
    .slider-dot::before {
        width: 5px;
        height: 5px;
    }
}

@media (max-width: 576px) {
    .hero-slider {
        max-height: 100vh;
        min-height: 70vh;
    }
    
    .slider-dots {
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
        gap: 8px;
        padding: 8px 12px;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
    }
    
    .slider-dot::before {
        width: 4px;
        height: 4px;
    }
}

/* Ajustes responsivos para tipografías y desbordes en móvil */
@media (max-width: 576px) {
    .interpreter-section .display-4 {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    .interpreter-section .lead {
        font-size: 1rem;
    }
    .interpreter-section .btn.btn-lg {
        font-size: 1rem;
        padding: 0.6rem 1rem;
    }
    .contact-section .contact-details small {
        font-size: 0.9rem;
    }
    .interpreter-icon {
        font-size: 2.5rem;
    }
    /* limpiar estilos previos del icono móvil eliminado */
    .services-section .display-4 {
        font-size: 1.75rem;
    }
    .services-section .lead {
        font-size: 1rem;
    }

    /* Alinear icono de 3 muñequitos junto al botón en móvil */
    .interpreter-apply-wrap {
        display: inline-flex;
        align-items: center;
        gap: .75rem;
    }
    .interpreter-inline-icon {
        font-size: 1.9rem;
        color: #fff;
    }
    
    /* Reducir tamaño de fuente del email en móvil para evitar desbordamiento */
    .contact-section .contact-details p {
        font-size: 0.85rem !important;
        word-break: break-all;
    }
}
