/********** Template CSS **********/
:root {
    --primary: #e30613;
    --light: #F8F8F8;
    --dark: #252525;
}

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 600 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 500 !important;
}

h5,
h6,
.h5,
.h6,
.fw-normal {
    font-weight: 400 !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 ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.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;
}

.btn-outline-body {
    color: var(--primary);
    border-color: #777777;
}

.btn-outline-body:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}


/*** Navbar ***/
.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 {
    margin-right: 30px;
    padding: 30px 0;
    color: var(--dark);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@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 ***/
.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .5);
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}

.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 45px;
    height: 45px;
    margin: 5px 0;
    background: var(--dark);
    transition: .5s;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 60px;
    height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    transition: .5s;
    opacity: .3;
}

.header-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
}


/*** Facts ***/
.fact-item .fact-icon {
    width: 120px;
    height: 120px;
    margin-top: -60px;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 120px;
    transition: .5s;
}

.fact-item:hover .fact-icon {
    background: var(--dark);
}

.fact-item .fact-icon i {
    color: var(--primary);
    transition: .5;
}

.fact-item:hover .fact-icon i {
    color: #FFFFFF;
}


/*** About & Feature ***/
.about-img,
.feature-img {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.about-img img,
.feature-img img {
    position: absolute;
    width: 60%;
    height: 80%;
    object-fit: cover;
}

.about-img img:last-child,
.feature-img img:last-child {
    margin: 20% 0 0 40%;
}

.about-img::before,
.feature-img::before {
    position: absolute;
    content: "";
    width: 60%;
    height: 80%;
    top: 10%;
    left: 20%;
    border: 5px solid var(--primary);
    z-index: -1;
}


/*** Service ***/
.service-item .bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.service-item .service-text {
    background: var(--light);
    transition: .5s;
}

.service-item:hover .service-text {
    background: rgba(0, 0, 0, .7);
}

.service-item * {
    transition: .5;
}

.service-item:hover * {
    color: #FFFFFF;
}

.service-item .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}

.service-item:hover .btn {
    width: 140px;
}


/*** Project ***/
.project .nav .nav-link {
    background: var(--light);
    transition: .5s;
}

.project .nav .nav-link.active {
    background: var(--primary);
}

.project .nav .nav-link.active h3 {
    color: #FFFFFF !important;
}


/*** team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    bottom: -20px;
    left: 0;
}

.team-item .team-social .btn {
    display: inline-flex;
    margin: 0 2px;
    color: var(--primary);
    background: var(--light);
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Appointment ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel {
    display: flex !important;
    flex-direction: column-reverse;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.testimonial-carousel .owl-dots .owl-dot {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 5px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot::after {
    position: absolute;
    width: 40px;
    height: 40px;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
    transition: .5s;
    opacity: 0;
}

.testimonial-carousel .owl-dots .owl-dot.active::after {
    opacity: 1;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .4;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #777777;
    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(--primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: #777777;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}


/* Service details layout */
.service-details .service-title{font-size:2rem;font-weight:700;}
.service-details .service-subtitle{opacity:.9}

.service-stats{display:flex;gap:18px;flex-wrap:wrap;justify-content:flex-start}
.service-stats .stat-item{background:#f7f9fc;border:1px solid #eef2f7;border-radius:12px;padding:14px 18px;min-width:160px}
.service-stats .stat-number{font-size:1.6rem;font-weight:800;color:var(--primary);line-height:1}
.service-stats .stat-label{font-size:.85rem;opacity:.7}

.service-overview .service-image{box-shadow:0 10px 30px rgba(0,0,0,.08)}
.overview-grid{display:grid;gap:18px;grid-template-columns:repeat(2,minmax(0,1fr))}
.overview-item{background:#fff;border:1px solid #eee;border-radius:12px;padding:18px}
.overview-item i{font-size:24px;color:var(--primary);margin-bottom:8px;display:block}

.custom-tabs .nav-link{border:none;border-bottom:3px solid transparent;font-weight:600}
.custom-tabs .nav-link.active{border-bottom-color:var(--primary);color:var(--primary)}
.capability-features{margin:0;padding-left:18px}
.capability-features li{margin:.25rem 0}

.service-sidebar .quick-info-card,
.service-sidebar .contact-form-card,
.service-sidebar .expertise-highlights{
  background:#fff;border:1px solid #eee;border-radius:12px;padding:20px;margin-bottom:20px
}
.quick-info-card .info-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.info-badge{background:#0d6efd1a;color:#0d6efd;border:1px solid #0d6efd33;padding:.25rem .5rem;border-radius:999px;font-size:.8rem}
.info-row{display:flex;justify-content:space-between;border-bottom:1px dashed #eee;padding:.35rem 0}
.info-row .label{font-weight:600;opacity:.8}
.info-row .value{opacity:.9}

.consultation-form .form-group{margin-bottom:.75rem}
.consultation-form input,
.consultation-form select,
.consultation-form textarea{width:100%;border:1px solid #e6e6e6;border-radius:8px;padding:.6rem .8rem}
.consultation-form .btn-submit{display:inline-block;border:none;border-radius:8px;background:var(--primary);color:#fff;padding:.6rem 1rem;font-weight:600}

.expertise-grid{display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}
.expertise-item{display:flex;align-items:center;gap:8px;background:#f8f9fb;border:1px solid #eef2f7;border-radius:10px;padding:10px}

.project-showcase .showcase-grid{display:grid;gap:18px;grid-template-columns:2fr 1fr 1fr 1fr}
.project-showcase .showcase-item{position:relative;overflow:hidden;border-radius:12px}
.project-showcase .showcase-item.large{grid-row:span 2}
.project-showcase .showcase-item img{width:100%;height:100%;object-fit:cover}
.project-showcase .showcase-overlay{position:absolute;inset:0;background:linear-gradient(180deg,transparent,rgba(0,0,0,.55));opacity:0;transition:.25s}
.project-showcase .showcase-item:hover .showcase-overlay{opacity:1}
.project-showcase .showcase-content{position:absolute;left:16px;bottom:12px;color:#fff}
.project-showcase .view-project{color:#fff;font-size:20px;margin-left:8px}
@media (max-width: 992px){
  .overview-grid{grid-template-columns:1fr}
  .project-showcase .showcase-grid{grid-template-columns:1fr 1fr}
}
@media (max-width: 576px){
  .service-stats{gap:10px}
  .service-stats .stat-item{min-width:unset;flex:1}
  .project-showcase .showcase-grid{grid-template-columns:1fr}
}

:root{
  --primary: #e30613; /* Enzanawe brand */
}

/* Button reused from your form card */
.contact-form-card .btn-submit{
  border:none; border-radius:8px;
  background: var(--primary); color:#fff;
  padding:.65rem 1.1rem; font-weight:700;
  box-shadow:0 6px 16px rgba(247,148,29,.25);
  transition:transform .15s ease, box-shadow .15s ease;
}
.contact-form-card .btn-submit:hover{
  transform: translateY(-1px);
  box-shadow:0 8px 20px rgba(247,148,29,.35);
}

/* Footer Logos */
/* Footer logo settings */
.izwe-logo {
  height: 45px;     /* Perfect small size (adjust here) */
  width: auto;
  margin-left: 6px;
  vertical-align: middle;
  opacity: 0.9;
  transition: opacity 0.25s ease;
}

.izwe-logo:hover {
  opacity: 1;
}

.logo-link {
  text-decoration: none;
}


/* Footer Cover page */
/* Footer covers */

/* --- Profile Cover Wrapper --- */
.profile-cover-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* --- Floating Card --- */
.profile-cover-card {
  background: #ffffff;
  padding: 15px;
  border-radius: 14px;
  width: 70%;        /* makes the cover smaller */
  max-width: 330px;  /* hard limit so it's never too big */

  /* Smooth shadow */
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);

  /* Bounce animation */
  animation: bounceFloat 4s ease-in-out infinite;
}

/* --- Bounce Animation Keyframes --- */
@keyframes bounceFloat {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-14px); }
  100% { transform: translateY(0); }
}

/* --- Image Styling --- */
.profile-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

/* --- Rating Badge --- */
.rating-badge .stars {
  color: #f1c40f;
  font-size: 20px;
  margin-right: 6px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .profile-cover-card {
    width: 80%;
    max-width: 280px;
  }
}


/* Container */
.supplier-logos {
    overflow: hidden;
    background: #f8f9fa;
    padding: 14px 0;
    position: relative;
}

/* Track */
.logos-track {
    display: flex;
    align-items: center;
    gap: 40px;
    width: max-content;

    /* Speed burst every 2 logos */
    animation: speedBurstScroll 26s infinite;
}

/* Logo Images */
.supplier-logos img {
    height: 80px;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

/* Hover */
.supplier-logos img:hover {
    filter: none;
    opacity: 1;
    transform: scale(1.10);
}

/* STRATEGIC PARTNERS — SPEED BURST ANIMATION */
/*
Timeline logic (example with 8 logos duplicated = 16 logos):
We move in small segments. After every 12.5% (≈2 logos), we apply a burst.
*/

@keyframes speedBurstScroll {
    /* Start */
    0%   { transform: translateX(0); }

    /* After 2 logos → burst */
    6%   { transform: translateX(-7%); }  /* normal */
    12%  { transform: translateX(-13%); } /* burst */

    /* After next 2 logos */
    18%  { transform: translateX(-20%); } /* normal */
    24%  { transform: translateX(-26%); } /* burst */

    /* Next pair */
    30%  { transform: translateX(-33%); }
    36%  { transform: translateX(-39%); }

    /* Next pair */
    42%  { transform: translateX(-46%); }
    48%  { transform: translateX(-52%); }

    /* Next pair */
    54%  { transform: translateX(-59%); }
    60%  { transform: translateX(-65%); }

    /* Next pair */
    66%  { transform: translateX(-72%); }
    72%  { transform: translateX(-78%); }

    /* Final pair */
    78%  { transform: translateX(-85%); }
    84%  { transform: translateX(-91%); }

    /* Loop complete */
    100% { transform: translateX(-100%); }
}

/* Mobile */
@media (max-width: 768px) {
    .supplier-logos img {
        height: 60px;
    }
    .logos-track {
        gap: 25px;
        animation: speedBurstScroll 30s infinite;
    }
}

