
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* *,
*::before,
*::after {
    /* box-sizing: inherit; 
} */


:root {
    
    --primary-blue: #395fa8;
    --primary-blue-600: #2b4b89;
    --secondary-blue: #eaf0fb;
    
    --text: #333333;
    --muted: #000000;
    --bg: #ffffff;
    --surface: #f8f9fa;
    

    

    --shadow-1: 0 1px 2px rgba(0,0,0,0.06);
    --shadow-2: 0 8px 20px rgba(0,0,0,0.12);
    

    --font-heading: "Poppins", sans-serif;
    --font-body: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    
    

    --container-max-width: 1200px;
    --container-padding: 20px;
    --page-wrapper-max-width: 1920px;


    --transition: 0.25s ease;
    --transition-fast: 0.15s ease;
    --transition-slow: 0.35s ease;
}

section:not(.hero) {
  font-family: 'Montserrat', sans-serif;
}


section:not(.hero) h1,
section:not(.hero) h2,
section:not(.hero) h3,
section:not(.hero) h4,
section:not(.hero) h5,
section:not(.hero) h6,
section:not(.hero) .heading {
  font-family: 'Montserrat', sans-serif;
}


html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}


body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}


h1, h2, h3, h4, h5, h6,
.heading {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
    color: #5C86B0;
}

.def-page-container h1,
.def-page-container h2,
.def-page-container h3,
.def-page-container h4,
.def-page-container h5,
.def-page-container h6,
.def-page-container .heading{
    margin-bottom: 5px;
}

.def-page-container ul,
.def-page-container ol {
    list-style: disc;
    padding-left: 40px;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.875rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 1.875rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h5 { font-size: clamp(1.125rem, 2vw, 1.25rem); }
h6 { font-size: 1rem; }

p {
    margin: 0;
    line-height: 1.7;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-blue-600);
}


ul, ol {
    list-style: none;
}



img {
    max-width: 100%;
    height: auto;
    display: block;
}


.skip-to-content {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-blue);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    z-index: 100;
    transition: var(--transition);
}

.skip-to-content:focus {
    top: 0;
}


.new-container { width: 100%; margin: 0 auto; }

.contain, .container {
  max-width: var(--container-max-width);  
}


.contain--wide { max-width: 1400px; }


.bleed-x {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}


.section__header {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.steps-section__header{
    max-width: none;
}

.page-wrapper {
    max-width: var(--page-wrapper-max-width);
    margin: 0 auto;
    width: 100%;
}

.new-container {
  width: 100%;
  margin: 0 auto;
}




.contain--wide { max-width: 1400px; }


.contain--hero {
  max-width: none;
  padding-left: 300px;
  padding-right: 0;
}

@media (min-width: 1400px){
    .container {
    max-width: 1200px;
}
}
@media (max-width: 1199px) {
  .contain--hero {
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
  }
}


.bleed-x {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.section {
    padding: 80px 0;
}

.section__header {
    text-align: center;
    margin-bottom: 4rem;
}

.section__title {
    margin-bottom: 1rem;
}

.section__subtext {
    max-width: 600px;
    margin: 0 auto;
}







.stack > * + * {
    margin-top: 1.5rem;
}

.stack--sm > * + * { margin-top: 1rem; }
.stack--lg > * + * { margin-top: 2rem; }

.card {
    background: var(--bg);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-1);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-2);
    transform: translateY(-2px);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border: 0;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    user-select: none;
    -webkit-appearance: none;
    appearance: none;
}

.btn:focus {
    /* outline: 2px solid var(--primary-blue); */
    outline: none;
    outline-offset: 2px;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
}

.btn-primary:hover {
    background: #87CEEB;
    color: white;
}

.btn-ghost {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    padding: 12px 22px;
}

.btn-ghost:hover {
    background: var(--primary-blue);
    color: white;
}

/* Section-Specific Button Classes */

/* Hero Section Button */
.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 36px;
    background: #5C86B0;
    color: white;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
}

.btn-hero:hover {
    background: #4A72A0;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(92, 134, 176, 0.4);
    color: white;
    text-decoration: none;
}

/* Steps Section Button */
.btn-steps {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 25px 32px;
    background: #5C86B0;
    color: white;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
}

.btn-steps:hover {
    background: #4A72A0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(92, 134, 176, 0.3);
    color: white;
    text-decoration: none;
}

/* CTA Band Button */
.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    background: linear-gradient(135deg, #5C86B0 0%, #7AA3CC 100%);
    color: white;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    box-shadow: 0 4px 15px rgba(92, 134, 176, 0.2);
}

.btn-cta:hover {
    background: linear-gradient(135deg, #4A72A0 0%, #6B95BE 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(92, 134, 176, 0.4);
    color: white;
    text-decoration: none;
}

/* Values Section Button */
.btn-values {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    background: white;
    color: #5C86B0;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    border: 2px solid #5C86B0;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: var(--font-heading);
}

.btn-values:hover {
    background: #5C86B0;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(92, 134, 176, 0.3);
    text-decoration: none;
}


.mt-0 { margin-top: 0; }
.mt-sm { margin-top: 1rem; }
.mt-md { margin-top: 1.5rem; }
.mt-lg { margin-top: 2rem; }
.mt-xl { margin-top: 3rem; }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: 1rem; }
.mb-md { margin-bottom: 1.5rem; }
.mb-lg { margin-bottom: 2rem; }
.mb-xl { margin-bottom: 3rem; }

.py-0 { padding-top: 0; padding-bottom: 0; }
.py-sm { padding-top: 1rem; padding-bottom: 1rem; }
.py-md { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-lg { padding-top: 2rem; padding-bottom: 2rem; }


.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-muted { color: var(--muted); }
.text-primary { color: var(--primary-blue); }


.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }


@media (max-width: 768px) {
    .d-sm-none { display: none; }
    .d-sm-block { display: block; }
    .text-sm-center { text-align: center; }
}


.btn:focus-visible,
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}


.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


* {
    transition: background-color var(--transition), 
                color var(--transition), 
                border-color var(--transition);
}


@media (prefers-contrast: high) {
    :root {
        --shadow-1: 0 1px 2px rgba(0,0,0,0.2);
        --shadow-2: 0 8px 20px rgba(0,0,0,0.3);
    }
}


@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


/* =================================== BLOG SECTION ================================= */

.blog__title {
    font-size: 2.75rem;
    font-weight: 600;
    color: #5C86B0;
    margin-bottom: 40px;
    text-align: center;
}

@media (max-width: 768px) {
    .blog__title {
        font-size: 2.2rem;
        line-height: 1.2;
    }
}

@media (max-width: 480px) {
    .blog__title {
        font-size: 1.8rem;
        line-height: 1.15;
    }
}

/* =================================== SINGLE BLOG PAGE HEADER BANNER FIX ================================= */

.single .page-header-banner {
    position: relative;
    width: 100%;
    margin-top: 0;
    z-index: 1;
    order: -1; /* Ensure it appears before content */
}

.single .blog-wrapper {
    position: relative;
    z-index: 2;
}

/* Ensure proper stacking order */
.single .page-header-banner .phb-content {
    position: relative;
    z-index: 3;
}

@media print {
    * {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    .btn {
        border: 1px solid black;
    }

    .d-print-none {
        display: none !important;
    }
}