
/*** Spinner Start ***/
/*** 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;
}
/*** Spinner End ***/
a:hover {
    color: #007bff;
}
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/* Update primary button background color */
.btn.btn-primary {
    color: var(--bs-white);
    background-color: #0e2b5c; /* New background color */
    border: none;
}

.btn.btn-primary:hover {
    background: var(--bs-dark);
    color: #fff; /* Updated hover color */
}

/* Update light button hover color */
.btn.btn-light {
    color: #007bff; /* Updated text color */
    border: none;
}

.btn.btn-light:hover {
    color: var(--bs-white);
    background: #007bff; /* Updated hover background color */
}
nav.navbar.navbar-expand-lg.navbar-light.px-4.px-lg-5.py-3.py-lg-0.sticky-top.shadow-sm {
    height: 70px;
}

/*** Topbar Start ***/
.topbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
    color: var(--bs-primary);
}

.topbar .dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.topbar .dropdown .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    padding-top: 11px;
    border: 0;
    transition: .5s;
    opacity: 1;
}

/*** Topbar End ***/



/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    font-family: 'Roboto', sans-serif;
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    color: var(--bs-white);
    font-size: 17px;
    font-weight: 400;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link,
.sticky-top.navbar-light .navbar-nav .nav-item .nav-link {
    padding: 20px 0;
    color: var(--bs-dark);
}

.navbar-light .navbar-nav .nav-item .nav-link {
    color: var(--bs-white);
}

/* Updated hover and active link color */
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-item .nav-link:hover,
.navbar-light .navbar-nav .nav-item .nav-link.active  {
    color: #007bff; /* Updated hover color */
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

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

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    transition: .5s;
    opacity: 1;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: var(--bs-white);
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 20px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--bs-dark);
    }

    .navbar-light .navbar-nav .nav-item .nav-link {
        color: var(--bs-dark);
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }

    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        z-index: 999;
    }

    .sticky-top.navbar-light {
        position: fixed;
        background: var(--bs-light);
    }

    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: #007bff;
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: calc(100% - 2px);
        left: 1px;
    }

    .navbar-light .navbar-nav .nav-link::after {
        position: absolute;
        content: "";
        width: 0;
        height: 0;
        bottom: -1px;
        left: 50%;
        background: #007bff; /* Updated background color */
        transition: .5s;
    }
    

    .navbar-light .navbar-nav .nav-link:hover::after,
    .navbar-light .navbar-nav .nav-link.active::after {
        width: 2px;
        height: 12px;
    }
}

/*** Key Features ***/
  /* Initially hide the icon boxes */
  .icon-box {
    text-align: center;
    padding: 20px;
    opacity: 0; /* Hidden at first */
    transform: translateY(30px); /* Start slightly down */
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.icon-box i {
    font-size: 3rem;
    color: #002F6C; /* Customize the icon color */
    margin-bottom: 10px;
}

.icon-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #002F6C;
}

/* Key Features heading styling */
.key-features-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    text-align: center;
    margin-bottom: 30px;
}

/* Animate icons when in view */
.icon-box.animate {
    opacity: 1;
    transform: translateY(0); /* Move back to original position */
}

/* Keyframes for fade-in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/*** Key Features end ***/
.image-container {
    overflow: hidden;
    position: relative;
}

/* Default image styling */
.zoom-image {
    width: 100%;
    object-fit: cover;
    animation: zoomIn 5s ease-in-out forwards; /* Slowed to 5 seconds */
}

/* Animation for zoom effect */
@keyframes zoomIn {
    0% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Style for the banner */
.banner {
    position: absolute;
    bottom: 20px; /* Adjust as needed */
    left: 10%;
    transform: translateX(-50%);
    background-color: #fff; /* Semi-transparent background */
    padding: 10px 20px;
    border-radius: 5px;
}

/* Style for the "Know More" link */
.know-more {
    color: #002F6C;
    text-decoration: none;
    font-size: 16px; /* Adjust font size */
    font-weight: bold;
}

/*** Carousel Hero Header End ***/


/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../img/carousel-1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 140px 0 60px 0;
    transition: 0.5s;
}

@media (min-width: 992px) {
    .bg-breadcrumb {
        padding: 140px 0 60px 0;
    }
}

@media (max-width: 991px) {
    .bg-breadcrumb {
        padding: 60px 0 60px 0;
    }
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}
/*** Single Page Hero Header End ***/


/*** Service Start ***/
.erp-section {
    background-color: #f8f9fa;
}

.text-blue {
    color: #000;
}

img {
    border-radius: 10px;
}
/*** Service End ***/


/*** Features Start ***/
.feature .feature-item {
    text-align: center;
    border-radius: 10px;
    background: var(--bs-light);
    border: 1px solid transparent;
    transition: 0.5s;
}

.feature .feature-item:hover {
    border: 1px solid var(--bs-primary);
}

.feature .feature-item .feature-icon {
    background: var(--bs-white);
    border-radius: 10px;
    display: inline-block;
}
.text-primaryy {
    color: #002F6C !important;
    font-size: 26px;
}
/*** Features End ***/

/*** Offer Start ***/
.services-section {
    padding: 30px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    /* min-height: 100vh;  */
  }

  /* Centered and Faster Heading Animation */
  .heading-section {
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px; /* Slightly larger font for heading */
    font-weight: bold;
    margin-left: 115px;
    color: #1E3050;
    display: inline-block;
    line-height: 1.4; /* Line spacing for two-line text */
  }

  .heading-section span {
    opacity: 0;
    display: inline-block;
    animation: fadeInText 0.3s forwards; /* Faster animation */
    animation-delay: calc(var(--delay) * 0.1s); /* Faster delay for each word */
  }

  @keyframes fadeInText {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .service-card {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s;
    height: 190px; /* Fixed height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }

  .service-card i {
    font-size: 50px;
    color: #0e2b5c; /* Set icon color */
    margin-bottom: 15px;
    animation: float 3s ease-in-out infinite;
  }

  @keyframes float {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-10px);
    }
  }

  .service-card h3 {
    font-size: 18px;
    color: #1E3050;
    font-weight: bold;
    margin-top: 10px;
    line-height: 1.2; /* Adjust the line spacing */
    word-wrap: break-word; /* Ensure long words break */
    display: inline-block;
    max-width: 100%; /* Ensure the text takes up the full width */
    height: 48px; /* Fix the height to ensure consistent two-line display */
    overflow: hidden; /* Hide overflow text */
  }

  /* Fade-in animation */
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1.2s forwards;
  }

  @keyframes fadeIn {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
/*** Offer End ***/

/*** Blog Start ***/
.modules-section {
    padding: 50px 0;
    position: relative;
    overflow: hidden;
    background: 
        linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.5)), /* Gradient */
        url('../img/waves.svg'); /* Full-width background texture image */
    background-size: cover; /* Cover the section */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent repetition of the texture */
    width: 100%; /* Ensure full width */
}

.modules-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px; /* Adjust height as needed */
    background: white; /* Color of the wave */
    clip-path: polygon(0 100%, 50% 75%, 100% 100%); /* Wave shape */
    z-index: 0;
    opacity: 0.2; /* Low opacity for the wave */
}

.modules-heading {
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    z-index: 1; /* Bring heading above background */
}

.module-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px; /* Increased margin for space below each row */
    opacity: 0; /* Start invisible */
    transform: translateY(20px); /* Start slightly lower */
    animation: fadeInUp 0.5s forwards; /* Animation applied */
}

.module-item:nth-child(1) { animation-delay: 0.1s; }
.module-item:nth-child(2) { animation-delay: 0.2s; }
.module-item:nth-child(3) { animation-delay: 0.3s; }
.module-item:nth-child(4) { animation-delay: 0.4s; }
.module-item:nth-child(5) { animation-delay: 0.5s; }
.module-item:nth-child(6) { animation-delay: 0.6s; }
.module-item:nth-child(7) { animation-delay: 0.7s; }
.module-item:nth-child(8) { animation-delay: 0.8s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.module-item .icon {
    width: 60px;
    height: 60px;
    font-size: 28px;
    color: #0e2b5c; /* Changed to #0e2b5c */
    border: 2px solid #0e2b5c; /* Changed to #0e2b5c */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.module-item p {
    font-size: 18px;
    color: #333;
    margin: 0;
    text-align: left;
}

.show-all-btn {
    background-color: #002F6C;
    color: white;
    padding: 10px 20px;
    border: 2px solid white; /* White border */
    border-radius: 5px;
    font-weight: bold;
    margin-top: 30px;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1; /* Ensure button is above background */
}

.show-all-btn:hover {
    background-color: #007bff;
    color: white;
}

.show-all-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border: 2px solid white; /* White border */
    border-radius: 5px;
    transform: translate(-50%, -50%) rotate(0deg);
    transition: transform 0.5s ease;
    z-index: 0;
}

.show-all-btn:hover::before {
    transform: translate(-50%, -50%) rotate(360deg); /* Rotate on hover */
}

.show-all-btn span {
    position: relative;
    z-index: 1; /* Ensure text is above the border */
}

@media (min-width: 992px) {
    .row.text-center {
        justify-content: flex-start;
        text-align: left;
        row-gap: 40px;
    }
}
/*** Blog End ***/


/*** FAQs Start ***/

/*** FAQs End ***/

/*** Team Start ***/
h2 { 
    font-size: 2.5rem; 
    font-weight: 700; 
    margin-bottom: 30px; 
    opacity: 0; 
    animation: fadeIn 1s forwards; 
    text-align: left;  /* Changed alignment to left */
    animation-delay: 0.2s; 
  }
  .specification-item { 
    cursor: pointer; 
    padding: 10px; 
    border-bottom: 1px solid #ddd; 
    transition: 0.3s; 
    opacity: 0;
    animation: fadeIn 0.8s forwards;
  }
  /* Staggering animations for each item */
  .specification-item:nth-child(1) { animation-delay: 0.5s; }
  .specification-item:nth-child(2) { animation-delay: 0.7s; }
  .specification-item:nth-child(3) { animation-delay: 0.9s; }
  .specification-item:nth-child(4) { animation-delay: 1.1s; }
  .specification-item:nth-child(5) { animation-delay: 1.3s; }
  .specification-item:nth-child(6) { animation-delay: 1.5s; }

  .specification-item:hover { background-color: #f0f0f0; }

  .collapse { 
    transition: max-height 0.4s ease, opacity 0.4s ease; 
    overflow: hidden; 
    /* max-height: 0;  */
    /* opacity: 0;  */
  }
  .collapse.show { 
    max-height: 150px; 
    opacity: 1; 
  }

  /* Fade-in keyframe animation */
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
/*** Team End ***/

/*** Testimonial Start ***/
.form-container {
    border: 1px solid #ccc;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}
.formfoot {
    padding-bottom: 50px;
}
.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.25rem;
}
.form-heading {
    font-size: 1.75rem;
    font-weight: bold;
}
.form-subheading {
    font-size: 1.2rem;
    color: #555;
}
.form-description {
    margin-bottom: 20px;
}

/*** Testimonial End ***/

/*** Footer Start ***/
.footer-container {
    position: relative; /* Change to 'fixed' for a fixed footer */
    bottom: 0;
    width: 100%;
    padding: 40px 0;
    background-color: #f8f9fa; /* Light background color */
}
.footer-heading {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
.footer-link {
    display: block;
    margin-bottom: 0.5rem;
    color: #6c757d;
    text-decoration: none;
}
.footer-link:hover {
    color: #007bff;
}
.footer-contact {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.6;
}
.footer-contact a {
    color: #6c757d;
    text-decoration: none;
}
.footer-contact a:hover {
    color: #007bff;
}
.social-icons a {
    margin-right: 10px;
    font-size: 1.25rem;
    color: #6c757d;
}
.social-icons a:hover {
    color: #007bff;
}
.footer-bottom {
    padding-top: 10px;
    margin-top: 20px;
    text-align: center; /* Center the text */
    color: #6c757d;
    width: 100%; /* Full width */
    background-color: #f8f9fa; /* Match footer background */
    padding: 10px 0; /* Add vertical padding */
}
.footer-divider {
    width: 100%;
    border-top: 1px solid #6c757d; /* Full-width horizontal line */
    margin-top: 10px; /* Space above the line */
    padding-bottom: 20px;
}
.logosec{
    height: auto;
    width: 130px;
}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    background: var(--bs-dark);
}
/*** copyright end ***/

 /* Section Styling */
 .guiding-principles-section {
    /* background-image: url('../img/zbs-bottom-cta-img.svg'); */
    padding: 50px 0;
    text-align: center;
    color: white;
  }

  .guiding-principles-section h1 {
    font-size: 3rem;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
  }

  /* Button container and button styling */
  .button-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s forwards;
  }

  .custom-feature-btn {
    background-color: #fff;
    color: #0A2857;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }

  .custom-feature-btn i {
    margin-right: 8px;
    color: #0A2857;
  }

  .custom-feature-btn:hover {
    background-color: #f4f4f4;
    transform: translateY(-5px);
  }

  /* Animation */
  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }.button-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px; /* Adds spacing between the two rows */
  }
  
  .custom-feature-btn {
    background-color: #0A2857;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    display: inline-block;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease;
  }
  
  .custom-feature-btn i {
    margin-right: 8px;
    color: white !important;
  }
  
  .custom-feature-btn:hover {
    background-color: #123974;
  }
