
/*** Spinner Start ***/
#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;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}


/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 40px;
    height: 40px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-xl-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    color: var(--bs-white);
    border: none;
}

.btn.btn-primary:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}

.btn.btn-light {
    color: var(--bs-primary);
    border: none;
}

.btn.btn-light:hover {
    color: var(--bs-white);
    background: var(--bs-primary);
}

/*** Navbar Start ***/

/* Logo scaling */
.navbar .nav-link {
  font-size: 1.1rem; /* Bootstrap default is ~1rem */
}

.logo-img {
  max-height: 90px;
  width: auto;
  height: auto;
}

@media (max-width: 576px) {
  .logo-img {
    max-height: 45px;
  }

  .navbar .nav-link {
    font-size: 1rem;
  }
}

/* Dropdown fix for mobile */
@media (max-width: 991px) {
  .navbar .dropdown-menu {
    position: static;
    float: none;
    transform: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: var(--bs-white);
    box-shadow: none;
    padding-left: 1rem;
  }

  .navbar .dropdown-item {
    padding: 0.5rem 0;
  }

}

.navbar .navbar-toggler {
  color: var(--bs-primary);
}

/* Optional: On hover/focus */
.navbar .navbar-toggler:hover,
.navbar .navbar-toggler:focus {
  color: var(--bs-primary);
  background-color: transparent; /* or var(--bs-light) */
  box-shadow: none;
}


/*** Navbar End ***/


/*** Carousel Hero Header Start ***/
.hero-section {
    background-image: url(../img/carousel-1.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    width: 100%;
    height: 700px;
    display: flex;
    align-items: center;
    position: relative;
}

/*** Carousel Hero Header Start ***/
.header-carousel .header-carousel-item {
    height: 700px;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--bs-white);
    color: var(--bs-primary);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev {
    bottom: 30px;
    left: 0;
}
.header-carousel .owl-nav .owl-next {
    bottom: 30px;
    right: 0;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 0 0 65px 0 var(--bs-primary);
    color: var(--bs-dark);
}

.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .2);
    display: flex;
    align-items: center;
    z-index: 9;
}

@media (max-width: 991px) {
    .header-carousel .header-carousel-item .carousel-caption {
        padding-top: 45px;
    }

    .header-carousel.owl-carousel,
    .header-carousel .header-carousel-item {
        height: 700px;
    }
}
/*** Carousel Hero Header End ***/


/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../img/banner-img.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0 60px 0;
    transition: 0.5s;
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}
/*** Single Page Hero Header End ***/

@media (max-width: 500px) {
    .years-text {
        font-size: 0.9rem !important;
    }
}


/*** Banner Start ***/
.banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url(../img/banner-img.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 9;
}

.banner .container {
    position: relative;
    z-index: 99;
}

.banner::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 500px;
    top: -200px;
    left: 0;
    background: var(--bs-primary);
    transform: rotate(45deg);
    z-index: 1;
}

.banner::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 500px;
    bottom: -200px;
    right: 0;
    background: var(--bs-primary);
    transform: rotate(45deg);
    z-index: 1;
}

.banner .banner-design-1 {
    position: absolute;
    width: 30px;
    height: 500px;
    top: -165px;
    left: 0;
    background: var(--bs-dark);
    transform: rotate(45deg);
    z-index: 2;
}

.banner .banner-design-2 {
    position: absolute;
    width: 30px;
    height: 500px;
    bottom: -165px;
    right: 0;
    background: var(--bs-dark);
    transform: rotate(45deg);
    z-index: 2;
}
/*** Banner End ***/

/*** Service Start ***/
.service .nav .nav-item {
    width: 75%;
    border: 1px solid var(--bs-primary);
    background: var(--bs-light);
}

.service .nav .nav-item a {
    display: flex;
    justify-content: center;
}

.ratio-container {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 aspect ratio. Change to 66.66% for 3:2, or 56.25% for 16:9 */
    overflow: hidden;
}

.ratio-container img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover; /* crop to fit nicely */
}

.owl-stage-outer {
    margin-right: -1px;
}

.service .nav-item a.active {
    background: var(--bs-primary);
}

.service .nav-item a span {
    color: var(--bs-dark);
}

.service .nav-item a.active span {
    color: var(--bs-white);
}

@media (max-width: 991px) {
    .service .nav {
        display: flex;
        justify-content: center;
    }
}

.service .row.g-4 > div {
    display: flex;
}

.service-item {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-item img {
    display: block;
    width: 100%;
}

.service-item .border {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
/*** Service End ***/

/*** Projects Start ***/
/* Image fit for project carousel */
.object-fit-cover {
  object-fit: cover;
}

/* Maintain consistent image height */
.projects-carousel .carousel-item {
  min-height: 300px;
}

@media (min-width: 992px) {
  .projects-carousel .carousel-item {
    min-height: 400px;
  }
}

/* Optional: add soft shadow or border around carousel */
.projects-carousel {
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  overflow: hidden;
}

/* Hide arrows */
.carousel-control-prev,
.carousel-control-next {
  display: none;
}

/* Style the dots */
.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  background-color: var(--bs-primary);
  border-radius: 50%;
  opacity: 0.3;
  margin: 0 6px;
  transition: opacity 0.3s;
  border: none;
}

.carousel-indicators .active {
  opacity: 1;
}

.project-ratio-container {
  position: relative;
  width: 100%;
  padding-top: 70%; /* 16:9 aspect ratio */
  overflow: hidden;
}

.project-ratio-container img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* For mobile: */
@media (max-width: 767.98px) {
  .project-text{
    min-height: 350px; /* taller on mobile if needed */
    justify-content: flex-start !important;
  }
}
/*** Projects End ***/

/*** Team Start ***/
.team .team-item .team-img {
    position: relative;
    overflow: hidden;
}

.team .team-item .team-img img {
    transition: 0.5s;
}

.team .team-item:hover .team-img img {
    transform: scale(1.1);
}

/* Let team-item stretch to fill full column height */
.team-item {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}/font

/* Ensure team-content sits at the top and fills remaining space */
.team-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
}

.team-ratio-container {
    position: relative;
    width: 100%;
    padding-top: 125%; /* 4:3 aspect ratio. Change to 66.66% for 3:2, or 56.25% for 16:9 */
    overflow: hidden;
}

.team-ratio-container img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover; /* crop to fit nicely */
}

.team .row.g-4 > div {
    display: flex;
}
/*** Team End ***/

/*** Footer Start ***/
.footer {
    background: var(--bs-dark);
}

.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-white);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
}

.footer .footer-item a:hover {
    letter-spacing: 1px;
    color: var(--bs-primary);
}

.footer .footer-item .footer-btn a {
    transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover {
    color: var(--bs-primary);
}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-dark);
}
/*** copyright end ***/





