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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

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

/* Icon styling for service cards and differentiators */
.service-icon, .diff-icon {
    font-size: 3rem;
    color: #3b82f6;
    margin-bottom: 1.5rem;
    display: block;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon,
.diff-item:hover .diff-icon {
    transform: scale(1.1) rotate(5deg);
    color: #1e40af;
}

/* Header with vertical stacking - enhanced */
.new-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.08);
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

.new-header:hover {
    box-shadow: 0 6px 30px rgba(30, 64, 175, 0.12);
}

.new-header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

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

.logo-img {
    height: 60px;
    width: auto;
    transition: transform 0.4s ease, filter 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(30, 64, 175, 0.15));
}

.logo-img:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 4px 12px rgba(30, 64, 175, 0.25));
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    color: #1e40af;
    white-space: nowrap;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 1024px) {
    .logo-text {
        font-size: 2rem;
    }
}

.mobile-toggle {
    display: block;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0.6rem 0.8rem;
    color: white;
    position: absolute;
    right: 0;
    top: 0;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(30, 64, 175, 0.2);
}

.mobile-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

@media (min-width: 768px) {
    .mobile-toggle {
        display: none;
    }
}

.new-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background: white;
    animation: slideDown 0.3s ease;
}

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

.new-nav.mobile-open {
    display: flex;
}

@media (min-width: 768px) {
    .new-nav {
        display: flex !important;
        flex-direction: row;
        gap: 1.5rem;
        padding: 0;
        justify-content: center;
        width: auto;
    }
}

.nav-link {
    text-decoration: none;
    color: #374151;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 0.75rem;
    display: block;
    text-align: center;
    white-space: nowrap;
    border-radius: 6px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #1e40af, #3b82f6);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: #1e40af;
    background: rgba(30, 64, 175, 0.05);
}

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

.nav-link.active {
    color: #1e40af;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
}

/* Hero sections - enhanced with animated gradient */
.hero, .page-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 40%, #3b82f6 80%, #60a5fa 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.hero::before, .page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255,255,255,0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero h1, .page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    position: relative;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
    animation: fadeInUp 0.8s ease;
}

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

.lead {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.95;
    position: relative;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.btn {
    padding: 16px 36px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.4s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transition: width 0.6s ease, height 0.6s ease;
    transform: translate(-50%, -50%);
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: #fff;
    color: #1e40af;
    box-shadow: 0 4px 20px rgba(255,255,255,0.3);
}

.btn-primary:hover {
    background: #f8fafc;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255,255,255,0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    box-shadow: 0 4px 20px rgba(255,255,255,0.15);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255,255,255,0.25);
}

.btn-link {
    color: #1e40af;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-link:hover {
    gap: 0.8rem;
    text-decoration: underline;
}

/* Sections - enhanced */
section {
    padding: 80px 0;
    position: relative;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    color: #111827;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #1e40af, #3b82f6);
    border-radius: 2px;
}

.content-section {
    margin-bottom: 4rem;
}

.services-overview {
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

/* Grids - enhanced with stagger animation */
.services-grid, .diff-grid, .approach-grid, .use-cases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card, .diff-item, .approach-item, .use-case {
    background: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.service-card::before, .diff-item::before, .approach-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1e40af, #3b82f6, #60a5fa);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before, .diff-item:hover::before, .approach-item:hover::before {
    transform: scaleX(1);
}

.service-card:hover, .diff-item:hover, .approach-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(30, 64, 175, 0.15);
    border-color: rgba(30, 64, 175, 0.3);
}

.service-card h3, .diff-item h3, .approach-item h3 {
    color: #1e40af;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.service-card:hover h3, .diff-item:hover h3, .approach-item:hover h3 {
    transform: translateX(5px);
}

.use-case {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-left: 4px solid #3b82f6;
}

.use-case h4 {
    color: #1e40af;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

/* Lists - enhanced */
.capabilities-list {
    list-style: none;
    max-width: 900px;
    margin: 0 auto;
}

.capabilities-list li {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    margin-bottom: 1rem;
    padding: 1.5rem;
    border-left: 4px solid #1e40af;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.capabilities-list li:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.1);
    border-left-width: 6px;
}

.capabilities-list strong {
    color: #1e40af;
    font-size: 1.05rem;
}

/* CTA sections - enhanced */
.cta-section {
    text-align: center;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
    color: white;
    padding: 4rem 2rem;
    border-radius: 24px;
    margin: 4rem auto;
    max-width: 800px;
    box-shadow: 0 20px 60px rgba(30, 64, 175, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-section h2 {
    color: white;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.cta-section h2::after {
    background: rgba(255,255,255,0.3);
}

.cta-section .btn {
    position: relative;
    z-index: 1;
}

.contact {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    text-align: center;
}

/* Footer - enhanced */
footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    text-align: center;
    padding: 2.5rem 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}

footer p {
    opacity: 0.9;
}

/* Page content */
.page-content {
    max-width: 1100px;
    margin: 0 auto;
}

.differentiators {
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

/* Responsive - enhanced */
@media (max-width: 768px) {
    .hero, .page-hero {
        padding: 80px 0 60px;
    }

    section {
        padding: 60px 0;
    }

    h2 {
        font-size: 2rem;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .service-card, .diff-item, .approach-item {
        padding: 2rem;
    }

    .service-icon, .diff-icon {
        font-size: 2.5rem;
    }
}

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

/* Selection styling */
::selection {
    background: #1e40af;
    color: white;
}

::-moz-selection {
    background: #1e40af;
    color: white;
}
