/********** Template CSS **********/
:root {
    --primary: #ffbd59;
    --secondary: #E93C05;
    --tertiary: #555555;
    --light: #DFE4FD;
    --dark: #011A41;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


/*** 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-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 ***/
.fixed-top {
    transition: .5s;
}

.top-bar {
    height: 45px;
    border-bottom: 1px solid #355efc12;
}

.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 {
    padding: 25px 15px;
    color: var(--tertiary);
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, .07);
        background: #FFFFFF;
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

@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 ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: start;
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 3rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

.carousel-control-prev-icon {
    border-radius: 0 3rem 3rem 0;
}

.carousel-control-next-icon {
    border-radius: 3rem 0 0 3rem;
}

@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 {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: url(../img/header.jpg) top left no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-weight: 500;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--tertiary);
}


/*** slider video***/
.video-background {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1; /* Moves the video to the background */
}

/* Ensuring video scales properly on smaller devices */
@media (max-width: 768px) {
    .video-background {
        height: 100vh;
        object-fit: cover;
    }
}


/*** Facts ***/
.facts {
    background: linear-gradient( #3e4984,  #667ad8), url(../img/bg.png);
}


/*** Callback ***/
/*** Callback Section Styling ***/
.callback {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100vh; /* Fullscreen height */
    padding: 20px;
    color: white;
    overflow: hidden;
}

/* Video Background */
.callback video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures full coverage */
    transform: translate(-50%, -50%);
    z-index: -2;
}

/* Dark Overlay */
.callback::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for contrast */
    z-index: -1;
}

/* Center Form Box */
.form-box {
    background: rgba(255, 255, 255, 0.85); /* Semi-transparent white */
    backdrop-filter: blur(10px); /* Adds a blur effect */
    border-radius: 10px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.3);
    padding: 40px;
    transition: transform 0.3s ease-in-out;
}

.form-box:hover {
    transform: scale(1.02);
}

/* Label Visibility Fix */
.visible-label {
    color: #555 !important;
    font-weight: bold;
}

/* Centering Form */
.vh-100 {
    height: 100vh;
    display: flex;
    align-items: center;
}

/* Form Fields */
.form-control {
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    font-size: 1rem;
}

/* Button Styling */
.btn-primary {
    background: #667ad8;
    border: none;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.3s ease-in-out;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background: #5768b9;
    transform: scale(1.05);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/*** Feature ***/
.feature .feature-box,
.feature .feature-box * {
    transition: .5s;
}

.feature .feature-box:hover {
    background: var(--primary);
    border-color: var(--primary) !important;
}

.feature .feature-box:hover * {
    color: #FFFFFF !important;
}

.marquee-container {
  background-color: #ffdd00;
  color: #000;
  overflow: hidden;
  white-space: nowrap;
  font-family: 'Segoe UI', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid #000;
  position: relative;
}

.marquee-container:hover {
  background-color: #ffc107;
}

.marquee-track {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-left 15s linear infinite; /* Speed increased by reducing duration */
  will-change: transform;
}

.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-message {
  display: inline-block;
  margin-right: 50px;
}

.marquee-link {
  background: #000;
  color: #ffdd00;
  padding: 3px 10px;
  margin-left: 10px;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  box-shadow: 0 0 3px #fff, 0 0 6px #ffeb3b;
  animation: sparkle 2s infinite ease-in-out;
  transition: background-color 0.3s, color 0.3s;
}

.marquee-link:hover {
  background: #ffc107;
  color: #000;
  box-shadow: 0 0 8px #fff, 0 0 15px #ffeb3b, 0 0 5px #000 inset;
}

@keyframes sparkle {
  0% { box-shadow: 0 0 3px #fff; }
  50% { box-shadow: 0 0 10px #fff, 0 0 20px #ffeb3b; }
  100% { box-shadow: 0 0 3px #fff; }
}

@media (max-width: 768px) {
  .marquee-container {
    font-size: 0.85rem;
  }
}


/*** Service ***/
.service .nav .nav-link {
    transition: .5s;
}

.service .nav .nav-link.active {
    border-color: var(--primary) !important;
    background: var(--primary);
}

.service .nav .nav-link.active h5 {
    color: #FFFFFF !important;
}

.service .nav .nav-link.active h5 i {
    color: #FFFFFF !important;
}


/*** Project ***/
.project-item,
.project-item .project-img {
    position: relative;
}

.project-item .project-img a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .5);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    opacity: 0;
    transition: .5s;
}

.project-item:hover .project-img a {
    opacity: 1;
}

.project-item .project-title {
    position: absolute;
    top: 3rem;
    right: 0;
    bottom: 0;
    left: 3rem;
    border: 1px solid var(--light);
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    padding: 18px;
    z-index: -1;
    transition: .5s;
}

.project-item:hover .project-title {
    background: var(--primary);
    border-color: var(--primary);
}

.project-item .project-title h4 {
    transition: .5s;
}

.project-item:hover .project-title h4 {
    color: #FFFFFF;
}

.project-carousel .owl-nav {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.project-carousel .owl-nav .owl-prev:hover,
.project-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--light);
}


/***Team***/
.team-experience {
    background: transparent;
    color: inherit; /* Inherit color from h4 (Mukesh Tiwari) */
    font-weight: bold;
    font-size: 17px;  /* Matches the font size of the name */
    font-family: inherit; /* Uses the same font as Mukesh Tiwari */
    text-align: center; /* Ensures text is always centered */
    width: 100%; /* Makes sure it takes full width for centering */
    transition: color 0.5s;
}

.team-item:hover .team-experience {
    color: #FFFFFF; /* Changes to white on hover, just like the name */
}



/*** Testimonial Section ***/
.testimonial-item {
    position: relative;
    text-align: center;
    padding-top: 30px;
}

.testimonial-item .testimonial-text {
    position: relative;
    text-align: justify; /* Justify for clean look */
    background: #fff;
    padding: 30px 20px 50px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    min-height: 200px;
}

.testimonial-item .testimonial-text .btn-square {
    position: absolute;
    width: 60px;
    height: 60px;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Arrow speech bubble effect */
.testimonial-item .testimonial-text::before {
    position: absolute;
    content: "";
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 15px;
    border-style: solid;
    border-color: #f8f9fa transparent transparent transparent;
    z-index: 1;
}

.testimonial-item .testimonial-text::after {
    position: absolute;
    content: "";
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 14px;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
    z-index: 2;
}

/* === Logo Styling (Perfect for both square & rectangle) === */
.testimonial-carousel .owl-item img {
    display: block;
    margin: 0 auto;
    height: 60px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    background: transparent;
    border: none;
    box-shadow: none;
}

/* Ensure logo + name block is always same height */
.testimonial-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    padding-top: 15px;
}

.testimonial-logo-container h4,
.testimonial-logo-container span {
    margin: 5px 0 0;
    font-size: 16px;
    line-height: 1.2;
}

/* Owl Dots Styling */
.testimonial-carousel .owl-dots {
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 30px;
    height: 30px;
    border: 1px solid var(--light, #ccc);
    border-radius: 50%;
    transition: 0.5s;
    cursor: pointer;
}

.testimonial-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 16px;
    height: 16px;
    top: 6px;
    left: 6px;
    border-radius: 50%;
    background: var(--light, #ccc);
    transition: 0.5s;
}

.testimonial-carousel .owl-dot.active {
    border-color: var(--primary, #007bff);
}

.testimonial-carousel .owl-dot.active::after {
    background: var(--primary, #007bff);
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    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: #facb0a;
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: var(--light);
    background: #000B1C;
}

.copyright a {
    color: var(--light);
}

.copyright a:hover {
    color: var(--primary);
}

/* /* Basic styling for the  new navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.1); /* Transparent background */
    backdrop-filter: blur(5px); /* Optional: Adds a blur effect */
    box-shadow: none; /* Remove any shadows */
    padding: 0.5rem 1rem; /* Adjust padding */
}

/* Top bar styling (optional) */
.top-bar {
    height: 30px; /* Adjust height */
    font-size: 12px; /* Adjust font size */
    background-color: rgba(255, 255, 255, 0.2); /* Transparent background for top bar */
}

/* Dropdown menu styles */
.nav-item.dropdown .dropdown-menu {
    display: none;
    opacity: 0;
    visibility: hidden; /* Hide completely */
    transition: opacity 0.3s ease, visibility 0.3s ease;
    position: absolute;
    z-index: 1000;
}

/* Show the dropdown when hovering */
.nav-item.dropdown:hover > .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible; /* Make it visible */
}

/* Dropdown item styles */
.dropdown-item {
    padding: 10px 15px;
    background-color: transparent;
    transition: background-color 0.3s ease; /* Smooth hover effect */
}

/* Hover effects for dropdown items */
.dropdown-item:hover {
    background-color: #e2e6ea; /* Background color on hover */
}

/* Submenu styles */
.dropdown-submenu {
    position: relative;
}

/* Hide the submenu by default */
.dropdown-submenu .dropdown-menu {
    display: none;
    left: 100%;
    top: 0;
    opacity: 0;
    visibility: hidden; /* Initially hidden */
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Show submenu when hovering over parent */
.dropdown-submenu:hover > .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
}

/* Ensure dropdown stays open when hovering */
.dropdown-menu:hover {
    display: block !important;
    opacity: 1;
    visibility: visible;
}

/* Hover effect for main dropdown item */
.nav-item.dropdown:hover > .nav-link {
    background-color: #e2e6ea;
    color: #000; /* Text color change */
}

/* Reduce navbar height */
.navbar {
    height: 60px;
}

/* Fixed navbar to the top */
.fixed-top {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
}
/* Social media icons styling */
.social-icons {
    gap: 15px; /* Uniform spacing between icons */
}

.social-icon {
    font-size: 18px; /* Adjust size */
    color: #667ad8; /* Default color */
    transition: color 0.3s ease; /* Smooth transition for hover effect */
}

/* Hover effect for icons */
.social-icon:hover {
    color: #5768b9; /* Darker color on hover */
}

/* Ensure icons align properly */
.social-icons {
    align-items: center; /* Center-align the icons vertically */
}


.navbar-nav .nav-link {
    background-color: transparent !important; /* Ensure no background color */
    color: inherit !important; /* Keep default text color */
    transition: none !important; /* Remove hover transitions */
}

.navbar-nav .nav-link:hover {
    background-color: transparent !important; /* Disable hover background */
    color: inherit !important; /* Disable hover text color change */
    text-decoration: none !important; /* Remove underline or text decoration */
}

/* Style for the right sidebar */
.quote-sidebar {
    position: fixed;
    top: 50%; /* Centers it vertically */
    right: -150px; /* Initially hidden to the right, adjust based on the button's width */
    transform: translateY(-50%);
    z-index: 1000;
    transition: right 0.4s ease-in-out; /* Smooth slide effect */
}

.quote-sidebar:hover {
    right: 20px; /* Slide into view when hovered */
}






 /* Style for the right sidebar */
.quote-sidebar {
    position: fixed;
    top: 120px; /* Adjust this value to place it below the contact tab */
    right: 10px; /* Always visible */
    z-index: 1000;
    transition: right 0.4s ease-in-out;
}
button rectangular with curved corners instead of having only one side rounded, update the border-radius property as follows:


/* Style for the button */
.quote-sidebar .btn {
    padding: 15px 25px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #facb0a, #f5b400); /* Gradient background */
    color: white;
    border: none;
    border-radius: 15px; /* Curved corners */
    text-align: center;
    display: block;
    width: 160px; /* Slightly wider */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Softer shadow for elegance */
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    animation: shake 2s infinite; /* Add the shake animation */
}
}

/* Button hover effect */
.quote-sidebar .btn:hover {
    background: linear-gradient(135deg, #f5b400, #ffbd59); /* Darker gradient on hover */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    transform: translateY(-2px);
}

/* Add a subtle shine effect */
.quote-sidebar .btn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 10%, transparent 70%);
    transition: all 0.5s ease;
    transform: translate(-50%, -50%) scale(0);
}

.quote-sidebar .btn:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
}

/* Shaking animation */
@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}

/* Arrow pointing towards the button */
.quote-sidebar .arrow {
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: #667ad8;
    animation: bounce 1.5s infinite ease-in-out; /* Bounce effect */
}

/* Bounce animation for the arrow */
@keyframes bounce {
    0%, 100% {
        transform: translateY(-50%) translateX(0);
    }
    50% {
        transform: translateY(-50%) translateX(-10px); /* Arrow moves towards button */
    }
}

/* Optional: Pulse animation to attract attention */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.quote-sidebar .btn:hover {
    animation: pulse 0.5s ease-in-out;
}


/* Marquee Container */
.marquee-container {
    width: 100%;
    overflow: hidden;
    background: #007bff;
    padding: 10px 0;
    position: relative;
    white-space: nowrap;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Marquee Content */
.marquee-content {
    display: flex;
    animation: marquee 20s linear infinite;
}

.marquee-content span {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    background: #0056b3;
    margin-right: 30px; /* Adjust for better spacing between items */
    border-radius: 5px;
    font-weight: bold;
    transition: transform 0.3s ease, background 0.3s ease;
}

/* Marquee Image */
.marquee-image {
    width: 60px; /* Adjust the width of the image for seamless view */
    height: auto;
    margin-right: 10px;
}

/* Pause animation on hover */
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

/* Hover Effect */
.marquee-content span:hover {
    transform: scale(1.2);
    background: #ffcc00;
    color: black;
}

/* Animation for continuous scrolling */
@keyframes marquee {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}
<!-- Custom CSS -->
<style>
/* Reduce gap between Carousel and About Us */
.container-xxl.py-5 {
    padding-top: 2rem !important; /* Adjust this value if needed */
}

/* Ensure video in carousel covers the entire screen */
video.w-100 {
    height: 100vh;
    object-fit: cover;
}
</style>



