:root {
    --color-black: #000;
    --color-white: #fff;

    --color-green: #c7f000;
    --color-green-dark: #95a80f;
    --color-green-light: #a8bc14;

    --color-purple: #46306d;
    --color-purple-light: #5a3e8b;
    --color-purple-soft: #8d6bc0;
    --color-purple-text: #d7cffa;
    --color-purple-text-light: #d8cffd;

    --color-text-soft: rgba(255, 255, 255, 0.9);
    --color-text-muted: #9a9a9a;
    --color-text-muted-2: #8b8b8b;
    --color-text-muted-3: #7f7f7f;
    --color-text-muted-4: #6a6a6a;
    --color-text-muted-5: #666;
    --color-text-muted-6: #4f4f4f;
    --color-text-light: #d6d6d6;
    --color-text-light-2: #d8d8d8;

    --container-width: 1200px;
    --font-main: Arial, Helvetica, sans-serif;

    --radius-sm: 3px;
    --radius-md: 4px;

    --transition: all 0.3s ease;
    --section-padding: 90px 0;
    --section-padding-mobile: 70px 0;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* =========================
   GLOBAL
========================= */
.section-black {
    position: relative;
    background: var(--color-black);
    overflow: hidden;
}

.btn-main,
.btn-purple,
.btn-green {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-main:hover,
.btn-purple:hover,
.btn-green:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-purple {
    background: var(--color-purple);
    color: var(--color-purple-text);
    padding: 14px 24px;
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.2px;
}

.btn-purple:hover {
    background: var(--color-purple-light);
    color: var(--color-white);
}

.btn-green {
    background: var(--color-green-dark);
    color: #111;
    padding: 13px 22px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.btn-green:hover {
    background: var(--color-green-light);
    color: #000;
}

.btn-arrow {
    font-size: 14px;
    line-height: 1;
}

/* =========================
   HERO
========================= */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.72) 0%,
            rgba(0, 0, 0, 0.35) 38%,
            rgba(0, 0, 0, 0.42) 100%);
}

.hero-container {
    position: relative;
    z-index: 2;
    width: min(100% - 48px, var(--container-width));
    margin: 0 auto;
}

.hero-content {
    max-width: 520px;
    padding: 120px 0 80px;
}

.hero-title {
    margin: 0;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    color: var(--color-white);
    font-size: clamp(3rem, 7vw, 6.2rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-title .title-group-top,
.hero-title .title-line {
    transform-origin: left center;
    transition: transform 0.12s ease-out;
    will-change: transform;
}

.hero-title .title-group-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-title .line-middle {
    color: var(--color-green);
}

.hero-title:hover .title-group-top {
    transform: translateY(-10px);
}

.hero-title:hover .line-bottom {
    transform: translateY(2px) scale(1.16);
}

.hero-text {
    margin: 22px 0 28px;
    max-width: 420px;
    color: var(--color-text-soft);
    font-family: var(--font-main);
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-width: 250px;
    padding: 14px 22px;
    background: var(--color-green);
    color: var(--color-black);
    text-decoration: none;
    font-family: var(--font-main);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    border-radius: var(--radius-md);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero-btn:hover {
    transform: translateY(-2px);
    opacity: 0.95;
    color: var(--color-black);
    text-decoration: none;
}

.arrow {
    font-size: 1rem;
    line-height: 1;
}

/* =========================
   AGENCY
========================= */
.agency-section {
    position: relative;
    background: var(--color-black);
    padding: var(--section-padding);
    overflow: hidden;
}

.agency-image-wrapper,
.school-image-wrapper {
    position: relative;
}

.agency-image {
    width: 100%;
    height: 540px;
    object-fit: cover;
    display: block;
}

.agency-content,
.school-content,
.news-header,
.news-cards-row,
.news-footer,
.cta-content {
    position: relative;
    z-index: 2;
}

.agency-title,
.school-title,
.news-title,
.history-title,
.cta-title {
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.agency-title {
    font-size: clamp(52px, 8vw, 92px);
    color: #8c9f10;
    margin-bottom: 28px;
    transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.agency-subtitle {
    color: var(--color-text-light-2);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.8px;
    line-height: 1.6;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.agency-text {
    max-width: 420px;
    color: var(--color-text-muted);
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 35px;
}

.agency-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--color-purple);
    color: var(--color-purple-text);
    text-decoration: none;
    padding: 14px 26px;
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    transition: var(--transition);
}

.agency-btn:hover {
    background: var(--color-purple-light);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* Scroll animation: slide in from sides */
.agency-image-wrapper {
    transform: translateX(-160px);
    opacity: 0.3;
    transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.4s ease;
}

.agency-content {
    transform: translateX(160px);
    opacity: 0.3;
    transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s, opacity 1.4s ease 0.1s;
}

.agency-section.is-visible .agency-image-wrapper {
    transform: translateX(0);
    opacity: 1;
}

.agency-section.is-visible .agency-content {
    transform: translateX(0);
    opacity: 1;
}

.agency-section.is-visible .agency-title {
    transform: translateX(-120px);
}

.agency-glow {
    position: absolute;
    bottom: -60px;
    left: 42%;
    width: 280px;
    height: 120px;
    background: radial-gradient(circle, rgba(142, 163, 10, 0.55) 0%, rgba(142, 163, 10, 0.15) 35%, rgba(0, 0, 0, 0) 75%);
    filter: blur(24px);
    pointer-events: none;
}

/* =========================
   SCHOOL
========================= */
.school-section {
    position: relative;
    background: var(--color-black);
    padding: var(--section-padding);
    overflow: hidden;
}

.school-title {
    font-size: clamp(52px, 8vw, 88px);
    color: var(--color-text-muted);
    margin-bottom: 28px;
    transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.school-subtitle {
    color: var(--color-text-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.7px;
    line-height: 1.6;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.school-text {
    max-width: 340px;
    color: var(--color-text-muted-3);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 32px;
}

.school-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--color-green-dark);
    color: #111;
    text-decoration: none;
    padding: 13px 22px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    transition: var(--transition);
}

.school-btn:hover {
    background: var(--color-green-light);
    color: #000;
    transform: translateY(-2px);
    text-decoration: none;
}

.school-image {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}

/* Scroll animation: slide in from sides (inversé - content gauche, image droite) */
.school-content {
    transform: translateX(-160px);
    opacity: 0.3;
    transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.4s ease;
}

.school-image-wrapper {
    transform: translateX(160px);
    opacity: 0.3;
    transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s, opacity 1.4s ease 0.1s;
}

.school-section.is-visible .school-content {
    transform: translateX(110px);
    opacity: 1;
}

.school-section.is-visible .school-title {
    transform: translateX(100px);
}

.school-section.is-visible .school-image-wrapper {
    transform: translateX(0);
    opacity: 1;
}

.school-glow {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-10%);
    width: 240px;
    height: 90px;
    background: radial-gradient(circle, rgba(149, 168, 15, 0.55) 0%, rgba(149, 168, 15, 0.18) 35%, rgba(0, 0, 0, 0) 75%);
    filter: blur(22px);
    pointer-events: none;
}

/* =========================
   NEWS
========================= */
.news-section {
    position: relative;
    background: var(--color-black);
    padding: 110px 0 90px;
    overflow: hidden;
}

.news-header {
    max-width: 760px;
    margin: 0 auto 70px;
}

.news-title {
    font-size: clamp(56px, 9vw, 96px);
    color: #8c9f10;
    margin-bottom: 24px;
}

.news-intro {
    color: var(--color-text-muted-5);
    font-size: 18px;
    line-height: 1.8;
    margin: 0 auto;
    max-width: 780px;
}

.news-card {
    height: 100%;
}

.news-card-image-link {
    display: block;
    overflow: hidden;
    border-radius: 2px;
    margin-bottom: 22px;
}

.news-card-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    opacity: 0.68;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.news-card:hover .news-card-image {
    transform: scale(1.03);
    opacity: 0.9;
}

.news-card-body {
    padding-right: 10px;
}

.news-card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 14px;
}

.news-card-title a {
    color: var(--color-text-muted-4);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-card-title a:hover {
    color: var(--color-white);
}

.news-card-text {
    color: var(--color-text-muted-6);
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}

.news-footer {
    margin-top: 42px;
}

.news-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #4b356f;
    color: var(--color-purple-text-light);
    text-decoration: none;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    transition: var(--transition);
}

.news-btn:hover {
    background: #5e4590;
    color: var(--color-white);
    transform: translateY(-2px);
    text-decoration: none;
}

/* News overlay + slide up animation */
.news-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 3;
    pointer-events: none;
    transition: opacity 2s ease, transform 2s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(0);
}

.news-section.is-visible::before {
    opacity: 0;
    transform: translateY(-50px);
}

.news-glow {
    position: absolute;
    top: -30px;
    right: 40px;
    width: 230px;
    height: 230px;
    background: radial-gradient(circle, rgba(140, 159, 16, 0.45) 0%, rgba(140, 159, 16, 0.18) 32%, rgba(0, 0, 0, 0) 72%);
    filter: blur(26px);
    pointer-events: none;
    z-index: 1;
}

/* =========================
   HISTORY
========================= */
.history-section {
    position: relative;
    background: var(--color-black);
    padding: 100px 0;
    overflow: hidden;
}

/* Scroll animation: slide in from sides */
.history-image-wrapper {
    transform: translateX(-160px);
    opacity: 0.3;
    transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.4s ease;
}

.history-content {
    transform: translateX(160px);
    opacity: 0.3;
    transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s, opacity 1.4s ease 0.1s;
}

.history-section.is-visible .history-image-wrapper {
    transform: translateX(0);
    opacity: 1;
}

.history-section.is-visible .history-content {
    transform: translateX(0);
    opacity: 1;
}

.history-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.history-section:hover .history-overlay {
    opacity: 0.2;
}

.history-container,
.history-row,
.history-content {
    position: relative;
    z-index: 2;
}

.history-image-wrapper {
    position: relative;
    z-index: 2;
}

.history-image {
    width: 100%;
    height: 560px;
    object-fit: cover;
    display: block;
}

.history-title {
    font-size: clamp(52px, 8vw, 88px);
    color: var(--color-white);
    margin-bottom: 28px;
}

.history-quote-block {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.history-quote-icon {
    font-size: 72px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.18);
    margin-top: -10px;
}

.history-text p {
    color: var(--color-white);
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 14px;
}

.history-authors {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 26px;
    flex-wrap: wrap;
}

.history-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.history-author img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.history-author h6 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-white);
}

.history-author span {
    font-size: 12px;
    color: var(--color-text-muted-2);
}

/* =========================
   CTA
========================= */
.cta-section {
    position: relative;
    background: var(--color-black);
    padding: 120px 0 100px;
    overflow: hidden;
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
}

.cta-title {
    color: #f2f2f2;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1;
    letter-spacing: 1.5px;
    margin-bottom: 22px;
}

.cta-title:hover {
    color: var(--color-green-dark);
}

.cta-text {
    max-width: 760px;
    margin: 0 auto 34px;
    color: #cfcfcf;
    font-size: 15px;
    line-height: 1.9;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--color-purple-soft);
    color: var(--color-white);
    text-decoration: none;
    padding: 14px 26px;
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    transition: var(--transition);
}

.cta-btn:hover {
    background: var(--color-green-dark);
    color: #111;
    transform: translateY(-2px);
    text-decoration: none;
}

.cta-glow {
    position: absolute;
    top: 30px;
    left: -40px;
    width: 300px;
    height: 140px;
    background: radial-gradient(circle, rgba(119, 86, 186, 0.45) 0%, rgba(119, 86, 186, 0.20) 35%, rgba(0, 0, 0, 0) 72%);
    filter: blur(28px);
    pointer-events: none;
    z-index: 1;
}

.cta-bottom-line {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {
    .hero-section {
        min-height: 90vh;
        background-position: center center;
    }

    .hero-content {
        max-width: 470px;
        padding-top: 110px;
        padding-bottom: 70px;
    }

    .hero-text {
        max-width: 390px;
        font-size: 0.8rem;
    }
}

@media (max-width: 991.98px) {

    .agency-section,
    .school-section {
        padding: var(--section-padding-mobile);
    }

    .news-section {
        padding: 90px 0 70px;
    }

    .cta-section {
        padding: 100px 0 80px;
    }

    .agency-image,
    .school-image {
        height: 420px;
    }

    .agency-title,
    .school-title {
        font-size: 56px;
    }

    .agency-text,
    .school-text {
        max-width: 100%;
    }

    .agency-content {
        padding-left: 0;
        margin-left: 0;
        text-align: left;
    }

    .school-image {
        margin-top: 20px;
    }

    .news-header {
        margin-bottom: 50px;
    }

    .news-title {
        font-size: 64px;
    }

    .news-intro {
        font-size: 16px;
        max-width: 100%;
    }

    .news-card-image {
        height: 240px;
    }

    .cta-text {
        font-size: 14px;
        line-height: 1.8;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 85vh;
        align-items: flex-end;
        background-position: 60% center;
    }

    .hero-overlay {
        background:
            linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.58) 52%, rgba(0, 0, 0, 0.92) 100%),
            linear-gradient(90deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.18) 100%);
    }

    .hero-container {
        width: min(100% - 28px, var(--container-width));
    }

    .hero-content {
        max-width: 100%;
        padding-top: 140px;
        padding-bottom: 40px;
    }

    .hero-title {
        font-size: clamp(2.4rem, 12vw, 4.2rem);
        line-height: 0.94;
    }

    .hero-text {
        margin: 18px 0 24px;
        max-width: 100%;
        font-size: 0.75rem;
        letter-spacing: 0.9px;
    }

    .hero-btn {
        width: 100%;
        min-width: 0;
        padding: 14px 18px;
        font-size: 0.68rem;
    }
}

@media (max-width: 575.98px) {

    .agency-image,
    .school-image {
        height: 300px;
    }

    .agency-title,
    .news-title {
        font-size: 42px;
    }

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

    .agency-text,
    .school-text,
    .news-card-text {
        font-size: 14px;
        line-height: 1.75;
    }

    .school-subtitle {
        font-size: 11px;
    }

    .agency-btn,
    .news-btn,
    .cta-btn {
        padding: 12px 18px;
        font-size: 11px;
    }

    .school-btn {
        padding: 12px 16px;
        font-size: 10px;
    }

    .news-section {
        padding: 70px 0 60px;
    }

    .news-header {
        margin-bottom: 36px;
    }

    .news-title {
        margin-bottom: 18px;
    }

    .news-intro {
        font-size: 14px;
        line-height: 1.7;
    }

    .news-card-image {
        height: 220px;
    }

    .news-card-title {
        font-size: 16px;
    }

    .cta-section {
        padding: 80px 0 70px;
    }

    .cta-title {
        font-size: 34px;
    }

    .cta-text {
        font-size: 13px;
        line-height: 1.75;
        margin-bottom: 28px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 82vh;
        background-position: 64% center;
    }

    .hero-content {
        padding-top: 120px;
        padding-bottom: 30px;
    }

    .hero-text {
        font-size: 0.7rem;
        line-height: 1.4;
    }

    .hero-btn {
        gap: 12px;
        font-size: 0.64rem;
    }
}