/*** Spinner Start ***/

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
 }

 #spinner.show {
     transition: opacity .8s ease-out, visibility 0s linear .0s;
     visibility: visible;
     opacity: 1;
 }

/*** Spinner End ***/

input.form-control, textarea.form-control {
    border: 2px solid black !important; /* Ensure a black border */
    outline: none;
}


/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-md-square {
    width: 46px;
    height: 46px;
}

.btn-lg-square {
    width: 58px;
    height: 58px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.back-to-top {
    position: fixed;
    width: 50px;
    height: 50px;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

/*** Button End ***/


/*** Topbar Start ***/

.topbar .top-info {
    letter-spacing: 1px;
}

.topbar .top-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar .top-link a {
    margin-right: 10px;
}

#note {
    width: 500px;
    overflow: hidden;
}

#note small {
    position: relative;
    display: inline-block;
    animation: mymove 5s infinite;
    animation-timing-function: all;
}

@keyframes mymove {
    from {left: -100%;}
    to {left: 100%;}
}

/*** Topbar End ***/


/*** General Navbar Styling ***/
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand img {
    max-height: 50px;
    width: auto;
}

.navbar-brand h1.brand-title {
    font-size: calc(1.3rem + 0.5vw);
    margin: 0;
    white-space: nowrap;
}

.navbar-toggler {
    margin-left: 10px; /* Adds spacing for cleaner alignment */
}

.nav-item .nav-link:hover{
    color:  var(--bs-warning);
}

/*** Hide Logo and Adjust Toggle for Small Screens ***/
@media (max-width: 360px) {
    .navbar-brand .logo-img,  /* Hide logo image */
    .navbar-brand .brand-title { /* Hide text title */
        display: none;
    }

    .navbar-toggler {
        display: block; /* Show the toggler bar */
        margin-left: 0; /* Center if needed */
    }

    .navbar-toggler-icon {
        color: white;
    }
}

/*** Mobile Adjustments: General ***/
@media (max-width: 767px) {
    .navbar-collapse {
        text-align: center;
    }

    .navbar .navbar-nav .nav-link {
        font-size: 14px;
        padding: 10px 0;
    }
}



/*** Carousel Start ***/

.carousel-item {
    position: relative;
}

.carousel-item::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .6);
}

.carousel-caption {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.carousel-item p {
    max-width: 700px;
    margin: 0 auto 35px auto;
}

.carousel-control-prev {
    width: 90px;
    height: 60px;
    position: absolute;
    top: 50%;
    left: 0;
    background: var(--bs-primary);
    border-radius: 0 50px 50px 0;
    opacity: 1;
}

.carousel-control-prev:hover {
    background: var(--bs-secondary);
    transition: .8s;
}

.carousel-control-next {
    width: 90px;
    height: 60px;
    position: absolute;
    top: 50%;
    right: 0;
    background: var(--bs-primary);
    border-radius: 50px 0 0 50px;
    opacity: 1;
}

.carousel-control-next:hover {
    background: var(--bs-secondary);
    transition: .8s;
}

.carousel-caption .carousel-content a button.carousel-content-btn1 {
    background: var(--bs-warning);
    color: var(--bs-dark);
    opacity: 1;
    border: 0;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn1:hover {
    background: rgb(7, 7, 82);
    color: #ffffff;
    border: 0;
    opacity: 1;
    transition: 1s;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn2 {
    background: rgb(7, 7, 82);
    color: var(--bs-white);
    opacity: 1;
    border: 0;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn2:hover {
    background: var(--bs-warning);
    color: var(--bs-dark);
    border: 0;
    opacity: 1;
    transition: 1s;
    border-radius: 20px;
}

#carouselId .carousel-indicators li {
    width: 30px;
    height: 10px;
    background: var(--bs-primary);
    margin: 10px;
    border-radius: 30px;
    opacity: 1;
}

#carouselId .carousel-indicators li:hover {
    background: var(--bs-secondary);
    opacity: 1;
}

@media (max-width: 992px) {
    .carousel-item {
        min-height: 500px;
    }
    
    .carousel-item img {
        min-height: 500px;
        object-fit: cover;
    }

    .carousel-item h1 {
        font-size: 40px !important;
    }

    .carousel-item p {
        font-size: 16px !important;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        min-height: 400px;
    }
    
    .carousel-item img {
        min-height: 400px;
        object-fit: cover;
    }

    .carousel-item h1 {
        font-size: 28px !important;
    }

    .carousel-item p {
        font-size: 14px !important;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)), url(../img/Balangay_Voyage_1.jpg) center center no-repeat;
    background-size: cover;
    height: 30vh;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-white);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--bs-white);
}

/*** Carousel End ***/


/*** Services Start ***/

.services .services-item {
    box-shadow: 0 0 60px rgba(0, 0, 0, .2);
    width: 100%;
    height: 100%;
    border-radius: 10px;
    padding: 10px 0;
    position: relative;
}


.services-content::after {
    position: relative;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-radius: 10px 10px 0 0;
    transition: .5s;
    z-index: 2;
}

.services-content::after {
    top: 0;
    bottom: auto;
    border-radius: 10px 10px 10px 10px;
}

.services-item:hover .services-content::after {
    height: 100%;
    opacity: 1;
    transition: .5s;
}

.services-item:hover .services-content-icon {
    position: relative;
    z-index: 2;
}

.services-item .services-content-icon i,
.services-item .services-content-icon p {
    transition: .5s;
}

.services-item:hover .services-content-icon i {
    color: rgb(7, 7, 82) !important;
}



/*** Services End ***/


/*** Project Start ***/

.project-img {
    position: relative;
    padding: 15px;
}

.project-img::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    top: 0;
    left: 0;
    background: var(--bs-warning);
    border-radius: 10px;
    opacity: 1;
    z-index: -1;
    transition: .5s;
}

.project-img::after {
    content: "";
    width: 150px;
    height: 150px;
    position: absolute;
    right: 0;
    bottom: 0;
    background: rgb(7, 7, 82);
    border-radius: 10px;
    opacity: 1;
    z-index: -1;
    transition: .5s;
}

.project-content {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.project-content a {
    display: inline-block;
    padding: 20px 25px;
    border-radius: 10px;
}

.project-item:hover .project-content {
    opacity: 1;
    transition: .5s;
}

.project-item:hover .project-img::before,
.project-item:hover .project-img::after {
    opacity: 0;
}

/*** Project End ***/


/*** Blog Start ***/
/*** Blog Section Styling ***/

/* Container for the blog image and gradient overlay */
.blog-image-container {
    position: relative;
    overflow: hidden; /* Ensures the gradient stays within the container */
    border-radius: 8px; /* Matches the rounded corners of the container */
}

.blog-image-container img {
    width: 100%;
    height: auto;
    display: block; /* Ensures proper rendering */
}

/* Gradient overlay for the image */
.blog-image-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none; /* Prevents blocking interactions with elements */
}

/* Parent container for blog item */
.blog-item {
    position: relative;
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden; /* Keeps content neatly within the container */

}

/* The image container with gradient overlay */
.blog-image-container {
    position: relative;
    overflow: hidden; /* Ensure gradient stays inside the container */
    border-radius: 8px 8px 0 0; /* Top rounded corners only */
}

.blog-image-container img {
    width: 100%;
    height: auto;
    display: block; /* Ensures proper rendering of the image */
}

/* The gradient overlay */
.blog-image-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Span label */
.blog-label {
    position: absolute;
    z-index: 2; /* Ensure it appears above the gradient */
    top: 20px; /* Adjust vertical positioning */
    right: 20px; /* Adjust horizontal positioning */
    background-color: #007bff; /* Primary blue color */
    color: #fff;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    text-transform: capitalize;
    border-radius: 20px;

}

/* Content area styling */
.blog-content {
    padding: 20px;
    text-align: center;
    z-index: 2;
    background-color: #f8f9fa;
}

/* Blog hover effects */
.blog-item:hover {
    transform: translateY(-10px);
    transition: 0.3s ease-in-out;
}

.blog-item:hover .blog-image-container::after {
    background: linear-gradient(to bottom, rgba(3, 3, 3, 0), rgba(255, 255, 255, 0)); /* Darken the gradient on hover */
}

/* Span hover effect */
.blog-label:hover {
    background-color: #0056b3; /* Darker blue */
    transition: 0.3s;
}


/* Loading Screen Styles */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease; /* Smooth fade-out */
}


/* Loading Content Centering */
.loading-content {
    text-align: center; /* Center logo and spinner */
    display: flex;
    flex-direction: column; /* Stack logo and spinner vertically */
    align-items: center;
    gap: 20px; /* Add spacing between logo and spinner */
}

/* Logo Style */
.loading-logo {
    max-width: 150px; /* Adjust logo size */
}

/* Spinner Animation */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-top: 5px solid #007bff; /* Spinner color */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Spinner Animation Keyframes */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}



/*** Team Start ***/

.team-item {
    border-top: 30px solid var(--bs-primary) !important;
    background: rgba(239, 239, 241, 0.8);
}

.team-content::before {
    height: 200px;
    display: block;
    content: "";
    position: relative;
    top: -101px;
    background: var(--bs-primary);
    clip-path: polygon(50% 50%, 100% 50%, 50% 100%, 0% 50%);
    padding: 60px;
    opacity: 1;
}

.team-img-icon {
    position: relative;
    margin-top: -200px;
    padding: 30px;
    padding-bottom: 0;
}

.team-img {
    border: 15px solid var(--bs-white);
}

.team-img img {
    border: 10px solid var(--bs-primary);
    transition: .5s;
}

.team-item:hover h4 {
    color: var(--bs-primary);
    transition: .5s;
}

.team-item:hover .team-img img {
    transform: scale(1.05);
    border: 10px solid var(--bs-primary);
}

.team-carousel .owl-stage {
    position: relative;
    width: 100%;
    height: 100%;
}

.team-carousel .owl-nav {
    position: absolute;
    top: -100px;
    right: 50px;
    display: flex;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    width: 56px;
    height: 56px;
    border-radius: 56px;
    margin-left: 15px;
    background: var(--bs-primary);
    color: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

@media (max-width: 992px) {
    .team-carousel {
        margin-top: 3rem;
    }

    .team-carousel .owl-nav {
        top: -85px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        margin-left: -15px;
    }
}

/*** Team End ***/


/*** Testimonial Start ***/

/* General Testimonial Item Styles */
.testimonial-item {
    background: #ffffff;
    height: 450px; /* Consistent height for all items */
    overflow: hidden; /* Hide excess content */
    position: relative; /* For positioning the 'See More' button */
    transition: height 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Add subtle shadow */
    border-radius: 8px; /* Optional: Rounded corners */
}

.testimonial-item.expanded {
    height: auto; /* Allow full height when expanded */
}

/* 'See More' Button */
.see-more-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: var(--bs-primary);
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Optional: Button shadow */
    display: none; /* Hidden by default */
    z-index: 20; /* Ensure it's above other elements */
}

.testimonial-item:hover .see-more-btn {
    display: block; /* Show on hover */
}

/* Testimonial Carousel Styles */
.testimonial-carousel {
    position: relative; /* Relative positioning for dots */
    padding-top: 40px; /* Space for dots above carousel */
}

.testimonial-carousel .owl-dots {
    margin: 0; /* Remove extra margin */
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute; /* Position dots relative to carousel */
    top: 0; /* Place at the top */
    left: 0;
    right: 0;
    z-index: 10; /* Ensure dots are above the content */
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: none;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #c1dad0; /* Default dot color */
    border-radius: 50%; /* Circular dots */
    transition: all 0.3s ease; /* Smooth transition */
}

.testimonial-carousel .owl-dot.active {
    width: 30px; /* Elongated active dot */
    background: var(--bs-primary); /* Highlighted active dot color */
}

/* Additional Improvements for Responsiveness */
@media (max-width: 768px) {
    .testimonial-item {
        height: auto; /* Let the height adjust for smaller screens */
    }

    .see-more-btn {
        bottom: 5px; /* Adjust button position */
        right: 5px;
        font-size: 10px; /* Smaller font for smaller screens */
    }

    .testimonial-carousel .owl-dot {
        width: 10px;
        height: 10px;
    }

    .testimonial-carousel .owl-dot.active {
        width: 20px;
    }
    /* See Less Button */
    .see-less-btn {
        position: absolute;
        bottom: 10px;
        right: 10px;
        background-color: var(--bs-primary);
        color: #fff;
        border: none;
        border-radius: 5px;
        padding: 5px 10px;
        cursor: pointer;
        font-size: 12px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        z-index: 20;
    }
}



/*** Contact Start ***/
/* Contact Section Background */
.contact-detail::before {
    position: absolute;
    content: "";
    height: 50%;
    width: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(rgba(210, 243, 235, 1), rgba(230, 250, 245, 0.3)), 
                url(../img/background.jpg) center center no-repeat;
    background-size: cover;
    border-radius: 10px;
    z-index: -1;
}

/* Contact Map Styling */
.contact-map {
    background: #26d48c; /* Green background */
    border: 2px solid #1ca872; /* Darker green border */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    overflow: hidden; /* Ensures iframe fits perfectly */
}

/* Contact Form Styling */
.contact-form {
    background: #26d48c; /* Same green background */
    border: 2px solid #1ca872;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.contact-form input,
.contact-form textarea {
    background: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    margin-bottom: 15px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border: 1px solid #1ca872; /* Highlight border on focus */
    box-shadow: 0 0 5px rgba(38, 212, 140, 0.5);
}

.contact-form button {
    background: #1ca872;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: #169860; /* Darker green on hover */
}

/* Responsive Tweaks */
@media (max-width: 992px) {
    .contact-detail::before {
        height: 40%; /* Adjust background height */
    }

    .contact-map, .contact-form {
        margin-bottom: 20px; /* Add space between stacked items */
    }
}

@media (max-width: 576px) {
    .contact-detail::before {
        height: 30%; /* Reduce gradient height further */
    }

    .contact-form button {
        font-size: 0.9rem; /* Smaller button text */
        padding: 8px 15px;
    }
}


/*** Contact End ***/


/*** Footer Start ***/

.footer {
        color: white;
}

/* Centering all links and items in the footer */
.footer .row {
    justify-content: center;
    text-align: center;
}

/* Hover effects */
.footer .short-link a,
.footer .help-link a,
.footer .contact-link a {
    transition: .5s;
}

.footer .contact-link a:hover,
.footer .navi-link a:hover,
.footer .help-link a:hover,
.footer .contact-link a:hover {
    color: var(--bs-warning);
}

.footer .social-link a:hover {
    background: var(--bs-warning);
    border: 0;
}

/* Optional: Adding some space and alignment adjustments for social media buttons */
.footer .hightech-link {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.footer .help-link, .footer .contact-link {
    margin-top: 20px;
}

/* Styling for footer links */
.footer .help-link a,
.footer .contact-link a {
    color: white;
    display: block;
    margin-bottom: 10px;
    text-decoration: none;
}

.footer .help-link a:hover,
.footer .contact-link a:hover {
    color: var(--bs-warning);
}

/* Centering the copyright text */
.footer .row .col-12 {
    text-align: center;
    padding: 20px 0;
}

/*** Footer End ***/
/* Add pulse animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.7);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(13, 110, 253, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0);
    }
}

/* Add bounce animation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}
.location-icon {
    animation: pulse 2s infinite, bounce 2s infinite;
    transition: transform 0.3s ease-in-out;
}

/* attrac */
.limited-content {
    max-height: 60%;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.see-more {
    color: #007bff;
    cursor: pointer;
    font-weight: bold;
}

.expanded {
    max-height: none;
}
.project-img img {
    width: 100%; /* Ensures the image takes up the full width of its container */
    height: 250px; /* Set a uniform height for all images */
    object-fit: cover; /* Crops the image to fit the dimensions without stretching */
    border-radius: 10px; /* Optional: Add consistent rounding to match the design */
}
.blog-image-container img {
    width: 100%; /* Ensures the image spans the full width of its container */
    height: 250px; /* Set a uniform height for all images */
    object-fit: cover; /* Ensures the image is cropped to fit without distortion */
    border-radius: 5px 5px 0 0; /* Keeps the rounded corners consistent with the container */
}

