html {
    font-size: 10px;
}

/*======================================================================
   Base Configuration
======================================================================*/
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #ffffff;
    color: #777777;
    -webkit-font-smoothing: antialiased;
}

/*======================================================================
   Hero Section
======================================================================*/
.hero-technologie {
    background-image: url('/assets/images/technologie-hero.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    min-height: 550px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-technologie .hero-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 6%;
}

.hero-technologie .hero-title {
    color: #ffffff;
    font-size: clamp(5.80rem, 5.5vw, 7.68rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-weight: 900;
}

/*======================================================================
   Section 1
======================================================================*/
.info-section {
    padding: 10rem 6%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
}

.info-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: left;
}

.info-title {
    text-align: left;
    font-size: clamp(3.4rem, 4.5vw, 3.9rem);
    font-weight: 400;
    color: #4b4b4b;
    line-height: 1.4;
    margin-bottom: 8rem;
    width: 80%;
}

.info-title strong {
    font-weight: 700;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.0rem;
    align-items: center;
    width: 100%;
}

.feature-card {
    border-radius: 35px;
    padding: 4rem 1.5rem;
    text-align: center;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.feature-card p {
    color: #ffffff;
    font-size: clamp(2.0rem, 1.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.35;
}

.card-1 {
    background-color: #1b2228;
}

.card-2 {
    background-color: #d48758;
}

.card-3 {
    background-color: #d2b5a4;
}

.card-4 {
    background-color: #d0b8d6;
}

.card-5 {
    background-color: #c9c080;
}

.card-6 {
    background-color: #8fb6b7;
}

.card-7 {
    background-color: #b0a99c;
}

.card-8 {
    background-color: #4b4b4b;
}

/*======================================================================
   Section 2
======================================================================*/
.independence-section {
    background-color: #abacbc;
    padding: 12rem 6%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.independence-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.independence-overline {
    color: #ffffff;
    font-size: clamp(2.8rem, 3.5vw, 3.2rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    opacity: 0.9;
}

.independence-title {
    color: #ffffff;
    font-size: clamp(5.5rem, 7.5vw, 8.4rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.independence-description {
    color: #ffffff;
    font-size: clamp(2.8rem, 3.5vw, 3.2rem);
    font-weight: 400;
    line-height: 1.4;
    opacity: 0.90;
    max-width: 850px;
    margin: 0 auto;
}

/*======================================================================
   Section 3
======================================================================*/
.composition-section {
    padding: 10rem 6%;
    background-color: #ffffff;
}

.composition-container {
    max-width: 1100px;
    margin: 0 auto;
}

.text-block {
    margin-bottom: 10rem;
}

.subtitle-dark {
    color: #4b4b4b;
    font-size: 2.4rem;
    font-weight: 700;
    margin-top: 4rem;
    margin-bottom: 1.5rem;
}

.composition-container p {
    font-size: 1.8rem;
    line-height: 1.6;
    color: #4b4b4b;
    margin-bottom: 2rem;
}

.composition-p {
    margin-bottom: 10rem !important;
}

.competition-header {
    margin-bottom: 4rem;
}

.competition-intro p {
    color: #6e3f3f;
}

.comp-main-title {
    color: #9c5151;
    font-size: clamp(3.0rem, 5vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    width: 65%;
}

.competition-intro {
    margin-bottom: 6rem;
}

.comp-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

.comp-card {
    border-radius: 35px;
    padding: 5rem 6%;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.16);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
}

.card-pink {
    background-color: #edc1c1;
}

.card-peach {
    background-color: #edc1c1;
}

.comp-card h4 {
    color: #ffffff;
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.comp-card p {
    color: #ffffff;
    font-size: 1.8rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.comp-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

/*======================================================================
   Section 4
======================================================================*/
.hero-modules {
    background-image: url('/assets/images/technologie-banner.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-modules .modules-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 6%;
    text-align: center;
}

.hero-modules .modules-title {
    color: #ffffff;
    font-size: clamp(5.5rem, 6.5vw, 7.5rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

/*======================================================================
   Sextion 5
======================================================================*/
.modules-features-section {
    padding: 12rem 6%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
}

.modules-features-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.modules-features-header {
    margin-bottom: 7rem;
}

.modules-features-title {
    color: #717499;
    font-size: clamp(3.6rem, 5vw, 5.2rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 4rem;
}

.modules-features-title strong {
    font-weight: 700;
}

.modules-features-intro {
    color: #1e3a8a;
    font-size: 1.9rem;
    line-height: 1.6;
    max-width: 480px;
    opacity: 0.9;
}

.modules-features-list {
    display: flex;
    flex-direction: column;
    max-width: 680px;
    gap: 4.5rem;
}

.module-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.module-feature-icon {
    width: 10rem;
    height: 10rem;
    flex-shrink: 0;
}

.module-feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.module-feature-text {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.module-feature-text h3 {
    color: #717499;
    font-size: 2.2rem;
    font-weight: 700;
}

.module-feature-text p {
    color: #1e3a8a;
    font-size: 2.0rem;
    line-height: 1.5;
    opacity: 0.85;
}

/*======================================================================
   Section 6
======================================================================*/
.cra-online-section {
    padding: 0 6%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
}

.cra-online-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    color: #717499;
}

.cra-header {
    margin-bottom: 6rem;
}

.cra-title {
    color: #717499;
    font-size: clamp(3.6rem, 5vw, 5.2rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 3rem;
}

.cra-title strong {
    font-weight: 700;
}

.cra-intro {
    font-size: 1.8rem;
    line-height: 1.6;
    max-width: 750px;
    opacity: 0.9;    
    color: #1e3a8a;
}

.cra-image-wrapper {
    margin-bottom: 10rem;
    width: 100%;
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.cra-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.cra-access-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 12rem;
    gap: 3.5rem;
    width: 100%;
}

.cra-credentials {
    align-self: start;
    text-align: left;
    min-width: 290px;
    font-size: 2rem;
    line-height: 1.5;
    color: #1e3a8a;
}

.cra-button-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.btn-primary {
    display: inline-block;
    background-color: #1a3673;
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 600;
    text-decoration: none;
    padding: 1.6rem 4.5rem;
    border-radius: 35px;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #122550;
    transform: translateY(-3px);
}

.cra-info-block {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 10rem;
}

.cra-info-title {
    font-size: 2rem;
    font-weight: 700;
    color: #717499;
    margin-bottom: 1rem;
}

.cra-info-block p {
    font-size: 1.8rem;
    line-height: 1.6;
    color: #1e3a8a;
    opacity: 0.9;
}

/*======================================================================
   Modern Fade-In Styles
======================================================================*/

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.0s cubic-bezier(0.215, 0.610, 0.355, 1.000),
        transform 1.0s cubic-bezier(0.215, 0.610, 0.355, 1.000);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1.0s ease, transform 0.3s ease;
}

.reveal.active.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transition-delay: 0s !important;
}

.reveal.active.comp-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transition-delay: 0s !important;
}

/*======================================================================
   Responsive
======================================================================*/

@media (max-width: 992px) {
    .hero-technologie {
        height: 75vh;
    }

    .hero-technologie .hero-title {
        font-size: clamp(5.48rem, 4.5vw, 5.68rem);
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    .info-title {
        margin-bottom: 6rem;
        width: 100%;
    }

    .independence-section {
        padding: 8rem 6%;
    }

    .independence-container {
        gap: 2rem;
    }

    .composition-section {
        padding: 6rem 6%;
    }

    .comp-card {
        padding: 4rem 8%;
    }

    .hero-modules {
        height: 75vh;
    }

    .modules-features-section {
        padding: 8rem 6%;
    }

    .modules-features-header {
        margin-bottom: 5rem;
    }

    .module-feature-item {
        gap: 2rem;
    }

    .cra-online-section {
        padding: 8rem 6%;
    }

    .cra-image-wrapper {
        margin-bottom: 7rem;
    }

    .cra-access-block {
        margin-bottom: 8rem;
    }

    .cra-credentials {
        font-size: 1.8rem;
    }

    .comp-main-title {
    width: 100%;
}
}

@media (max-width: 480px) {
    .hero-technologie {
        height: 100vh;
        align-items: center;
        justify-content: center;
    }

    .hero-technologie .hero-container {
        padding: 15% 6% 10% 6%;
        display: flex;
        justify-content: center;
    }

    .hero-technologie .hero-title {
        font-size: clamp(4.48rem, 5.5vw, 7.68rem);
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .independence-overline {
    font-size: clamp(2.0rem, 3.8vw, 3.2rem);
    }

    .independence-title {
        font-size: clamp(4.0rem, 7.5vw, 8.4rem);
    }

    .independence-description {
        font-size: clamp(2.0rem, 3.8vw, 3.2rem);
    }

    .module-feature-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .modules-features-list {
        gap: 5rem;
    }

    .info-section {
        padding: 8rem 6%;
    }

    .feature-card {
        padding: 3.5rem 2rem;
    }

    .info-title {
        font-size: 2.2rem;
        margin-bottom: 4rem;
    }

    .hero-modules {
        height: 100vh;
    }

    .hero-modules .modules-title {
        font-size: clamp(4.8rem, 6.5vw, 7.5rem);
    }
}

@media (max-width: 380px) {
    .hero-technologie .hero-container {
        padding: 15% 4% 8% 4%;
        display: flex;
        justify-content: center;
    }


    .hero-technologie .hero-title {
        font-size: 3.68rem;
        line-height: 1.2;
    }

    .independence-overline {
    font-size: clamp(1.9rem, 3.8vw, 3.2rem);
    }

    .independence-title {
        font-size: clamp(3.8rem, 7.5vw, 8.4rem);
    }

    .independence-description {
        font-size: clamp(1.9rem, 3.8vw, 3.2rem);
    }

    .cra-title, .modules-features-title {
        font-size: clamp(3.5rem, 5vw, 5.2rem);
    }
    
}