/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background-color: #ffffff;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, #2179BB 0%, #1a68a3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight {
    color: #2179BB;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #0a1628;
    box-shadow: 0 4px 20px rgba(79, 172, 254, 0.4);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(79, 172, 254, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    color: white;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-svg {
    height: 80px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

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

/* Logo en navbar transparente */
.navbar:not(.scrolled) .logo-svg {
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.3)) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.1));
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #2d3748;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 8px 16px;
    border-radius: 8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-link:hover {
    color: #2179BB;
    background: rgba(33, 121, 187, 0.1);
    backdrop-filter: blur(10px);
}

/* Enlaces de navegación cuando el navbar está transparente */
.navbar:not(.scrolled) .nav-link {
    color: #ffffff;
    /* text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5); */
    font-weight: 600;
}

.navbar:not(.scrolled) .nav-link:hover {
    color: #2179BB;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Enlaces cuando el navbar está en estado scrolled */
.navbar.scrolled .nav-link {
    color: #2d3748;
    text-shadow: none;
    font-weight: 500;
}

.navbar.scrolled .nav-link:hover {
    color: #2179BB;
    background: rgba(33, 121, 187, 0.08);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    background: #2179BB;
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.nav-link.active {
    color: #4facfe;
    background: rgba(33, 121, 187, 0.08);
}

.cta-button {
    background: linear-gradient(135deg, #2179BB 0%, #1a68a3 100%);
    color: white !important;
    padding: 10px 20px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(33, 121, 187, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(33, 121, 187, 0.4);
}

.cta-button::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.hamburger:hover {
    background-color: rgba(33, 121, 187, 0.1);
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #2d3748;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a1628 0%, #1a365d 50%, #2179BB 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.geometric-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.grid-line {
    position: absolute;
    background: linear-gradient(135deg, #2179BB, #4facfe);
}

.grid-vertical {
    width: 1px;
    height: 100%;
    animation: gridPulse 4s ease-in-out infinite;
}

.grid-horizontal {
    width: 100%;
    height: 1px;
    animation: gridPulse 4s ease-in-out infinite 0.5s;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.float-element {
    position: absolute;
    background: linear-gradient(135deg, rgba(33, 121, 187, 0.2), rgba(79, 172, 254, 0.1));
    border-radius: 4px;
    transform: rotate(45deg);
}

.element-1 {
    width: 60px;
    height: 60px;
    top: 20%;
    right: 15%;
    animation: floatRotate 8s linear infinite;
}

.element-2 {
    width: 40px;
    height: 40px;
    top: 60%;
    right: 25%;
    animation: floatRotate 6s linear infinite reverse;
}

.element-3 {
    width: 80px;
    height: 80px;
    bottom: 30%;
    left: 10%;
    animation: floatRotate 10s linear infinite;
}

.element-4 {
    width: 30px;
    height: 30px;
    top: 40%;
    left: 20%;
    animation: floatRotate 7s linear infinite reverse;
}

.element-5 {
    width: 50px;
    height: 50px;
    bottom: 20%;
    right: 40%;
    animation: floatRotate 9s linear infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.3; }
}

@keyframes floatRotate {
    0% { transform: rotate(45deg) translateY(0px); }
    50% { transform: rotate(225deg) translateY(-20px); }
    100% { transform: rotate(405deg) translateY(0px); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    z-index: 2;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: #4facfe;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: white;
}

.title-line {
    display: block;
    opacity: 0;
    animation: slideInUp 0.8s ease-out forwards;
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title-line:nth-child(3) { animation-delay: 0.6s; }

.highlight-text {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

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

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1s forwards;
}

.feature-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.1) 0%, rgba(0, 242, 254, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(79, 172, 254, 0.3);
    box-shadow: 0 10px 40px rgba(79, 172, 254, 0.2);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

.feature-icon i {
    color: #0a1628;
    font-size: 1.2rem;
    font-weight: 600;
}

.feature-content {
    flex: 1;
}

.feature-title {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.feature-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1.2s forwards;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeInScale 1s ease-out 1.4s forwards;
}

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

.dashboard-preview {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    width: 450px;
    height: 320px;
    position: relative;
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.preview-header {
    background: rgba(255, 255, 255, 0.1);
    height: 50px;
    border-radius: 16px 16px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-controls {
    display: flex;
    gap: 8px;
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.control-dot.active {
    background: #4facfe;
    box-shadow: 0 0 10px rgba(79, 172, 254, 0.5);
}

.header-title {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.9rem;
}

.preview-content {
    padding: 25px;
    height: calc(100% - 50px);
}

.data-visualization {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.metric-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: slideInRight 0.8s ease-out;
}

.metric-card:nth-child(2) {
    animation-delay: 0.2s;
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #4facfe;
}

.metric-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
}

.metric-trend {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
}

.metric-trend.up {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.progress-bars {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
}

.progress-item {
    background: rgba(255, 255, 255, 0.1);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 4px;
    animation: progressFill 2s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes progressFill {
    from { width: 0%; }
}

.mockup-header {
    background: #f7fafc;
    height: 40px;
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.mockup-controls {
    display: flex;
    gap: 8px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.red { background: #ff5f56; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #27ca3f; }

.mockup-content {
    padding: 20px;
    height: calc(100% - 40px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-container {
    display: flex;
    align-items: end;
    gap: 10px;
    height: 150px;
}

.chart-bar {
    width: 30px;
    background: linear-gradient(135deg, #2179BB 0%, #1a68a3 100%);
    border-radius: 4px 4px 0 0;
    animation: growUp 2s ease-out;
}

@keyframes growUp {
    from { height: 0; }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

.section-description {
    font-size: 1.1rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2179BB 0%, #1a68a3 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.5rem;
    color: white;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

.service-description {
    color: #718096;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: #4a5568;
}

.service-features li i {
    color: #2179BB;
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

/* ERP Features Section */
.erp-features {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2179BB 0%, #1a68a3 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon i {
    color: white;
    font-size: 1.2rem;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #2d3748;
}

.feature-item p {
    color: #718096;
    line-height: 1.5;
}

/* Digifact Certification Section */
.digifact-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.digifact-badge {
    display: flex;
    justify-content: center;
    margin: 0;
}

.badge-content {
    display: flex;
    align-items: center;
    background: white;
    padding: 2rem 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #2179BB;
    transition: all 0.3s ease;
    max-width: 500px;
}

.badge-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(33, 121, 187, 0.15);
}

.badge-content i {
    font-size: 2.5rem;
    color: #2179BB;
    margin-right: 1.5rem;
    animation: pulse 2s infinite;
}

.digifact-logo {
    height: 50px;
    width: auto;
    margin-right: 1.5rem;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.badge-content:hover .digifact-logo {
    transform: scale(1.05);
}

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

.badge-text h4 {
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.badge-text p {
    color: #4a5568;
    margin: 0;
    line-height: 1.5;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-description {
    font-size: 1.1rem;
    color: #718096;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.about-feature i {
    font-size: 1.5rem;
    color: #2179BB;
    margin-top: 0.2rem;
}

.about-feature h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.about-feature p {
    color: #718096;
    margin: 0;
    line-height: 1.5;
}

/* About Image Container with Enhanced Animation */
.about-image-container {
    position: relative;
    height: 450px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 10px 25px rgba(33, 121, 187, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.about-image-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.15) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    transition: all 0.6s ease;
    z-index: 1;
    opacity: 0;
}

.about-image-container::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(33, 121, 187, 0.2);
    border-radius: 20px;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 3;
}

.about-image-container:hover::before {
    opacity: 1;
    animation: shimmer 1.5s ease-in-out;
}

.about-image-container:hover::after {
    opacity: 1;
    border-color: rgba(33, 121, 187, 0.4);
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
}

.about-image-container:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 
        0 35px 70px rgba(0, 0, 0, 0.2),
        0 15px 35px rgba(33, 121, 187, 0.15),
        0 5px 15px rgba(33, 121, 187, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: rgba(33, 121, 187, 0.3);
}

.about-team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    animation: subtleFloat 8s ease-in-out infinite;
    border-radius: 23px;
    filter: brightness(1.05) contrast(1.1) saturate(1.1);
}

.about-image-container:hover .about-team-image {
    transform: scale(1.05);
    filter: brightness(0.85) contrast(1.2) saturate(1.2);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(33, 121, 187, 0.0) 0%, 
        rgba(33, 121, 187, 0.4) 30%,
        rgba(26, 104, 163, 0.7) 70%,
        rgba(21, 89, 145, 0.85) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 23px;
    z-index: 2;
}

.image-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 70%
    );
    border-radius: 23px;
}

.about-image-container:hover .image-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
    transform: translateY(30px) scale(0.9);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.about-image-container:hover .overlay-content {
    transform: translateY(0) scale(1);
}

.overlay-content i {
    font-size: 3.5rem;
    margin-bottom: 1.2rem;
    animation: gentlePulse 3s ease-in-out infinite;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.5),
        2px 2px 4px rgba(0, 0, 0, 0.3);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.overlay-content h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    text-shadow: 
        1px 1px 2px rgba(0, 0, 0, 0.3),
        0 0 10px rgba(255, 255, 255, 0.2);
    letter-spacing: 0.5px;
}

.overlay-content p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 400;
    line-height: 1.4;
}

@keyframes imageFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-5px) scale(1.005); }
}

@keyframes subtleFloat {
    0%, 100% { 
        transform: translateY(0) scale(1); 
        filter: brightness(1.05) contrast(1.1) saturate(1.1);
    }
    33% { 
        transform: translateY(-3px) scale(1.002); 
        filter: brightness(1.06) contrast(1.11) saturate(1.12);
    }
    66% { 
        transform: translateY(-1px) scale(1.001); 
        filter: brightness(1.04) contrast(1.09) saturate(1.09);
    }
}

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

@keyframes gentlePulse {
    0%, 100% { 
        transform: scale(1); 
        text-shadow: 
            0 0 20px rgba(255, 255, 255, 0.5),
            2px 2px 4px rgba(0, 0, 0, 0.3);
    }
    50% { 
        transform: scale(1.05); 
        text-shadow: 
            0 0 25px rgba(255, 255, 255, 0.7),
            2px 2px 6px rgba(0, 0, 0, 0.4);
    }
}

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

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Contact Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* Contact Info Section */
.contact-info-section {
    display: flex;
    flex-direction: column;
}

.contact-info-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
    text-align: center;
}

.contact-info-subtitle {
    font-size: 1.1rem;
    color: #718096;
    text-align: center;
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

/* Contact Info Cards */
.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 8px 16px rgba(33, 121, 187, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: block;
    text-decoration: none;
    color: inherit;
}

.contact-card-clickable {
    cursor: pointer;
}

.contact-card-clickable:hover {
    text-decoration: none;
    color: inherit;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2179BB 0%, #1a68a3 100%);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.12),
        0 12px 24px rgba(33, 121, 187, 0.1);
}

.contact-card-clickable:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 35px 70px rgba(0, 0, 0, 0.15),
        0 15px 30px rgba(33, 121, 187, 0.2);
    border-color: rgba(33, 121, 187, 0.3);
}

.contact-card-clickable:active {
    transform: translateY(-8px) scale(1.01);
    transition: all 0.1s ease;
}

.contact-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2179BB 0%, #1a68a3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    box-shadow: 
        0 8px 20px rgba(33, 121, 187, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.contact-card:hover .contact-card-icon {
    transform: scale(1.1) rotateY(5deg);
    box-shadow: 
        0 12px 30px rgba(33, 121, 187, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.contact-card-icon i {
    color: white;
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.contact-card h4 {
    color: #2d3748;
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.contact-card p {
    color: #718096;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Contact Card Overlay */
.contact-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(33, 121, 187, 0.9) 0%, 
        rgba(26, 104, 163, 0.95) 100%
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 20px;
    color: white;
}

.contact-card-clickable:hover .contact-card-overlay {
    opacity: 1;
}

.contact-card-overlay i {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
    animation: bounceIcon 2s ease-in-out infinite;
}

.contact-card-overlay span {
    font-size: 1rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@keyframes bounceIcon {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-4px);
    }
    60% {
        transform: translateY(-2px);
    }
}

/* Contact Form Container */
.contact-form-container {
    width: 100%;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.1),
        0 10px 25px rgba(33, 121, 187, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #2179BB 0%, #1a68a3 50%, #2179BB 100%);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

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

.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #2d3748;
    font-size: 1.1rem;
    position: relative;
}

.form-group label::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2179BB, #1a68a3);
    transition: width 0.3s ease;
}

.form-group:focus-within label::after {
    width: 100%;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2179BB;
    box-shadow: 
        0 0 0 4px rgba(33, 121, 187, 0.1),
        inset 0 1px 3px rgba(0, 0, 0, 0.05),
        0 4px 12px rgba(33, 121, 187, 0.15);
    transform: translateY(-2px);
    background: #ffffff;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #cbd5e0;
    transform: translateY(-1px);
    box-shadow: 
        inset 0 1px 3px rgba(0, 0, 0, 0.05),
        0 2px 8px rgba(0, 0, 0, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 16px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 50px;
}

/* Enhanced Submit Button */
.contact-form .btn-primary {
    width: 100%;
    padding: 18px 24px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1rem;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 
        0 8px 20px rgba(33, 121, 187, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.contact-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 30px rgba(33, 121, 187, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.contact-form .btn-primary:active {
    transform: translateY(-1px);
}

/* Footer */
.footer {
    background: #2d3748;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-description {
    color: #a0aec0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(33, 121, 187, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2179BB;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    background: #2179BB;
    color: white;
    transform: translateY(-2px);
}

.footer-title {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #2179BB;
}

.footer-contact p {
    color: #a0aec0;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 0.5rem;
    color: #2179BB;
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #a0aec0;
    margin: 0;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

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

/* Responsive Design */

/* Tablets */
@media (max-width: 1024px) and (min-width: 769px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-content {
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .hero-visual {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .dashboard-preview {
        max-width: 100%;
        margin-bottom: 2rem;
    }
    
    .hero-visual {
        margin-bottom: 1rem;
    }
    
    .feature-pair {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form-container {
        order: 1;
        width: 100%;
        box-sizing: border-box;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
        border-radius: 16px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin: 0;
    }
    
    .form-group {
        margin-bottom: 1.75rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 16px 18px;
        font-size: 16px;
        border-radius: 10px;
    }
    
    .contact-info-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 3rem;
        text-align: left;
    }
    
    .footer-section:first-child {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1.5rem;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .logo-svg {
        height: 50px;
        width: auto;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        padding: 2.5rem 0;
        gap: 0.75rem;
        border-top: 1px solid rgba(33, 121, 187, 0.2);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        padding: 1rem 2rem;
        margin: 0 1rem;
        border-radius: 12px;
        transition: all 0.3s ease;
        font-weight: 500;
        color: #2d3748;
    }
    
    .nav-link:hover {
        background: rgba(33, 121, 187, 0.1);
        color: #2179BB;
        transform: translateY(-2px);
    }
    
    .hero {
        padding-top: 100px;
        padding-bottom: 4rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-badge {
        margin-top: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-card {
        padding: 1.2rem;
    }
    
    .feature-icon {
        width: 45px;
        height: 45px;
    }
    
    .feature-icon i {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .dashboard-preview {
        width: 320px;
        height: 240px;
        transform: none;
    }
    
    .floating-elements {
        display: none;
    }
    
    .geometric-grid {
        opacity: 0.05;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .about-image-container {
        height: 300px;
        margin: 0 1rem;
    }

    .overlay-content h4 {
        font-size: 1.25rem;
    }

    .overlay-content i {
        font-size: 2.5rem;
    }
    
    .contact {
        padding: 4rem 0;
        overflow-x: hidden;
    }
    
    .contact .container {
        padding: 0 1rem;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .contact-info-section {
        order: 2;
        width: 100%;
        box-sizing: border-box;
    }
    
    .contact-info-title {
        font-size: 1.8rem;
    }
    
    .contact-info-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .contact-info-section {
        width: 100%;
        box-sizing: border-box;
        padding: 0;
    }
    
    .contact-info-cards {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        box-sizing: border-box;
        padding: 0;
        margin: 0;
    }
    
    .contact-form-container {
        order: 1;
    }
    
    .contact-form .btn-primary {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        margin: 1.5rem auto 0 !important;
        width: 100% !important;
        max-width: 320px !important;
    }
    
    .contact-card {
        padding: 1.5rem 1rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin: 0;
        flex-shrink: 0;
    }
    
    .contact-card-clickable:hover {
        transform: translateY(-6px) scale(1.01);
    }
    
    .contact-card-overlay i {
        font-size: 1.3rem;
    }
    
    .contact-card-overlay span {
        font-size: 0.9rem;
    }
    
    .contact-card-icon {
        width: 60px;
        height: 60px;
    }
    
    .contact-card-icon i {
        font-size: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }
    
    .footer-section {
        padding: 0 1rem;
    }
    
    .footer-links {
        margin-bottom: 1.5rem;
    }
    
    .footer-links li {
        margin-bottom: 0.75rem;
    }
    
    .footer-contact p {
        margin-bottom: 0.75rem;
        font-size: 0.9rem;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1.5rem;
        gap: 1.5rem;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
    
    /* ERP Cards responsive */
    .feature-pair {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card-compact {
        min-height: 280px;
    }
    
    .feature-media-compact {
        height: 140px;
    }
    
    .feature-video-icon {
        font-size: 3.5rem;
        width: 90px;
        height: 90px;
    }
    
    .feature-content-compact {
        padding: 1rem 1.25rem 1.25rem;
    }
    
    .feature-content-compact p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo-svg {
        height: 45px;
        width: auto;
    }
    
    .hero {
        padding-top: 90px;
        padding-bottom: 3rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .services {
        padding-top: 4rem;
    }
    
    .contact {
        padding: 3rem 0;
        overflow-x: hidden;
    }
    
    .contact .container {
        padding: 0 0.5rem;
        max-width: 100vw;
        box-sizing: border-box;
    }
    
    .contact-layout {
        gap: 1.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0;
    }
    
    .contact-form-container {
        width: 100%;
        box-sizing: border-box;
        padding: 0;
    }
    
    .contact-form {
        padding: 1.5rem 1rem;
        border-radius: 15px;
        margin: 0;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    
    .contact-form-container {
        padding: 0 0.5rem;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-group label {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .contact-info-section {
        width: 100%;
        box-sizing: border-box;
        padding: 0;
    }
    
    .contact-info-cards {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        box-sizing: border-box;
        padding: 0;
        margin: 0;
    }
    
    .contact-card {
        padding: 1.25rem 1rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin: 0;
    }
    
    .contact-card-icon {
        width: 60px;
        height: 60px;
    }
    
    .contact-card-icon i {
        font-size: 1.5rem;
    }
    
    .contact-card h4 {
        font-size: 1.2rem;
    }
    
    .contact-card-overlay i {
        font-size: 1.2rem;
    }
    
    .contact-card-overlay span {
        font-size: 0.85rem;
    }
    
    .contact-card-clickable:hover {
        transform: translateY(-4px);
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 15px;
        width: 100%;
        box-sizing: border-box;
        max-width: 100%;
        border-radius: 8px;
    }
    
    .form-group {
        width: 100%;
        box-sizing: border-box;
    }
    
    .btn {
        width: 100%;
        box-sizing: border-box;
        justify-content: center;
    }
    
    .contact-form .btn-primary {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        margin: 1.5rem auto 0 !important;
        width: 100% !important;
        max-width: 300px !important;
    }
    
    .contact-form button[type="submit"] {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .badge-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .badge-content i {
        margin: 0;
    }
    
    /* ERP Cards para móviles pequeños */
    .feature-card-compact {
        min-height: 260px;
        border-radius: 12px;
    }
    
    .feature-header-compact {
        padding: 1rem 0.75rem 0.75rem;
        min-height: 65px;
    }
    
    .feature-icon-compact {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
    
    .feature-card-compact h3 {
        font-size: 0.9rem;
    }
    
    .feature-media-compact {
        height: 120px;
    }
    
    .feature-video-icon {
        font-size: 3rem;
        width: 80px;
        height: 80px;
    }
    
    .feature-content-compact {
        padding: 0.75rem 1rem 1rem;
        min-height: 70px;
    }
    
    .feature-content-compact p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    /* Modal de video en móviles pequeños */
    .video-modal-content {
        margin: 2% auto;
        width: 100%;
        max-height: 98vh;
        border-radius: 0;
    }
    
    .video-modal-header {
        padding: 0.75rem;
    }
    
    .video-modal-header h3 {
        font-size: 1rem;
    }
    
    .close-modal {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .video-container {
        padding: 0.5rem;
    }
    
    .imac-frame {
        transform: scale(0.7);
        margin: -3rem auto;
    }
    
    #modalVideo {
        border-radius: 8px;
    }
}

/* Landscape móviles */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding-top: 60px;
    }
    
    .hero-content {
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .video-modal-content {
        margin: 1% auto;
        max-height: 98vh;
    }
    
    .imac-frame {
        transform: scale(0.6);
    }
}

/* Animation utilities */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #2179BB;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Parallax Section - En cualquier parte del mundo */
.background-image-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: url('mundo3.jpg') center center/cover no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.background-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(28 110 171 / 28%);
    z-index: 1;
}

.background-image-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 2rem;
    transform: translateY(0);
    transition: transform 0.1s ease-out;
}

.background-image-content .section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.background-image-content .section-description {
    font-size: 1.2rem;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Features in Pairs Layout */
.features-pairs-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.feature-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

.feature-card-compact {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 320px;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.feature-card-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(33, 121, 187, 0.3) 50%, transparent 100%);
}

.feature-card-compact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(33, 121, 187, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.feature-card-compact:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 35px rgba(33, 121, 187, 0.12), 0 4px 15px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 30%, #e2e8f0 100%);
    border-color: rgba(33, 121, 187, 0.2);
}

.feature-card-compact:hover::before {
    background: linear-gradient(90deg, transparent 0%, rgba(33, 121, 187, 0.6) 50%, transparent 100%);
}

.feature-card-compact:hover::after {
    background: radial-gradient(circle at 20% 20%, rgba(33, 121, 187, 0.05) 0%, transparent 50%);
}

.feature-header-compact {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1rem 1rem;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.8) 0%, rgba(241, 245, 249, 0.6) 100%);
    min-height: 75px;
    position: relative;
    backdrop-filter: blur(10px);
}

.feature-header-compact::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(33, 121, 187, 0.1) 50%, transparent 100%);
}

.feature-icon-compact {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #2179BB 0%, #1a68a3 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.15rem;
    flex-shrink: 0;
    box-shadow: 0 3px 12px rgba(33, 121, 187, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    transition: all 0.3s ease;
}

.feature-icon-compact::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    border-radius: 8px 8px 50% 50%;
}

.feature-card-compact:hover .feature-icon-compact {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(33, 121, 187, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.feature-card-compact h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
    line-height: 1.3;
}

.feature-media-compact {
    position: relative;
    overflow: hidden;
    height: 180px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 50%, #94a3b8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
}

.feature-video-icon {
    font-size: 5rem;
    color: #2179BB;
    opacity: 0.6;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    margin: 0 auto;
    position: relative;
}

.feature-video-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: rgba(33, 121, 187, 0.1);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.feature-card-compact:hover .feature-video-icon {
    opacity: 1;
    transform: scale(1.1);
    color: #1a68a3;
}

.feature-card-compact:hover .feature-video-icon::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
}

.feature-video-icon:hover {
    transform: scale(1.15);
    color: #2179BB;
}

.feature-video-icon:active {
    transform: scale(1.05);
}

.feature-content-compact {
    padding: 1.25rem 1.5rem 1.5rem;
    flex-grow: 1;
    display: flex;
    align-items: center;
    min-height: 85px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(248, 250, 252, 0.3) 100%);
    position: relative;
}

.feature-content-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 1.5rem;
    right: 1.5rem;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(226, 232, 240, 0.5) 50%, transparent 100%);
}

.feature-content-compact p {
    color: #475569;
    line-height: 1.65;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.video-modal-content {
    background: #fff;
    margin: 5% auto;
    border-radius: 16px;
    width: 95%;
    max-width: 900px;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

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

.video-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.video-modal-header h3 {
    margin: 0;
    color: #2d3748;
    font-size: 1.25rem;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #718096;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: rgba(226, 232, 240, 0.5);
    color: #2d3748;
}

.video-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
}

/* iMac Frame Styles */
.imac-frame {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.imac-screen {
    position: relative;
    background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    border-radius: 25px;
    padding: 1.5rem;
    box-shadow: 
        inset 0 2px 4px rgba(255, 255, 255, 0.1),
        0 0 0 2px #000,
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 10px 25px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 800px;
}

.imac-screen::before {
    content: '';
    position: absolute;
    top: 0.8rem;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #2d2d2d 0%, #1a1a1a 100%);
    border-radius: 50%;
    box-shadow: 
        inset 0 1px 2px rgba(0, 0, 0, 0.5),
        0 0 4px rgba(0, 0, 0, 0.3);
}

.screen-bezel {
    position: relative;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    padding-bottom: 56.25%;
    height: 0;
    box-shadow: 
        inset 0 0 0 1px #333,
        0 0 30px rgba(0, 0, 0, 0.6);
}

#modalVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    outline: none;
    border-radius: 14px;
}

.imac-stand {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -15px;
    z-index: -1;
}

.stand-neck {
    width: 6px;
    height: 40px;
    background: linear-gradient(180deg, #e2e8f0 0%, #cbd5e0 100%);
    border-radius: 3px;
    box-shadow: 
        inset 0 1px 2px rgba(255, 255, 255, 0.8),
        inset 0 -1px 2px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.2);
}

.stand-base {
    width: 120px;
    height: 25px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 50%, #e2e8f0 100%);
    border-radius: 60px;
    margin-top: -5px;
    box-shadow: 
        inset 0 2px 4px rgba(255, 255, 255, 0.9),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1),
        0 4px 15px rgba(0, 0, 0, 0.2),
        0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.stand-base::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 12px;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
    border-radius: 6px;
    opacity: 0.6;
}

.stand-base::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 6px;
    background: linear-gradient(135deg, #cbd5e0 0%, #a0aec0 100%);
    border-radius: 3px;
    opacity: 0.4;
}

/* Responsive para dispositivos móviles */
@media (max-width: 768px) {
    .background-image-section {
        background-attachment: scroll;
        min-height: 60vh;
    }
    
    .background-image-content .section-title {
        font-size: 1.8rem;
    }
    
    .background-image-content .section-description {
        font-size: 1rem;
    }

    /* iMac responsive */
    .imac-screen {
        padding: 1rem;
        border-radius: 20px;
    }
    
    .imac-screen::before {
        width: 6px;
        height: 6px;
        top: 0.6rem;
    }
    
    .screen-bezel {
        border-radius: 12px;
    }
    
    #modalVideo {
        border-radius: 11px;
    }
    
    .stand-neck {
        width: 4px;
        height: 30px;
    }
    
    .stand-base {
        width: 80px;
        height: 20px;
        border-radius: 40px;
    }
    
    .stand-base::before {
        width: 60px;
        height: 10px;
        border-radius: 5px;
    }
    
    .stand-base::after {
        width: 30px;
        height: 5px;
    }

    .feature-pair {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature-header-compact {
        padding: 0.75rem;
        min-height: 60px;
    }

    .feature-icon-compact {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .feature-card-compact h3 {
        font-size: 0.95rem;
    }

    .feature-media-compact {
        height: 120px;
    }

    .feature-video-icon {
        font-size: 3rem;
        width: 80px;
        height: 80px;
    }

    .feature-content-compact {
        padding: 0.75rem;
    }

    .feature-content-compact p {
        font-size: 0.85rem;
    }

    .video-modal-content {
        margin: 5% auto;
        width: 98%;
        max-height: 95vh;
        border-radius: 12px;
    }

    .video-modal-header {
        padding: 1rem;
        border-radius: 12px 12px 0 0;
    }
    
    .video-modal-header h3 {
        font-size: 1.1rem;
    }
    
    .video-container {
        padding: 1rem;
    }
    
    .imac-frame {
        transform: scale(0.8);
        margin: -2rem auto;
    }

    /* Digifact Section Responsive */
    .digifact-section {
        padding: 2rem 0;
    }

    .badge-content {
        padding: 1.5rem;
        margin: 0 1rem;
        flex-direction: column;
        text-align: center;
    }

    .badge-content i {
        margin-right: 0;
        margin-bottom: 1rem;
        font-size: 2rem;
    }

    .digifact-logo {
        height: 40px;
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .badge-text h4 {
        font-size: 1.1rem;
    }

    .badge-text p {
        font-size: 0.9rem;
    }
}