body {
    margin: 0px;
    padding: 0px;
    font-family: calibri;
}

* {
    box-sizing: border-box;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

button {
    outline: none;
    border: none;
}

input {
    outline: none;
    border: none;
}

.main {
    width: 100%;
    height: 568px;
    position: relative;
}

.logo img {
    width: 300px;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between !important;
    /*padding: 0px 30px;*/
    padding: 10px 20px;
    background-color: #fff;
    box-shadow: 2px 2px 20px rgba(255, 151, 103, 0.164);
    z-index: 1;
    width: 100%;
    position: fixed;
    left: 0px;
    top: 0px;
}

nav ul {
    display: flex;
    margin: 0px;
    padding: 0px;
}

nav ul li a {
    height: 40px;
    line-height: 43px;
    margin: 8px;
    padding: 0px 10px;
    display: flex;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 400;
    color: #111;
    letter-spacing: 1px;
    transition: 0.4s ease-in-out;
}

.active {
    background-color: #b02475;
    color: #fff;
}

nav ul li a:hover {
    border-radius: 5px;
    background-color: #d02b8a;
    color: #fff;
    box-shadow: 5px 10px 30px rgba(219, 74, 6, 0.5);
    transition: all ease 0.2s;
}

.home-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;

}

.home-img {
    width: 500px;
    height: 400px;
    margin: 20px;
}

.home-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.home-text {
    width: 500px;
    margin: 20px;
}

.home-text h1 {
    font-size: 3.5rem;
    line-height: 55px;
    color: #22252e;
    letter-spacing: 1px;
    font-weight: 700;
    margin: 0px;
}

.home-text p {
    font-size: 1rem;
    color: #777474;
}

.home-text span {
    color: #F14D5D;
    text-decoration: underline;
}

.main-login {
    width: 120px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #b02475;
    color: #fff;
    box-shadow: 5px 10px 30px rgba(219, 74, 6, 0.5);
    text-transform: uppercase;
    transition: 0.3s ease-in-out;
}

.main-login:hover {
    background-color: #961f63;
    color: #fff;
    transition: all ease 0.3s;
}

.arrow {
    align-self: end;
    width: 50%;
    border-right: 1px solid #F14D5D;
    height: 20%;
    margin-bottom: 20em;
    position: absolute;
    bottom: 5px;
    right: 70px;
    animation: arrow-animation ease 1.5s;

}

.arrow::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 11px 11px 0px 11px;
    border-color: #F14D5D transparent transparent transparent;
    right: -0.7em;
    bottom: -2px;
}

.scroll {
    position: absolute;
    bottom: 260px;
    right: 55px;
    font-weight: 600;
}

@keyframes arrow-animation {
    0% {
        bottom: 70px;
        opacity: 0.2;
    }

    100% {
        bottom: 5px;
        opacity: 1;
    }
}

.services {
    background-size: 1000px;
    background-position: center;
}

.services-heading {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
}

.services-heading h2 {
    line-height: 55px;
    font-size: 2.2rem;
    color: #22252e;
    letter-spacing: 1px;
    font-weight: 700;
    margin: 0px;
}

.services-heading p {
    font-size: 1rem;
    color: #777474;
    width: 50%;
}

.box-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 20px 30px;
}

.box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 400px;
    text-align: center;
    box-shadow: 2px 2px 20px rgba(90, 118, 253, 0.15);
    border-radius: 10px;
    background-color: #fff;
    margin: 20px;
    flex-grow: 1;
}

.box img {
    height: 50px;
    margin: 10px;
}

.box font {
    font-size: 1.5rem;
    color: #22252e;
    letter-spacing: 1px;
    font-weight: 700;
}

.box p {
    font-size: 1rem;
    color: #777474;
    display: block;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 500px;
}

.box a {
    width: 150px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #961f63;
    text-transform: uppercase;
    margin: auto;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #961f63;
    margin: 0px;
}

.box a:hover {
    background-color: #961f63;
    color: #fff;
    box-shadow: 5px 10px 30px rgba(90, 118, 253, 0.5);
    transition: all ease 0.3s;
}

.box {
    width: 200px;
    height: 400px;
    background-color: #ffffff;
    box-shadow: 2px 2px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-radius: 10px;
    margin: 20px;
    position: relative;
}

.about {

    width: 100%;
    height: 768px;
    position: relative;
}

.about-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;

}

.about-img {
    width: 500px;
    height: 400px;
    margin: 20px;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.about-text {
    width: 500px;
    margin: 20px;
}

.about-text h1 {
    font-size: 3.5rem;
    line-height: 55px;
    color: #22252e;
    letter-spacing: 1px;
    font-weight: 700;
    margin: 0px;
}

.about-text p {
    font-size: 1rem;
    color: #777474;
}

.about-text span {
    color: #F14D5D;
    text-decoration: underline;
}

.about-login {
    width: 120px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f54417;
    color: #fff;
    box-shadow: 5px 10px 30px rgba(219, 74, 6, 0.5);
    text-transform: uppercase;
    transition: 0.3s ease-in-out;
}

.about-login:hover {
    background-color: #F14D5D;
    transition: all ease 0.3s;
}

.section-5-text {
    text-align: center;
    padding-bottom: 40px;
}

.section-5-text h1 {
    font-family: Roboto;
    font-style: normal;
    font-weight: bold;
    font-size: 2.5rem;
    line-height: 47px;
    color: #000000;
}

.section-5-text p {
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 1rem;
    line-height: 21px;
    color: #545454;
}

.section-5-text-btn {
    margin-top: 90px;
    margin-bottom: 60px;
}

.section-5-text-btn input {
    width: 30%;
    height: 53px;
    border: none;
    outline: none;
    font-size: 20px;
    background: #F3F3F3;
    box-shadow: 5px 10px 30px rgba(219, 74, 6, 0.5);
    padding-left: 20px;
}

.section-5-text-btn button {
    background: #fd0000;
    width: 221px;
    height: 53px;
    margin-left: 15px;
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 21px;
    text-align: center;

    color: #FFFFFF;
}

footer {
    width: 100%;
    text-align: center;
    padding: 0px 5%;
}

footer a,
footer p {
    color: #000000;
}

nav .menu-btn {
    display: none;
}

@media(max-width:1100px) {
    nav {
        justify-content: space-between;
        height: 65px;
    }

    .menu {
        display: none;
        position: absolute;
        top: 65px;
        left: 0px;
        background-color: #fff;
        border-bottom: 4px solid #F14D5D;
        width: 100%;
    }

    .menu li {
        width: 100%;
    }

    nav .menu li a {
        width: 100%;
        height: 40px;
        justify-content: center;
        align-items: center;
        margin: 0px;
        padding: 25px;
        border: 1px solid rgba(38, 38, 38, 0.03);
    }

    nav .menu-icon {
        cursor: pointer;
        float: right;
        padding: 28px 20px;
        position: relative;
        user-select: none;
    }

    nav .menu-icon .nav-icon {
        background-color: #333333;
        display: block;
        height: 2px;
        position: relative;
        transition: background 0.2s ease-out;
        width: 18px;
    }

    nav .menu-icon .nav-icon:before,
    nav .menu-icon .nav-icon:after {
        background: #333333;
        content: '';
        display: block;
        height: 100%;
        position: absolute;
        transition: all ease-out 0.2s;
        width: 100%;
    }

    nav .menu-icon .nav-icon:before {
        top: 5px;
    }

    nav .menu-icon .nav-icon:after {
        top: -5px;
    }

    nav .menu-btn:checked~.menu-icon .nav-icon {
        background: transparent;
    }

    nav .menu-btn:checked~.menu-icon .nav-icon:before {
        transform: rotate(-45deg);
        top: 0;
    }

    nav .menu-btn:checked~.menu-icon .nav-icon:after {
        transform: rotate(45deg);
        top: 0;
    }

    nav .menu-btn {
        display: none;
    }

    nav .menu-btn:checked~.menu {
        display: block;
    }

    .home-img {
        display: none;
    }

    .home-text {
        width: 100%;
        justify-content: center;
        align-items: center;
        display: flex;
        flex-direction: column;
        height: 45vh;
        margin: 0px;
    }

    .home-content {
        text-align: center;
        width: 100%;
        margin: 0px;
        position: static;
        transform: translate(0px, 70px);
        box-shadow: 2px 2px 30px rgba(255, 102, 55, 0.178);
    }

    .home-text h1 {
        color: rgb(0, 0, 0);
        padding: 0px 20px;
        font-size: 2.5rem;
    }

    .home-text p {
        color: rgba(32, 32, 32, 0.85);
        margin: 10px 0px 20px 0px;
        width: 50%;
    }

    .about-img {
        display: none;
    }

    .about-text {
        width: 100%;
        justify-content: center;
        align-items: center;
        display: flex;
        flex-direction: column;
        height: 45vh;
        margin: 0px;
    }

    .about-content {
        text-align: center;
        width: 100%;
        margin: 0px;
        position: static;
        transform: translate(0px, 70px);
        box-shadow: 2px 2px 30px rgba(255, 102, 55, 0.178);
    }

    .about-text h1 {
        color: rgb(0, 0, 0);
        padding: 0px 20px;
        font-size: 2.5rem;
    }

    .about-text p {
        color: rgba(32, 32, 32, 0.85);
        margin: 10px 0px 20px 0px;
        width: 50%;
    }

    .arrow {
        height: 70px;
    }

    .main {
        padding: 75px 0px 0px 0;
        background: url('images/e-learning.png') no-repeat center center;
        background-size: cover;
        height: 400px;
    }

    .arrow {
        left: 2%;
        margin-bottom: 15em;
    }

    .scroll {
        left: 48%;
        bottom: 200px;
    }
}

@media(max-width:720px) {
    .home-text p {
        width: 70%;
        text-align: center;
    }

    .home-content h1 {
        font-size: 1.9rem;
        padding: 10px 10px;
        line-height: 30px;
    }

    .about-text p {
        width: 70%;
        text-align: center;
    }

    .about-content h1 {
        font-size: 1.9rem;
        padding: 10px 10px;
        line-height: 30px;
    }

    .services {
        margin-top: -120px;
    }

    .services-heading {
        margin: 20px;

    }

    .services-heading h2 {
        font-size: 1.7rem;
        line-height: 40px;
    }

    .services-heading p {
        width: 100%;
    }

    .box {
        width: 100%;
        margin: 20px 0px !important;
        padding: 0px 20px;
        flex-grow: 1;
    }

    .box img {
        height: 100px;
        width: 100%;
        object-fit: contain;
    }

    .section-5-text {
        margin-top: -250px;
    }

    .section-5-text-btn input {
        width: 80%;
    }

    .section-5-text-btn button {
        margin-top: 20px;
    }

    footer p,
    a {
        font-size: 0.9rem;
        text-align: center;
    }

    footer {
        padding: 0px 10px;
    }
}

.bg-4 {
    background-color: #440000;
    /* Black Gray */
    color: #fff;
    padding: 10px;
}

.btn-custom {
    border: 1px;
    border-radius: 20px;
}