:root {
    /* Brand Colors Extracted from btpcfa-pdl.com */
    --primary-blue: #00568F;
    /* Standard Blue */
    --dark-blue: #092534;
    /* Headers, Nav, Footer */
    --cta-yellow: #FFEE00;
    /* Primary Action */
    --cta-yellow-hover: #FFD500;
    --teal-accent: #008B96;
    /* Accents */
    --text-grey: #415462;
    /* Body Text */
    --bg-light: #F4F6F8;
    /* Light Background */
    --white: #FFFFFF;

    /* Design Tokens */
    --border-radius: 0px;
    /* Square architectural look */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.12);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-grey);
    line-height: 1.6;
    background-color: var(--white);
    font-size: 16px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease-in-out;
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    /* Extra Bold for architectural feel */
    color: var(--dark-blue);
    line-height: 1.2;
    text-transform: uppercase;
}

h1 {
    font-size: 3rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

/* Decorahive underline for H2 */
h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--cta-yellow);
    margin: 1rem auto 0;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--border-radius);
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

/* Primary CTA - Yellow (High vis) */
.btn {
    background-color: var(--cta-yellow);
    color: var(--dark-blue);
}

.btn:hover {
    background-color: var(--cta-yellow-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 238, 0, 0.3);
}

/* Secondary CTA - Blue */
.btn-secondary {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--dark-blue);
    color: var(--cta-yellow);
    /* Pop of yellow on hover */
    box-shadow: 0 10px 20px rgba(0, 86, 143, 0.3);
}

/* Header */
header {
    background-color: var(--white);
    padding: 0 5%;
    height: 110px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    max-width: 300px;
    height: 100%;
    display: flex;
    align-items: center;
}

.logo-img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
}

.header-cta {
    display: none;
    font-size: 0.85rem;
    padding: 0.8rem 1.2rem;
}

@media (min-width: 768px) {
    .header-cta {
        display: inline-block;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    /* Gradient darkened on left for text readability */
    background-image: linear-gradient(to right, rgba(9, 37, 52, 0.9) 0%, rgba(9, 37, 52, 0.5) 50%, rgba(9, 37, 52, 0.1) 100%), url('hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    /* Align content to the left */
    justify-content: flex-start;
    text-align: left;
    padding: 2rem;
    padding-left: 8%;
    /* More Left padding */
    padding-bottom: 8rem;
}

.hero-content {
    /* Limit width to ensure text stays on left side */
    max-width: 650px;
    padding: 2rem;
    padding-left: 0;
    background: transparent;
    border: none;
    backdrop-filter: none;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    /* Larger as requested */
    line-height: 1.1;
    color: var(--cta-yellow);
    font-weight: 800;
    text-transform: uppercase;
    text-shadow: 4px 4px 0px #092534;
    /* Dark blue block shadow */
    letter-spacing: -1px;
    margin-top: 1rem;
}

/* Reassurance Section */
.assurance {
    padding: 3rem 5% 5rem;
    background-color: var(--white);
    position: relative;
    z-index: 1;
}

.pillars {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: center;
}

.pillar-card {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    text-align: center;
    padding: 3rem 2rem;
    background: var(--white);
    border: 1px solid #E5E7EB;
    border-radius: var(--border-radius);
}

.icon {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    background-color: rgba(0, 86, 143, 0.1);
    /* Light blue bg for icon */
    border-radius: 50%;
    /* Keep icon circle for contrast with square design */
}

/* Centers Section */
.centers {
    padding: 0 5%;
    background-color: transparent;
    /* Transparent for overlap */
    margin-top: -120px;
    /* Pull up over hero */
    position: relative;
    z-index: 10;
    /* Above hero */
    margin-bottom: 2rem;
}

.centers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

@media (min-width: 1200px) {
    .centers-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.center-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top: 4px solid var(--primary-blue);
    /* Accent top border */
    transition: transform 0.3s ease;
}

.center-card:hover {
    transform: translateY(-5px);
    border-top-color: var(--cta-yellow);
}

.center-card h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.center-card ul {
    margin-bottom: 2.5rem;
    color: var(--text-grey);
}

.center-card li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.center-card li::before {
    content: "■";
    /* Square bullet to match theme */
    color: var(--cta-yellow);
    font-size: 0.8rem;
    margin-right: 10px;
}

.btn-center {
    text-align: center;
    width: 100%;
    font-size: 0.9rem;
    padding: 1rem;
}

/* Metiers Section */
.metiers {
    padding: 3rem 5%;
    background-color: var(--white);
    margin-bottom: 2rem;
}

.metiers h2 {
    color: var(--dark-blue);
    margin-bottom: 3rem;
}

.metiers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .metiers-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.metier-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background: #f8fbff;
    border-radius: var(--border-radius);
}

.metier-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    object-fit: contain;
}

.metier-card h3 {
    font-size: 1rem;
    color: var(--dark-blue);
    margin: 0;
    font-weight: 700;
}

/* Parents Section */
.parents {
    padding: 5rem 5%;
    background-color: var(--dark-blue);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Decorative background element */
.parents::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.03) 10px,
            rgba(255, 255, 255, 0.03) 20px);
}

.parents h2 {
    color: var(--cta-yellow);
    text-shadow: none;
}

.parents h2::after {
    background-color: var(--white);
}

.parents p {
    font-size: 1.35rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Footer Overhaul */
.btn-contact-header {
    background-color: var(--cta-yellow);
    color: var(--dark-blue);
    padding: 0.8rem 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-left: 2rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-contact-header:hover {
    background-color: var(--cta-yellow-hover);
    transform: translateY(-2px);
}

footer {
    background-color: #061A24;
    color: #fff;
    padding: 0;
    font-family: var(--font-body);
    font-size: 0.9rem;
    border-top: none;
    text-align: left;
}

/* Footer Top Section (Dark Blue) */
.footer-top {
    padding: 3rem 5%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    flex: 1;
    min-width: 200px;
    margin-bottom: 2rem;
}

.footer-logo img {
    max-width: 250px;
    background: white;
    padding: 10px;
    border-radius: 4px;
}

.footer-baseline {
    color: var(--cta-yellow);
    font-size: 0.9rem;
    font-weight: 700;
    font-style: italic;
    margin-top: 0.5rem;
    padding-left: 5px;
}

.footer-links {
    flex: 2;
    min-width: 300px;
    margin-bottom: 2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.footer-socials {
    flex: 1;
    min-width: 200px;
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 500;
}

/* Footer Middle Section (Addresses flattened) */
.footer-addresses {
    background-color: #fff;
    color: var(--dark-blue);
    padding: 3rem 5%;
}

.address-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* Force 6 columns on very large screens if space permits, or responsive grid */
@media (min-width: 1400px) {
    .address-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 1rem;
    }
}

.address-block {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 0.8rem;
    /* Slightly smaller to fit 6 in a row */
    line-height: 1.5;
}

.address-block h4 {
    font-weight: 800;
    margin-bottom: 0.2rem;
    font-size: 0.9rem;
    color: var(--dark-blue);
}

.region-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-grey);
    padding: 2px 6px;
    background: #f0f0f0;
    border-radius: 4px;
    margin-bottom: 0.8rem;
}

.address-block p {
    margin-bottom: 0.3rem;
    color: var(--text-grey);
}

.btn-site {
    display: inline-block;
    background-color: var(--teal-accent);
    color: #fff;
    padding: 0.5rem 0.8rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 0.5rem;
    border-radius: 4px;
    white-space: nowrap;
}

.btn-site:hover {
    background-color: var(--dark-blue);
}

/* Update Header Styles */
/* Update Header Styles */
.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    /* Reduced per feedback */
    line-height: 1.2;
    color: var(--cta-yellow);
    font-weight: 800;
    text-transform: none;
    text-shadow: 2px 2px 0px #092534;
    letter-spacing: -0.5px;
    margin-top: 2rem;
    /* Separated from H1 */
    margin-bottom: 0;
    width: 100%;
    /* Ensure centering works */
    display: block;
}

/* H1 Update */
h1 {
    font-size: 4rem;
    color: var(--white);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
    text-transform: uppercase;
    line-height: 1;
}

@media (max-width: 900px) {
    .hero-subtitle {
        font-size: 1.5rem;
    }

    h1 {
        font-size: 2.5rem;
    }
}

/* Footer Bottom (Legal) */
.footer-bottom {
    background-color: #061A24;
    padding: 2rem 5%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #aaa;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom nav {
    flex: 2;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-bottom nav a {
    color: #aaa;
    text-transform: uppercase;
}

.footer-info {
    flex: 1;
    text-align: right;
    min-width: 250px;
}

.footer-info p {
    margin-bottom: 0.5rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .hero {
        height: auto;
        padding: 6rem 1.5rem;
    }

    .hero-content {
        padding: 1.5rem;
    }

    .pillars {
        flex-direction: column;
    }

    header {
        justify-content: center;
    }
}