@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}


:root {
    --color-primary: #ff6363;
    --color-red: #ff1e1e;
    --color-success: #00bf8e;
    --color-warning: #f7c94b;
    --color-purple: #7700ff;
    --color-danger: #f75842;
    --color_danger-variant: rgba(247, 88, 66, 0.4);
    --color-white: #fff;
    --color-light: rgba(255, 255, 255, 0.7);
    --color-black: #000;
    --color-bg: #fff;
    --color-bg-darker: #181d33;
    --color-bg1: #672e2e;
    --color-bg2: #904242;
    --color-bg3: #a34747;
    --color-bg3-light: #bb5454;

    --container-width-lg: 76%;
    --container-width-md: 90%;
    --container-width-sm: 94%;
    --transition: all 400ms ease;

    --clr-font-main: hsla(0 0% 20% / 100);
    --btn-bg-1: rgb(197, 43, 43);
    --btn-bg-2: rgb(255, 70, 70);
    --btn-bg-color: hsla(360 100% 100% / 1);
    --radii: 0.5em;
}


body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--color-white);
    background: rgb(255, 255, 255);
    background: -moz-linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 245, 245, 1) 44%, rgba(255, 212, 212, 1) 100%);
    background: -webkit-linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 245, 245, 1) 44%, rgba(255, 212, 212, 1) 100%);
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 245, 245, 1) 44%, rgba(255, 212, 212, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff", endColorstr="#ffd4d4", GradientType=1);
}

.container {
    width: var(--container-width-lg);
    margin: 0 auto;
}

section {
    padding: 6rem 0;
}

section h2 {
    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.6rem;
}

h4 {
    font-size: 1.3rem;
}

a {
    color: var(--color-white);
}

img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.btn {
    display: inline-block;
    background: var(--color-white);
    color: var(--color-black);
    padding: .5rem 2rem;
    border: 1px solid transparent;
    font-weight: 500;
    transition: var(--transition);
    border-radius: .5rem;
}

.btn:hover:hover {
    color: var(--color-white);
    background: var(--color-bg3-light);
    border-color: var(--color-white);
}

.btn-primary {
    background: var(--color-danger);
    color: var(--color-white);
}



/*      NAVBAR      */

nav {
    background: #fff;
    width: 100vw;
    height: 5rem;
    position: fixed;
    top: 0;
    z-index: 11;
    transition: var(--transition);
}

.nav__container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav button {
    display: none;
    color: #000;
}

nav img {
    width: 200px;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.nav__menu a {
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    color: #000;
}

.nav__menu a:hover {
    color: var(--color-bg2);
}


/* active link */ 

.active__link{
    padding: .5rem;
    border-bottom: 2px solid #ff4d4d;
}

/*      Pensum bg    */

.bgdiff {
    background: var(--color-bg3-light);
}

.black-text {
    color: #000;
}


/*    Achievements     */

.about__achievements {
    background: rgb(255, 255, 255);
}

.bgmain {
    background-image: linear-gradient(to bottom, #0f172a, var(--color-bg1));
    
}

.bgdiff {
    background: rgb(255, 255, 255);
    background: -moz-linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 245, 245, 1) 44%, rgba(255, 212, 212, 1) 100%);
    background: -webkit-linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 245, 245, 1) 44%, rgba(255, 212, 212, 1) 100%);
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 245, 245, 1) 44%, rgba(255, 212, 212, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff", endColorstr="#ffd4d4", GradientType=1);
}

.about__achievements-container {
    display: grid;
    grid-template-columns: 40% 60%;
}

.padding__ach{
    padding-top: 5rem;
}

.about__achievements-right>p {
    margin: 1.6rem 0 0rem;
}

/*   first section img size   */ 
.img__size{
    width: 300px;
}


.achievements__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.achievements__card {
    padding: 1.6rem;
    border-radius: 1rem;
    text-align: center;
    transition: var(--transition);
}

.achievements__card>h4 {
    margin-bottom: 1rem;
    color: #000;
}

.achievements__card a {
    cursor: pointer;
}



.achievements__card p {
    margin-top: 1rem;
}

.achievements__icon {
    background: var(--color-danger);
    padding: 0.5rem;
    border-radius: 1rem;
    display: inline-block;
    margin-bottom: 2rem;
    margin-right: 1rem;
    font-size: 2rem;
}

.achievements__icon i {
    color: #fff;
}

.text-black{
    color: #000;
}

.about__achievements-left{
    padding-left: 5rem;
}

/* Header about */


.about__header {
    background-image: linear-gradient(to bottom, #0f172a, var(--color-bg1));
    padding-top: 10rem;
}

.about__header-container {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 5rem;
}

.about__header-right h1 {
    margin: 1.6rem 0 2.5rem;
}


.about__header-right i {
    font-size: 2rem;
}

.about__header-left {
    display: flex;
    justify-content: center;
}

.about__header-left img {
    width: 300px;
}

.header__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.header__card {
    background: var(--color-bg2);
    padding: 1.6rem;
    border-radius: 1rem;
    text-align: center;
    transition: var(--transition);
}

.header__card:hover {
    background: #3a3f7c;
    box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.3);
}

.header__icon {
    background: var(--color-danger);
    padding: 0.5rem;
    border-radius: 1rem;
    display: inline-block;
    margin-right: 1rem;
    color: #fff;
    font-size: 2rem;
}

.header__card p {
    margin-top: 1rem;
}




/*   Icons Fixed    */

.whatsapp__container {
    position: relative;
}

.whatsapp {
    position: fixed;
    width: 60px;
    height: 60px;
    line-height: 63px;
    bottom: 25px;
    right: 25px;
    background: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.3);
    z-index: 10;
    transition: all 300ms ease;

}

.whatsapp__noti {
    position: absolute;
    background-color: red;
    color: #fff;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    text-align: center;
    box-sizing: border-box;
    padding-top: 5px;
    right: -6px;
    top: -5px;
    font-size: 14px;
}

.whatsapp__noti span {
    position: absolute;
    top: -20px;
    right: 10px;
}



/*      Footer   */

footer {
    background: var(--color-bg1);
    padding-top: 5rem;
    font-size: 0.99rem;
}

.footer__container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5rem;
}

.footer__container>div h4 {
    margin-bottom: 1.2rem;

}


.footer__1 img{
    width: 70px;
}

footer ul li {
    margin-bottom: 0.7rem;
}

footer ul li a:hover {
    text-decoration: underline;
}

.footer__socials {
    display: flex;
    gap: 1rem;
    font-size: 1.2rem;
    margin-top: 2rem;
}

.copyright {
    text-align: center;
    margin-top: 4rem;
    padding: 1.2rem 0;
    border-top: 1px solid #ff6262;

}


/*      Media TABLETS  */

@media screen and (max-width: 900px) {
    .pensum__container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

}

@media screen and (max-width: 1024px) {
    .container {
        width: var(--container-width-md);
    }
    .about__achievements-left{
        padding-left: 0rem;
    }
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    h4 {
        font-size: 1.2rem;
    }

    /*      NAVBAR Responsive Menu  */

    nav button {
        display: inline-block;
        background: transparent;
        font-size: 1.8rem;
        cursor: pointer;
        animation: navAnimated 400ms ease;
        
    }

    nav button#close-menu-btn {
        display: none;
        animation: navAnimated 400ms ease;
    }

    .nav__menu {
        position: fixed;
        top: 5rem;
        right: 5%;
        height: fit-content;
        width: 18rem;
        flex-direction: column;
        gap: 0;
        display: none;
    }

    .nav__menu li {
        width: 100%;
        height: 5.8rem;
        animation: navAnimated 400ms ease;
    }

    .nav__menu li a {
        background: #fff;
        box-shadow: -4rem 6rem 10rem rgba(0, 0, 0, 0.6);
        width: 100%;
        height: 100%;
        display: grid;
        place-items: center;
    }

    .nav__menu li a:hover {
        background: var(--color-bg2);
        color: var(--color-white);
    }


    /*   Animated nav    */

    @keyframes navAnimated {
        0% {
            opacity: 0;
        }

        100% {
            opacity: 1;
        }

    }

    /*   FOOTER */
    .footer__container {
        grid-template-columns: 1fr 1fr;
    }

    /* first section img resize */ 

    .img__size{
        width: 100%;
    }
}

/*   MEDIA Movil */

@media screen and (max-width: 600px) {
    .container {
        width: var(--container-width-sm);
    }

    /*   NAVMENU */

    .nav__menu {
        right: 3%;
    }

     /*     Logo    */ 
    
     nav img {
        width: 150px;
    }
    

    /*  Footer */
    .footer__container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer__1  {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer__socials {
        justify-content: center;
    }

    /*   Achievements */
 /*  img first section */ 

 .about__header-left img {
    width: 100%;
}

  
}


/*    Responsive queries tablet    */

@media screen and (max-width: 1024px) {

    .about__achievements-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .about__achievements-left {
        width: 100%;
        margin: 0 auto;
    }
    .about__header-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .about__header-left {
        width: 100%;
        margin: 0 auto;
    }

}

/*    Responsive queries movil   */

@media screen and (max-width: 400px) {
    .achievements__cards {
        grid-template-columns: 1fr;
    }
    .header__cards{
        grid-template-columns: 1fr;
    }
}