:root {
    --primary-color: #071b25;
    --bg-color: #f3f7f7;
    --text-color: #263941;
    --accent-color: #39d2d5;
}

html { scroll-behavior: smooth; scroll-padding-top: 120px; }
.cfrt-centres-section { padding: 0 0 80px; }
.cfrt-centre { height: 100%; background: #fff; border-radius: 20px; overflow: hidden; }
.cfrt-centre-text { padding: 26px; }
.cfrt-centre h3 { margin: 12px 0; }
.cfrt-centre address { font-style: normal; }
.cfrt-centre iframe { display: block; width: 100%; height: 300px; border: 0; }
.cfrt-accreditation { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; padding: 30px; background: #fff; border-radius: 20px; }
.cfrt-accreditation-details { flex: 2 1 390px; }
.cfrt-accreditation-details p:last-child { margin-bottom: 0; }
.cfrt-accreditation h3 { margin-bottom: 15px; }
.cfrt-quality { flex: 1 1 250px; }
.cfrt-quality img { width: 220px; max-width: 100%; margin-bottom: 15px; }
.cfrt-quality p { font-size: 14px; margin: 0; }
.cfrt-funding-logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px; }
.cfrt-funding-logos figure { padding: 20px; background: #fff; border-radius: 16px; text-align: center; margin: 0; }
.cfrt-funding-logos img { width: 100%; height: 110px; object-fit: contain; }
.cfrt-funding-logos figcaption { margin-top: 12px; font-size: 14px; }
.cfrt-footer-certification { margin: 24px 0; max-width: 340px; }
.cfrt-footer-certification img { width: 190px; background: #fff; padding: 10px; border-radius: 6px; margin-bottom: 14px; }
.cfrt-footer-certification p { color: var(--white-color); font-size: 13px; line-height: 1.7; }
.cfrt-calendar-modal .modal-content { border-radius: 20px; }
.cfrt-calendar-modal .modal-header, .cfrt-calendar-modal .modal-body { padding: 24px; }
.cfrt-calendar-modal .btn-close { flex-shrink: 0; }
/* Bootstrap's overflow:hidden on body creates a new sticky scroll container.
   Lock the root instead, keeping the sidebar anchored to the viewport. */
html:has(body.modal-open) { overflow-y: hidden; }
body.modal-open { overflow: clip !important; }

.navbar-brand img,
.footer-logo img {
    width: 205px;
    max-width: 205px;
    height: auto;
    padding: 7px 10px;
    background: #fff;
    border-radius: 5px;
}

.main-menu ul li { margin: 0 6px; }
.main-menu ul li a { font-size: 13px; }
.main-menu .nav-menu-wrapper { margin: 0 .6vw; }
.header-btn .btn-default { padding: 17px 20px 17px 55px; }
.header-btn .btn-default:hover { padding: 17px 55px 17px 20px; }
header.main-header .header-sticky.active { box-shadow: 0 8px 28px rgba(0, 0, 0, .22); }
@media (max-width: 991px) {
    header.main-header .slicknav_menu { max-height: calc(100vh - 95px); max-height: calc(100dvh - 95px); overflow-y: auto; overscroll-behavior: contain; }
}

/* Detail and contact pages retain the Rentgo template layout. */
.page-header { background-image: url('../images/cfrt/hero-taxi.jpg'); }
.page-header-box h1 { font-size: clamp(32px, 4.5vw, 64px); }
.page-single-image img { max-height: 470px; object-fit: cover; }
.page-category-list a[aria-current="page"] { color: var(--primary-color); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.service-entry p.cfrt-certification-reference { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 30px 0 0; padding-top: 16px; border-top: 1px solid #dbe4e6; color: #52656b; font-size: 14px; line-height: 1.5; }
.cfrt-certification-reference-label { color: #5b6d72; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cfrt-certification-reference a { color: #086c73; text-decoration: underline; text-underline-offset: 2px; }
.cfrt-certification-reference a:hover, .cfrt-certification-reference a:focus-visible { color: #064b52; }
.cfrt-other-centre { margin: 32px 0 0; padding: 20px 0 0; border-top: 1px solid #dbe4e6; color: #52656b; font-size: 15px; line-height: 1.6; }
.cfrt-other-centre a { color: #086c73; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cfrt-other-centre a:hover, .cfrt-other-centre a:focus-visible { color: #064b52; }
@media (max-width: 991px) {
    .page-service-single > .container > .row > .col-lg-8 { order: 1; }
    .page-service-single > .container > .row > .col-lg-4 { order: 2; }
}
.sidebar-cta-box h2 { padding: 30px 30px 0; font-size: 26px; }
.sidebar-cta-box p { padding: 0 30px; margin: 18px 0 25px; }
.service-feature-item-content p { margin: 12px 0 0; font-size: 15px; }
.service-entry .service-process-box h2:not(:first-child) { margin-top: 30px; }
.contact-form label { display: block; margin-bottom: 8px; }
.contact-form select:disabled { opacity: .65; cursor: not-allowed; }
.contact-form #contact-session-slot > .form-group { padding: 0; }
.cfrt-contact-subtitle { font-size: 20px; margin: 12px 0 24px; }
.cfrt-legal-page { padding: 70px 0; }
.cfrt-legal-content { max-width: 920px; margin: auto; padding: clamp(22px, 4vw, 50px); background: #fff; border-radius: 20px; overflow-wrap: anywhere; }
.cfrt-legal-content h2 { font-size: clamp(21px, 2.5vw, 28px); margin: 36px 0 18px; }
.cfrt-legal-content h3 { font-size: 20px; margin: 24px 0 12px; }
.cfrt-legal-content p { line-height: 1.8; }
.cfrt-legal-content a:not(.btn-default) { color: #086c73; text-decoration: underline; }
.cfrt-legal-source { font-size: 14px; padding-bottom: 20px; border-bottom: 1px solid #dbe4e6; }
.cfrt-footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 28px; margin-top: 44px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.15); }
.cfrt-footer-legal a { color: #fff; font-size: 13px; text-underline-offset: 4px; }
.cfrt-footer-legal a:hover, .cfrt-footer-legal a:focus-visible { color: var(--accent-color); text-decoration: underline; }
.main-footer .cfrt-footer-legal + .footer-copyright { margin-top: 0; }
.google-map .contact-info-content-box { margin-bottom: 30px; }

.hero-content { max-width: 1080px; }
.cfrt-hero-centres.rent-car-box { display: block; margin-top: 50px; padding: 30px; text-align: left; }
.cfrt-hero-centres-heading { text-align: center; margin-bottom: 24px; }
.cfrt-hero-centres-heading h2 { font-size: clamp(24px, 3vw, 34px); margin-top: 12px; color: #fff; }
.cfrt-hero-centres-heading .section-sub-title { color: #fff; }
.cfrt-hero-centres-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cfrt-hero-centres-grid article { padding: 24px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 16px; }
.cfrt-department { display: inline-block; background: var(--accent-color); color: var(--primary-color); padding: 5px 14px; border-radius: 30px; font-weight: 700; }
.cfrt-hero-centres-grid h3 { color: #fff; font-size: 26px; margin: 16px 0 12px; }
.cfrt-hero-centres-grid address { font-style: normal; min-height: 52px; color: #fff; }
.cfrt-hero-centres-grid p, .cfrt-hero-centres-grid .readmore-btn { color: #fff; }
.cfrt-hero-centres-grid .readmore-btn::before { filter: brightness(0) invert(1); }
.cfrt-hero-assurance { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; margin-top: 24px; color: #fff; font-size: 14px; }
.cfrt-hero-assurance i { color: var(--accent-color); margin-right: 6px; }
#formations .service-item { padding: 28px; margin-bottom: 0; gap: 25px; }
#formations .col-xl-4 { margin-bottom: 24px; }
#formations .service-item-body { flex: 1; display: flex; flex-direction: column; }
#formations .service-item-content { display: flex; flex-direction: column; flex: 1; }
#formations .service-item-content h2 { min-height: 2.6em; }
#formations .service-item-content p { flex: 1; margin-bottom: 18px; }
#formations .service-item-content .cfrt-card-price { flex: 0; min-height: 3.6em; font-size: 14px; line-height: 1.5; color: var(--primary-color); margin-top: 16px; margin-bottom: 0; }
#formations .cfrt-card-price span { display: block; }
#formations .cfrt-card-price span + span { margin-top: 4px; }
#formations .cfrt-mobility-links { margin-top: auto; min-height: 32px; align-content: flex-start; }
#formations #formation-initiale-soir h2,
#formations #formation-passerelle-soir h2 { font-size: 18px; letter-spacing: -.02em; white-space: nowrap; }
#formations .service-item-btn { margin-top: 24px; padding-top: 24px; }
#formations .service-item:hover .cfrt-mobility-links a { background: #fff; }
.cta-box.cfrt-project-section { background-image: url('../images/cfrt/formation-pratique.webp'); background-size: cover; background-position: center; padding: 80px 0; }
.cta-box.cfrt-project-section::before { background: rgba(3,20,29,.83); }
.cfrt-project-form { padding: 32px; background: #fff; border-radius: 20px; color: var(--text-color); }
.cfrt-project-form h3 { color: var(--primary-color); font-size: 28px; margin-bottom: 12px; }
.cfrt-project-form p, .cfrt-project-form label { color: var(--text-color); }
.cfrt-project-form .form-control { color: var(--primary-color); background: var(--bg-color); border: 1px solid #dbe4e6; padding: 12px 14px; }
.cfrt-project-form .form-control:focus { border-color: #168c91; box-shadow: 0 0 0 3px rgba(57,210,213,.2); }
.cfrt-project-form .cfrt-form-privacy { font-size: 12px; line-height: 1.6; margin-top: 16px; margin-bottom: 0; }
@media (max-width: 767px) {
    .cfrt-hero-centres-grid { grid-template-columns: 1fr; gap: 16px; }
    .cfrt-hero-centres.rent-car-box, .cfrt-project-form { padding: 22px; }
    .cfrt-hero-assurance { justify-content: flex-start; }
    #formations .service-item-content h2 { min-height: 0; }
    #formations #formation-initiale-soir h2,
    #formations #formation-passerelle-soir h2 { white-space: normal; }
    #formations .service-item-content .cfrt-card-price { min-height: 0; }
}
.hero-photo { position: absolute; inset: 0; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; animation: cfrt-hero-zoom 18s ease-in-out infinite alternate; }
.hero.hero-image::before { opacity: 1; background: linear-gradient(180deg, rgba(3,20,29,.9), rgba(3,20,29,.65) 50%, rgba(3,20,29,.92)); }
.hero-image .section-title h1, .hero-image .section-title p { text-shadow: 0 2px 12px rgba(0,0,0,.4); }
@keyframes cfrt-hero-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .hero-photo img { animation: none; } }
.hero-content .section-title p { max-width: 760px; }
.hero.hero-video .hero-bg-video video { object-position: center center; }
.hero::before { background: linear-gradient(180deg, rgba(3, 20, 29, .94) 5%, rgba(3, 20, 29, .38) 50%, rgba(3, 20, 29, .94) 94%); }

.rent-car-box-form select.form-control { color: var(--white-color); cursor: pointer; }
.rent-car-box-form select.form-control option { color: #071b25; background: #fff; }
.rent-car-box-title { max-width: 195px; }
.rent-car-box-form { width: calc(100% - 225px); }

.service-item { height: 100%; }
.service-item-content h2 { font-size: 22px; }
.cfrt-mobility-links { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.cfrt-mobility-links a { padding: 5px 9px; color: var(--primary-color); background: var(--accent-color); border-radius: 50px; font-size: 11px; font-weight: 700; }

.about-us-author-box { display: none; }
.cfrt-video-proof strong { display: block; color: var(--accent-color); font-size: clamp(28px, 3vw, 40px); line-height: 1.15; }
.cfrt-video-proof p { margin: 8px 0 0; color: #fff; font-size: 13px; line-height: 1.45; }
.cfrt-help-icon { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; color: var(--primary-color); background: var(--accent-color); }
.company-logo-slider { display: none; }
.our-fleets,
.our-pricing,
.our-testimonials,
.our-blog { display: none; }

.core-features-image img { object-position: center; }
.cta-box { background-image: linear-gradient(90deg, rgba(7, 27, 37, .96), rgba(7, 27, 37, .28)), url('../images/cta-bg-image.jpg'); }
.main-footer { margin-top: 0; }

/* About and team reuse the original About / Our Drivers template sections. */
.cfrt-about-page .cfrt-about-experience { background: rgba(7, 27, 37, .9); }
.cfrt-about-experience .about-us-video-box-content { padding: 12px; }
.cfrt-about-experience strong { display: block; color: #fff; font-size: 32px; line-height: 1.2; }
.cfrt-about-experience p { color: #fff; font-size: 14px; line-height: 1.5; margin: 8px 0 0; }
.cfrt-about-page .cfrt-about-centres { padding-top: 80px; }
.cfrt-about-page .cfrt-quality > a { display: block; margin-bottom: 16px; color: #086c73; text-decoration: underline; text-underline-offset: 3px; }
.cfrt-team-photo { display: block; border-radius: 10px; overflow: hidden; }
.cfrt-team-photo figure { display: block; margin: 0; }
.cfrt-team-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.cfrt-team-card .cfrt-team-role { color: #086c73; font-weight: 600; }
.cfrt-team-card .cfrt-team-description { font-size: 14px; line-height: 1.65; margin-top: 12px; }
.cfrt-team-contact { margin-bottom: 80px; }
.cfrt-team-contact .section-title { margin-bottom: 0; }
.cfrt-team-actions { display: flex; align-items: flex-start; flex-direction: column; gap: 24px; padding-left: 30px; }
.cfrt-footer .footer-links .cfrt-footer-heading { margin: 28px 0 16px; }
@media (max-width: 991px) {
    .cfrt-team-actions { padding-left: 0; }
}
@media (max-width: 767px) {
    .cfrt-about-page .cfrt-about-centres { padding-top: 50px; padding-bottom: 50px; }
    .cfrt-team-contact { margin-bottom: 50px; }
}

/* Five balanced columns, with a dedicated address card for each centre. */
.cfrt-footer { padding-top: 76px; }
.cfrt-footer-grid { display: grid; grid-template-columns: 1.08fr .8fr .85fr 1.15fr 1.15fr; gap: 24px; align-items: stretch; }
.cfrt-footer-grid > * { min-width: 0; }
.cfrt-footer-brand .footer-logo { display: inline-block; max-width: 100%; }
.cfrt-footer-brand .footer-logo img { max-width: 100%; }
.cfrt-footer-brand > p { color: #fff; margin: 22px 0 0; font-size: 14px; line-height: 1.65; }
.cfrt-footer-brand .cfrt-footer-certification { margin: 24px 0 0; }
.cfrt-footer-brand .cfrt-footer-certification img { max-width: 100%; }
.cfrt-footer-brand .cfrt-footer-certification p { margin: 0; font-size: 12px; }
.cfrt-footer-brand .cfrt-footer-certification strong { display: block; margin-top: 6px; }
.cfrt-footer .footer-links { max-width: none; padding-top: 14px; }
.cfrt-footer .footer-links h2 { font-size: 19px; margin: 0 0 26px; }
.cfrt-footer .footer-links ul { display: flex; flex-direction: column; gap: 18px; padding: 0; margin: 0; list-style: none; }
.cfrt-footer .footer-links ul li { margin: 0; text-transform: none; font-size: 14px; line-height: 1.65; }
.cfrt-footer a { overflow-wrap: anywhere; }
.cfrt-footer a:focus-visible { outline: 2px solid var(--accent-color); outline-offset: 5px; }
.cfrt-footer-centre { display: flex; flex-direction: column; padding: 22px 18px; background: #123241; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; }
.cfrt-footer-centre .cfrt-footer-centre-label { color: var(--accent-color); font-size: 12px; font-weight: 700; margin: 0 0 10px; }
.cfrt-footer-centre h2 { color: #fff; font-size: 21px; min-height: 2.6em; line-height: 1.3; margin: 0 0 20px; }
.cfrt-footer-centre ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.cfrt-footer-centre li { display: flex; align-items: flex-start; gap: 10px; min-width: 0; font-size: 14px; line-height: 1.7; color: #fff; }
.cfrt-footer-centre li > i { flex: 0 0 18px; font-size: 18px; padding-top: 3px; color: var(--accent-color); }
.cfrt-footer-centre address { margin: 0; font-style: normal; font-weight: 600; }
.cfrt-footer-centre a { color: #fff; }
.cfrt-footer-centre a:hover { color: var(--accent-color); }
.cfrt-footer-address { min-height: 7em; }
.cfrt-footer-centre .cfrt-footer-directions { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; margin-top: auto; color: var(--accent-color); font-size: 13px; font-weight: 600; }
.cfrt-footer-approvals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 20px; margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--dark-divider-color); }
.cfrt-footer-approvals p { margin: 0; color: #fff; font-size: 13px; line-height: 1.7; text-align: center; }
.cfrt-footer .footer-copyright { margin-top: 28px; padding: 26px 0; }
@media (max-width: 1199px) {
    .cfrt-footer-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px; }
    .cfrt-footer-brand, .cfrt-footer .footer-links { grid-column: span 2; }
    .cfrt-footer-centre { grid-column: span 3; padding: 26px; }
    .cfrt-footer-centre h2 { min-height: 0; }
    .cfrt-footer-address { min-height: 5.1em; }
    .cfrt-footer-directions { padding-top: 24px; }
}
@media (max-width: 767px) {
    .cfrt-footer { padding-top: 50px; }
    .cfrt-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; }
    .cfrt-footer-brand { grid-column: 1 / -1; max-width: 360px; justify-self: center; text-align: center; }
    .cfrt-footer-brand .cfrt-footer-certification { max-width: none; }
    .cfrt-footer .footer-links, .cfrt-footer-centre { grid-column: span 1; }
    .cfrt-footer .footer-links { padding-top: 0; }
    .cfrt-footer .footer-links h2 { font-size: 18px; margin-bottom: 20px; }
    .cfrt-footer-approvals { grid-template-columns: 1fr; gap: 16px; margin-top: 30px; }
}
@media (max-width: 575px) {
    .cfrt-footer-centre { grid-column: 1 / -1; }
    .cfrt-footer-address { min-height: 0; }
    .cfrt-footer-centre .cfrt-footer-directions { margin-top: 8px; }
}

/* All published dates are visible before choosing; radios remain keyboard-accessible. */
.cfrt-session-choices { margin: 0; padding: 0; border: 0; min-width: 0; }
.cfrt-session-choices legend { float: none; width: auto; font-size: 16px; font-weight: 600; margin-bottom: 12px; }
.cfrt-wizard .cfrt-session-option { display: flex; align-items: center; gap: 12px; padding: 14px 16px; margin-bottom: 10px; border: 1px solid #cad7d9; border-radius: 10px; background: #f7faf9; cursor: pointer; color: #17313a; line-height: 1.5; }
.cfrt-session-option input { width: 18px; height: 18px; flex: 0 0 18px; accent-color: #147968; }
.cfrt-session-option:has(input:checked) { border-color: #147968; background: #eaf6f1; box-shadow: inset 0 0 0 1px #147968; }
.cfrt-session-option:focus-within { outline: 2px solid #147968; outline-offset: 3px; }
.calendar-form [hidden], #contactForm [hidden] { display: none !important; }
.cfrt-wizard-progress { display: flex; list-style: none; padding: 0; gap: 12px; margin: 0 0 24px; }
.cfrt-wizard-progress li { flex: 1; border-bottom: 3px solid #dbe4e6; padding-bottom: 10px; color: #53676e; font-size: 14px; line-height: 1.4; }
.cfrt-wizard-progress [aria-current="step"] { color: #086c73; border-color: #168c91; font-weight: 700; }
.cfrt-wizard .cfrt-step-title { font-size: 21px; margin: 0 0 20px; }
.cfrt-step-title:focus { outline: none; }
.cfrt-wizard .cfrt-request-summary { padding: 16px; background: #eaf6f1; border-radius: 10px; font-size: 14px; line-height: 1.65; }
.cfrt-step-error { color: #ae2222; margin: 12px 0; }
.cfrt-wizard-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.cfrt-back { border: 1px solid #b5c5c9; border-radius: 30px; padding: 13px 22px; }
.cfrt-back:focus-visible { outline: 2px solid #168c91; outline-offset: 3px; }
.cfrt-wizard button:disabled { opacity: .6; cursor: wait; }
.cfrt-status-field legend { float: none; width: auto; font-size: 16px; margin-bottom: 12px; }
.cfrt-status-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
.cfrt-status-choices label { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; cursor: pointer; margin: 0; }
.cfrt-status-choices input { flex: 0 0 17px; width: 17px; height: 17px; margin-top: 4px; accent-color: #086c73; }
.cfrt-status-choices input:focus-visible { outline: 2px solid #086c73; outline-offset: 3px; }
@media (max-width: 420px) { .cfrt-status-choices { grid-template-columns: 1fr; } }

@media (max-width: 1199px) {
    .navbar-brand img { width: 175px; }
    .rent-car-box-form { width: 100%; }
}

@media (max-width: 767px) {
    .navbar-brand img { width: 150px; }
    .hero-content .section-title h1 { font-size: 42px; }
    .rent-car-box-title { max-width: none; }
    .rent-car-box { margin-top: 70px; }
}
