
/*** Spinner Start ***/
/*** 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;
}
/*** 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: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.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 {
    background: #01796F;
    border: 1px solid #01796F;
    color: var(--bs-white);
}

.btn.btn-primary:hover {
    background: #006A4E;
    border: 1px solid #006A4E;
}

.btn.btn-secondary {
    color: var(--bs-white);
   
}

.btn.btn-secondary:hover {
    background: var(--bs-primary);
    border: 1px solid var(--bs-primary);
}
/*** Topbar Start ***/

/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    color: var(--bs-white);
    font-size: 17px;
    font-weight: 600;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--bs-dark);
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--bs-primary); 
    
}

.navbar-light .navbar-nav .nav-link.active {
    font-weight: 800;
    font-size: 18px;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    transition: .5s;
    opacity: 1;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: var(--bs-white);
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 20px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid rgba(0, 0, 0, .08);
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--bs-dark);
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }

    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-top: 0;
        border-right: 0;
        border-bottom: 1px solid;
        border-left: 0;
        border-style: dotted;
        z-index: 999;
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        background: var(--bs-light);
        border: none;
    }

    .navbar-light .navbar-nav .nav-item::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        /*background: var(--bs-primary);*/
        background: #001442;
        transition: .5s;
    }

    .sticky-top.navbar-light .navbar-nav .nav-item::before {
        bottom: 0;
    }

    .navbar-light .navbar-nav .nav-item::after {
        content: "";
        position: absolute;
        bottom: 1px;
        left: 50%;
        transform: translateX(-50%);
        border: 10px solid;
        /*border-color: transparent transparent var(--bs-primary) transparent;*/
         border-color: transparent transparent #001442 transparent;
        opacity: 0;
        transition: 0.5s;
    }

    .navbar-light .navbar-nav .nav-item:hover::after,
    .navbar-light .navbar-nav .nav-item.active::after {
        bottom: 1px;
        opacity: 1;
    }

    .navbar-light .navbar-nav .nav-item:hover::before,
    .navbar-light .navbar-nav .nav-item.active::before {
        width: calc(100% - 2px);
        left: 1px;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }
}
/*** Carousel Hero Header Start ***/
.carousel-header {
    position: relative;
    overflow: hidden;
}

.carousel-indicators {
    display: none;
}

.carousel .carousel-control-prev,
.carousel .carousel-control-next {
    width: 0;
}

.carousel .carousel-control-prev .carousel-control-prev-icon,
.carousel .carousel-control-next .carousel-control-next-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 25px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    /*background: var(--bs-primary);*/
    transition: 0.5s;
}

.carousel .carousel-control-prev .carousel-control-prev-icon {
    left: 0;
    border-left: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 50px;

}

.carousel .carousel-control-next .carousel-control-next-icon {
    right: 0;
    border-right: 0;
    border-top-left-radius: 50px;
    border-top-right-radius: 0;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 0;
}

/*.carousel .carousel-control-prev .carousel-control-prev-icon:hover,
.carousel .carousel-control-next .carousel-control-next-icon:hover {
    background: var(--bs-secondary);
}*/

.carousel .carousel-inner .carousel-item {
    position: relative;
}

.carousel .carousel-inner .carousel-item .carousel-caption-1  {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding-top: 100px;
    display: flex;
    align-items: center;
    justify-content: end;
    background: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, 0.2));
    background-size: cover;
}

.carousel-caption-1-content {
    text-align: end;
    padding-right: 100px;
}

.carousel-caption-1-content .carousel-caption-1-content-btn {
    display: flex;
    justify-content: end;
}

.carousel .carousel-inner .carousel-item .carousel-caption-2  {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding-top: 100px;
    display: flex;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, 0.2));
    background-size: cover;
}

.carousel-caption-2-content {
    text-align: start;
    padding-left: 100px;
}

.carousel-caption-2-content .carousel-caption-2-content-btn {
    display: flex;
    justify-content: start;
}


@media (max-width: 992px) {
    .carousel .carousel-inner .carousel-item {
        height: 700px;
        margin-top: -100px;
    }

    .carousel .carousel-inner .carousel-item img {
        height: 700px;
        object-fit: cover;
    }


    .carousel .carousel-inner .carousel-item .carousel-caption-1 {
        max-width: 100% !important;
        justify-content: center;
    }

    .carousel-caption-1-content {
        padding: 0 20px !important;
        text-align: center !important;
    }

    .carousel-caption-1-content .carousel-caption-1-content-btn {
        justify-content: center;
    }


    .carousel .carousel-inner .carousel-item .carousel-caption-2 {
        max-width: 100% !important;
        justify-content: center;
    }

    .carousel-caption-2-content {
        padding: 0 20px !important;
        text-align: center !important;
    }

    .carousel-caption-2-content .carousel-caption-2-content-btn {
        justify-content: center;
    }



    .carousel .carousel-control-prev .carousel-control-prev-icon,
    .carousel .carousel-control-next .carousel-control-next-icon {
        display: none;
    }
}

.modal .modal-header {
    height: 100px;
}

#searchModal .modal-content {
    background: rgba(255, 255, 255, .6);
}
/*** Carousel Hero Header End ***/

/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 20, 66, 0.7), rgba(0, 20, 66, 0.7)), url(../img/breadcrumb.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 120px 0 60px 0;
    transition: 0.5s;
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}

@media (max-width: 992px) {
    .bg-breadcrumb {
        padding: 60px 0 60px 0;
    }
}
/*** Single Page Hero Header End ***/


/*** Features Start ***/
.feature .feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 325px;
    background: var(--bs-white);
    border-radius: 10px;
    transition: 0.5s;
}

.feature .feature-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.feature .feature-item .feature-icon {
    width: 100px;
    height: 100px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary);
}

.feature .feature-item .feature-icon i {
    transition: 0.5s;
}

.feature .feature-item:hover .feature-icon i {
    transform: rotate(360deg);
}

.feature .feature-item a.btn {
    transition: 0.5s;
}

.feature .feature-item:hover a.btn:hover {
    color: var(--bs-primary) !important;
}
/*** Features End ***/

/*** About Start ***/
.about .about-img {
    position: relative;
    padding-bottom: 30px;
    margin-top: 30px; 
    margin-left: 30px;
}

.about .about-img::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 10px;
    top: -30px;
    right: 0;
    border-radius: 10px;
    background: var(--bs-secondary);

}

.about .about-img::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 100%;
    left: -30px;
    bottom: 30px;
    border-radius: 10px;
    background: var(--bs-secondary);
}

.about .about-img .about-exp {
    position: absolute;
    top: 0;
    left: 0;
    padding: 25px;
    font-size: 30px;
    font-weight: bold;
    background: var(--bs-secondary);
    color: var(--bs-white);
    border: 1px solid var(--bs-secondary);
    margin-top: -30px;
    margin-left: -30px;
    border-radius: 10px;
}
/*** About End ***/

/*** Service Start ***/
.service-item {
    position: relative;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.service-item::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    left: 0;
    bottom: 0;
    border-radius: 10px;
    background: var(--bs-primary);
    transition: 0.5s;
    z-index: 1;
}

.service-item:hover::after {
    width: 100%;
    height: 100%;
}

.service-item:hover .service-content,
.service-item:hover .service-btn {
    position: relative;
    z-index: 2;
}

.service-item .service-content a,
.service-item .service-content p {
    transition: 0.5s;
}

.service-item:hover .service-content a:hover {
    color: var(--bs-secondary);
}

.service-item:hover .service-content p {
    color: var(--bs-white);
} 

.service-item .service-btn {
    width: 80px;
    height: 80px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary);
    transition: 0.5s;
}

.service-item .service-btn i {
    transition: 0.5s;
}

.service-item:hover .service-btn {
    background: var(--bs-white);
}

.service-item:hover .service-btn i {
    transform: rotate(360deg);
    color: var(--bs-primary) !important;
}
/*** Service End ***/


/*** Counter Start ***/
.counter {
    position: relative;
    overflow: hidden;
   background: linear-gradient(rgba(20, 83, 45, 0.7), rgba(6, 78, 59, 0.8)), url(../img/fact-bg.jpg);
   background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}

.counter .counter-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.counter .counter-item .counter-item-icon {
    width: 100px;
    height: 100px;
    border-radius: 50px;
    background: var(--bs-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
/*** Counter End ***/


/*** Products Start ***/
.product .product-item {
    border: 1px solid rgba(196, 211, 211, 0.9);
    border-radius: 10px;
}

/*** Products End ***/

/*** Blog Start ***/
.blog .blog-item {
    border-radius: 10px;
    background: var(--bs-light);
    transition: 0.5s;
}

.blog .blog-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.2);
}

.blog .blog-item .blog-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: 0.5s;
    z-index: 1;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.2);
}

.blog .blog-item:hover .blog-img::after {
    background: rgba(0, 209, 249, 0.2);
}

.blog .blog-item .blog-date {
    position: absolute;
    top: 25px;
    left: 25px;
    border-radius: 10px;
    background: var(--bs-primary);
    color: var(--bs-white);
    z-index: 2;
}

.blog .blog-item .blog-content a {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-content a:hover {
    color: var(--bs-primary) !important;
}
/*** Blog End ***/

/*** Team Start ***/
.team .team-item {
    position: relative;
    overflow: hidden;
    background: var(--bs-white);
    border: 1px solid var(--bs-secondary);
    border-radius: 10px;
}

.team .team-item .team-inner {
    transition: 0.5s;
}
.team .team-item:hover .team-inner {
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.2);
}

.team .team-item .team-inner .team-img {
    position: relative;
    z-index: 2;
}

.team .team-item .team-inner .team-img::after {
    content: "";
    width: 100%;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(0, 209, 249, 0.2);
    transition: 0.5s;
    z-index: 3;
}

.team .team-item:hover .team-inner .team-img::after {
    height: 100%;
}

.team .team-item .team-inner .team-img .team-share {
    position: absolute;
    left: 10px;
    bottom: 10px;
    transition: 0.5s;
    z-index: 2;
}

.team .team-item:hover .team-inner .team-img .team-share {
    opacity: 0;
}

.team .team-item .team-inner .team-img .team-icon {
    position: absolute;
    bottom: 0;
    left: -100%;
    border-bottom-left-radius: 0 !important; 
    border-top-left-radius: 0 !important;
    display: inline-flex;
    background: var(--bs-primary);
    transition: 0.5s;
    z-index: 4;
}

.team .team-item:hover .team-inner .team-img .team-icon { 
    left: -25px; 
}
/*** Team End ***/


/*** testimonial Start ***/
.testimonial .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    right: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.testimonial .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 88px;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.testimonial-carousel .owl-dots {
    display: flex;
    justify-content: center;
    margin-left: 20px;
    margin-top: 20px;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 20px;
    height: 20px;
    border-radius: 20px;
    margin-right: 15px;
    border: 1px solid var(--bs-secondary);
    background: var(--bs-primary);
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 20px;
    height: 20px;
    border-radius: 20px;
    border: 1px solid var(--bs-primary);
    background: var(--bs-secondary) !important;
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot span {
    position: relative;
    margin-top: 50%;
    margin-left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.testimonial-carousel .owl-dots .owl-dot span::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 8px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bs-white);
}

@media (max-width: 992px) {
    .owl-carousel.testimonial-carousel {
        padding-top: 30px;
    }

    .testimonial .owl-nav .owl-prev,
    .testimonial .owl-nav .owl-next {
        top: -30px;
    }
}
/*** testimonial End ***/

/*** Footer Start ***/
.footer {
    background: var(--bs-dark);
}

.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-body);
    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,
.footer .footer-item .footer-btn a i {
    transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-primary) !important;
}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-dark);
}
/*** copyright end ***/

/* ✅ Carousel height */
.carousel-item {
  height: 100vh;
  position: relative;
}

/* ✅ Background image */
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transform: scale(1);
  transition: transform 6s ease-in-out;
}

/* 🔥 Zoom effect */
.carousel-item.active .slide-bg {
  transform: scale(1.1);
}

/* ✅ Dark overlay */
.slide-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

/* ✅ Caption positioning */
.carousel-caption-custom {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 20px;
}

/* ✅ Text style */
.carousel-content h4,
.carousel-content h1,
.carousel-content p,
.carousel-content .btns {
  color: #fff;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

/* ✨ Animate text */
.carousel-item.active h4 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.carousel-item.active h1 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.carousel-item.active p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.7s;
}

.carousel-item.active .btns {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.9s;
}

/* ✅ Fade effect */
.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-fade .carousel-item.active {
  opacity: 1;
}

/* Wrapper */
.carousel-header {
  position: relative;
}

/* Slide height */
.carousel-item {
  height: 100vh;
  position: relative;
}

/* Background image */
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transform: scale(1);
  transition: transform 6s ease-in-out;
}

/* Zoom effect */
.carousel-item.active .slide-bg {
  transform: scale(1.1);
}

/* Dark overlay */
.slide-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

/* Caption center */
.carousel-caption-custom {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  width: 100%;
}

/* Text animation base */
.carousel-content h4,
.carousel-content h1,
.carousel-content p,
.carousel-content .btns {
  color: #fff;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

/* Animate in */
.carousel-item.active h4 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.carousel-item.active h1 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.carousel-item.active p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.7s;
}

.carousel-item.active .btns {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.9s;
}

/* Fade effect */
.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-fade .carousel-item.active {
  opacity: 1;
}

/* 🌊 WAVE */
.wave-container {
  position: absolute;
  bottom: 0;
  width: 100%;
  z-index: 3;
  line-height: 0;
}

.waves {
  width: 100%;
  height: 60px;
}

/* Wave layers */
.wave1 use {
  fill: rgba(255,255,255,0.7);
  animation: waveMove 10s linear infinite;
}

.wave2 use {
  fill: rgba(255,255,255,0.5);
  animation: waveMove 15s linear infinite reverse;
}

.wave3 use {
  fill: #fff;
  animation: waveMove 20s linear infinite;
}

/* Animation */
@keyframes waveMove {
  0% { transform: translateX(-90px); }
  100% { transform: translateX(85px); }
}

.design-card {
  border-radius: 15px;
  overflow: hidden;
  transition: 0.4s;
}

.design-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 15px;
}

/* Hover effect */
.design-card:hover img {
  transform: scale(1.05);
}

/* Arrow style */
.swiper-button-next,
.swiper-button-prev {
  background: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  color: #000;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 14px;
}

/* =========================
   PAGE HERO (REUSABLE)
========================= */
.page-hero {
    position: relative;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* Background image layer */
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Overlay */
.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    /*background: linear-gradient(rgba(16, 160, 120, 0.75), rgba(16, 160, 120, 0.75));*/
    background: linear-gradient(rgba(6, 90, 70, 0.85), rgba(6, 90, 70, 0.85));
    z-index: 2;
}

/* Content */
.page-hero .hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
}

/* Page-specific backgrounds */
.about-page .page-hero::before {
    background-image: url('../img/2.jpg');
}

/* =========================
   NAVBAR OVER HERO (ONLY WHEN NEEDED)
========================= */
.navbar-overlay {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: transparent !important;
    padding-top: 20px;
    padding-bottom: 20px;
}

/* White navbar text on overlay */
.navbar-overlay .nav-link {
    color: #fff !important;
    font-weight: 500;
}

.navbar-overlay .nav-link.active {
    color: #d4f5e9 !important;
}

/* Button tweak */
.navbar-overlay .btn {
    background-color: rgba(255,255,255,0.15);
    border: 1px solid #fff;
    color: #fff;
}

.navbar-overlay .btn:hover {
    background-color: #fff;
    color: #000;
}



/* =========================
   SERVICE DETAIL PAGE
========================= */

/* =========================
   INTERIOR PAGE (SCOPED FIX)
   No design changes – only isolation
========================= */

.interior-page .service-section {
    padding: 80px 0;
}

.interior-page .service-box {
    padding: 30px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.interior-page .service-box:hover {
    transform: translateY(-5px);
}

/* Timeline */
.interior-page .process-timeline {
    position: relative;
    margin-top: 40px;
}

.interior-page .process-timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    width: 3px;
    height: 100%;
    background: #0d6efd;
    transform: translateX(-50%);
}

.interior-page .process-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
}

.interior-page .process-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.interior-page .process-item:nth-child(even) {
    left: 50%;
}

.interior-page .process-item .circle {
    position: absolute;
    top: 20px;
    right: -10px;
    width: 20px;
    height: 20px;
    background: #0d6efd;
    border-radius: 50%;
}

.interior-page .process-item:nth-child(even) .circle {
    left: -10px;
}

.interior-page .process-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* CTA */
.interior-page .service-cta {
    background: linear-gradient(rgba(13,110,253,0.9), rgba(13,110,253,0.9)),
                url('../img/fact-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
}

/* =========================
   SERVICES MAIN PAGE (ISOLATED)
========================= */

/* HERO BACKGROUND */
.services-main-page .page-hero::before {
    background-image: url('../img/3.jpg');
}

/* SERVICE CARDS */
.services-main-page .service-card {
    position: relative;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.4s ease;
}

.services-main-page .service-card:hover {
    transform: translateY(-10px);
}

/* BACKGROUND IMAGE */
.services-main-page .service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: 0.5s ease;
    z-index: 1;
}

/* OVERLAY */
.services-main-page .service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    transition: 0.4s;
    z-index: 2;
}

.services-main-page .service-card:hover::after {
    background: rgba(0,0,0,0.7);
}

/* CONTENT */
.services-main-page .service-content {
    position: relative;
    z-index: 3;
    color: #fff;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.services-main-page .service-content h4 {
    color: #fff;
}

.services-main-page .service-content p {
    font-size: 14px;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s;
}

.services-main-page .service-card:hover p {
    opacity: 1;
    transform: translateY(0);
}

/* BACKGROUND IMAGES */
.services-main-page .service-interior::before {
    background-image: url('../img/interior.jpg');
}

.services-main-page .service-kitchen::before {
    background-image: url('../img/kitchen-interior.jpg');
}

.services-main-page .service-wardrobe::before {
    background-image: url('../img/service-wardrobe.jpg');
}

.services-main-page .service-home::before {
    background-image: url('../img/service-home.jpg');
}

/* ===============================
   HOME PAGE PREMIUM UI
================================ */
.home-page .premium-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

.home-page .hero-tag {
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 14px;
    opacity: 0.8;
}

/* TRUST BAR */
.home-page .trust-bar {
    background: #01796F;
    color: #fff;
    padding: 15px 0;
    font-weight: 500;
}

/* PREMIUM CARDS */
.home-page .premium-card {
    padding: 30px;
    border-radius: 15px;
    background: #fff;
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.home-page .premium-card i {
    font-size: 30px;
    margin-bottom: 15px;
    color: #01796F;
}

.home-page .premium-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* DESIGN CARDS */
.home-page .design-card img {
    border-radius: 15px;
    transition: 0.4s;
}

.home-page .design-card:hover img {
    transform: scale(1.08);
}

/* LIST */
.home-page .premium-list {
    list-style: none;
    padding: 0;
}

.home-page .premium-list li {
    margin-bottom: 10px;
    font-weight: 500;
}

/* CTA */
.home-page .premium-cta {
    background: linear-gradient(135deg, #01796F, #00a884);
    color: #fff;
    padding: 80px 20px;
}

.home-page .premium-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

/* BUTTON UPGRADE */
.home-page .btn-primary {
    background: linear-gradient(135deg, #01796F, #00a884);
    border: none;
}

.home-page .btn-primary:hover {
    opacity: 0.9;
}

/* ============== Premium Homepage Styles ============== */

.home-page .premium-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
}

.home-page .hero-tag {
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 0.3rem;
}

/* Wave container remains same as your original */
/* ... your original wave CSS here ... */

/* Trust Bar */
.home-page .trust-bar {
  background: #01796F;
  color: #fff;
  padding: 15px 0;
  font-weight: 500;
  font-size: 1rem;
}

/* Premium cards */
.home-page .premium-card {
  padding: 30px;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.home-page .premium-card i {
  font-size: 30px;
  margin-bottom: 15px;
  color: #01796F;
}

.home-page .premium-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* Modular Kitchen Carousel */
.home-page .swiper {
  padding-bottom: 40px;
}

.home-page .design-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.4s ease;
}

.home-page .design-card:hover img {
  transform: scale(1.05);
}

/* Section Title */
.home-page .section-title {
  font-weight: 700;
  font-size: 1.8rem;
}

/* Services section */
.home-page .service-item h4 {
  font-weight: 600;
  margin-bottom: 10px;
  color: #01796F;
}

.home-page .service-item p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Services container */
.home-page .bg-light {
  background-color: #f8f9fa !important;
}

.home-page .rounded-4 {
  border-radius: 1.5rem !important;
}

.home-page .shadow-sm {
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

/* CTA */
.home-page .premium-cta {
  background: linear-gradient(135deg, #01796F, #00a884);
  color: #fff;
  padding: 80px 20px;
  border-radius: 30px;
  max-width: 900px;
  margin: auto;
}

.home-page .premium-cta h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.home-page .premium-cta p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Buttons */
.home-page .btn-primary {
  background: linear-gradient(135deg, #01796F, #00a884);
  border: none;
}

.home-page .btn-primary:hover {
  opacity: 0.9;
}

.home-page .btn-outline-light {
  color: #fff;
  border-color: #fff;
}

.home-page .btn-outline-light:hover {
  background-color: #fff;
  color: #01796F;
}

/* Carousel controls */
.home-page .swiper-button-next,
.home-page .swiper-button-prev {
  background: rgba(1, 121, 111, 0.15);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #01796F;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease;
}

.home-page .swiper-button-next:hover,
.home-page .swiper-button-prev:hover {
  background: #01796F;
  color: #fff;
}

.home-page .swiper {
  position: relative;
  padding-bottom: 40px;
  margin: 0 40px; /* Leave space for nav buttons outside */
}

.home-page .swiper-button-next,
.home-page .swiper-button-prev {
  position: absolute;
  top: 50%;
  width: 45px;
  height: 45px;
  margin-top: -22.5px;
  background: rgba(1, 121, 111, 0.15);
  border-radius: 50%;
  color: #01796F;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease;
  z-index: 10;
}

.home-page .swiper-button-next {
  right: -60px;  /* Positioned outside on the right */
}

.home-page .swiper-button-prev {
  left: -60px;   /* Positioned outside on the left */
}

.home-page .swiper-button-next:hover,
.home-page .swiper-button-prev:hover {
  background: #01796F;
  color: #fff;
}
.home-page .service-item {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e7e7e7;
  background: #fff;
}

.home-page .service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(1, 121, 111, 0.2);
  border-color: #01796F;
}

.home-page .service-icon {
  transition: color 0.3s ease;
}

.home-page .service-item:hover .service-icon {
  color: #00a884;
}

.home-page .service-item h4 {
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: #01796F;
}

.home-page .service-item p {
  color: #555;
  font-size: 1rem;
  line-height: 1.5;
}

.service-card {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e7e7e7;
  background: #fff;
  display: flex;
  flex-direction: column;
  height: 90%;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(1, 121, 111, 0.25);
  border-color: #01796F;
}

.service-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover .service-img {
  transform: scale(1.05);
}

.service-info {
  flex-grow: 1;
  padding: 1.5rem 1.5rem 2rem 1.5rem;
  text-align: center;
}

.service-icon {
  transition: color 0.3s ease;
}

.service-card:hover .service-icon {
  color: #00a884;
}

.service-info h4 a{
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: #01796F;
}

.service-info p {
  color: #555;
  font-size: 1rem;
  line-height: 1.5;
}

/* ============================= */
/* PORTFOLIO SECTION */
/* ============================= */

.portfolio-section {
  background: #f4f7fb;
  padding: 80px 0;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  transition: 0.4s ease;
}

.portfolio-card img {
  width: 100%;
  transition: 0.5s ease;
}

.portfolio-card:hover img {
  transform: scale(1.08);
}

/* Overlay */
.portfolio-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 25px;
  background: linear-gradient(to top, rgba(13,43,77,0.95), rgba(13,43,77,0.6), transparent);
  color: #fff;
  transition: 0.4s ease;
}

.portfolio-overlay h4 {
  font-weight: 600;
  margin-bottom: 5px;
  color: #ffffff;
}

.portfolio-overlay p {
  font-size: 14px;
  margin-bottom: 10px;
}

.view-project {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #0d6efd;
  background: #fff;
  padding: 5px 15px;
  border-radius: 30px;
  transition: 0.3s ease;
}

.portfolio-card:hover .view-project {
  background: #0d6efd;
  color: #fff;
}


/* ============================= */
/* PAGE TITLE STYLING */
/* ============================= */

.page-titleb {
  background: linear-gradient(rgba(23, 59, 100, 0.85), rgba(41, 83, 130, 0.85)), 
              url('../img/blog-banner.jpg') center center/cover no-repeat;
  color: #fff;
  Padding: 100px 0;
}

.page-titleb .heading-title {
  color: #fff;
  font-weight: 700;
  font-size: 36px;
}

.blog-meta {
  color: #ddd;
  margin-top: 10px;
  font-size: 14px;
}

/* ============================= */
/* BLOGS LISTING PAGE */
/* ============================= */

.blogs-section {
  background: #f4f7fb;
  padding: 80px 0;
}

/* Blog Card */
.blog-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  transition: 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.blog-img {
  overflow: hidden;
}

.blog-img img {
  transition: 0.4s ease;
}

.blog-card:hover .blog-img img {
  transform: scale(1.08);
}

.blog-content {
  padding: 25px;
}

.blog-date {
  font-size: 13px;
  color: #0d6efd;
  font-weight: 600;
}

.blog-content h4 {
  margin: 12px 0;
  font-size: 18px;
  font-weight: 600;
  color: #0d2b4d;
}

.blog-content p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}

.read-more {
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
  color: #0d6efd;
  text-decoration: none;
  transition: 0.3s ease;
}

.read-more:hover {
  color: #0a58ca;
  padding-left: 5px;
}

/* Pagination */
.pagination .page-link {
  border-radius: 50px;
  margin: 0 5px;
  color: #0d2b4d;
}

.pagination .active .page-link {
  background: #0d6efd;
  border-color: #0d6efd;
  color: #fff;
}

/* CTA Section */
.blog-cta-section {
  background: linear-gradient(135deg, #0d2b4d, #0d6efd);
  padding: 70px 0;
  color: #fff;
}

.blog-cta-section h3 {
  font-weight: 600;
  color: white;
}

.blog-cta-section .btn {
  margin-top: 15px;
  padding: 10px 30px;
  border-radius: 30px;
}

/* ============================= */
/* BLOG PAGE DESIGN */
/* ============================= */

.blog-section {
  background: #f4f7fb;
  padding: 80px 0;
}

/* Main Blog Content Card */
.blog-content {
  background: #ffffff;
  padding: 40px;
  border-radius: 14px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
  transition: 0.3s ease;
}

.blog-content:hover {
  transform: translateY(-5px);
}

.blog-content h3 {
  margin-top: 30px;
  font-weight: 600;
  color: #0d2b4d;
}

.blog-content p {
  line-height: 1.8;
  color: #555;
  font-size: 15.5px;
}

/* Blockquote Styling */
.blog-content blockquote {
  background: #e9f2ff;
  border-left: 4px solid #0d6efd;
  padding: 20px 25px;
  margin: 30px 0;
  font-style: italic;
  border-radius: 8px;
  color: #0d2b4d;
}

/* CTA Section */
.blog-cta {
  background: linear-gradient(135deg, #0d6efd, #0a58ca);
  padding: 35px;
  border-radius: 12px;
  color: #fff;
  box-shadow: 0 8px 25px rgba(13, 110, 253, 0.25);
}

.blog-cta h4 {
  color: #fff;
  font-weight: 600;
}

.blog-cta .btn {
  background: #fff;
  color: #0d6efd;
  font-weight: 600;
  padding: 10px 25px;
  border-radius: 30px;
  transition: 0.3s ease;
}

.blog-cta .btn:hover {
  background: #0d2b4d;
  color: #fff;
}

/* ============================= */
/* SIDEBAR DESIGN */
/* ============================= */

.blog-sidebar {
  background: #0d2b4d;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  color: #fff;
}

.sidebar-box {
  margin-bottom: 30px;
}

.sidebar-box h5 {
  font-weight: 600;
  margin-bottom: 15px;
  border-bottom: 2px solid rgba(255,255,255,0.2);
  padding-bottom: 8px;
  color: white;
}

.sidebar-box p {
  font-size: 14px;
  line-height: 1.7;
  color: #ddd;
}

/* Sidebar Links */
.sidebar-box ul {
  list-style: none;
  padding: 0;
}

.sidebar-box ul li {
  margin-bottom: 10px;
}

.sidebar-box ul li a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s ease;
}

.sidebar-box ul li a:hover {
  color: #0d6efd;
  padding-left: 5px;
}

/* Sidebar CTA */
.sidebar-cta {
  background: #0d6efd;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
}

.sidebar-cta h5 {
  border: none;
  margin-bottom: 15px;
}

.sidebar-cta .btn {
  border: 2px solid #fff;
  color: #fff;
  border-radius: 30px;
  padding: 8px 20px;
  transition: 0.3s ease;
}

.sidebar-cta .btn:hover {
  background: #fff;
  color: #0d6efd;
}

.img-overlay-box {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.img-overlay-box img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: 0.4s ease;
}

.img-overlay-box:hover img {
    transform: scale(1.1);
}

/* Overlay text */
.overlay-text {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s ease;
}

.overlay-text:hover {
    background: #0d6efd;
    color: #fff;
}

/* Modal Styles */
      .modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        justify-content: center;
        align-items: center;
      }
      
      .modal-content {
        background-color: white;
        padding: 10px;
        border-radius: 5px;
        width: 90%;
        max-width: 400px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        position: relative;
      }
      
      .modal-header {
        font-size: 18px;
        font-weight: bold;
        margin-bottom: 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;
      }
      
      .modal-header .close {
        cursor: pointer;
        font-size: 20px;
        font-weight: bold;
        border: none;
        background: none;
      }
      
      .modal-body input,
      .modal-body textarea {
        width: 100%;
        padding: 10px;
        margin-bottom: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
      }
      
      .modal-footer {
        display: flex;
        justify-content: flex-end;
      }
      
      .status-message {
        text-align: center;
        font-size: 16px;
        margin-top: 10px;
        display: none;
      }
      
      .success {
        color: green;
      }
      
      .error {
        color: red;
      }