:root {
    --accent: #00d4ff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
}

.serif {
    font-family: 'Playfair Display', serif;
}

.glass {
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(16px);
}

.hero-grid {
    background: linear-gradient(90deg, #0a1428 0%, #112233 100%);
    background-image:
        radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 212, 255, 0.08) 0%, transparent 50%);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0;
    height: 1.5px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.logo-img {
    height: 63px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.05);
}

.service-card {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -15px rgb(0 212 255 / 0.2);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.domain-card {
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.domain-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 212, 255, 0.35);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

/* New Styles for Added Sections */
.process-card,
.deliverable-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-card:hover,
.deliverable-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgb(0 212 255 / 0.15);
    border-color: rgba(0, 212, 255, 0.3);
}

.process-card .text-5xl {
    transition: transform 0.4s ease;
}

.process-card:hover .text-5xl {
    transform: scale(1.12);
}

/* Enhanced hover for ICP / Who We Serve cards */
#who .group:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-4px);
}

/* General improvements */
.fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .logo-img {
        height: 40px;
    }
    
    .section-title {
        font-size: clamp(1.85rem, 5.5vw, 2.5rem);
    }
}

/* Extra polish for larger screens */
@media (min-width: 1024px) {
    .service-card {
        min-height: 380px;
    }
    
    .process-card {
        min-height: 240px;
    }
}