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



:root {
    --primary-color: #3B82F6;
    --primary-dark: #2563EB;
    --secondary-color: #10B981;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-light: #9CA3AF;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-brand h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-brand span {
    color: var(--text-primary);
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

/* Scrollspy active state */
.nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
    background: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    overflow: visible;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="25" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="25" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

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

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

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

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-contact {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    min-height: 48px;
}

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

.whatsapp-btn:hover {
    background: #25D366;
    border-color: #25D366;
    color: white;
}

.email-btn:hover {
    background: #3B82F6;
    border-color: #3B82F6;
    color: white;
}

.contact-btn i {
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--secondary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* Hero Graphics */
.hero-graphic {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 1.2rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 1;
    visibility: visible;
}

.floating-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Efecto especial para las tarjetas superpuestas principales */
.card-1, .card-2, .card-4 {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.card-1:hover, .card-2:hover, .card-4:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* Asegurar que todas las tarjetas sean visibles */
.card-1, .card-2, .card-3, .card-4, .card-5, .card-6 {
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
}

.floating-card i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.floating-card span {
    font-weight: 600;
    font-size: 0.9rem;
}

.card-1 {
    top: 10%;
    left: 8%;
    animation: float 6s ease-in-out infinite;
    animation-delay: 0s;
    z-index: 3;
}

.card-2 {
    top: 35%;
    left: 20%;
    animation: floatAlt 7s ease-in-out infinite;
    animation-delay: 2s;
    z-index: 2;
}

.card-3 {
    bottom: 10%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
    animation-delay: 4s;
    z-index: 1;
}

.card-4 {
    top: 55%;
    left: 32%;
    animation: floatAlt 7s ease-in-out infinite;
    animation-delay: 1s;
    z-index: 1;
}

.card-5 {
    top: 8%;
    right: 15%;
    animation: float 6s ease-in-out infinite;
    animation-delay: 3s;
    z-index: 1;
}

.card-6 {
    bottom: 35%;
    left: 5%;
    animation: floatAlt 7s ease-in-out infinite;
    animation-delay: 5s;
    z-index: 1;
}

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

@keyframes floatAlt {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(1deg); }
    75% { transform: translateY(-15px) rotate(-1deg); }
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

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

.services-grid {
    display: grid;
    gap: 3rem;
}

.service-category {
    background: var(--bg-white);
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.service-category:hover {
    transform: translateY(-5px);
}

.service-category.full-width {
    grid-column: 1 / -1;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.category-title i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.services-list {
    display: grid;
    gap: 2rem;
}

.service-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 0.75rem;
    background: var(--bg-light);
    transition: all 0.3s ease;
}

.service-item:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
}

.service-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.service-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.service-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.tech-list {
    list-style: none;
}

.tech-list li {
    color: var(--text-light);
    font-size: 0.9rem;
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1rem;
}

.tech-list li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Micro CTAs */
.micro-cta {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.micro-cta:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

/* About CTA */
.about-cta {
    text-align: center;
    margin-top: 2rem;
}

.cafe-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.cafe-cta:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cafe-cta i {
    font-size: 1.1rem;
}

/* Response Time Text */
.response-time-text {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.response-time-text i {
    color: var(--secondary-color);
}

/* Language Selector */
.language-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    border: 2px solid rgba(156, 163, 175, 0.3);
    background: transparent;
    color: var(--text-secondary);
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    opacity: 0.7;
}

.lang-btn:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: rgba(59, 130, 246, 0.05);
    opacity: 1;
}

.lang-btn.active {
    color: white;
    border-color: var(--primary-color);
    background: var(--primary-color);
    font-weight: 600;
    opacity: 1;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* Asegurar que solo el botón activo esté destacado */
.lang-btn:not(.active) {
    color: var(--text-secondary);
    border-color: rgba(156, 163, 175, 0.3);
    background: transparent;
    opacity: 0.7;
}

/* Systems Grid */
.systems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.system-card {
    background: var(--bg-light);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.system-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
}

.system-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.system-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.system-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.system-description {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--bg-white);
}

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

.about-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.about-description:last-of-type {
    margin-bottom: 2.5rem;
}

.about-description strong {
    color: var(--primary-color);
    font-weight: 600;
}

.features-list {
    display: grid;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.feature-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.about-stats {
    display: grid;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
/*
.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    
}
*/

.stat-number {
    counter-reset: num var(--num);
}

.stat-number::after {
    content: counter(num);
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-top: 3rem;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 20px;
}

.contact-social {
    margin-top: 2rem;
}

.contact-social h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

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

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

/* Contact Form */
.contact-form {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.form-buttons .btn {
    flex: 1;
    min-width: 150px;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-buttons .btn-secondary {
    background: #25D366;
    color: white;
    border: 2px solid #25D366;
}

.form-buttons .btn-secondary:hover {
    background: #128C7E;
    border-color: #128C7E;
    transform: translateY(-2px);
}

/* CAPTCHA Styles */
.captcha-group {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.g-recaptcha {
    transform: scale(0.9);
    transform-origin: 0 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.recaptcha-fallback {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 0.5rem;
    border: 2px dashed #dee2e6;
    text-align: center;
}

.fallback-message {
    color: #6c757d;
}

.fallback-message i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #ffc107;
}

.fallback-message p {
    margin: 0.5rem 0;
    font-weight: 500;
}

.fallback-message small {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Loading button styles */
.btn-loading {
    display: none;
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn:disabled:hover {
    transform: none;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-brand span {
    color: var(--primary-color);
}

.footer-brand p {
    color: #9CA3AF;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9CA3AF;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-toggle {
        display: flex;
    }

    /* Scrollspy mobile styles */
    .nav-link.active::after {
        bottom: 0;
        left: -1rem;
        width: 4px;
        height: 100%;
        border-radius: 0;
    }

    .hero {
        padding: 6rem 0 4rem;
        min-height: 100vh;
    }

    /* Floating cards optimized for mobile */
    .hero-graphic {
        position: relative;
        height: 550px;
        margin-top: 2rem;
    }

    .floating-card {
        padding: 1.2rem 1.5rem;
    }

    .card-1 {
        top: 50px;
        left: 15%;
        animation: float 6s ease-in-out infinite;
        animation-delay: 0s;
        z-index: 3;
    }

    .card-2 {
        top: 120px;
        left: 35%;
        animation: floatAlt 7s ease-in-out infinite;
        animation-delay: 2s;
        z-index: 2;
    }

    .card-3 {
        top: 300px;
        right: 15%;
        animation: float 6s ease-in-out infinite;
        animation-delay: 4s;
        z-index: 1;
    }

    .card-4 {
        top: 190px;
        left: 55%;
        animation: floatAlt 7s ease-in-out infinite;
        animation-delay: 1s;
        z-index: 1;
    }

    .card-5 {
        top: 380px;
        left: 10%;
        animation: float 6s ease-in-out infinite;
        animation-delay: 3s;
        z-index: 1;
    }

    .card-6 {
        top: 460px;
        left: 50%;
        transform: translateX(-50%);
        animation: floatAlt 7s ease-in-out infinite;
        animation-delay: 5s;
        z-index: 1;
    }

    /* Services grid mobile optimization */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        padding: 0 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
        gap: 1rem;
        margin-bottom: 2rem;
    }

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

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

    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        min-height: 48px;
        min-width: 140px;
    }

    .contact-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-height: 48px;
        min-width: 120px;
    }

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

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

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

    .hero-graphic {
        height: 300px;
    }

    .floating-card {
        position: relative;
        margin: 1rem;
    }

    .card-1, .card-2, .card-3, .card-4, .card-5, .card-6 {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        transform: none;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

    .systems-grid {
        grid-template-columns: 1fr;
    }

    .services-list {
        gap: 1.5rem;
    }

    .service-item {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 6rem 0 3rem;
    }

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

    .section-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    /* About section responsive improvements */
    .about {
        padding: 3rem 0;
    }

    .about-description {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
        color: var(--text-secondary);
        text-align: left;
    }

    .features-list {
        gap: 1rem;
    }

    .feature-item {
        font-size: 0.95rem;
        line-height: 1.4;
        align-items: flex-start;
        text-align: left;
    }

    .feature-item i {
        margin-top: 0.2rem;
        flex-shrink: 0;
    }

    .service-category {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .form-buttons {
        flex-direction: column;
    }

    .form-buttons .btn {
        flex: none;
        width: 100%;
    }
    
    .g-recaptcha {
        transform: scale(0.8);
        transform-origin: center;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

.service-item,
.system-card,
.stat-item {
    animation: fadeInUp 0.6s ease forwards;
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}