* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    list-style: none;
}

html {
    --white-color: #fff;
    --bg-color: rgb(31, 38, 65);
}

a {
    text-decoration: none;
}

body {
    background-image: url(../img/bg-texture.png);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
    color: var(--white-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

section,
footer {
    padding: 6rem 0;
}

.nav-content {
    background-color: rgb(108, 99, 255);
    z-index: 9999;
}

header nav ul li a {
    color: #fff;
    font-size: 18px;
}

.home-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    overflow: hidden;
}

.home-content h1,
.left-categorey h2,
.product h2,
.faqs h2,
.student-test h2 {
    font-weight: bold;
    font-size: 2.4rem;
}

.below-div-product h2 {
    font-size: 1.5rem;
}

.home-content p,
.left-categorey p,
.below-div-product p {
    margin: 1rem 0 2.3rem;
    line-height: 2;
}

.home {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
    top: 5rem;
    height: 90vh;
    margin: auto;
}

.left-home a {
    background-color: rgb(247, 88, 66);
    padding: 18px 30px;
    color: #fff;
}

.container,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
    width: 76%;
    margin: 0 auto;
}

.categorey {
    background-color: #2e3267;
    height: 33rem;
}

.icon-categorey {
    cursor: pointer;
    padding: 2rem;
    transition: all 0.4s;
    background-color: #424890;
    border-radius: 2rem;
}

.categorey-icon {
    background: #6c63ff;
    padding: 0.7rem;
    border-radius: 0.9rem;
}

.icon-categorey:nth-child(2) .categorey-icon {
    background-color: rgb(247, 88, 66);
}

.icon-categorey:nth-child(3) .categorey-icon {
    background-color: rgb(0, 191, 142);
}

.icon-categorey:nth-child(4) .categorey-icon {
    background-color: rgb(247, 201, 75);
}

.icon-categorey:nth-child(5) .categorey-icon {
    background-color: rgb(0, 191, 142);
}

.icon-categorey:nth-child(6) .categorey-icon {
    background-color: rgb(108, 99, 255);
}

.icon-categorey h6 {
    margin: 2rem 0 1rem;
    font-weight: bold;
}

.icon-categorey p {
    font-size: 0.85rem;
}

.left-categorey a {
    background-color: #ffff;
    padding: 18px 30px;
    color: #000;
    transition: all 0.4s;
    border: 1px solid transparent;
}

.left-categorey a:hover,
.below-div-product a:hover {
    background-color: transparent;
    border: 1px solid #ffff;
    color: #fff;
}

.categorey-content {
    display: grid;
    grid-template-columns: 40% 60%;
}

.right-categorey {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.product {
    margin-top: 10rem;
}

.product-content {
    background-color: rgb(46, 50, 103);
    border: 1px solid transparent;
    transition: all 0.4 ease;
    cursor: pointer;
}

.below-div-product {
    padding: 35px;
}

.below-div-product a {
    background-color: rgb(247, 88, 66);
    padding: 18px 30px;
    color: #000;
    transition: all 0.4s;
    border: 1px solid transparent;
    color: #fff;
}

.grid-product-system {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    text-align: center;
}

.product-content:hover {
    background: transparent;
    border-color: #6c63ff;
}

/* faqs */
.faqs,
footer {
    background: #2e3267;
    box-shadow: inset 0 0 0 rgba(0, 0, 0, 0.5);
}

.faqs-content h4 {
    font-size: 1rem;
    line-height: 2.2;
    font-weight: bold;
}

.faqs-content {
    display: grid;
    grid-template-columns: auto auto;
    gap: 20px;
}

.faq {
    padding: 2rem;
    display: flex;
    gap: 1.4rem;
    cursor: pointer;
    background-color: #6c63ff;
    height: fit-content;
}

.con {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

ul li a {
    color: #fff;
}

footer h3 {
    font-weight: bold;
    font-size: 1.3rem;
}

.footer-copy {
    text-align: center;
    padding: 2rem;
}
.student-test{}
/* //////////////////////////////////////////////////// */

@media screen and (max-width: 1085px) {
    .home {
        margin: 0px 25px;
    }
}

@media screen and (max-width: 600px) {
    .home-content {
        grid-template-columns: 1fr;
        text-align: center;
        margin-top: 1rem;
    }
}

@media screen and (max-width: 1024px) {
    .categorey {
        height: auto;
    }

    .categorey-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media screen and (max-width: 1026px) {
    .grid-product-system {
        grid-template-columns: repeat(2, 1fr);
    }

    .below-div-product h2 {
        font-size: 1rem;
    }

    .con {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 600px) {
    .grid-product-system {
        grid-template-columns: repeat(1, 1fr);
    }

    .con {
        grid-template-columns: repeat(1, 1fr);
    }

    .below-div-product h2 {
        font-size: 1rem;
    }
}

@media screen and (max-width: 1024px) {
    .faqs-content {
        grid-template-columns: auto;
    }
}