/* --- GLOBAL THEME & DESIGN SYSTEM --- */
:root {
    /* Primary Palette */
    --navy: #001F3F;
    --blue: #0074FF;
    --cyan: #00D4FF;
    --dark-bg: #000b18;
    
    /* Neutrals */
    --off-white: #F9F9F9;
    --white: #FFFFFF;
    --text-muted: #666;
    --border-light: rgba(0, 0, 0, 0.08);
    
    /* Functional */
    --max-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.05);
    --shadow-strong: 0 20px 40px rgba(0,0,0,0.15);
}

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--navy);
    background-color: var(--off-white);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 25px;
}

section {
    padding: 120px 0;
}

h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
}

p {
    margin-bottom: 1.5rem;
}

/* --- NAVIGATION --- */
nav {
    background-color: var(--navy);
    padding: 18px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    height: 42px;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 35px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    opacity: 0.85;
}

.nav-links a:hover {
    color: var(--cyan);
    opacity: 1;
}

.nav-cta {
    background: var(--blue);
    padding: 10px 24px;
    border-radius: 5px;
    font-weight: 700 !important;
    opacity: 1 !important;
}

.nav-cta:hover {
    background: #0056cc;
    transform: translateY(-2px);
}

/* --- HERO SECTION --- */
.hero-vision {
    background: linear-gradient(145deg, #001F3F 0%, #003366 100%);
    color: white;
    padding-top: 180px;
    padding-bottom: 120px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 70px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.8rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-text h2 {
    font-size: 1.5rem;
    color: var(--cyan);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero-body p {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    max-width: 650px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 2.5rem;
}

/* --- HERO CONSULTATION BOX --- */
.consultation-box {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-strong);
    color: var(--navy);
}

.consultation-box h3 {
    margin-bottom: 1rem;
    font-size: 1.6rem;
    color: var(--blue);
}

.consultation-box p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* --- TYPOGRAPHY UTILITIES --- */
.headline-center {
    text-align: center;
    font-size: 3rem;
    max-width: 1000px;
    margin: 0 auto 4rem;
}

.centered-bold {
    text-align: center;
    font-weight: 800;
    font-size: 1.4rem;
}

.text-block-left {
    max-width: 850px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* --- BUTTONS --- */
.btn-primary {
    background-color: var(--blue);
    color: white;
    padding: 18px 36px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 6px;
    display: inline-block;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover {
    background-color: #0056cc;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 116, 255, 0.3);
}

.btn-white {
    background-color: transparent;
    color: white;
    padding: 18px 36px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 6px;
    display: inline-block;
    border: 2px solid white;
    transition: var(--transition);
}

.btn-white:hover {
    background: white;
    color: var(--navy);
}

/* --- GRIDS & CARDS --- */
.four-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.pillar-card {
    background: var(--white);
    padding: 45px 35px;
    border-bottom: 6px solid var(--blue);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.pillar-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-strong);
}

.teaser-card {
    background: var(--white);
    padding: 40px 30px;
    text-decoration: none;
    color: inherit;
    border-left: 6px solid var(--cyan);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.teaser-card:hover {
    background: var(--navy);
    color: white;
    transform: scale(1.02);
}

/* --- BEFORE/AFTER SECTION --- */
.comp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.comp-card {
    padding: 70px;
}

.comp-card.before {
    background: #eef2f6;
}

.comp-card.after {
    background: var(--navy);
    color: white;
}

.comp-card h3 {
    margin-bottom: 2.5rem;
    font-size: 2rem;
}

.comp-card ul {
    list-style: none;
}

.comp-card li {
    padding: 14px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    font-size: 1.05rem;
}

.comp-card.after li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.comp-card li::before {
    content: "→";
    margin-right: 15px;
    color: var(--blue);
    font-weight: bold;
}

/* --- REIMAGINED ICON GRID --- */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 5rem 0;
}

.icon-grid span {
    background: white;
    padding: 25px 15px;
    text-align: center;
    font-weight: 700;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: var(--transition);
}

.icon-grid span:hover {
    border-color: var(--blue);
    color: var(--blue);
}

/* --- TESTIMONIALS --- */
.quotes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.quote-card {
    background: white;
    padding: 60px;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.8;
}

.quote-card span {
    display: block;
    margin-top: 30px;
    font-weight: 800;
    font-style: normal;
    color: var(--blue);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- FINAL CTA --- */
.final-cta {
    background: linear-gradient(rgba(0,31,63,0.95), rgba(0,31,63,0.95)), url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><g fill="%23ffffff" fill-opacity="0.05" fill-rule="evenodd"><circle cx="3" cy="3" r="3"/><circle cx="13" cy="13" r="3"/></g></svg>');
    color: white;
    text-align: center;
}

.cta-row-center {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 3rem 0;
}

.final-line {
    font-size: 1.3rem;
    font-weight: 700;
    opacity: 0.8;
}

/* --- FOOTER --- */
footer {
    background: var(--dark-bg);
    color: white;
    padding: 100px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 100px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 55px;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.social-links a {
    color: white;
    font-size: 1.6rem;
    transition: var(--transition);
    opacity: 0.7;
}

.social-links a:hover {
    color: var(--cyan);
    opacity: 1;
    transform: translateY(-5px);
}

.footer-links h4 {
    margin-bottom: 30px;
    color: var(--cyan);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 8px;
}

/* --- ANIMATIONS --- */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1100px) {
    .hero-text h1 { font-size: 3rem; }
    .footer-content { gap: 50px; }
    .four-grid, .icon-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-buttons, .cta-row-center {
        flex-direction: column;
        align-items: center;
    }
    .hero-text h1 { font-size: 2.5rem; }
    .consultation-box { max-width: 500px; margin: 0 auto; }
    .comp-grid, .quotes-grid, .footer-content {
        grid-template-columns: 1fr;
    }
    .nav-links { display: none; } /* Add burger menu JS if needed */
}

@media (max-width: 600px) {
    section { padding: 80px 0; }
    .headline-center { font-size: 2.2rem; }
    .comp-card { padding: 40px 25px; }
    .icon-grid { grid-template-columns: 1fr; }
}