/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --background: #ffffff;
    --text-color: #1f2937;
    --light-text: #ffffff;
    --brand-blue: #274c78;
    --brand-blue-dark: #1e3d61;
    --section-padding: 5rem 2rem;
    --font-primary: 'Lato', sans-serif;
    --font-code: 'Source Code Pro', monospace;
    --font-special: 'Capriola', sans-serif;
    --container-width: 1200px;
}

/* Base Typography */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-color);
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-special);
    line-height: 1.2;
    color: var(--text-color);
}

code, pre, .tech-stack {
    font-family: var(--font-code);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 100;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav > div {
    width: 90%;
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: block;
    transition: transform 0.2s ease;
}

.logo-link:hover {
    transform: scale(1.02);
}

.logo-link:active {
    transform: scale(0.98);
}

.logo img {
    width: 199px;
    height: auto;
    object-fit: contain;
}

@media (max-width: 640px) {
    .logo img {
        width: 180px;
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    transition: all 0.2s ease;
    font-family: var(--font-special);
    font-size: 1.05rem;
    white-space: nowrap;
    position: relative;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 1.5rem;
    right: 1.5rem;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

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

.nav-links a:hover:after {
    transform: scaleX(1);
}

.nav-links a:active {
    transform: scale(0.98);
}

.mobile-menu-button {
    display: none;
    padding: 0.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-color);
    transition: all 0.2s ease;
}

.mobile-menu-button svg {
    width: 24px;
    height: 24px;
}

.mobile-menu-button:hover {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
}

.mobile-menu-button:active {
    background: rgba(37, 99, 235, 0.15);
    transform: scale(0.95);
}

@media (max-width: 640px) {
    nav {
        padding: 0.75rem 0;
    }

    nav > div {
        width: 90%;
    }

    .mobile-menu-button {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 4rem;
        left: 0;
        right: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(8px);
        padding: 1rem 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        gap: 0;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        margin: 0;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-links a:after {
        display: none;
    }

    .nav-links a:hover {
        background: rgba(37, 99, 235, 0.05);
    }

    .nav-links a:active {
        background: rgba(37, 99, 235, 0.1);
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

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

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 2rem;
    margin-top: 4rem;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    margin-bottom: 2rem;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
}

.hero .cta-button {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: #ffffff;
    background: var(--primary-color);
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero .cta-button:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero .cta-button:active {
    transform: translateY(0);
}

@media (max-width: 640px) {
    .hero {
        min-height: 500px;
    }

    .hero-content {
        padding: 0 1rem;
        margin-top: 2rem;
    }
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    background-color: #274c78;
    border-radius: 0.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 6px rgba(39, 76, 120, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(39, 76, 120, 0.25);
    background-color: #1e3d61;
}

/* Ripple effect for buttons */
.ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.2s ease;
    text-decoration: none;
}

.cta-button svg {
    width: 1.5rem;
    height: 1.5rem;
}

.cta-button:hover {
    transform: translateY(-2px);
}

.cta-button-call {
    background-color: #10b981;
    color: white;
}

.cta-button-call:hover {
    background-color: #059669;
}

.cta-button-whatsapp {
    background-color: #25D366;
    color: white;
    border: 1px solid #25D366;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.cta-button-whatsapp:hover {
    background-color: #128C7E;
    border-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.whatsapp-icon {
    color: white;
    width: 20px;
    height: 20px;
    margin-right: 4px;
}

/* Services Section */
.services {
    padding: var(--section-padding);
    background-color: var(--background);
    text-align: center;
}

.services h2 {
    font-family: var(--font-special);
    font-size: clamp(2rem, 5vw, 2.5rem);
    color: var(--text-color);
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .service-card:last-child {
        grid-column: 2;
    }
}

.service-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

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

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    transition: all 0.2s ease;
}

.service-icon svg {
    width: 64px;
    height: 64px;
    color: var(--primary-color);
    transition: transform 0.2s ease;
}

.service-card:hover .service-icon {
    background: rgba(37, 99, 235, 0.15);
    transform: scale(1.05);
}

.service-card:hover .service-icon svg {
    transform: scale(1.1);
}

.service-card h3 {
    font-family: var(--font-special);
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.service-card p {
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1199px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-card:last-child {
        grid-column: 1 / -1;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem;
        max-width: 100%;
    }
    
    .service-card:last-child {
        max-width: 100%;
    }
    
    .service-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 1.5rem;
    }
    
    .service-icon svg {
        width: 52px;
        height: 52px;
    }
}

/* Benefits Section */
.benefits {
    padding: var(--section-padding);
    background-color: #161923;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(37, 99, 235, 0) 100%);
    pointer-events: none;
}

.benefits h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    color: #ffffff;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3);
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.2);
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    margin-bottom: 2rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    transition: all 0.2s ease;
}

.benefit-icon svg {
    width: 64px;
    height: 64px;
    color: #60a5fa;
    transition: transform 0.2s ease;
}

.benefit-card:hover .benefit-icon {
    background: rgba(37, 99, 235, 0.15);
    transform: scale(1.05);
}

.benefit-card:hover .benefit-icon svg {
    transform: scale(1.1);
    color: #93c5fd;
}

.benefit-card h3 {
    font-size: 1.5rem;
    color: #e5e7eb;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: #9ca3af;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .benefit-card {
        padding: 2rem;
    }
    
    .benefit-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 1.5rem;
    }
    
    .benefit-icon svg {
        width: 52px;
        height: 52px;
    }
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, #f8fafc, #f1f5f9);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232563eb' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}

.contact-section .container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    position: relative;
}

.contact-section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.section-description {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: #64748b;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.1);
    overflow: hidden;
    position: relative;
}

.contact-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--primary-color), var(--brand-blue));
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
}

.form-group label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8fafc;
    color: #1e293b;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.form-group input::placeholder,
.form-group textarea::placeholder,
.form-group select::placeholder {
    color: #94a3b8;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #cbd5e1;
    background-color: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
}

.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15);
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.privacy-check {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background-color: rgba(37, 99, 235, 0.05);
    border-radius: 0.75rem;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.privacy-check label {
    font-size: 0.9rem;
    line-height: 1.4;
}

.privacy-check input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 0.25rem;
    border: 2px solid #cbd5e1;
    appearance: none;
    -webkit-appearance: none;
    background-color: white;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}

.privacy-check input[type="checkbox"]:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.privacy-check input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.privacy-check input[type="checkbox"]:focus {
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.25);
}

.submit-button::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: all 0.6s ease;
}

.submit-button:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(37, 99, 235, 0.3);
}

.submit-button:hover::before {
    left: 100%;
}

.submit-button:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
}

.submit-button svg {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.3s ease;
}

.submit-button:hover svg {
    transform: translateX(3px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: white;
    border-radius: 1rem;
    padding: 2.5rem;
    height: 100%;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-info h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
    color: var(--text-color);
}

.info-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #f8fafc;
    padding: 1.25rem;
    border-radius: 0.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: var(--text-color);
}

.info-item:hover {
    background: #f1f5f9;
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.info-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    padding: 0.75rem;
}

.info-icon svg {
    width: 100%;
    height: 100%;
    color: var(--primary-color);
}

.info-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-text strong {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
}

.info-text span {
    font-size: 1rem;
    line-height: 1.5;
    color: #64748b;
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 4rem 0;
    }
    
    .contact-container {
        padding: 2rem;
    }
    
    .info-item {
        padding: 1rem;
    }
    
    .info-icon {
        width: 2.5rem;
        height: 2.5rem;
    }
}

/* CTA Section with Animation */
.cta {
    background: linear-gradient(165deg, 
        var(--brand-blue) 0%,
        var(--primary-color) 50%,
        var(--secondary-color) 100%
    );
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 60%);
    z-index: 1;
    opacity: 0.8;
    animation: subtleGlow 10s infinite alternate;
}

@keyframes subtleGlow {
    0% {
        opacity: 0.4;
        background-position: 0% 50%;
    }
    50% {
        opacity: 0.6;
        background-position: 100% 50%;
    }
    100% {
        opacity: 0.4;
        background-position: 0% 50%;
    }
}

.cta .container {
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: float 6s ease-in-out infinite;
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: float 6s ease-in-out infinite;
    animation-delay: 0.5s;
    color: #ffffff;
    opacity: 0.9;
}

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

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: white;
    color: #1e3a8a;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: rgba(37, 99, 235, 0.1);
    transition: all 0.3s ease;
    z-index: -1;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.cta-button:hover::after {
    height: 100%;
}

.cta-button svg {
    width: 1.5rem;
    height: 1.5rem;
    transition: all 0.3s ease;
}

.cta-button:hover svg {
    transform: scale(1.2);
}

.cta-button-call {
    background-color: #3b82f6;
    color: white;
    animation: pulse 2s infinite;
}

.cta-button-call:hover {
    background-color: #2563eb;
    animation: none;
}

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

/* WhatsApp button styling */
.cta-button-whatsapp {
    background-color: #25D366;
    color: white;
    border: 1px solid #25D366;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    animation: bounce 3s infinite;
    animation-delay: 1s;
}

.cta-button-whatsapp:hover {
    background-color: #128C7E;
    border-color: #128C7E;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    animation: none;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.whatsapp-icon {
    color: white;
    width: 20px;
    height: 20px;
    margin-right: 4px;
}

/* Contact Us button hover state - red color */
.cta-button:first-child:hover {
    background-color: #dc2626; /* Red color */
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.3);
}

.cta-button:first-child:hover svg {
    color: white;
    stroke: white;
}

/* Footer */
footer {
    background: var(--text-color);
    backdrop-filter: blur(8px);
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.2);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
}

.footer-info h3 {
    font-family: var(--font-special);
    font-size: 1.5rem;
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

.footer-info p {
    color: var(--light-text);
    opacity: 0.8;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-links a {
    color: var(--light-text);
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    transition: all 0.2s ease;
    font-family: var(--font-special);
    font-size: 1.05rem;
    white-space: nowrap;
    position: relative;
}

.footer-links a:after {
    content: '';
    position: absolute;
    bottom: 0.25rem;
    left: 0.75rem;
    right: 0.75rem;
    height: 2px;
    background: var(--accent-color);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

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

.footer-links a:hover:after {
    transform: scaleX(1);
}

.footer-links a:active {
    transform: scale(0.98);
}

.footer-bottom {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: var(--light-text);
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-policies {
    margin-top: 1rem;
    padding-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
}

.footer-policies a {
    color: #93c5fd;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-policies a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-policies span {
    color: var(--light-text);
    opacity: 0.5;
}

.powered-by {
    text-align: center;
    margin-top: 20px;
}

.powered-by img {
    max-width: 120px;
    height: auto;
}

/* Footer email link */
.footer-email-link {
    color: #93c5fd;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.footer-email-link:hover {
    color: #dbeafe;
    text-decoration: none;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-links a {
        padding: 0.25rem 0.5rem;
    }

    .footer-links a:after {
        bottom: 0.1rem;
        left: 0.5rem;
        right: 0.5rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        padding: 0.75rem 5%;
    }
    
    .mobile-menu-button {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        padding: 1rem;
        border-radius: 0 0 1rem 1rem;
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .logo img {
        width: 200px;
    }

    .hero h1 {
        font-size: clamp(2rem, 4vw, 2.5rem);
    }

    .section-title {
        font-size: clamp(1.75rem, 3.5vw, 2rem);
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

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

@media (max-width: 480px) {
    nav {
        padding: 0.5rem 5%;
        width: 100%;
        top: 0;
        border-radius: 0;
    }

    .logo img {
        width: 180px;
    }

    .hero h1 {
        font-size: clamp(1.75rem, 3.5vw, 2rem);
    }

    .section-title {
        font-size: clamp(1.5rem, 3vw, 1.75rem);
    }

    .service-card h3 {
        font-size: 1.25rem;
    }

    .footer {
        padding: 3rem 1.5rem 1.5rem;
    }

    .footer-bottom {
        margin-top: 2rem;
    }

    .footer-policies {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-policies span {
        display: none;
    }
}

/* Page Loader */
body.loading {
    overflow: hidden;
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

body:not(.loading) .loader {
    opacity: 0;
    pointer-events: none;
}

.loader-content {
    width: 300px;
    text-align: center;
}

.loader-progress {
    width: 100%;
    height: 4px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-bar {
    width: 0;
    height: 100%;
    background: var(--primary-color);
    border-radius: 2px;
    transition: width 0.3s ease-out;
}

.loader-text {
    font-family: var(--font-special);
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .loader-content {
        width: 250px;
    }
}

/* Prevent content flash during load */
body.loading > *:not(.loader) {
    opacity: 0;
}

body > *:not(.loader) {
    opacity: 1;
    transition: opacity 0.5s ease;
}

/* Chi Siamo Section */
.about {
    padding: 6rem 0;
    background-color: #e3e6e9cc;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

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

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.digital-globe-image {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.5s ease;
    border: 5px solid white;
    position: relative;
    z-index: 1;
}

.digital-globe-image:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.25);
}

.about-image::before {
    content: '';
    position: absolute;
    width: 90%;
    height: 90%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
    border-radius: 50%;
    z-index: 0;
    filter: blur(25px);
    opacity: 0.8;
    animation: pulse-subtle 4s infinite alternate;
}

@keyframes pulse-subtle {
    0% {
        opacity: 0.6;
        transform: scale(0.95);
    }
    100% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.about h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    color: var(--text-color);
    margin-bottom: 1.5rem;
    position: relative;
}

.about h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin-top: 0.75rem;
    border-radius: 2px;
}

.lead {
    font-size: 1.25rem;
    color: #4b5563;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.about-description {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.about-description p {
    color: #4b5563;
    line-height: 1.7;
    font-size: 1rem;
}

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

.highlight-text {
    font-weight: 600;
    color: #1e293b;
}

.highlight {
    font-weight: 600;
    color: #1e293b;
    padding: 1rem;
    background: rgba(37, 99, 235, 0.05);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 0.5rem 0.5rem 0;
}

.about-features {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

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

.feature-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary-color);
}

.feature-text h3 {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.feature-text p {
    color: #6b7280;
    font-size: 0.95rem;
}

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 1rem;
    }
    
    .digital-globe-image {
        max-width: 80%;
        margin: 0 auto;
    }
    
    .about-features {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 4rem 0;
    }
    
    .about h2 {
        text-align: center;
    }
    
    .about h2::after {
        margin-left: auto;
        margin-right: auto;
    }
    
    .lead {
        text-align: center;
    }
    
    .digital-globe-image {
        max-width: 100%;
    }
    
    .feature {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .feature-icon {
        margin-bottom: 0.75rem;
    }
}

/* Company Name Highlight */
.company-highlight {
    font-weight: 700;
    color: #2563eb;
    position: relative;
    display: inline-block;
}

.company-highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #2563eb;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.company-highlight:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* reCAPTCHA styling */
.recaptcha-container {
    margin-bottom: 1.5rem;
}

.recaptcha-container .g-recaptcha {
    transform-origin: left top;
    margin-bottom: 0.5rem;
}

/* Media query for responsive reCAPTCHA on mobile */
@media screen and (max-width: 400px) {
    .recaptcha-container .g-recaptcha {
        transform: scale(0.85);
    }
}

/* Services Detail Page */
.services-detail {
    padding: 4rem 2rem;
    background-color: #f8f9fa;
}

.services-detail .container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-detail h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    color: #333;
}

.services-detail .section-description {
    text-align: center;
    margin-bottom: 3rem;
    color: #666;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services-detail .service-card {
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.service-details {
    margin-top: 1.5rem;
    text-align: left;
}

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

.service-details li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: #555;
}

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

/* Brands Section */
.brands-section {
    padding: 4rem 2rem;
    background-color: white;
}

.brands-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.brands-section h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    color: #333;
}

.brands-section .section-description {
    text-align: center;
    margin-bottom: 3rem;
    color: #666;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
}

.brand-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.brand-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.brand-logo {
    height: 80px;
    max-width: 100%;
    width: auto;
    margin-bottom: 1rem;
    object-fit: contain;
}

.brand-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

/* Clients Section */
.clients-section {
    padding: 4rem 2rem;
    background-color: #f8f9fa;
}

.clients-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.clients-section h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    color: #333;
}

.clients-section .section-description {
    text-align: center;
    margin-bottom: 3rem;
    color: #666;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
}

.client-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.client-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.client-logo {
    height: 80px;
    max-width: 100%;
    width: auto;
    margin-bottom: 1rem;
    object-fit: contain;
}

.client-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    color: #666;
}
