/********** Template CSS **********/
:root {
    --primary: #009CFF;
    --secondary: #777777;
    --light: #F8F8F8;
    --dark: #252525;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 20px 0;
    color: #FFFFFF;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--dark);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 8px 0;
    }

    .navbar .navbar-nav {
        margin-top: 8px;
        border-top: 1px solid rgba(256, 256, 256, .1)
    }
}

@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;
    }
}


/*** Header ***/
#header-carousel .carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    z-index: 1;
}

#header-carousel .carousel-control-prev,
#header-carousel .carousel-control-next {
    width: 10%;
}

#header-carousel .carousel-control-prev-icon,
#header-carousel .carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

#header-carousel .carousel-indicators [data-bs-target] {
    width: 60px;
    height: 60px;
    text-indent: 0;
    margin-bottom: 15px;
    border: 2px solid #FFFFFF;
    border-radius: 60px;
    overflow: hidden;
}

#header-carousel .carousel-indicators [data-bs-target] img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--secondary);
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 4px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}



/*** Img Border ***/
.img-border {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.img-border::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    right: 3rem;
    bottom: 3rem;
    border: 5px solid var(--primary);
    border-radius: 6px;
}

.img-border img {
    position: absolute;
    top: 3rem;
    left: 3rem;
    width: calc(100% - 3rem);
    height: calc(100% - 3rem);
    object-fit: cover;
    border-radius: 6px;
}


/*** Facts ***/
/* =======================
   FACT CARD - FINAL UI
======================= */

.fact-item {
    position: relative;
    border-radius: 16px;
    padding: 50px 30px;
    text-align: center;
    height: 100%;
    overflow: hidden;

    /* 🔥 Gradient glass background (NO WHITE) */
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.08), rgba(0, 198, 255, 0.08));
    
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: 1px solid rgba(13, 110, 253, 0.15);

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

    transition: all 0.4s ease;
}

/* 🔥 Animated gradient border */
.fact-item::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, #0d6efd, #00c6ff, #0d6efd);
    
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;

    opacity: 0;
    transition: 0.4s ease;
}

/* 🔥 Hover state */
.fact-item:hover {
    transform: translateY(-10px) scale(1.02);

    /* Full color fill */
    background: linear-gradient(135deg, #0d6efd, #00c6ff);

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* Show glowing border */
.fact-item:hover::before {
    opacity: 1;
}

/* Icon animation */
.fact-item i {
    transition: all 0.4s ease;
}

.fact-item:hover i {
    transform: scale(1.2) rotate(5deg);
    color: #fff !important;
}

/* Title */
.fact-item h5 {
    transition: 0.3s ease;
}

/* Number */
.fact-item h1 {
    transition: 0.3s ease;
}

/* Text color change on hover */
.fact-item:hover h5,
.fact-item:hover h1 {
    color: #fff;
}

/* Optional: smoother number feel */
.fact-item h1 {
    font-weight: 700;
    letter-spacing: 1px;
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    border: 1px solid transparent;
    transition: .5s;
}

.service-item:hover {
    margin-top: -10px;
    box-shadow: none;
    border: 1px solid #DEE2E6;
}


/*** Feature ***/
.progress {
    height: 5px;
}

.progress .progress-bar {
    width: 0px;
    transition: 3s;
}


/*** Project ***/
.project-item .position-relative > a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: rgba(0, 0, 0, .5);
    border-radius: 6px;
    opacity: 0;
    transition: .5s;
}

.project-item:hover a {
    opacity: 1;
}

.project-carousel .owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.project-carousel .owl-dot {
    width: 35px;
    height: 35px;
    margin: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DEE2E6;
    border-radius: 35px;
    transition: .5s;
}

.project-carousel .owl-dot:hover,
.project-carousel .owl-dot.active {
    color: #FFFFFF;
    border-color: var(--primary);
    background: var(--primary);
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.team-item .team-text {
    position: relative;
    height: 65px;
    overflow: hidden;
}

.team-item .team-title {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-item:hover .team-title {
    top: -65px;
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 65px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    transition: .5s;
}

.team-item .team-social .btn {
    margin: 0 3px;
}

.team-item:hover .team-social {
    top: 0;
}


/*** Testimonial ***/

.testimonial-carousel .owl-item .testimonial-item img {
    width: 60px;
    height: 60px;
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DEE2E6;
    border-radius: 50px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    border-color: var(--primary);
    background: var(--primary);
}

/* ===== Equal Height Fix for Owl Carousel ===== */

/* Make owl stage behave like flex */
.testimonial-carousel .owl-stage {
    display: flex;
}

/* Each item stretches equally */
.testimonial-carousel .owl-item {
    display: flex;
    height: auto;
}

/* Force card to fill full height */
.testimonial-carousel .testimonial-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 340px; /* Adjust if needed */
}

/* Keep content structured */
.testimonial-item h6 {
    min-height: 50px;
}

/* Clamp text so cards don’t grow randomly */
.testimonial-item p {
    display: -webkit-box;
    -webkit-line-clamp: 4; /* max 4 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Optional: better spacing */
.testimonial-item .text-warning {
    letter-spacing: 2px;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--secondary);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--secondary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}
.feature-card {
    background: #ffffff;
    border-radius: 16px;
    transition: all 0.4s ease;
    height: 100%;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg, #0d6efd, #0dcaf0);
    left: 0;
    top: 0;
    transition: 0.4s;
    z-index: 0;
}

.feature-card:hover::before {
    height: 100%;
}

.feature-card i,
.feature-card h5 {
    position: relative;
    z-index: 1;
    transition: 0.3s;
}

.feature-card:hover i,
.feature-card:hover h5 {
    color: #fff;
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.logo-img {
    height: 65px;   /* Perfect header size */
    width: auto;
    object-fit: contain;
}

/* Optional: even smaller on mobile */
@media (max-width: 768px) {
    .logo-img {
        height: 45px;
    }
}
.iti {
    width: 100%;
}

.iti input {
    padding-left: 85px !important;
}
.hover-shadow {
  transition: all 0.3s ease;
}
.hover-shadow:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

/* Floating Contact Buttons */
.floating-contact {
  position: fixed;
  right: 20px;
  bottom: 90px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.fab-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

/* Colors */
.fab-btn.whatsapp { background: #25D366; }
.fab-btn.call { background: #0d6efd; }
.fab-btn.email { background: #dc3545; }

/* Hover Effects */
.fab-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  color: #fff;
}

/* Mobile Social Icons (Top Bar) */
.social-icons-mobile a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}


.social-icons-mobile a:hover {
  transform: scale(1.2);
  color: #0b5ed7;
}

/* Make icons bigger on mobile */
@media (max-width: 991px) {
  .social-icons-mobile a {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .container-fluid.py-4.px-5 {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .top-bar .d-flex {
        justify-content: center !important;
        text-align: center;
    }

   .navbar-brand {
    margin-left: 0 !important;
    padding-left: 0 !important;
}
    .navbar {
        padding: 10px 0 !important; /* remove extra side padding */
        background-color: #ffffff !important;
    }

    .navbar-toggler {
        margin-left: auto;
        border: none;
    }
    .navbar-toggler-icon {
        filter: invert(1); /* turns white icon → black */
    }
     .navbar-collapse {
        background-color: #0d6efd; /* your original primary blue */
    }
}
.project-carousel .project-item {
    max-width: 500px;   /* adjust: 400–600px ideal */
    margin: auto;
}

.project-img {
    height: 220px;
    object-fit: cover;
}
@media (min-width: 992px) {
    .project-img {
        height: 260px;
    }
}
.mobile-logo {
    height: 38px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .terms-heading {
        white-space: nowrap;
        font-size: 22px; /* slightly reduce size for smaller screens */
    }
}

@media (max-width: 480px) {
    .terms-heading {
        font-size: 18px; /* extra small devices */
    }
}

