/* ==========================================================================
   Consulting Firm Base Styles & Variables
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Manrope:wght@600;700;800&display=swap');

:root {
    --primary-blue: #0047FF;
    --dark-navy: #0B1120;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --bg-white: #FFFFFF;
    --bg-light: #F9FAFB;
    --bg-accent: #EFF6FF;
    --border-light: #E5E7EB;
    
    --font-heading: 'Manrope', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-white);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark-navy);
    line-height: 1.2;
}

.h1 { font-size: 4.5rem; font-weight: 800; letter-spacing: -0.02em; }
.h2 { font-size: 2.5rem; font-weight: 700; letter-spacing: -0.01em; }
.h3 { font-size: 1.25rem; font-weight: 700; }

.text-blue { color: var(--primary-blue); }
.text-white { color: #FFFFFF; }
.text-navy { color: var(--dark-navy); }
.text-secondary { color: var(--text-secondary); }

/* ==========================================================================
   Layout Utilities
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

/* ==========================================================================
   Spacing
   ========================================================================== */
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }

.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.p-8 { padding: 2rem; }

.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-16 { margin-top: 4rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-16 { margin-bottom: 4rem; }

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

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: #0036cc;
    box-shadow: 0 4px 14px 0 rgba(0, 71, 255, 0.39);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    font-weight: 600;
}

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

/* Header */
.header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 50;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--dark-navy);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

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

/* Cards & Layouts */
.card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 1rem;
    padding: 2rem;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    transform: translateY(-4px);
    border-color: var(--bg-white);
}

.bg-navy-card {
    background-color: var(--dark-navy);
    color: var(--bg-white);
}

/* Utilities */
.w-full { width: 100%; }
.h-full { height: 100%; }
.h-48 { height: 12rem; }
.p-6 { padding: 1.5rem; }
.object-cover { object-fit: cover; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.absolute { position: absolute; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* Grid Pattern Background for Hero */
.bg-grid {
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 1024px) {
    .h1 { font-size: 3.5rem; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .header .container { flex-direction: column; gap: 1rem; }
    .header .nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
    .h1 { font-size: 2.5rem; }
    .h2 { font-size: 2rem; }
    .py-24 { padding-top: 4rem; padding-bottom: 4rem; }
}
