:root {
    --brand: #1e6fbf;
    --brand-dark: #145c9a;
    --brand-light: rgba(30,111,191,0.08);
    --white: #ffffff;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding:  6rem 6rem 0 6rem;
}


.background-surmesure {
    background: linear-gradient(135deg, rgba(189, 227, 255, 0.85) 0%, rgba(180, 220, 255, 0.7) 50%, rgba(83, 160, 231, 0.6) 100%);
    background-color: #dcf0ff;
}

.page-hero .page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.section {
    padding :  0 0 4rem 0   ;
}

.section-subtitle{
    margin: 0 auto;
}

.process-container {
    position: relative;
    margin-top: 8rem;
    padding: 2rem 0;
    min-height: 400px;
}

.process-path {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 300px;
    z-index: 0;
    pointer-events: none;
}

.process-path path {
    animation: dash 3s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: -40;
    }
}

.process-steps-overlay {
    position: relative;
    width: 100%;
    height: 300px;
    z-index: 1;
}

.process-step-item {
    position: absolute;
    transform: translate(-50%, -50%);
    text-align: center;
    max-width: 200px;
}

.step-circle {
    width: 60px;
    height: 60px;
    background: var(--brand);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(30,111,191,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 4px solid white;
    position: relative;
    z-index: 2;
}

.process-step-item:hover .step-circle {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(30,111,191,0.4);
}

.step-content {
    margin-top: 1rem;
    padding-top: 0.5rem;
}

.step-content-top {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0.5rem;
}

.step-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--brand);
}

.step-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
    margin: 0;
}

@media (max-width: 968px) {
    .page-hero {
        padding: 6rem 0 4rem;
    }

    .page-hero .section-title {
        font-size: 2.25rem;
    }

    .page-hero .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }

    .process-container {
        min-height: 600px;
    }

    .process-steps-overlay {
        height: auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 2rem;
        margin-top: 2rem;
    }

    .process-step-item {
        position: relative;
        left: auto !important;
        top: auto !important;
        transform: none;
        max-width: 100%;
    }

    .step-content-top {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 1rem;
        padding-bottom: 0;
    }

    .process-path {
        display: none;
    }

    .step-circle {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .page-hero {
        padding: 5rem 0 3rem;
    }

    .page-hero .section-title {
        font-size: 1.75rem;
    }

    .page-hero .section-subtitle {
        font-size: 1rem;
    }

    .process-container {
        min-height: auto;
    }

    .process-steps-overlay {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .step-content h4 {
        font-size: 1rem;
    }

    .step-content p {
        font-size: 0.9rem;
    }
}

.nav-link:hover::after,
.nav-link:focus::after {
    opacity: 1;
    visibility: visible;
}

.nav-link.active {
    color: var(--brand);
    visibility: visible;
}

.nav-link.active::after {
    opacity: 1;
    background: var(--brand) !important;
}

.session-box {
    border: 2px solid var(--brand-light);
    border-radius: 8px;
    padding: 16px;
}

.session-box:hover {
    border-color: var(--brand);
    box-shadow: 0 4px 12px rgba(30,111,191,0.15);
}

.session-box::before {
    background-color: var(--brand);
}

.session-type {
    background-color: var(--brand-light);
}

.btn.btn-primary {
    background-color: var(--brand) !important;
    border-color: var(--brand) !important;
    color: #fff !important;
}

.btn.btn-primary:hover,
.btn.btn-primary:focus {
    background-color: var(--brand-dark) !important;
    filter: brightness(0.95);
}

.info-row svg,
.benefits-grid svg,
.session-box svg,
.floating-contact svg,
.drawer-close svg {
    color: var(--brand);
}

.session-type,
.logo-text,
.section-title,
.section-subtitle,
.footer-subtitle,
.footer-title {
    color: inherit;
}

.programme-day {
    border-top: 4px solid var(--brand);
}

.cta-box {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    border-radius: 8px;
    padding: 16px;
}

.cta-box::before {
    background-color: var(--brand);
}

.module-title {
    color: var(--brand);
}

.info-card-content h4 {
    color: var(--brand);
}

.info-card-content a {
    color: var(--brand);
}

.option-card li::before {
    color: var(--brand);
}

.option-card h3 {
    color: var(--brand);
}

.cta-buttons .btn-outline {
    color: var(--brand);
}
