.fact-box {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 201, 167, 0.3); /* aqua border */
    transition: 0.3s ease;
}

.fact-box:hover {
    box-shadow: 0 0 25px rgba(0, 201, 167, 0.4);
    transform: translateY(-5px);
}

.fact-number {
    color: #00c9a7;
    text-shadow: 0 0 10px rgba(0, 201, 167, 0.5);
}



/*** 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 15px;
    color: var(--bs-white);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.4s ease-in-out;
}

.navbar .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--bs-secondary);
    transition: width 0.4s ease-in-out;
}

.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-secondary) !important;
    text-shadow: 0 0 5px var(--bs-secondary);
}

/* Dropdown arrow styling */
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
    color: var(--bs-white);
}

/* Dropdown animation */
@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: scaleY(0.8);
        transform-origin: top;
        transition: transform 0.4s ease, opacity 0.3s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: scaleY(1);
        visibility: visible;
        opacity: 1;
    }
}

/*** Navbar End ***/



/*** Carousel Start ***/

.carousel-item {
    position: relative;
    height: 100vh;
    min-height: 600px;
}

.carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

/* Optional dark overlay */
.carousel-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.carousel-caption {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
    padding: 2rem;
}

.carousel-content {
    max-width: 800px;
}

.carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 201, 167, 0.5);
}

.carousel-caption p {
    color: #eee;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 35px auto;
}

/* Carousel buttons */
/*** Carousel Buttons (Tech View) ***/
.carousel-caption .carousel-content a button {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 12px rgba(0, 217, 255, 0.3);
    letter-spacing: 0.5px;
}

/* Primary Button */
.carousel-content-btn1 {
    background: var(--bs-secondary);
    color: var(--bs-dark);
    border: none;
}

.carousel-content-btn1:hover {
    background: var(--bs-primary);
    color: #fff;
    box-shadow: 0 0 20px var(--bs-primary);
}

/* Secondary Button */
.carousel-content-btn2 {
    background: var(--bs-primary);
    color: #fff;
    border: none;
}

.carousel-content-btn2:hover {
    background: var(--bs-secondary);
    color: #000;
    box-shadow: 0 0 20px var(--bs-secondary);
}

/*** Carousel Indicators ***/
#carouselId .carousel-indicators li {
    width: 30px;
    height: 10px;
    background: var(--bs-primary);
    margin: 10px;
    border-radius: 30px;
    opacity: 1;
    transition: background 0.3s ease;
}

#carouselId .carousel-indicators li:hover,
#carouselId .carousel-indicators .active {
    background: var(--bs-secondary);
}

/*** Carousel Controls - Technical View ***/
.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    opacity: 1;
    z-index: 10;
    padding: 0;
}

.carousel-control-prev:focus,
.carousel-control-next:focus {
    outline: none;
    box-shadow: none;
}

.carousel-control-prev .tech-btn-circle,
.carousel-control-next .tech-btn-circle {
    background-color: rgba(0, 217, 255, 0.15);
    border: 2px solid rgba(0, 217, 255, 0.4);
    color: #00d9ff;
    font-size: 1.25rem;
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.3);
    backdrop-filter: blur(3px);
}

.carousel-control-prev .tech-btn-circle:hover,
.carousel-control-next .tech-btn-circle:hover {
    background-color: #00d9ff;
    color: #000;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.6);
}

.carousel-control-prev {
    left: 15px;
}

.carousel-control-next {
    right: 15px;
}

.carousel-control-prev .tech-btn-circle {
    margin-left: 5px;
}

.carousel-control-next .tech-btn-circle {
    margin-right: 5px;
}

/*** Responsive Tweaks ***/
@media (max-width: 992px) {
    .carousel-item {
        min-height: 500px;
    }

    .carousel-caption h1 {
        font-size: 2.5rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        min-height: 400px;
    }

    .carousel-caption h1 {
        font-size: 2rem;
    }

    .carousel-caption p {
        font-size: 0.95rem;
    }

    .carousel-caption {
        padding: 1rem;
    }
}

/*** Carousel End ***/



/*** Services Start ***/

.services .services-item {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    padding: 10px 0;
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 217, 255, 0.1);
    backdrop-filter: blur(6px);
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.services .services-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 25px rgba(0, 217, 255, 0.3);
    border-color: rgba(0, 217, 255, 0.3);
}

.services-content {
    position: relative;
    padding: 30px 20px;
    z-index: 1;
}

.services-content::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(0, 217, 255, 0.1), rgba(0, 217, 255, 0));
    border-radius: 16px;
    z-index: -1;
    transition: opacity 0.5s;
    opacity: 0;
}

.services-item:hover .services-content::after {
    opacity: 1;
}

.services-content-icon i {
    font-size: 60px;
    color: #00d9ff;
    text-shadow: 0 0 12px rgba(0, 217, 255, 0.5);
    transition: 0.4s ease;
}

.services-content-icon h4 {
    color: #ffffff;
    margin-top: 20px;
    margin-bottom: 12px;
}

.services-content-icon p {
    color: #bbb;
    font-size: 15px;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.services-item:hover .services-content-icon i {
    color: #ffffff;
    text-shadow: 0 0 20px #00d9ff;
}

.services-item:hover .services-content-icon p {
    color: #e6f7ff;
}

/*** 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 ***/


/*** Team Start ***/

.team-item {
    border-top: 30px solid var(--bs-secondary) !important;
    background: rgba(239, 239, 241, 0.8);
}

.team-content::before {
    height: 200px;
    display: block;
    content: "";
    position: relative;
    top: -101px;
    background: var(--bs-secondary);
    clip-path: polygon(50% 50%, 100% 50%, 50% 100%, 0% 50%);
    padding: 60px;
    opacity: 1;
}

.team-img-icon {
    position: relative;
    margin-top: -200px;
    padding: 30px;
    padding-bottom: 0;
}

.team-img {
    border: 15px solid var(--bs-white);
}

.team-img img {
    border: 10px solid var(--bs-secondary);
    transition: .5s;
}

.team-item:hover h4 {
    color: var(--bs-primary);
    transition: .5s;
}

.team-item:hover .team-img img {
    transform: scale(1.05);
    border: 10px solid var(--bs-secondary);
}

.team-carousel .owl-stage {
    position: relative;
    width: 100%;
    height: 100%;
}

.team-carousel .owl-nav {
    position: absolute;
    top: -100px;
    right: 50px;
    display: flex;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    width: 56px;
    height: 56px;
    border-radius: 56px;
    margin-left: 15px;
    background: var(--bs-secondary);
    color: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

@media (max-width: 992px) {
    .team-carousel {
        margin-top: 3rem;
    }

    .team-carousel .owl-nav {
        top: -85px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        margin-left: -15px;
    }
}

/*** Team End ***/


/*** Testimonial Start ***/

.testimonial-item {
    background: #e3f0eb;

}

.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #c1dad0;
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--bs-primary);
}

.testimonial-carousel .owl-item.center {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
    box-shadow: 0 0 30px #DDDDDD;
}

/*** 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 ***/


/*** 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 ***/