/********** Template CSS **********/

/*** 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;
}

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

body {
    font-family: "Open Sans", sans-serif;
}

/*** Button ***/

.btn {
    transition: .5s;
}

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

.display-1 {
    font-size: 40px;
}

.section-title {
    font-size: 40px;
}
/*** Navbar ***/

.sticky-top {
    top: -150px;
    transition: .5s;
}

.navbar {
    padding: 15px 0;
    font-size: 18px;
}

.navbar .navbar-nav .nav-link {
    margin-left: 30px;
    padding: 0;
    outline: none;
    color: var(--bs-dark);
}

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

.navbar .navbar-nav .nav-link.active {
    color: #ffffff;
    padding: 2px 15px;
    border-radius: 40px;
    background: #0d6b68;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item.active {
    color: var(--bs-white);
    background: var(--bs-primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}
.site-logo {
    line-height: 0.5;
}

.site-logo .logo-title {
    display: block;
    font-size: 30px;
    color: #000;
    font-weight: bold;
    margin: 0;
    font-family: 'Playball', cursive;
}

.site-logo .logo-sub {
    display: block;
    font-size: 20px;
    padding-top: 4%;
    font-family: 'Playball', cursive;
}

/*** Hero Header ***/

.hero-header {
    margin-top: -100px;
    padding-top: 150px;
    background: url(../img/hero-bg.jpg) top center no-repeat;
    background-size: cover;
}

.hero-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.header-carousel {
    position: relative;
    padding: 45px 90px 45px 0;
}

.header-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    width: calc(50% + 45px);
    height: 100%;
    background: var(--bs-primary);
    z-index: -1;
}

.header-carousel .owl-dots {
    position: absolute;
    top: 50%;
    right: 38px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 5px 0;
    width: 15px;
    height: 15px;
    border: 2px solid var(--bs-white);
    transition: .5s;
}

.header-carousel .owl-dot.active {
    height: 30px;
    background: var(--bs-white);
}

/*** About ***/

#about {
    position: relative;
}

#about .pouch1 {
    position: absolute;
    top: -18%;
    width: 12%;
    right: 0px;
}

#about .pouch2 {
    position: absolute;
    bottom: -8%;
    width: 13%;
    right: 0px;
}

/* MAIN SECTION */
.about-section {
    background: #fff;
}

/* Image wrapper */
.about-img-box {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 250px;
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.12);
}

.about-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

/* Zoom Hover */
.about-img-box:hover img {
    transform: scale(1.1);
}

/* Badge Overlay */
.about-badge {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 10px 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    backdrop-filter: blur(2px);
}

/* ABOUT Heading */
.highlight-title {
    background: #eaf6f8;
    color: #0b737a;
    padding: 3px 8px;
    font-size: 22px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Read more button */
.btn-shadow:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
    transition: 0.3s;
}

/* Social buttons */
.social {
    border: 2px solid #0b737a;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 6px;
    border-radius: 5px;
}

.social:hover {
    background: #0b737a;
    color: #fff;
    transition: 0.3s;
}

/*** Feature ***/
#feature {
    background: #f8fafc;
}

/*** Project ***/

/* LEFT SIDE BOX */
.left-box {
    background: #0d6b68;
    border-radius: 16px;
    color: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.heading-title {
    font-size: 42px;
    font-weight: 800;
}

.highlight {
    background: #fff;
    padding: 3px 10px;
    color: #0d6b68;
    font-weight: 900;
    border-radius: 8px;
}

.sub-heading {
    font-size: 22px;
    font-weight: 600;
}

.big-number {
    font-size: 70px;
    font-weight: 800;
    line-height: 1;
    color: #fff;
}

/* PROJECT CARD */
#project {
    position: relative;
}

#project .pouch3 {
    position: absolute;
    top: -17%;
    right: 3%;
    width: 12%;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: 0.4s ease-in-out;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.project-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: 0.5s ease;
}

.project-card:hover .project-img {
    transform: scale(1.15);
}

/* TEXT OVERLAY */
.project-content {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 18px;
    color: #fff;
    backdrop-filter: blur(5px);
    background: rgba(0, 0, 0, 0.45);
}

.project-content h4 {
    margin: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Open Sans', sans-serif !important;
}

/* .project-content p {
    margin: 0;
    opacity: 0.85;
} */


/*** Service ***/
#service {
    background: #f8fafc;
}

/* SERVICE ITEM WRAPPER */
.service-item {
    position: relative;
    padding: 30px 25px;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    transition: 0.4s ease-in-out;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* GLASS EFFECT */
.service-item.bg-primary {
    background: #0a504e;
    color: #fff !important;
}

.service-item.bg-light {
    background: #f8fafc;
}

/* IMAGE STYLING */
.service-img {
    border-radius: 14px;
    overflow: hidden;
}

.service-img img {
    border-radius: 14px;
    height: 260px;
    object-fit: cover;
    transition: 0.5s ease;
}

.service-item:hover img {
    transform: scale(1.12);
}

/* TITLE TAG ON IMAGE */
.service-img h3 {
    /* position: absolute; */
    /* bottom: 10px; */
    /* left: 10px; */
    padding: 0px 5px;
    border-radius: 8px;
    font-size: 20px;
    color: #000000;
    font-weight: 700;
    /* z-index: 2; */
    /* transition: 0.4s; */
}

/* TAG COLOR FOR DARK CARD */
/* .service-item.bg-primary .service-img h3 {
    background: rgba(255,255,255,0.2);
    color: #ffffff;
    backdrop-filter: blur(6px);
} */

/* .service-item.bg-primary:hover .service-img h3 {
    background: #ffffff;
    color: #1e3a8a;
} */

/* TAG COLOR FOR LIGHT CARD */
/* .service-item.bg-light .service-img h3 {
    background: rgba(0,0,0,0.06);
    color: #1e293b;
    backdrop-filter: blur(6px);
} */

/* .service-item.bg-light:hover .service-img h3 {
    background: #1d4ed8;
    color: #fff;
} */

/* PARAGRAPH COLOR CHANGE */
.service-item p {
    transition: 0.4s ease;
}

.service-item.bg-primary p {
    color: #e2e8f0;
}

.service-item.bg-primary:hover p {
    color: #fff;
}

.service-item.bg-light p {
    color: #334155;
}

/* .service-item.bg-light:hover p {
    color: #fff;
} */

/* PHONE BOX STYLING */
.call-box {
    border-radius: 14px;
    overflow: hidden;
    background: #f8fafc;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.call-box:hover {
    transform: translateY(-6px);
}


/*** Our Team ***/

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

.team-item:hover img {
    transform: scale(1.2);
}

.team-overlay {
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(rgba(255, 255, 255, .1) 50%, var(--bs-dark));
    z-index: 1;
}

.team-overlay small {
    display: inline-block;
    padding: 3px 15px;
    color: var(--bs-white);
    background: var(--bs-primary);
}

/*** Testimonial ***/

.testimonial-img {
    position: relative;
    padding: 45px 0 45px 90px;
}

.testimonial-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: calc(50% + 45px);
    height: 100%;
    background: var(--bs-primary);
    z-index: -1;
}

.testimonial-text h5 {
    position: relative;
    padding-left: 45px;
}

.testimonial-text h5::before {
    position: absolute;
    content: "";
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
    background: var(--bs-primary);
}

.testimonial-carousel .owl-dots {
    position: absolute;
    height: 17px;
    bottom: 0;
    right: 0;
    left: auto;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin-left: 10px;
    width: 15px;
    height: 15px;
    background: var(--bs-white);
    border: 2px solid var(--bs-primary);
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--bs-primary);
}

@media (max-width: 768px) {
    .testimonial-carousel .owl-dots {
        left: 0;
        right: auto;
    }

    .testimonial-carousel .owl-dot {
        margin-right: 10px;
        margin-left: 0;
    }
}

/*** Newsletter ***/

.newsletter {
    background: url(../img/hero-bg.jpg) bottom right no-repeat;
    background-size: cover;
}

@media (min-width: 992px) {
    .newsletter .container {
        max-width: 100% !important;
    }

    .newsletter .newsletter-text {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .newsletter .newsletter-text {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .newsletter .newsletter-text {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}

/*** Blog ***/
.sub-title {
    font-size: 2.5rem;
    color: #0D6B68;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 10px;
}

.blog-box {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(200, 150, 80, 0.3);
    box-shadow: 0 10px 25px rgba(200, 150, 80, 0.25);
    transition: 0.4s ease-in-out;
    cursor: pointer;
}

.blog-box:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 35px rgba(200, 150, 80, 0.45);
}

.blog-img img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: 0.4s;
}

.blog-box:hover img {
    transform: scale(1.1);
}

.blog-content {
    padding: 20px;
    height: 210px;
}

.blog-content h4 {
    color: #0D6B68;
    font-weight: 700;
    margin-bottom: 10px;
}

.blog-content p {
    color: #000;
    font-size: 15px;
    margin-bottom: 15px;
}

.read-btn {
    font-weight: 600;
    color: #353434;
    text-decoration: none;
    transition: 0.3s;
}

.read-btn:hover {
    letter-spacing: 1px;
}

.hero-image {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 25px;
}

.article-box {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.related-card img {
    /*height: 100px;*/
    object-fit: cover;
    border-radius: 8px;
}


/*** Footer ***/

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, .5);
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link:hover {
    color: var(--bs-white);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: rgba(255, 255, 255, .5);
}

.footer .copyright a:hover {
    color: var(--bs-white);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

#whatsappbtn {
    position: fixed;
    right: 45px;
    bottom: 16%;
    width: 50px;
    height: 50px;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 28px;
    z-index: 9999;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.6);
    transition: 0.3s ease-in-out;
    animation: pulse 2s infinite, float 3s ease-in-out infinite;
}

/* Hover Effect */
#whatsappbtn:hover {
    transform: scale(1.2);
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.9);
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0px rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 0 20px rgba(37, 211, 102, 1);
    }
    100% {
        box-shadow: 0 0 0px rgba(37, 211, 102, 0.7);
    }
}

/* Floating Up-Down Animation */
@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
    100% {
        transform: translateY(0);
    }
}


@media (max-width: 768px) {
    .hero-header {
        margin-top: -160px;
    }

    .navbar .navbar-nav .nav-link.active {
        border-radius: 0px;
    }

    #about .pouch1 {
        top: -5%;
        width: 25%;
    }

    #about .pouch2 {
        bottom: -4%;
        width: 25%;
    }

    #project .pouch3 {
        top: -3%;
        right: 0%;
        width: 27%;
    }
    .hero-header .display-1 {
        font-size: 35px;
    }
    
}
