/********** Template CSS **********/
:root {
    --primary: #c78b28;
    --light: #EEF9FF;
    --dark: #0e0c0c;
}

a,
body {
    color: var(--dark);
}
a:hover {
     color: var(--primary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
     color: var(--primary);
}

.footer-bg {
    background: url('../img/home/bgfooter.jpg') no-repeat;
    background-size: cover;
}

.bg-color {
    background-color: var(--primary);
}
.text-color-primary {
    color: var(--primary)
}

.text-color-dark {
    color: var(--dark);
}

.text-color,
.text-color:hover {
    color: var(--light);
}





.gallery-wrapper {
  display: grid;
  place-items: center;
}
.gallery {
  /* --gap: 0.4rem;
  --image-size: calc(80px - var(--gap) / 2);
  display: grid;
  grid-template-columns: repeat(6, var(--image-size));
  grid-template-rows: repeat(4, var(--image-size));
  gap: var(--gap); */
  transition: transform 0.4s;
}
  .gallery:hover {
    transform: scale(0.98);
  }

  .gallery:hover > img {
    filter: brightness(0.5) saturate(0.5);
  }

  .gallery img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    grid-column: span 2;
    clip-path: path(
      "M72,8 C80,0 80,0 88,8 152,72 152,72 152,72 160,80 160,80 152,88 152,88 88,152 88,152 80,160 80,160 72,152 72,152 8,88 8,88 0,80 0,80 8,72Z"
    );
    transition: clip-path 0.3s, transform 0.8s, filter 0.5s;
  }
    .gallery img:nth-of-type(4) {
      grid-column: 2 / span 2;
    }

    .gallery img:hover {
      clip-path: path(
        "M0,0 C0,0 160,0 160,0 160,0 160,80 160,80 160,80 160,160 160,160 160,160 80,160 80,160 80,160 80,160 0,160 0,160 0,80 0,80 0,80 0,80 0,80Z"
      );
      display: block;
      transform: scale(1.4);
      z-index: 100;
      filter: brightness(1) saturate(1.2);
      border-radius: 0.25rem;
    }

    .gallery img:not(:hover) {
      animation: zIndexHack 0.5s;
    }

@keyframes zIndexHack {
  0%,
  100% {
    z-index: 1;
  }
}












.projectcard {
  display: grid;
  place-items: center;
  min-width: 100%;
  height:300px;
  overflow: hidden;
  border-radius: 0.625rem;
    box-shadow: rgba(149, 157, 165, 0.5) 0px 8px 20px;
}
.project-img {
    position: relative;
}
.project-img .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  width: 100%;
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.7);
}
.project-img .overlay .text {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    font-weight: 500;
    color: #0e0c0c;
}
.project-img .overlay .text:hover {
    color: #03438c;
}

.projectcard > * {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.projectcard__background {
  object-fit: cover;
  max-width: 100%;
  height: 100%;
}

.projectcard__description {
    color: var(--light);
    margin-top: 20px;
}

.projectcard__content {
  --flow-space: 0.9375rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: flex-end;
  height: 75%;
  padding: 12% 1.25rem 1.875rem;
  background: linear-gradient(
    180deg,
    hsla(212, 96%, 28%, 0) 0%,
    hsla(212, 96%, 28%, 0.2) 10%,
    hsla(212, 96%, 28%, 0.788) 100%
  );
}

.projectcard__content--container {
  --flow-space: 1.25rem;
}

.projectcard__title {
  position: relative;
  width: fit-content;
  color: var(--light);
}

.projectcard__title::after {
  content: "";
  position: absolute;
  height: 0.3125rem;
  width: calc(100% + 1.25rem);
  bottom: calc((1.25rem - 0.5rem) * -1);
  left: -1.25rem;
  background-color: var(--light);
}

  .projectcard__content {
    transform: translateY(120px);
    transition: transform 500ms ease-out;
    transition-delay: 500ms;
  }

  .projectcard__title::after {
    opacity: 0;
    transform: scaleX(0);
    transition: opacity 1000ms ease-in, transform 500ms ease-out;
    transition-delay: 500ms;
    transform-origin: right;
  }

  .projectcard__background {
    transition: transform 500ms ease-in;
  }

  .projectcard__content--container > :not(.projectcard__title) {
    opacity: 0;
    transition: transform 500ms ease-out, opacity 500ms ease-out;
  }

  .projectcard:hover,
  .projectcard:focus-within {
    transform: scale(1);
    transition: transform 500ms ease-in;
  }

  .projectcard:hover .projectcard__content,
  .projectcard:focus-within .projectcard__content {
    transform: translateY(0);
    transition: transform 500ms ease-in;
  }

  .projectcard:focus-within .projectcard__content {
    transition-duration: 0ms;
  }

  .projectcard:hover .projectcard__background,
  .projectcard:focus-within .projectcard__background {
    transform: scale(1.3);
  }

  .projectcard:hover .projectcard__content--container > :not(.projectcard__title),
  .projectcard:focus-within .projectcard__content--container > :not(.projectcard__title) {
    opacity: 1;
    transition: opacity 500ms ease-in;
    transition-delay: 1000ms;
  }

  .projectcard:hover .projectcard__title::after,
  .projectcard:focus-within .projectcard__title::after {
    opacity: 1;
    transform: scaleX(1);
    transform-origin: left;
    transition: opacity 500ms ease-in, transform 500ms ease-in;
    transition-delay: 500ms;
  }



/*** Spinner ***/
.spinner {
    width: 40px;
    height: 40px;
    background: var(--primary);
    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 var(--primary);
}


.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: 10px 0;
    color: #0e0c0c;
    font-size: 18px;
    font-weight: 600;
    outline: none;
    transition: .5s;
}

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

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}

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

.navbar-dark .navbar-toggler {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

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

    .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: var(--dark);
    }

    .navbar-dark .navbar-brand h1 {
        color: var(--primary);
    }
}

@media (min-width: 992px) {
    .navbar-dark {
        width: 100%;
        top: 0;
        left: 0;
        z-index: 999;
    }
    
    .sticky-top.navbar-dark {
        position: fixed;
        min-width: 100%;
        background: #FFFFFF;
    }

    .navbar-dark .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--primary);
        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: var(--primary);
    }
}


/*** Carousel ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    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: 600 !important;
    }
}

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

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


.vendor-carousel .owl-item {
    display: flex;
    justify-content: center;
    align-items: center;
     border: 1px solid #dee2e6;
     height: 100px;
     padding: 10px;
}

.vendor-carousel img {
    max-height: 80px;
    object-fit: contain;
}

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

.section-title .location {
    color: var(--primary);
}

.section-title h4 {
    color: var(--dark);
}

.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;
    background-color: #03438c0c;
}

.service-item .service-icon {
    margin-bottom: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 2px;
    transform: rotate(-45deg);
}
.form-control {
    background-color: #03438c0c;
}
.form-control:focus {
    box-shadow: 0 0 0 .07rem var(--primary);
}

button:focus {
    box-shadow: none;
}

.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: var(--primary);
}

.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;
    background: var(--primary);
    color: #fff;
}
.back-to-top:hover {
    color: white;
}

.bg-header {
    background: linear-gradient(rgba(9, 30, 62, .5), rgba(9, 30, 62, .5)), url(../img/about-banner.jpg) center center no-repeat;
    background-size: cover;
    height: 700px;
}

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

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

@media (min-width: 767.98px) {
    .footer-about {
        margin-bottom: -75px;
    }
}

@media (min-width: 1700px) {
    .container, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl {
        max-width: 1620px;
    }
}


    /* Main timeline vertical bar start */
  .timeline {
      position: relative;
    }

    .timeline::before {
      content: '';
      position: absolute;
      left: 0; /* Adjusted to align with dot center */
      top: 0;
      bottom: 0;
      width: 2px;
      background: var(--dark);
    }

    .timeline-item {
      position: relative;
      padding: 20px;
      margin: 30px 0;
      margin-left: 35px;
      background: rgba(255, 255, 255, 0.7);
      backdrop-filter: blur(10px);
      border-radius: 8px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    /* Circle connector */
    .timeline-item::before {
      content: '';
      position: absolute;
      left: -33px; /* Adjusted to center on bar */
      top: 24px;
      width: 12px;
      height: 12px;
      background: var(--dark);
      border-radius: 50%;
      z-index: 1;
      transition: all 0.3s ease;
    }

    /* Horizontal connector line */
    .timeline-item::after {
      content: '';
      position: absolute;
      left: -22px; /* Adjusted to connect from dot edge */
      top: 29px;
      width: 21px;
      height: 2px;
      background: var(--dark);
    }

    .timeline-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 8px;
    }

    .timeline-date {
      color: var(--dark);
      font-size: 0.875rem;
    }

    .timeline-content {
      color: var(--dark);
      line-height: 1.5;
    }

    .timeline-item:nth-child(1) {
      background: linear-gradient(120deg, rgba(255, 255, 255, 0.7), rgba(240, 128, 128, 0.2));
    }

    .timeline-item:nth-child(2) {
      background: linear-gradient(120deg, rgba(255, 255, 255, 0.7), rgba(102, 205, 170, 0.2));
    }

    .timeline-item:nth-child(3) {
      background: linear-gradient(120deg, rgba(255, 255, 255, 0.7), rgba(100, 149, 237, 0.2));
    }

    .timeline-item:nth-child(4) {
      background: linear-gradient(120deg, rgba(255, 255, 255, 0.7), rgba(240, 230, 140, 0.2));
    }

    .timeline-item:nth-child(5) {
       background: linear-gradient(120deg, rgba(255, 255, 255, 0.7), rgba(255, 160, 122, 0.2));
    }

     .timeline-item:nth-child(6) {
      background: linear-gradient(120deg, rgba(255, 255, 255, 0.7), rgba(147, 112, 219, 0.2));
    }

     .timeline-item:nth-child(7) {
         background: linear-gradient(120deg, rgba(255, 255, 255, 0.7), rgba(175, 238, 238, 0.2));
    }


    @media (max-width: 640px) {
      .timeline::before {
        left: 19px; /* Adjusted for mobile alignment */
      }

      .timeline-item {
        margin-left: 30px;
      }

      .timeline-item::before {
        left: -24px; /* Adjusted for mobile alignment */
      }

      .timeline-item::after {
        left: -12px;
        width: 12px;
      }

      .timeline-header {
        flex-direction: column;
        align-items: flex-start;
      }

      .timeline-date {
        margin-top: 4px;
        font-size: 0.813rem;
      }
    }

    
    /* Main timeline vertical bar end */