@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --primary-clr: #0049AF;
    --light-clr: #BBDEFA;
    --white-clr: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    text-transform: capitalize;
    transition: .2s linear;
    font-family: "Poppins", sans-serif;
}

        /* Circle animations */
        .circle-outer,
        .circle-inner {
            stroke-dasharray: 471.24;
            stroke-dashoffset: 471.24;
            animation: draw-circle 1s ease-out forwards;
        }

        .circle-inner {
            stroke-dasharray: 314.16;
            stroke-dashoffset: -314.16;
        }

        @keyframes draw-circle {
            to {
                stroke-dashoffset: 0;
            }
        }

        /* Preloader rotation animation */
        .preloader {
            position: relative;
            animation: rotate-div 6s ease-out forwards;
        }

        @keyframes rotate-div {
            0% {
                transform: rotateZ(0deg) scale(1);
            }

            50% {
                transform: rotateZ(360deg) scale(1.5);
            }

            100% {
                transform: rotateZ(360deg) scale(2);
            }
        }

        /* Ribbon animations */
        .ribbon-left,
        .ribbon-right {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            opacity: 0;
        }

        .ribbon-left {
            left: -100vw;
            animation: moveInFromLeft 2s ease-out forwards, showText 0.5s ease-in 2s forwards;
        }

        .ribbon-right {
            right: -100vw;
            animation: moveInFromRight 2s ease-out forwards, showText 0.5s ease-in 2s forwards;
        }

        @keyframes moveInFromLeft {
            to {
                left: 75px;
                opacity: 1;
                transform: translate(-100%, -50%);
            }
        }

        @keyframes moveInFromRight {
            to {
                right: 75px;
                opacity: 1;
                transform: translate(100%, -50%);
            }
        }

        @keyframes showText {
            to {
                opacity: 1;
            }
        }

        /* Text styling */
        .text {
            font-size: 1.35rem;
            fill: black;
            font-weight: bold;
            font-family: Arial, Helvetica, sans-serif;
            opacity: 0;
            animation: showText 0.5s ease-in 2.5s forwards;
        }

        /* Adjusted font-size for 'igniting' text */
        .igniting .text {
            font-size: 0.65rem;
            font-weight: bold;
        }

        /* Image animation with fadeIn and spin */
        .animated-image {
            animation: fadeIn 1s ease-in forwards, spin 2s linear 1s forwards;
            animation-delay: 2s;
            opacity: 0;
            transform-origin: 50% 50%;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        @keyframes spin {
            from {
                transform: rotate(0deg);
            }

            to {
                transform: rotate(360deg);
            }
        }


::selection {
    background: var(--primary-clr);
    color: var(--white-clr);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-clr);
    border-radius: 6px;
}

html,
body {
    width: 100%;
    height: 100%;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    overflow-x: hidden;
    scroll-padding-top: 7rem;
}

section {
    padding: 0 10rem;
}

.heading {
    font-size: 4rem;
}

.paragraph {
    font-size: 1.6rem;
    color: #333;
    line-height: 2;
}


/* header section starts hare  */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    padding: 1.5rem 4rem;
    z-index: 100;
}

header .navbar {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgb(255 255 255 / 40%);
    backdrop-filter: blur(3px);
    border-radius: .9rem;
    padding: 0 .8rem;
    transition: none;
    transition: background .3s ease-out;
}

header .navbar .logo {
    height: 100%;
}

header .navbar .logo img {
    height: 100%;
}

header .navbar .links {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

header .navbar i {
    font-size: 2.5rem;
    color: var(--white-clr);
    cursor: pointer;
}

header .navbar .cross, header .menu-icon {
    display: none;
}

header .navbar .links a {
    color: var(--white-clr);
    padding: .2rem .8rem;
    border-radius: 2rem;
    font-size: 1.5rem;
    transition: .4s ease-out;
}

header .navbar .links :is(a.active, a:hover) {
    background: rgb(255 255 255 / 80%);
    color: #000;
}

header .navbar .links a:last-child {
    background: var(--primary-clr);
    padding: .4rem 1rem;
    border-radius: .4rem;
}

header .navbar .links a:last-child:hover {
    background: var(--white-clr);
}
/* header section ends hare  */

/* home section starts hare  */
.home {
    padding: 0;
}

.home .home-slider .box1 {
    background: linear-gradient(rgb(0 0 0 / 30%), rgb(0 0 0 / 30%)), url(../images/bg3.png);
}


.home .home-slider .box2 {
    background: linear-gradient(rgb(0 0 0 / 30%), rgb(0 0 0 / 30%)), url(../images/bg2.png);
}

.home .home-slider .box {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-size: cover;
    background-position: center;
}

.home .home-slider .box .content {
    text-align: center;
    max-width: 100rem;
}

.home .home-slider .box .content h1 {
    font-size: 6rem;
    color: var(--white-clr);
    text-transform: uppercase;
    transition-delay: .6s;
}

.home .home-slider .box .content p {
    line-height: 1.5;
    max-width: 66rem;
    margin: 2rem auto;
    color: #eee;
    transition-delay: .4s;
}

.home .home-slider .box .content .button {
    display: flex;
    justify-content: center;
    gap: 1rem;
    transition-delay: .2s;
}

.home .home-slider .box .content .button a {
    padding: .7rem 1.8rem;
    color: var(--white-clr);
    border-radius: .5rem;
    font-weight: 500;
    font-size: 1.5rem;
    background: var(--primary-clr);
    color: var(--white-clr);
    transition: .2s linear;
}

.home .home-slider .box .content .button a:last-child {
    background: var(--white-clr);
    color: #000;
}

.home .home-slider .box .content .button a:hover {
    color: #000;
    background: var(--white-clr);
}

.home .home-slider .box .content .button a:last-child:hover {
    color: var(--white-clr);
    background: var(--primary-clr);
}

.home .home-slider .box .content > * {
    transform: translateY(2rem);
    opacity: 0;
}

.home .home-slider .swiper-slide-active .content > * {
    transform: translateY(0);
    opacity: 1;
}
/* home section ends hare  */


/* service section starts hare  */

.service {
    padding-top: 5rem;
    padding-bottom: 5rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.service .box {
    flex: 1 0 240px;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 0 30px rgb(0 0 0 / 20%);
}

.service .box .icon {
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
    background: var(--light-clr);
    padding: 1.5rem;
    margin-bottom: 3rem;
}

.service .box .icon img {
    width: 100%;
    height: 100%;
}

.service .box h5 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service .box p {
    font-size: 1.5rem;
    line-height: 2;
}

/* service section ends hare  */


/* demo section starts hare  */

.demo {
    width: 100%;
    background: var(--light-clr);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.demo .video {
    width: 100%;
    position: relative;
    cursor: pointer;
}

.demo .video video {
    width: 100%;
    height: 50rem;
    object-fit: cover;
    object-position: center;
    border-radius: 2rem;
}

.demo .video img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.demo .box {
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.demo .box .content h4 {
    font-size: 6rem;
    font-weight: 600;
}

.demo .box .content p {
    margin-top: 2rem;
}

.demo .box .button a {
    background: var(--primary-clr);
    padding: .5rem 1.4rem;
    font-size: 1.6rem;
    border-radius: .5rem;
    background: var(--primary-clr);
    color: var(--white-clr);
}

.demo .box .button a:hover {
    color: #000;
    background: var(--white-clr );
}

/* demo section ends hare  */

/* home gallery section starts hare  */

.home-gallery {
    width: 100%;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.home-gallery .container {
    width: 100%;
}

.home-gallery .container .container-box {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.home-gallery .container .container-box .heading {
    max-width: 40rem;
}

.home-gallery .container .container-box .content {
    max-width: 50rem;
}

.home-gallery .container .container-box .content p {
    line-height: 1.7;
    color: #666;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.home-gallery .container .container-box .content a {
    color: var(--primary-clr);
    font-weight: 600;
    font-size: 1.2rem;
}

.home-gallery .container .container-box .content a i {
    margin-left: .5rem;
}

.home-gallery .container .container-box .content a:hover i {
    margin-left: .1rem;
}

.home-gallery .container .gallery {
    margin-top: 5rem;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem;
}

.home-gallery .container .gallery .box {
    height: 34rem;
    flex-grow: 1;
    overflow: hidden;
    border-radius: .8rem;
    position: relative;
}

.home-gallery .container .gallery .box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-gallery .container .gallery .box .text {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 1.5rem 2rem;
    z-index: 1;
}

.home-gallery .container .gallery .box .text h2 {
    font-size: 1.8rem;
    color: var(--white-clr);
    font-weight: 500;
}

/* home gallery section ends hare  */


/* feedback section starts hare  */

.feedback {
    padding: 5rem 0;
}

.feedback .text {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
}

.feedback .text h4 {
    margin-bottom: 1rem;
}

.feedback .text p {
    text-align: center;
}

.feedback .feedback-card .swiper-wrapper {
    display: flex;
    align-items: center;
    padding: 5rem 0;
}

.feedback .feedback-card .swiper-wrapper .content-box {
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 0 35px rgb(0 0 0 / 15%);
    cursor: grab;
    transition: background-color 0.3s ease;
}

.feedback .feedback-card .swiper-wrapper .content-box .profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.feedback .feedback-card .swiper-wrapper .content-box .profile img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.feedback .feedback-card .swiper-wrapper .content-box .profile .user h2 {
    font-size: 1.8rem;
    font-weight: 600;
}

.feedback .feedback-card .swiper-wrapper .content-box .profile .user p {
    font-size: 1.4rem;
    color: #666;
}

.feedback .feedback-card .swiper-slide-active.content-box {
    background-color: var(--primary-clr);
    padding: 3rem 2rem;
}

.feedback .feedback-card .swiper-slide-active.content-box p {
    color: var(--white-clr);
}

.feedback .feedback-card .swiper-slide-active.content-box .profile .user h2 {
    color: var(--white-clr);
    font-weight: 400;
}

.feedback .feedback-card .swiper-slide-active.content-box .profile .user p {
    color: rgb(255 255 255 / 60%);
}

.feedback .feedback-card .pagination .swiper-pagination-bullet {
    background-color: var(--primary-clr);
    opacity: .5;
}

.feedback .feedback-card .pagination .swiper-pagination-bullet-active {
    opacity: 1;
}
/* feedback section ends hare  */


/* footer section starts hare  */

footer {
    padding: 5rem 10rem;
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    flex-wrap: wrap;
}

footer .about-us {
    min-width: 50rem;
}

footer .about-us .logo {
    height: 100px;
}

footer .about-us .logo img {
    height: 100%;
}

footer .about-us p {
    color: #666;
    margin: 2rem 0;
}

footer .about-us p span {
    color: var(--primary-clr);
}

footer .about-us .icons {
    display: flex;
    gap: 2rem;
}

footer .about-us .icons .icon {
    padding: 3px 8px;
    background: var(--light-clr);
    border-radius: 50%;
    cursor: pointer;
}

footer .about-us .icons .icon a {
    color: var(--primary-clr);
    font-size: 1.8rem;
}

footer .links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 40rem;
}

footer .links h4 {
    color: #000;
    font-size: 1.8rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: .5rem;
}

footer .links a {
    font-size: 1.6rem;
    color: #444;
    display: block;
}

footer .links a:hover {
    color: var(--primary-clr);
}

footer .links a:hover i {
    color: #000;
    margin-right: .5rem;
}

/* footer section ends hare  */







/* media section starts hare  */
@media (max-width: 1180px) {
    section {
        padding: 0 5rem;
    }

    .demo .box .content h4 {
        font-size: 5rem;
    }

    footer {
        padding: 5rem;
    }
}


@media (max-width: 962px) {
    html {
        font-size: 57%;
    }
}


@media (max-width: 872px) {
    header {
        padding: 1.5rem;
    }

    header .navbar .links {
        gap: .5rem;
    }

    .demo .box .content h4 {
        font-size: 4rem;
    }

    .home-gallery .container .container-box {
        flex-direction: column;
        align-items: first baseline;
        gap: 2rem;
    }
}


@media (max-width: 768px) {
    
}


@media (max-width: 652px) {
    header .navbar .links {
        display: none;
    }

    header .navbar .menu-icon {
        display: block;
    }

    header .navbar.active .links {
        display: flex;
        width: 20rem;
        height: 100vh;
        position: absolute;
        top: -1.5rem;
        right: -1.5rem;
        background: #000;
        align-items: first baseline;
        flex-direction: column;
        padding: 0 2rem;
        padding-top: 8rem;
        gap: 1rem;
        box-shadow: -40px 0 6px 60rem rgb(0 0 0 / 40%);
        animation: slide .3s linear;
    }

    @keyframes slide {
        0% {
            transform: translate(20rem, 0);
        }
        100% {
            transform: translate(0);
        }
    }

    header .navbar.active .links a {
        width: 100%;
        display: block;
    }

    header .navbar .links .cross {
        display: block;
        position: absolute;
        top: 2rem;
        right: 4rem;
    }

    footer .about-us {
        min-width: 100%;
    }

    footer .about-us .logo {
        height: 50px;
    }
}


@media (max-width: 652px) {
    .home .home-slider .box .content h1 {
        font-size: 3rem;
    }

    .demo {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
    }

    .demo .video video {
        height: 40rem;
    }
}

@media (max-width: 435px) {
    section {
        padding: 0 3rem;
    }

    .demo .video video {
        height: 35rem;
    }

    .demo .box {
        padding: 0;
    }

    footer {
        padding: 3rem;
    }
}

@media (max-width: 390px) {
    .heading {
        font-size: 3rem;
    }
    
    .demo .box .content h4 {
        font-size: 3rem;
    }
}
/* media section ends hare  */