/* =========================================================
   EXTCOR MAIN STYLESHEET
   =========================================================
   COLOR PALETTE
   Deep Navy      #0F172A
   Professional   #1E40AF
   Teal Accent    #06B6D4
   Green Success  #10B981
   ========================================================= */

/* =========================================================
   GLOBAL VARIABLES
   ========================================================= */
:root {
    --extcor-dark: #0F172A;
    --extcor-blue: #1E40AF;
    --extcor-teal: #06B6D4;
    --extcor-light: #F8FAFC;
    --extcor-text: #334155;
    --extcor-success: #10B981;
}

/* =========================================================
   BASE STYLES
   ========================================================= */
body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--extcor-text);
    background-color: #ffffff;
    line-height: 1.7;
}

h1, h2, h3, h4, h5 {
    color: var(--extcor-dark);
    font-weight: 700;
}

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar {
    background: var(--extcor-dark) !important; /* Forces your dark navy */
    box-shadow: 0 2px 20px rgba(0,0,0,.15);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.6rem;
    color: #ffffff !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #ffffff !important;
}

/* Fix the Schedule Assessment button in the navbar */
.navbar .btn-primary {
    background-color: var(--extcor-blue);
    border-color: var(--extcor-blue);
    color: #ffffff;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 50rem; /* Pill shape */
    margin-left: 1rem;
    transition: 0.3s;
}

.navbar .btn-primary:hover {
    background-color: var(--extcor-teal);
    border-color: var(--extcor-teal);
}

/* =========================================================
   HERO SECTION (Overrides Bootstrap bg-dark)
   ========================================================= */
.hero {
    /* !important stops Bootstrap's bg-dark from turning it black */
    background: linear-gradient(135deg, #0F172A, #1E3A8A) !important;
    color: white;
    padding: 130px 0;
}

.hero h1 {
    color: white;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.hero p {
    max-width: 850px;
    margin: auto;
    font-size: 1.2rem;
}

/* =========================================================
   TRUST METRICS
   ========================================================= */
.metrics-section {
    padding: 80px 0;
    background: #ffffff;
}

.metric-box {
    text-align: center;
    padding: 30px;
}

.metric-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--extcor-blue);
}

/* =========================================================
   CHALLENGES & SERVICES CARDS
   ========================================================= */
.challenge-card, .service-card {
    border: none;
    transition: .3s;
    height: 100%;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
}

.challenge-card:hover, .service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,.15);
}

.service-icon {
    font-size: 3rem;
    color: var(--extcor-teal);
}

/* =========================================================
   CTA SECTION
   ========================================================= */
.cta-section {
    background: var(--extcor-dark);
    color: white;
    padding: 100px 0;
}

.cta-section h2 {
    color: white;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn-primary {
    background: var(--extcor-blue);
    border: var(--extcor-blue);
}

.btn-primary:hover {
    background: var(--extcor-teal);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
    background: var(--extcor-dark);
    color: white;
}

.footer p {
    margin: 0;
}