/* =========================================================
   SMART CLUB ENSEM
   WHAT WE DO PAGE
========================================================= */


/* ================= GLOBAL ================= */

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


:root {
    --red: #b00045;
    --red-dark: #7d0031;
    --red-light: #d10a59;

    --black: #202126;
    --dark: #111318;

    --gray: #65666c;
    --light: #f5f5f6;

    --white: #ffffff;

    --border: #e3e3e5;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: Arial, Helvetica, sans-serif;

    color: var(--black);

    background: var(--white);

    overflow-x: hidden;
}


a {
    color: inherit;
    text-decoration: none;
}


img {
    display: block;
}


.section {
    padding: 110px 8%;
}


section {
    scroll-margin-top: 85px;
}



/* ================= NAVBAR ================= */

.navbar {
    width: 100%;
    height: 85px;

    padding: 0 7%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    position: fixed;

    top: 0;
    left: 0;

    z-index: 1000;

    background: rgba(255,255,255,.96);

    border-bottom: 1px solid #e8e8e8;

    transition: .3s;
}


.navbar.scrolled {
    height: 72px;

    box-shadow:
        0 8px 30px rgba(0,0,0,.06);
}


.logo {
    display: flex;
    align-items: center;

    gap: 12px;
}


.logo img {
    width: 55px;
    height: 55px;

    object-fit: contain;
}


.logo-text {
    display: flex;
    flex-direction: column;
}


.logo-text span {
    font-size: 16px;
    font-weight: 900;

    letter-spacing: 2px;
}


.logo-text small {
    margin-top: 3px;

    color: var(--red);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 3px;
}


.nav-links {
    display: flex;

    gap: 35px;

    list-style: none;
}


.nav-links a {
    position: relative;

    font-size: 14px;
    font-weight: 600;

    transition: .3s;
}


.nav-links a::after {
    content: "";

    width: 0;
    height: 2px;

    position: absolute;

    left: 0;
    bottom: -8px;

    background: var(--red);

    transition: .3s;
}


.nav-links a:hover,
.nav-links a.active {
    color: var(--red);
}


.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}


.join-btn {
    padding: 13px 24px;

    color: white;

    background: var(--red);

    border-radius: 4px;

    font-size: 14px;
    font-weight: 700;

    transition: .3s;
}


.join-btn:hover {
    background: var(--red-dark);

    transform: translateY(-2px);
}


.menu-btn {
    display: none;

    border: 0;

    background: none;

    font-size: 28px;

    cursor: pointer;
}


.mobile-menu {
    display: none;
}

/* ==========================================================
   LANGUAGE SWITCH
========================================================== */

.language-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 20px;
}

.language-switch span {
    color: rgba(255,255,255,.35);
    font-weight: 400;
}

.language-switch button {
    background: transparent;
    border: none;
    color: #2b2b2b;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: .3s ease;
    padding: 0;
}

.language-switch button:hover {
    color: #d1005d;
}

.language-switch button.active {
    color: #d1005d;
}

@media (max-width: 900px) {

    .language-switch {
        display: flex;
    }

}

/* ================= HERO ================= */

.hero {
    min-height: 100vh;

    padding: 150px 8% 90px;

    position: relative;

    display: grid;

    grid-template-columns: 1.1fr .9fr;

    align-items: center;

    gap: 80px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 80% 45%,
            rgba(176,0,69,.12),
            transparent 28%
        ),
        #fafafa;
}


.hero-grid {
    position: absolute;

    inset: 0;

    opacity: .35;

    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(0,0,0,.045) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(0,0,0,.045) 1px,
            transparent 1px
        );

    background-size: 55px 55px;

    mask-image:
        linear-gradient(
            to right,
            black,
            transparent 85%
        );
}


.hero-content {
    position: relative;

    z-index: 2;
}


.page-number {
    margin-bottom: 45px;

    color: #a3a3a6;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 3px;
}


.eyebrow {
    margin-bottom: 18px;

    color: var(--red);

    font-size: 12px;
    font-weight: 900;

    letter-spacing: 4px;
}


.hero h1 {
    font-size: clamp(65px, 8vw, 115px);

    line-height: .82;

    letter-spacing: -7px;
}


.hero h1 span {
    color: var(--red);
}


.hero-description {
    max-width: 590px;

    margin-top: 40px;

    color: var(--gray);

    font-size: 18px;

    line-height: 1.8;
}


.hero-actions {
    margin-top: 35px;

    display: flex;

    gap: 15px;
}


.primary-btn,
.secondary-btn {
    padding: 15px 24px;

    border-radius: 4px;

    font-size: 14px;
    font-weight: 700;

    transition: .3s;
}


.primary-btn {
    color: white;

    background: var(--red);
}


.primary-btn:hover {
    background: var(--red-dark);

    transform: translateY(-3px);
}


.secondary-btn {
    border: 1px solid #ccc;
}


.secondary-btn:hover {
    color: var(--red);

    border-color: var(--red);

    transform: translateY(-3px);
}



/* ================= TECH CARD ================= */

.hero-visual {
    position: relative;

    z-index: 3;
}


.tech-card {
    max-width: 480px;

    margin-left: auto;

    padding: 25px;

    position: relative;

    background: white;

    border:
        1px solid rgba(176,0,69,.2);

    box-shadow:
        0 35px 100px rgba(0,0,0,.12);
}


.tech-card::before {
    content: "";

    width: 50px;
    height: 50px;

    position: absolute;

    top: -10px;
    left: -10px;

    border-top: 3px solid var(--red);
    border-left: 3px solid var(--red);
}


.tech-card::after {
    content: "";

    width: 50px;
    height: 50px;

    position: absolute;

    right: -10px;
    bottom: -10px;

    border-right: 3px solid var(--red);
    border-bottom: 3px solid var(--red);
}


.tech-top {
    padding-bottom: 18px;

    display: flex;
    justify-content: space-between;

    border-bottom: 1px solid var(--border);

    color: #888;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 2px;
}


.status {
    color: var(--red);
}


.tech-center {
    min-height: 340px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;
}


.tech-center img {
    width: 190px;

    transition: .5s;
}


.tech-card:hover .tech-center img {
    transform:
        scale(1.05)
        rotate(-2deg);
}


.tech-center h2 {
    margin-top: 25px;

    font-size: 17px;
    font-weight: 900;

    letter-spacing: 5px;
}


.tech-data {
    padding-top: 20px;

    display: grid;

    grid-template-columns: repeat(3,1fr);

    border-top: 1px solid var(--border);
}


.tech-data div {
    text-align: center;

    border-right: 1px solid var(--border);
}


.tech-data div:last-child {
    border-right: 0;
}


.tech-data span {
    color: var(--red);

    font-size: 20px;
    font-weight: 900;
}


.tech-data p {
    margin-top: 5px;

    color: #888;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 2px;
}



/* ================= COMMON HEADINGS ================= */

.section-label {
    margin-bottom: 17px;

    color: var(--red);

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 4px;
}


.section-heading {
    margin-bottom: 70px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 50px;
}


.section-heading h2,
.intro h2 {
    font-size: clamp(42px,5vw,68px);

    line-height: 1;

    letter-spacing: -3px;
}


.section-heading h2 span,
.intro h2 span {
    color: var(--red);
}


.heading-description {
    max-width: 360px;

    color: var(--gray);

    line-height: 1.7;
}



/* ================= INTRO ================= */

.intro {
    background: white;
}


.intro-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;
}


.intro-grid > div p {
    margin-bottom: 20px;

    color: var(--gray);

    font-size: 17px;

    line-height: 1.9;
}



/* ================= FIELDS ================= */

.fields {
    background: var(--light);
}


.field {
    min-height: 420px;

    margin-bottom: 35px;

    display: grid;

    grid-template-columns:
        90px
        minmax(300px,1fr)
        1fr;

    background: white;

    border: 1px solid var(--border);

    transition: .4s;
}


.field:hover {
    transform: translateY(-6px);

    border-color:
        rgba(176,0,69,.4);

    box-shadow:
        0 25px 60px rgba(0,0,0,.08);
}


.field-number {
    padding-top: 35px;

    color: var(--red);

    text-align: center;

    font-size: 12px;
    font-weight: 900;

    letter-spacing: 2px;

    border-right: 1px solid var(--border);
}


/* =========================================================
   FIELD IMAGES — FIXED
========================================================= */

.field-image {
    width: 100%;
    height: 420px;

    position: relative;

    overflow: hidden;

    background: #eeeeef;
}


.field-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    transition: .6s;
}


.field:hover .field-image img {
    transform: scale(1.05);
}


.image-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    color: #aaa;

    background:
        linear-gradient(
            135deg,
            #eeeeef,
            #dadadc
        );

    position: relative;
}


.image-placeholder::after {
    content: "";

    width: 80px;
    height: 80px;

    position: absolute;

    border:
        1px solid rgba(176,0,69,.3);

    transform: rotate(45deg);
}


.image-placeholder span {
    margin-bottom: 10px;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 3px;
}


.image-placeholder p {
    font-size: 18px;
    font-weight: 900;

    letter-spacing: 4px;
}


.field-content {
    padding: 60px;

    display: flex;
    flex-direction: column;

    justify-content: center;
}


.field-category {
    margin-bottom: 14px;

    color: var(--red);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 3px;
}


.field-content h3 {
    margin-bottom: 22px;

    font-size: clamp(30px,3vw,46px);

    letter-spacing: -2px;
}


.field-content > p:not(.field-category) {
    max-width: 500px;

    color: var(--gray);

    line-height: 1.8;
}


.topics {
    margin-top: 30px;

    display: flex;
    flex-wrap: wrap;

    gap: 8px;
}


.topics span {
    padding: 9px 13px;

    color: #555;

    background: #f6f6f6;

    border: 1px solid #ddd;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1px;
}



/* ================= PROCESS ================= */

.process {
    color: white;

    background: var(--dark);
}


.light-label {
    color: var(--red-light);
}


.white-title {
    color: white;
}


.white-title span {
    color: var(--red-light) !important;
}


.process-grid {
    display: flex;

    align-items: center;
    justify-content: space-between;
}


.process-card {
    width: 190px;
}


.process-card > span {
    color: var(--red-light);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 2px;
}


.process-icon {
    width: 65px;
    height: 65px;

    margin: 25px 0;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--red-light);

    border: 1px solid #484a50;

    font-size: 22px;

    transition: .3s;
}


.process-card:hover .process-icon {
    color: white;

    background: var(--red);

    border-color: var(--red);

    transform: rotate(5deg);
}


.process-card h3 {
    margin-bottom: 12px;

    font-size: 23px;
}


.process-card p {
    color: #98999e;

    font-size: 14px;

    line-height: 1.7;
}


.process-line {
    width: 70px;
    height: 1px;

    background:
        linear-gradient(
            to right,
            #444,
            var(--red)
        );
}



/* ================= FORMATIONS ================= */

.formations {
    background: white;
}


.formation-grid {
    display: grid;

    grid-template-columns: 1.4fr .6fr;

    gap: 30px;
}


.featured-formation {
    min-height: 400px;

    padding: 50px;

    position: relative;

    display: grid;

    grid-template-columns: 150px 1fr;

    align-items: center;

    color: white;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #16181d,
            #282a30
        );
}


.featured-formation::after {
    content: "01";

    position: absolute;

    right: -20px;
    bottom: -80px;

    color: rgba(255,255,255,.035);

    font-size: 260px;
    font-weight: 900;
}


.formation-status {
    padding: 9px 13px;

    position: absolute;

    top: 25px;
    left: 25px;

    color: white;

    background: var(--red);

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 2px;
}


.formation-date {
    display: flex;
    flex-direction: column;
}


.formation-date span {
    color: #888;

    font-size: 10px;

    letter-spacing: 3px;
}


.formation-date strong {
    margin-top: 8px;

    color: var(--red-light);

    font-size: 45px;
}


.formation-info {
    position: relative;

    z-index: 2;
}


.formation-type {
    margin-bottom: 13px;

    color: var(--red-light);

    font-size: 10px;

    letter-spacing: 3px;
}


.formation-info h3 {
    margin-bottom: 20px;

    font-size: 38px;
}


.formation-info > p:not(.formation-type) {
    max-width: 500px;

    color: #aaa;

    line-height: 1.7;
}


.formation-details {
    margin-top: 30px;

    display: flex;
    flex-wrap: wrap;

    gap: 20px;

    color: #ccc;

    font-size: 12px;
}


.future-formations {
    padding: 35px;

    border: 1px solid var(--border);
}


.future-title {
    padding-bottom: 20px;

    color: var(--red);

    border-bottom: 1px solid var(--border);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 3px;
}


.future-item {
    padding: 25px 0;

    display: flex;

    gap: 20px;

    border-bottom: 1px solid var(--border);
}


.future-item > span {
    color: var(--red);

    font-size: 11px;
    font-weight: 900;
}


.future-item h4 {
    margin-bottom: 7px;

    font-size: 16px;
}


.future-item p {
    color: #999;

    font-size: 12px;
}



/* ================= SCHEDULE ================= */

.schedule {
    background: var(--light);
}


.schedule-container {
    overflow: hidden;

    background: white;

    border: 1px solid var(--border);
}


.schedule-header,
.schedule-row {
    display: grid;

    grid-template-columns:
        160px
        1fr
        180px
        150px;

    align-items: center;
}


.schedule-header {
    padding: 18px 30px;

    color: #999;

    background: #eeeef0;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 2px;
}


.schedule-row {
    min-height: 105px;

    padding: 20px 30px;

    border-bottom: 1px solid var(--border);

    transition: .3s;
}


.schedule-row:last-child {
    border-bottom: 0;
}


.schedule-row:hover {
    padding-left: 40px;

    background: #fafafa;
}


.schedule-date {
    display: flex;
    flex-direction: column;
}


.schedule-date strong {
    font-size: 20px;
}


.schedule-date small {
    margin-top: 5px;

    color: #aaa;
}


.schedule-name {
    display: flex;
    flex-direction: column;
}


.schedule-name strong {
    font-size: 17px;
}


.schedule-name small {
    margin-top: 7px;

    color: #999;
}


.type {
    padding: 8px 10px;

    display: inline-block;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1px;

    border: 1px solid;
}


.type.event {
    color: var(--red);

    border-color:
        rgba(176,0,69,.35);

    background:
        rgba(176,0,69,.05);
}


.type.formation {
    color: #444;

    border-color: #bbb;
}


.type.workshop {
    color: var(--red-dark);

    border-color:
        rgba(125,0,49,.3);
}


.planned {
    color: #999;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 2px;
}


.planned::before {
    content: "●";

    margin-right: 7px;

    color: var(--red);
}


.schedule-note {
    margin-top: 20px;

    color: #999;

    font-size: 12px;
}



/* ================= CTA ================= */

.cta {
    min-height: 600px;

    padding: 100px 8%;

    position: relative;

    display: flex;

    align-items: center;

    color: white;

    overflow: hidden;

    background:
        linear-gradient(
            120deg,
            #78002f,
            #b00045,
            #d10a59
        );
}


.cta-content {
    max-width: 800px;

    position: relative;

    z-index: 2;
}


.cta-content > p:first-child {
    margin-bottom: 25px;

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 4px;
}


.cta h2 {
    font-size: clamp(55px,7vw,95px);

    line-height: .95;

    letter-spacing: -5px;
}


.cta h2 span {
    color: var(--dark);
}


.cta-description {
    max-width: 580px;

    margin: 30px 0;

    color: rgba(255,255,255,.85);

    font-size: 17px;

    line-height: 1.8;
}


.cta-button {
    padding: 16px 25px;

    display: inline-block;

    color: var(--red);

    background: white;

    font-weight: 800;

    transition: .3s;
}


.cta-button:hover {
    transform: translateY(-4px);

    box-shadow:
        0 15px 40px rgba(0,0,0,.2);
}


.cta-decoration {
    position: absolute;

    right: -20px;
    bottom: -35px;

    color: rgba(255,255,255,.06);

    font-size: 180px;
    font-weight: 900;

    line-height: .7;

    text-align: right;
}



/* ================= FOOTER ================= */

footer {
    padding: 70px 8% 30px;

    color: #b5b5b5;

    background: #17191e;
}


.footer-container {
    padding-bottom: 50px;

    display: grid;

    grid-template-columns:
        1.3fr 1fr 1fr;

    gap: 70px;
}


.footer-brand {
    display: flex;
    align-items: center;

    gap: 18px;
}


.footer-brand img {
    width: 75px;
}


.footer-brand h3 {
    margin-bottom: 6px;

    color: white;

    letter-spacing: 3px;
}


.footer-brand p,
.footer-school > p,
.footer-social > p {
    color: var(--red-light);
}


.footer-school > p,
.footer-social > p {
    margin-bottom: 12px;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 3px;
}


.footer-school h3 {
    margin-bottom: 8px;

    color: white;

    font-size: 27px;
}


.footer-school span {
    font-size: 13px;

    line-height: 1.6;
}


.social-links {
    display: flex;
    flex-direction: column;

    gap: 12px;
}


.social-links a {
    width: fit-content;

    color: white;

    font-weight: 600;

    transition: .3s;
}


.social-links a:hover {
    color: var(--red-light);

    transform: translateX(5px);
}


.footer-bottom {
    padding-top: 25px;

    display: flex;
    justify-content: space-between;

    color: #85868b;

    border-top: 1px solid #34363c;

    font-size: 12px;
}


.footer-bottom span {
    color: var(--red-light);
}



/* ================= REVEAL ANIMATION ================= */

.reveal {
    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity .8s ease,
        transform .8s ease;
}


.reveal.active {
    opacity: 1;

    transform: translateY(0);
}



/* ================= TABLET ================= */

@media (max-width: 1000px) {

    .nav-links,
    .navbar > .join-btn {
        display: none;
    }


    .menu-btn {
        display: block;
    }


    .mobile-menu {
        width: 100%;

        padding: 110px 7% 40px;

        position: fixed;

        top: 0;
        left: 0;

        z-index: 900;

        background: white;

        flex-direction: column;

        gap: 25px;

        box-shadow:
            0 15px 30px rgba(0,0,0,.1);
    }


    .mobile-menu.open {
        display: flex;
    }


    .mobile-menu a {
        font-size: 18px;
        font-weight: 700;
    }


    .mobile-join {
        color: var(--red);
    }


    .hero {
        grid-template-columns: 1fr;

        text-align: center;
    }


    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }


    .hero-actions {
        justify-content: center;
    }


    .tech-card {
        margin: auto;
    }


    .intro-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }


    .field {
        grid-template-columns:
            60px 1fr;
    }


    .field-content {
        grid-column: 1 / -1;

        padding: 45px;
    }


    /* FIXED TABLET IMAGE SIZE */

    .field-image {
        height: 350px;
    }


    .image-placeholder {
        height: 100%;
        min-height: 0;
    }


    .process-grid {
        display: grid;

        grid-template-columns:
            repeat(2,1fr);

        gap: 50px;
    }


    .process-line {
        display: none;
    }


    .process-card {
        width: auto;
    }


    .formation-grid {
        grid-template-columns: 1fr;
    }


    .schedule-header,
    .schedule-row {
        grid-template-columns:
            110px
            1fr
            120px
            100px;
    }


    .footer-container {
        grid-template-columns: 1fr;
    }

}



/* ================= MOBILE ================= */

@media (max-width: 650px) {

    .section {
        padding: 80px 6%;
    }


    .navbar {
        height: 75px;

        padding: 0 5%;
    }


    .logo img {
        width: 45px;
        height: 45px;
    }


    .logo-text span {
        font-size: 13px;
    }


    .hero {
        min-height: auto;

        padding:
            130px 6%
            80px;
    }


    .hero h1 {
        font-size: 60px;

        letter-spacing: -4px;
    }


    .hero-actions {
        flex-direction: column;
    }


    .tech-center {
        min-height: 280px;
    }


    .tech-center img {
        width: 150px;
    }


    .section-heading {
        align-items: flex-start;

        flex-direction: column;

        gap: 20px;
    }


    .field {
        display: block;
    }


    .field-number {
        padding: 18px;

        text-align: left;

        border-right: 0;
        border-bottom: 1px solid var(--border);
    }


    .field-content {
        padding: 35px 25px;
    }


    /* FIXED MOBILE IMAGE SIZE */

    .field-image {
        width: 100%;
        height: 260px;
    }


    .field-image img {
        width: 100%;
        height: 100%;

        object-fit: cover;
        object-position: center;
    }


    .image-placeholder {
        height: 100%;
        min-height: 0;
    }


    .process-grid {
        grid-template-columns: 1fr;
    }


    .featured-formation {
        padding: 80px 30px 40px;

        display: block;
    }


    .formation-date {
        margin-bottom: 30px;
    }


    .formation-info h3 {
        font-size: 30px;
    }


    .schedule-header {
        display: none;
    }


    .schedule-row {
        padding: 25px;

        display: flex;

        align-items: flex-start;
        flex-direction: column;

        gap: 18px;
    }


    .schedule-row:hover {
        padding-left: 25px;
    }


    .cta {
        min-height: 550px;

        padding: 80px 6%;
    }


    .cta h2 {
        font-size: 55px;

        letter-spacing: -3px;
    }


    .cta-decoration {
        font-size: 100px;
    }


    .footer-bottom {
        flex-direction: column;

        gap: 10px;
    }

}