@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    list-style: none;
    text-decoration: none;
    scroll-padding-top: 2rem;
    scroll-behavior: smooth;
}

/*scroll bar color */
html::-webkit-scrollbar {
    width: 0.5rem;
    background: #f1eaff;
}

html::-webkit-scrollbar-thumb {
    background: #392467;
    border-radius: 5rem;
}

body {
    background: #f1eaff;
    color: #392467;
}

/* SCROLL UP BUTTON */

.to-top {
    background: #F1EAFF;
    position: fixed;
    bottom: 16px;
    right:32px;
    width:50px;
    height:50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size:32px;
    color:#392467;
    text-decoration: none;
    opacity:0;
    pointer-events: none;
    transition: all .4s;
    z-index: 9999;
  }
  
.to-top.active {
    bottom:32px;
    pointer-events: auto;
    opacity:1;
}

/* Navi Bar */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 5%;
    background: rgba(241,234,255, .9);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    position: relative;
    font-size: 20px; 
    color: #392467;
    text-decoration: none;
    font-weight: 600;
}

.logo img {
    max-height: 30px;
}

.logo::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #f1eaff;
    animation: showRight 1s ease forwards;
    animation-delay: 0.4s;
}

.navibar a {
    font-size: 16px; 
    text-decoration: none;
    font-weight: 500;
    margin-left: 20px; 
    transition: 0.3s;
}

/* Add a media query for smaller screens */
@media only screen and (max-width: 768px) {
    .header {
        padding: 20px 5%;
    }

    .logo {
        font-size: 18px;
    }

    .navibar a {
        font-size: 14px;
        margin-left: 15px;
        transition: 0.3s;
    }

    .navibar a:hover,
    .navibar a.active {
        color: #fdbf60;
    }

    .c-button {
        position: relative;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 150px;
        height: 100%;
        margin-right: 5px;
        background: #392467;
        border: 2px solid #392467;
        border-radius: 8px;
        font-size: 19px;
        color: #fdbf60;
        text-decoration: none;
        font-weight: 600;
        letter-spacing: 1px;
        z-index: 1;
        overflow: hidden;
        cursor: pointer;
        transition: 0.3s;
    }

    .c-button:hover {
        color: #392467 !important;
        background: #fdbf60 !important;
    }

    .c-button::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 0;
        height: 100%;
        background: #fdbf60;
        z-index: -1;
        transition: 0.5s;
    }

    .c-button:hover::before {
        width: 100%;
    }
}

/* Add a media query for larger screens */
@media only screen and (min-width: 768px) {
    .navibar a {
        transition: 0.3s;
    }

    .navibar a:hover,
    .navibar a.active {
        color: #fdbf60;
    }

    .c-button {
        position: relative;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 150px;
        height: 100%;
        margin-right: 5px;
        background: #392467;
        border: 2px solid #392467;
        border-radius: 8px;
        font-size: 19px;
        color: #fdbf60;
        text-decoration: none;
        font-weight: 600;
        letter-spacing: 1px;
        z-index: 1;
        overflow: hidden;
        cursor: pointer;
        transition: 0.3s;
    }

    .c-button:hover {
        color: #392467 !important;
        background: #fdbf60 !important;
    }

    .c-button::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 0;
        height: 100%;
        background: #fdbf60;
        z-index: -1;
        transition: 0.5s;
    }

    .c-button:hover::before {
        width: 100%;
    }
}

/* Home Content */
.home {
    height: 100vh;
    background: url('home_bg.png') no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 10%;
}

.home-content {
    width: 30vw;
}

.home-content #name {
    position: relative;
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
}

.home-content #name::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #F1EAFF;
    animation: showRight 1s ease forwards;
    animation-delay: 1s;
}

.home-content #paragraph {
    position: relative;
    font-size: 30px;
    font-weight: 400;
}

.home-content #paragraph::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #F1EAFF;
    animation: showRight 1s ease forwards;
    animation-delay: 1.3s;
}

.home-content #status {
    position: relative;
    font-size: 20px;
    font-weight: bold;
    line-height: 15px;
    margin: 20px 0 20px;
}

.home-content #status::before {
    content: '';
    position: absolute;
    top: -5px;
    right: 0;
    margin-bottom: 10px;
    width: 100%;
    height: 40px;
    background: #F1EAFF;
    animation: showRight 1s ease forwards;
    animation-delay: 1.6s;
}

.home-content .btn-box {
    position: relative;
    display: flex;
    width: 300px;
    height: 50px;
}

.home-content .btn-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 120%;
    background: #F1EAFF;
    animation: showRight 1s ease forwards;
    animation-delay: 1.9s;
    z-index: 2;
}

.btn-box a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 100%;
    margin-right: 5px;
    background: #392467;
    border: 2px solid #392467;
    border-radius: 8px;
    font-size: 19px;
    color:#FDBF60;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 1;
    overflow: hidden;
}

.btn-box a:hover {
    color:#02265B;
}

.btn-box a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #FDBF60;
    z-index: -1;
    transition: .5s;
}

.btn-box a:hover::before {
    width: 100%;
}

.home-sci {
    position: absolute;
    bottom: 40px;
    width: 170px;
    display: flex;
    justify-content: space-between;
}

.home-sci::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #F1EAFF;
    animation: showRight 1s ease forwards;
    animation-delay: 2.5s;
    z-index: 2;
} 

.home-sci a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid #392467;
    border-radius: 50%;
    font-size: 20px;
    color:#392467;
    text-decoration: none;
    z-index: 1;
    overflow: hidden;
}

.home-sci a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #FDBF60;
    z-index: -1;
    transition: .5s;
}

.home-sci a {
    color:#392467;
}

.home-sci a:hover::before {
    width: 100%;
}

/* Preview Section */
.preview-heading {
    position: relative;
    width: 100%; 
    text-align: center;
    padding-bottom: 50px;
    justify-content: center;
    align-items: center;
    padding: 0 5%;
}

.preview-heading::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #F1EAFF;
    animation: showRight 1s ease forwards;
    animation-delay: 1.2s;
}

.preview-heading h3 {
    padding-top: 3%;
    font-size: 3em;
    font-weight: bolder;
    border-bottom: 2px solid purple; 
}
.preview .pbar a{
    font-size: 1rem;
    font-weight: 500;
    color: #392467;
}
.preview .pbar li{
    position: relative;
}

.preview .pbar{
    text-decoration: none;
    list-style: none;
    justify-content: center;
    display: flex;
    column-gap: 5rem;
    margin-bottom: 5px;
}

.preview .pbar a:after{
    content: '';
    width: 0;
    height: 2px;
    background: #392467;
    position: absolute;
    bottom: -4px;
    left: 0;
    transition: 0.4s all linear;
}

.preview .pbar a:hover::after {
    width:100%
}

/*preview slides*/

.swiper-slide {
    width: 100%;
    min-height: 800px;
    position: relative;
}

.swiper-slide img {
    position: absolute;
    width: auto; 
    height: auto; 
    min-height: 200px;
    max-width: 968px; 
    top: 0;
    left: 0;
    right: 0;
    bottom: 25%;
    margin: auto; 
    object-fit: contain;
    padding-bottom: 10px;
    border-radius: 2rem;
    z-index: -1;
}

/*swiper prominent*/
.swiper-pagination-bullet{
    width: 6px !important;
    height: 6px !important;
    border-radius: 0.2rem !important;
    background: #F1EAFF !important;
    opacity: 1 !important;
}

.swiper-pagination-bullet-active{
    width: 1.5rem !important;
    background-color: #392467 !important;
}

.text {
    position: absolute;
    width: 100%;
    top: 85%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #392467;
    background: #F1EAFF;
    z-index: 1;
    padding: 20px 20px;
    text-align: center; 
}

.text span{
    color: #392467;
    font-weight: 500;
    text-transform: uppercase;
}

.text h1 {
    color: #392467;

    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

/* Footer */

.footer {
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem 9%;
    background:#392467
}

.footer-text p {
    font-size: 1rem;
    color:#f1eaff;
    text-align: center;
}

@keyframes showRight {
    100% {
        width: 0;
    }
}
