/********** Template CSS **********/
:root {
    --primary: #06A3DA;
    --secondary: #34AD54;
    --light: #EEF9FF;
    --dark: #091E3E;
}


/*** Spinner ***/
.spinner {
    width: 40px;
    height: 40px;
    background: #be1a19;
    margin: 100px auto;
    -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
    animation: sk-rotateplane 1.2s infinite ease-in-out;
}

@-webkit-keyframes sk-rotateplane {
    0% {
        -webkit-transform: perspective(120px)
    }
    50% {
        -webkit-transform: perspective(120px) rotateY(180deg)
    }
    100% {
        -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg)
    }
}

@keyframes sk-rotateplane {
    0% {
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg)
    }
    50% {
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg)
    }
    100% {
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    }
}

#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;
}


/*** Heading ***/
h1,
h2,
.fw-bold {
    font-weight: 800 !important;
}

h3,
h4,
.fw-semi-bold {
    font-weight: 700 !important;
}

h5,
h6,
.fw-medium {
    font-weight: 600 !important;
}


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
    box-shadow: inset 0 0 0 50px transparent;
}

.btn-primary:hover {
    box-shadow: inset 0 0 0 0 #be1a19;
}

.btn-secondary:hover {
    box-shadow: inset 0 0 0 0 var(--secondary);
}

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

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

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

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}


/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
    font-family: 'Nunito', sans-serif;
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 600;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 0;
    color: #e5e9ef;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #be1a19;
}

.navbar-dark .navbar-brand h1 {
    color: #FFFFFF;
}

.navbar-dark .navbar-toggler {
    color: #be1a19 !important;
    border-color: #be1a19 !important;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-dark {
        position: relative;
        background: #000000;
    }

    .navbar-dark .navbar-nav .nav-link,
    .navbar-dark .navbar-nav .nav-link.show,
    .sticky-top.navbar-dark .navbar-nav .nav-link {
        padding: 10px 0;
        color: #ffffff;
    }

    .navbar-dark .navbar-brand h1 {
        color: #be1a19;
    }
}

@media (min-width: 992px) {
    .navbar-dark {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, .1);
        z-index: 999;
    }
    
    .sticky-top.navbar-dark {
        position: fixed;
        background: #000000;
    }

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

    .navbar-dark .navbar-nav .nav-link:hover::before,
    .navbar-dark .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-dark .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .sticky-top.navbar-dark .navbar-brand h1 {
        color: #be1a19;
    }
}


/*** Carousel ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(243 221 215 / 0%);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 900 !important;
        
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}


/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 150px;
    height: 5px;
    left: 0;
    bottom: 0;
    background: #be1a19;
    border-radius: 2px;
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -75px;
}

.section-title.section-title-sm::before {
    width: 90px;
    height: 3px;
}

.section-title::after {
    position: absolute;
    content: "";
    width: 6px;
    height: 5px;
    bottom: 0px;
    background: #FFFFFF;
    -webkit-animation: section-title-run 5s infinite linear;
    animation: section-title-run 5s infinite linear;
}

.section-title.section-title-sm::after {
    width: 4px;
    height: 3px;
}

.section-title.text-center::after {
    -webkit-animation: section-title-run-center 5s infinite linear;
    animation: section-title-run-center 5s infinite linear;
}

.section-title.section-title-sm::after {
    -webkit-animation: section-title-run-sm 5s infinite linear;
    animation: section-title-run-sm 5s infinite linear;
}

@-webkit-keyframes section-title-run {
    0% {left: 0; } 50% { left : 145px; } 100% { left: 0; }
}

@-webkit-keyframes section-title-run-center {
    0% { left: 50%; margin-left: -75px; } 50% { left : 50%; margin-left: 45px; } 100% { left: 50%; margin-left: -75px; }
}

@-webkit-keyframes section-title-run-sm {
    0% {left: 0; } 50% { left : 85px; } 100% { left: 0; }
}


/*** Service ***/
.service-item {
    position: relative;
    height: 300px;
    padding: 0 30px;
    transition: .5s;
}

.service-item .service-icon {
    margin-bottom: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:#be1a19;
    border-radius: 2px;
    transform: rotate(-45deg);
}

.service-item .service-icon i {
    transform: rotate(45deg);
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #DDDDDD;
    border-radius: 2px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: #be1a19;
}

.testimonial-carousel .owl-item.center {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
    box-shadow: 0 0 30px #DDDDDD;
}


/*** Team ***/
.team-item {
    transition: .5s;
}

.team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-social a.btn {
    position: relative;
    margin: 0 3px;
    margin-top: 100px;
    opacity: 0;
}

.team-item:hover {
    box-shadow: 0 0 30px #DDDDDD;
}

.team-item:hover .team-social {
    background: rgba(9, 30, 62, .7);
}

.team-item:hover .team-social a.btn:first-child {
    opacity: 1;
    margin-top: 0;
    transition: .3s 0s;
}

.team-item:hover .team-social a.btn:nth-child(2) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .05s;
}

.team-item:hover .team-social a.btn:nth-child(3) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .1s;
}

.team-item:hover .team-social a.btn:nth-child(4) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .15s;
}

.team-item .team-img img,
.blog-item .blog-img img  {
    transition: .5s;
}

.team-item:hover .team-img img,
.blog-item:hover .blog-img img {
    transform: scale(1.15);
}


/*** Miscellaneous ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -75px;
        z-index: 1;
    }
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.bg-header {
    background: linear-gradient(rgba(16, 20, 26, 0.62), rgba(9, 30, 62, .7)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.link-animated a {
    transition: .5s;
}

.link-animated a:hover {
    padding-left: 10px;
}

@media (min-width: 767.98px) {
    .footer-about {
        margin-bottom: -75px;
    }
}
    .ils-wrap *, .ils-wrap *::before, .ils-wrap *::after { box-sizing: border-box; }

/* ─── SECTION ─── */
.ils-wrap {
  position: relative;
  background: #ffffff;
  padding: 90px 24px 110px;
  overflow: hidden;
  font-family: 'DM Sans', sans-serif;
}

/* Diagonal red slash top-right */
.ils-wrap::before {
  content: '';
  position: absolute;
  top: -60px; right: -80px;
  width: 260px; height: 260px;
  background: #C8102E;
  opacity: 0.06;
  border-radius: 50%;
  pointer-events: none;
}

/* ─── HEADER ─── */
.ils-head {
  max-width: 1160px;
  margin: 0 auto 64px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.ils-head-left {}

.ils-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #C8102E;
  margin-bottom: 14px;
}
.ils-eyebrow-line {
  display: inline-block;
  width: 32px; height: 2px;
  background: #C8102E;
}

.ils-main-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.05;
  color: #0F0F0F;
  margin: 0 0 16px;
  letter-spacing: -1px;
}
.ils-main-title em {
  font-style: normal;
  color: #C8102E;
  position: relative;
}
/* Underline accent on keyword */
.ils-main-title em::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 3px;
  background: #C8102E;
  border-radius: 2px;
}

.ils-subtitle {
  font-size: 15px;
  font-weight: 300;
  color: #666;
  max-width: 500px;
  line-height: 1.75;
  margin: 0;
}

/* Count badge */
.ils-count-badge {
  font-family: 'Montserrat', sans-serif;
  font-size: 72px;
  font-weight: 900;
  color: #0F0F0F;
  line-height: 1;
  letter-spacing: -4px;
  opacity: 0.06;
  white-space: nowrap;
  user-select: none;
  align-self: flex-start;
  margin-top: 4px;
}
.ils-count-badge span { color: #C8102E; opacity: 1; font-size: 48px; vertical-align: super; letter-spacing: 0; }

/* ─── GRID ─── */
.ils-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 1160px;
  margin: 0 auto;
  background: #e8e8e8;
  border: 1px solid #e8e8e8;
  overflow: hidden;
}

/* ─── CARD ─── */
.ils-card {
  position: relative;
  background: #fff;
  padding: 40px 32px 44px;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.35s ease, transform 0.35s cubic-bezier(0.23,1,0.32,1), box-shadow 0.35s ease;
  /* stagger animation */
  opacity: 0;
  transform: translateY(28px);
  animation: ilsUp 0.55s cubic-bezier(0.23,1,0.32,1) forwards;
}
.ils-card:nth-child(1){animation-delay:.08s}
.ils-card:nth-child(2){animation-delay:.16s}
.ils-card:nth-child(3){animation-delay:.24s}
.ils-card:nth-child(4){animation-delay:.32s}
.ils-card:nth-child(5){animation-delay:.40s}
.ils-card:nth-child(6){animation-delay:.48s}

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

/* Red top border reveal */
.ils-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: #C8102E;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.23,1,0.32,1);
}

/* BG fill on hover */
.ils-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #0F0F0F;
  transform: translateY(101%);
  transition: transform 0.45s cubic-bezier(0.23,1,0.32,1);
  z-index: 0;
}

.ils-card:hover {
  box-shadow: 0 12px 48px rgba(0,0,0,0.14);
  transform: translateY(-4px);
  z-index: 2;
}
.ils-card:hover::before { transform: scaleX(1); }
.ils-card:hover::after  { transform: translateY(0); }

/* All card children above the dark overlay */
.ils-card > * { position: relative; z-index: 1; }

/* ─── Card top row ─── */
.ils-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}

.ils-icon-box {
  width: 54px; height: 54px;
  border: 1.5px solid #e0e0e0;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.35s, border-color 0.35s;
  flex-shrink: 0;
}
.ils-icon-box svg {
  width: 26px; height: 26px;
  stroke: #C8102E; fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke 0.35s;
}
.ils-card:hover .ils-icon-box {
  background: #C8102E;
  border-color: #C8102E;
}
.ils-card:hover .ils-icon-box svg { stroke: #fff; }

.ils-card-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px; font-weight: 800;
  color: #ddd;
  letter-spacing: 1px;
  transition: color 0.35s;
}
.ils-card:hover .ils-card-num { color: rgba(255,255,255,0.25); }

/* ─── Card content ─── */
.ils-card-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: #C8102E;
  margin-bottom: 8px;
  transition: color 0.35s;
  display: block;
}
.ils-card:hover .ils-card-label { color: rgba(200,16,46,0.7); }

.ils-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 19px; font-weight: 800;
  color: #0F0F0F;
  line-height: 1.25;
  margin: 0 0 12px;
  letter-spacing: -0.3px;
  transition: color 0.35s;
}
.ils-card:hover .ils-card-title { color: #fff; }

/* Thin red rule */
.ils-card-rule {
  width: 28px; height: 2px;
  background: #C8102E;
  margin-bottom: 14px;
  border-radius: 2px;
  transition: width 0.4s ease, background 0.35s;
}
.ils-card:hover .ils-card-rule { width: 50px; background: #C8102E; }

.ils-card-desc {
  font-size: 13.5px; font-weight: 400;
  color: #777; line-height: 1.75;
  margin: 0 0 20px;
  transition: color 0.35s;
}
.ils-card:hover .ils-card-desc { color: rgba(255,255,255,0.65); }

/* Tags */
.ils-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  list-style: none; margin: 0; padding: 0;
}
.ils-tag {
  font-size: 10px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: #999; border: 1px solid #ececec;
  padding: 3px 9px; border-radius: 2px;
  transition: all 0.3s;
}
.ils-card:hover .ils-tag {
  border-color: rgba(200,16,46,0.5);
  color: rgba(200,16,46,0.85);
  background: rgba(200,16,46,0.05);
}

/* Arrow chip bottom-right */
.ils-arrow {
  position: absolute; bottom: 22px; right: 24px;
  width: 30px; height: 30px;
  border-radius: 50%; border: 1px solid #e0e0e0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translate(6px,6px) scale(0.8);
  transition: all 0.4s cubic-bezier(0.23,1,0.32,1);
  z-index: 1;
}
.ils-arrow svg { width: 13px; height: 13px; stroke: #C8102E; fill: none; stroke-width: 2.2; }
.ils-card:hover .ils-arrow {
  opacity: 1; transform: translate(0,0) scale(1);
  border-color: rgba(200,16,46,0.5);
}

/* ─── CTA ROW ─── */
.ils-cta-row {
  max-width: 1160px;
  margin: 52px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.ils-note {
  font-size: 14px; color: #999; font-weight: 300;
  max-width: 360px; line-height: 1.6;
}
.ils-note strong { color: #0F0F0F; font-weight: 600; }

.ils-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #C8102E; color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  padding: 15px 32px;
  border: none; cursor: pointer;
  position: relative; overflow: hidden;
  text-decoration: none;
  transition: box-shadow 0.3s;
  white-space: nowrap;
}
.ils-btn::before {
  content: '';
  position: absolute; inset: 0;
  background: #0F0F0F;
  transform: translateX(-101%);
  transition: transform 0.4s cubic-bezier(0.23,1,0.32,1);
}
.ils-btn:hover::before { transform: translateX(0); }
.ils-btn:hover { box-shadow: 0 6px 32px rgba(200,16,46,0.35); }
.ils-btn span, .ils-btn svg { position: relative; z-index: 1; }
.ils-btn svg { width: 15px; height: 15px; stroke: #fff; fill: none; stroke-width: 2.5; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1023px) {
  .ils-grid { grid-template-columns: repeat(2,1fr); }
  .ils-count-badge { display: none; }
}
@media (max-width: 599px) {
  .ils-wrap { padding: 60px 16px 80px; }
  .ils-grid { grid-template-columns: 1fr; }
  .ils-head { margin-bottom: 44px; }
  .ils-main-title { font-size: 30px; }
  .ils-cta-row { flex-direction: column; align-items: flex-start; }
}