* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Urbanist', sans-serif;
}

html {
    font-size: 62.5%;
}

:root {
    --main-color: #0062ff;
    --supporting-color: #ebf3fe;
    --font-color: #424242;
    /* --bg-color: #ffffff; */
    /* --bg-color: #f7fcff; */
    --heading-color: #000a19;
    --hero-heading-color: #003b99;
    --white-color: #ffffff;
    --para-color: #504e4d;
    --bnt-hover-bg-color: #003b99;
    --btn-box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    --footer-bg-color: #040d12;
    --main-hero-color: #003b99;
    --bg-color: #f7fcff;
    --footer-bg--color: #040d12;
}

p,
li,
a,
label {
    font-family: 'Urbanist', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 0.1rem;
    font-weight: 400;
    color: var(--para-color);
    line-height: 1.5;
}

a {
    text-decoration: none;
    font-weight: 400;
}

li {
    list-style: none;
}

.container {
    max-width: 142rem;
    margin: 0 auto;
    padding: 9.6rem 2.4rem;
}


:is(.section-about, .section-blog, .section-contact, .section-course, .section-why--choose, .section-contact--homepage) .container:first-child {
    padding: 6.4rem 0 2.4rem 0;
}

.container:first-child {
    padding: 6.4rem 2.4rem 2.4rem 2.4rem;
}

.section-navbar {
    width: 100%;

}

.section-navbar a {
    display: flex;
}



.section-navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.8rem 2.4rem;

}


.section-navbar .navbar ul {
    display: flex;
    gap: 3.2rem;



    & li a {
        color: var(--heading-color);
        text-transform: uppercase;
        font-weight: 600;
        font-size: 1.6rem;
        display: inline-block;
        position: relative;


        &::after {
            content: "";
            position: absolute;
            bottom: -0.2rem;
            left: 0;
            width: 0%;
            border-bottom: 2px solid var(--main-color);
            transition: all 0.3s linear;
        }

    }


    & li a:hover::after {
        width: 100%;
    }

}

/* ---main-- */

.grid {
    display: grid;
}

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

.grid-three--cols {
    grid-template-columns: repeat(3, 1fr);

}

.grid-four--cols {
    grid-template-columns: repeat(4, 1fr);
}



.btn {
    display: inline-block;
    padding: 1.2rem 3.2rem;
    background-color: var(--main-color);
    color: var(--white-color);
    border-radius: 0.6rem;

}

.btn:hover {
    background-color: var(--bnt-hover-bg-color);
    cursor: pointer;
    box-shadow: var(--btn-box-shadow);
}

main {
    position: relative;
    background-image: linear-gradient(to top right,
            #3d86fa,
            #4484fb,
            #679eff,
            #b3d2ff,
            #ebf3fe);
}

.section-hero--image img {
    width: 100%;
    height: auto;
    transform: scalex(-1);
}

.section-hero .grid {
    align-items: center;
    gap: 6.2rem;

    & .hero-subheading {
        text-transform: uppercase;
        letter-spacing: 0.2rem;
        font-size: 1.7rem;
        word-spacing: 0.2rem;
        color: var(--hero-heading-color);
        font-weight: 700;
    }

    & .hero-heading {
        font-size: 5.8rem;
        color: var(--hero-heading-color);
        font-weight: 700;
        line-height: 1.5;
    }

    & .hero-para {
        color: var(--white-color);
        margin: 2rem 0 4.2rem 0;
        text-transform: capitalize;
    }

}




.custom-shape-divider-bottom-1701762282 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1701762282 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 12rem;
}

.custom-shape-divider-bottom-1701762282 .shape-fill {
    fill: #FFFFFF;
}

.section-course {
    background-color: var(--bg-color);
}

.section-common-heading {
    font-size: 3.2rem;
    font-weight: 700;
    text-transform: capitalize;
}

.section-common-subheading {
    color: var(--heading-color);

}

.section-about img {
    padding: 2;
    background-color: var(--supporting-color);
    width: 15rem;
    height: auto;
    border-radius: 50%;
    transition: all .3s linear;

}


.about-div .icon:hover img {
    transform: rotate(360deg);
    background: linear-gradient(to right, #0575e6, #021b79);


}

.section-about .about-div {
    text-align: center;
}

.section-common--title {
    font-size: 2rem;
    margin: 2.4rem 0 1.2rem 0;
}

.section-about .grid {
    gap: 6.4rem;
}


.fa-solid {
    padding: 2.4rem;
    background-color: var(--supporting-color);
    font-size: 2.4rem;
    border-radius: 50%;
    color: var(--hero-heading-color);
}

.section-course .grid {
    gap: 3.2rem;
}

.section-course .course-div {
    padding: 3.2rem;
}

.section-course .course-div:hover {

    box-shadow: var(--btn-box-shadow);
}

.course-div:nth-child(2) .icon .fa-solid {
    color: #68bf9b;
    background-color: #e7f6ef;
}

.course-div:nth-child(3) .icon .fa-solid {
    color: #ff8b52;
    background-color: #fbebe8;
}

.course-div:nth-child(4) .icon .fa-solid {
    color: #183d3d;
    background-color: #ccf7f7;
}

.course-div:nth-child(5) .icon .fa-solid {
    color: #d988b9;
    background-color: rgb(247, 223, 238);
}

.course-div:nth-child(6) .icon .fa-solid {
    color: #ff9b50;
    background-color: #f6dfce;
}

.course-div:nth-child(7) .icon .fa-solid {
    color: #1450a3;
    background-color: #dce9fa;
}


/* ---why choose section--- */

.section-why--choose .grid {
    gap: 9.6rem;
}

.why-choose--div {
    margin-top: 3.2rem;
}

.section-why--choose .text-align--right .why-choose--div {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: end;
    text-align: right;
}

.common-text-highlight {

    width: 6rem;
    aspect-ratio: 1;
    background-color: var(--supporting-color);
    color: var(--main-color);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 2.4rem;
    font-weight: 700;

}

.choose-center--div img {
    width: 120%;
    height: auto;
}

.choose-center--div,
figure {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.choose-center--div figure::before,
.choose-center--div figure::after {
    content: "";
    position: absolute;
    background-color: var(--main-color);
    width: 38rem;
    height: 38rem;
    border-radius: 50%;
    z-index: -1;
}

.choose-center--div figure::before {
    animation: circle 5s linear infinite;
}

@keyframes circle {
    0% {
        background-color: #b3d0ff;
    }

    25% {
        background-color: #80b1ff;
    }

    50% {
        background-color: #4d91ff;

    }

    75% {
        background-color: #99c0ff;

    }
I
    100% {
        background-color: #3381ff;
    }

}

.choose-center--div figure::after {
    width: 42rem;
    height: 42rem;
    background-color: transparent;
    z-index: -2;
    border: .2rem solid var(--supporting-color);
}


/* ----------contact home page---  */

.section-contact--homepage {
    width: 60%;
    min-height: 30rem;
    margin: 0 auto;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
        rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
    margin-bottom: 5rem;
    border-radius: 0.2rem;
    padding: 4.8rem 3.2rem 4rem 7rem;

    position: relative;
    bottom: -20rem;
    z-index: 1;
    background-color: var(--white-color);


    & .grid {
        align-items: center;
        gap: 6.4rem;
    }

}

.section-contact--homepage a {
    color: white;
    text-transform: capitalize;
}

.contact-content h2 {
    font-size: 3.5rem;
}

.contact-content p {
    margin: 1.2rem 0 2.4rem 0;
    font-size: 2.3rem;
}

.section-contact--homepage img {
    width: 80%;
}

/* --------footer-------- */

footer {
    background-color: var(--footer-bg-color);

}

footer * {
    color: white;
}

footer .grid {
    text-align: right;
}

.font-subheading {
    font-size: 2.2rem;
    font-weight: 700;
}

.footer-1--div p {
    margin: 1rem;
}

.footer-1--div {
    padding: 0 0 0 0;
    text-align: left;


    & .social-footer--icon {
        display: flex;
        gap: 2.4rem;



        & .fa-brands {
            width: 5rem;
            aspect-ratio: 1;
            background-color: var(--supporting-color);
            color: var(--bnt-hover-bg-color);
            border-radius: 50%;

            display: flex;
            justify-content: center;
            align-items: center;
            transition: all .3s linear;


            &:hover {

                color: var(--supporting-color);
                background-color: var(--bnt-hover-bg-color);
                rotate: 360deg;
            }



        }

    }
}


/* --------blog section------ */

.section-blog {
    background-color: var(--bg-color);

    & .blog {
        box-shadow: var(--btn-box-shadow);
        transition: scale 0.3s linear;

        &:hover {
            scale: 1.1;
        }

        & .blog-content {
            padding: 1.4rem 2.4rem 2.4rem;

        }
    }

    & img {
        width: 100%;
        height: auto;

    }

    & .blog-date {
        display: flex;
        justify-content: space-between;
        margin-top: 1.6rem;
        font-family: 'Urbanist', sans-serif;
        text-transform: capitalize;
        font-size: 1.4rem;

        & .fa-solid {
            background-color: transparent;
            padding: 0;


        }

    }

    &.section-common--title {
        margin-top: 0.8rem;
    }

}


.block-content .section-common--title {
    text-transform: capitalize;
    font-family: 'Urbanist', sans-serif;

}

.grid {
    gap: 6.4rem;
}


/* ------Contect us------ */

footer {
    padding: 15rem;
}


.mb-3 {
    margin-bottom: 3.2rem;
}

label {
    display: block;
    text-transform: capitalize;
}

::placeholder {
    font-size: 1.6rem;
    letter-spacing: 0.1rem;
}

.contact-content .grid {
    gap: 6.4rem;
}

input,
textarea {
    width: 100%;
    padding: 1.4rem 2.4rem;

}

.btn-submit {
    font-size: 1.8rem;
    border: none;
    margin-top: 2rem;
}


/* --------Mediaquires for responsive--------- */

@media (max-width:1400px) {

    html {
        font-size: 56.25%;
    }

    .section-hero img {
        width: 90%;
    }
}

@media (max-width:1220px) {

    html {
        font-size: 54%;


    }

    :is(
        .section-about,
        .section-blog,
        .section-course,
        .section-contact--homepage,
        .section-why--choose
  )

  .grid{
    gap: 6.4rem;
  }

    & .section-hero {
        height: auto;
        padding-bottom: 10rem;
    }

}

@media (max-width:1100px) {
   :is(.section-course, .section-blog) .grid-four--cols {

        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .section-why--choose {

        & .choose-left--div {
            order: 2;
        }

        & .choose-right--div {
            order: 3;
        }

        & .choose-center--div {
            order: 1;

            & figure::before {
                width: 0;
                height: 0;
                background-color: transparent;
            }

            & figure::after {
                width: 0;
                height: 0;
                background-color: transparent;
            }
        }
    }

}


@media (width <=998px) {
    .section-hero {
        height: auto;
        padding-bottom: 8rem;

        & .grid-two--cols {
            grid-template-columns: 1fr;

            & .section-hero--content {
                order: 2;
            }

            & .section-hero--image {
                order: 1;

                & img {
                    width: 50%;
                }
            }
        }
    }

    .section-about .about-div {
        text-align: left;
    }

    footer .grid-four--cols {
        grid-template-columns: repeat(3, minmax(100px, 1fr));
        text-align: left;

        & .footer-1--div {
            grid-row: 2 / 3;
            grid-column: 1 / -1;
            margin-top: 6.4rem;
        }
    }
}



@media (width <= 768px) {
    .grid-two--cols,
    .grid-three--cols {
      grid-template-columns: 1fr;
    }
  
    .section-navbar .container {
      display: flex;
      flex-direction: column;
  
      & .navbar ul {
        gap: 2.4rem;
      }
  
      & .navbar-brand {
        text-align: center;
        margin-bottom: 2.4rem;
      }
    }
  
    .section-hero .grid .hero-heading {
      font-size: 3.8rem;
    }
  
    .section-why--choose {
      & img {
        width: 40%;
      }

      & .grid {
        gap: 1.4rem;
      }
  
      & .text-align--right .why-choose--div {
        align-items: start;
        text-align: left;
      }
    }

    .section-contact--homepage .btn{
        display: block;
        text-align: center;
    }

    .contact-title{
        font-size: 2.4rem;}

    :is(.section-contact--homepage) .container:first-child{
        padding: 6.4rem 0rem 2.4rem 0rem;
    }

}

   