/* ================
   Global theme
   ================ */
:root {
    --primary: #0050b8;
    --primary-dark: #003b82;
    --accent: #ff7f00;
    --bg: #f4f7fc;
    --card-bg: #ffffff;
    --text-main: #222;
    --text-muted: #555;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg);
    color: var(--text-main);
    margin: 0;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ================
   Navbar
   ================ */
.navbar {
    background: var(--primary);
}

.navbar-brand {
    font-weight: 700;
    color: #fff !important;
    letter-spacing: 0.03em;
}

.navbar-nav .nav-link {
    color: #f5f5f5 !important;
    font-weight: 500;
    margin-left: 1rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-item.active .nav-link {
    color: #ffd76a !important;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.4);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255,255,255, 0.9%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* ================
   Flyout menu
   ================ */
.flyout-menu {
    background: var(--primary-dark);
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    transition: all 0.3s ease;
    transform: translateX(-260px);
    z-index: 2000;
    padding-top: 1rem;
}

.flyout-menu.active {
    transform: translateX(0);
}

.flyout-menu .menu-header {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.flyout-menu .close-menu {
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    top: 12px;
    right: 16px;
}

.flyout-menu ul {
    list-style: none;
    padding: 0 0 2rem;
    margin: 0;
}

.flyout-menu li {
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.flyout-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

.flyout-menu a:hover {
    text-decoration: underline;
}

/* ================
   Layout & sections
   ================ */
.main-content {
    padding-top: 90px;
}

section {
    padding: 60px 15px;
}

.section-title {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 2.5rem;
    color: var(--text-muted);
}

/* ================
   Hero variations
   ================ */
.hero {
    padding: 90px 15px 70px;
    color: #fff;
}

.hero h1 {
    font-size: 2.4rem;
    font-weight: 700;
}

.hero p.lead {
    font-size: 1.05rem;
    margin-top: 1rem;
    max-width: 640px;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.18);
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.hero-pill i {
    margin-right: 0.35rem;
}

/* Color themes */
.hero--blue {
    background: radial-gradient(circle at top left, #2f9df7 0, var(--primary-dark) 40%, #001933 100%);
}

.hero--orange {
    background: radial-gradient(circle at top left, #ffb45a 0, #ff7f00 35%, #b24c00 100%);
}

.hero--teal {
    background: radial-gradient(circle at top left, #48c5b5 0, #008c7d 40%, #00413a 100%);
}

/* ================
   Buttons
   ================ */
.btn-main {
    background-color: var(--accent);
    color: #fff;
    font-weight: 600;
    border-radius: 30px;
    padding: 0.75rem 1.6rem;
    border: none;
}

.btn-main:hover {
    background-color: #e56d00;
    color: #fff;
}

.btn-outline-white {
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: #fff;
    padding: 0.75rem 1.4rem;
    font-weight: 500;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* Tag / pill button */
.btn-tag,
.badge-pill-custom {
    border-radius: 999px;
    padding: 0.15rem 0.6rem;
    font-size: 0.7rem;
    font-weight: 500;
    background: rgba(0, 80, 184, 0.06);
    color: var(--primary-dark);
    margin-right: 0.3rem;
    margin-top: 0.25rem;
    display: inline-block;
}

/* ================
   Cards & bands
   ================ */
.card-elevated {
    background: var(--card-bg);
    border-radius: 14px;
    padding: 1.8rem 1.6rem;
    height: 100%;
    box-shadow: 0 12px 24px rgba(15, 35, 52, 0.08);
    border: none;
}

.card-elevated h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.card-elevated p {
    font-size: 0.94rem;
    color: var(--text-muted);
}

.icon-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 80, 184, 0.06);
    color: var(--primary);
    margin-bottom: 0.6rem;
}

.meta {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #777;
    margin-bottom: 0.25rem;
}

.band,
.highlight,
.industry-band {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.8rem 1.6rem;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
}

/* ================
   Utilities used on About/Expertise
   ================ */
.industry-tag {
    display: inline-block;
    font-size: 0.85rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: #eef3ff;
    color: var(--primary-dark);
    margin: 0.2rem;
}

.value-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 80, 184, 0.18);
    font-size: 0.8rem;
    margin: 0.2rem;
    color: #333;
}

.value-pill i {
    margin-right: 0.35rem;
    color: var(--primary);
}

.timeline-step {
    padding: 1.3rem 1.1rem;
    border-left: 3px solid #e0e7ff;
    margin-bottom: 0.9rem;
    position: relative;
}

.timeline-step::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    position: absolute;
    left: -6px;
    top: 14px;
}

/* Perspectives cards */
.article-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.5rem 1.4rem;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
    height: 100%;
}

.article-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.article-meta {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #777;
    margin-bottom: 0.5rem;
}

/* Careers list */
.role-row {
    padding: 1.2rem 1rem;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
    margin-bottom: 1rem;
}

/* ================
   Footer
   ================ */
footer {
    padding: 25px 15px 15px;
    font-size: 0.85rem;
    color: #777;
}

footer a {
    color: var(--primary-dark);
}

/* ================
   Responsive tweaks
   ================ */
@media (max-width: 991px) {
    .hero {
        text-align: center;
        padding-top: 110px;
    }

    .hero p.lead {
        margin-left: auto;
        margin-right: auto;
    }

    .btn-outline-white {
        margin-top: 0.75rem;
    }
}

@media (max-width: 767px) {
    .section-title {
        font-size: 1.7rem;
    }

    .hero h1 {
        font-size: 2.1rem;
    }

    .main-content {
        padding-top: 80px;
    }
}
