/*start global styles*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    color: #ffffff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
    display: block;
}

/*end global styles*/


/*start header section*/

header {
    width: 100%;
    min-height: 75px;

    display: flex;
    align-items: center;

    background-color: #ffffff;
}

nav {
    width: 100%;

    padding: 0 5%;

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

nav .logo img {
    width: 100px;
}

nav ul {
    display: flex;
    align-items: center;

    gap: 25px;

    list-style: none;
}

nav ul li a {
    color: #5f5e5d;
    font-size: 14px;
}

nav ul li a:hover {
    color: #1c1cb6;
}

.nav-buttons {
    display: flex;
    align-items: center;

    gap: 10px;
}

.nav-buttons a {
    padding: 7px 15px;

    border-radius: 30px;

    color: #222222;

    font-size: 14px;
}

.nav-buttons .register-btn {
    background-color: #0866ff;
    color: #ffffff;
}

.nav-buttons a:hover {
    background-color: #434390;
    color: #ffffff;
}

/*end header section*/


/*start hero section*/

.hero {
    width: 100%;
    min-height: 500px;

    padding: 60px 8%;

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

    gap: 50px;

    background-color: #ffffff;
}

/*start hero text*/

.hero-text {
    width: 50%;
}

.hero-text > span {
    display: block;

    margin-bottom: 15px;

    color: #e87519;

    font-size: 12px;
    font-weight: bold;
}

.hero-text h1 {
    margin-bottom: 25px;

    color: #000000;

    font-size: 55px;

    line-height: 1.1;
}
.hero-title-animation{
    animation: slideFromLeft 5s infinite ;
}

@keyframes slideFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.hero-text p {
    max-width: 600px;

    margin-bottom: 30px;

    color: #555555;

    font-size: 16px;
    line-height: 1.6;
}

/*end hero text*/


/*start hero buttons*/

.hero-buttons {
    display: flex;
    align-items: center;

    gap: 20px;
}

.btn {
    display: inline-block;

    padding: 13px 25px;

    background-color: #ffd329;

    color: #000000;

    border-radius: 30px;

    font-size: 13px;
    font-weight: bold;
}

.watch-btn {
    display: flex;
    align-items: center;

    gap: 10px;

    color: #222222;

    font-size: 13px;
}

.watch-btn span {
    width: 38px;
    height: 38px;

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

    background-color: #e3efff;

    color: #1475d1;

    border-radius: 50%;
}

/*end hero buttons*/


/*start hero images*/

.hero-images {
    width: 430px;

    display: flex;
    flex-direction: column;

    gap: 20px;
}

.hero-images-top,
.hero-images-bottom {
    display: flex;

    gap: 20px;
}

.hero-image {
    width: 175px;
    height: 145px;

    overflow: hidden;

    border: 2px solid #000000;
}

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

    object-fit: cover;
}

.image-one {
    border-radius: 70px 0 0 70px;
}

.image-two {
    border-radius: 0;
}

.image-three {
    border-radius: 12px;
}

.image-four {
    border-radius: 0 70px 70px 0;
}

/*end hero images*/

/*end hero section*/


/*start stats section*/

.stats {
    width: 100%;

    padding: 25px 5%;

    background-color: #0868f5;
}

.stats-cards {
    max-width: 1050px;

    margin: auto;

    display: flex;
    justify-content: space-around;
    align-items: center;
}

.stat-box {
    width: 25%;

    padding-left: 35px;

    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.stat-box:last-child {
    border-right: none;
}

.stat-box strong {
    display: block;

    margin-bottom: 3px;

    font-size: 24px;
}

.stat-box span {
    font-size: 14px;
}

/*end stats section*/


/*start benefits section*/

.benefits {
    width: 100%;

    padding: 60px 5%;

    background-color: #ffffff;
}

.section-title {
    margin-bottom: 30px;

    text-align: center;
}

.section-title span {
    display: block;

    margin-bottom: 10px;

    color: #f47721;

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

.section-title h2 {
    color: #111111;

    font-size: 25px;
    font-weight: 600;
}

.benefits-cards {
    max-width: 1100px;

    margin: auto;

    display: grid;

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

    gap: 20px;
}

.benefit-box {
    padding: 20px;

    background-color: #ffffff;

    border-radius: 8px;

    box-shadow: 0 3px 15px rgba(93, 92, 92, 0.06);
}

.benefit-box:hover {
    transform: translateY(-3px);
}

.benefits-cards figure {
    margin-bottom: 10px;
}

.benefits-cards figure img {
    width: 30px;
}

.benefit-box h3 {
    margin-bottom: 7px;

    color: #222222;

    font-size: 13px;
}

.benefit-box p {
    color: #555555;

    font-size: 11px;
    line-height: 1.5;
}

/*end benefits section*/


/*start feature section*/

.feature {
    width: 100%;

    padding: 70px 8%;

    display: flex;
    align-items: center;

    gap: 80px;

    background-color: #ffffff;
}

.feature-image {
    width: 45%;

    display: flex;
    justify-content: center;
}

.feature-image img {
    width: 300px;

    border: 2px solid #000000;

    border-radius: 20px;
}

.feature-text {
    width: 55%;
}

.feature-text span {
    display: block;

    margin-bottom: 10px;

    color: #f47721;

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

.feature-text h2 {
    margin-bottom: 15px;

    color: #111111;

    font-size: 25px;
}

.feature-text p {
    max-width: 500px;

    margin-bottom: 20px;

    color: #555555;

    font-size: 12px;
    line-height: 1.6;
}

.feature-text .btn {
    padding: 10px 20px;

    font-size: 11px;
}

/*end feature section*/


/*start subjects section*/

.subjects {
    width: 100%;

    padding: 60px 5% 100px;

    background-color: #ffffff;
}

.subjects-grid {
    max-width: 1100px;

    margin: 40px auto 0;

    display: grid;

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

    gap: 25px;
}

.subject-box {
    min-height: 76px;

    padding: 0 15px;

    display: flex;
    align-items: center;

    gap: 18px;

    border: 1px solid #e5e5e5;

    border-radius: 8px;

    background-color: #ffffff;
}

.subject-box:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

.subject-box img {
    width: 46px;
    height: 46px;

    object-fit: contain;
}

.subject-box > span {
    color: #111111;

    font-size: 16px;
}

/*end subjects section*/


/*start testimonials section*/

.testimonials {
    width: 100%;

    padding: 0 5% 100px;

    background-color: #ffffff;
}

.testimonial-content {
    max-width: 600px;

    margin: auto;

    text-align: center;
}

.student-images {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 30px;

    margin-bottom: 10px;
}

.student-images img {
    width: 56px;
    height: 56px;

    border-radius: 50%;

    object-fit: cover;

    opacity: 0.7;
}

.student-images img.active {
    width: 68px;
    height: 68px;

    padding: 2px;

    border: 3px solid #1475df;

    opacity: 1;
}

.testimonial-content h3 {
    margin-bottom: 2px;

    color: #111111;

    font-size: 16px;
}

.testimonial-content > span {
    color: #777777;

    font-size: 13px;
}

.rating {
    margin-top: 7px;

    color: #777777;

    font-size: 13px;
}

.testimonial-text {
    max-width: 510px;

    margin: 25px auto 0;
}

.testimonial-text p {
    color: #222222;

    font-size: 15px;
    line-height: 1.6;
}

.quote-left,
.quote-right {
    color: #eeeeee;

    font-family: Georgia, serif;

    font-size: 70px;
}

.quote-left {
    margin-right: 20px;
}

.quote-right {
    margin-left: 20px;
}

/*end testimonials section*/


/*start footer section*/

footer {
    width: 100%;
    min-height: 20px;

    background-color: #0462ff;
}

/*end footer section*/


/*start tablet responsive*/

@media (max-width: 992px) {

    /*start header tablet*/

    nav ul {
        gap: 15px;
    }

    nav ul li a {
        font-size: 13px;
    }

    .nav-buttons a {
        padding: 6px 10px;

        font-size: 12px;
    }

    /*end header tablet*/


    /*start hero tablet*/

    .hero {
        padding: 50px 5%;

        gap: 30px;
    }

    .hero-text h1 {
        font-size: 42px;
    }

    .hero-images {
        width: 360px;
    }

    .hero-image {
        width: 145px;
        height: 125px;
    }

    /*end hero tablet*/


    /*start benefits tablet*/

    .benefits-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    /*end benefits tablet*/


    /*start feature tablet*/

    .feature {
        padding: 60px 6%;

        gap: 50px;
    }

    /*end feature tablet*/


    /*start subjects tablet*/

    .subjects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /*end subjects tablet*/
}

/*end tablet responsive*/


/*start mobile responsive*/

@media (max-width: 768px) {

    /*start header mobile*/

    header {
        min-height: 65px;
    }

    nav {
        padding: 0 4%;
    }

    nav .logo img {
        width: 75px;
    }

    nav ul {
        gap: 8px;
    }

    nav ul li a {
        font-size: 11px;
    }

    .nav-buttons {
        gap: 4px;
    }

    .nav-buttons a {
        padding: 5px 8px;

        font-size: 10px;
    }

    /*end header mobile*/


    /*start hero mobile*/

    .hero {
        padding: 50px 5%;

        flex-direction: column;

        text-align: center;
    }

    .hero-text {
        width: 100%;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;

        font-size: 14px;
    }

    .hero-buttons {
        justify-content: center;

        flex-wrap: wrap;
    }

    .hero-images {
        width: 100%;
        max-width: 360px;
    }

    .hero-image {
        width: calc(50% - 10px);

        height: 120px;
    }

    /*end hero mobile*/


    /*start stats mobile*/

    .stats-cards {
        display: grid;

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

        gap: 20px;
    }

    .stat-box {
        width: 100%;

        padding-left: 15px;

        border-right: none;
    }

    .stat-box:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.3);
    }

    /*end stats mobile*/


    /*start benefits mobile*/

    .benefits {
        padding: 45px 5%;
    }

    .benefits-cards {
        grid-template-columns: 1fr;
    }

    /*end benefits mobile*/


    /*start feature mobile*/

    .feature {
        padding: 50px 7%;

        flex-direction: column;

        gap: 35px;

        text-align: center;
    }

    .feature-image,
    .feature-text {
        width: 100%;
    }

    .feature-image img {
        width: 240px;
    }

    .feature-text p {
        margin-left: auto;
        margin-right: auto;
    }

    /*end feature mobile*/


    /*start subjects mobile*/

    .subjects {
        padding: 45px 5% 70px;
    }

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

        gap: 15px;
    }

    .subject-box {
        min-height: 70px;
    }

    /*end subjects mobile*/


    /*start testimonials mobile*/

    .testimonials {
        padding: 0 5% 70px;
    }

    .student-images {
        gap: 15px;
    }

    .student-images img {
        width: 45px;
        height: 45px;
    }

    .student-images img.active {
        width: 58px;
        height: 58px;
    }

    .testimonial-text p {
        font-size: 13px;
    }

    /*end testimonials mobile*/
}

/*end mobile responsive*/


/*start small mobile responsive*/

@media (max-width: 380px) {

    /*start header small mobile*/

    nav .logo img {
        width: 60px;
    }

    nav ul {
        gap: 5px;
    }

    nav ul li a {
        font-size: 9px;
    }

    .nav-buttons a {
        padding: 4px 6px;

        font-size: 9px;
    }

    /*end header small mobile*/


    /*start hero small mobile*/

    .hero {
        padding: 40px 5%;
    }

    .hero-text h1 {
        font-size: 31px;
    }

    .hero-text p {
        font-size: 13px;
    }

    .hero-image {
        height: 105px;
    }

    /*end hero small mobile*/


    /*start stats small mobile*/

    .stat-box {
        padding-left: 10px;
    }

    .stat-box strong {
        font-size: 18px;
    }

    .stat-box span {
        font-size: 10px;
    }

    /*end stats small mobile*/


    /*start benefits small mobile*/

    .benefit-box h3 {
        font-size: 12px;
    }

    .benefit-box p {
        font-size: 10px;
    }

    /*end benefits small mobile*/


    /*start feature small mobile*/

    .feature {
        padding: 40px 5%;
    }

    .feature-image img {
        width: 210px;
    }

    .feature-text h2 {
        font-size: 22px;
    }

    /*end feature small mobile*/


    /*start subjects small mobile*/

    .subjects .section-title h2 {
        font-size: 24px;
    }

    .subject-box > span {
        font-size: 13px;
    }

    /*end subjects small mobile*/
}

/*end small mobile responsive*/
