/********** Template CSS **********/
:root {
    --primary: #4761FF;
    --secondary: #555555;
    --light: #F1F3FA;
    --dark: #1C2035;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-medium {
    font-weight: 500;
}
	
h2{
  font-family: 'Inter', 'Work Sans', sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

/*** 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 {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--dark);
}

.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 ***/
.sticky-top {
    top: -100px;
    transition: .5s;
	/*color: #F2F2F2;*/
}

.top-wrapper {
  transition: background-color 0.4s ease;
}

/*
.top-wrapper:hover #top-bar,
.top-wrapper:hover .navbar {
  background-color: white !important;
  transition: background-color 0.4s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
*/
.hovered #top-bar,
.hovered .navbar,
.scrolled #top-bar,
.scrolled .navbar {
  transition: background-color 0.4s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hovered .topbar-text,
.hovered .topbar-logo,
.hovered .navbar .nav-link,
.scrolled .topbar-text,
.scrolled .topbar-logo,
.scrolled .navbar .nav-link {
  color: #1C2035 !important;
  filter: brightness(0%);
}

/* Default state: white text and logo */
#top-bar,
.navbar {
  background-color: transparent !important;
}

.topbar-text,
.topbar-logo,
.navbar .nav-link {
  color: white !important;
  transition: color 0.4s ease, filter 0.4s ease;
  filter: brightness(100%);
}

/* On hover: black text and logo */
.top-wrapper:hover .topbar-text,
.top-wrapper:hover .topbar-logo,
.top-wrapper:hover .navbar .nav-link {
  color: #1C2035 !important;
  filter: brightness(0%);
}

/*
#top-bar{
	background: linear-gradient(to top right, #283343, #4c60f6);
}
*/
.container-xxl {
	background-color: white;
    position: relative;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding-top: 25px 0;
	padding-bottom: 25px 0;
	padding-right:0;
	padding-left:0;
 /*   color: var(--dark); */
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

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

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .1);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 3.5rem;
    background-color: var(--primary);
    border: 15px solid var(--primary);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}
/*
.page-header {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/Carousel-1.mp4) center center no-repeat;
    background-size: cover;
}
*/
.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

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

.header-logo {
    width: 105px;
    height: 80px;
    object-fit: contain;
}


/*** body ***/
body {
	background-color: white;
}

#top-bar .header-logo {
    max-width: 100px; /* Adjust as needed */
    height: auto;
}

#top-bar h2 {
    font-size: 2rem; /* Adjust text size for mobile */
}

#top-bar small {
    font-size: 0.9rem; /* Prevents text from being too large on small screens */
}

.reach-out{
	font-weight: normal;
}

h3{
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

.underline {
    text-decoration: underline;
}

/*** Features ***/
.feature-row {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.feature-item {
    border-color: rgba(0, 0, 0, .03) !important;
}


/*** About ***/
.about {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/about.webp) left center no-repeat;
    background-size: cover;
}

.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 36px;
    height: 46px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--primary);
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 90px;
    height: 90px;
    background: var(--primary);
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 90px;
    height: 90px;
    background: var(--primary);
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: 3px;
    border-left: 30px solid #FFFFFF;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Service ***/

.service-box {
  position: relative;
  height: 250px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  align-items: flex-end;
}


.service-item .service-text {
    position: relative;
    width: 100%;
    top: 0;
    left: 0;
    text-align: center;
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .06);
    transition: .5s;
    z-index: 2;
}

.service-item:hover .service-text {
    top: -1.5rem;
}

.service-item .service-text h5 {
    transition: .5s;
}

.service-item:hover .service-text h5 {
    color: var(--primary);
}

.service-item .service-btn {
    position: absolute;
    width: 80%;
    height: 3rem;
    left: 10%;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    transition: .5s;
    z-index: 1;
}

.service-item:hover .service-btn {
    bottom: -1.5rem;
}

.service-item:hover .btn-square img {
    filter: brightness(0) saturate(100%) sepia(100%) hue-rotate(190deg) brightness(1.2);
    transition: filter 0.3s ease-in-out;
}


.service-item {
    height: 200px; /* Adjust based on your design */
    display: flex;
    flex-direction: row;
    justify-content: space-between; /* Ensures even spacing */
}

/*** Project ***/
.project-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}


.project-item .project-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    padding-top: 60px;
    transition: .5s;
}

.project-item:hover .project-overlay {
    opacity: 1;
    padding-top: 0;
}

.project-carousel .owl-nav {
    position: absolute;
    top: -100px;
    right: 0;
    display: flex;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    margin-left: 15px;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    border-radius: 55px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .15);
    font-size: 25px;
    transition: .5s;
}

.project-carousel .owl-nav .owl-prev:hover,
.project-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .project-carousel .owl-nav {
        top: -70px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .project-carousel .owl-nav .owl-prev,
    .project-carousel .owl-nav .owl-next {
        margin: 0 7px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}


/*** Team ***/
.team-item {
    position: relative;
    text-align: center;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.team-item .team-social {
    position: absolute;
    padding: 0;
    top: 15px;
    left: 0;
    overflow: hidden;
}

.team-item .team-social li {
    list-style-type: none;
    margin-bottom: 10px;
    margin-left: -50px;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-social li {
    margin-left: 15px;
    opacity: 1;
}

.team-item .team-social li .btn {
    background: #FFFFFF;
    color: var(--primary);
    border-radius: 40px;
    transition: .5s;
}

.team-item .team-social li .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.team-item .team-social li:nth-child(1) {
    transition-delay: .1s;
}

.team-item .team-social li:nth-child(2) {
    transition-delay: .2s;
}

.team-item .team-social li:nth-child(3) {
    transition-delay: .3s;
}

.team-item .team-social li:nth-child(4) {
    transition-delay: .4s;
}

.team-item .team-social li:nth-child(5) {
    transition-delay: .5s;
}


/*** Testimonial ***/
.testimonial-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    transition: .5s;
}

.owl-item .testimonial-item,
.testimonial-item * {
    transition: .5s;
}

.owl-item.center .testimonial-item,
.testimonial-item:hover {
    background: var(--primary);
}

.owl-item.center .testimonial-item *,
.testimonial-item:hover * {
    color: #FFFFFF !important;
}

.testimonial-item img {
    width: 100px !important;
    height: 100px !important;
    border-radius: 100px;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    top: -100px;
    right: 0;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-left: 15px;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    border-radius: 55px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .15);
    font-size: 25px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .testimonial-carousel .owl-nav {
        top: -70px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .testimonial-carousel .owl-nav .owl-prev,
    .testimonial-carousel .owl-nav .owl-next {
        margin: 0 7px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}


/*** Footer ***/
.footer {
    color: #B0B9AE;
}

.footer .container {
    padding-left: 10px;
    padding-right: 20px;
	margin-left: 35px;
	margin-right: 35px;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #B0B9AE;
    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;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: #B0B9AE;
}

.copyright {
    background: #111111;
}

.copyright a:hover {
    color: var(--primary) !important;
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 1;
	/*filter: brightness(1.2);*/
}

.video-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh; /* Adjust as needed */
  overflow: hidden;
  z-index: 0;
}

.video-bg-container video.video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.0);
}


.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Optional: darkens video for text readability */
    z-index: 1;
}

.page-header > .container {
    z-index: 2;
}

.page-header {
  position: relative;
  height: 100vh;
  overflow: visible;
}
/*
.page-header video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
*/
.page-header .header-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  padding: 2rem;
}

/* === Bain-style Topbar + Navbar Transition === */

#top-bar {
  position: relative;
  z-index: 3;
  background-color: transparent!important;
  transition: background-color 0.4s ease;
  padding: 0.75rem 1rem;
}

/* Default state: transparent background and white text */
#top-bar,
.navbar {
  background-color: transparent !important;
}

.topbar-text,
.topbar-logo,
.navbar .nav-link {
  color: white !important;
  transition: color 0.4s ease, filter 0.4s ease;
  filter: brightness(100%);
}

/* On hover or scroll: turn background white, text/logo dark */
.hovered #top-bar,
.hovered .navbar,
.scrolled #top-bar,
.scrolled .navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hovered .topbar-text,
.hovered .topbar-logo,
.hovered .navbar .nav-link,
.scrolled .topbar-text,
.scrolled .topbar-logo,
.scrolled .navbar .nav-link {
  color: #1C2035 !important;
  filter: brightness(0%);
}

/* Ensure top-wrapper wrapper works for hover detection */
.top-wrapper {
  transition: background-color 0.4s ease;
}

/* Sticky Navbar animation logic */
.sticky-top {
  top: -100px;
  transition: 0.5s;
}

/* Optional debug — remove after testing */
.hovered #top-bar {
  /* border: 2px dashed red; */
}

.container-fluid {
  padding-left: 0;
  padding-right: 0;
}

body {
  margin: 0;
  font-family: sans-serif;
}



.topbar-overlay, .navbar-overlay {
    background: rgba(255, 255, 255, 0.4)!important;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.video-overlay {
    background: rgba(0, 0, 0, 0.05); /* less dark */
}

.page-header {
    height: 100vh !important;
    padding: 0;
    margin: 0;
}

body::before {
  content: "";
  display: block;
  height: 20px; /* Adjust based on topbar + navbar height */
}

.haze-overlay {
  background: rgba(255, 255, 255, 0.4)!important; /* white haze */
  backdrop-filter: blur(5px); /* frosted glass effect */
  -webkit-backdrop-filter: blur(5px); /* Safari support */
  border-radius: 10px;
  padding: 1rem;
}

.header-container {
  text-decoration: none !important;
}

.analytics-page-header{
	height: 100vh;
}

@media (max-width: 768px) {
  .analytics-page-header {
    height: 60vh;
  }
}

.analytics {
	color: #0d6efd;
}

.strong-heading{
	font-weight: 800;
1}

.image-text-section .col-lg-6:first-child {
    margin-right: 30px;
}

.service-link {
  text-decoration: none;
  display: block;
  height: 100%;
  width: 100%;
}

.service-box:hover {
  transform: scale(1.02);
}

.service-text {
  width: 100%;
  background: rgba(255, 255, 255, 0.3); /* semi-transparent white */
  backdrop-filter: blur(8px);
  color: #000;
  text-align: center;
  font-weight: 600;
  font-size: 1.2rem;
  padding: 10px;
}

.footer input[type="email"] {
    background-color: #ffffff !important;
    color: #000000 !important;
    caret-color: #000000;
}

.footer input::placeholder {
    color: #666666;
}


.footer .newsletter-input {
    padding-right: 130px !important; /* Enough space to avoid overlap */
}

.btn-refer-us {
    background-color: #ff5722; /* Strong CTA color */
    color: #fff !important;
    border-radius: 30px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
    transition: all 0.3s ease;
    animation: pulse-glow 2s infinite;
}
.btn-refer-us:hover,
.btn-refer-us:focus {
    background-color: #e64a19;
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.5);
    color: #fff;
    text-decoration: none;
}


#floating-refer-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background-color: #ff5722;
    color: #fff;
    border-radius: 50px;
    padding: 12px 24px;
    font-weight: bold;
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.5);
    animation: pulse-glow 2s infinite;
    transition: all 0.3s ease;
}

#floating-refer-btn:hover {
    background-color: #e64a19;
    color: #fff;
    text-decoration: none;
}

.navbar .nav-link:focus,
.navbar .nav-link:active {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}