/*
Theme Name: bsmanh
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

@font-face {
    font-family: 'Gilroy';
    src: url('assets/fonts/SVN-Gilroy.woff2') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('assets/fonts/SVN-GilroySemiBold.woff2') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('assets/fonts/SVN-GilroyBold.woff2') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Gilroy', sans-serif!important;
}

:root {
    --heading-font: "Barlow Condensed", sans-serif;
}

::-webkit-scrollbar-thumb {
    background: var(--fs-color-primary);
    border-radius: 100rem;
    width: 0.5rem;
}

/* Topbar */
.bsmanh_custom_topbar {
    background-color: var(--fs-color-primary);
}

@keyframes infiniteScroll {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.overflow_hidder {
    overflow: hidden!important;
}

.bsmanh_custom_topbar .marquee{
    animation: infiniteScroll 20s linear infinite;
    align-items: center;
    transition: animation-duration 300ms;
    display: flex;
}

.bsmanh_custom_topbar .marquee .inner{
    flex: 0 0 auto;
    display: flex;
    min-width: auto;
    flex-direction: row;
    align-items: center;
}

.bsmanh_custom_topbar .marquee .inner .text {
    color: #fff;
    font-family: var(--heading-font);
    font-size: 20px;
    line-height: 40px;
    font-weight: 700;
    margin: 0 20px;
    display: flex;
    align-items: center;
}

.bsmanh_custom_topbar .marquee .inner .text::after {
    content: '';
    width: 30px;
    height: 30px;
    background-image: url(assets/images/universe-planet-05-svgrepo-com.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-flex;
    margin-left: 40px;
}

.bsmanh_custom_topbar .marquee .inner .text:last-child::after {
    display: none;
}

/* Search form */
.searchform input.search-field {
    width: 100%;
    height: 4rem;
    background-color: rgb(242, 244, 247);
    padding: 0.4rem 0.4rem 0.4rem 4rem;
    border-radius: 100rem;
    border-width: 0.1rem;
    border-style: solid;
    border-color: transparent;
    border-image: initial;
    transition: 0.4s;
    height: 40px;
    line-height: 40px;
    box-shadow: none;
    min-width: 400px;
}

.searchform input.search-field:focus {
    border-color: var(--fs-color-primary);
}

.searchform .button.icon {
    width: 40px;
    height: 40px;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    position: absolute;
    left: 0.4rem;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 100rem;
    transition: 0.4s;
    padding: 0; 
    border: none;
    background: transparent;

}

.searchform .button.icon i {
    color: var(--fs-color-primary);
    margin-top: 3px;
}

.searchform .button.icon:hover {
    background-color: transparent;
    box-shadow: none;
}

.header-button > a {
    height: 40px;
    line-height: 40px;
}

.header-button .button span {
    height: 40px;
    line-height: 38px;
    font-size: 16px;

}

.header-button .button.primary span {
    display: flex;
    align-items: center;
}

.header-button .button.primary span::before {
    content: '\f095';
    font-family: 'FontAwesome';
    display: inline-block;
    margin-right: 10px;
}

.header-button .button.secondary span::before {
    content: '\f0e6';
    font-family: 'FontAwesome';
    display: inline-block;
    margin-right: 10px;
}

.button {
    letter-spacing: 0;
}

.button:hover {
    box-shadow: 8px 8px 24px rgba(0, 0, 0, 0.15);
}

/* Header */
.header-bottom .nav-spacing-xlarge>li {
    margin: 0 30px!important
}

.header-bottom .nav > li > a {
    padding: 5px 0!important;
    font-size: 20px!important;
}


/* Quote */

.bs__quote .box-text {
    width: 70%;
    bottom: unset;
    top: 150px;
    background: transparent;
    box-shadow: none;
    text-align: left;
    line-height: 1.5;
    max-height: 350px;
    overflow-y: scroll;
}

/* Custom title */
.bs__custom-title {
    position: relative;
    padding-left: 1rem
}
.bs__custom-title::before {
    content: '';
    position: absolute;
    width: 5px;
    height: 100%;
    background: var(--fs-color-primary);
    left: 0;
    top: 0;
}

.bs__custom-title h2 {
    font-size: 32px!important;
    color: var(--fs-color-primary);
    margin-bottom: 5px
}

.bs__custom-title p {
    font-size: 18px;
    font-style: italic;
}

/* Block title */
.bs__custom-block-title {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

.bs__custom-block-title .left,
.bs__custom-block-title .right {
    width: 50%;
}

.bs__custom-block-title .block-tag {
    line-height: 1.4em;
    color: var(--fs-color-primary);
    position: relative;
    padding-left: 1rem
}

.bs__custom-block-title .block-tag::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    bottom: 0;
    transform: translateY(-50%);
    background-color: var(--fs-color-primary);
    border-radius: 999px;
    width: 8px;
    height: 8px;
}

.bs__custom-block-title h2 {
    font-size: 48px;
    color: var(--fs-color-primary);
}

.bs__custom-block-title .left {
    padding-right: 50px;
}

.bs__custom-block-title .button {
    min-width: 200px;
    border-radius: 1rem;
}

/* Service */
.service_item .inner {
    position: relative;
    background-image: url('/wp-content/uploads/2025/07/placeholder-300x300.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 30px;
    padding-top: 100px;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.4s ease-in-out;

}

.service_item .inner::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: var(--fs-color-primary);
    opacity: .8;
    transform: translateY(101%);
    transition: all 0.4s ease-in-out;
}

.service_item:hover {
    cursor: pointer;
}

.service_item:hover .inner::before {
    transform: translateY(0);
}

.service_item .inner .icon {
    display: block;
    width: 60px;
    height: 60px;
    background-image: url('/wp-content/uploads/2025/07/placeholder-300x300.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border: 2px solid var(--fs-color-primary);
    border-radius: 999px;
    position: absolute;
    top: 30px;
    left: 30px;
}

.service_item .inner .content {
    position: relative;
    transform: translateY(165px);
    transition: all 0.4s ease-in-out;
}

.service_item:hover .inner .content {
    transform: translateY(0);
}

.service_item .inner .content a {
    display: flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background-color: #fff;
    color: var(--fs-color-primary);
}

.service_item .inner .content p {
    font-size: 14px;
    color: #fff;
}

.service_item .inner .content h3 {
    font-size: 24px;
    color: var(--fs-color-primary);
}

.service_item:hover .inner .content h3 {
    color: #fff;
}

.service_item .inner .content .more {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.4s ease-in-out;
}

.service_item:hover .inner .content .more {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom_services {
    margin-top: 30px;
}

.bg__srow {
    background-image: url(assets/images/section-bg-imgae.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 30px;
}

/* Video Feedbacks Slider - CSS Marquee */
.video-feedbacks-wrapper {
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.marquee-content {
    display: inline-flex;
    animation: marquee 30s linear infinite;
    gap: 20px;
    min-width: 200%;
    animation-play-state: running;
}

@keyframes marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.video-feedback-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    width: 300px;
    flex-shrink: 0;
    display: inline-block;
}

.video-feedback-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background-color: #000;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-feedback-item:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.play-button i {
    color: var(--fs-color-primary);
    font-size: 24px;
    margin-left: 3px;
}

.video-feedback-item:hover .play-button {
    background: rgba(255, 255, 255, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Video Popup Modal */
.video-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.video-popup-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.video-popup-close {
    position: absolute;
    top: -40px;
    right: 10px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 10001;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.video-popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.video-popup-iframe iframe {
    width: 100%;
    height: 450px;
    border: none;
}

.video-feedbacks-error {
    text-align: center;
    padding: 20px;
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 20px 0;
    color: #666;
}

.ss__padding {
    padding: 50px 150px;
}

form input:not([type=submit]), select {
    padding: 17px 20px 17px 20px;
    width: 100%;
    height: 58px;
    border-radius: 10px 10px 10px 10px;
    color: #000;
}

.booking form input[type=submit] {
    border-radius: 10px;
    padding: 10px 20px;
    min-width: 200px;
    margin-top: 20px;
}

.booking .box {
    border-radius: 20px;
    overflow: hidden;
}

.booking .box::before {
    background-color: transparent;
    --background-overlay: '';
    background-image: linear-gradient(180deg, #20296E00 37.07%, #c4243480 100%);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    content: '';
    z-index: 1
}

.booking .box .box-text {
    position: absolute;
    left: 0;
    bottom: 0;
    color: #fff;
    z-index: 2;
}

.box-blog-post h5 {
    font-size: 20px;
    text-transform: uppercase;
}

.box-blog-post .is-divider {
    display: none;
}

.box-blog-post:hover h5 a{
    color: var(--fs-color-primary)!important;
}

.ss_footer .form-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ss_footer .email-field {
    width: 70%;
    background-color: #FFFFFF00;
}

.ss_footer .newsletter-btn {
    width: 30%;
}

.absolute-footer {
    background-color: #fff;
    padding: 0 0 20px 0;
}

.copyright-footer {
    color: #000;
}

.ss_footer .section-title-normal,
.ss_footer .section-title-normal span {
    border: none;
}

.ss_footer .section-title-container {
    margin-bottom: 0;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .video-feedback-item {
        width: 250px;
    }
    
    .marquee-content {
        gap: 15px;
    }
    
    .video-thumbnail {
        height: 250px;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
    }
    
    .play-button i {
        font-size: 20px;
    }
    
    .video-popup-content {
        width: 95%;
        margin: 20px;
    }
    
    .video-popup-iframe iframe {
        height: 250px;
    }
    
    .video-popup-close {
        top: -35px;
        right: 5px;
        font-size: 25px;
        width: 35px;
        height: 35px;
    }

    .ss__padding {
        padding: unset;
    }
}

@media (max-width: 480px) {
    .video-feedback-item {
        width: 200px;
    }
    
    .marquee-content {
        gap: 10px;
    }
    
    .video-thumbnail {
        height: 200px;
    }
}

.ss_sidebar {
    padding: 0!important;
    margin-bottom: 30px;
}

.ss_sidebar .section-title-container,
.ss_sidebar .section-title-normal,
.ss_sidebar .section-title-normal span {
    border: none;
}

.ss_sidebar .section-title-container {
    margin-bottom: 10px;
}

.ss_sidebar .section-title-normal {
    background-color: var(--fs-color-primary);
    color: #fff;
    padding: 5px;
    border-radius: 6px;
}

.ss_sidebar .section-title-normal span {
    margin: 0;
    padding: 0;
}

.ss_sidebar .searchform input.search-field {
 
    min-width: unset;
}

.blog-wrapper .post-sidebar .widget-area{
    border: 1px solid var(--fs-color-primary);
    padding: 10px;
    border-radius: 6px;
}

.related-title {
	background-color: #f5f6f7;
  	padding: 1rem
}
.related-title a {
	color: #333333;
  	font-weight: bold
}

.service_item .permalink {
	display: block;
  	position: absolute;
  	width: 100%;
  	height: 100%;
  	top: 0;
  	left: 0;
  	right: 0;
  	bottom: 0;
  	z-index: 1000
}

/* Resoinsive */
@media only screen and (max-width: 48em) {
    .mobile-nav .icon .icon-menu {
        top: -3px!important;
    font-size: 20px;
    }

    .header .flex-row {
        box-shadow: rgba(17, 17, 26, 0.1) 0px 1px 0px;
    }

    .bs__quote .box-text {
        top: 100px;
        width: 75%;
        max-height: 220px;
        font-size: 14px
    }

    .bs__custom-block-title .left,
    .bs__custom-block-title .right {
        width: 100%;
    }

    .bs__custom-block-title .left {
        padding-right: 0;
    }

    .bs__custom-block-title  h2 {
        font-size: 32px;
    }

    .bg__srow{
        padding: 30px 0!important;
    }

    .mobile-nav .button {
        width: 40px;
        height: 40px;
    }

    .searchform input.search-field {
        min-width: unset;
    }

    .off-canvas .nav-vertical>li>a {
        color: #000;
        font-size: 20px;
    }
    
    .off-canvas .nav-vertical>li.current-menu-item>a {
        color: var(--fs-color-primary);
    }
}
