/* Space Grotesk Font */
@font-face {
    font-family: 'Space Grotesk';
    src: url('../fonts/Space_Grotesk/static/SpaceGrotesk-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Space Grotesk';
    src: url('../fonts/Space_Grotesk/static/SpaceGrotesk-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Space Grotesk';
    src: url('../fonts/Space_Grotesk/static/SpaceGrotesk-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Space Grotesk';
    src: url('../fonts/Space_Grotesk/static/SpaceGrotesk-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Space Grotesk';
    src: url('../fonts/Space_Grotesk/static/SpaceGrotesk-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Base styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #0F0F0F;
    color: #ffffff;
    line-height: 1.7; /* Aumentado desde 1.6 para mejor legibilidad */
    font-size: 18px; /* Tamaño base más grande para mejor accesibilidad */
}

/* Font families */
.font-guru {
    font-family: 'Space Grotesk', Arial, sans-serif;
}

/* Background color classes */
.bg-green-guru { background-color: #E1FF2D; }
.bg-black-guru { background-color: #000000; }
.bg-white-guru { background-color: #ffffff; }
.bg-grey-shades-6 { background-color: #0F0F0F; }
.bg-grey-shades-10 { background-color: #1A1A1A; }
.bg-grey-shades-12 { background-color: #1F1F1F; }
.bg-grey-shades-15 { background-color: #262626; }
.bg-grey-shades-20 { background-color: #333333; }
.bg-grey-shades-25 { background-color: #404040; }
.bg-grey-shades-30 { background-color: #ACACAC; }
.bg-grey-shades-40 { background-color: #666666; }
.bg-grey-shades-50 { background-color: #403F3F; }
.bg-grey-shades-60 { background-color: #808080; }

/* Text color classes */
.text-green-guru { color: #E1FF2D; }
.text-black-guru { color: #000000; }
.text-white-guru { color: #ffffff; }
.text-grey-shades-6 { color: #0F0F0F; }
.text-grey-shades-10 { color: #1A1A1A; }
.text-grey-shades-12 { color: #1F1F1F; }
.text-grey-shades-15 { color: #262626; }
.text-grey-shades-20 { color: #333333; }
.text-grey-shades-25 { color: #404040; }
.text-grey-shades-30 { color: #ACACAC; }
.text-grey-shades-40 { color: #666666; }
.text-grey-shades-50 { color: #403F3F; }
.text-grey-shades-60 { color: #808080; }

/* Border color classes */
.border-grey-shades-25 { border-color: #404040; }
.border-grey-shades-60 { border-color: #808080; }

/* Hover states */
.hover\:text-green-guru:hover { color: #E1FF2D; }
.hover\:text-white-guru:hover { color: #ffffff; }
.hover\:bg-grey-shades-15:hover { background-color: #262626; }
.hover\:bg-grey-shades-20:hover { background-color: #333333; }
.hover\:bg-grey-shades-50:hover { background-color: #403F3F; }
.hover\:bg-black-guru:hover { background-color: #000000; }
.hover\:border-green-guru:hover { border-color: #E1FF2D; }

/* Gradient backgrounds */
.bg-gradient-to-b {
    background-image: linear-gradient(to bottom, var(--tw-gradient-from), var(--tw-gradient-to));
}

.from-grey-shades-50 {
    --tw-gradient-from: #403F3F;
}

.to-grey-shades-6 {
    --tw-gradient-to: #0F0F0F;
}

.from-grey-shades-10 {
    --tw-gradient-from: #1A1A1A;
}

.from-grey-shades-6 {
    --tw-gradient-from: #0F0F0F;
}

.to-grey-shades-50 {
    --tw-gradient-to: #403F3F;
}

/* Backdrop blur */
.backdrop-blur-md {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Transitions */
.transition-all {
    transition: all 0.3s ease;
}

.duration-300 {
    transition-duration: 300ms;
}

.ease-in-out {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Grid and layout */
.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-rows-\[auto_1fr_auto\] {
    grid-template-rows: auto 1fr auto;
}

.gap-8 {
    gap: 2rem;
}

.gap-5 {
    gap: 1.25rem;
}

/* Flexbox */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

.flex-col-reverse {
    flex-direction: column-reverse;
}

.flex-wrap {
    flex-wrap: wrap;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-around {
    justify-content: space-around;
}

.flex-1 {
    flex: 1 1 0%;
}

/* Positioning */
.fixed {
    position: fixed;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.top-0 {
    top: 0;
}

.left-0 {
    left: 0;
}

.right-0 {
    right: 0;
}

.bottom-0 {
    bottom: 0;
}

.bottom-\[-20px\] {
    bottom: -20px;
}

.bottom-\[-25px\] {
    bottom: -25px;
}

.left-1\/2 {
    left: 50%;
}

.z-50 {
    z-index: 50;
}

.transform {
    transform: translateX(-50%);
}

.-translate-x-1\/2 {
    transform: translateX(-50%);
}

/* Sizing */
.w-full {
    width: 100%;
}

.w-6 {
    width: 1.5rem;
}

.w-12 {
    width: 3rem;
}

.w-3 {
    width: 0.75rem;
}

.w-20 {
    width: 5rem;
}

.w-\[90\%\] {
    width: 90%;
}

.w-\[80\%\] {
    width: 80%;
}

.w-\[150px\] {
    width: 150px;
}

.h-full {
    height: 100%;
}

.h-\[2px\] {
    height: 2px;
}

.h-12 {
    height: 3rem;
}

.h-\[305px\] {
    height: 305px;
}

.h-\[150px\] {
    height: 150px;
}

.min-h-screen {
    min-height: 100vh;
}

.min-h-\[500px\] {
    min-height: 500px;
}

.min-h-\[300px\] {
    min-height: 300px;
}

.min-h-\[100px\] {
    min-height: 100px;
}

.min-h-\[200px\] {
    min-height: 200px;
}

.max-w-\[90\%\] {
    max-width: 90%;
}

.max-w-\[60\%\] {
    max-width: 60%;
}

.max-w-\[70\%\] {
    max-width: 70%;
}

.max-w-\[80\%\] {
    max-width: 80%;
}

.max-w-128 {
    max-width: 32rem;
}

/* Margins and padding */
.m-auto {
    margin: auto;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.my-\[6px\] {
    margin-top: 6px;
    margin-bottom: 6px;
}

.my-\[15px\] {
    margin-top: 15px;
    margin-bottom: 15px;
}

.my-auto {
    margin-top: auto;
    margin-bottom: auto;
}

.mx-2 {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.m-2 {
    margin: 0.5rem;
}

.m-1 {
    margin: 0.25rem;
}

.mt-10 {
    margin-top: 2.5rem;
}

.mt-16 {
    margin-top: 4rem;
}

.mt-20 {
    margin-top: 5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-12 {
    margin-top: 3rem;
}

.mt-\[200px\] {
    margin-top: 200px;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-5 {
    margin-bottom: 1.25rem;
}

.mb-10 {
    margin-bottom: 2.5rem;
}

.mb-\[15px\] {
    margin-bottom: 15px;
}

.mb-\[-50px\] {
    margin-bottom: -50px;
}

.mb-0 {
    margin-bottom: 0;
}

.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.p-2 {
    padding: 0.5rem;
}

.p-1 {
    padding: 0.25rem;
}

.p-\[2px\] {
    padding: 2px;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.px-\[20px\] {
    padding-left: 20px;
    padding-right: 20px;
}

.px-\[6px\] {
    padding-left: 6px;
    padding-right: 6px;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-\[10px\] {
    padding-top: 10px;
    padding-bottom: 10px;
}

.pt-4 {
    padding-top: 1rem;
}

.pt-16 {
    padding-top: 4rem;
}

.pt-20 {
    padding-top: 5rem;
}

.pt-\[130px\] {
    padding-top: 130px;
}

/* Typography */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-\[64px\] {
    font-size: 64px;
}

.text-\[48px\] {
    font-size: 48px;
}

.text-\[25px\] {
    font-size: 25px;
}

.text-\[24px\] {
    font-size: 24px;
}

.text-\[18px\] {
    font-size: 18px;
}

.text-\[16px\] {
font-size: 18px; /* Aumentado desde 16px para mejor legibilidad */
}

.text-\[14px\] {
font-size: 18px; /* Aumentado desde 14px para mejor legibilidad */
}

.text-\[11px\] {
font-size: 16px; /* Aumentado desde 11px para mejor legibilidad */
}

.text-3xl {
font-size: 1.875rem;
}

.text-5xl {
font-size: 3rem;
}

.text-6xl {
font-size: 3.75rem;
}

.text-8xl {
font-size: 6rem;
}

.text-sm {
font-size: 1rem; /* Aumentado desde 0.875rem (14px) a 16px para mejor legibilidad */
}

.font-light {
    font-weight: 300;
}

.font-normal {
    font-weight: 400;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

/* Borders */
.border {
    border-width: 1px;
}

.border-b {
    border-bottom-width: 1px;
}

.border-y-\[1px\] {
    border-top-width: 1px;
    border-bottom-width: 1px;
}

.rounded-\[10px\] {
    border-radius: 10px;
}

.rounded-\[25px\] {
    border-radius: 25px;
}

.rounded-full {
    border-radius: 9999px;
}

/* Display */
.hidden {
    display: none;
}

.block {
    display: block;
}

.inline {
    display: inline;
}

.inline-block {
    display: inline-block;
}

.inline-flex {
    display: inline-flex;
}

/* Object fit */
.object-cover {
    object-fit: cover;
}

/* Overflow */
.overflow-hidden {
    overflow: hidden;
}

/* Cursor */
.cursor-pointer {
    cursor: pointer;
}

.cursor-not-allowed {
    cursor: not-allowed;
}

/* Opacity */
.opacity-50 {
    opacity: 0.5;
}

.opacity-0 {
    opacity: 0;
}

.opacity-100 {
    opacity: 1;
}

/* Focus */
.focus\:outline-none:focus {
    outline: none;
}

/* Custom button styles */
.btn-green {
    background-color: #E1FF2D;
    color: #000000;
    padding: 0.875rem 2rem; /* Aumentado padding para mejor accesibilidad */
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex; /* Cambiado a inline-flex para mejor alineación */
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid #E1FF2D;
    cursor: pointer;
    min-height: 44px; /* Altura mínima para accesibilidad */
    font-size: 18px; /* Tamaño de fuente accesible */
    text-align: center;
    line-height: 1.4;
}

.btn-green:hover {
    background-color: #ffffff;
    color: #000000;
    border-color: #E1FF2D;
}

/* SVG styles */
.st0 {
    fill: #E1FF2D;
}

/* Menu animation */
.menu-icon {
    transition: all 0.3s ease;
}

.menu-icon.menu-open:nth-child(1) {
    transform: rotate(45deg) translateY(7px);
}

.menu-icon.menu-open:nth-child(2) {
    opacity: 0;
}

.menu-icon.menu-open:nth-child(3) {
    transform: rotate(-45deg) translateY(-7px);
    width: 1.5rem;
}

/* Responsive design */
@media (min-width: 768px) {
    .md\:grid {
        display: grid;
    }
    
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .md\:flex {
        display: flex;
    }
    
    .md\:hidden {
        display: none;
    }
    
    .md\:text-left {
        text-align: left;
    }
    
    .md\:text-white-guru {
        color: #ffffff;
    }
    
    .md\:hover\:bg-black-guru:hover {
        background-color: #000000;
    }
    
    .md\:hover\:text-white-guru:hover {
        color: #ffffff;
    }
    
    .md\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .md\:pt-0 {
        padding-top: 0;
    }
    
    .md\:pt-\[130px\] {
        padding-top: 130px;
    }
    
    .md\:mt-0 {
        margin-top: 0;
    }
    
    .md\:mt-\[100px\] {
        margin-top: 100px;
    }
    
    .md\:mb-0 {
        margin-bottom: 0;
    }
    
    .md\:text-\[48px\] {
        font-size: 48px;
    }
    
    .md\:text-\[24px\] {
        font-size: 24px;
    }
    
    .md\:w-\[80\%\] {
        width: 80%;
    }
    
    .md\:max-w-\[60\%\] {
        max-width: 60%;
    }
    
    .md\:max-w-\[40\%\] {
        max-width: 40%;
    }
    
    .md\:h-auto {
        height: auto;
    }
    
    .md\:flex-row {
        flex-direction: row;
    }
    
    .md\:flex-nowrap {
        flex-wrap: nowrap;
    }
}

@media (min-width: 640px) {
    .sm\:text-5xl {
        font-size: 3rem;
    }
    
    .sm\:p-6 {
        padding: 1.5rem;
    }
    
    .sm\:px-0 {
        padding-left: 0;
        padding-right: 0;
    }
    
    .sm\:block {
        display: block;
    }
    
    .sm\:inline {
        display: inline;
    }
}

@media (min-width: 1024px) {
    .lg\:p-8 {
        padding: 2rem;
    }
    
    .lg\:w-\[80\%\] {
        width: 80%;
    }
    
    .lg\:w-\[40\%\] {
        width: 80%;
    }
}

@media (min-width: 1280px) {
    .xl\:max-w-\[70\%\] {
        max-width: 70%;
    }
}

/* Clases adicionales para mejor accesibilidad y legibilidad */
.text-accessible {
    font-size: 18px !important;
    line-height: 1.7 !important;
}

.text-accessible-large {
    font-size: 20px !important;
    line-height: 1.7 !important;
}

.text-accessible-small {
    font-size: 16px !important;
    line-height: 1.6 !important;
}

/* Mejores espacios para botones y elementos interactivos */
.btn-accessible {
    min-height: 44px; /* Tamaño mínimo recomendado para touch targets */
    padding: 12px 24px;
    font-size: 18px;
    line-height: 1.4;
}

/* Mejor contraste y focus para accesibilidad */
button:focus, 
a:focus,
input:focus,
textarea:focus {
    outline: 2px solid #E1FF2D;
    outline-offset: 2px;
}

/* Mejoras para imágenes y contenedores */
.tool-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 400px; /* Altura mínima para consistencia */
    text-align: center;
}

.tool-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.tool-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 0;
}

.tool-button {
    margin-top: auto;
    align-self: center;
}

/* Mejoras para la sección de reviews */
.review-images {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    margin-top: 2rem;
}

.review-image {
    max-width: 90%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Asegurar que los textos pequeños no sean demasiado pequeños en móvil */
@media (max-width: 768px) {
    .text-\[11px\] {
        font-size: 18px !important;
    }
    
    .text-\[14px\] {
        font-size: 20px !important;
    }
    
    .text-\[16px\] {
        font-size: 20px !important;
    }
    
    .text-sm {
        font-size: 18px !important;
    }
    
    .tool-image {
        width: 120px;
        height: 120px;
    }
}

/* Services dropdown styles */
.services-dropdown .services-menu {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.services-dropdown .services-menu a:first-child {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.services-dropdown .services-menu a:last-child {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.mobile-services-menu {
    border-left: 3px solid #E1FF2D;
}

/* Additional shadow utility */
.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Better transitions for dropdown arrows */
.services-toggle svg,
.mobile-services-toggle svg {
    transition: transform 0.2s ease-in-out;
}

/* Technologies Section Styles */
.tech-category {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.tech-category:nth-child(1) {
    animation-delay: 0.2s;
}

.tech-category:nth-child(2) {
    animation-delay: 0.4s;
}

.tech-category:nth-child(3) {
    animation-delay: 0.6s;
}

.tech-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    animation: techCardIn 0.6s ease-out forwards;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.tech-card:nth-child(1) { animation-delay: 0.1s; }
.tech-card:nth-child(2) { animation-delay: 0.2s; }
.tech-card:nth-child(3) { animation-delay: 0.3s; }
.tech-card:nth-child(4) { animation-delay: 0.4s; }
.tech-card:nth-child(5) { animation-delay: 0.5s; }
.tech-card:nth-child(6) { animation-delay: 0.6s; }
.tech-card:nth-child(7) { animation-delay: 0.7s; }
.tech-card:nth-child(8) { animation-delay: 0.8s; }

.tech-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.tech-text {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.tech-label {
    font-size: 14px;
    font-weight: 500;
    color: #808080;
    transition: all 0.3s ease;
    margin-top: 4px;
}

/* Hover Effects */
.tech-card:hover {
    transform: translateY(-8px) scale(1.05);
}

.tech-card:hover .tech-icon {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 15px 35px rgba(225, 255, 45, 0.3);
}

.tech-card:hover .tech-icon::before {
    transform: translateX(100%);
}

.tech-card:hover .tech-text {
    transform: scale(1.1);
    color: #000000;
}

.tech-card:hover .tech-label {
    color: #E1FF2D;
    transform: translateY(-2px);
}

/* Specific tech icon gradients */
.tech-icon.bg-gradient-to-br {
    background: linear-gradient(135deg, var(--gradient-from), var(--gradient-to));
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes techCardIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive adjustments for technologies */
@media (max-width: 640px) {
    .tech-icon {
        width: 60px;
        height: 60px;
        border-radius: 15px;
    }
    
    .tech-text {
        font-size: 12px;
    }
    
    .tech-label {
        font-size: 12px;
    }
    
    .tech-card:hover {
        transform: translateY(-4px) scale(1.02);
    }
}

@media (min-width: 640px) {
    .sm\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-6 {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
    
    .tech-icon {
        width: 90px;
        height: 90px;
        border-radius: 22px;
    }
    
    .tech-text {
        font-size: 16px;
    }
    
    .tech-label {
        font-size: 15px;
    }
}

/* Additional utility classes for tech section */
.space-y-12 > * + * {
    margin-top: 3rem;
}

/* Enhanced gradients for better visual impact */
.from-orange-500 { --gradient-from: #f97316; }
.to-red-600 { --gradient-to: #dc2626; }
.from-blue-500 { --gradient-from: #3b82f6; }
.to-blue-700 { --gradient-to: #1d4ed8; }
.from-yellow-400 { --gradient-from: #facc15; }
.to-yellow-600 { --gradient-to: #ca8a04; }
.from-blue-600 { --gradient-from: #2563eb; }
.to-blue-800 { --gradient-to: #1e40af; }
.from-cyan-400 { --gradient-from: #22d3ee; }
.to-blue-600 { --gradient-to: #2563eb; }
.from-cyan-300 { --gradient-from: #67e8f9; }
.from-blue-400 { --gradient-from: #60a5fa; }
.to-purple-600 { --gradient-to: #9333ea; }
.from-blue-800 { --gradient-from: #1e40af; }
.to-blue-900 { --gradient-to: #1e3a8a; }
.from-purple-600 { --gradient-from: #9333ea; }
.to-indigo-700 { --gradient-to: #4338ca; }
.from-gray-800 { --gradient-from: #1f2937; }
.to-black { --gradient-to: #000000; }
.from-red-500 { --gradient-from: #ef4444; }
.to-red-700 { --gradient-to: #b91c1c; }
.from-green-500 { --gradient-from: #22c55e; }
.to-green-700 { --gradient-to: #15803d; }
.from-green-600 { --gradient-from: #16a34a; }
.to-green-800 { --gradient-to: #166534; }
.from-orange-400 { --gradient-from: #fb923c; }
.to-orange-600 { --gradient-to: #ea580c; }
.from-red-600 { --gradient-from: #dc2626; }
.to-red-800 { --gradient-to: #991b1b; }

/* Intersection Observer animation trigger */
.tech-section-visible .tech-category {
    animation-play-state: running;
}

.tech-section-visible .tech-card {
    animation-play-state: running;
}

/* ========================================
   SCROLL ANIMATIONS SYSTEM
======================================== */

/* Base animation states */
.animate-element {
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

/* Fallback for any hidden element */
.animate-element[class*="-hidden"] {
    opacity: 0;
    transform: translateY(30px);
}

/* Fallback for any visible element */
.animate-element[class*="-visible"] {
    opacity: 1;
    transform: translateY(0);
}

/* Hidden states - elementos antes de aparecer */
.fade-up-hidden {
    opacity: 0;
    transform: translateY(50px);
}

.fade-down-hidden {
    opacity: 0;
    transform: translateY(-50px);
}

.fade-left-hidden {
    opacity: 0;
    transform: translateX(-50px);
}

.fade-right-hidden {
    opacity: 0;
    transform: translateX(50px);
}

.scale-hidden {
    opacity: 0;
    transform: scale(0.8);
}

.rotate-hidden {
    opacity: 0;
    transform: rotate(-10deg) scale(0.9);
}

/* Visible states - elementos cuando aparecen */
.fade-up-visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-down-visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-left-visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-right-visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-visible {
    opacity: 1;
    transform: scale(1);
}

.rotate-visible {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Animaciones especiales para diferentes tipos de contenido */
.hero-animate {
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-animate {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.text-animate {
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.button-animate {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animaciones secuenciales con delays */
.animate-delay-0 { transition-delay: 0ms; }
.animate-delay-100 { transition-delay: 100ms; }
.animate-delay-200 { transition-delay: 200ms; }
.animate-delay-300 { transition-delay: 300ms; }
.animate-delay-400 { transition-delay: 400ms; }
.animate-delay-500 { transition-delay: 500ms; }
.animate-delay-600 { transition-delay: 600ms; }
.animate-delay-700 { transition-delay: 700ms; }
.animate-delay-800 { transition-delay: 800ms; }

/* Animaciones de hover mejoradas para elementos visibles */
.animate-element:hover {
    transform: translateY(-5px) scale(1.02);
}

.card-animate:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Animaciones específicas para el hero */
.hero-title-hidden {
    opacity: 0;
    transform: translateY(80px) scale(0.9);
}

.hero-title-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.hero-subtitle-hidden {
    opacity: 0;
    transform: translateY(60px);
}

.hero-subtitle-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-button-hidden {
    opacity: 0;
    transform: translateY(40px) scale(0.8);
}

.hero-button-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Animaciones para las secciones */
.section-title-hidden {
    opacity: 0;
    transform: translateY(60px);
}

.section-title-visible {
    opacity: 1;
    transform: translateY(0);
}

.section-subtitle-hidden {
    opacity: 0;
    transform: translateY(40px);
}

.section-subtitle-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animaciones para las tarjetas de clientes/servicios */
.project-card-hidden {
    opacity: 0;
    transform: translateY(60px) scale(0.9);
}

.project-card-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Animaciones para las reviews */
.review-card-hidden {
    opacity: 0;
    transform: translateX(-60px) rotateY(-15deg);
}

.review-card-visible {
    opacity: 1;
    transform: translateX(0) rotateY(0deg);
}

/* Animaciones para el footer */
.footer-hidden {
    opacity: 0;
    transform: translateY(100px);
}

.footer-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Efectos especiales para elementos en movimiento */
.floating-animation {
    animation: float 6s ease-in-out infinite;
}

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

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Mejoras para móvil */
@media (max-width: 768px) {
    .animate-element {
        transition-duration: 0.6s;
    }
    
    .fade-up-hidden,
    .fade-down-hidden {
        transform: translateY(30px);
    }
    
    .fade-left-hidden,
    .fade-right-hidden {
        transform: translateX(30px);
    }
    
    .hero-title-hidden {
        transform: translateY(50px) scale(0.95);
    }
    
    .section-title-hidden {
        transform: translateY(40px);
    }
}

/* Estados de reducción de movimiento para accesibilidad */
@media (prefers-reduced-motion: reduce) {
    .animate-element,
    .hero-animate,
    .card-animate,
    .text-animate,
    .button-animate {
        transition: opacity 0.3s ease;
        transform: none !important;
    }
    
    .floating-animation,
    .pulse-animation {
        animation: none;
    }
} 
  
  /* Toastr overrides: éxito con color amarillo del tema */
  .toast-success {
      background-color: var(--accent) !important;
      color: #000000 !important;
  }
  .toast-success .toast-close-button {
      color: #000000 !important;
      text-shadow: none !important;
  }
  .toast-success .toast-message a,
  .toast-success .toast-message label {
      color: #000000 !important;
  }