

/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
 }

 #spinner.show {
     transition: opacity .8s ease-out, visibility 0s linear .0s;
     visibility: visible;
     opacity: 1;
 }

/*** Spinner End ***/


/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-md-square {
    width: 46px;
    height: 46px;
}

.btn-lg-square {
    width: 58px;
    height: 58px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.back-to-top {
    position: fixed;
    width: 50px;
    height: 50px;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

/*** Button End ***/


/*** Topbar Start ***/

.topbar .top-info {
    letter-spacing: 1px;
}

.topbar .top-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar .top-link a {
    margin-right: 10px;
}

#note {
    width: 500px;
    overflow: hidden;
}

#note small {
    position: relative;
    display: inline-block;
    animation: mymove 5s infinite;
    animation-timing-function: all;
}

@keyframes mymove {
    from {left: -100%;}
    to {left: 100%;}
}

/*** Topbar End ***/


/*** Navbar Start ***/
.navbar .navbar-nav {
    padding: 15px 0;
}

.navbar .navbar-nav .nav-link {
    padding: 10px;
    color: var(--bs-white);
    font-size: 18px;
    outline: none;
    
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-secondary) !important;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "font awesome 5 free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    transition: .5s;
    opacity: 1;
}

/*** Navbar End ***/


/*** Carousel Start ***/

.carousel-item {
    position: relative;
}

.carousel-item::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .6);
}

.carousel-caption {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.carousel-item p {
    max-width: 700px;
    margin: 0 auto 35px auto;
}

.carousel-control-prev {
    width: 90px;
    height: 60px;
    position: absolute;
    top: 50%;
    left: 0;
    background: var(--bs-primary);
    border-radius: 0 50px 50px 0;
    opacity: 1;
}

.carousel-control-prev:hover {
    background: var(--bs-secondary);
    transition: .8s;
}

.carousel-control-next {
    width: 90px;
    height: 60px;
    position: absolute;
    top: 50%;
    right: 0;
    background: var(--bs-primary);
    border-radius: 50px 0 0 50px;
    opacity: 1;
}

.carousel-control-next:hover {
    background: var(--bs-secondary);
    transition: .8s;
}

.carousel-caption .carousel-content a button.carousel-content-btn1 {
    background: var(--bs-secondary);
    color: var(--bs-dark);
    opacity: 1;
    border: 0;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn1:hover {
    background: var(--bs-primary);
    color: #ffffff;
    border: 0;
    opacity: 1;
    transition: 1s;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn2 {
    background: var(--bs-primary);
    color: var(--bs-white);
    opacity: 1;
    border: 0;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn2:hover {
    background: var(--bs-secondary);
    color: var(--bs-dark);
    border: 0;
    opacity: 1;
    transition: 1s;
    border-radius: 20px;
}

#carouselId .carousel-indicators li {
    width: 30px;
    height: 10px;
    background: var(--bs-primary);
    margin: 10px;
    border-radius: 30px;
    opacity: 1;
}

#carouselId .carousel-indicators li:hover {
    background: var(--bs-secondary);
    opacity: 1;
}

@media (max-width: 992px) {
    .carousel-item {
        min-height: 500px;
    }
    
    .carousel-item img {
        min-height: 500px;
        object-fit: cover;
    }

    .carousel-item h1 {
        font-size: 40px !important;
    }

    .carousel-item p {
        font-size: 16px !important;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        min-height: 400px;
    }
    
    .carousel-item img {
        min-height: 400px;
        object-fit: cover;
    }

    .carousel-item h1 {
        font-size: 28px !important;
    }

    .carousel-item p {
        font-size: 14px !important;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-white);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--bs-white);
}

/*** Carousel End ***/


/*** Services Start ***/

.services .services-item {
    box-shadow: 0 0 60px rgba(0, 0, 0, .2);
    width: 100%;
    height: 100%;
    border-radius: 10px;
    padding: 10px 0;
    position: relative;
}


.services-content::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-radius: 10px 10px 0 0;
    background: rgba(3, 43, 243, 0.8);
    transition: .5s;
}

.services-content::after {
    top: 0;
    bottom: auto;
    border-radius: 10px 10px 10px 10px;
}

.services-item:hover .services-content::after {
    height: 100%;
    opacity: 1;
    transition: .5s;
}

.services-item:hover .services-content-icon {
    position: relative;
    z-index: 2;
}

.services-item .services-content-icon i,
.services-item .services-content-icon p {
    transition: .5s;
}

.services-item:hover .services-content-icon i {
    color: var(--bs-secondary) !important;
}

.services-item:hover .services-content-icon p {
    color: var(--bs-white);
}

/*** Services End ***/


/*** Project Start ***/

.project-img {
    position: relative;
    padding: 15px;
}

.project-img::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    top: 0;
    left: 0;
    background: var(--bs-secondary);
    border-radius: 10px;
    opacity: 1;
    z-index: -1;
    transition: .5s;
}

.project-img::after {
    content: "";
    width: 150px;
    height: 150px;
    position: absolute;
    right: 0;
    bottom: 0;
    background: var(--bs-primary);
    border-radius: 10px;
    opacity: 1;
    z-index: -1;
    transition: .5s;
}

.project-content {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.project-content a {
    display: inline-block;
    padding: 20px 25px;
    background: var(--bs-primary);
    border-radius: 10px;
}

.project-item:hover .project-content {
    opacity: 1;
    transition: .5s;
}

.project-item:hover .project-img::before,
.project-item:hover .project-img::after {
    opacity: 0;
}

/*** Project End ***/


/*** Blog Start ***/
.blog-item .blog-btn {
    z-index: 2;
}

.blog-btn .blog-btn-icon {
    height: 50px;
    position: relative;
    overflow: hidden;
}

.blog-btn-icon .blog-icon-2 {
    display: flex;
    position: absolute;
    top: 6px;
    left: -140px;
    
}

.blog-btn-icon:hover .blog-icon-2 {
    transition: 1s;
    left: 5px;
    top: 6px;
    padding-bottom: 5px;
}
.blog-icon-1 {
    position: relative;
    top: -4px;
}
.blog-btn-icon:hover .blog-icon-1 {
    top: 0;
    right: -140px;
    transition: 1s;
}

/*** Blog End ***/



/*** Testimonial Start ***/
.testimonial-bento {
    background: #f8f9fa;
}

/* GRID */
.testimonial-bento .bento-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

/* CARD BASE */
.testimonial-bento .card-custom {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: 0.3s ease;
    height: 100%;
}

.testimonial-bento .card-custom:hover {
    transform: translateY(-5px);
}

/* FEATURED DARK CARD */
.testimonial-bento .featured {
    background: #0b0b0b;
    color: #fff;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-bento .featured p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* USER HEADER */
.testimonial-bento .user {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.testimonial-bento .user img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

/* RATING */
.testimonial-bento .rating {
    font-size: 0.85rem;
    color: #f59e0b;
    font-weight: 600;
}

/* TEXT */
.testimonial-bento .text {
    font-size: 0.95rem;
    color: #374151;
    margin: 15px 0;
}

.testimonial-bento .featured .text {
    color: #e5e7eb;
}

/* NAME */
.testimonial-bento .name {
    font-weight: 600;
    margin-top: 10px;
}

.testimonial-bento .role {
    font-size: 0.85rem;
    color: #6b7280;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .testimonial-bento .bento-grid {
        grid-template-columns: 1fr;
    }
    .testimonial-bento .featured {
        grid-row: span 1;
    }
}
/*** Testimonial End ***/


/*** Contact Start ***/
.contact-detail::before {
    position: absolute;
    content: "";
    height: 50%;
    width: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(rgb(210, 243, 235, 1), rgba(230, 250, 245, .3)), url(../img/background.jpg) center center no-repeat;
    background-size: cover;
    border-radius: 10px;
    z-index: -1;
}

.contact-map {
    background: #26d48c;
}

.contact-form {
    background: #26d48c;
}

/*** Contact End ***/


    /* carousel  */
    .carousel-item {
        position: relative;
        min-height: 100vh;
    }
    .carousel-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 0;
    }
    /* Caption styling - perfectly centered */
    .carousel-caption {
        position: absolute;
        top: 50%;
        left: 5%;
        right: 5%;
        transform: translateY(-50%);
        background: transparent !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
        z-index: 2;
        padding: 1rem;
    }
    /* Ensure text readability */
    .carousel-caption h1,
    .carousel-caption h6,
    .carousel-caption p {
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    }
    /* Override any default Bootstrap caption positioning */
    .carousel-caption {
        bottom: auto !important;
        top: 50% !important;
        transform: translateY(-50%);
    }
    /* Desktop refinements */
    @media (min-width: 992px) {
        .carousel-caption {
            left: 10%;
            right: 10%;
        }
        .carousel-caption h1.display-1 {
            font-size: 4rem;
        }
        .carousel-caption .btn {
            padding: 0.75rem 2rem;
            font-size: 1rem;
        }
    }
    /* Mobile adjustments */
    @media (max-width: 768px) {
        .carousel-item {
            min-height: 70vh;
        }
        .carousel-caption h1.display-1 {
            font-size: 1.8rem;
        }
        .carousel-caption .h4 {
            font-size: 1rem;
        }
        .carousel-caption p {
            font-size: 0.85rem;
        }
        .carousel-caption .btn {
            padding: 0.4rem 1rem;
            font-size: 0.75rem;
        }
    }
    /* Ensure container doesn't add unwanted padding */
    .container-fluid.px-0 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }


/*** Footer Start ***/

.footer .short-link a,
.footer .help-link a,
.footer .contact-link a {
    transition: .5s;
}

.footer .short-link a:hover,
.footer .help-link a:hover,
.footer .contact-link a:hover {
    letter-spacing: 1px;
}

.footer .hightech-link a:hover {
    background: var(--bs-secondary);
    border: 0;
}

/*** Footer End ***/


        .carousel-item img {
            width: 100%;
            height: auto;
            object-fit: cover;
            max-height: 90vh;
        }

        /* Improve carousel caption readability and positioning on all screens */
        .carousel-caption {
            background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
            border-radius: 20px;
            left: 5%;
            right: 5%;
            bottom: 10%;
            padding: 1rem;
        }

        @media (min-width: 768px) {
            .carousel-caption {
                left: 10%;
                right: 10%;
                bottom: 20%;
                padding: 1.5rem;
            }
        }

   
        @media (min-width: 768px) {
            .carousel-caption .btn {
                padding: 0.75rem 1.8rem;
                font-size: 1rem;
            }
        }

        /* General responsive typography */
        h1, .h1 {
            word-break: break-word;
        }

        /* Counter section: better alignment on small screens */
        .counter {
            flex-direction: column;
            align-items: center;
            text-align: center;
        }
        @media (min-width: 768px) {
            .counter {
                flex-direction: row;
                text-align: left;
            }
        }

        /* Services icons scale down on mobile */
        @media (max-width: 576px) {
            .services-content-icon i.fa-7x {
                font-size: 3.5rem !important;
            }
            .services-item .p-4 {
                padding: 1.5rem !important;
            }
        }

        /* Project items images responsiveness */
        .project-img img {
            width: 100%;
            height: 250px;
            object-fit: cover;
        }
        @media (max-width: 768px) {
            .project-img img {
                height: 200px;
            }
        }


        /* Contact section spacing */
        .contact-detail {
            padding: 1rem !important;
        }
        @media (min-width: 992px) {
            .contact-detail {
                padding: 3rem !important;
            }
        }

        /* Ensure iframe map fully responsive */
        .contact-map iframe {
            min-height: 300px;
        }

        /* Accessibility: focus outlines */
        a:focus-visible, button:focus-visible, .btn:focus-visible {
            outline: 3px solid #0d6efd;
            outline-offset: 2px;
            border-radius: 4px;
        }

        /* Footer links better spacing */
        .short-link a, .help-link a, .contact-link a {
            transition: color 0.2s;
        }
        .short-link a:hover, .help-link a:hover, .contact-link a:hover {
            color: #f0b400 !important;
            text-decoration: underline;
        }

        /* Back to top button stays readable on mobile */
        .back-to-top {
            bottom: 20px;
            right: 20px;
        }

        /* Spinner z-index fix */
        #spinner {
            z-index: 9999;
        }

        /* Navbar toggler spacing */
        .navbar-toggler {
            margin-right: 0;
        }


        /* HERO GRID BACKGROUND */
.faq-hero {
    background-color: #F8F8F9;
    background-image:
        linear-gradient(#e0e0e0 1px, transparent 1px),
        linear-gradient(90deg, #e0e0e0 1px, transparent 1px);
    background-size: 30px 30px;
}

/* TITLE */
.faq-hero h1 {
    color: #1842b6;
}

.faq-hero .accent {
    color: #26d48c;
    font-style: italic;
}

/* SEARCH */
#faqSearch {
    border-radius: 12px;
    border: 1px solid #ddd;
}

/* ACCORDION STYLE */
.accordion-item {
    border: none;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.accordion-button {
    background-color: #ffffff;
    color: #1842b6;
    font-weight: 600;
    padding: 20px;
    border: none;
}

.accordion-button:not(.collapsed) {
    background-color: #1842b6;
    color: #fff;
}

.accordion-body {
    background: #fff;
    color: #555;
    padding: 20px;
}

/* REMOVE DEFAULT ICON + CLEAN LOOK */
.accordion-button::after {
    filter: brightness(0.5);
}

/* COOKIE CARD */
.cookie-card {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 340px;
    background: #F8F8F9;
    border-radius: 16px;
    padding: 25px 20px;
    z-index: 9999;

    box-shadow: 0 15px 40px rgba(0,0,0,0.15);

    transform: translateY(30px) scale(0.95);
    opacity: 0;
    visibility: hidden;

    transition: all 0.4s ease;
}

/* SHOW ANIMATION */
.cookie-card.show {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

/* ICON */
.cookie-icon {
    font-size: 40px;
    text-align: center;
    margin-bottom: 10px;
}

/* BUTTON */
.cookie-btn {
    background: #1842b6;
    color: #fff;
    border-radius: 10px;
    padding: 10px;
    font-weight: 500;
    border: none;
    transition: 0.3s;
}

.cookie-btn:hover {
    background: #26d48c;
    color: #000;
}

/* CLOSE BUTTON */
.cookie-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 22px;
    color: #888;
    cursor: pointer;
}

/* TEXT */
.cookie-card h5 {
    color: #1842b6;
    text-align: center;
}

.cookie-card p {
    font-size: 14px;
    color: #555;
    text-align: center;
}

/* MOBILE RESPONSIVE */
@media (max-width: 576px) {
    .cookie-card {
        width: 90%;
        right: 5%;
        bottom: 15px;
    }
}