
* {
    font-family: "Poppins", sans-serif;
}

body, html {
    width: 100vw;
    overflow-x: clip;
}

.theme-primary {
    color: #a100ff;
}

.theme-secondary {
    color: #6601D9;
}
.theme-secondary-bg {
    background-color: #6601D9;
}

/* fonts */
.poppins-thin {
    font-family: "Poppins", sans-serif;
    font-weight: 100;
    font-style: normal;
}
.poppins-light {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.poppins-regular {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.poppins-medium {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.poppins-semibold {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.poppins-bold {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.lora{
    font-family: "Lora", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.logo{
    height:40px;
}

.button {
    border-radius: 7px;
    background-color: #6601D9;
    padding: 10px 15px;
    font-size: 1rem;
    color: white;
    transition: all ease .8s;
    text-decoration:none;
    border:none !important;
}

    .button:hover {
        color: #6601D9;
        background: #fff;
        text-decoration: none;
        box-shadow: inset 0 0 0 0 #579936;
        -webkit-transition: all ease .8s;
        -moz-transition: all ease .8s;
        transition: all ease .8s;
        display: inline-block;
        border: 1px solid #6601D9 !important;
    }

#topBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    background-color: #6601D9;
    color: white;
    border: none;
    border-radius: 50%;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 1000;
}

/*------- Navbar ---------*/
#mainNavbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.8) !important; 
}

#mainNavbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}


.nav-link {
    padding: 0 15px !important;
    font-size: 1rem;
    color: #000;
    text-decoration: none;
}

#mainNavbar {
    position: absolute;
    top: 2rem; 
    width: 100%;
    z-index: 999;
    transition: all 0.3s ease;
    background-color: transparent;
}

    /*#mainNavbar.sticky {
        position: fixed;
        top: 0;
        background-color: #003366;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }*/


.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    background-color: #6601D9; 
    color: white;
}

.custom-dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0; 
}

.custom-dropdown .dropdown-toggle::after {
    pointer-events: none;
}

/* -----------  hero section ------------- */
.hero-section {
    position: relative;
    overflow: hidden;
    height: 600px;
    padding-top: 80px;
    /*border-bottom-right-radius:200px;
    border-top-right-radius:200px;*/
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.8;
}

.bg-animated-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/banner-demo3.jpg');
/*    background: linear-gradient(to bottom right, #020624 20%, rgba(1, 7, 36, 0) 80%), url(/images/banner-demo.jpg);
*/    opacity: 0.8;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    z-index: -1;
        /*animation: moveBackground 20s linear infinite;
 transition: background-position 0.2s ease;*/
}

@keyframes moveBackground {
    0% {
        background-position: 0% 0%;
    }

    50% {
        background-position: 50% 50%;
    }

    100% {
        background-position: 100% 0%;
    }
}

.hero-heading {
    line-height: 60px !important;
    letter-spacing: 5px;
}

.head-line {
    font-size: 20px;    
    font-weight: 300;
}

.slider-container {
    height: 50px;
    overflow: hidden;
    position: relative;
}

.slider-text {
    display: flex;
    flex-direction: column;
    align-items: start;
    position: absolute;
/*    color: #a100ff;
*/    top: 0;
      color:white;
      text-shadow:2px 2px 3px black;
    left: 0;
    transition: transform 0.6s ease-in-out;
}

    .slider-text div {
        font-size: 2rem;
        height: 50px;
        line-height: 50px;
        text-align: center;
        white-space: nowrap;
    }

/*----------------- service section ------------------------*/

.service-bg {
    background-image: url('/images/bg-color.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.services-strip {
    display: flex;
    height: 400px;
    gap: 10px;
    justify-content: center;
    align-items: stretch;
}

.service-box {
    background-size: cover;
    background-position: center;
    border: 1px solid #ccc;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    width: 120px;
}


    .service-box.active {
        width: 300px; 
        box-shadow: 0 0 10px rgba(0,0,0,0.1);
    }

.service-header {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    background: #370075;
    color: white;
    text-align: center;
    padding: 10px;
    font-weight: bold;
    font-size: 16px;
    flex-shrink: 0;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-body {
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 20px;
}

.service-bg a {
    text-decoration: none;
    color: inherit;
}

.service-box.active .service-body {
    height: auto;
    opacity: 1;
    padding: 20px;
}

.service-body h3 {
    margin: 0 0 10px;
   
}

/*---------------- Why choose us section------------------------*/

.timeline-container {
        position: relative;
        padding-left: 40px;
    }

    .timeline-block {
        display: flex;
        align-items: flex-start;
        margin-bottom: 40px;
        position: relative;
    }

    .timeline-icon {
        background: #6601D9;
        text-align:center;
        color: white;
        padding: 15px;
        height:60px;
       width:60px;
        border-radius: 50%;
        font-size: 18px;
        margin-right: 20px;
        flex-shrink: 0;
        position:relative;
    }

    .timeline-content {
        padding: 10px;
    }

        .timeline-content h5 {
            margin-top: 0;
            font-size: 22px;
            letter-spacing: 3px;
        }

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: calc(30px + 38px); /* icon width/2 + padding */
    width: 4px;
    height: 100%;
    background: #6601D9;
    z-index: -1;
}
 /*------------ contact section -------------------*/

.contact-section {
    background: linear-gradient(to bottom right, #020624 20%, rgba(1, 7, 36, 0) 80%), url(/images//contact-home.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    z-index: 0;
    animation: moveBackground 10s linear infinite;
    transition: background-position 0.2s ease;
}

@keyframes moveBackground {
    0% {
        background-position: 0% 0%;
    }

    50% {
        background-position: 50% 50%;
    }

    100% {
        background-position: 100% 0%;
    }
}

    .contact-section .overlay {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background:#e6f2f7;
        opacity:0.1;
        z-index: 1;
    }

    .contact-section .container {
        position: relative;
        z-index: 2;
    }

/*----------- project section -------------------------*/
.image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

    .image-wrapper img {
        width: 100%;
        height: auto;
        display: block;
        transition: transform 0.4s ease;
    }

    .image-wrapper:hover img {
        transform: scale(1.05);
    }

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.image-wrapper:hover .overlay {
    opacity: 1;
}

.overlay .btn {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.image-wrapper:hover .overlay .btn {
    opacity: 1;
    transform: translateY(0);
}

.project-info {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: #fff;
}


.hover-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

    .hover-card img {
        transition: transform 0.4s ease;
    }

    .hover-card:hover img {
        transform: scale(1.05);
    }


.hover-card:hover .overlay {
    opacity: 1;
}

.overlay .btn {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.hover-card:hover .overlay .btn {
    opacity: 1;
    transform: translateY(0);
}

/*----------------------- Testimonial --------------------------------*/

#testimonialCarousel {
    height: 600px;
    overflow: hidden;
    position: relative;
}

.testim-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    height: 600px; 
    width: 100%;
    background-image: url('/images/testim-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.6;
    z-index: 1;
}

.testim-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.7); 
    z-index: 2;
}

.carousel-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    align-items: center;
    padding-top: 40px; 
    padding-bottom: 20px;
}

.carousel-heading {
    position: absolute;
    top: 40px;
    width: 100%;
    text-align: center;
    z-index: 3;
}

.carousel-testimonials {
    margin-top: 150px; 
    width: 100%;
}

    .carousel-content .container {
        padding-top: 20px;
    }

.testimonial img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
}

/*---------------------- footer -------------------------*/
.footer-bg {
    /*    background-image: url('/images/banner-bg.jpg');
*/ background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #d9eafc;
}
.footer-logo{
    width:200px;
}

footer p,span,li {
    font-size:15px;
}

footer a,
footer .social-links a {
    text-decoration: none;
    color: inherit;
}

    footer a:hover {
        color: #a100ff;
    }

/************************************ ABOUT DETAIL PAGE ******************************************/

.about-wrapper {
    position: relative;
    overflow: hidden;
}

.about-bg-strip {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(-40%);
    width: 100%;
    height: 450px;
    background-color: #d9eafd;
    z-index: 1;
}

.about-content {
    top:0;
    z-index: 2;
}

.about-text {
    max-width: 600px;
}

.about-image .circle-image {
    width: 500px;
    height: 300px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: white;
/*    animation: rotate360 20s linear infinite;
*/}
@keyframes rotate360 {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.about-bg {
    background-image:url('/images/about/about-bg.jpg');
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}
.about-pic{
    height:250px;
}

/*************************************** SERVICES DETAIL PAGE **************************************/

.service-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.why-choose-us {
    background: url('/images/services/service-whyus.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed; 
    color: white;
    position: relative;
}

    .why-choose-us .whyUs-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6); 
        z-index: 1;
    }

    .why-choose-us .container {
        position: relative;
        z-index: 2;
    }


/******************************  CONTACT DETAIL PAGE **********************************/
.contact .info, .contact .contact-form {
    padding: 30px;
    background: #fff;
    width: 100%;
    box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    border-bottom: 2px solid #6601D9;
    border-top: 2px solid #6601D9;
}

.contact h5 {
    margin-bottom: 5px;
    font-weight: 600;
}

.contact a {
    text-decoration: none;
    color: inherit;
}

    .contact a:hover {
        text-decoration: underline;
        color: blue;
    }

.contact-icon {
    background: #6601D9;
    display:flex;
    justify-content:center;
    align-items:center;
    color: white;
    padding: 8px;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    font-size: 18px;
    margin-right: 20px;
    flex-shrink: 0;
}

/*********************************** Portfolio ******************************************/

.cta-section {
    background: url('/images/demo.jpg') no-repeat center center/cover;
    position: relative;
    z-index: 1;
}

    .cta-section .cta-overlay {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.6); 
        z-index: -1;
    }

/************************************ News Detail Page ************************************************/

.news-hero {
    background: linear-gradient(rgba(79, 28, 81, 0.6), rgba(106, 44, 116, 0.6)), url('/images/news/news-banner.jpg') center/cover no-repeat;
    height: 300px;
}

.social-icons-box {
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    z-index: 10;
}

.sticky-custom {
    position: sticky;
    top: 50px;
    z-index: 10;
}

.social-icon i {
    font-size: 28px;
    color: #6601D9;
    transition: all 0.3s ease;
}

.social-icon:hover i {
    color: #6a2c74;
    transform: scale(1.2);
}

.breadcrumb-nav {
    font-size: 0.95rem;
    color: #fff;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.breadcrumb-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .breadcrumb-link:hover {
        text-decoration: underline;
        color: #ddd;
    }

.breadcrumb-separator {
    color: #fff;
    padding: 0 5px;
}

.breadcrumb-current {
    font-weight: 500;
    color: #e4e4e4;
}

/************************************ Testimonial ***********************************************/

.testimonial-row {
    background: white;
    border-left: 5px solid #6601D9;
    transition: transform 0.3s ease;
}

    .testimonial-row:hover {
        transform: translateX(5px);
    }

.client-photo img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 3px solid #e0e0e0;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

.testimonial-text p {
    font-style: italic;
    font-size: 1rem;
    color: #444;
}

.quote-icon {
    color: #6601D9;
    font-size: 2rem;
    margin-right: 5px;
}

/******************** Admin Login Page **************************************/

.login-card {
    padding: 2rem;
    border-radius: 12px;
    border:1px solid #ddd;
    width: 100%;
    max-width: 450px;
    color: black;
}

.form-control {
    border-radius: 8px;
}

.login-btn {
    background: #6601D9; 
    color: #fff;
    transition: 0.3s;
}

    .login-btn:hover {
        background: #fff;
        color: #6601D9;
    }
