/********** Template CSS **********/

:root {
    --bs-primary: #78be20; /* B2B Solutions Green */
    --bs-secondary: #797672;
    --bs-light: #F9F8F7;
    --bs-dark: #111111; /* Systems Ltd Black */
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}
.hero-left {
    margin-left: 1cm !important;
    margin-right: auto;
    text-align: left;
    /* font-family:'Bookman Old Style'; */
}
.hero-left h1 {
    margin-left: 1cm !important;
    margin-right: auto;
    text-align: left;
font-family: sans-serif;
font-weight: lighter;

}
.hero-left1 {
    margin-left: 1cm !important;
    margin-right: auto;
    text-align: left;


}
.hero-left1 h1 {
    margin-left: 1cm !important;
    margin-right: auto;
    text-align: left;
font-family: sans-serif;
font-weight: lighter;

}
.main{
    background-color:#111111;
    color: white !important;
}
#navbarCollapse{
 
    margin-top: 0.1cm !important;
        /* background-color: #666; */


}
.nav123{
    background-color: white !important;
}
.nav234{
    background-color: white !important;
}
.name,.email,.mobile,.subject,.message{
    border-radius: 0.6cm;
}
input {
  background-color: transparent !important;
}
.buttonn{
    color:wheat;
    font-size: larger;
    font-display:optional;
}

.hello h1{
    color: white;
}
.help h4{
        color: white;

}
.fw-medium {
    font-weight: 600;
}

.mt-6 {
    margin-top: 5rem;
}

.mb-6 {
    margin-bottom: 5rem;
}


.pb-6 {
    padding-bottom: 5rem;
}


/*** 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: 600;
    text-transform: uppercase;
    border-radius: 0;
}

.btn-primary,
.btn-outline-primary:hover {
    color: #ffffff;
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--bs-dark);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-xl-square {
    width: 60px;
    height: 60px;
}

.btn-xxl-square {
    width: 75px;
    height: 75px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square,
.btn-xl-square,
.btn-xxl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/
/* .sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--bs-dark);
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-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 (Original Template Styles) ***/
/* Note: We are overriding some of these below for the new slider */
/* .carousel .carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    text-align: left;
    background: rgba(0, 0, 0, .7);
    padding: 3rem;
    padding-left: 11rem;
    z-index: 1;
} */

.navbar-overlay-video {
    background: transparent !important;
    box-shadow: none !important;
padding-top: 1cm;
}
.navbar-nav{
   
    gap: 1.5rem; /* adjust spacing */
}
/* Show dropdown on hover */
.nav-item.dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
}

/* Optional: smoother feel */
.nav-item.dropdown > .dropdown-menu {
    display: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-item.dropdown:hover > .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
}
/* FORCE REMOVE DROPDOWN WHITE BACKGROUND */
 .dropdown-menu {
    background-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}
.uds{
    font-size:large;
    font-weight: bold;
    color:white;
    position: absolute;
    left: -12cm;
    top: -0.4cm;
}
html, body {
    width: 100%;
    overflow-x: hidden;
}
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* FIX navbar overlay */
.navbar-overlay-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding-left: 2rem;
    z-index: 10;
}

/* FIX font scaling */
.hero-title {
    font-size: clamp(2rem, 4vw, 3.5rem) !important;
}

/* FIX video height */
.carousel-item {
    height: 100svh;
}

/* REMOVE dropdown white bg */
.dropdown-menu {
    background: white !important;
    border: none;
}

/* MOBILE NAV */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(0,0,0,0.9);
        padding: 1rem;
    }
}


.carousel .carousel-indicators {
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    width: 80px;
    flex-direction: column;
    margin: 0;
    margin-left: 3rem;
}

.carousel .carousel-indicators [data-bs-target] {
    width: 70px;
    height: 70px;
    text-indent: 0;
    margin: 5px 0;
    border: 2px solid #FFFFFF;
    overflow: hidden;
}

.carousel .carousel-indicators [data-bs-target] img {
    width: 100%;
    height: 100%;
    object-fit: cover;
} */
 .w-100{
    position: relative;
    padding-top: cm;
    height: 6cm;
}

/*** About ***/
.about-img {
    position: relative;
    padding-left: 45px;
}

.about-img::before {
    position: absolute;
    content: "";
    width: 200px;
    height: 300px;
    top: 0;
    left: 0;
    border: 5px solid var(--bs-primary);
    animation: animateUpDown 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes animateUpDown { 
    0% { top: -25px; }
    50% { top: -45px; }
    100% { top: -25px; } 
}


/*** Service ***/
.service .service-item {
    position: relative;
    margin-top: 45px;
}

.service .service-inner {
    position: relative;
    height: 100%;
    margin-top: 45px;
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.service .service-inner::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    left: 0;
    bottom: 0;
    transition: 1s;
    background: var(--bs-primary);
}

.service .service-inner:hover::before {
    height: 100%;
    top: 0;
}

.service .service-item img {
    margin-top: -45px;
    padding-left: 45px;
    height: 300px;

}

.service .service-item * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.service .service-item:hover h5,
.service .service-item:hover p {
    color: var(--bs-white);
}

.service .service-item:hover a {
    padding-left: 45px !important;
}


/*** Team ***/
.team .team-item {
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.team .team-item .team-social {
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    transition: .5s;
    background: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team .team-item:hover .team-social {
    width: 100%;
    left: 0;
}

.team .team-item .team-social .btn {
    opacity: 0;
    transition: .5s;
}

.team .team-item:hover .team-social .btn {
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-img {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.testimonial-img div {
    position: absolute;
    width: 100px;
    height: 100px;
    animation-duration: 5s;
}

.testimonial-img div:nth-child(1) { top: 10%; left: 10%; animation-delay: .1s; }
.testimonial-img div:nth-child(2) { top: 60%; left: 20%; animation-delay: .4s; }
.testimonial-img div:nth-child(3) { top: 20%; left: 60%; animation-delay: .7s; }
.testimonial-img div:nth-child(4) { bottom: 10%; right: 10%; animation-delay: 1s; }

.testimonial-img div::after {
    position: absolute;
    content: "";
    top: -1px;
    right: -1px;
    bottom: -1px;
    left: -1px;
    box-shadow: 0 0 10px 10px var(--bs-white) inset;
    z-index: 1;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 15px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    color: var(--bs-primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--bs-dark);
}


/*** Contact & Newsletter Backgrounds ***/
/* Reusing carousel-3.jpg for backgrounds, replace if you have specific bg images */
.contact, .newsletter {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/tour.jpeg) left center no-repeat;
    background-size: cover;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--bs-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(--bs-primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--bs-primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    background: #222222;
}

.copyright a {
    color: var(--bs-white);
}

.copyright a:hover {
    color: var(--bs-primary);
}


/* ======================================================== */
/* CUSTOM OVERRIDES FOR VIDEO SLIDER & DISPATCH THEME      */
/* ======================================================== */

#header-carousel {
    position: relative;
}

.carousel-item {
    height: 100vh; 
    min-height: 600px;
    position: relative;
    background-color: #000;
}


.carousel-item img,
.carousel-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); 
    z-index: 1;
}


.carousel-caption {
    z-index: 2; 
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0;
    display: flex;
    align-items: center; 
    justify-content: center; 
    background: none !important; 
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero-title .text-primary {
    color: #78be20 !important;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

.carousel-caption .text-primary {
    color: #78be20 !important; 
}


@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
} 


/* 6. Button Styling - Systems Ltd Style */
.carousel-caption .btn-primary {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 1rem 2.5rem;
    border-radius: 0;
    transition: all 0.3s ease;
    border: 2px solid var(--bs-primary);
}

.carousel-caption .btn-primary:hover {
    background-color: transparent;
    color: var(--bs-primary);
    border-color: var(--bs-primary);
    transform: translateY(-2px);
}

/* 7. Arrow Styling */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: transparent;
}

/* 8. Navbar Overlay on Video */
.navbar-overlay-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.navbar-overlay-video .navbar {
    background: transparent !important;
    padding: 1rem 0;
}

.navbar-overlay-video .navbar-brand h1,
.navbar-overlay-video .nav-link {
    color: #ffffff !important;
}

.navbar-overlay-video .nav-link:hover,
.navbar-overlay-video .nav-link.active {
    color: #78be20 !important;
}

.navbar-overlay-video .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-overlay-video .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-overlay-video .dropdown-menu {
    background-color: #ffffff !important;
}

.navbar-overlay-video .dropdown-item {
    color: #000000 !important;
}

.navbar-overlay-video .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #78be20 !important;
}





/* ======================================================== */
/* SYSTEMS LTD REPLICA STYLES (UPDATED FIX)                */
/* ======================================================== */

/* --- MAIN PINNED CONTAINER --- */
.content-row {
    height: 100vh;
    width: 100%;
    display: flex;
    position: relative;
    overflow: hidden; /* Clips content outside the box */
    background-color: #f2f2f2; 
    margin-bottom: 0;
}

/* --- LEFT SIDE (Hero Title) --- */
.landing-intro-wrapper {
    /* Starts at Full Width */
    width: 100%; 
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    
    flex-shrink: 0; /* Prevents auto-shrinking */
    z-index: 10; 
    background-color: #f2f2f2; 
    
    /* Smooth border for separation */
    border-right: 1px solid rgba(0,0,0,0.05); 
}

/* "Our Services" Text Styling */
.landing-intro-wrapper h1 {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(3rem, 6vw, 6rem); /* Responsive size */
    font-weight: 700;
    letter-spacing: -2px;
    margin: 0;
    white-space: nowrap;
    color: #1a1a1a;
}

/* The Gradient Color for "Services" */
.gradient-text {
    background: linear-gradient(90deg, #8A2BE2, #0d6efd, #D63384);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- RIGHT SIDE (The List) --- */
.home-services-section--list {
    flex-grow: 1; 
    height: 100%;
    display: flex;
    flex-direction: column;
    /* FIX: Changed from 'center' to 'flex-start' with auto margins to ensure safe centering */
    justify-content: center; 
    padding-left: 6vw;
    padding-right: 4vw;
}

.home-services-section--list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* --- BUBBLE ITEM STYLING --- */
.bubble-item {
    /* FIX: Reduced margin from 60px to 40px to fit better on screen */
    margin-bottom: 40px; 
    
    /* INITIAL STATE: Hidden, pushed to Bottom-Right */
    opacity: 0;
    transform: translate(80px, 120px) scale(0.9);
}

.bubble-item h3 {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 10px; /* Tighter spacing */
    color: #222;
}

.bubble-item .description {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 1.1rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px; /* Tighter spacing */
    max-width: 500px;
}

/* The "Learn More" Link */
.text-link-arrow {
    font-family: "Plus Jakarta Sans", sans-serif;
    color: #D63384; 
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.text-link-arrow:hover {
    color: #a100ff;
}

/* --- RESPONSIVE FIX FOR SMALLER SCREENS --- */
@media (max-height: 800px) {
    .bubble-item {
        margin-bottom: 25px; /* Even tighter for laptops */
    }
    .bubble-item h3 {
        font-size: 1.6rem;
    }
    .bubble-item .description {
        font-size: 1rem;
    }
    
}
@media (max-height: 800px){

}
/* Container: Centers the text */
/* Container: Centers the text */
.landing-intro-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center; /* Horizontally center */
    align-items: center;     /* Vertically center */
    padding: 0 10px;         /* Safety padding from edges */
    overflow: hidden;        /* Hides anything that still tries to poke out */
}

/* Text: Handles the sizing and wrapping */
.landing-intro-wrapper h1 {
    font-family: "Plus Jakarta Sans", sans-serif;
    
    /* Responsive Size: Starts smaller (2rem) so it fits in tiny boxes */
    font-size: clamp(2rem, 5vw, 6rem); 
    
    font-weight: 700;
    letter-spacing: -1px;
    margin: 0;
    color: #1a1a1a;
    
    /* Centering & Spacing */
    text-align: center;
    line-height: 1.1;
    width: 100%;
    
    /* THE FIX: Forces words to break onto new lines if needed */
    white-space: normal;      
    word-wrap: break-word;    
    overflow-wrap: break-word; 
}

/* --- RESPONSIVE ADJUSTMENT FOR ANIMATION --- */
/* When the box shrinks (e.g. during animation or on mobile), force text smaller */
@media (max-width: 600px) {
    .landing-intro-wrapper {
        font-size: clamp(1.8rem, 8vw, 3rem); /* Smaller font for small box */
        display: flex;
        justify-content: left; /* Horizontally center */
        align-items: center; 
    }
    
    /* Optional: If you want to FORCE the 3-line layout on small screens */
    .landing-intro-wrapper span.gradient-text {
        display: inline-block; /* Allows the span to wrap naturally */
    }
}





/* ========================================= */
/* B2B WORK PROCESS STYLES                   */
/* ========================================= */

.b2b-process-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background-color: #ffffff;
    overflow: hidden; /* Prevents scrollbar if arrows push out */
}

.process-main-title {
    font-family: 'Roboto', sans-serif; /* Using your font stack */
    font-weight: 800;
    text-transform: uppercase;
    color: #222;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

/* Container for the specific column to handle arrow positioning */
.process-col {
    position: relative;
}

.process-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

/* The Circular Image Wrapper */
.process-circle-wrap {
    width: 200px;
    height: 200px;
    margin: 0 auto 35px auto; /* Bottom margin makes room for the badge */
    position: relative;
    border-radius: 50%;
    overflow: visible; /* Allows the badge to sit on the edge */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* Subtle shadow for depth */
}

.process-circle-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #fff; /* White border around image */
}

/* The Black Number Badge */
.process-number {
    position: absolute;
    bottom: -15px; /* Pushes it slightly below the circle */
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background-color: #1a1a1a; /* Dark black/grey */
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    border: 4px solid #fff; /* White ring around the black badge */
    z-index: 2;
}

/* The Text Below */
.process-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #222;
    font-size: 1.25rem;
    margin-top: 10px;
}

/* The Connector Arrow */
.process-arrow {
    position: absolute;
    top: 35%; /* Align with the center of the image */
    right: -15px; /* Position between columns */
    transform: translateY(-50%);
    color: #e0e0e0; /* Very light grey */
    font-size: 3rem;
    z-index: 0;
    font-weight: 300;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .process-circle-wrap {
        width: 160px;
        height: 160px;
    }
    
    .process-arrow {
        display: none; /* Hide arrows on tablets/mobile */
    }
}
.col-4 .img-fluid{
    width: 100px;
    height: 100px;
}