/********** Template CSS **********/
:root {
    --primary: #1e4098;
    --secondary: #f68524;
    --light: #F6F7FC;
    --dark: #15233C;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

/* Width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

/* Thumb */
::-webkit-scrollbar-thumb {
    background: #1e4098;
    border-radius: 10px;
}

/* Thumb Hover */
::-webkit-scrollbar-thumb:hover {
    background: #16306f;
}

html {
    scrollbar-width: thin;
    scrollbar-color: #1e4098 #f1f1f1;
}

/*** 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;
}


.core-features,
.services-section,
.why-choose-us-section,
.contact-us-section,
.about-us-section {
    padding-top: 80px;
}

@media(max-width:768px) {

    .core-features,
    .services-section,
    .why-choose-us-section,
    .contact-us-section,
    .about-us-section {
        padding-top: 20px;
    }
}

/*** Button ***/
.btn {
    transition: .5s;
}



.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;
}

.erp-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 24px;
    margin-top: 30px;
}

/*** Navbar ***/
.header {
    background: none !important;
    backdrop-filter: none;
    transition: 0.4s ease-in-out;
}

/* When Navbar Becomes Sticky */
.navbar.sticky-active {
    background: rgba(4, 4, 4, 0.45) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: 0.4s ease-in-out;
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand img {
    max-height: 60px;
}

.navbar .navbar-nav .nav-link {
    margin-left: 25px;
    padding: 10px 0;
    color: #ffffff;
    font-weight: 500;
    outline: none;
    transition: 0.3s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--secondary) !important;
}

/* Remove default bootstrap icon */
.navbar-toggler-icon {
    background-image: none !important;
}

/* Custom Hamburger Icon (3 white lines) */
.navbar-toggler-icon {
    width: 30px;
    height: 2px;
    background-color: #fff;
    position: relative;
    display: inline-block;
    transition: 0.3s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: #fff;
    left: 0;
    transition: 0.3s ease;
}

.navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler-icon::after {
    top: 8px;
}

/* Remove border + outline */
.navbar-toggler {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.navbar-toggler:focus {
    outline: none !important;
    box-shadow: none !important;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.mobile-btn {
    display: none !important;
}

@media (max-width: 991.98px) {
    .navbar .navbar-brand img {
        max-height: 45px;
    }

    .navbar .navbar-nav {
        margin-top: 20px;
        margin-bottom: 15px;
    }

    .navbar .nav-item .dropdown-menu {
        padding-left: 30px;
    }

    .mobile-btn {
        display: block !important;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        right: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.banner {
    margin-top: -150px;
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    text-align: start;
    z-index: 1;
}

.carousel-caption h1 {
    color: #FFFFFF;
    font-size: 56px;
    line-height: 56px;
}

.carousel-caption p {
    font-size: 18px !important;
    color: #FFFFFF !important;
}

@media (max-width: 768px) {
    .header {
        background: #151b26 !important;
    }

    .banner {
        margin-top: 0px;
    }


    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .carousel-caption h1 {
        color: #FFFFFF;
        font-size: 32px;
        line-height: 40px;
    }

    .siginup-btn {
        margin-bottom: 60px;
    }

    .header-btn {
        width: 180px;
        margin-top: 30px;
    }
}

@media (min-width: 992px) and (max-width: 1150px) {
    .banner {
        margin-top: -100px;
    }
}

/*** Service Start ***/
.service .service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.3);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service .service-item .service-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.service .service-item .service-img img {
    transition: 0.5s;
    width: 100%;
    object-fit: cover;
}

.service .service-item:hover .service-img img {
    transform: scale(1.2);
}

.service .service-item .service-img::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: 0;
    right: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(68, 210, 246, 0.4);
    transition: 0.5s;
}

.service .service-item:hover .service-img::after {
    width: 100% !important;
    height: 100% !important;
}

.service .service-item .service-content {
    position: relative;
    flex-grow: 1;
    display: flex;
    align-items: center;
    /* Vertically center content */
    justify-content: center;
}

.service .service-item .service-content::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-dark);
    transition: 0.5s;
    z-index: 1;
}

.service .service-item:hover .service-content::after {
    width: 100% !important;
    height: 100% !important;
}

.service .service-item .service-content .service-content-inner {
    transition: 0.5s;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service .service-item:hover .service-content .service-content-inner {
    position: relative;
    color: var(--bs-white) !important;
    transition: 0.5s;
    z-index: 2;
}

.service .service-item:hover .service-content .service-content-inner a {
    font-size: 18px !important;
}

.service .service-item:hover .service-content .service-content-inner p {
    font-size: 16px !important;
}

.service .service-item:hover .service-content .service-content-inner a.h4 {
    color: var(--bs-white) !important;
    transition: 0.5s;
    font-size: 18px !important;
    margin-bottom: 15px;

}

.service .service-item:hover .service-content .service-content-inner a.h4:hover {
    color: var(--bs-primary) !important;
}

/*** Service End ***/


/*** Industries ***/
.industries-item {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    padding: 2rem 3rem 1rem !important;
}

.industries-item .industries-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.industries-item .industries-icon img {
    max-width: 30px;
    max-height: 30px;
}

.industries-item a.btn {
    color: var(--primary);
}

.industries-item a.btn:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}

.why-us h5,
.industries-item h5,
.about-content h5 {
    font-size: 18px !important;
}

.why-img img {
    position: absolute;
    top: 100px;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .swiper-wrapper {
    height: auto !important;
}

.swiper-slide {
    height: auto !important;
}

.testimonials .testimonial-card {
    background: #e8edf8c2;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Content + Profile stable layout */
}

.testimonials .testimonial-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
}

.testimonials .testimonial-content {
    padding: 10px 20px;
    position: relative;
    flex-grow: 1;
}

.testimonials .testimonial-content p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    position: relative;
    z-index: 1;
    margin: 0;
    color: #000;
    line-height: 24px;
}

.testimonials .testimonial-content .quote-icon {
    position: absolute;
    /* top: 15px; */
    left: 30px;
    font-size: 42px;
    color: color-mix(in srgb, var(--accent-color), transparent 85%);
    z-index: 0;
    opacity: 0.8;
}

.testimonials .testimonial-profile {
    padding: 10px 20px;
    background-color: color-mix(in srgb, var(--heading-color), transparent 95%);
    border-top: 1px solid color-mix(in srgb, var(--heading-color), transparent 90%);
}

.testimonials .rating {
    margin-bottom: 15px;
}

.testimonials .rating i {
    color: #ffc107;
    margin-right: 3px;
    font-size: 14px;
}

.testimonials .profile-info {
    display: flex;
    align-items: center;
}

.testimonials .profile-info img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--background-color);
    margin-right: 15px;
}

.testimonials .profile-info div {
    flex: 1;
}

.testimonials .profile-info h3 {
    margin: 0 0 5px;
    font-size: 16px;
    font-weight: 700;
    color: var(--heading-color);
}

.testimonials .profile-info h4 {
    margin: 0;
    font-size: 13px;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    font-weight: 500;
}

.testimonials .swiper-pagination {
    margin-top: 30px;
    position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: color-mix(in srgb, var(--accent-color), transparent 60%);
    opacity: 1;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
    background-color: var(--accent-color);
    width: 25px;
    border-radius: 5px;
}

@media (max-width: 767px) {
    .testimonials .testimonial-content {
        padding: 30px 20px 20px;
    }

    .testimonials .testimonial-content p {
        font-size: 15px;
    }

    .testimonials .testimonial-content .quote-icon {
        font-size: 36px;
        left: 20px;
    }

    .testimonials .testimonial-profile {
        padding: 15px 20px;
    }

    .testimonials .profile-info img {
        width: 45px;
        height: 45px;
    }
}

/* FAQ */

.faq-item {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    background: #fff;
    border: none;
    width: 100%;
    text-align: left;
    padding: 18px 20px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #222;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f0f0f0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: #fafafa;
    transition: all 0.4s ease;
    padding: 0 20px;
    line-height: 1.6;
    color: #555;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 15px 20px;
}

.faq-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/*** Footer ***/
.footer {
    background: #151b26 !important;
}

.footerh4 {
    font-size: 16px;
    font-weight: 500;
    line-height: 26px;
}

.footer-address {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer a,
.footer p {
    text-decoration: none;
    color: #FFFFFF !important;
    font-size: 14px;
    font-weight: 500 !important;
    line-height: 22px;
    margin-bottom: 10px;
}

.footer-address a i {
    margin-right: 5px;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #A7A8B4;
    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: #A7A8B4;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: #f68524;
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-square {
    color: #A7A8B4;
    border: 1px solid#A7A8B4;
}

.footer .btn.btn-square:hover {
    color: #f68524 !important;
    border-color: var(--light);
}

.siginup-btn {
    padding: 10px 20px;
    background: #1e4098 !important;
    color: #FFFFFF;
    transition: 0.5s;
}

.siginup-btn:hover {
    background: #f68524 !important;
    color: #FFFFFF;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--secondary);
}

.footer .copyright a:hover {
    color: #FFFFFF;
}

/* Remove blue outline & border on focus */
.form-control:focus,
.form-select:focus,
input:focus,
textarea:focus {
    border-color: #ccc !important;
    /* or your custom color */
    box-shadow: none !important;
    outline: none !important;
}

.form-control::placeholder {
    color: #6c757d !important;
    /* Bootstrap muted-like color */
    opacity: 1;
}

/* Chatbot Box */
.fixed-buttons {
    position: fixed;
    right: 30px;
    bottom: 15%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /* justify-content: space-between; */
    gap: 150px;
    z-index: 9999;
}


.dual-icon {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.icon-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
}

.icon-btn:hover {
    transform: scale(1.1);
}

.chatbot {
    background: var(--primary);
}

.chatbot img{
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.chatbot-box {
  position: fixed;
  bottom: 90px;
  right: 25px;
  width: 350px;
  height: 420px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  display: none;
  flex-direction: column;
  z-index: 9999;
}

/* Header */
.chatbot-header {
  background: #1e4098;
  color: #fff;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.chatbot-header button {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

/* Body */
.chatbot-body {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  background: #f5f7ff;
}

.bot-msg,
.user-msg {
     margin-bottom: 10px;
    padding: 8px 10px;
    border-radius: 6px;
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
}

.bot-msg {
  background: #e0e7ff;
  color: #000;
}

.user-msg {
  background: #1e4098;
  color: #fff;
  margin-left: auto;
}

/* Footer */
.chatbot-footer {
  display: flex;
  border-top: 1px solid #ddd;
}

.chatbot-footer input {
  flex: 1;
  padding: 10px;
  border: none;
  outline: none;
}

.chatbot-footer button {
  background: #1e4098;
  color: #fff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
}
