@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");

:root {
    --header-height: 3rem;
  
    /*========== Colors ==========*/
    /*Color mode HSL(hue, saturation, lightness)*/
    --first-color: hsl(228, 66%, 53%);
    --first-color-alt: hsl(228, 66%, 47%);
    --first-color-light: hsl(228, 62%, 59%);
    --first-color-lighten: hsl(228, 100%, 97%);
    --second-color: hsl(25, 83%, 53%);
    --title-color: hsl(228, 57%, 28%);
    --text-color: hsl(228, 15%, 50%);
    --text-color-light: hsl(228, 12%, 75%);
    --border-color: hsl(228, 99%, 98%);
    --body-color: #170346;
    --container-color: #100347;

    /*========== Font and typography ==========*/
    /*.5rem = 8px | 1rem = 16px ...*/
    --body-font: 'Poppins', sans-serif;
    --biggest-font-size: 2.25rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
    --smaller-font-size: .75rem;

    /*========== Font weight ==========*/
    --font-medium: 500;
    --font-semi-bold: 600;

    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
}

/*=============BASE===========*/
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}
  
body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--text-color);
    transition: .3s; /* For animation dark mode */
}


h1, h2, h3 {
    color: var(--title-color);
    font-weight: var(--font-semi-bold);
}
  
ul {
    list-style: none;
}
  
a {
    text-decoration: none;
}

a.active{
    background: #14ff72cb;
    border-radius: 2px;
}

a:hover{
    /*background: #14ff72cb;*/
    border-radius: 2px;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
    max-width: 1200px;
   /* margin-left: 1.5rem;
    margin-right: 1.5rem;*/
  }
  
  .grid {
    display: grid;
  }
  
  .section {
    padding: 4.5rem 0 2rem;
  }
  
  .section__title {
    font-size: var(--h2-font-size);
    margin-bottom: 1rem;
  }
  
  .section__title span {
    color: var(--second-color);
  }
  
  .section__subtitle {
    display: block;
    font-size: var(--small-font-size);
    color: var(--second-color);
  }
  
  .main {
    overflow: hidden; /* For the animations ScrollReveal*/
  }



    /*=====================NAV========*/
        .nav {
            height: var(--header-height);
            position: relative;
        }

        .nav__logo,
        .nav__burger,
        .nav__close {
            color: var(--second-color);
        }

        .nav__menu {
            z-index: 9999;
        }

        .nav__data {
            height: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-left: -15%;
        }

        .nav__logo {
            display: inline-flex;
            align-items: center;
            column-gap: .25rem;
            font-weight: var(--font-semi-bold);
        }

        .nav__logo img {
            font-size: 1.25rem;
            font-weight: initial;
        }

        .img__logo {
            height: auto;
            width: 70px;
        }

        .nav__toggle {
            position: relative;
            width: 32px;
            height: 32px;
            align-items: center;
            justify-content: center;
        }

        .nav__burger,
        .nav__close {
            position: absolute;
            width: max-content;
            height: max-content;
            inset: 0;
            margin: auto;
            font-size: 1.25rem;
            cursor: pointer;
            transition: opacity .1s, transform .2s;
        }

        .nav__close {
            opacity: 0;
        }

        /* NAVIGATION FOR MOBILE DEVICES*/
        @media screen and (max-width: 1118px) {
            .nav__menu {
                position: absolute;
                left: 0;
                top: 2.5rem;
                width: 100%;
                background-color: gray;
                height: calc(100vh - 3.5rem);
                overflow: auto;
                pointer-events: none;
                opacity: 0;
                transition: top .2s, opacity .3s;
                animation-delay: .2s;
                z-index: 9999;
            }

            .nav__menu::-webkit-scrollbar {
                width: 0;
            }

            .nav__list {
                background-color: var(--body-color);
                padding-top: 1rem;
                animation-delay: .3s;
            }
        }

        .nav__link {
            color: var(--second-color);
            background-color: var(--body-color);
            font-weight: var(--font-semi-bold);
            padding: 1.25rem 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: background-color 0.3s;
            cursor: pointer;
            text-decoration: none;
        }

        .nav__link:hover {
            background-color: #220469;
            color: white;
        }

        /* Show menu */
        .show-menu {
            opacity: 1;
            top: 3.5rem;
            pointer-events: initial;
        }

        /* Show icon */
        .show-icon .nav__burger {
            opacity: 0;
            transform: rotate(90deg);
        }

        .show-icon .nav__close {
            opacity: 1;
            transform: rotate(90deg);
        }

        /*=============== DROPDOWN ===============*/
        .dropdown__item {
            cursor: pointer;
        }

        .dropdown__arrow {
            font-size: 1.25rem;
            font-weight: initial;
            transition: transform .3s;
        }

        .dropdown__link,
        .dropdown__sublink {
            padding: 1.25rem 1.25rem 1.25rem 2.5rem;
            color: var(--white-color);
            background-color: var(--black-color-light);
            display: flex;
            align-items: center;
            column-gap: .5rem;
            font-weight: var(--font-semi-bold);
            transition: background-color 0.3s;
            text-decoration: none;
        }

        .dropdown__link i,
        .dropdown__sublink i {
            font-size: 1.25rem;
            font-weight: initial;
        }

        .dropdown__link:hover,
        .dropdown__sublink:hover {
            background-color: var(--black-color);
        }

        .dropdown__menu,
        .dropdown__submenu {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.5s ease-out;
        }

        /* Show dropdown menu & submenu */
        .dropdown-open .dropdown__menu {
            max-height: 1000px;
            transition: max-height 0.5s ease-in;
        }

        /* Rotate dropdown icon */
        .dropdown-open .dropdown__arrow {
            transform: rotate(180deg);
        }

        /*=============== DROPDOWN SUBMENU ===============*/
        .dropdown__add {
            margin-left: auto;
        }

        .dropdown__sublink {
            background-color: var(--black-color-lighten);
        }

        /*=============== BREAKPOINTS ===============*/
        /* For small devices */
        @media screen and (max-width: 340px) {
            .container {
                margin-inline: 1rem;
            }

            .nav__link {
                padding-inline: 1rem;
            }

            .nav__burger,
            .nav__close {
                margin-right: -330px;
            }
        }

        /* For large devices */
        @media screen and (min-width: 1118px) {
            .container {
                margin-inline: auto;
            }

            .nav {
                height: calc(var(--header-height) + 2rem);
                display: flex;
                justify-content: space-between;
            }

            .nav__toggle {
                display: none;
            }

            .nav__list {
                height: 100%;
                display: flex;
                column-gap: 3rem;
            }

            .nav__link {
                height: 100%;
                padding: 0;
                justify-content: initial;
                column-gap: .25rem;
            }

            .nav__link:hover {
                background-color: transparent;
                color: var(--second-color);
            }

            .dropdown__item,
            .dropdown__subitem {
                position: relative;
            }

            .dropdown__menu,
            .dropdown__submenu {
                max-height: initial;
                overflow: initial;
                position: absolute;
                left: 0;
                top: 6rem;
                opacity: 0;
                pointer-events: none;
                transition: opacity .3s, top .3s;
                color: var(--second-color);
                background-color: var(--body-color);
                box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
                width: 250px;
            }

            .dropdown__link,
            .dropdown__sublink {
                padding-inline: 1rem 3.5rem;
            }

            .dropdown__subitem .dropdown__link {
                padding-inline: 1rem;
            }

            .dropdown__submenu {
                position: absolute;
                left: 100%;
                top: .5rem;
            }

            /* Show dropdown menu */
            .dropdown-open .dropdown__menu {
                opacity: 1;
                top: 5.5rem;
                pointer-events: initial;
                transition: top .3s;
                max-height: none;
            }

            /* Show dropdown submenu */
            .dropdown__subitem:hover>.dropdown__submenu {
                opacity: 1;
                top: 0;
                pointer-events: initial;
                transition: top .3s;
            }
        }
/*========= SLIDER=======*/
.carousel{
    width: 100vw;
    height: 100vh;
    margin-top: 5px;
    overflow: hidden;
    position: relative;
}

.carousel .list .item{
    width: 150px;
    height: 100px;
    position: absolute;
    top: 80%;
    transform: translateY(-70%);
    left: 70%;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    background-position: 50% 50%;
    background-size: cover;
    z-index: 100;
    transition: 1s;
}

.carousel .list .item:nth-child(1),
.carousel .list .item:nth-child(2){
    top: 0;
    left: 0;
    transform: translate(0, 0);
    border-radius: 0;
    width: 100%;
    height: 100%;
}


@media screen and (max-width: 640px){
    .carousel .list .item:nth-child(1),
    .carousel .list .item:nth-child(2){
        height: 72%;
    }
    
}


.carousel .list .item:nth-child(3){
    left: 85%;
}

.carousel .list .item:nth-child(4){
    left: calc(67% + 200px);
}

.carousel .list .item:nth-child(5){
    left: calc(67% + 400px);
}

.carousel .list .item:nth-child(6){
    left: calc(67% + 600px);
}

.carousel .list .item:nth-child(n+7){
    left: calc(67% + 800px);
    opacity: 0;
}







.list .item .content{
    position: absolute;
    top: 50%;
    left: 100px;
    transform: translateY(-50%);
    width: 400px;
    text-align: left;
    color: #fff;
    display: none;
}

.list .item:nth-child(2) .content{
    display: block;
}

.content .title{
    font-size: 100px;
    text-transform: uppercase;
    color: #14ff72cb;
    font-weight: bold;
    line-height: 1;

    opacity: 0;
    animation: animate 1s ease-in-out 0.3s 1 forwards;
}

.content .name{
    font-size: 100px;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 1;
    text-shadow: 3px 4px 4px rgba(255, 255, 255, 0.8);

    opacity: 0;
    animation: animate 1s ease-in-out 0.6s 1 forwards;
}

.content .des{
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 18px;
    margin-left: 5px;

    opacity: 0;
    animation: animate 1s ease-in-out 0.9s 1 forwards;
}

.content .btn{
    margin-left: 5px;

    opacity: 0;
    animation: animate 1s ease-in-out 1.2s 1 forwards;
}

.content .btn button{
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border: 2px solid #fff;
}

.content .btn button:nth-child(1){
    margin-right: 15px;
}

.content .btn button:nth-child(2){
    background: transparent;
    color: #14ff72cb;
    border: 2px solid #fff;
    transition: 0.3s;
}

.content .btn button:nth-child(2):hover{
    background-color: var(--body-color);
    color: #fff;
    border-color: var(--container-color);
}


@keyframes animate {
    
    from{
        opacity: 0;
        transform: translate(0, 100px);
        filter: blur(33px);
    }

    to{
        opacity: 1;
        transform: translate(0);
        filter: blur(0);
    }
}

/* Carousel */






/* next prev arrows */

.arrows{
    position: absolute;
    top: 80%;
    right: 52%;
    z-index: 100;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 10px;
    align-items: center;
}

.arrows button{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #2303a1;
    color: #fff;
    border: none;
    outline: none;
    font-size: 16px;
    font-family: monospace;
    font-weight: bold;
    transition: .5s;
    cursor: pointer;
}

.arrows button:hover{
    background: #fff;
    color: #000;
}


/* time running */
.carousel .timeRunning{
    position: absolute;
    z-index: 1000;
    width: 0%;
    height: 4px;
    background-color: var(--container-color);
    left: 0;
    top: 0;
    animation: runningTime 7s linear 1 forwards;
}

@keyframes runningTime {
    
    from{width: 0%;}
    to{width: 100%;}

}


/* Responsive Design */

@media screen and (max-width: 999px){
    
    header{
        padding-left: 50px;
    }

    .list .item .content{
        left: 50px;
    }

    .content .title, .content .name{
        font-size: 70px;
    }

    .content .des{
        font-size: 16px;
    }


}

@media screen and (max-width: 690px){
    header nav a{
        font-size: 14px;
        margin-right: 0;
    }
    .carousel{
        height: 60vh;
    }

    .list .item .content{
        top: 40%;
    }

    .content .title, .content .name{
        font-size: 45px;
    }

    .content .btn button{
        padding: 10px 15px;
        font-size: 14px;
    }

}



/*======== FOOTER ======== */
.foot__img{
    width: 80px;
    margin-bottom: 30px;
}

footer{
    width: 100%;
    /*position: absolute;*/
    bottom: 0;
    background: linear-gradient(to right, #00093c, #2d0b00);
    color: #fff;
    padding: 20px 0 30px;
    border-top-left-radius: 125px;
    font-size: 13px;
    line-height: 20px;
}
.rowf{
    width: 85%;
    margin: auto;
    display:flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
}
.col{
    flex-basis: 25%;
    padding: 10px;
}
.col:nth-child(2),
.col:nth-child(3){
    flex-basis: 15%;
}

.col h3{
    width: fit-content;
    margin-bottom: 50px;
    position: relative;
    color: var(--second-color);
}
.email-idf{
    width: fit-content;
    border-bottom: 1px solid #ccc;
    margin: 20px 0;
}
ul li{
    list-style: none;
    margin-bottom: 12px;
}
ul li a{
    text-decoration: none;
    color: #fff;
}
.format{
    padding-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    border-bottom: 1px solid #ccc;
    margin-bottom: 50px;
}

form .bx{
    font-size: 18px;
    margin-right: 10px;
}

form .inputf{
    width: 100%;
    background: transparent;
    color: #ccc;
    border: 0;
    outline: none;
}
form .formbut{
    background: transparent;
    border: 0;
    outline: none;
    cursor: pointer;
}
form .formbut .bx{
    font-size: 16px;
    color: #ccc;
}

.social-icons .bx{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 20px;
    color: #fff;
   /* background: #fff;*/
    margin-right: 15px;
    cursor: pointer;
}
hr{
   width: 90%;
   border: 0;
   border-bottom: 1px solid #ccc;
   margin: 20px auto; 
}

.copyright{
    text-align: center;
}

.underline{
    width: 100%;
    height: 5px;
    background: #767676;
    border-radius: 3px;
    position: absolute;
    top: 25px;
    left: 0;
    overflow: hidden;
}
.underline span{
    width: 15px;
    height: 100%;
    background: #fff;
    border-radius: 3px;
    position: absolute;
    top: 0;
    left: 10px;
    animation: moving 2s linear infinite;
}

#load-more{
    margin-top: 10px;
    display: inline-block;
    padding: 10px 30px;
    border: 1px solid #334;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    background-color: hsl(25, 83%, 53%);
    margin-left: 60%;
}

@keyframes moving{
    0%{
        left: -20px;
    }
    100%{
        left: 100%;
    }
}

@media (max-width: 700px){
    footer{
        bottom: unset;
    }
    .col{
        flex-basis: 100%;
    }
    .col:nth-child(2),
    .col:nth-child(3){
        flex-basis: 100%;
    }

    
}




