:root {
    --orange-color: #da722c;
    --dark-blue-color: #023047;
    --dark-color: #070917;
    --light-color: #e8f7fb;
    --light-blue-color: #6f7dfb;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font: "Poppins", sans-serif;
}

.wrapper {
    max-width: 1134px;
    margin: 0 auto;
}

/* BUTTONS  */
.btn {
    padding: 16px 32px;
    border-radius: 24px;
    color: #fff;
    display: inline-block;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    position: relative;
}

.btn.dark {
    background: var(--dark-blue-color);
}

.btn.light {
    background: var(--orange-color);
}

.btn.enroll-icon::before {
    content: url("images/enroll-icon.png");
    position: absolute;
    top: 50%;
    left: 32px;
    transform: translateY(-50%);
}

.btn.enroll-icon {
    padding-left: 60PX;
}

/*  HEADER  */
header {
    background: linear-gradient(180deg, #6F7DFB 0%, #26308C 100%);
    height: 100vh;
    width: 100%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 1134px;
    top: 0;
    padding: 36px 0;
    z-index: 100;
    transition: all 500ms ease;
}

nav.scrolled {
    background: var(--dark-color);
    box-shadow: 0 16px 14px -8px rgba(0, 0, 0, 0.3);
    border-radius: 0 0 8px 8px;
    top: 0;
    padding: 12px;

}

nav .logo {
    color: #FFF;
    font-family: Raleway, sans-serif;
    font-size: 40px;
    font-weight: 900;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 60px;
    list-style: none;
    margin: 0;
}

nav ul li a {
    text-decoration: none;
    color: #FFF;
    font-size: 16px;
    font-weight: 700;

}

/* hero section */

.hero-section {
    display: flex;
    height: 100vh;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding-top: 60px;
}

.hero-section .left h3 {
    font-weight: 900;
    font-size: 50px;
    line-height: 125%;
    color: #ffffff;
    margin-bottom: 0;
}

.hero-section .left p {
    font-weight: normal;
    font-size: 16px;
    line-height: 200%;
    margin-bottom: 30px;
    color: #FFF;
    width: 457px;

}

.hero-section .left {
    flex: 1;
}


.hero-section .right {
    align-self: flex-end;
    vertical-align: middle;
}

.hero-section .right img {
    height: 520px;
}

.achievment-card {
    position: absolute;
    min-width: 200px;

}

.achievment-card .content {
    border-radius: 24px;
    background: #fff;
    padding: 8px 32px;
    z-index: 10;
    position: relative;
}

.achievment-card.student-enrolled {
    left: 49%;
    top: 270px;
}

.achievment-card.overall-rating {
    left: 47%;
    top: 470px;
}

.achievment-card .content div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.achievment-card h3 {
    color: var(--dark-blue-color);
    font-size: 36px;
    font-weight: 700;
    margin: 0;
    text-align: center;
    width: 100%;
}

.achievment-card p {
    color: var(--dark-blue-color);
    font-size: 16px;
    font-weight: normal;
    margin-top: -6px;
    margin-bottom: 8px;
}

.achievment-card .bg {
    position: absolute;
    height: 100%;
    width: 100%;
    border-radius: 24px;
    background: linear-gradient(180deg, #6F7DFB 0%, #3B448F 100%);
    top: 8px;
    left: 8px;
    z-index: 1;
}

/* TESTINOMIALS SECTION */

section {
    margin-top: 100px;
}

h2 {
    font-family: "Raleway", sans-serif;
    font-weight: 900;
    font-size: 60px;
    line-height: 120%;
    margin: 0;
    color: var(--dark-blue-color);
}

h2.light {
    color: white;
}

section p {
    font-family: "Raleway", sans-serif;
    font-weight: normal;
    font-size: 16px;
    line-height: 200%;
    color: var(--dark-blue-color);
    margin: 12px 0;
}

.testinomials-section {
    display: flex;
    gap: 100px;
    align-items: center;
}

.mobile-btn {
    display: none;
}

.testinomials-section .testinomial-card {

    width: 442px;
    border-radius: 24px;
    background: #FFF;
    box-shadow: 0px 9px 36px 0px rgba(0, 0, 0, 0.20);
    margin-bottom: 50px;
    position: relative;
}

.testinomials-section .testinomial-card::before {
    content: "";
    width: 28px;
    position: absolute;
    height: 40px;
    top: -40px;
    left: 60px;
    background: var(--dark-blue-color);
    border-radius: 24px 24px 0 0;
}

.testinomials-section .testinomial-card:last-child::before {
    left: 40px;
    top: -50px;
    border-radius: 0 0 24px 24px;
    height: calc(100% + 90px);
    z-index: -1;
}

.testinomials-section .testinomial-card .content {
    font-family: "Raleway", sans-serif;
    font-weight: 900;
    font-size: 18px;
    line-height: 150%;
    color: #ffffff;
    border-radius: 24px;
    padding: 24px 32px;
    background: var(--light-blue-color);
}

.testinomials-section .testinomial-card:last-child .content {
    background: var(--orange-color);

}

.testinomials-section .testinomial-card .info h4 {
    color: var(--dark-blue-color);
    font-family: "Raleway", sans-serif;
    font-size: 24px;
    font-weight: 900;
    line-height: 120%;
    margin: 0;
}

.testinomials-section .testinomial-card .info {
    background-color: #ffffff;
    padding: 24px 32px;
    border-radius: 24px;
}

.testinomials-section .testinomial-card .info p.company {
    color: var(--dark-blue-color);
    font-family: "Raleway", sans-serif;
    font-size: 18px;
    font-weight: normal;
    line-height: 120%;
}

.testinomials-section .testinomial-card img {
    width: 120px;
    height: 120px;
    position: absolute;
    right: 32px;
    bottom: 20px;
}

.testinomials-section .testinomial-card:last-child {
    transform: translateX(20px);
}

.testinomials-section .featuers {
    margin-bottom: 30px;
}

/* COURSES SECTION */

.courses-section {
    background: linear-gradient(180deg, #6F7DFB 0%, #26308C 100%);
    padding: 70px 0;
    padding-bottom: 120px;
}

.courses-section h2 {
    text-align: center;
}

.courses-section .course-cards {
    display: flex;
    gap: 73px;
}

.courses-section .course-cards img {
    width: 100%;
    filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.25));
    border-radius: 24px;
}

.courses-section .course-card {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 0px 32px;
    margin: 40px 0;
    position: relative;
}

.courses-section .course-card::after {
    content: "";
    position: absolute;
    height: 8px;
    left: 32px;
    right: 32px;
    bottom: 0;
    background: var(--dark-blue-color);
    border-radius: 24px;
}

.courses-section .course-card h3 {
    color: var(--dark-blue-color);
    font-family: "Raleway", sans-serif;
    font-size: 30px;
    font-weight: 900;
    line-height: 150%;
}

.courses-section .course-card .info {
    display: flex;
    gap: 16px;
    justify-content: space-between;
    align-items: center;
}

.courses-section .course-card .duration {
    font-family: "Raleway", sans-serif;
    font-weight: 900;
    font-size: 16px;
    line-height: 150%;
    white-space: nowrap;
    color: var(--dark-blue-color);
    position: relative;
    padding-left: 20px;
}

.courses-section .course-card .duration::before {
    content: url(images/Clock.png);
    position: absolute;
    top: 2px;
    left: -6px;
}

.courses-section .wrapper {
    position: relative;

}

.courses-section .wrapper .btn {
    position: absolute;
    right: 0;
}

.app-section {
    text-align: center;
}

.app-section .app-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 24px;
}

.app-section .app-btn {
    padding: 16px 31px;
    background: #000000;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 310px;
}

.app-section .app-btn span {
    color: #FFF;
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    font-weight: normal;
}

/* footer */
footer {
    background: var(--dark-color);
    color: #FFF;
    margin-top: 120px;
    padding: 70px 0;
}

footer a {
    text-decoration: none;
    color: #fff;
}

footer h3 {
    color: var(--orange-color);
}

footer ul {
    list-style: none;
    padding-left: 20px;
}

footer ul li {
    margin: 16px o;
}

footer .links-container {
    display: grid;
    grid-template-columns: 2fr 2fr 3fr;
}

footer .social {
    margin-left: 20px;
}

footer .social a {
    margin-right: 28px;
}

footer form {
    margin-left: 20px;
    margin-top: 16px;
    position: relative;
}

footer form input {
    font-family: "Poppins", sans-serif;
    font-weight: normal;
    font-size: 16px;
    line-height: 200%;
    border-radius: 8px;
    padding: 8px 32px;
    color: #000000;
    border: none;
    width: 100%;

}

footer form .submit-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--dark-blue-color);
    border-radius: 8px;
    padding: 8px 32px;
    border: 0;
    color: #FFF;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: normal;
    cursor: pointer;
}

footer .copyright {
    margin-top: 36px;
}

nav.mobile-nav,
.mobile-menu-container {
    display: none;
}

@media(max-width: 1100px) {
    .btn {
        padding: 12px 32px;
    }

    .wrapper {
        padding: 0 100px;
    }

    nav {
        width: 100%;
        left: 0;
        right: 0;
        padding: 36px 100px;
    }

    nav.scrolled {
        padding: 16px 100px;
    }

    header,
    .hero-section,
    header .wrapper {
        max-height: 1100px;
    }

    .hero-section {
        flex-direction: column;
    }

    .hero-section .left {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hero-section .left .btn {
        align-self: flex-start;
    }

    .hero-section .left h1 {
        font-size: 50px;
        line-height: 125%;
    }

    .hero-section .right {
        position: absolute;
        bottom: 0px;
    }

    .hero-section .right img {
        height: 580px;
    }

    .hero-section .achievment-card {
        position: relative;
        margin-bottom: 80px;
    }

    .achievment-card.student-enrolled,
    .achievment-card.overall-rating {
        left: unset;
        top: unset;
    }

    .hero-section .achievment-cards {
        align-self: flex-start;
        margin: 40px;
    }

    h2 {
        font-size: 40px;
    }

    .testinomials-section {
        flex-direction: column;
        align-items: stretch;
        gap: 50px;
    }

    .testinomials-section .testinomial-card {
        width: 100%;
        margin-bottom: 40px;
    }

    .testinomials-section .testinomial-card:last-child::before {
        top: -40px;
        height: calc(100% + 80px);
        left: 60px;
    }

    .testinomials-section .testinomial-card:last-child {
        transform: translateX(0px);
        margin-bottom: 0;
    }

    .testinomials-section .desktop-btn {
        display: none;
    }

    .testinomials-section .mobile-btn {
        display: block;
        align-self: flex-start;
        order: 3;
    }

    .testinomials-section .right {
        order: 1;
    }

    .testinomials-section .left {
        order: 2;
    }

    .testinomials-section .right p {
        display: inline;
    }

    .testinomials-section h2 {
        margin-bottom: 20px;
    }

    .courses-section .course-cards {
        flex-direction: column;
        gap: 80px;
    }

    .courses-section .course-card {
        margin: 0;
    }

    .courses-section h2 {
        margin-bottom: 40px;
    }

    .courses-section .course-card img {
        height: 260px;
        object-fit: cover;
    }

    .courses-section .course-card h3 {
        font-size: 24px;
    }

    .courses-section .wrapper .btn {
        right: 100px;
    }

    .courses-section .course-card:last-child {
        margin-bottom: 50px;
    }

    footer .links-container {
        grid-template-columns: 1fr 1fr;
    }

    footer .links-container .links:last-child {
        grid-column: 1 / 3;
    }
}

@media (max-width:800px) {
    nav {
        display: none;
    }

    nav.mobile-nav {
        display: flex;
    }

    nav.mobile-nav.scrolled {
        padding: 8px 100px;
        background: var(--light-blue-color);
        box-shadow: 0 9px 21px -5px rgba(0, 0, 0, 0.3);
    }

    .mobile-menu-container {
        position: fixed;
        height: 100vh;
        width: 100%;
        top: 0;
        left: 100%;
        background: var(--dark-color);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 200;
        transition: all 400ms ease;
    }

    .mobile-menu-container.active {
        left: 0;
    }

    .mobile-menu-container .close-icon {
        position: fixed;
        top: 32px;
        right: 100px;
        opacity: 0;
        pointer-events: none;
        transition: all 400ms ease;
    }

    .mobile-menu-container.active .close-icon {
        opacity: 1;
        pointer-events: auto;

    }

    .mobile-menu-container ul {
        list-style: none;
        padding: 0;
    }

    .mobile-menu-container ul li {
        margin: 30px 0;
        text-align: center;
    }

    .mobile-menu-container ul li a {
        color: #FFF;
        text-decoration: none;
        font-size: 18px;
    }
}

@media (max-width: 700px) {
    .wrapper {
        padding: 0 32px;
    }

    .hero-section .left p {
        width: 100%;
    }

    .app-section .app-button {
        flex-direction: column;
    }

    nav.mobile-nav {
        padding: 32px;
    }

    nav.mobile-nav.scrolled {
        padding: 8px 32px;
    }

    .mobile-menu-container .close-icon {
        right: 32px;
    }

    .hero-section .left h3 {
        font-size: 36px;
    }

    .hero-section .right img {
        height: 400px;
        transform: translateX(80px);

    }

    .hero-section .right {
        overflow: hidden;
        transform: translateX(30px);
    }

    .achievment-card h3 {
        font-size: 30px;
    }

    .hero-section .achievment-card {
        margin-bottom: 48px;
    }

    .hero-section .achievment-cards {
        margin: 0;
    }

    h2 {
        font-size: 30px;
    }

    .testinomial-card .testinomial-card .info h4 {
        font-size: 18px;
    }

    .testinomials-section .testinomial-card .info p.company {
        font-size: 14px;
    }

    .testinomials-section .testinomial-card img {
        height: 100px;
        width: 100px;
    }

    .testinomials-section .mobile-btn {
        left: 200px;
    }

    .courses-section .wrapper {
        padding: 0;
    }

    .courses-section .course-card img {
        height: 240px;
    }

    .courses-section .wrapper .btn {
        right: 32px;
    }

    footer .links-container .links:last-child {

        grid-column: 1/2;
    }

    footer .links-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    footer ul{
        padding: 0;
    }
    footer form .submit-btn{
        top: 130%;
        left: 50%;
        transform: translateX(-50%);
    }
    footer .copyright{
        margin-top: 80px;
        text-align: center;
    }
}