
/********** Template CSS **********/
:root {
    --primary: #011EB4;     /* ACAPS royal blue (MAIN) */
    --secondary: #00158A;   /* darker blue for hover/contrast */
    --dark: #011EB4;        /* unify dark/navy areas */
    --light: #F6F7F8;
    --bs-primary-rgb: 1, 30, 180;
}

/* Make sure utility classes follow */
.bg-primary { background-color: #011EB4 !important; }
.text-primary { color: #011EB4 !important; }
.border-primary { border-color: #011EB4 !important; }

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** 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 (ACAPS – FINAL) ***/
.btn {
    transition: all .3s ease;
    outline: none !important;
    box-shadow: none !important;
}

/* =========================
   PRIMARY BUTTON
   ========================= */
.btn.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.btn.btn-primary:hover,
.btn.btn-primary:focus,
.btn.btn-primary:active,
.btn.btn-primary:focus-visible {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: #ffffff;
    box-shadow: 0 0 0 0.2rem rgba(1, 30, 180, 0.35) !important; /* ACAPS blue focus */
}

/* =========================
   OUTLINE PRIMARY
   ========================= */
.btn.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    background-color: transparent;
}

.btn.btn-outline-primary:hover,
.btn.btn-outline-primary:focus,
.btn.btn-outline-primary:active,
.btn.btn-outline-primary:focus-visible {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 0 0 0.2rem rgba(1, 30, 180, 0.35) !important;
}

/* =========================
   SECONDARY BUTTON
   ========================= */
.btn.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: #ffffff;
}

.btn.btn-secondary:hover,
.btn.btn-secondary:focus,
.btn.btn-secondary:active,
.btn.btn-secondary:focus-visible {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 0 0 0.2rem rgba(1, 30, 180, 0.35) !important;
}

/* =========================
   REMOVE BOOTSTRAP ORANGE RING (GLOBAL)
   ========================= */
.btn:focus,
.btn:active,
.btn:focus-visible {
    outline: none !important;
    box-shadow: 0 0 0 0.2rem rgba(1, 30, 180, 0.35) !important;
}

/* =========================
   SQUARE BUTTONS
   ========================= */
.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 ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar {
    background-color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    padding-top: .85rem;
    padding-bottom: .85rem;
}

.navbar .navbar-brand {
    margin-right: 1rem;
}

.navbar .navbar-brand img {
    max-height: 58px !important;
    width: auto;
}

.navbar .navbar-collapse {
    align-items: center;
}

.navbar .navbar-nav {
    align-items: center;
}

/* NAV LINK FONT + COLOR */
.navbar .navbar-nav .nav-link {
    margin-left: 18px;
    padding: 10px 0;
    font-size: 1.12rem !important;
    font-weight: 700 !important;
    color: #2c2e33 !important;
    line-height: 1.2;
    outline: none;
}

/* HOVER + ACTIVE */
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

/* DROPDOWN ICON */
.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-toggler {
    border: 1px solid rgba(1, 30, 180, 0.2);
    padding: .45rem .65rem;
    border-radius: .5rem;
    box-shadow: none !important;
}

.navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 .2rem rgba(1, 30, 180, 0.15) !important;
}

.navbar .navbar-toggler-icon {
    width: 1.5rem;
    height: 1.5rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%281, 30, 180, 0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar .btn-link {
    text-decoration: none;
}

.navbar .btn-link:hover,
.navbar .btn-link:focus {
    text-decoration: none;
}

/*** MOBILE ***/
@media (max-width: 991.98px) {
    .navbar {
        padding-top: .7rem;
        padding-bottom: .7rem;
    }

    .navbar .navbar-brand img {
        max-height: 42px !important;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        margin-bottom: 10px;
        background-color: #fff;
        padding: 10px 0;
        align-items: stretch;
    }

    .navbar .nav-link,
    .navbar .navbar-nav .nav-link {
        margin-left: 0;
        font-size: 1rem !important;
        padding: 11px 14px;
    }

    .navbar .nav-item .dropdown-menu {
        padding-left: 20px;
        box-shadow: none !important;
        border: 0;
    }

    .navbar-actions {
        width: 100%;
        margin-top: 12px;
        padding-top: 10px;
        border-top: 1px solid rgba(0,0,0,.08);
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 10px;
    }
}

/*** DESKTOP ***/
@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;
    }
}

/* ✅ FIX: prevent nested submenu from auto showing due to .dropdown-menu {display:block} */
@media (min-width: 992px) {
  .dropdown-submenu > .dropdown-menu {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    top: 0 !important;
    left: 100% !important;
  }

  .dropdown-submenu > .dropdown-menu.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
     background: rgba(1, 30, 180, 0.85);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--dark);
    border: 12px solid var(--dark);
    border-radius: 3rem;
}
#header-carousel .carousel-item {
    height: 55vh;
    min-height: 360px;
    max-height: 520px;
}

#header-carousel .carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
@media (max-width: 768px) {
      #header-carousel .carousel-item {
        height: 40vh;
        min-height: 260px;
        max-height: 360px;
    }

    #header-carousel .carousel-item img {
        position: static;
    }
}

.page-header {
    background: linear-gradient(
        rgba(1, 30, 180, 0.85),
        rgba(1, 30, 180, 0.85)
    ), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item a,
.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item a:hover,
.page-header .breadcrumb-item.active {
    color: var(--primary);
}


/*** Facts ***/
.facts {
	position: relative;
}

.facts * {
	position: relative;
	z-index: 1;
}

.facts::after {
	position: absolute;
	content: "";
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
    background: rgba(1, 30, 180, 0.85);
}


/*** Quote ***/
@media (min-width: 992px) {
    .container.quote {
        max-width: 100% !important;
    }

    .container.quote .quote-text {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }

    .container.quote .quote-form {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .container.quote .quote-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }

    .container.quote .quote-form  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .container.quote .quote-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }

    .container.quote .quote-form  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}

.container.quote .quote-text,
.container.quote .quote-form {
	position: relative;
}

.container.quote .quote-text *,
.container.quote .quote-form * {
	position: relative;
	z-index: 1;
}

.container.quote .quote-text::after,
.container.quote .quote-form::after {
	position: absolute;
	content: "";
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

.container.quote .quote-text::after {
    background: rgba(1, 30, 180, 0.85);
}

.container.quote .quote-form::after {
    background: rgba(255, 255, 255, .8);
}

.container.quote .quote-text .h-100,
.container.quote .quote-form .h-100 {
    padding: 6rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/*** Service ***/
.service-item .service-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item .service-icon img {
    max-width: 60px;
    max-height: 60px;
}


/*** Team ***/
.team-item .team-img::before,
.team-item .team-img::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(1, 10, 53, .8);
    transition: .5s;
}

.team-item .team-img::after {
    left: auto;
    right: 0;
}

.team-item:hover .team-img::before,
.team-item:hover .team-img::after {
    width: 50%;
}

/* ============================
   ACAPS – Product card layout
   Make all cards & images same size (perfect square)
   ============================ */

/* Make the whole card a flex column so heights match */
.card.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Product card image area – fixed height, not huge */
.card.product-card .product-image-wrap {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

/* Image fills that fixed-height box */
.card.product-card .product-image-wrap .product-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: static;
}


/* Ensure body fills remaining space consistently */
.card.product-card .card-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Keep titles roughly same height so cards align nicely */
.card.product-card .card-title {
    min-height: 3rem;
}



/* ACAPS – product card image normalisation */

.dropdown-menu.brands-menu {
    max-height: 300px;
    overflow-y: auto;
}

.nav-brand-logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
}

/* Brands dropdown scrollable */
.dropdown-menu.brands-menu {
    max-height: 300px;
    overflow-y: auto;
}

/* Unified brand logo size */
.nav-brand-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}

.team-item .team-img .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.team-item:hover .team-img .team-social {
    transition-delay: .3s;
    opacity: 1;
}


/*** Testimonial ***/
.animated.pulse {
    animation-duration: 1.5s;
}

.testimonial-left,
.testimonial-right {
    position: relative;
}

.testimonial-left img,
.testimonial-right img {
    position: absolute;
    border-radius: 70px;
}

.testimonial-left img:nth-child(1),
.testimonial-right img:nth-child(3) {
    width: 70px;
    height: 70px;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-left img:nth-child(2),
.testimonial-right img:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}

.testimonial-left img:nth-child(3),
.testimonial-right img:nth-child(1) {
    width: 50px;
    height: 50px;
    bottom: 10%;
    right: 10%;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
    border-radius: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}
.brand-strip-logo {
    max-height: 80px;
    width: auto;
    object-fit: contain;
}


/*** Footer ***/
.footer {
    color: #7F8499;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #7F8499;
    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: #7F8499;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: #ffffff;
    letter-spacing: 1px;
    box-shadow: none;
}


.footer .btn.btn-square {
    color: #7F8499;
    border: 1px solid #7F8499;
}

.footer .btn.btn-square:hover {
    color: var(--light);
    border-color: var(--primary);
}

.footer .copyright {
    padding: 25px 0;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: #ffffff;
    text-decoration: underline;
}
.footer .copyright a:hover {
    color: #e6e9ff;
}

.nav-cart-link {
    padding: 0;
    border: none;
    background: transparent;
}

.nav-cart-icon {
    font-size: 1.7rem;
    color: #2c2e33;
}

.nav-cart-badge {
    position: absolute;
    top: -4px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #dc3545;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

.dropdown-menu.brands-menu {
    max-height: 300px;
    overflow-y: auto;
}

.nav-brand-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}

.footer {
    background-color: #011EB4 !important;
}
.footer,
.footer span,
.footer p {
    color: #e6e9ff;
}

.breadcrumb-item a {
    color: #011EB4;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #00158A;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #6c757d;
}

:root{
  --bs-primary: 1, 30, 180;
}

.btn-primary,
.bg-primary{
  background-color:#011EB4 !important;
  border-color:#011EB4 !important;
}

.text-primary{
  color:#011EB4 !important;
}