@font-face {
    font-family: 'Futura Light';
    src: url('fonts/futura-pt_light.woff2') format('woff2'),
         url('fonts/futura-pt_light.woff') format('woff');
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Futura Medium';
    src: url('fonts/futura-pt_medium.woff2') format('woff2'),
         url('fonts/futura-pt_medium.woff') format('woff');
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Futura Book';
    src: url('fonts/futura-pt_book.woff2') format('woff2'),
         url('fonts/futura-pt_book.woff') format('woff');
    font-style: normal;
    font-display: swap;
}

:root {
    --color-royal-blue: #4A68D9;
    --color-black: #000000;
    --color-text-grey: #797979;
    --color-bg-grey: #FAF9FA;
    --color-white: #FFFFFF;
    
    --max-width: 1440px;
    
    --font-size-h1: 72px;
    --font-size-h2: 36px;
    --font-size-h3: 24px;
    --font-size-intro: 30px;
    --font-size-body: 30px;
    --font-size-small: 16px;
    --font-size-xsmall: 12px;
    
    --line-height-heading: 1.2;
    --line-height-body: 1.6;
    
    --spacing-sm: 20px;
    --spacing-md: 40px;
    --spacing-lg: 60px;
    --spacing-xl: 50px;
    --spacing-xxl: 60px;
}

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

body {
    font-family: 'Futura Light', 'Avenir Next', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: var(--font-size-body);
    line-height: var(--line-height-body);
    color: var(--color-text-grey);
    background-color: var(--color-white);
}

.container-custom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.text-blue {
    color: var(--color-royal-blue);
}

/* CORE SPACING SYSTEM - Every section gets 10px white border-top and max-height 450px */
section {
    border-top: 10px solid var(--color-white);
    max-height: 450px;
    overflow: hidden;
}

.enforce-section {
    border-top: 10px solid var(--color-white);
}

section:first-of-type {
    border-top: none;
}

/* Sections with grey background - background stays within max-width container */
.bg-grey .container-custom {
    background-color: var(--color-bg-grey);
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xxl);
}

/* Header */
.site-header {
    background-color: var(--color-white);
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border-top: none;
}

.navbar {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    height: 40px;
    width: auto;
}

/* Hero Section */
.hero-section {
    background-color: var(--color-white);
    max-height: none !important;
}

.hero-image-wrapper {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    height: 390px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    text-align: center;
}

.hero-title {
    font-size: 56px;
    font-weight: 300;
    color: var(--color-black);
    padding-top: 0px;
    margin-bottom: 0px !important;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 300;
    font-family: 'Futura Light';
    margin-bottom: 30px;
    color: var(--color-black);
}

.hero-trustedby {
    font-size: 20px;
    font-family: 'Futura Book';
    margin-bottom: 0px !important;
    color: black;
}

.text-modern {
    font-family: 'Futura Book';
}

.hero-title .text-blue {
    font-family: 'Futura Medium';
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.partner-logos img {
    height: 100px;
    width: auto;
    transition: all 0.3s ease;
}

.partner-logos img.partner-logo-tall {
    height: 150px;
}

.partner-logo-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
}

/* Diagram Section - Reduced padding to fit in 450px */
.diagram-section .container-custom {
    padding-top: 40px;
    padding-bottom: 40px;
}

.diagram-wrapper {
    text-align: center;
}

.diagram-horizontal {
    max-width: 900px;
    max-height: 380px;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
}

.diagram-vertical {
    display: none;
    max-width: 100%;
    max-height: 380px;
    width: auto;
    height: auto;
    margin: 0 auto;
}

.outcomes-box {
    background-color: var(--color-white);
    border: 1px solid var(--color-royal-blue);
    border-radius: 16px;
    padding: var(--spacing-md);
    text-align: center;
}

.outcomes-box p {
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-body);
    font-family: 'Futura Medium', sans-serif;
    font-weight: 500;
    color: var(--color-black);
}

.outcomes-box p:last-child {
    margin-bottom: 0;
}

/* Intro Section - Reduced spacing to fit */
.intro-section .container-custom {
    padding-top: 40px;
    padding-bottom: 40px;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-text {
    font-size: 26px;
    font-family: 'Futura Light';
    color: var(--color-black);
    margin-bottom: 20px;
}

.btn-primary {
    background-color: var(--color-royal-blue);
    color: var(--color-white);
    border: none;
    padding: 12px 32px;
    font-size: 20px;
    font-family: 'Futura Book';
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #3857c8;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-royal-blue);
    border: 1px solid var(--color-royal-blue);
    padding: 12px 32px;
    font-size: 20px;
    font-family: 'Futura Book';
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--color-royal-blue);
    color: var(--color-white);
}

.intro-subtext {
    font-family: 'Futura Medium', sans-serif;
    font-weight: 800;
    font-size: 14px;
    color: var(--color-text-grey);
    margin: 15px 0 20px 0;
}

.definition-box {
    background-color: var(--color-bg-grey);
    border-radius: 12px;
    padding: var(--spacing-md);
    max-width: 700px;
    margin: 0 auto;
}

.definition-box p {
    margin: 0;
    font-size: var(--font-size-small);
    color: var(--color-text-grey);
}

/* Philosophy Section */
.philosophy-section {
    padding: var(--spacing-xl) 0;
}

.philosophy-text {
    text-align: center;
    font-style: italic;
    font-size: var(--font-size-body);
    color: var(--color-text-grey);
}

/* Circular Diagram - Reduced size to fit */
.circular-diagram-section .container-custom {
    padding-top: 40px;
    padding-bottom: 40px;
}

.circular-diagram {
    text-align: center;
}

.circular-diagram img {
    max-width: 700px;
    max-height: 380px;
    width: 100%;
    height: auto;
}

/* Pillars Section - Reduced spacing and font sizes */
.pillars-section .container-custom {
    padding-top: 40px;
    padding-bottom: 40px;
}

.pillar-item-left {
    padding-right: var(--spacing-md);
}

.pillar-item-right {
    padding-left: var(--spacing-md);
}

.pillars-section .container-custom {
    position: relative;
}

.pillars-section .container-custom::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 10px;
    background-color: var(--color-white);
    transform: translateX(-50%);
    z-index: 1;
    display: none;
}

/* Show separator only on large screens (992px and above) */
@media (min-width: 992px) {
    .pillars-section .container-custom::before {
        display: block;
    }
}

.pillars-grid {
    row-gap: 40px;
}

.pillar-item h3 {
    font-size: 32px;
    font-family: 'Futura Light';
    color: var(--color-black);
    margin-bottom: 15px;
    font-weight: 500;
}

.pillar-item p {
    font-size: 20px;
    font-family: 'Futura Light';
    color: var(--color-text-grey);
    line-height: 1.5;
}

/* Copilot Section - Reduced spacing */
.copilot-section .container-custom {
    padding-top: 40px;
    padding-bottom: 40px;
}

.copilot-content {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.copilot-content h2 {
    font-size: 40px;
    color: var(--color-royal-blue);
    margin-bottom: 20px;
    font-weight: 500;
    font-family: 'Futura Book', sans-serif;
}

.copilot-content p {
    font-size: 24px;
    font-family: 'Futura Light';
    color: var(--color-black);
    margin-bottom: 25px;
    line-height: 1.4;
}

.button-group {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* About Section - Reduced spacing */
.about-section .container-custom {
    padding-top: 40px;
    padding-bottom: 40px;
}

.about-content {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: 40px;
    font-family: 'Futura Light';
    color: var(--color-black);
    margin-bottom: 20px;
    font-weight: 500;
}

.about-content p {
    font-size: 24px;
    font-family: 'Futura Light';
    color: var(--color-black);
    margin-bottom: 25px;
    line-height: 1.4;
}

.certification-logos {
    margin-top: 30px;
}

.certification-logos img {
    height: 50px;
    max-width: 100%;
}

/* Contact Section - Reduced spacing */
.contact-section .container-custom {
    padding-top: 40px;
    padding-bottom: 40px;
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-content h2 {
    font-size: 40px;
    font-family: 'Futura Light';
    color: var(--color-black);
    margin-bottom: 25px;
    font-weight: 500;
}

.contact-quote {
    font-size: 26px;
    font-family: 'Futura Light';
    color: var(--color-black);
    margin-top: 25px;
    line-height: 1.4;
}

.quote-author {
    font-size: 20px;
    font-family: 'Futura Light';
    color: black;
}

/* Footer */
.site-footer {
    border-top: 10px solid var(--color-white);
    color: var(--color-white);
    text-align: center;
    background-color: white;
    max-height: none;
}

.site-footer .container-custom {
    padding: 0 !important; 
}

.footer-image-wrapper {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    overflow: hidden;
    display: block; 
    line-height: 0; 
}

.footer-image {
    width: 100%;
    height: auto;
    vertical-align: top !important;
    background-color: transparent;
    margin: 0; 
    padding: 0; 
}

/* Footer Info */
.footer-info {
    background-color: var(--color-white);
    border-top: 0 !important;
    max-height: none;
}

.footer-info .container-custom {
    background-color: #1D1D1F;
    padding-top: 0;
    padding-bottom: 0;
    height: 50px;
    display: flex;
    align-items: center;
}

.footer-info-grid {
    width: 100%;
    margin: 0;
}

.footer-info-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-info-text {
    color: var(--color-white);
    font-size: 14px;
    font-family: 'Futura Book';
    margin: 0;
}

.footer-info-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-icon {
    height: 24px;
    width: auto;
}

@media (max-width: 991px) {
    .footer-info .container-custom {
        height: auto;
        padding-top: 20px;
        padding-bottom: 20px;
    }
    
    .footer-info-grid {
        row-gap: 15px;
    }
}

/* Responsive Design */
@media (max-width: 991px) {
    section {
        max-height: none;
    }
    
    :root {
        --font-size-h1: 40px;
        --font-size-h2: 32px;
        --font-size-h3: 22px;
        --spacing-xl: 60px;
    }
    
    .hero-image-wrapper {
        height: 300px;
    }

    /* Switch to vertical diagram on mobile */
    .diagram-horizontal {
        display: none;
    }
    
    .diagram-vertical {
        display: block;
    }
 
    .pillar-item-right {
        border-top: 10px solid var(--color-white);
        padding-top: var(--spacing-lg);
        margin-top: var(--spacing-lg);
    }

    /* Reset left/right padding for centered alignment on mobile */
    .pillar-item-left,
    .pillar-item-right {
        padding-left: 10px;
        padding-right: 10px;
    }    

    .pillars-grid {
        row-gap: var(--spacing-md);
    }
}

@media (max-width: 767px) {
    section {
        max-height: none;
    }
    
    :root {
        --font-size-h1: 36px;
        --font-size-h2: 28px;
        --font-size-h3: 20px;
        --font-size-body: 16px;
        --spacing-md: 30px;
        --spacing-lg: 40px;
        --spacing-xl: 50px;
    }
    
    .container-custom {
        padding: 0 20px;
    }
    
    .logo {
        height: 30px;
    }
    
    .hero-image-wrapper {
        height: auto;
    }
    
    .hero-image {
        height: auto;
        object-fit: contain;
    }
    
    .partner-logos {
        gap: 30px;
        flex-direction: column;
    }
    
    .partner-logo-group {
        gap: 0px;
        flex-direction: column;
    }
    
    .partner-logos img {
        height: 60px;
    }
    
    .certification-logos img {
        height: 80px;
    }
    
    .button-group {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 200px;
    }

    .intro-text {
        font-size: 20px;
    }    

    .copilot-content p {
        font-size: 20px;
    }

    .about-content p {
        font-size: 20px;
    }

    .btn-primary {
    font-size: 15px;
    }
    
    .btn-secondary {
        font-size: 15px;
    }

    .hero-title {
        font-size: 40px;
    }
    
}