/* Custom-Font */

@font-face {
    font-family: 'Proxima Nova';
    src: url('../fonts/ProximaNova-Bold.woff2') format('woff2'),
        url('../fonts/ProximaNova-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Proxima Nova';
    src: url('../fonts/ProximaNova-Semibold.woff2') format('woff2'),
        url('../fonts/ProximaNova-Semibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Custom-Font */
:root {
    --text-primary-color: #000;
    --text-secondary-color: #8d9396;
    --text-third-color: #282828;
    --primary-color: #282828;
    --secondary-color: #588af0;
    --third-color: #ece8fd;
    --accent-color: #a377f0;
    --light-grey: rgba(249, 250, 252, .8);
    --light-blue: #f9fbff; 
    --footer-color: #0D0530;
    --border-color: #cacdce;
    --input-bg-color: #f3f3f3;
    --wht: #ffffff;
    --placeholder-color: #6b6b84;
    --green: #a6cf4a;
    --light-blue: #75deff;
    --card-bg: rgba(1, 102, 255, .80);
    --input-height: 55px;
    --title-font: 'Proxima Nova';
    --main-font: 'Hind', sans-serif;
} 

/* Reset */
.accent {
    color: var(--accent-color);  
}

.top-wrapper {
    background-color: var(--text-primary-color);
    padding: 30px;
    width: 60px;
    height: 60px;
    position: fixed;
    bottom: 22%;
    right: 15px;
    transition: background-color 0.3s ease;
    display: none;
}

.top-wrapper:hover {
    background-color: var(--accent-color);
}

.ar {
    height: 33px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

* :is(h1, h2, h3, h4, h5, h6) {
    margin-top: 0px;
    color: var(--text-primary-color);
}

.hero-title h1 {
    font-size: 4.7rem;
    font-weight: bold;
    margin-bottom: 0.6em;
    font-family: var(--title-font);
    text-align: left;
    line-height: 1.2em;
}

.ctr h1 {
    text-align: center !important;
}

.hero-txt h2 {
    font-size: 2.86rem;
    line-height: 1.4em;
    background-color: var(--accent-color);
    display: table;
    color: #fff;
    padding: 10px 19px 30px 19px;
}

.nbg {
    background-color: var(--text-primary-color) !important;
    font-size: 5rem !important;
    line-height: 1.4em !important;
}

.icon-txt i {
    font-size:75px;
    margin-bottom:10px;
}

.icons-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    row-gap:20px;
}

.icon-txt {
    flex-basis: 25%;
}

.scr {
    position: relative;
}

.scr:after {
    content: url(../img/scr.svg);
    position: absolute;
    width: 90%;
    max-height: 1.8rem;
    max-width: 24rem;
    bottom: 18px;
    left: 0.5em;
}

/* OWL BTN */
.owl-nav {
    display: flex;
    gap: 10px;
}

.owl-nav i {
    font-size: 15px;
    background-color: var(--text-primary-color);
    color: #fff;
    padding: 15px;
}

.hero-txt i {
    color: #fff;
    margin-right: 10px;
}

.blc-ctn p {
    font-size: 1.8rem;
    text-align: justify;
    color: var(--text-secondary-color);
}

.blc-ctn ul {
    text-align: justify;
    color: var(--text-secondary-color);
}

.blc-ctn-2 p {
    font-size: 1.8rem;
    text-align: justify;
}

.formation-cat {
    padding: 20px 15px;
}

.fic-holder img {
    height: 120px;
    margin-bottom: 20px;
}

/* Card-Hover */
.formation-cat {
    position: relative;
}

.formation-cat::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--card-bg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.formation-cat:hover::before {
    opacity: 1;
}

.en-savoir-plus {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px 20px;
    background-color: #fff;
    color: #000;
    text-decoration: none !important;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-transform: uppercase;
}

.en-savoir-plus:hover,
.en-savoir-plus:focus {
    text-decoration: none;
}

.formation-cat:hover .en-savoir-plus {
    opacity: 1;
}

/* Card-Hover */
.formation-cat p {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 0px;
}

.desc p {
    text-align: center;
}

.hero-txt-wd {
    flex-basis: 42%;
}

/* Block3 */
.mt-10 {
    margin-top: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-50 {
    margin-bottom: 50px;
}

.mb-15 {
    margin-bottom: 15px;
}

.pd-50 {
    padding: 50px 0px;
}

.pd-80 {
    padding: 80px 0px;
}

.pd-80-x {
    padding: 80px 50px;
}

.pd-50-x {
    padding: 50px 50px;
}

.pd-80-b {
    padding-bottom: 80px;
}

.pd-80-n-t {
    padding: 0px 50px 80px 50px;
}

.w-100 {
    width: 100%;
}

/* Reset */
body,
html {
    overflow-x: hidden !important;
    max-width: 100% !important;
}

body {
    margin: 0px;
    padding: 50px 0px 0px 0px;
    font-family: var(--main-font);
    background-color: #ffffff;
    font-weight: 400;
}

.elt {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

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

.s-b {
    justify-content: space-between;
}

.fluid-custom {
    margin: 0px 100px;
}

nav {
    margin: 22px 0px;
}

.logo,
.footer-logo img {
    height: 37px;
}

.tl {
    text-align: left;
}

.tr {
    text-align: right;
}

.hero-m {
    border: 1px solid #cacdce;
}

.hero-m p {
    font-size: 2.5rem;
    text-align: left;
    color: var(--text-third-color);
    line-height: 2em;
    margin-bottom: 50px;
}

.hero-m ul {
    font-size: 2.5rem;
    text-align: left;
    color: var(--text-third-color);
    line-height: 2em;
    display: block;
}

.hero-m i {
    color: var(--accent-color);
}

.baseline {
    color: var(--text-primary-color);
    margin-bottom: 0px;
    font-size: 1.7rem;
}

.bg-hero,
.bg-hero-2,
.bg-hero-3 {
    background-repeat: no-repeat;
    position: relative;
    min-height: 800px;
    display: flex;
    align-items: center
}

.bg-hero {
    background: url(../img/bghero.webp);
    background-position: -60px center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 730px;
}

.bg-hero-2 {
    background: url(../img/c1.webp);
    background-position: center center;
    background-size: cover;
}

.bg-hero-3 {
    background: url(../img/douche-3.webp);
    background-position: center center;
    background-size: cover;
}

.bottom-m {
    background: linear-gradient(to bottom, rgba(61, 55, 50, 0.85), rgba(50, 46, 43, 1)), url(../img/footer-bg.webp);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.senior {
    background: url(../img/senior.webp);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 500px;
}

.devider {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.bottom-m h1,
.bottom-m p {
    color: var(--wht);
}

.bottom-m .hero-title h1 {
    text-align: center !important;
}

.desc-m p {
    text-align: center;
    line-height: 1.7em;
}

.features p {
    line-height: 1.7em;
    font-size: 2rem;
    margin-bottom: 20px;
}

.light-grey {
    background-color: var(--light-grey);
    position: relative;
}

.lgbg {
    position: relative;
}

.light-blue {
    background-color: var(--light-blue); /* Only one declaration now */
}

.check-block {
    background-color: #f3f8ff;
    padding: 20px 30px;
}

.grn-ic {
    color: #00d9a6;
}

.square-box {
    border: 1px solid #cacdce;
    padding: 30px 20px 10px 20px;
}

.square-box h3 {
    font-weight: bold;
    color:var(--accent-color);
    margin-bottom: 15px;
}
.square-box p {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 0px;
}

.box-ctn {
    background-color: var(--text-primary-color);
}

.tt1 {
    font-size: 2.3rem;
    line-height: 1.3em;
}

.stt1 {
    font-size: 2rem;
    color: var(--third-color);
    
}

footer {
    background: none;
    padding: 30px 0px;
    font-size: 18px;
}

footer a {
    text-decoration: none;
    color: var(--text-primary-color);
}

footer a:hover,
footer a:focus {
    text-decoration: none;
    color: var(--accent-color);
    
}

::selection {
    background: var(--accent-color);
    color: #ffffff;
}

::-moz-selection {
    background: var(--accent-color);
    color: #ffffff;
}
