/* 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, sans-serif;
    line-height: 1.6;
    color: #0F172A;
    overflow-x: hidden;
    background: #ffffff;
}

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

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

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1F2937;
}

.nav-logo i {
    color: #2563EB;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: #4B5563;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #2563EB;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #2563EB;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #1F2937;
    margin: 3px 0;
    transition: 0.3s;
}

/* Page Header */
.page-header {
    padding: 140px 20px 120px;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #334155 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::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="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.header-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.header-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 32px;
    color: #ffffff;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #E2E8F0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-content p {
    font-size: 1.4rem;
    color: #CBD5E1;
    line-height: 1.7;
    font-weight: 400;
}

/* Introduction Section */
.introduction {
    padding: 120px 20px;
    background: #ffffff;
    position: relative;
}

.intro-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 40px;
    letter-spacing: -0.01em;
    position: relative;
}

.intro-content h2::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2563EB, #1D4ED8);
    border-radius: 2px;
}

.intro-content p {
    font-size: 1.3rem;
    color: #475569;
    line-height: 1.8;
    font-weight: 400;
}

/* Service Sections */
.service-section {
    padding: 140px 20px;
    background: #ffffff;
    position: relative;
}

.service-section.alt-bg {
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
}

.service-content {
    max-width: 1200px;
    margin: 0 auto;
}

.service-header {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 100px;
}

.service-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
    position: relative;
    margin-top: 12px;
    transition: all 0.3s ease;
}

.service-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #2563EB, #1D4ED8, #3B82F6);
    border-radius: 26px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-section:hover .service-icon::before {
    opacity: 1;
}

.service-icon i {
    font-size: 2.5rem;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.service-section:hover .service-icon i {
    transform: scale(1.1);
}

.service-title {
    flex: 1;
}

.service-title h2 {
    font-size: 2.75rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 32px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    position: relative;
}

.service-title p {
    font-size: 1.25rem;
    color: #475569;
    line-height: 1.8;
    font-weight: 400;
}

/* Deliverables */
.deliverables h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 60px;
    letter-spacing: -0.01em;
    text-align: center;
    position: relative;
}

.deliverables h3::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #2563EB, #1D4ED8);
    border-radius: 2px;
}

.deliverables-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
}

.deliverable-item {
    background: #ffffff;
    padding: 40px 36px;
    border-radius: 20px;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #E2E8F0;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.deliverable-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #2563EB, transparent);
    transition: left 0.6s ease;
}

.deliverable-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #CBD5E1;
}

.deliverable-item:hover::before {
    left: 100%;
}

.deliverable-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #EBF4FF 0%, #DBEAFE 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.deliverable-item:hover .deliverable-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
}

.deliverable-icon i {
    color: #2563EB;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.deliverable-item:hover .deliverable-icon i {
    color: #ffffff;
    transform: scale(1.1);
}

.deliverable-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.deliverable-item:hover .deliverable-content h4 {
    color: #2563EB;
}

.deliverable-content p {
    font-size: 1rem;
    color: #64748B;
    line-height: 1.6;
    margin: 0;
}

/* Capabilities Grid */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.capability-category {
    background: #ffffff;
    padding: 50px 40px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #E2E8F0;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.capability-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563EB, #1D4ED8, #3B82F6);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.capability-category:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: #CBD5E1;
}

.capability-category:hover::before {
    transform: scaleX(1);
}

.category-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
}

.category-header i {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.capability-category:hover .category-header i {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.4);
}

.category-header h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #0F172A;
    transition: color 0.3s ease;
}

.capability-category:hover .category-header h4 {
    color: #2563EB;
}

.capability-category p {
    font-size: 1.1rem;
    color: #64748B;
    line-height: 1.7;
    margin: 0;
}

/* Call to Action */
.cta-section {
    padding: 140px 20px;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #334155 100%);
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 32px;
    letter-spacing: -0.01em;
    background: linear-gradient(135deg, #ffffff 0%, #E2E8F0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 1.3rem;
    color: #CBD5E1;
    margin-bottom: 60px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 18px 40px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::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 ease;
}

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

.btn-primary {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, #1D4ED8 0%, #1E40AF 100%);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #475569;
    box-shadow: 0 8px 25px rgba(71, 85, 105, 0.2);
}

.btn-secondary:hover {
    background: #475569;
    border-color: #475569;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(71, 85, 105, 0.3);
}

/* Footer */
.footer {
    background: #0F172A;
    color: #CBD5E1;
    padding: 100px 20px 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
}

.footer-logo i {
    color: #2563EB;
    font-size: 1.8rem;
}

.footer-section h4 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 32px;
    font-size: 1.2rem;
}

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

.footer-section li {
    margin-bottom: 16px;
}

.footer-section a {
    color: #CBD5E1;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.footer-section a:hover {
    color: #2563EB;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 32px;
}

.social-links a {
    width: 48px;
    height: 48px;
    background: #1E293B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #2563EB;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #1E293B;
    color: #94A3B8;
    font-size: 1rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 64px;
    height: 64px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: whatsappPulse 2s infinite;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    color: white;
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover i {
    transform: scale(1.1);
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    background: #1F2937;
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: #1F2937;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4), 0 0 0 15px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 40px 0;
        gap: 24px;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .header-content h1 {
        font-size: 2.8rem;
    }

    .intro-content h2 {
        font-size: 2.2rem;
    }

    .service-header {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .service-icon {
        margin: 0 auto;
    }

    .service-title h2 {
        font-size: 2.2rem;
    }

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

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

    .cta-content h2 {
        font-size: 2.2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 240px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header-content h1 {
        font-size: 2.2rem;
    }

    .intro-content h2 {
        font-size: 1.8rem;
    }

    .service-title h2 {
        font-size: 1.8rem;
    }

    .deliverable-item {
        padding: 32px 24px;
    }

    .capability-category {
        padding: 40px 28px;
    }

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

    .service-section {
        padding: 100px 20px;
    }
}

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

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

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

.service-section {
    animation: fadeInUp 1s ease-out;
}

.deliverable-item {
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.deliverable-item:nth-child(1) { animation-delay: 0.1s; }
.deliverable-item:nth-child(2) { animation-delay: 0.15s; }
.deliverable-item:nth-child(3) { animation-delay: 0.2s; }
.deliverable-item:nth-child(4) { animation-delay: 0.25s; }
.deliverable-item:nth-child(5) { animation-delay: 0.3s; }
.deliverable-item:nth-child(6) { animation-delay: 0.35s; }
.deliverable-item:nth-child(7) { animation-delay: 0.4s; }
.deliverable-item:nth-child(8) { animation-delay: 0.45s; }
.deliverable-item:nth-child(9) { animation-delay: 0.5s; }
.deliverable-item:nth-child(10) { animation-delay: 0.55s; }
.deliverable-item:nth-child(11) { animation-delay: 0.6s; }

.capability-category {
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.capability-category:nth-child(1) { animation-delay: 0.1s; }
.capability-category:nth-child(2) { animation-delay: 0.2s; }
.capability-category:nth-child(3) { animation-delay: 0.3s; }
.capability-category:nth-child(4) { animation-delay: 0.4s; }

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 70px;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #2563EB, #1D4ED8);
    z-index: 1000;
    transition: width 0.1s ease;
}

/* Enhanced Focus States for Accessibility */
.btn:focus,
.nav-menu a:focus {
    outline: 2px solid #2563EB;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar,
    .whatsapp-float,
    .cta-section {
        display: none;
    }
    
    .service-section {
        page-break-inside: avoid;
    }
}