:root {
    --sfp-green:#52c721;
    --sfp-black:#000;
    --sfp-white:#fff;
    --sfp-yellowgreen:#ffc107;
    --sfp-offwhite:#edf2f7;
    /* Add these new variables for scrollspy */
    --border-radius: 12px;
    --box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
    --sticky-nav-height: 70px;
}
.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 {
    border: none;
    background: var(--sfp-black);
}

.btn.btn-primary:hover {
    background: var(--sfp-green);
}

.btn.btn-secondary {
    color: var(--sfp-white);
    border: none;
    background-color: var(--sfp-black);
   
}

.btn.btn-secondary:hover {
    background: var(--sfp-green);
}
/*** Topbar Start ***/
.topbar {
    padding: 2px 10px 2px 20px;
    background: var(--sfp-black);
}
.text-cnt {
    color: var(--sfp-white)
}
.text-cnt:hover {
    color: var(--sfp-green);
}
.text-icn {
    color: var(--sfp-green) !important;
}
.breadcrumb-item+.breadcrumb-item::before {
    color: var(--sfp-green) !important;
}
/*** Topbar End ***/

/*** Navbar ***/
.sticky-top {
    transition: 1s;
    background-color: var(--sfp-white);
}

.navbar .navbar-nav .nav-item.nav-link,
.navbar .navbar-nav .nav-link {
    color: var(--sfp-black);
}

.navbar .navbar-nav .nav-link {
    position: relative;
    padding: 10px;
    font-weight: 400;
    font-family: "Roboto", serif;
    font-size: 17px;
    transition: .5s;
    z-index: 99;
}

.navbar .navbar-nav .nav-item {
    margin: 0 5px;
}

.navbar .navbar-nav .nav-item::before,
.navbar .navbar-nav .nav-item::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    border: 2px solid var(--sfp-green);
    opacity: 0;
    transition: 0.5s;
    z-index: 2 !important;
}

.navbar .navbar-nav .nav-item::before {
    top: 0;
    left: 0;
    border-bottom: 0;
    border-right: 0;
}
.navbar .navbar-nav .nav-item::after {
    bottom: 0;
    right: 0;
    border-top: 0;
    border-left: 0;
}

.navbar .navbar-nav .nav-item:hover::after,
.navbar .navbar-nav .nav-item:hover::before,
.navbar .navbar-nav .nav-item.active::after,
.navbar .navbar-nav .nav-item.active::before {
    width: 50%;
    height: 50%;
    opacity: 1;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.sticky-top .navbar .navbar-nav .nav-link:hover,
.sticky-top .navbar .navbar-nav .nav-link.active {
    color: var(--sfp-green) !important;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107" !important;
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
}

.navbar .navbar-toggler {
    padding: 8px 15px;
    color: var(--bs-dark);
    background: var(--bs-secondary);
}

.nav-bar .navbar-toggler { 
    color: var(--bs-dark);
    box-shadow: none !important;
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--sfp-white);
    transition: .5s;
    opacity: 1;
}

.navbar .nav-item .dropdown-menu {
    background: var(--sfp-white);
    transition: 0.5s;
}

.navbar .nav-item .dropdown-menu .dropdown-item {
    transition: 0.5s;
}

.dropdown .dropdown-menu .dropdown-item:hover,
.dropdown .dropdown-menu .dropdown-item.active {
    background: var(--sfp-green);
    color: var(--sfp-white);
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        margin-top: 12% !important;
        transform: rotateX(-75deg);
        transform-origin: 0 0;
        border: 0;
        transition: .5s;
        opacity: 0;
        z-index: 9;
    }
}

@media (max-width: 991px) {
    .navbar .nav-item .dropdown-menu {
        position: relative;
        margin-top: 0;
        transition: 0.5s;
    }

    .navbar .navbar-nav .nav-item::after,
    .navbar .navbar-nav .nav-item::before {
        display: none;
    }

    .navbar .navbar-nav .nav-item:hover::after,
    .navbar .navbar-nav .nav-item:hover::before,
    .navbar .navbar-nav .nav-item.active::after,
    .navbar .navbar-nav .nav-item.active::before {
        display: none;

    }

    .navbar .navbar-nav .nav-link {
        padding: 12px 0;
    }

    .navbar .navbar-nav .nav-item {
        margin: 0;
    }

    .navbar .navbar-nav .nav-item.nav-link {
        padding: 12px 0;
    }
}
/*** Navbar End ***/

/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0 60px 0;
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}
.bg-breadcrumb::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Black overlay with 50% opacity */
    z-index: 1;
    pointer-events: none; /* Allows clicks to pass through to elements below */
}
.bg-breadcrumb > * {
    position: relative;
    z-index: 2; /* Ensures content appears above the overlay */
}
/*** Single Page Hero Header End ***/

/*** Carousel Start ***/
.carousel .carousel-inner .carousel-item {
    position: relative;
    overflow: hidden;
    height: 100vh;
}

@media (min-width: 992px) {
    .carousel .carousel-inner .carousel-item img {
        height: 100%;
        object-fit: cover;   
    }
}

@media (max-width: 991px) {
    .carousel .carousel-inner .carousel-item {
        height: 700px;
    }
    .carousel .carousel-inner .carousel-item img {
        height: 700px;
        object-fit: cover;    
    }
}

@media (max-width: 576px) {
    .carousel-item .carousel-caption h1 {
        font-size: 36px;
    }

    .carousel-item .carousel-caption p.fs-5 {
        font-size: 15px;
    }
}

.carousel .carousel-inner .carousel-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    z-index: 1;
}

.carousel .carousel-inner .carousel-item .carousel-caption {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.carousel .carousel-indicators {
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    z-index: 5;
}

.carousel .carousel-indicators li,
.carousel .carousel-indicators li,
.carousel .carousel-indicators li {
    margin-right: 30px !important;
    width: 10px;
    height: 10px;
    border: 6px solid var(--sfp-black);
    background: var(--sfp-white);
    transition: 0.5s;
}

.carousel .carousel-indicators li.active {
    border: 10px solid var(--sfp-green);
}

.carousel .carousel-control-prev,
.carousel .carousel-control-next {
    background: transparent;
}

.carousel .carousel-control-prev .carousel-control-prev-icon {
    position: absolute;
    left: 0;
    padding: 25px 30px;
    background: var(--sfp-black);

}

.carousel .carousel-control-next .carousel-control-next-icon {
    position: absolute;
    right: 0;
    padding: 25px 30px;
    background: var(--sfp-black);

}

.carousel .carousel-control-prev .carousel-control-prev-icon:hover,
.carousel .carousel-control-next .carousel-control-next-icon:hover {
    background: var(--sfp-green);
    color: var(--sfp-white);
}
/*** Carousel End ***/


/*** About Start ***/
.experience-cert .experience-content h2, .experience-cert .experience-content p, .experience-cert .experience-content h5 {
    color: var(--sfp-black);
}
.experience-cert .experience-content p {
    text-align:justify;
}
.certificate-gallery .cert-card h5, .certificate-gallery .cert-card p, .certificate-gallery .cert-item, .certificate-gallery p {
    color: var(--sfp-black);
}
.about .about-item-content-img {
    border: 4px solid;
    border-color: var(--sfp-green) var(--sfp-black) var(--sfp-black) var(--sfp-green);
}

.about .about-item-image {
    position: relative;
    background: var(--sfp-white);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
	min-height: 750px;
}

.about .about-item-image .img-1 {
    margin-bottom: 250px; 
    margin-right: 0;
    border: 4px solid;
    border-color: var(--sfp-green) var(--sfp-white) var(--sfp-white) var(--sfp-green);
    z-index: 3;
}

.about .about-item-image .img-2 {
    margin-top: 250px; 
    margin-left: 0;
    border: 4px solid;
    border-color: var(--sfp-white) var(--sfp-green) var(--sfp-green) var(--sfp-white); 
    z-index: 3;
}

/* .about .about-item-image::before {
    width: 80%;
    height: 80%;
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid;
    border-style: dotted;
    border-color: var(--sfp-white);
    background: var(--sfp-green);
    z-index: 2;
} */

.about .about-item-image .about-item-image-content {
    width: 55%;
    height: 55%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--sfp-green);
    border: 4px solid var(--sfp-black);
    opacity: 0.9;
    z-index: 4;
}

.about .about-item-image .about-item-image-effect {
    position: absolute;
    top: 0;
    right: 0;
}
.about .about-item-content .text-abt {
    color: var(--sfp-green);
}
.about .about-item-content h2, .about .about-item-content h4, .about .about-item-content p  {
    color: var(--sfp-black);
}
.about .about-item-content .abt-desc {
    text-align:justify;
}
/*** About End ***/

/*** Features Start ***/
.feature .text-icnf {
    color: var(--sfp-black);
}
.feature .text-feat {
    color: var(--sfp-green);
}
.feature h2, .feature h4, .feature p  {
    color: var(--sfp-black);
}
.feature .abt-desc {
    text-align:justify;
}
.feature .feature-item {
    position: relative;
    transition: 0.5s;
}
.feature .feature-item:hover {
    background: var(--sfp-white);
    border: 1px solid transparent;
    box-shadow: 0 0 45px rgba(0, 0, 0, .1);
}

.feature .feature-item:hover a {
    transition: 0.5s;
}

.feature .feature-item:hover i {
    color: var(--sfp-green);
}
/*** Features End ***/

/*** Tour  Start ***/
.tour .text-tr, .testimonial .text-ts {
    color: var(--sfp-green);
} {
    color: var(--sfp-green);
}
.tour h2, .tour h4, .tour p, .testimonial h2, .testimonial h4, .testimonial p {
    color: var(--sfp-black);
}
/*** Tour End ***/

/*** Blog Start ***/
.blog .text-blg {
    color: var(--sfp-green);
}
.blog h2, .blog p {
    color: var(--sfp-black);
}
.blog .blog-description {
    color: var(--sfp-black);
}
.blog .blog-item .blog-img {
    position: relative;
    overflow: hidden;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

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

.blog .blog-item .blog-content {
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

.blog .blog-item .blog-content .h4 {
    transition: 0.5s;
    color: var(--sfp-black);
}
/* Blog Card Styles */
/* Optional: Add loading animation for lazy images */
.tour-img img.lazy-load, .blog-img img.lazy-load {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tour-img img.lazy-load.loaded, .blog-img img.lazy-load.loaded {
    opacity: 1;
}
/*** Blog End ***/

/*** Contact Start ***/
.contact h2, .contact p {
    color: var(--sfp-black);
}
.contact .contact-map {
    position: relative;
    overflow: hidden;
    padding: 20px;
    z-index: 1;
}

.contact .contact-map::before {
    content: "";
    width: 70%;
    height: 70%;
    position: absolute;
    left: 0;
    bottom: 0;
    background: var(--sfp-black);
    z-index: -1;
}

.contact .contact-map::after {
    content: "";
    width: 70%;
    height: 70%;
    position: absolute;
    top: 0;
    right: 0;
    background: var(--sfp-green);
    z-index: -1;
}
/*** Contact End ***/

/*** Footer Start ***/
.footer {
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}
.footer .footer-item a {
    line-height: 35px;
    color: var(--sfp-white);
    transition: 0.5s;
}

.footer .footer-item p {
    color: var(--sfp-white);
    text-align:justify;
}

.footer .footer-item a:hover {
    letter-spacing: 1px;
    color: var(--sfp-green);
}

.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(--sfp-green);
}

.footer .footer-item .footer-btn a:hover i {
    color: var(--sfp-white) !important;
}
.footer .footer-item .top-rated-item hr {
    color: var(--sfp-white);
    background-color: var(--sfp-white);
    opacity: 1;
}
/*** Footer End ***/
/* Basic mountaineering course  */
.course-accordion .accordion-button:not(.collapsed) {
    background: var(--sfp-black);
    color: var(--sfp-green);
}
/* Accordion Styling */
.course-accordion .accordion-item {
    border: none;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
}

.course-accordion .accordion-button {
    background: var(--sfp-black);
    color: var(--sfp-white);
    font-weight: 600;
    padding: 18px 20px;
    border: none;
    box-shadow: none;
    font-family: 'Roboto';
}

.course-accordion .accordion-button:not(.collapsed) {
    background: var(--sfp-black);
    color: var(--sfp-green);
}

.course-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.course-accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.course-accordion .accordion-body {
    padding: 20px;
    color: var(--sfp-black);
}
.course-hero p {
    color: var(--sfp-black);
    text-align: justify;
}
.course-hero h6, .course-hero small {
    color: var(--sfp-black);
}
.bg-vilg {
    background-color:var(--sfp-black);
}
#course-details h2, #course-details h5, #course-details p {
    color: var(--sfp-black);
}
.bg-vilg h5, .bg-vilg p {
    color: var(--sfp-white) !important;
}
#coursefc h3, #coursefc p {
    color: var(--sfp-black);
}
#flist h4, #flist span{
    color: var(--sfp-black);
}
#coursefc .bmmoic_desc {
    text-align:justify;
}
.bg-vilg .cpi {
    color: var(--sfp-green);
}
.ctabnr h3 {
    color: var(--sfp-white);
}
.bg-white-10 {
    background-color: rgba(255, 255, 255, 0.1);
}

.backdrop-blur {
    backdrop-filter: blur(10px);
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

.accordion-item .accordion-button:not(.collapsed) {
    background-color: var(--sfp-black);
    color: var(--sfp-white);
    box-shadow: none;
}
.accordion-item .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,0.1);
}

.instructor-avatar {
    transition: transform 0.3s ease;
}

.hover-lift:hover .instructor-avatar {
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .course-hero {
        text-align: center;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .bg-white {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .course-hero .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Custom animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.float-animation {
    animation: float 4s ease-in-out infinite;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
/* End Basic mountaineering course */
/*** copyright Start ***/
.copyright {
    border-top: 1px solid var(--sfp-offwhite);
    background: var(--sfp-black);
}
.copyright a {
    color: var(--sfp-white);
}
.copyright span a:hover, .copyright div a:hover {
    color: var(--sfp-green);
}
/*** copyright end ***/
/* Our Guide page */
#guidesec h2, #guidesec p {
    color :var(--sfp-black);
}
/* End Our Guide page */
/* ---------- Custom Carousel Animations (based on Animate.css v3) ---------- */
/* Fade In Up */
@keyframes customFadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 100%, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Fade In Left */
@keyframes customFadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-100%, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Fade In Right */
@keyframes customFadeInRight {
    from {
        opacity: 0;
        transform: translate3d(100%, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Apply animations ONLY to the active slide */
.carousel-item.active [class*="custom-fade"] {
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-timing-function: ease-out;
    animation-delay: var(--delay, 0s);
}

.carousel-item.active .custom-fade-up {
    animation-name: customFadeInUp;
}

.carousel-item.active .custom-fade-left {
    animation-name: customFadeInLeft;
}

.carousel-item.active .custom-fade-right {
    animation-name: customFadeInRight;
}
/* End carousel css */
/* TOUR packages */
/* Tour Card – mimics blog-item */
#expeditontrekOwl .tour-card, #tourOwl .tour-card, #tourimg .tour-card {
    background: white;
    border: none;
    border-radius: 0;        /* blog has no border-radius on card */
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.08); /* blog shadow */
    margin: 0 0 15px 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

#expeditontrekOwl .tour-card:hover, #tourOwl .tour-card:hover, #tourimg .tour-card:hover {
    transform: translateY(-5px);  /* blog hover lift */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); /* blog hover shadow */
}

/* Image container – for zoom effect */
#expeditontrekOwl .tour-img, #tourOwl .tour-img, #tourimg .tour-img {
    overflow: hidden;
    height: 220px;
}

#expeditontrekOwl .tour-img img , #tourOwl .tour-img img, #tourimg .tour-img img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

#expeditontrekOwl .tour-card:hover .tour-img img, #tourOwl .tour-card:hover .tour-img img, #tourimg .tour-card:hover .tour-img img {
    transform: scale(1.08);  /* subtle zoom on hover */
}

/* Content area – padding exactly like blog */
#expeditontrekOwl .tour-content, #tourOwl .tour-content, #tourimg .tour-content, {
    flex-direction: column;
}

/* Location & altitude line */
.tour-item .tour-card .tour-content .location,
.tour-item .tour-card .tour-content .altitude {
    font-size: 0.8rem;
    color: var(--sfp-black);
}

/* Title */
.tour-item .tour-card .tour-content .card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--sfp-black);
    line-height: 1.4;
}

/* Description – like blog-description */
.tour-item .tour-card .tour-content .tour-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--sfp-black);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Duration & Rating – like blog meta */
#expeditontrekOwl .duration,
#expeditontrekOwl .rating,
#tourOwl .duration,
.pge-rating .duration,
#tourOwl .rating,
#testimonialOwl .rating,
.top-rated-item .rating,
.pge-rating .rating {
    font-size: 0.8rem;
    color: var(--sfp-black);
}
.footer .footer-item .top-rated-item .rating {
    color: var(--sfp-white);
}

#expeditontrekOwl .rating i, #tourOwl .rating i, .top-rated-item .rating i, .pge-rating .rating i  {
    color: var(--sfp-yellowgreen);
    margin-right: 2px;
}

/* Price – new element, styled cleanly */
#expeditontrekOwl .price, #tourOwl .price, .pge-prc .price {
    border-top: 1px solid var(--sfp-offwhite);
    padding-top: 0.75rem;
    margin-top: 0.25rem;
    margin-bottom: 1rem;
    color: var(--sfp-black);
}

/* Button – EXACTLY like blog .btn-secondary */
#expeditontrekOwl .btn, #tourOwl .btn  {
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    transition: all 0.2s;
    margin-top: auto;
}

#expeditontrekOwl .btn-secondary, #tourOwl .btn-secondary {
    background-color: var(--sfp-black);
    border-color: var(--sfp-black);
    color: var(--sfp-white);
}

#expeditontrekOwl .btn-secondary:hover, #tourOwl .btn-secondary:hover {
    background-color: var(--sfp-green);
    border-color: var(--sfp-green);
}

/* ===== OWL CAROUSEL SETTINGS – IDENTICAL TO BLOG ===== */
#expeditontrekOwl.owl-carousel, #tourOwl.owl-carousel, #testimonialOwl.owl-carousel, #blogOwl.owl-carousel {
    position: relative;
}

#expeditontrekOwl .owl-item, #tourOwl .owl-item, #testimonialOwl .owl-item  {
    padding: 0 12px;  /* spacing between cards */
}

/* Hide dots */
#expeditontrekOwl.owl-carousel .owl-dots, #tourOwl.owl-carousel .owl-dots, #testimonialOwl.owl-carousel .owl-dots, #blogOwl.owl-carousel .owl-dots {
    display: none !important;
}

/* Navigation Arrows – exactly like blog, but positioned inside container */
#tourOwl.owl-carousel .owl-nav .owl-prev,
#tourOwl.owl-carousel .owl-nav .owl-next,
#expeditontrekOwl.owl-carousel .owl-nav .owl-prev,
#expeditontrekOwl.owl-carousel .owl-nav .owl-next,
#testimonialOwl.owl-carousel .owl-nav .owl-prev,
#testimonialOwl.owl-carousel .owl-nav .owl-next,
#blogOwl.owl-carousel .owl-nav .owl-prev,
#blogOwl.owl-carousel .owl-nav .owl-next {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: var(--sfp-black) !important;
    color: var(--sfp-white) !important;
    font-size: 1.8rem !important;
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
}

#expeditontrekOwl.owl-carousel .owl-nav .owl-prev:hover,
#expeditontrekOwl.owl-carousel .owl-nav .owl-next:hover,
#tourOwl.owl-carousel .owl-nav .owl-prev:hover,
#tourOwl.owl-carousel .owl-nav .owl-next:hover,
#testimonialOwl.owl-carousel .owl-nav .owl-prev:hover,
#testimonialOwl.owl-carousel .owl-nav .owl-next:hover,
#blogOwl.owl-carousel .owl-nav .owl-prev:hover,
#blogOwl.owl-carousel .owl-nav .owl-next:hover  {
    background: var(--sfp-green) !important;
    color: var(--sfp-white) !important;
    opacity: 1 !important;
    box-shadow: 0 6px 14px rgba(0,0,0,0.18) !important;
}

/* Responsive arrow adjustments */
@media (max-width: 992px) {
    #expeditontrekOwl.owl-carousel .owl-nav .owl-prev,
    #tourOwl.owl-carousel .owl-nav .owl-prev,
    #testimonialOwl.owl-carousel .owl-nav .owl-prev,
    #blogOwl.owl-carousel .owl-nav .owl-prev { left: -4% !important; }
    #expeditontrekOwl.owl-carousel .owl-nav .owl-next,
    #tourOwl.owl-carousel .owl-nav .owl-next,
    #testimonialOwl.owl-carousel .owl-nav .owl-next,
    #blogOwl.owl-carousel .owl-nav .owl-next { right: -4% !important; }
    #expeditontrekOwl.owl-carousel .owl-nav .owl-prev,
    #expeditontrekOwl.owl-carousel .owl-nav .owl-next,
    #tourOwl.owl-carousel .owl-nav .owl-prev,
    #tourOwl.owl-carousel .owl-nav .owl-next,
    #testimonialOwl.owl-carousel .owl-nav .owl-prev,
    #testimonialOwl.owl-carousel .owl-nav .owl-next,
    #blogOwl.owl-carousel .owl-nav .owl-prev,
    #blogOwl.owl-carousel .owl-nav .owl-next {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.6rem !important;
    }
}

@media (max-width: 576px) {
    #expeditontrekOwl .tour-img, #tourOwl .tour-img, #blogOwl .blog-img img  { height: 200px; }
    #expeditontrekOwl.owl-carousel .owl-nav .owl-prev,
    #expeditontrekOwl.owl-carousel .owl-nav .owl-next,
    #tourOwl.owl-carousel .owl-nav .owl-prev,
    #tourOwl.owl-carousel .owl-nav .owl-next,
    #testimonialOwl.owl-carousel .owl-nav .owl-prev,
    #testimonialOwl.owl-carousel .owl-nav .owl-next,
    #blogOwl.owl-carousel .owl-nav .owl-prev,
    #blogOwl.owl-carousel .owl-nav .owl-next {
        width: 36px !important;
        height: 36px !important;
        font-size: 1.4rem !important;
    }
}

@media (min-width: 1200px) {
    #expeditontrekOwl.owl-carousel .owl-nav .owl-prev, #tourOwl.owl-carousel .owl-nav .owl-prev,
    #testimonialOwl.owl-carousel .owl-nav .owl-prev, #blogOwl.owl-carousel .owl-nav .owl-prev
    { left: -3% !important; }
    #expeditontrekOwl.owl-carousel .owl-nav .owl-next, #tourOwl.owl-carousel .owl-nav .owl-next,
    #testimonialOwl.owl-carousel .owl-nav .owl-next, #blogOwl.owl-carousel .owl-nav .owl-next
    { right: -3% !important; }
}
/* END TOUR packages */
/* Blog css */
#blogOwl .blog-img img, #blogimg .blog-img img {
    height: 250px;
    object-fit: cover;
}
#blogOwl .blog-item, #blogimg .blog-item {
    background: white;
    transition: 0.2s;
    margin: 0 8px;
}
#blogOwl .blog-item:hover, #blogimg .blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
/* Blog description – Roboto font, proper size & color */
#blogOwl .blog-description {
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
}
/* End Blog css */
/* TESTIMONIAL SECTION */
#testimonialOwl .testimonial-card {
    background: white;
    border: none;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.08);
    margin: 0 0 15px 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

#testimonialOwl .testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

#testimonialOwl .testimonial-content {
    flex-direction: column;
}

#testimonialOwl .quote-icon {
    line-height: 1;
}

#testimonialOwl .testimonial-text {
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: justify;
}

#testimonialOwl .rating i {
    margin-right: 2px;
}

#testimonialOwl .customer-img img {
    border: 2px solid #f8f9fa;
    transition: transform 0.3s ease;
}

#testimonialOwl .testimonial-card:hover .customer-img img {
    transform: scale(1.05);
}

#testimonialOwl .customer-details h6 {
    color: var(--sfp-black);
    font-size: 1rem;
}

#testimonialOwl .customer-details p {
    font-size: 0.8rem;
    margin-bottom: 2px;
}
/* END TESTIMONIAL SECTION */
/* Hide default PhotoSwipe arrows */
.pswp__button--arrow--left:before,
.pswp__button--arrow--right:before {
    display: none !important;
}

/* Create custom arrows with Font Awesome */
.pswp__button--arrow--left,
.pswp__button--arrow--right {
    background: rgba(0,0,0,0.3) !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: 'Font Awesome 5 Free' !important;
    font-weight: 900 !important;
    font-size: 24px !important;
    color: white !important;
    text-decoration: none !important;
}

.pswp__button--arrow--left:after {
    content: '\f053' !important; /* Font Awesome left arrow */
    display: block !important;
}

.pswp__button--arrow--right:after {
    content: '\f054' !important; /* Font Awesome right arrow */
    display: block !important;
}

.pswp__button--arrow--left:hover,
.pswp__button--arrow--right:hover {
    background: rgba(0,0,0,0.5) !important;
}
/* Guide Card Styles */
.guide-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-card:hover {
    transform: translateY(-10px);
}

.guide-card:hover .card {
    box-shadow: 0 15px 40px rgba(0,0,0,0.15) !important;
}

.guide-card:hover .guide-img {
    transform: scale(1.05);
}

/* Card Image */
.guide-img {
    transition: transform 0.5s ease;
}

/* Badge Styles */
.badge {
    font-weight: 500;
    letter-spacing: 0.5px;
}

.badge.bg-vilg i {
    color: var(--sfp-green);
}
.guide-card .card-body .card-title, .guide-card .card-body p, .guide-card .card-body div .text-center small {
    color: var(--sfp-black);
}
/* Description toggle */
.guide-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--sfp-black);
}

.guide-description .read-more-btn {
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    color:var(--sfp-black);
}

.guide-description .read-more-btn:hover {
    gap: 10px;
    color: var(--sfp-green) !important;
}
.btn:focus {
    box-shadow: none;
}
.guide-description .read-more-btn:hover i {
    transform: translateX(5px);
}

.guide-description .read-more-btn i {
    transition: transform 0.3s;
}

/* Quick Stats */
.guide-card .small {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-align:justify;
    color: var(--sfp-black);
}

.guide-card .fw-bold {
    font-size: 1.1rem;
    color: var(--sfp-black);
}

/* Language and Certification Badges */
.badge.bg-light {
    background-color: #f8f9fa !important;
    color: var(--sfp-black);
    font-weight: normal;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.badge.bg-light:hover {
    background-color: #e9ecef !important;
    transform: translateY(-2px);
}

/* Booking Button */
.btn-outline-primary {
    border-width: 2px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Page Header */
.page-header {
    min-height: 300px;
    background-attachment: fixed;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.5);
}

.page-header .breadcrumb-item a:hover {
    color: var(--primary) !important;
}

/* Animation Delays */
.wow.fadeInUp {
    animation-duration: 0.8s;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .guide-card .card-img-top {
        height: 300px !important;
    }
    
    .guide-card .display-5 {
        font-size: 1.8rem;
    }
    
    .guide-card .badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
}
/* Language dropdown styling */
#languageDropdown {
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e0 #f1f5f9;
    z-index: 9999 !important; /* Ensure dropdown is on top */
}

#languageDropdown::-webkit-scrollbar {
    width: 6px;
}

#languageDropdown::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

#languageDropdown::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 10px;
}

#languageDropdown::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.dropdown-item {
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10000; /* Ensure items are clickable */
}

.dropdown-item:hover {
    background-color: rgba(13, 110, 253, 0.05);
}

.dropdown-item.active {
    background-color: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    font-weight: 500;
}

/* Ensure dropdown menu is above everything */
.dropdown-menu {
    z-index: 9999 !important;
}

/* Fix for Google Translate banner */
.goog-te-banner-frame,
.goog-te-menu-frame,
.goog-te-spinner,
iframe[src*="translate.google"] {
    z-index: -1 !important;
    display: none !important;
}

/* Ensure body stays normal */
body {
    top: 0 !important;
    position: static !important;
    z-index: auto !important;
}

/* Keep our language selector on top */
.dropdown,
.ms-2.ms-md-3.dropdown {
    z-index: 10001 !important;
    position: relative;
}
/* Hide Google Translate attribution and any floating elements */
.goog-logo-link,
.goog-te-gadget span,
.goog-te-gadget img,
.goog-te-gadget-simple img,
.goog-te-gadget-simple span,
div[style*="translate.googleapis.com"] img,
div[style*="translate.googleapis.com"] span,
a[href*="translate.google.com"] {
    display: none !important;
}

/* Prevent any spacing issues */
html {
    overflow-y: scroll !important; /* Prevent layout shift */
}

/* Force body to stay at top */
body {
    top: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Hide the Google Translate toolbar completely */
.skiptranslate,
.skiptranslate iframe,
.skiptranslate *,
.goog-te-banner-frame.skiptranslate {
    display: none !important;
    height: 0 !important;
    visibility: hidden !important;
}
/* Prevent Google Translate from translating language selector */
.notranslate,
.dropdown,
.dropdown *,
#languageDropdown,
#languageDropdown *,
#currentLang,
#currentLangShort,
.dropdown-toggle,
.dropdown-menu,
.dropdown-item {
    -webkit-translate: none !important;
    translate: none !important;
    -webkit-translation: none !important;
    translation: none !important;
}
/* Tour packages */
/* Ensure images are responsive and maintain aspect ratio */
#tourimg .responsive-img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3; /* Added to prevent layout shift */
    object-fit: cover;
    transition: opacity 0.3s ease;
    background-color: #f0f0f0; /* Placeholder background while loading */
}

/* Lazy loading fade-in effect */
#tourimg .responsive-img {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

#tourimg .responsive-img.loaded {
    opacity: 1;
}

/* Mobile optimization: reduce animation complexity on mobile */
@media (max-width: 768px) {
    #tourimg .responsive-img {
        transition: opacity 0.15s ease; /* Faster transition on mobile */
    }
    
    /* Optional: Disable pulse animation on mobile for better performance */
    #tourimg .responsive-img:not(.loaded) {
        animation: none;
    }
}

/* Optional: Add a subtle loading animation (only on desktop/tablet) */
@media (min-width: 769px) {
    #tourimg .responsive-img:not(.loaded) {
        animation: subtlePulse 1.5s ease-in-out infinite;
    }
}

@keyframes subtlePulse {
    0%, 100% {
        background-color: #f0f0f0;
    }
    50% {
        background-color: #e0e0e0;
    }
}

/* Optional: Blur-up effect for smoother loading (desktop only) */
@media (min-width: 769px) {
    #tourimg .responsive-img {
        filter: blur(2px);
        transition: filter 0.3s ease-out, opacity 0.3s ease-out;
    }
    
    #tourimg .responsive-img.loaded {
        filter: blur(0);
    }
}

/* Mobile: Remove blur effect for performance */
@media (max-width: 768px) {
    #tourimg .responsive-img {
        filter: none;
    }
}

/* Performance optimization */
#tourimg {
    contain: layout style paint;
}

.tour-card {
    contain: content;
}
/* End Tour packages */