@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Turret+Road:wght@200;300;400;500;700;800&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;1,400&display=swap");

.intro-para{
    text-align: center;
    padding-left: 6%;
    padding-right: 6%;
    background-image: url('../images/bg\ \(3\).jpg');
}
.headings {
    font-size: 33px;
    background: #121FCF;
    background: linear-gradient(to right, #121FCF 0%, #CF1512 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    font-weight: 800;
    letter-spacing: 3px;

}
* {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-padding-top: 2rem;
    scroll-behavior: smooth;
    list-style: none;
    text-decoration: none;
}

:root {
    --main-color: #9C6137;
    --second-color: #CC9966;
    --text-color: #444444;
    --gradient: linear-gradient(#9C6137, #CC9966);
}

html::-webkit-scrollbar {
    width: 0.5rem;
}

html::-webkit-scrollbar-track {
    background: transparent;
}

html::-webkit-scrollbar-thumb {
    background: var(--main-color);
    border-radius: 5rem;
}

section {
    padding: 50px 100px;
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #EEEFF1;
    padding: 15px 100px;
}

.logo img {
    width: 50px;
}

.navbar {
    display: flex;
}

.navbar li {
    position: relative;
}

.navbar a {
    font-size: 1rem;
    padding: 10px 20px;
    color: var(--text-color);
    font-weight: 500;
}

.navbar a::after {
    content: '';
    width: 0;
    height: 3px;
    background: #9C6137;
    bottom: -4px;
    left: 0;
    transition: .5s;
    position: absolute;
}

.navbar a:hover::after {
    width: 100%;
}

header .ri-close-line {
    display: none;
}

#menu-icon {
    font-size: 24px;
    cursor: pointer;
    z-index: 110;
    display: none;
}

.header-btn a {
    padding: 10px 20px;
    color: var(--text-color);
    font-weight: 500;
}

.header-btn .sign-in {
    background: #474FA0;
    color: #FFFFFF;
    border-radius: .5rem;
    transition: .5s;
}

.header-btn .sign-in:hover {
    background: #9C6137;
}

/*menu*/
.dropbtn {
    color: black;
    font-weight: bold;
    padding: 16px;
    font-size: 16px;
    border: none;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #cbcbcc;
    color: black;

}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: #11487e;
    color: rgb(255, 255, 255);

}

@media (max-width: 768px) {
    .logo {

        top: -21px;
        right: 0px;
        font-size: 2.5rem;
    }
}



.text h1 {
    font-size: 3.5rem;
    letter-spacing: 2px;
}

.text span {
    color: var(--main-color);
}

.text p {
    margin: 0.5rem 0 1rem;
    font-size: 1rem;
}

/*second section*/
:root {
    --white-100: hsl(206, 5%, 100%);
    --white-200: hsl(206, 5%, 90%);
    --white-300: hsl(206, 5%, 80%);
    --white-400: hsl(206, 5%, 65%);

    --black-100: hsl(210, 20%, 10%);
    --black-200: hsl(210, 20%, 8%);
    --black-300: hsl(210, 20%, 5%);
    --black-400: hsl(210, 20%, 3%);
}

*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    list-style-type: none;
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

html {
    font-size: 100%;
    box-sizing: inherit;
    scroll-behavior: smooth;
    height: -webkit-fill-available;
}

body {
    font-family: "Rubik", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--black-300);
    background-color: var(--white-100);
}

main {
    overflow: hidden;
}

a,
button {
    cursor: pointer;
    user-select: none;
    border: none;
    outline: none;
    background: none;
}

/* img {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}
 */

.section {
    margin-inline: auto;
    padding-block: 5rem;
}

.container {
    max-width: 75rem;
    height: auto;
    margin-inline: auto;
    padding-inline: 1.25rem;
}


/* parallax of our team */
.parallax-container-about {
    display: flex;
    min-height: 30vh;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    padding-left: 50px;
    padding-top: 14%;
    text-align: left;

    /*  this is where the magic happens:  */
    background-attachment: fixed;
    background-image: url(../images/about_us.png);
    /* background-position: center; */
    background-size: cover;
    /* background-color: #022e5a; */
    color: var(--color);
    row-gap: 4rem;
    text-align: right;
}


/*footer*/
ul {
    margin: 0px;
    padding: 0px;
}

.footer-section {
    background: #ffffff;
    position: relative;
}

.footer-cta {
    border-bottom: 1px solid #373636;
}

.single-cta i {
    color: #000000;
    font-size: 30px;
    float: left;
    margin-top: 8px;
}

.cta-text {
    padding-left: 15px;
    display: inline-block;
}

.cta-text h4 {
    color: #000000;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 2px;
}

.cta-text span {
    color: #000000;
    font-size: 15px;
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-pattern img {
    position: absolute;
    top: 0;
    left: 0;
    height: 330px;
    background-size: cover;
    background-position: 100% 100%;
}

.footer-text p {
    margin-bottom: 14px;
    font-size: 14px;
    color: #000000;
    line-height: 28px;
}

.footer-social-icon span {
    color: #000000;
    display: block;
    font-size: 20px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 20px;
    padding-left: 0px;

}

.footer-social-icon a {
    color: #000000;
    font-size: 16px;
    margin-right: 15px;
}

.footer-social-icon i {
    height: 40px;
    width: 40px;
    text-align: center;
    line-height: 38px;
    border-radius: 50%;
}



.footer-widget-heading h3 {
    color: #000000;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 40px;
    position: relative;
}

.footer-widget-heading h3::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -15px;
    height: 2px;
    width: 50px;
    background: #000000;
}

.footer-widget ul li {
    display: inline-block;
    float: left;
    width: 50%;
    margin-bottom: 12px;
}

.footer-widget ul li a:hover {
    color: #ffffff;
}

.footer-widget ul li a {
    color: #000000;
    text-transform: capitalize;
}

.footer-menu li {
    display: inline-block;
    margin-left: 20px;
}

.footer-menu li:hover a {
    color: #f3ebe8;
}

.footer-menu li a {
    font-size: 14px;
    color: #878787;
}

#example1 {
    padding: 25px;
    background: linear-gradient(to top right, #fdf5c9, #6b3e26);
    background-repeat: no-repeat;
    background-size: auto;

}

/*footer*/


/* Responsive */

@media(max-width: 1375px) {
    .text {
        display: none;
    }
}

@media(max-width: 991px) {
    header {
        padding: 18px 40px;
    }

    section {
        padding: 50px 40px;
    }
}

@media(max-width: 881px) {
    .home {
        background-position: center;
    }

    .form-container .form {
        bottom: 0.2rem;
        left: 40px;
    }

    .text {
        display: initial;
    }
}

@media(max-width: 795px) {
    header {
        padding: 11px 40px;
    }

    #menu-icon {
        display: initial;
    }

    .sign-up {
        display: none;
    }

    .text h1 {
        font-size: 2.5rem;
        width: 320px;
    }

    .text p {
        font-size: .8rem;
        width: 320px;
    }

    .home {
        grid-template-columns: 1fr;
    }

    .form-container form {
        position: unset;
    }

    header .navbar {
        position: absolute;
        top: -500px;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        background: #FFFFFF;
        box-shadow: 0 4px 4px rgba(0, 0, 0, .1);
        transition: .2s ease;
        text-align: left;
    }

    .navbar.active {
        top: 100%;
    }

    .navbar a {
        padding: 1rem;
        border-left: 2px solid var(--main-color);
        margin: 1rem;
        display: block;
        transition: .3s ease;
    }

    .navbar a:hover {
        color: #FFFFFF;
        background: var(--main-color);
        border: none;
    }

    .navbar a::after {
        display: none;
    }

    .heading span {
        font-size: .9rem;
        font-weight: 600;
    }

    .heading h1 {
        font-size: 1.3rem;
    }

    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-img {
        padding: 1rem;
        order: 1;
    }

    .about-text {
        order: 2;
    }
}

@media(max-width: 568px) {
    .home {
        background-position: left;
    }

    .text h1 {
        width: 300px;
    }

    .text p {
        width: 300px;
    }

    .form-container {
        padding-top: 2rem;
    }

    .about-text p {
        font-size: 14px;
    }

    .copyright {
        flex-direction: column;
    }

    .newsletter .box {
        width: 284px;
    }
}

@media(max-width: 460px) {
    header {
        padding: 6px 14px;
    }

    .logo img {
        width: 30px;
    }

    section {
        padding: 50px 6px;
    }

    .header-btn .sign-in {
        padding: 7px 10px;
        font-size: 14px;
        font-weight: 400;
    }

    .text h1 {
        font-size: 2rem;
    }

    .services-container {
        grid-template-columns: repeat(auto-fit, minmax(254px, auto));
    }
}


/*coneent parallax*/
/* parallax of our product */
.parallax-container-ourproducts1 {
    display: flex;
    min-height: 50vh;
    flex-direction: column;
    align-items: center;
    padding-top: 100px;


    /*  this is where the magic happens:  */
    background-attachment: fixed;
    background-image: url('../images/bg\ \(3\).jpg');
    background-position: center;
    background-size: cover;
    color: var(--color);
    text-align: right;
}


/*paragraph*/
.span {
    text-transform: uppercase;
    display: block;
    font-size: 1.2rem;
    color: #2a2a2a;
    text-align: center;
    letter-spacing: 0.035rem;
    padding-top: 0%;
}

.h {
    font-size: 45px;
    margin-top: -0.625rem;
    color: var(--main-color);
    font-weight: 800;
    text-align: center;
    letter-spacing: 0.035rem;
    padding-top: 0%;

}

.paragraph-product {
    line-height: 1.6;
    color: #2a2a2a;
    max-width: 50rem;
    margin: 0 auto;
    text-align: center;
    padding-top: 2%;
    padding-bottom: 5%;
    padding-left: 2%;
    padding-right: 2%;
    font-size: 17px;
}




/*cards section start*/
.creative-cards {
    padding: 120px 0;
    position: relative;
}

.creative-cards .container {
    max-width: 1320px;
    width: 100%;
    padding-right: .75rem;
    padding-left: .75rem;
    margin-right: auto;
    margin-left: auto;
}

.creative-cards .container .row {
    display: flex;
    flex-wrap: wrap;
}

.creative-cards .container .row .card-column {
    flex: 0 0 auto;
    width: 33.33333333%;
    text-align: center;
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.card-details {
    width: 80%;
    margin: auto;
    position: relative;
    transition: .3s ease-in-out;
}

.card-details:before {
    content: "";
    width: 190px;
    height: 380px;
    background: #f7f6f2;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) skew(-20deg, 0deg);
    z-index: -1;
    transition: .3s ease-in-out;
}

.card-details:hover:before {
    background-color: #cbd3f5;
}

.card-icons {
    width: 140px;
    height: 150px;
    position: relative;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icons:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    border: 1px solid;
    width: 100%;
    height: 100%;
    transform: skew(-20deg, 0deg);
    background: #fff;
    border-color: #346aa0;
    transition: .3s ease-in-out;
}

.card-details:hover .card-icons:before {
    background-color: #346aa0;
}

.card-icons img {
    position: relative;
    width: 120px;
    height: 120px;
}

.card-details h3 {
    margin-bottom: 15px;
    margin-top: 50px;
    font-weight: 700;
    font-size: 1.75rem;
    line-height: 1.2;
}

.card-details h3 a {
    color: black;
    text-decoration: none;
}

.card-details p {
    font-size: 16px;
    line-height: 30px;
    color: #444;
    font-weight: 400;
    margin-bottom: 10px;
}

.read-more-btn {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid;
    border-radius: 100%;
    margin: auto;
    background: #fff;
    transform: translateX(-10px);
    opacity: 0;
    visibility: hidden;
    border-color: 346aa0;
    transition: .3s ease-in-out;
    text-decoration: none;
}

.read-more-btn i {
    color: #000;
    font-size: 12px;
}

.card-details:hover .read-more-btn {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

/* ============= Responsive Ipad ==================== */
@media (max-width: 992px) {
    .creative-cards .container .row .card-column {
        flex: 0 0 auto;
        width: 50%;
        margin-bottom: 40px;
    }
}

/* ============= Responsive Iphone ==================== */
@media (max-width: 480px) {
    .creative-cards .container .row .card-column {
        flex: 0 0 auto;
        width: 100%;
        margin-bottom: 20px;
    }

    .card-details {
        width: 100%;
    }

    .read-more-btn {
        transform: translateX(0px);
        opacity: 1;
        visibility: visible;
    }
}

@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700');
@import url('https://fonts.googleapis.com/css2?family=Epilogue:ital,wght@0,100..900;1,100..900&display=swap');

/*cards section ends*/


.faculty-app-1 {
    display: block;
}

.faculty-app-mobile {
    display: none;
}

.h2-student {
    font-size: 40px;
    margin-top: -0.625rem;
    color: #022e5a;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.035rem;
    padding-bottom: 2%;
    padding-top: 10%;
}

.h1-student {
    font-size: 20px;
}


/*student app section*/
.image-with-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: auto;
}

.image-side {
    display: flex;
    width: auto;
    height: 600px;
    padding-top: 2%;
}

.image-side:hover {
    -ms-transform: scale(1.5);
    /* IE 9 */
    -webkit-transform: scale(1.5);
    /* Safari 3-8 */
    transform: scale(1.1);
}

.text-side {
    display: flex;
    width: calc(50% - 2em);

}

.text-side-inline {
    display: inline-block;
}

.text-side-title {
    color: #7289d9;
    font-weight: bold;
    font-size: 20px;/
}

.text-side-desc {
    color: #58595b;
    font-size: 16px;
}

.text-side-button {
    transition: 0.3s all;
    background: #7289d9;
    padding: 15px 30px;
    color: #fff;
    width: max-content;
    max-width: 100%;
}

.text-side-button:hover {
    transition: 0.3s all;
    transform: translate(10px);
    opacity: 0.8;
    /* Léger flash pour montrer que l'élément est sélectionné */
}


@media (max-width: 768px) {
    .image-with-text {
        justify-content: center;
        width: auto;
        flex-direction: column;
        padding: 30px;
    }

    .image-side {
        width: auto;
    }

    .image-side img {
        max-width: 100%;
    }

    .text-side {
        width: auto;
    }
}



/*hover*/

/*collapsibles*/
.collapsible {
    background-color: #022e5a;
    color: white;
    cursor: pointer;
    padding: 10px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
}

.active,
.collapsible:hover {
    background-color: #346aa0;
    width: 100%;
}

.content {
    padding: 0 18px;
    display: none;
    overflow: hidden;
    background-color: #f1f1f1;
}

hr {
    border: none;
    height: 20px;
    width: 90%;
    height: 50px;
    margin-top: 0;
    border-bottom: 1px solid #1f1209;
    box-shadow: 0 20px 20px -20px #333;
    margin: -50px auto 10px;
}






.grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    background: white;
    border-radius: 24px;
    border: 1px solid #e4e4e7;
    view-transition-name: grid;
}

.grid-item {
    display: flex;
    gap: 8px;
    padding: 12px;
    background: white;
    border-radius: 16px;
    border: 1px solid #e4e4e7;
    cursor: pointer;
    transition: transform 0.2s;

    .item {
        display: flex;
        gap: 8px;

        .chevron {
            display: none;
        }
    }

    .item-content {
        display: none;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        overflow: clip;

        .item-title {
            font-weight: bold;
        }
    }
}


.grid-item.expanded {
    flex-direction: column;

    &>.chevron {
        display: none;
    }

    .content {
        order: 0;
        flex-direction: row;
        justify-content: space-between;

        .close-icon {
            display: flex;
        }
    }

    .icon-grid {
        order: 1;
    }

    .item-content {
        display: flex;
        flex-grow: 1;
    }

    .item {
        width: 100%;

        .chevron {
            display: block;
        }
    }

    .icon {
        background: #000000;
        width: 50px;
        height: 50px;
        color: #ffffff;

        svg {
            width: 24px;
            height: 24px;
        }
    }

    .count {
        display: none;
    }
}

.icon-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 90px;

    .item {
        width: fit-content;
        height: fit-content;
    }
}

.expanded .icon-grid {
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.close-icon {
    width: 24px;
    height: 24px;
    background: #f4f4f5;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    display: none;

    svg {
        width: 16px;
        height: 16px;
    }
}

.icon {
    width: 32px;
    height: 32px;
    background: #f4f4f5;
    border-radius: 50%;
    display: grid;
    place-items: center;

    svg {
        width: 16px;
        height: 16px;
    }
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    flex: 1;
}

.title {
    font-size: 16px;
    font-weight: 500;
    color: #27272a;
    width: fit-content;
    height: fit-content;
}

.count {
    font-size: 14px;
    color: #71717a;
}

.chevron {
    align-self: center;
    color: #71717a;
}

.expanded .chevron {
    display: none;
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fade-out {
    0% {
        opacity: 1;
    }

    10% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes slide-down {
    from {
        opacity: 0;
        margin-top: -30px;
    }

    to {
        opacity: 1;
        margin-top: 0;
    }
}

::view-transition-group(*) {
    pointer-events: none !important;
    animation-duration: 0.6s;
    animation-timing-function: linear(0, 0.186 3.5%, 0.352 7.1%, 0.496 10.8%, 0.623 14.7%, 0.679 16.7%, 0.732 18.8%, 0.78 20.9%, 0.821 23%, 0.86 25.2%, 0.895 27.5%, 0.925 29.8%, 0.951 32.2%, 0.97 34.2%, 0.986 36.3%, 1 38.5%, 1.012 40.7%, 1.021 43%, 1.028 45.4%, 1.033 48%, 1.036 50.7%, 1.037 54.8%, 1.034 59.6%, 1.012 76.6%, 1.004 84.2%, 1.001 91.3%, 1);
}

::view-transition-old(*),
::view-transition-new(*) {
    height: 100%;
}

html:active-view-transition-type(expand) {
    .grid-item:nth-child(2).active {
        .item-title {
            view-transition-class: item-title-expand;
        }

        .item-price {
            view-transition-class: item-price-expand;
        }
    }

    .grid-item:nth-child(3).active {
        .item-title {
            view-transition-class: item-title-expand-slide-down;
        }

        .item-price {
            view-transition-class: item-price-expand-slide-down;
        }
    }

    &::view-transition-group(item-title-6),
    &::view-transition-group(item-price-6) {
        animation-duration: 1s !important;
    }

    &::view-transition-group(item-title-7),
    &::view-transition-group(item-price-7) {
        animation-duration: 1.2s !important;
    }

    &::view-transition-group(item-title-9),
    &::view-transition-group(item-price-9) {
        animation-duration: 1s !important;
    }

    &::view-transition-group(item-title-10),
    &::view-transition-group(item-price-10) {
        animation-duration: 1.2s !important;
    }

    &::view-transition-group(item-title-11),
    &::view-transition-group(item-price-11) {
        animation-duration: 1.4s !important;
    }
}

html:active-view-transition-type(collapse) {
    .grid-item.active {
        .item-title {
            view-transition-class: item-title-collapse;
        }

        .item-price {
            view-transition-class: item-price-collapse;
        }
    }
}

::view-transition-group(.item-title-collapse),
::view-transition-group(.item-price-collapse) {
    animation-name: fade-out;
}

::view-transition-group(.item-title-expand),
::view-transition-group(.item-price-expand) {
    animation-name: fade-in;
    animation-delay: 0.2s;
    animation-duration: 0.6s;
}

::view-transition-group(.item-title-expand-slide-down),
::view-transition-group(.item-price-expand-slide-down) {
    animation-name: slide-down;
    animation-delay: 0.2s;
    animation-duration: 0.6s;
}





