/* Container */

/* blue #01a0e2 */
/* red #e31e29 */
/* black #1c1b17 */

.navbar-brand img {
    max-width: 200px !important;
}
a.navbar-brand img {
    width: 200px;
}

.logo-w {
    max-width:200px;
}
.header-navbar .navbar .nav-link {
    color: #0a3e59 !important;

}


.header-navbar .navbar .nav-link:hover,
.header-navbar .navbar .nav-link:focus,
.header-navbar .navbar .nav-link.active {
    color: #e31e29 !important;
}

.search-box-tabs {
    background: transparent;
    padding: 10px 12px;
}

.block-title .titleb {
    color: #0a3e59 !important;
}
.block-title .title {

    color: #0a3e59 !important;
}

.text-primary {
    color: #e31e29 !important;
}

.link-hover:hover {
    color: #e31e29 !important;
}
.circle-icon.circle-icon-link:hover {
    background-color: #00070e !important;
}

.fs-14 {
    font-size: .95rem;
}
.hero .hero-page-title2 {
    text-align: center;
    padding-top: 100px;
    padding-bottom: 100px;
}
.accordion-filter .accordion-button {
    font-size: 1rem !important;
}
/* TAB NAV - pills style */
.custom-tabs {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    /* pushes items across width */
    flex-wrap: wrap;
    /* wrap on small screens - no scrollbar */
    list-style: none;
    margin: 0 0 14px 0;
    padding: 0;
}

/* Each tab item expands equally on wider screens */
.tab-item {
    flex: 1 1 auto;
    /* grow, shrink, base */
    min-width: 120px;
    /* prevent collapsing too tight */
    display: flex;
    justify-content: center;
    padding: 0;
}

/* The clickable tab button */
.custom-tabs .nav-link {
    cursor: pointer;
    border: none;
    outline: none;
    display: inline-block;
    width: 100%;
    padding: 10px 20px;
    /* border-radius: 0px; */
    background: #f0f3f5;
    color: #4b4b4b;
    font-weight: 600;
    text-align: center;
    transition: all .18s ease;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04) inset;
}

/* Active tab look */
.custom-tabs .nav-link.active,
.custom-tabs .nav-link[aria-selected="true"] {
    background: #ffffff;
    color: #0a3e59;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.12);
}

/* Hover/Focus for better UX */
.custom-tabs .nav-link:hover,
.custom-tabs .nav-link:focus {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

/* Remove native button styles */
.custom-tabs .nav-link:active {
    transform: translateY(0);
}

/* Tab content panes */
.custom-tab-content .tab-pane {
    display: none;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .22s ease, transform .22s ease;
}

/* Visible pane */
.custom-tab-content .tab-pane.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Input icon groups */
.input-icon-group {
    position: relative;
}

.input-icon-group .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
}

.input-icon-group input,
.input-icon-group select {
    padding-left: 44px !important;
}

/* Green search button style to match screenshot */
.btn-success {
    background: #6ec12a !important;
    border: none !important;
    color: #fff;
    border-radius: 12px;
    font-weight: 700;
    padding: 10px 18px;
}

/* Responsive tweaks */
@media (max-width: 576px) {
    .tab-item {
        min-width: 45%;
    }

    /* two per line on small viewports */
    .custom-tabs {
        gap: 8px;
    }
}

/* ------------------------- */
/* ----- WRAPPER LAYOUT ----- */
.tab1-wrapper {
    display: flex;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

/* ----- LEFT GREEN BOX ----- */
.left-box {
    background: #0a3e59 !important;
    padding: 15px 20px;
    color: #fff;
    width: 35%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    font-size: 16px;
}

.left-box span {
    font-weight: 500;
}

.left-box strong {
    font-weight: 700;
}

/* ----- MIDDLE WHITE BOX ----- */
.middle-box {
    width: 100%;
    padding: 15px;
    background: #fff;
    display: flex;
    align-items: center;
}

.middle-box2 {
    width: 64%;
    padding: 15px;
    background: #fff;
    display: flex;
    align-items: center;
}

.middle-box3 {
    width: 50%;
    padding: 15px;
    background: #fff;
    display: flex;
    align-items: center;
}

/* ----- FLOATING LABEL INPUT ----- */
.floating-group {
    position: relative;
    width: 100%;
}

.floating-group input {
    width: 100%;
    padding: 15px 15px 8px;
    font-size: 16px;
    border: 1px solid #C9C9C9;
    border-radius: 8px;
    outline: none;
    background: #fff;
    transition: border 0.2s;
}

/* Placeholder visible */
.floating-group input::placeholder {
    color: #555;
    opacity: 0.5;
}

/* Placeholder fades slightly on focus */
.floating-group input:focus::placeholder {
    opacity: 0.3;
}

/* Label inside input */
/* .floating-group label {
    position: absolute;
    top: 14px;
    left: 15px;
    font-size: 16px;
    color: #0E8040;
    background: #fff;
    padding: 0 5px;
    pointer-events: none;
    transition: 0.2s ease;
} */
.floating-group label {
    position: absolute;
    top: -8px;
    left: 10px;
    font-size: 12px;
    color: #0E8040;
    background: #fff;
    padding: 0 5px;
    pointer-events: none;
    transition: 0.2s ease;
}

/* Float label on focus or when input has value */
.floating-group input:focus+label,
.floating-group input:not(:placeholder-shown)+label {
    top: -8px;
    left: 10px;
    font-size: 12px;
    color: #0E8040;
}

/* ----- RIGHT RED BOX ----- */
.right-box {
    width: 20%;
    background: #e31e29;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn {
    background: transparent;
    border: none;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
}

/* ----- RESPONSIVE ----- */
@media(max-width: 992px) {
    .left-box {
        font-size: 15px;
        padding: 20px;
    }

    .search-btn {
        font-size: 16px;
    }
}

@media(max-width: 768px) {
    .tab1-wrapper {
        flex-direction: column;
    }

    .left-box,
    .middle-box,
    .middle-box2,
    .middle-box3,
    .right-box {
        width: 100%;
        text-align: center;
    }

    .left-box {
        justify-content: center;
    }

    .middle-box {
        padding: 15px;
    }

    .right-box {
        padding: 15px;
    }
}


/* override------------ */
.header-topbar {
    background-color: #1c1b17 !important;
    height: 40px;
    display: flex;
    align-items: center;
    font-size: 1rem;
}

/* login button */
/* Register Property Button */
.btn-register-property {
    background-color: transparent;
    color: #0a3e59;
    border: 1px solid #0a3e59;
    border-radius: 6px;
    padding: 8px 22px;
    font-weight: 500;
}

.btn-register-property:hover {
    background-color: #0a3e59;
    color: #fff;
    border-color: #0a3e59;
}

/* Login As Host Button */
.btn-login-host {
    background-color: #e31e29;
    color: #fff;
    border-radius: 6px;
    padding: 8px 22px;
    font-weight: 500;
}

.btn-login-host:hover {
    background-color: #b9151f;
    color: #fff;
}

.bg-gray-gradient2 {
    background-color: #f4f5f759 !important;
    /* background: linear-gradient(to bottom, var(--bs-light-gray-rgb) 0%, rgba(var(--bs-light-gray-rgb), .35) 100%) !important; */
}

.info-card.card-hover,
.info-card.active {
    background-color: #0a3e59 !important;
}

.info-card .card-icon {
    margin-bottom: 1rem;
    color: #fff;
    display: inline-flex;
    width: 64px;
    height: 64px;
    background: #e31e29 !important;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.info-card.card-hover .card-icon,
.info-card.active .card-icon {
    background-color: #fff !important;
    color: #e31e29 !important;
}

.info-card .card-link {
    color: #e31e29 !important;
    text-transform: uppercase;
    letter-spacing: .125rem;
    font-size: .875em;
    font-weight: 500;
}

/* .info-card.active .card-link {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .125rem;
    font-size: .875em;
    font-weight: 500;
} */

.info-card.card-hover .card-title,
.info-card.card-hover .card-desc,
.info-card.card-hover .card-link,
.info-card.active .card-title,
.info-card.active .card-desc,
.info-card.active .card-link {
    color: #fff !important;
}

.block-title .sub-title {
    text-transform: uppercase;
    color: #e31e29 !important;
    letter-spacing: .175rem;
    font-weight: 400;
    display: block;
    margin-bottom: .5rem;
}

.btn-primary {
    background-color: #e31e29 !important;
    border-color: #e31e29 !important;
}

.strength-list .strength-icon {
    margin-right: 1rem;
    color: #0a3e59 !important;
}

.header-navbar .navbar .nav-link:hover,
.header-navbar .navbar .nav-link:focus,
.header-navbar .navbar .nav-link.active {
    color: #e31e29;
}

@media (min-width: 1200px) {
    .header-navbar .navbar .nav-link {
        font-size: 1.075rem !important;
        font-weight: 500;
        padding: 1.7rem 0;
        margin-right: 1.5rem;
    }
}

.tour-like {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
}

/* Ribbon Style */
.homestay-ribbon {
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    display: inline-block;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Optional – slight shadow like screenshot */
.homestay-ribbon {
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.tour-grid .tour-item .tour-content .tour-title {
    font-size: 1.15rem !important;
}

.tour-grid .tour-item .tour-content .tour-booking .tour-price strong {
    font-weight: 600;
    font-size: 1.25rem !important;
    margin-right: 0.25rem;
}

@media (min-width: 1200px) {
    .h4, h4 {
        font-size: 1.35rem !important;
    }
}

/* login page/register */

/* Login Background */
/* .login-bg {
    position: relative;
    background: url('../img/background/b6.jpg') center/cover no-repeat;
    z-index: 1;
} */
.login-bg  {
    background-color: var(--bs-light-gray)
#e9ecef
 !important;
    background: linear-gradient(to bottom, var(--bs-light-gray) 0%, rgba(var(--bs-light-gray-rgb), 0.35) 100%) !important;
}
/* Dark Overlay */
/* .login-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65); 
    z-index: -1;
} */

/* Ensure content stays above overlay */
.login-bg .container {
    position: relative;
    z-index: 2;
}
.form-bg-opacity {
    opacity: .92;
}

/* ----- */
.form-wrapper-bg {
    background: #f7f7f7;
    border-radius: 10px;
}
.registration-left-bg {
    position: relative;
    background: url('../img/background/b6.jpg') center center / cover no-repeat;
    min-height: 100%;
    overflow: hidden;
    border-top-left-radius:10px;
    border-bottom-left-radius:10px;
}

/* Overlay */
.registration-left-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.65),
        rgba(0, 0, 0, 0.35)
    );
    z-index: 1;
}
.registration-left-bg::before {
    backdrop-filter: blur(1px);
}

.registration-left-bg1 {
    position: relative;
    background: url('../img/background/b4.jpg') center center / cover no-repeat;
    min-height: 100%;
    overflow: hidden;
    border-top-left-radius:10px;
    border-bottom-left-radius:10px;
}

/* Overlay */
.registration-left-bg1::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.65),
        rgba(0, 0, 0, 0.35)
    );
    z-index: 1;
}
.registration-left-bg1::before {
    backdrop-filter: blur(1px);
}


.registration-left-bg2 {
    position: relative;
    background: url('../img/background/login-bg2.jpg') center center / cover no-repeat;
    min-height: 100%;
    overflow: hidden;
    border-top-left-radius:10px;
    border-bottom-left-radius:10px;
}

/* Overlay */
.registration-left-bg2::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.65),
        rgba(0, 0, 0, 0.35)
    );
    z-index: 1;
}
.registration-left-bg2::before {
    backdrop-filter: blur(1px);
}
.registration-left-bg3 {
    position: relative;
    background: url('../img/background/login-bg3.jpg') center center / cover no-repeat;
    min-height: 100%;
    overflow: hidden;
    border-top-left-radius:10px;
    border-bottom-left-radius:10px;
}

/* Overlay */
.registration-left-bg3::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.65),
        rgba(0, 0, 0, 0.35)
    );
    z-index: 1;
}
.registration-left-bg3::before {
    backdrop-filter: blur(1px);
}
/* Content above overlay */
.registration-left-content {
    position: relative;
    z-index: 2;
    /* padding: 50px; */
}

.registration-left-content h2 {
    font-size: 32px;
    font-weight: 700;
}

.registration-left-content p {
    font-size: 16px;
    opacity: 0.9;
    position: relative;
}

   /* UIC Popup Styles */
   .popup-overlay {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-color: rgba(0, 0, 0, 0.8);
   display: flex;
   justify-content: center;
   align-items: center;
   z-index: 9999;
   opacity: 0;
   visibility: hidden;
   transition: all 0.4s ease;
   }
   .popup-overlay.active {
   opacity: 1;
   visibility: visible;
   }
   .popup-container {
   width: 100%;
   max-width: 500px;
   margin: 20px;
   }
   .popup-content {
   background-color: white;
   border-radius: 12px;
   overflow: hidden;
   box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
   transform: translateY(30px) scale(0.95);
   transition: transform 0.4s ease;
   }
   .popup-overlay.active .popup-content {
   transform: translateY(0) scale(1);
   }
   .popup-header {
   padding: 40px 30px 20px;
   background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
   }
   .popup-body {
   padding: 20px 30px 40px;
   }
   .icon-container {
   width: 80px;
   height: 80px;
   background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   margin: 0 auto 20px;
   color: white;
   }
   /* Registration form blur when popup is active */
   .popup-open .login-bg {
   filter: blur(5px);
   pointer-events: none;
   user-select: none;
   }
   .popup-open .registration-card {
   opacity: 0.7;
   transform: scale(0.98);
   transition: all 0.4s ease;
   }
   /* Button enhancements */
   .btn-lg {
   padding: 15px 30px;
   font-weight: 600;
   }
   .d-grid.gap-3 {
   gap: 20px !important;
   }
   /* Form styling */
   .form-control:focus {
   box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
   border-color: #86b7fe;
   }
   /* Responsive */
   @media (max-width: 768px) {
   .popup-container {
   max-width: 90%;
   margin: 10px;
   }
   .popup-header {
   padding: 30px 20px 15px;
   }
   .popup-body {
   padding: 15px 20px 30px;
   }
   .btn-lg {
   padding: 12px 20px;
   }
   }
   .icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    width: 80px;          /* adjust as needed */
    height: auto;
    max-width: 100%;
    object-fit: contain;
}
/* end login page/register */