@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@1,300&family=Cinzel:wght@400;700&family=Dosis&family=Laila&family=Montserrat:ital,wght@0,400;0,500;0,600;1,500&family=Nanum+Myeongjo&family=Poppins:ital,wght@1,300&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    list-style: none;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-family: 'Nanum Myeongjo', serif;
    line-height: 1.7;
    background: var(--color-bg);
    color: var(--color-white);
}

:root {
    --color-primary: #170fb6;
    --color-succses: #00bf8e;
    --color-warning: #f7c94b;
    --color-danger: #f75842;
    --color-reviews: #00416A;
    --color-danger-varient: rgba(247, 88, 66, 0.4);
    --color-white: white;
    --color-ligth: rgb(167, 163, 163);
    --color-black: black;
    --color-bg: #192a56;
    --color-bg1: #151b88;
    --color-bg2: #111c88;
    --color-bg3: #0CAFFF;
    --color-bg4: #3F00FF;
    --color-bg6: #00CED1;
    --color-bg5: #367588;
    --color-box: #242f94;
    ---container-width-lg: 76%;
    ---container-width-md: 90%;
    ---container-width-sm: 94%;
    --transition: all 400ms ease;
}


/* COSTOMIZTION START  */
.container {
    width: var(---container-width-lg);
    margin: 0 auto;
}

section {
    padding: 6rem 0;
}

section h2 {
    text-align: center;
    margin-bottom: 4rem;
}

h1,
h2,
h3,
h4,
h5 {
    line-height: 1.2;
}

h1 {
    font-size: 2.4rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.7rem;
}

h4 {
    font-size: 1.3rem;
}

a {
    color: var(--color-white);
}

img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.btn {
    display: inline;
    background: var(--color-white);
    color: var(--color-black);
    padding: 1rem 2rem;
    font-weight: 500;
    border: 1px solid transparent;
    transition: var(--transition);

}

.btn:hover {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-primary {
    font-size: 1.5rem;
    padding: 5px;
    background: var(--color-danger);
    color: var(--color-white);
}


/* nav on acrooll  */



.window-scroll {
    background: var(--color-box);
    box-shadow: rgba(0, 0, 0, 0.2);
}

/* ====NAV==== */
.navbar {
    background: #131313;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 999;
    font-size: 1.2rem;
}

.navbar_container {
    display: flex;
    justify-content: space-between;
    height: 80px;
    z-index: 1;
    width: 100% ;
    margin: 0 auto;
    padding: 0 50px;
}

#navbar_logo {
    font-size: 2rem;
    color: #22c1c3;
    line-height: 80px;
}

.navbar_menu {
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 60px;
    height: 100%;
    line-height: 80px;
}

.navbar_item {
    height: 80px;
    text-decoration: none;
    list-style: none;
}

.navbar_link {
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    padding: 0 1rem;
    text-decoration: none;
    text-transform: capitalize;
}


/* ===== HEADER ==== */
header {
    position: relative;
    top: 5rem;
    overflow: hidden;
    height: 70vh;
    margin-bottom: 5rem;
}

.header_container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 5rem;
    height: 100%;
}

.header_left p {
    margin: 1rem 0 2.4rem;
}


.categories {
    height: 29rem;
    background: var(--color-bg1);
}

.categories h1 {
    line-height: 1;
    margin-bottom: 3rem;
}

.categories p {
    margin-bottom: 3rem;
}

.categories a {
    color: black;
}

.categories_container {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 4rem;
}

.categories_left {
    margin: 1rem 0 3rem;
}

.categories_right {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.3rem;
}

.category {
    height: 80%;
    text-align: center;
    background: var(--color-box);
    padding: 1rem;
    border-radius: 2rem;
    transition: var(--transition);

}

.category:hover {
    color: black;
    background: white;
    color: var(--color-box);
    box-shadow: 0 3rem 3rem rgba(0, 0, 0, 0.3);
}

.category img {
    width: 50px;
    margin: 0 auto .8rem;
}

.category h5 {
    margin-bottom: 1rem;

}


/* COURSE   */
.courses {
    margin-top: 10rem;
}

.course_container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.course {
    background: var(--color-bg1);
    text-align: center;
    border: 1px solid transparent;
    transition: var(--transition);
}

.course:hover {
    background: transparent;
    border-color: 1px solid var(--color-primary);

}

.course_info {
    padding: 2rem;
}

.course_info p {
    margin: 1.3rem 0 2rem;
    font-size: 0.9rem;
}

/* DOUTS  */
.douts {
    background: var(--color-bg2);
    box-shadow: inset 0 0 3rem rgba(0, 0, 0, 0.5);
}

.douts h2 {
    text-align: center;
    margin: 1rem;
    font-size: 2rem;
}

.douts_conatiner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.dout {
    height: fit-content;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.4rem;
    background: var(--color-primary);
    cursor: pointer;
}

.dout h4 {
    line-height: 1.2;
    font-size: 1.1rem;
    text-transform: capitalize;
    margin-bottom: .5rem;
}

.dout p {
    font-size: 0.9rem;
    margin: .7rem;
    display: none;
}

.dout_icon {
    align-items: flex-start;
    font-size: 1.2rem;
}

.dout.open p {
    display: block;
}

/* REVIEWS */
.reviews_container {
    /* background-color: var(--color-bg6); */
    overflow-x: hidden;
    position: relative;
    margin-bottom: 5rem;
}

.reviews {
    padding-top: 2rem;
}

.avater {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
}

.reviews_info {

    text-align: center;
}

.reviews_info h5 {
    color: white;
    font-size: 15px
}

.reviews_box {
    background: var(--color-reviews);
    padding: 2rem;
    margin-top: 3rem;
}



/* --footer--- */

.pg-footer {
    font-family: 'Roboto', sans-serif;
}


.footer {
    background-color: var(--color-box);
    color: #fff;
}

.footer-wave-svg {
    background-color: transparent;
    display: block;
    height: 30px;
    position: relative;
    top: -1px;
    width: 100%;
}

.footer-wave-path {
    fill: #fffff2;
}

.footer-content {
    margin-left: auto;
    margin-right: auto;
    max-width: 1230px;
    padding: 40px 15px 450px;
    position: relative;
}

.footer-content-column {
    box-sizing: border-box;
    float: left;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    color: #fff;
}

.footer-content-column ul li a {
    color: #fff;
    text-decoration: none;
}

.footer-logo-link {
    display: inline-block;
}

.footer-menu {
    margin-top: 30px;
}

.footer-menu-name {
    color: #fffff2;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: .1em;
    line-height: 18px;
    margin-bottom: 0;
    margin-top: 0;
    text-transform: uppercase;
}

.footer-menu-list {
    list-style: none;
    margin-bottom: 0;
    margin-top: 10px;
    padding-left: 0;
}

.footer-menu-list li {
    margin-top: 5px;
}

.footer-call-to-action-description {
    color: #fffff2;
    margin-top: 10px;
    margin-bottom: 20px;
}

.footer-call-to-action-button:hover {
    background-color: #fffff2;
    color: #00bef0;
}

.button:last-of-type {
    margin-right: 0;
}

.footer-call-to-action-button {
    background-color: #027b9a;
    border-radius: 21px;
    color: #fffff2;
    display: inline-block;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
    line-height: 18px;
    padding: 12px 30px;
    margin: 0 10px 10px 0;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color .2s;
    cursor: pointer;
    position: relative;
}

.footer-call-to-action {
    margin-top: 30px;
}

.footer-call-to-action-title {
    color: #fffff2;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .1em;
    line-height: 18px;
    margin-bottom: 0;
    margin-top: 0;
    text-transform: uppercase;
}

.footer-call-to-action-link-wrapper {
    margin-bottom: 0;
    margin-top: 10px;
    color: #fff;
    text-decoration: none;
}

.footer-call-to-action-link-wrapper a {
    color: #fff;
    text-decoration: none;
}





.footer-social-links {
    bottom: 0;
    height: 54px;
    position: absolute;
    right: 0;
    width: 236px;
}

.footer-social-amoeba-svg {
    height: 54px;
    left: 0;
    display: block;
    position: absolute;
    top: 0;
    width: 236px;
}

.footer-social-amoeba-path {
    fill: #027b9a;
}

.footer-social-link.linkedin {
    height: 26px;
    left: 3px;
    top: 11px;
    width: 26px;
}

.footer-social-link {
    display: block;
    padding: 10px;
    position: absolute;
}

.hidden-link-text {
    position: absolute;
    clip: rect(1px 1px 1px 1px);
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(0px 0px 99.9% 99.9%);
    clip-path: inset(0px 0px 99.9% 99.9%);
    overflow: hidden;
    height: 1px;
    width: 1px;
    padding: 0;
    border: 0;
    top: 50%;
}

.footer-social-icon-svg {
    display: block;
}

.footer-social-icon-path {
    fill: #fffff2;
    transition: fill .2s;
}

.footer-social-link.twitter {
    height: 28px;
    left: 62px;
    top: 3px;
    width: 28px;
}

.footer-social-link.youtube {
    height: 24px;
    left: 123px;
    top: 12px;
    width: 24px;
}

.footer-social-link.github {
    height: 34px;
    left: 172px;
    top: 7px;
    width: 34px;
}

.footer-copyright {
    background-color: var(--color-box);
    color: #fff;
    padding: 15px 30px;
    text-align: center;
}

.footer-copyright-wrapper {
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
}

.footer-copyright-text {
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    margin-bottom: 0;
    margin-top: 0;
}

.footer-copyright-link {
    color: #fff;
    text-decoration: none;
}







/* Media Query For different screens */
@media (min-width:320px) and (max-width:479px) {

    /* smartphones, portrait iPhone, portrait 480x320 phones (Android) */
    .footer-content {
        margin-left: auto;
        margin-right: auto;
        max-width: 1230px;
        padding: 40px 15px 1050px;
        position: relative;
    }
}

@media (min-width:480px) and (max-width:599px) {

    /* smartphones, Android phones, landscape iPhone */
    .footer-content {
        margin-left: auto;
        margin-right: auto;
        max-width: 1230px;
        padding: 40px 15px 1050px;
        position: relative;
    }
}

@media (min-width:600px) and (max-width: 800px) {

    /* portrait tablets, portrait iPad, e-readers (Nook/Kindle), landscape 800x480 phones (Android) */
    .footer-content {
        margin-left: auto;
        margin-right: auto;
        max-width: 1230px;
        padding: 40px 15px 1050px;
        position: relative;
    }
}

@media (min-width:801px) {
    /* tablet, landscape iPad, lo-res laptops ands desktops */

}

@media (min-width:1025px) {
    /* big landscape tablets, laptops, and desktops */

}

@media (min-width:1281px) {
    /* hi-res laptops and desktops */

}




@media (min-width: 760px) {
    .footer-content {
        margin-left: auto;
        margin-right: auto;
        max-width: 1230px;
        padding: 40px 15px 450px;
        position: relative;
    }

    .footer-wave-svg {
        height: 50px;
    }

    .footer-content-column {
        width: 24.99%;
    }
}




/* media Query */
@media screen and (max-width:430px) {

    body,
    html {
        font-family: 'Raleway', sans-serif;
        width: 100%;
        overflow-x: hidden;
    }

    .navbar_menu {
        display: block;
        margin: 0;
        width: 50%;
        position: absolute;
        top: -1000px;
        opacity: 0;
        transition: all 0.5s ease;
        height: 50vh;
        z-index: -1;
        background: #131313;

    }

    .navbar_menu.active {
        border-radius: 0 0 5px 5px;
        background: #131313;
        top: 100%;
        opacity: 1;
        transition: all 0.5s ease;
        height: 70vh;
        z-index: 99;
        margin-left: 4rem;
        font-size: 1rem;
    }

    #navbar_logo {
        font-size: 1.3rem;
        padding-left: 0px;
    }

    .navbar_toggle .bar {
        width: 22px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3 ease-in-out;
        background: white;
    }

    .navbar_item {
        width: 100%;
    }

    .navbar_link {
        padding-right: 5rem;
        /* margin-right: 50rem; */

        text-align: center;
        /* padding: 1rem; */
        width: 100%;
        display: table;
    }

    #mobile-menu {
        position: absolute;
        top: 20%;
        right: 7%;
        /* transform: translate(5%, 20%); */
    }

    .navbar_btn {
        padding-bottom: 3rem;
    }

    .navbar_toggle .bar {
        display: block;
        cursor: pointer;
        border-radius: 5px;
    }

    header {
        height: 100vh;
    }

    .header_container {
        display: block;
        padding-bottom: 0rem;
    }
    .categories {
        height: 72rem;
        background: var(--color-bg1);
    }
    .categories h1 {
        line-height: 0;
        margin-bottom: 2rem;
    }

    .categories p {
        margin-bottom: 1rem;
    }


    .categories_container {
        display: block;
        gap: 0rem;
    }

    .categories_left {
        margin: 1rem 0 3rem;
    }

    .categories_right {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .category {
        height: 100%;
        text-align: center;
        background: var(--color-box);
        padding: 1rem;
        border-radius: 2rem;
        transition: var(--transition);

    }

    .category img {
        width: 35px;
        margin: 0 auto .8rem;
    }

    .courses {
        margin-top: 0rem;
    }
    
    .course_container {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 2rem;
    }


    .douts_conatiner {
        display: block;
    }
    
    .dout {
        border-radius: 5px;
       margin-bottom: 1.5rem;

    }
    
       
    .dout_icon {
        align-items: flex-start;
        font-size: 1.2rem;
    }
    
    .dout.open p {
        display: block;
    }
    
    
    



}
   