/* Advanced Data Services - Professional CSS */

/* CSS Variables */
* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

:root {
    --primary-color: #3B82F6;
    --primary-dark: #1E40AF;
    --primary-light: #DBEAFE;
    --secondary-color: #64748B;
    --accent-color: #10B981;
    --dark-color: #1E293B;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    --white: #FFFFFF;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --border-radius-sm: 0.375rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
    --border-radius-2xl: 1.5rem;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: var(--gray-700);
    font-size: 16px;
    margin: 0;
    padding: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--gray-200);
}

.navbar.scrolled {
    background: var(--white) !important;
    box-shadow: var(--shadow-lg);
    padding: 0.75rem 0;
}

.navbar-brand img {
    transition: all 0.3s ease;
    filter: brightness(0.95);
}

.navbar-nav .nav-link {
    color: var(--gray-700) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: var(--border-radius-md);
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    background: var(--primary-light);
    transform: translateY(-2px);
}

.navbar-nav .nav-link.btn {
    background: var(--primary-color) !important;
    color: var(--white) !important;
    border: none;
    margin-left: 1rem;
}

.navbar-nav .nav-link.btn:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.1"><circle cx="30" cy="30" r="2"/></g></svg>');
    animation: float 20s ease-in-out infinite;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%);
}

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

.hero-content {
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 2rem;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.6;
    font-weight: 400;
}

.hero-buttons .btn {
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: var(--border-radius-xl);
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1.1rem;
}

.hero-buttons .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    border: none;
    box-shadow: var(--shadow-xl);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    background: var(--gray-50);
}

.hero-buttons .btn-outline-dark {
    border: 2px solid rgba(255,255,255,0.3);
    color: var(--white);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
}

.hero-buttons .btn-outline-dark:hover {
    background: rgba(255,255,255,0.2);
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Hero Stats */
.hero-stats {
    margin-top: 4rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-weight: 500;
}

/* Hero Visual Elements */
.hero-image-container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.floating-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--gray-700);
    animation: floatAnimation 6s ease-in-out infinite;
    backdrop-filter: blur(20px);
}

.floating-card i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.floating-card.card-1 {
    top: 15%;
    right: 10%;
    animation-delay: 0s;
}

.floating-card.card-2 {
    top: 60%;
    right: 5%;
    animation-delay: -2s;
}

.floating-card.card-3 {
    bottom: 20%;
    left: 10%;
    animation-delay: -4s;
}

.floating-card.card-4 {
    top: 35%;
    left: 5%;
    animation-delay: -6s;
}

@keyframes floatAnimation {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(1deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}


/* Code Window */
.hero-main-visual {
    z-index: 2;
    position: relative;
}

.code-window {
    background: var(--gray-900);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    max-width: 400px;
    margin: 0 auto;
}

.window-header {
    background: var(--gray-800);
    padding: 1rem;
    display: flex;
    align-items: center;
}

.window-controls {
    display: flex;
    gap: 0.5rem;
}

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

.control.close { background: #ff5f57; }
.control.minimize { background: #ffbd2e; }
.control.maximize { background: #28ca42; }

.code-content {
    padding: 1.5rem;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.code-line {
    margin-bottom: 0.5rem;
    color: var(--gray-300);
}

.keyword { color: #ff79c6; }
.function { color: #50fa7b; }
.variable { color: #8be9fd; }
.string { color: #f1fa8c; }

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

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--border-radius-sm);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Services Section */
.services-section {
    padding: 3rem 0 6rem 0;
    background: var(--white);
    margin-top: -5rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius-2xl);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

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

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--border-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.service-features li {
    padding: 0.5rem 0;
    color: var(--gray-600);
    position: relative;
    padding-left: 1.5rem;
}

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

/* About Section */
.about-section {
    padding: 6rem 0;
    background: var(--gray-50);
}

.about-image-container {
    position: relative;
    text-align: center;
}

.about-logo {
    max-width: 350px;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
}

.about-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.decoration-1, .decoration-2, .decoration-3 {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.decoration-1 {
    width: 200px;
    height: 200px;
    background: var(--primary-color);
    top: -50px;
    right: -50px;
    animation: floatAnimation 8s ease-in-out infinite;
}

.decoration-2 {
    width: 150px;
    height: 150px;
    background: var(--accent-color);
    bottom: -30px;
    left: -30px;
    animation: floatAnimation 6s ease-in-out infinite reverse;
}

.decoration-3 {
    width: 100px;
    height: 100px;
    background: var(--primary-dark);
    top: 50%;
    right: -20px;
    animation: floatAnimation 10s ease-in-out infinite;
}

.about-content {
    padding-left: 2rem;
}

.about-list {
    list-style: none;
    padding: 0;
}

.about-list li {
    padding: 0.5rem 0;
    color: var(--gray-600);
    font-weight: 500;
}

/* Process Section */
.process-section {
    padding: 6rem 0;
    background: var(--white);
}

.process-step {
    text-align: center;
    position: relative;
    padding: 2rem 1rem;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    box-shadow: var(--shadow-lg);
}

.step-icon {
    width: 100px;
    height: 100px;
    background: var(--gray-50);
    border-radius: var(--border-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem auto 1.5rem;
    border: 2px solid var(--gray-200);
    transition: all 0.3s ease;
}

.step-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.process-step:hover .step-icon {
    background: var(--primary-light);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.step-description {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Technologies Section */
.technologies-section {
    padding: 6rem 0;
    background: var(--gray-50);
}

.tech-category {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
    height: 100%;
}

.tech-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.tech-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    text-align: center;
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.tech-item {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

.tech-item:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    text-align: center;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons .btn {
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: var(--border-radius-xl);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cta-buttons .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    border: none;
}

.cta-buttons .btn-primary:hover {
    background: var(--gray-100);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.cta-buttons .btn-outline-light {
    border: 2px solid rgba(255,255,255,0.3);
    color: var(--white);
    background: rgba(255,255,255,0.1);
}

.cta-buttons .btn-outline-light:hover {
    background: rgba(255,255,255,0.2);
    border-color: var(--white);
    transform: translateY(-3px);
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: var(--gray-50);
}

.contact-form-container {
    background: var(--white);
    border-radius: var(--border-radius-2xl);
    padding: 3rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    display: block;
}

.form-control {
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius-md);
    padding: 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

/* Footer */
.footer-section {
    background: var(--white) !important;
    color: var(--gray-700);
    border-top: 1px solid var(--gray-200);
    padding: 3rem 1.5rem 2rem 1.5rem !important;
}

.footer-brand img {
    filter: none;
}

.footer-description {
    color: var(--gray-600);
    line-height: 1.6;
}

.footer-title {
    color: var(--gray-900);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

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

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

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

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

.footer-contact p {
    margin-bottom: 0.5rem;
    color: var(--gray-600);
}

.footer-contact-link {
    color: var(--gray-600);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.footer-divider {
    border-color: var(--gray-700);
    margin: 2rem 0;
}

.footer-copyright {
    color: var(--gray-600);
    margin: 0;
}

.footer-links-inline a {
    color: var(--gray-600);
    text-decoration: none;
    margin: 0 0.5rem;
}

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

.footer-divider {
    border-color: var(--gray-300);
    margin: 2rem 0;
}

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

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

.floating-whatsapp::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(45deg, #25D366, #128C7E);
    opacity: 0.7;
    z-index: -1;
    animation: neonGlow 1.5s ease-in-out infinite alternate;
}

@keyframes whatsappPulse {
    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);
    }
}

@keyframes neonGlow {
    from {
        box-shadow: 0 0 5px #25D366, 0 0 10px #25D366, 0 0 15px #25D366;
    }
    to {
        box-shadow: 0 0 10px #25D366, 0 0 20px #25D366, 0 0 30px #25D366;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
        padding-top: 80px;
        width: 100%;
        margin-left: 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .floating-card {
        display: none;
    }

    .hero-image-container .code-window {
        display: none;
    }

    .mobile-code-window {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .mobile-code-window .code-window {
        display: block !important;
        max-width: 100%;
        margin: 0 auto;
        transform: scale(0.85);
    }

    .hero-image-container {
        display: none;
    }

    .about-content {
        padding-left: 0;
        margin-top: 2rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .service-card, .tech-category {
        padding: 1.5rem;
    }

    .ai-partners {
        gap: 1rem;
    }

    .partner-logo {
        height: 40px;
        max-width: 80px;
    }

    .floating-whatsapp {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 1rem;
        bottom: 1.5rem;
        left: 1.5rem;
    }

    .navbar-nav .nav-link.btn {
        margin-left: 0;
        margin-top: 0.5rem;
        width: 100%;
        text-align: center;
    }

    .hero-stats {
        margin-top: 2rem;
    }

    .footer-description {
        font-size: 0.95rem;
    }

    .footer-title {
        font-size: 1.05rem;
    }

    .footer-links a {
        font-size: 0.95rem;
    }

    .footer-contact p {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .hero-stats .row {
        margin: 0;
    }

    .hero-stats .col-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
        padding: 0 0.5rem;
        margin-bottom: 1rem;
    }

    .stat-item {
        text-align: center;
    }

    .stat-number {
        font-size: 1.4rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .service-card, .tech-category {
        padding: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .floating-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        bottom: 1rem;
        right: 1rem;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
        bottom: 1rem;
        left: 1rem;
    }

    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-image-container {
        display: none;
    }

    .footer-description {
        font-size: 1rem;
    }

    .footer-title {
        font-size: 1.1rem;
    }

    .footer-links a {
        font-size: 1rem;
    }

    .footer-contact p {
        font-size: 1rem;
    }

    .footer-copyright {
        font-size: 0.95rem;
    }
}

@media (max-width: 375px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .floating-whatsapp {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .hero-stats .col-4 {
        padding: 0 0.25rem;
    }

    .stat-number {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }
}

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

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Contact Cards */
.contact-card {
    background: var(--white);
    border-radius: var(--border-radius-2xl);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
    text-align: center;
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--border-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.contact-icon i {
    font-size: 2rem;
    color: var(--white);
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.contact-card p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* AI Partners */
.ai-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.partner-logo {
    height: 60px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

/* AI Category Styling */
.ai-category {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(16, 185, 129, 0.05));
    border: 2px solid var(--primary-light);
}

.ai-category:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(16, 185, 129, 0.1));
    border-color: var(--primary-color);
}

/* Utility Classes */
.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.border-primary { border-color: var(--primary-color) !important; }