/* 
   Main Stylesheet for Visualiza Website
   Based on the design of unlock-e.com
*/

/* ===== Base Styles ===== */
:root {
    /* Color Palette */
    --primary-color: #0047ab;       /* Un azul intenso como color principal */
    --secondary-color: #00b8ff;     /* Azul más claro para acentos */
    --dark-blue: #002147;           /* Azul oscuro para fondos */
    --light-blue: #e0f7ff;          /* Azul muy claro para fondos sutiles */
    --dark-color: #111;
    --light-color: #fff;
    --grey: #888;
    --light-grey: #e9e9e9;
    --dark-grey: #333;
    
    /* Typography */
    --body-font: 'Montserrat', sans-serif;
    --heading-font: 'Montserrat', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--body-font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== Layout Helpers ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .highlight-text {
        font-size: 2.5rem !important;
    }
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.highlight-text {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
}

.highlight-sm {
    font-size: 2rem;
    font-weight: 600;
}

/* ===== Buttons ===== */
.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--light-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    transition: all var(--transition-fast);
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 71, 171, 0.2);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 71,171, 0.3);
}

/* ===== Preloader ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-blue);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.preloader-logo {
    width: 150px;
    animation: pulse 1.5s infinite ease-in-out;
}

.preloader-logo img {
    width: 100%;
    height: auto;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

/* ===== Header & Navigation ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background-color: transparent;
    z-index: 100;
    transition: background-color var(--transition-medium), padding var(--transition-medium);
}

header.scrolled {
    background-color: rgba(0, 33, 71, 0.7);
    padding: 15px 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 0 10px 10px;
    margin: 0 10px;
    width: calc(100% - 20px);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 150px;
    transition: width var(--transition-medium);
}

header.scrolled .logo {
    width: 120px;
}

.logo img {
    width: 100%;
    height: auto;
    display: block;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--light-color);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width var(--transition-fast);
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--secondary-color);
}

/* Mobile menu toggle styles - UPDATED */
header .mobile-menu-toggle {
    display: none !important; /* Hide by default on all screen sizes */
    color: var(--light-color);
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    position: relative;
    z-index: 1000;
}

/* Mobile styles - UPDATED */
@media (max-width: 992px) {
    header .mobile-menu-toggle {
        display: block !important; /* Only show on mobile */
    }
    
    header nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(17, 17, 17, 0.95);
        padding: 80px 0 20px;
        z-index: 999;
    }

    header nav.active {
        display: flex !important;
    }

    header nav ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    header nav ul li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }
    
    header nav ul li a {
        display: block;
        padding: 10px 0;
    }

    body.menu-open {
        overflow: hidden;
    }
}

@media (min-width: 993px) {
    header .mobile-menu-toggle {
        display: none !important; /* Explicitly hide on desktop */
    }
    
    header nav {
        display: flex !important; /* Always show on desktop */
    }
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-video,
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-video video,
.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 33, 71, 0.7);
    z-index: -1;
}

.hero-text {
    text-align: center;
    color: var(--light-color);
    padding: 0 20px;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 10px;
    opacity: 0.8;
}

.hero-text h2 {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--light-color);
    text-shadow: 0 0 20px rgba(0, 184, 255, 0.5);
}

/* ===== About Section ===== */
.about {
    position: relative;
    padding: calc(var(--spacing-sm) + 10px) 0 var(--spacing-xl); /* Padding menor arriba */
    margin-top: -20px; /* Reduce space at top */
    overflow: hidden;
    background-color: var(--light-color);
    display: flex; /* Usar flexbox para centrar verticalmente */
    align-items: center; /* Centrar verticalmente */
    min-height: 80vh; /* Establecer altura mínima para centrar mejor */
}

.about-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(0, 184, 255, 0.1) 2px, transparent 2px);
    background-size: 50px 50px;
    z-index: 0;
}

.section-content {
    position: relative;
    z-index: 1;
    padding-top: 20px; /* Añadir un poco de padding en la parte superior */
}

.about-heading {
    margin-bottom: var(--spacing-md);
    text-align: center; /* Centrar el texto */
}

.text-outline {
    color: transparent;
    -webkit-text-stroke: 1px var(--dark-blue);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
}

.text-filled {
    color: var(--dark-blue);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
   
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px; /* Reducir el gap */
    align-items: center;
    max-width: 1100px; /* Limitar el ancho máximo */
    margin: 0 auto; /* Centrar horizontalmente */
}

.about-image {
    position: relative;
    overflow: hidden;
}

.image-wrapper {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.6s ease;
    position: relative;
}

.image-wrapper:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(-5deg);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.3);
}

.video-still,
.image-still {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.2);
    transition: transform 0.8s ease;
}

.image-wrapper:hover .video-still,
.image-wrapper:hover .image-still {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-wrapper:hover .play-overlay {
    opacity: 1;
}

.play-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 20px rgba(0, 71,171, 0.5);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.image-wrapper:hover .play-icon {
    transform: scale(1);
}

.play-icon i {
    color: var(--light-color);
    font-size: 1.5rem;
    margin-left: 5px;
}

.about-info {
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centrar verticalmente el contenido */
}

.subtitle {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: black;
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

.subtitle::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--primary-color);
}

.description {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.description-secondary {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    opacity: 0.8;
}

.highlight {
    font-weight: 600;
    color: var(--primary-color);
}

.buttons-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-outline {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    transition: all var(--transition-fast);
    border-radius: 4px;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 71, 171, 0.2);
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .text-outline, .text-filled {
        font-size: 2.5rem;
    }
    
    .about-image {
        order: -1;
    }
    
    .image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about {
        min-height: auto; /* Quitar altura mínima en móviles */
        padding-top: var(--spacing-md); /* Aumentar un poco el padding en móviles */
        padding-bottom: var(--spacing-lg);
    }
    
    .about-heading {
        margin-bottom: var(--spacing-sm); /* Menor espacio abajo en móviles */
    }
}

/* ===== Services Overview ===== */
.services-overview {
    position: relative;
    padding: var(--spacing-lg) 0 var(--spacing-xl);
    margin-top: -20px; /* Reduce space at top */
    color: var(--light-color);
    overflow: hidden;
    min-height: 600px; /* Ensure minimum height to display content properly */
}

.services-image,
.services-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;

}

.services-image img,
.services-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center; /* Ensure the image is centered */
    transform: scale(1.05); /* Slight scale to prevent white edges during animations */
}

.services-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 33, 71, 0.8);
    z-index: -2;
    backdrop-filter: blur(10px);
    
}

.right-align {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.services-info {
    max-width: 600px;
    margin-top: var(--spacing-lg);
}

/* Services section responsive fixes */
@media (max-width: 768px) {
  .services-overview {
    min-height: 700px; /* Increase minimum height on mobile to accommodate more content */
    padding: var(--spacing-md) 0 var(--spacing-lg); /* Adjust padding */
  }
  
  .services-image img {
    object-position: 70% center; /* Shift focus of image to ensure important parts are visible */
  }
  
  .right-align {
    align-items: flex-start;
    text-align: left;
  }
  
  .services-info {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .services-overview {
    min-height: 750px; /* Further increase on smaller screens */
  }
  .text-filled{
    font-size: 2.0rem;
    padding-top: 1rem; /* Reduce font size for smaller screens */
  }
  
  .services-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,33,71,0.9) 0%, rgba(0,33,71,0.6) 100%);
    z-index: 1;
  }
}

/* ===== Portfolio Preview ===== */
.portfolio-preview {
    padding: var(--spacing-lg) 0 0; /* Eliminar padding inferior */
    margin-top: -20px; /* Reduce space at top */
    background-color: var(--light-color);
}

.portfolio-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-md); /* Reducido de lg a md */
}

.portfolio-title {
    flex: 1;
}

.portfolio-info {
    flex: 1;
    padding-left: var(--spacing-md);
}

.portfolio-gallery {
    position: relative;
    height: auto; /* Cambiado de 600px a auto */
    max-height: 540px; /* Añade altura máxima */
    overflow: hidden;
    margin-bottom: 0; /* Asegura que no haya margen inferior */
}

.portfolio-image,
.portfolio-video {
    position: relative; /* Cambiado de absolute a relative */
    width: 100%;
    height: 100%;
    display: block; /* Asegurar que se comporte como bloque */
}

.portfolio-image img,
.portfolio-video video {
    width: 100%;
    height: auto; /* Cambiado de 100% a auto */
    max-height: 500px;
    object-fit: cover;
    display: block; /* Asegura que no haya espacio extra */
}

/* Fix para la sección de portfolio */
.portfolio-preview {
    padding-bottom: 0 !important;
    margin-bottom: 100px !important;
    border-bottom: none !important;
}


.portfolio-gallery {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
}

/* Fix para la transición entre secciones */
.portfolio-preview + .statistics {
    margin-top: 0 !important;
    padding-top: var(--spacing-md) !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Aseguramos que las capas se superpongan correctamente */
.portfolio-preview {
    position: relative !important;
    z-index: 0 !important;
}

/* Estilos para el carrusel del portfolio */
.portfolio-gallery {
    padding: 0 !important;
    overflow: visible !important;
}



/* Media queries para responsividad */
@media (max-width: 992px) {
    .portfolio-gallery {
        max-height: 400px !important;
        margin-bottom: 250px !important;
    }
    
    .portfolio-image img {
        max-height: 400px !important;
    }
    
    .portfolio-header {
        margin-bottom: var(--spacing-sm) !important;
    }
}

@media (max-width: 768px) {
    .portfolio-gallery {
        max-height: 300px !important;
        margin-bottom: 0px !important;

    }

    .portfolio-image img {
        max-height: 300px !important;
    }
    
    .portfolio-header {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .portfolio-info {
        padding-left: 0 !important;
    }
}

@media (max-width: 576px) {
    .portfolio-gallery {
        max-height: 200px !important;
        margin-bottom: -100px !important;

    }
    
    .portfolio-image img {
        max-height: 200px !important;
    }
    .portfolio-title{
        margin-bottom: -45px;
    }
   
}


/* ===== Statistics Section ===== */
.statistics {
    position: relative;
    padding: var(--spacing-lg) 0 var(--spacing-xl);
    margin-top: 0; /* Eliminado el margen negativo */
    overflow: hidden;
}

.stats-image,
.stats-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.stats-image img,
.stats-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.glass-overlay {
    background: rgba(0, 33, 71, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.stats-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--light-color);
}

.stats-title {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.gradient-text {
    background: linear-gradient(90deg, var(--secondary-color), var(--light-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(0, 184, 255, 0.3));
}

.company-logo {
    max-width: 200px;
    margin: 0 auto;
}

.company-logo img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(0, 184, 255, 0.4));
}

.stats-counters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    color: var(--light-color);
}

@media (max-width: 992px) {
    .stats-counters {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .stats-counters {
        grid-template-columns: 1fr;
    }
    
    .stats-title {
        font-size: 2.5rem;
    }
}

.counter-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
}

.counter-box:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.counter-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--secondary-color), var(--light-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.counter {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
}

.plus, .thousand {
    font-size: 1.5rem;
    vertical-align: super;
    margin-right: 5px;
}

.counter-text {
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.counter-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--light-color));
    transition: width 1s ease;
}

.counter-box:hover .counter-bar {
    width: 100%;
}

/* ===== Improved Glass Effects ===== */
.glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.glass::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 80%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.glass:hover::before {
    opacity: 1;
}

/* Modern Button Styles */
.btn-modern {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--light-color);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 71,171, 0.3);
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: -1;
}

.btn-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 71, 171, 0.5);
    color: var(--light-color);
}

.btn-modern:hover::before {
    transform: translateX(100%);
}

/* Improved Hero Content */
.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-text {
    text-align: center;
    max-width: 800px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInUp 2s ease-in-out 1s forwards;
    opacity: 0;
    cursor: pointer;
}

.scroll-text {
    color: var(--light-color);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 500;
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid var(--light-color);
    border-radius: 15px;
    position: relative;
}

.scroll-arrow:after {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--light-color);
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ===== Page Header ===== */
.page-header {
    height: 30vh;
    background-color: var(--dark-blue);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    color: var(--light-color);
    font-size: 4rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-align: center;
    z-index: 2;
    margin-top: 60px; /* To account for fixed header */
}

/* ===== About Page Specific ===== */
.about-mission {
    padding: var(--spacing-xl) 0;
    text-align: center;
    background-color: var(--light-color);
}

.about-overview {
    padding: var(--spacing-xl) 0;
    background-color: var(--light-grey);
}

.about-services {
    padding: 80px 0;
    background-color: var(--dark-blue);
    color: var(--light-color);
    overflow: hidden;
}

.services-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.services-text {
    padding-right: 30px;
}

.services-text .title {
    font-size: 2.8rem;
    margin-bottom: 25px;
    color: var(--light-color);
    position: relative;
}

.services-text .title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin-top: 15px;
}

.services-text .description {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 95%;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px 25px;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.service-item:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.service-item i {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 18px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.service-item:hover i {
    transform: scale(1.2);
}

.service-item h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--light-color);
    font-weight: 600;
}

.service-item p {
    font-size: 0.95rem;
    opacity: 0.85;
    line-height: 1.5;
}

.services-image {
    width: 100%;
    height: 100%;
    min-height: 300px;
    max-height: 350px;
    border-radius: 15px;
    overflow: hidden;

    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    position: relative; 
margin-bottom: 100px;
    z-index: 1;
}

.services-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 184, 255, 0.3) 0%, rgba(0, 33, 71, 0) 50%);
    z-index: 2;
}

.services-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transition: transform 0.5s ease;
}

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

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary-color);
    color: var(--light-color);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    background-color: var(--primary-color);
    color: var(--light-color);
}

@media (max-width: 992px) {
    .services-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-text {
        padding-right: 0;
    }

    .services-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .services-text .title {
        font-size: 2rem;
    }

    .services-list {
        grid-template-columns: 1fr;
    }

    .services-image {
        height: 300px;
    }
}

/* ===== Services Page Specific ===== */
.service-block {
    padding: var(--spacing-xl) 0;
}

.service-block.alt-bg {
    background-color: var(--light-grey);
}

.service-block.video-bg,
.service-block.image-bg {
    position: relative;
    color: var(--light-color);
    overflow: hidden;
}

.background-video,
.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.background-video:after,
.background-image:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 33, 71, 0.7);
    z-index: -1;
}

.background-video video,
.background-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.light-text {
    color: var(--light-color);
}

.service-info {
    max-width: 800px;
}

/* ===== Portfolio Page Specific ===== */
.portfolio-item {
    padding: var(--spacing-xl) 0;
    background-color: var(--light-color);
}

.portfolio-item:nth-child(odd) {
    background-color: var(--light-grey);
}

.portfolio-item-header {
    margin-bottom: var(--spacing-md);
}

.portfolio-item-description {
    font-size: 1.2rem;
    line-height: 1.7;
    max-width: 900px;
    margin-bottom: var(--spacing-lg);
}

.portfolio-item-video,
.portfolio-item-image {
    height: 500px;
    overflow: hidden;
}

.portfolio-item-video video,
.portfolio-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== Showreel Section ===== */
.showreel {
    padding: var(--spacing-lg) 0 var(--spacing-xl);
    margin-top: -20px; /* Reduce space at top */
    position: relative;
    background-color: var(--dark-color);
    overflow: hidden;
}

.showreel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 71, 171, 0.3) 0%, rgba(17, 17, 17, 1) 70%);
    z-index: 0;
}

.showreel-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.showreel-label {
    position: relative;
    margin-bottom: var(--spacing-md);
}

.showreel-label span {
    font-size: 6rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 5px;
    line-height: 1;
    opacity: 0.9;
    display: inline-block;
    position: relative;
    white-space: nowrap;
}

.showreel-video {
    max-width: 900px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    overflow: hidden;
    transform: perspective(1000px) rotateX(5deg);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.video-container:hover {
    transform: perspective(1000px) rotateX(0deg) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    border: none;
    object-fit: cover;
}

.glass-dark {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.5s ease;
    cursor: pointer;
    z-index: 2;
}

.video-container:hover .video-overlay {
    opacity: 0.6;
}

.play-button {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 20px rgba(0, 71, 171, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 3;
}

.play-button i {
    color: var(--light-color);
    font-size: 2rem;
    margin-left: 5px; /* Slightly offset to center visually */
}

.video-container:hover .play-button {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 71, 171, 0.7);
}

.showreel-caption {
    text-align: center;
    margin-top: var(--spacing-md);
    color: var(--light-color);
    opacity: 0.8;
    font-style: italic;
    font-size: 1.1rem;
}

@media (max-width: 992px) {
    .showreel-label span {
        font-size: 4rem;
    }
}

@media (max-width: 576px) {
    .showreel-label span {
        font-size: 2.5rem;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button i {
        font-size: 1.5rem;
    }
    
    .showreel-caption {
        font-size: 0.9rem;
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text h2 {
        font-size: 4rem;
    }
    
    .highlight-text {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .portfolio-header, .team-members {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
    
    .portfolio-info {
        padding-left: 0;
    }
    
    .stats-counters {
        flex-wrap: wrap;
    }
    
    .counter-box {
        flex-basis: 40%;
        margin-bottom: var(--spacing-md);
    }
    
    .about-services {
        padding: 50px 0;
    }
    
    .services-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .services-text {
        padding-right: 0;
        order: 1;
    }
    
    .services-image {
        order: 0;
        height: 300px;
    }
}

@media (max-width: 767px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: rgba(0, 33, 71, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 80px 30px;
        transition: right var(--transition-medium);
        z-index: 99;
        overflow-y: auto;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }
    
    nav ul li {
        margin-left: 0;
        margin-bottom: 20px;
    }
    
    nav ul li a {
        font-size: 1.2rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text h2 {
        font-size: 3rem;
    }
    
    .highlight-text {
        font-size: 2.5rem;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .footer-links, .footer-links-right {
        justify-content: center;
        width: 100%;
    }
    
    .counter-box {
        flex-basis: 100%;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 1.5rem;
    }
    
    .hero-text h2 {
        font-size: 2.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .highlight-text {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 3rem;
    }
    
    .portfolio-item-video, .team-video,
    .portfolio-item-image, .team-image {
        height: 300px;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ===== Portfolio Grid ===== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Team Section ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

.team-member {
    text-align: center;
    margin-bottom: 30px;
}

/* ===== Footer Responsiveness ===== */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Footer Styles ===== */
.glass-footer {
    position: relative;
    padding: var(--spacing-lg) 0 var(--spacing-md);
    background-color: var(--dark-blue);
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 71, 171, 0.2) 0%, rgba(0, 33, 71, 1) 100%);
    z-index: -1;
}

.footer-content {
    color: var(--light-color);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.contact-info {
    max-width: 350px;
}

.contact-header {
    margin-bottom: var(--spacing-sm);
}

.connect {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.7;
}

.connect-us {
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: -10px;
}

.phone {
    font-size: 1.5rem;
    font-weight: 600;
    margin: var(--spacing-sm) 0;
}

.email {
    font-size: 1rem;
    opacity: 0.8;
    position: relative;
    display: inline-block;
}

.hover-effect::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.hover-effect:hover::after {
    width: 100%;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: var(--spacing-md);
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px);
}

.social-icon i {
    font-size: 1.5rem;
    color: var(--light-color);
    position: relative;
    z-index: 2;
}


    


.icon-bg {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    transition: left 0.3s ease;
    z-index: 1;
}

.social-icon:hover .icon-bg {
    left: 0;
}

.footer-logo {
    max-width: 200px;
}

.footer-logo img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(0, 184, 255, 0.3));
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin-bottom: var(--spacing-md);
}

.footer-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-link {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

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

.copyright {
    text-align: right;
    font-size: 0.8rem;
    opacity: 0.7;
}

.made-with {
    margin-top: 5px;
}

.fa-heart {
    color: #e25555;
}

.pulse {
    animation: pulse-heart 1.5s infinite;
}

@keyframes pulse-heart {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

@media (max-width: 992px) {
    .footer-top {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-lg);
        text-align: center;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .footer-links {
        justify-content: center;
        margin-bottom: var(--spacing-sm);
    }
    
    .copyright {
        text-align: center;
    }
    
    .contact-info {
        max-width: 100%;
    }
    
    .social-icons {
        justify-content: center;
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
    animation: pulse-whatsapp 2s infinite;
    text-decoration: none;
    opacity: 1;
    visibility: visible;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.6);
    animation: none;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ===== Team Section ===== */
/* ===== Simple Team Section ===== */
.simple-team-section {
    padding: 80px 0;
    background-color: #001428;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.simple-team-section h2 {
    font-size: 2.5rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.simple-team-section h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #00b8ff;
    margin: 20px auto 0;
}

.simple-team-members {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
}

.simple-team-member {
    width: 320px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.simple-team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.simple-team-member img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center 15%;
    display: block;
    transition: transform 0.5s ease;
}

.simple-team-member:hover img {
    transform: scale(1.05);
}

.simple-member-info {
    padding: 25px 20px;
    text-align: center;
    position: relative;
}

.simple-member-info:before {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #00b8ff;
    margin: 0 auto 15px;
}

.simple-member-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: #ffffff;
}

.simple-position {
    color: #00b8ff;
    font-size: 1rem;
    margin-bottom: 12px;
    letter-spacing: 1px;
    font-weight: 500;
}

.simple-member-info p {
    font-size: 0.9rem;
    line-height: 1.5;
}

.simple-team-group {
    position: relative;
    max-width: 1000px;
    margin: 20px auto 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.simple-team-group::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.8));
    z-index: 1;
}

.simple-team-group img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1);
    transition: transform 0.5s ease;
}

.simple-team-group:hover img {
    transform: scale(1.02);
}

.simple-team-group p {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    color: white;
    padding: 30px 20px 20px;
    margin: 0;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 500;
    z-index: 2;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .simple-team-section {
        padding: 60px 0;
    }
    
    .simple-team-section h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .simple-team-section h2:after {
        margin: 15px auto 0;
        width: 60px;
    }
    
    .simple-team-members {
        flex-direction: column;
        align-items: center;
        margin-bottom: 40px;
        gap: 30px;
    }
    
    .simple-team-member {
        width: 90%;
        max-width: 350px;
    }
    
    .simple-team-member img {
        height: 250px;
    }
    
    .simple-team-group p {
        padding: 20px 15px 15px;
        font-size: 1.1rem;
    }
    
    .simple-team-group p {
        padding: 10px;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    #portfolio-preview {
        margin-bottom: 350px !important;
    }
  
}

/* Eliminé el margin negativo que causaba superposición */
.services-image {
    margin-top: 0; /* Era -200px antes */
}

/* En móviles: imagen aparece DESPUÉS del texto */
@media (max-width: 768px) {
    .services-image {
        order: 2; /* Era order: 0 antes */
        height: 250px;
        margin-top: 0;
    }
}

/* 
   Animations Stylesheet for Visualiza Website
   Contains all animations and transitions
*/

/* ===== Text Animations ===== */
.hero-text-animate {
    animation: textReveal 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards,
               gradientText 15s ease infinite;
    background: linear-gradient(90deg, 
                var(--light-color), 
                var(--secondary-color), 
                var(--light-color),
                var(--light-blue),
                var(--light-color));
    background-size: 500% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(30px);
    text-shadow: 0 0 30px rgba(0, 184, 255, 0.3);
    letter-spacing: 2px;
    filter: drop-shadow(0 0 8px rgba(0, 184, 255, 0.3));
    position: relative;
}

@media screen and (max-width: 480px) {
    .hero-text {
      margin-top: -100px;
    
        
    }
    .hero-text-animate {
        font-size: 1.5rem;
        line-height: 1.2;
       
       
    }
    .hero-text-animate-delay {
        font-size: 1.0rem;
       
    }
}
.hero-text-animate-delay {
    animation: textReveal 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards 0.5s,
               gradientText 15s ease infinite 1s;
    background: linear-gradient(90deg, 
                var(--light-color), 
                var(--secondary-color), 
                var(--light-color),
                var(--light-blue),
                var(--light-color));
    background-size: 500% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(30px);
    text-shadow: 0 0 30px rgba(0, 184, 255, 0.3);
    letter-spacing: 2px;
    filter: drop-shadow(0 0 8px rgba(0, 184, 255, 0.3));
    position: relative;
}

@keyframes textReveal {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
        filter: blur(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

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

/* ===== Scroll Animations ===== */
[data-aos="custom-fade-up"] {
    opacity: 0;
    transform: translateY(50px);
    transition-property: transform, opacity;
}

[data-aos="custom-fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="custom-zoom-in"] {
    opacity: 0;
    transform: scale(0.8);
    transition-property: transform, opacity;
}

[data-aos="custom-zoom-in"].aos-animate {
    opacity: 1;
    transform: scale(1);
}

/* ===== Counter Animations ===== */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.count-animated {
    animation: countUp 0.5s ease-in-out forwards;
}

/* ===== Hover Animations ===== */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.2), rgba(255,255,255,0));
    transition: left 0.8s ease-in-out;
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 71, 171, 0.3);
}

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

/* ===== Preloader Animation ===== */
.preloader {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-blue);
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
}

.preloader-logo {
    animation: pulse 1.5s ease-in-out infinite alternate;
}

.preloader-logo img {
    width: 150px;
    height: auto;
}

@keyframes pulse {
    from {
        transform: scale(0.9);
        filter: brightness(0.8);
    }
    to {
        transform: scale(1);
        filter: brightness(1.2);
    }
}

/* ===== Background Animations ===== */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.gradient-bg {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--dark-blue));
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

/* ===== Scroll Down Indicator ===== */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.scroll-text {
    color: var(--light-color);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid var(--light-color);
    border-radius: 15px;
    position: relative;
}

.scroll-arrow:after {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--light-color);
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* ===== Glassmorphism Effects ===== */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border-radius: 10px;
}

.header-glass {
    background: rgba(0, 33, 71, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

/* ===== Custom Cursor ===== */
.custom-cursor {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid var(--secondary-color);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    mix-blend-mode: difference;
    transition: width 0.3s, height 0.3s;
}

.custom-cursor.active {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 184, 255, 0.1);
}

.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 99999;
    mix-blend-mode: difference;
    transition: width 0.3s, height 0.3s, opacity 0.3s;
}

.cursor-dot.active {
    width: 12px;
    height: 12px;
    opacity: 0.6;
}

/* Hide custom cursor on mobile */
@media (max-width: 768px) {
    .custom-cursor,
    .cursor-dot {
        display: none;
    }
}

/* ===== Header Improvements ===== */
header {
    transition: background-color var(--transition-medium), 
                padding var(--transition-medium), 
                transform 0.4s ease;
}

/* ===== Mobile Menu Toggle Animation ===== */
.mobile-menu-toggle {
    position: relative;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 101;
}

.mobile-menu-toggle i {
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active i {
    transform: rotate(90deg);
}

/* ===== Improved Text Highlights ===== */
.highlight-text {
    position: relative;
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientText 10s ease infinite;
    line-height: 1.1;
    letter-spacing: -1px;
}

/* ===== Card Hover Effects ===== */
.service-card {
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
    border-radius: 15px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.05) 100%);
    z-index: -1;
}

/* ===== Advanced Image Treatments ===== */
.team-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.team-image img {
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.team-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 33, 71, 0.8) 100%);
    z-index: 1;
}

/* ===== Video/Image Background Improvements ===== */
.hero-video, 
.services-video,
.hero-image,
.services-image {
    transform: scale(1.1);
    transition: transform 0.8s ease;
}

/* Team Section Animations */
.team-member[data-aos="fade-up"] {
    transform: translateY(50px);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), 
                opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.team-member[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
    opacity: 1;
}

.team-header[data-aos="fade-up"] h1,
.team-header[data-aos="fade-up"] .highlight-text {
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), 
                opacity 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.team-header[data-aos="fade-up"].aos-animate h1,
.team-header[data-aos="fade-up"].aos-animate .highlight-text {
    transform: translateY(0);
    opacity: 1;
}

.team-image[data-aos="fade-up"] {
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), 
                opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.team-image[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
    opacity: 1;
}
/* 
   Optimizations Stylesheet for Visualiza Website
   Contains performance optimizations
*/

/* Lazy loading images */
img.lazy {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

img.lazy.loaded {
  opacity: 1;
}

/* Image placeholders */
.img-placeholder {
  background-color: rgba(0, 71, 171, 0.1);
  position: relative;
  overflow: hidden;
}

.img-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Media query optimizations */
@media (max-width: 768px) {
  img, video {
    max-width: 100%;
    height: auto;
  }
  
  .hero-video video,
  .hero-image img {
    height: 100%;
    object-fit: cover;
  }
}

/* Print styles */
@media print {
  video, img {
    display: none;
  }
  
  .hero-text, .section-content, p {
    color: #000 !important;
    text-shadow: none !important;
  }
}
/* 
   Fixes Stylesheet for Visualiza Website
   Contiene correcciones de estilo para problemas específicos
*/

/* Estilos del footer */
.glass-footer {
    background-color: var(--dark-blue);
    color: var(--light-color);
    position: relative;
    padding: var(--spacing-lg) 0 var(--spacing-md);
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Elementos del footer */
.footer-content,
.footer-links a,
.footer-content * {
    color: var(--light-color);
}

/* Gradiente de texto */
.connect.gradient-text {
    background: linear-gradient(90deg, var(--secondary-color), var(--light-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Iconos sociales */
.social-icon {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Fondo del footer */
.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 71, 171, 0.2) 0%, rgba(0, 33, 71, 1) 100%);
    z-index: -1;
}

/* Textos sobre fondos oscuros */
[class*="-overview"] .section-content h1,
[class*="-overview"] .section-content h2,
[class*="-overview"] .services-info p,
[class*="-overview"] .section-content .highlight-sm {
    color: var(--light-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.service-block h1,
.service-block h2,
.service-block p {
    color: var(--light-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}


/* Enlaces del footer */
.footer-contact a,
.footer-nav a {
    color: var(--light-color);
}

/* Imágenes de fondo */
.background-image {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
/* 
   Consistency Stylesheet for Visualiza Website
   Asegura que los elementos de video e imagen tengan el mismo estilo
*/

/* Consistency for hero section */
.hero-video, .hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-video video, .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Consistency for services section */
.services-video, .services-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.services-video video, .services-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Consistency for team section */
.team-video, .team-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.team-video video, .team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Consistency for portfolio section */
.portfolio-video, .portfolio-image {
    position: relative;
    width: 100%;
    height: auto;
}

.portfolio-video video, .portfolio-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

/* Consistency for portfolio items */
.portfolio-item-video, .portfolio-item-image {
    height: 500px;
    overflow: hidden;
}

.portfolio-item-video video, .portfolio-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Consistency for background elements */
.background-video, .background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.background-video:after, .background-image:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 33, 71, 0.7);
    z-index: -1;
}

.background-video video, .background-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Consistency for stats section */
.stats-video, .stats-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.stats-video video, .stats-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* 
   Touch Target Fixes for Visualiza Website
   Mejora la experiencia en dispositivos móviles
*/

/* Asegura que los botones y elementos táctiles tengan al menos 44px de altura/anchura */
.btn-primary,
.btn-outline,
.btn-modern,
.social-icon,
.footer-link,
.play-button,
.play-icon,
nav ul li a,
.mobile-menu-toggle,
.whatsapp-float {
    min-height: 44px !important;
    min-width: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Aumentar el padding en dispositivos móviles */
@media (max-width: 768px) {
    .footer-link {
        padding: 12px !important;
        margin-bottom: 5px !important;
        min-height: 44px !important;
        display: inline-flex !important;
        align-items: center !important;
    }
    
    nav ul li a {
        padding: 12px !important;
        min-height: 44px !important;
        min-width: 44px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .social-icon {
        width: 44px !important;
        height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 8px !important;
    }
    
    .btn-primary, .btn-outline, .btn-modern {
        padding: 15px 25px !important;
    }

    /* Carousel controls */
    .custom-carousel-button {
        width: 44px !important;
        height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Modal close button */
    .modal-close {
        width: 44px !important;
        height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 24px !important;
    }

    /* Portfolio expand hint */
    .expand-hint {
        min-height: 44px !important;
        display: flex !important;
        align-items: center !important;
        padding: 0 12px !important;
    }

    /* WhatsApp float button */
    .whatsapp-float {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.6rem !important;
        right: 20px !important;
        bottom: 20px !important;
        z-index: 9999 !important;
        display: flex !important;
        position: fixed !important;
        background-color: #25D366 !important;
        color: white !important;
        border-radius: 50% !important;
        text-align: center !important;
        box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4) !important;
        justify-content: center !important;
        align-items: center !important;
        transition: all 0.3s !important;
        animation: pulse-whatsapp 2s infinite !important;
    }

    /* Mobile menu toggle */
    .mobile-menu-toggle {
        width: 44px !important;
        height: 44px !important;
        padding: 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* Asegura que los campos táctiles en las fechas y los controles del carrusel sean suficientemente grandes */
.splide__arrow {
    min-width: 44px !important;
    min-height: 44px !important;
    touch-action: manipulation !important;
}

.splide__pagination__page {
    min-width: 15px !important;
    min-height: 15px !important;
    margin: 0 10px !important;
    touch-action: manipulation !important;
}

/* Mejora del scroll indicator para que sea más fácil de tocar */
.scroll-indicator {
    min-height: 44px !important;
    min-width: 44px !important;
    touch-action: manipulation !important;
}

.scroll-arrow {
    min-height: 44px !important;
    min-width: 30px !important;
}
/* Indicador visual de que las imágenes son expandibles */
.expand-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.portfolio-slide:hover .expand-hint {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-slide {
  cursor: pointer;
  position: relative;
  transition: transform 0.3s ease;
}

.portfolio-slide:hover {
  transform: scale(1.02);
}

/* Modal para imágenes del portfolio */
.portfolio-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  opacity: 0;
  transition: opacity 0.3s ease;
  /* Añadimos ayudas visuales para cerrar */
  cursor: pointer;
}

/* Indicador de carga */
.loading-indicator {
  /* position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--secondary-color, #fff);
  animation: spin 1s ease-in-out infinite;
  z-index: 10000; */
  display: none; /* Ocultar permanentemente el indicador de carga */
}

/* @keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
} */

.portfolio-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  animation: zoomIn 0.3s ease;
  text-align: center;
  cursor: default;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.6);
  width: 40px;
  height: 40px;
  font-size: 36px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1;
  transition: all 0.3s ease;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0.7;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.modal-close:hover {
  color: #fff;
  background-color: var(--secondary-color);
  transform: scale(1.1);
}

.modal-image {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 5px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
  opacity: 1;
  transition: opacity 0.3s ease;
}

.modal-image:not([src]) {
  opacity: 0;
}

.modal-title {
  color: #fff;
  margin-top: 20px;
  font-size: 1.8rem;
}

.modal-description {
  color: #ddd;
  margin-top: 10px;
  font-size: 1.1rem;
}

/* Indicaciones visuales adicionales */
.close-hint {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 10000;
}

.portfolio-modal.show .close-hint {
  opacity: 0.8;
  animation: fadeInUp 0.5s forwards, fadeOut 0.5s forwards 3s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  to {
    opacity: 0.8;
    transform: translate(-50%, 0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 0.8;
  }
  to {
    opacity: 0;
  }
}

.modal-close.animated {
  animation: pulse 2s infinite;
}

/* Responsive ajustments */
@media (max-width: 768px) {
  .modal-close {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    font-size: 32px;
  }
  
  .modal-title {
    font-size: 1.4rem;
    margin-top: 15px;
  }
  
  .modal-description {
    font-size: 1rem;
  }
}
/* Estilos para mejorar la navegación interna con scroll-margin-top */
#portfolio-gallery,
#portfolio-preview,
#footer-section {
    scroll-margin-top: 100px; /* Ajustar según la altura del header */
    scroll-behavior: smooth;
}

/* Asegurar que el scroll sea suave en todo el sitio */
html {
    scroll-behavior: smooth;
}
/* Custom Carousel Styles */
.custom-carousel-container {
  position: relative;
  width: 100%;
  max-width: 1200px; /* Max width for desktop */
  margin: auto; /* Center on desktop */
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.custom-carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform; /* Performance hint */
}

.custom-carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
  position: relative; /* For overlay positioning */
  overflow: hidden; /* Ensure overlay elements don't spill */
}

.custom-carousel-slide img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover; /* Cover the slide area */
  min-height: 400px; /* Minimum height for slides */
  max-height: 600px; /* Maximum height for slides */
  border-radius: 10px; /* Slightly rounded corners for images */
  transition: transform 0.3s ease;
}

.custom-carousel-slide:hover img {
  transform: scale(1.05); /* Subtle zoom on hover */
}

/* Slide Overlay - Copied and adapted from existing .slide-overlay */
.custom-carousel-slide .slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
  color: #fff;
  padding: 30px 20px;
  text-align: left;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.custom-carousel-slide .slide-overlay h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  font-weight: 700;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.custom-carousel-slide .slide-overlay p {
  font-size: 1rem;
  margin-bottom: 15px;
  line-height: 1.6;
}

.custom-carousel-slide .expand-hint {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
}

.custom-carousel-slide .expand-hint i {
  margin-right: 8px;
  font-size: 1.1rem;
}


/* Navigation Buttons */
.custom-carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 15px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.custom-carousel-button:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.custom-carousel-button.prev {
  left: 20px;
}

.custom-carousel-button.next {
  right: 20px;
}

.custom-carousel-button i {
  font-size: 1.5rem;
}

/* Dots Navigation */
.custom-carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.custom-carousel-dot {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.custom-carousel-dot.active {
  background-color: white;
  transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .custom-carousel-slide .slide-overlay h2 {
    font-size: 1.5rem;
  }
  .custom-carousel-slide .slide-overlay p {
    font-size: 0.9rem;
  }
  .custom-carousel-button {
    padding: 10px;
    width: 40px;
    height: 40px;
  }
  .custom-carousel-button i {
    font-size: 1.2rem;
  }
  .custom-carousel-dots {
    bottom: 10px;
  }
  .custom-carousel-dot {
    width: 10px;
    height: 10px;
  }
  
}

@media (max-width: 480px) {
  .custom-carousel-slide .slide-overlay {
    padding: 20px 15px;
  }
  .custom-carousel-slide .slide-overlay h2 {
    font-size: 1.3rem;
  }
  .custom-carousel-slide .slide-overlay p {
    font-size: 0.8rem;
  }
  .portfolio-preview {
    padding-bottom: 20px; /* Add bottom padding */
  }

}
/* About Page Styles */

/* Hero Section */
.about-hero {
    height: 80vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: var(--light-color);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,33,71,0.8), rgba(0,33,71,0.95));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Vision Section */
.vision-section {
    padding: 100px 0;
    background-color: var(--dark-blue);
    color: var(--light-color);
}

.vision-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.vision-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.vision-text p {
    font-size: 1.2rem;
    line-height: 1.6;
}

.vision-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Team Section */
.team-section {
    padding: 100px 0;
    background-color: var(--light-color);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.team-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
}

.member-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,33,71,0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.team-card:hover .member-overlay {
    opacity: 1;
}

.member-social a {
    color: white;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.member-social a:hover {
    transform: translateY(-5px);
}

.member-info {
    padding: 30px;
    text-align: center;
}

.member-info h3 {
    font-size: 1.5rem;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.member-info span {
    display: block;
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.member-info p {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.6;
}

/* Team Showcase */
.team-showcase {
    margin-top: 80px;
}

.showcase-image {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,33,71,0.9), transparent);
    color: white;
}

.showcase-overlay h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.showcase-overlay p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Values Section */
.values-section {
    padding: 100px 0;
    background-color: var(--dark-blue);
    color: var(--light-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-card {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.value-card p {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .vision-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .vision-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .showcase-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .vision-stats {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .member-image {
        height: 300px;
    }
}

/* Animations */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="fade-right"] {
    opacity: 0;
    transform: translateX(-30px);
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

[data-aos="fade-right"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}

[data-aos="fade-left"] {
    opacity: 0;
    transform: translateX(30px);
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

[data-aos="fade-left"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}
/* Estilos para el acordeón de servicios */
.accordion-container {
  margin: 30px 0;
  width: 100%;
}

.accordion-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: box-shadow 0.3s ease;
}

.accordion-item:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.accordion-header {
  padding: 18px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  position: relative;
  font-weight: 600;
  color: #ffffff;
  transition: background 0.3s ease;
}

.accordion-header::after {
  content: '\f107';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  transition: transform 0.3s ease;
  color: #00b8ff;
}

.accordion-item.active .accordion-header {
  background: rgba(0, 184, 255, 0.1);
}

.accordion-item.active .accordion-header::after {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 25px;
}

.accordion-item.active .accordion-content {
  max-height: 1000px;
  transition: max-height 0.9s ease-in-out;
  padding: 0 25px 25px;
}

.accordion-content p {
  margin-top: 10px;
  line-height: 1.6;
  opacity: 0.9;
}

.accordion-content ul {
  padding-left: 20px;
  margin: 15px 0;
}

.accordion-content ul li {
  margin-bottom: 8px;
}

/* Media queries para responsive */
@media (max-width: 768px) {
  .accordion-header {
    padding: 15px 20px;
  }
  
  .accordion-item.active .accordion-content {
    padding: 0 20px 20px;
  }
}
/* Responsive styles for tablets */
@media (max-width: 992px) and (min-width: 769px) {
    /* WhatsApp floating button for tablets */
    .whatsapp-float {
        width: 55px !important;
        height: 55px !important;
        font-size: 1.8rem !important;
        right: 25px !important;
        bottom: 25px !important;
        z-index: 9999 !important;
        display: flex !important;
        position: fixed !important;
        background-color: #25D366 !important;
        color: white !important;
        border-radius: 50% !important;
        text-align: center !important;
        box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4) !important;
        justify-content: center !important;
        align-items: center !important;
        transition: all 0.3s !important;
        animation: pulse-whatsapp 2s infinite !important;
    }
}
/* Responsive icon size adjustments for mobile view */
@media (max-width: 768px) {
    /* Social icons in footer and floating buttons */
    .social-icon {
        width: 48px !important;
        height: 48px !important;
    }
    
    .social-icon i {
        font-size: 1.2rem !important;
    }
    
    /* Increase spacing between social icons for better touch targets */
    .social-icons {
        gap: 20px !important;
    }
    
    /* Service and section icons */
    .service-icon {
        font-size: 1.8rem !important;
        margin-bottom: 15px !important;
    }
    
    /* Feature item icons */
    .feature-item i {
        font-size: 0.9rem !important;
    }
    
    /* Service item icons in nosotros.html */
    .service-item i {
        font-size: 1.5rem !important;
    }
    
    /* All Font Awesome icons */
    .fas, .fab, .far {
        font-size: 0.9em;
    }
    
    /* Counter icons in statistics section */
    .counter-icon i {
        font-size: 2.5rem !important;
    }
    
    /* WhatsApp floating button */
    .whatsapp-float {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.5rem !important;
        right: 20px !important;
        bottom: 20px !important;
        z-index: 9999 !important;
        display: flex !important;
        position: fixed !important;
        background-color: #25D366 !important;
        color: white !important;
        border-radius: 50% !important;
        text-align: center !important;
        box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4) !important;
        justify-content: center !important;
        align-items: center !important;
        transition: all 0.3s !important;
        animation: pulse-whatsapp 2s infinite !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Navigation icons */
    header .nav-icon, 
    .mobile-menu-toggle i {
        font-size: 1.2rem !important;
    }
    
    /* Carousel button icons */
    .custom-carousel-button i {
        font-size: 0.9rem !important;
    }
    
    /* Icon size in button */
    .btn-service i,
    .btn-primary i {
        font-size: 0.9rem !important;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .social-icon {
        width: 44px !important;
        height: 44px !important;
    }
    
    .social-icon i {
        font-size: 1.1rem !important;
    }
    
    /* Extra spacing for very small screens */
    .social-icons {
        gap: 25px !important;
    }
    
    .service-icon {
        font-size: 1.6rem !important;
    }
    
    .service-item i {
        font-size: 1.4rem !important;
    }
    
    .feature-item i {
        font-size: 0.8rem !important; 
    }
    
    .whatsapp-float {
        width: 40px !important;
        height: 40px !important;
        right: 15px !important;
        bottom: 15px !important;
        font-size: 1.3rem !important;
        z-index: 9999 !important;
        display: flex !important;
        position: fixed !important;
        background-color: #25D366 !important;
        color: white !important;
        border-radius: 50% !important;
        text-align: center !important;
        box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4) !important;
        justify-content: center !important;
        align-items: center !important;
        transition: all 0.3s !important;
        animation: pulse-whatsapp 2s infinite !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}
/* Estilos modernos para la página de servicios */

/* Estilos generales para las secciones de servicios */
.service-block {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: background-color 0.3s ease;
}

.service-block:hover {
  transform: none;
}

/* Efecto de resaltado al pasar el mouse */
.service-block .container {
  position: relative;
  z-index: 2;
}

/* Estilo para encabezados de sección */
.section-content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 10px;
  text-transform: uppercase;
  background: linear-gradient(to right, #fff, #00b8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.subtitle {
  color: black;
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(61, 61, 61, 0.9);
  margin-bottom: 25px;
  max-width: 90%;
}

/* Formas geométricas de fondo */
.service-block::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(0, 184, 255, 0.05);
  top: -150px;
  right: -150px;
  transition: transform 0.5s ease;
  z-index: 0;
}

.service-block:hover::before {
  transform: scale(1.2);
}

.service-block::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.03);
  bottom: -100px;
  left: -100px;
  transform: rotate(30deg);
  transition: transform 0.5s ease;
  z-index: 0;
}

.service-block:hover::after {
  transform: rotate(45deg) scale(1.1);
}

/* Gradientes modernos para diferentes secciones */
.service-gradient-1 {
  background: linear-gradient(135deg, #001428 0%, #002952 100%);
  color: #ffffff;
}

.service-gradient-2 {
  background: linear-gradient(135deg, #00254d 0%, #004080 100%);
  color: #ffffff;
}

/* Sección con gradiente azul claro */
.service-gradient-blue {
  background: linear-gradient(135deg, #003366 0%, #0066cc 100%);
  color: #ffffff;
}

/* Sección con gradiente púrpura oscuro */
.service-gradient-purple {
  background: linear-gradient(135deg, #2b0a3d 0%, #5a1a7c 100%);
  color: #ffffff;
}

/* Utilidades para texto y alineación */
.text-center {
  text-align: center;
}

.description-centered {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  line-height: 1.7;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

/* Estilos específicos para secciones destacadas */
.service-featured {
  position: relative;
}

.service-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='1' fill-rule='evenodd'/%3E%3C/svg%3E");
  z-index: -1;
}

/* Botones e interactividad */
.service-block .btn-service {
  display: inline-block;
  margin-top: 30px;
  background: transparent;
  border: 2px solid #00b8ff;
  color: #ffffff;
  padding: 14px 35px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  letter-spacing: 1px;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.service-block .btn-service::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: #00b8ff;
  z-index: -1;
  transition: width 0.3s ease;
}

.service-block .btn-service:hover::before {
  width: 100%;
}

.service-block .btn-service:hover {
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 184, 255, 0.3);
}

.service-block .btn-service::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transform: scale(0);
  transition: transform 0.6s, opacity 0.6s;
}

.service-block .btn-service:active::after {
  transform: scale(3);
  opacity: 0;
  transition: 0s;
}

/* Estilos mejorados para botones de email */
.btn-service i {
  transition: transform 0.3s ease;
}

.btn-service:hover i {
  transform: translateX(-3px) rotate(-10deg);
}

/* Tarjetas de servicios para secciones destacadas */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-card i {
  font-size: 2.5rem;
  color: #00b8ff;
  margin-bottom: 20px;
  display: inline-block;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #ffffff;
}

.service-card p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.6;
}

/* Indicadores animados en las esquinas */
.corner-indicator {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  animation: pulse 4s ease-in-out infinite alternate;
}

.top-right {
  top: 50px;
  right: 50px;
}

.bottom-left {
  bottom: 50px;
  left: 50px;
  animation-delay: 2s;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }
  100% {
    transform: scale(1.5);
    opacity: 0.1;
  }
}

/* Iconos de servicio con animación */
.service-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #00b8ff;
  display: inline-block;
  transition: transform 0.3s ease;
}

.section-content:hover .service-icon {
  transform: rotate(15deg) scale(1.1);
}

/* Estilos para el encabezado de servicios */
.service-header {
  position: relative;
  background: linear-gradient(135deg, #001428 0%, #002952 100%);
  padding: 120px 0 80px;
  text-align: center;
  overflow: hidden;
}

.service-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(0, 184, 255, 0.1) 0%, transparent 25%),
    radial-gradient(circle at 80% 30%, rgba(0, 184, 255, 0.1) 0%, transparent 20%);
}

.service-header h1 {
  font-size: 3.5rem;
  font-weight: 800;
  text-transform: uppercase;
  color: white;
  margin-bottom: 20px;
  position: relative;
  letter-spacing: 3px;
}

.service-header p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 40px;
  color: rgba(255, 255, 255, 0.8);
}

.service-header-dots {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.service-header-dots:before, 
.service-header-dots:after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #00b8ff;
  display: inline-block;
  animation: pulse 2s infinite alternate;
}

.service-header-dots:after {
  animation-delay: 1s;
}

/* Estilos para las especificaciones técnicas */
.specs-container {
  margin-top: 50px;
}

.specs-title {
  font-size: 1.5rem;
  color: #00b8ff;
  margin-bottom: 25px;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.specs-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background: #00b8ff;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

.specs-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.specs-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.specs-item i {
  font-size: 2.2rem;
  color: #00b8ff;
  margin-bottom: 15px;
  display: block;
}

.specs-item h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.specs-item p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* Estilos para la sección de proyectos destacados */
.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.project-item {
  background: rgba(0, 184, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.project-item:hover {
  transform: translateY(-5px);
  background: rgba(0, 184, 255, 0.15);
}

.project-item i {
  font-size: 1.8rem;
  color: #00b8ff;
  margin-right: 15px;
  flex-shrink: 0;
}

.project-item p {
  margin: 0;
  font-size: 0.95rem;
}

/* Estilos específicos para la sección de cámaras */
.camera-cards {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.camera-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.camera-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.camera-card-icon {
  margin-bottom: 20px;
}

.camera-card-icon i {
  font-size: 2.8rem;
  color: #00b8ff;
  display: inline-block;
}

.camera-card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.camera-card h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: #ffffff;
}

.camera-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
  flex-grow: 1;
}

@media (max-width: 991px) {
  .camera-cards {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 767px) {
  .camera-cards {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
  }
  
  .camera-card {
    padding: 25px;
  }
  
  .camera-card-icon i {
    font-size: 2.4rem;
  }
  
  .camera-card h3 {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .camera-cards {
    grid-template-columns: 1fr;
  }
  
  .camera-card {
    margin-bottom: 20px;
  }
}

/* Media queries para dispositivos móviles */
@media (max-width: 992px) {
  .service-block {
    padding: 80px 0;
  }
  
  .section-content h1 {
    font-size: 2.5rem;
  }
  
  .description {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .service-block {
    padding: 60px 0;
  }
  
  .section-content h1 {
    font-size: 2.2rem;
  }
  
  .description {
    font-size: 1rem;
  }
  
  .subtitle {
    font-size: 1rem;
  }
  
  .specs-title {
    font-size: 1.3rem;
  }
  
  .service-info {
    padding: 0 15px;
  }
  
  .specs-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
  }
  
  .service-card {
    height: auto;
  }
  
  .description-centered {
    padding: 0 20px;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .service-block {
    padding: 50px 0;
  }
  
  .section-content h1 {
    font-size: 1.8rem;
  }
  
  .service-header h1 {
    font-size: 2rem;
  }
  
  .service-header p {
    font-size: 1rem;
    padding: 0 15px;
  }
  
  .specs-item {
    padding: 20px;
  }
  
  .specs-item i {
    font-size: 1.8rem;
  }
  
  .specs-item h4 {
    font-size: 1.1rem;
  }
  
  .project-item {
    padding: 15px;
  }
}

/* Optimizaciones adicionales para pantallas pequeñas */
@media (max-width: 480px) {
  .service-header h1 {
    font-size: 2rem;
  }
  
  .service-header p {
    font-size: 1rem;
  }
  
  .section-content h1 {
    font-size: 1.8rem;
  }
  
  .service-card {
    padding: 20px;
  }
  
  .service-block .btn-service {
    width: 100%;
    text-align: center;
    padding: 16px 25px;
    font-size: 0.9rem;
  }
  
  .service-block .btn-service i {
    margin-right: 5px;
  }
  
  .specs-grid {
    grid-template-columns: 1fr;
  }
  
  .service-gradient-1, .service-gradient-2, .service-gradient-purple {
    padding: 50px 0 60px;
  }
  
  .service-icon {
    font-size: 2.5rem;
  }
  .produccion-tecnica{
    font-size: 1.5rem !important;
  }
  
  .projects-container {
    grid-template-columns: 1fr;
  }
}

/* Mejoras para interacciones táctiles */
@media (hover: none) {
  .service-card:hover {
    transform: none;
  }
  
  .service-block .btn-service:hover::before {
    width: 0;
  }
  
  .service-block .btn-service:active::before {
    width: 100%;
  }
  
  .service-block .btn-service:active {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 184, 255, 0.3);
  }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
  .service-block .btn-service {
    padding: 16px 30px; /* Larger touch target */
  }
  
  .feature-item {
    padding: 14px 20px; /* Larger padding for touch */
  }
  
  .service-features {
    gap: 12px; /* Slightly less gap on touch devices */
  }
  
  /* Active states for touch devices */
  .service-card:active,
  .camera-card:active,
  .feature-item:active {
    transform: scale(0.98);
    transition: transform 0.1s;
  }
  
  .specs-item:active {
    background-color: rgba(255, 255, 255, 0.15);
  }
  
  /* Improve button feedback on touch */
  .service-block .btn-service:active {
    background-color: rgba(0, 184, 255, 0.2);
  }
}

/* Estilos para las características del servicio */
.service-features {
  margin-top: 40px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.feature-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 15px 25px;
  border-radius: 30px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: transform 0.3s ease, background-color 0.3s ease;
  margin-bottom: 10px;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.feature-item i {
  color: #00b8ff;
  margin-right: 10px;
}

@media (max-width: 768px) {
  .service-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
  }
  
  .feature-item {
    text-align: center;
    padding: 12px 15px;
    width: 100%;
    margin-bottom: 0;
  }
  
  .feature-item i {
    margin-right: 6px;
  }
}

@media (max-width: 480px) {
  .service-features {
    grid-template-columns: 1fr;
  }
}

/* Utilidad para texto claro */
.light-text {
  color: #ffffff;
}

/* Responsive improvements for specs grid */
@media (max-width: 1199px) {
  .specs-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .specs-title {
    margin-bottom: 25px;
  }
}

@media (max-width: 576px) {
  .specs-container {
    margin-top: 30px;
  }
  
  .specs-grid {
    grid-template-columns: 1fr; /* Single column on very small screens */
    gap: 15px;
  }
  
  .specs-item {
    padding: 20px;
  }
  
  .specs-item i {
    font-size: 2rem;
    margin-bottom: 10px;
  }
}

/* Section dividers for better visual separation */
.service-block {
  position: relative;
}

.service-block:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 1200px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
  z-index: 10;
}

/* Only show dividers on larger screens */
@media (max-width: 768px) {
  .service-block:not(:last-child)::after {
    width: 90%;
  }
}
/* Styling for feature items to keep icons and text on same line */
.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    width: auto;
}

.feature-item i {
    flex-shrink: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.feature-item span {
    flex: 1;
    white-space: normal;
}

/* Style for service items in nosotros.html */
.service-item {
    display: flex;
    flex-direction: column;
}

.service-item i {
    flex-shrink: 0;
    margin-bottom: 10px;
}

/* Button icon adjustments */
.btn-service i,
.btn-primary i {
    margin-right: 8px;
    display: inline-flex;
}

/* Fix for the Services Overview section in nosotros.html */
@media (max-width: 768px) {
    /* Reorder content in services section for mobile */
    .services-content {
        display: flex;
        flex-direction: column;
    }

    .services-text {
        order: 1;
        margin-bottom: 30px;
    }

    .services-image {
        order: 2;
 
    }
    
    /* Fix for titles that might wrap awkwardly */
    .section-content h1 {
        white-space: normal;
        hyphens: auto;
    }
    
    /* Adjust services grid for better mobile layout */
    .service-features {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    /* Ensure feature items stay on one line */
    .feature-item {
        text-align: left;
        padding: 12px 15px;
        width: 100%;
        display: flex;
        align-items: center;
        margin-bottom: 5px;
    }
    
    /* Services section adjustments */
    .services-overview .services-info {
        padding: 15px;
        max-width: 100%;
    }
}
