/* Smooth scroll for anchor links */
html {
    scroll-behavior: smooth;
}

@media screen and (max-width: 1699px) {
    .header {
        padding: 2px 20px !important;
    }
}

.section-subtitle {
    color: #212529 !important;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: hsla(0, 0%, 100%, 0.1);
    /* transparent white */
    backdrop-filter: blur(2px);
    /* blur background */
    -webkit-backdrop-filter: blur(12px);
    /* Safari support */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid white;
}

header a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

header a:hover {
    color: #00bcd4;
}

@media screen and (min-width: 2560px) {
    .header {
        padding: 10px 200px !important;
        /* your new padding style */
    }
}

.header {
    padding: 0px 70px !important;
}

.breadcrumb-title {
    color: #ffffff !important;
}

/* Preloader Responsive Styles */
/* Force preloader to cover viewport on all pages */
.loading-screen {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: #ffffff !important;
    z-index: 2147483647 !important;
    /* max overlay */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Lock scroll while preloader is active */
html.preloader-lock,
body.preloader-lock {
    overflow: hidden !important;
    height: 100% !important;
}

@media screen and (max-width: 768px) {
    .animation-preloader .spinner {
        width: 80px !important;
        height: 80px !important;
    }

    .animation-preloader .spinner img {
        max-width: 80px !important;
        max-height: 80px !important;
    }

    .animation-preloader .txt-loading {
        font-size: 2rem !important;
        letter-spacing: 3px !important;
    }

    .animation-preloader .txt-loading .letters-loading {
        font-size: 2rem !important;
    }
}

@media screen and (max-width: 480px) {
    .animation-preloader .spinner {
        width: 60px !important;
        height: 60px !important;
        margin-bottom: 20px !important;
    }

    .animation-preloader .spinner img {
        max-width: 60px !important;
        max-height: 60px !important;
    }

    .animation-preloader .txt-loading {
        font-size: 1.5rem !important;
        letter-spacing: 2px !important;
    }

    .animation-preloader .txt-loading .letters-loading {
        font-size: 1.5rem !important;
        padding: 0 2px !important;
    }

    .loading-screen {
        padding: 20px !important;
    }
}

@media screen and (max-width: 360px) {
    .animation-preloader .spinner {
        width: 50px !important;
        height: 50px !important;
    }

    .animation-preloader .spinner img {
        max-width: 50px !important;
        max-height: 50px !important;
    }

    .animation-preloader .txt-loading {
        font-size: 1.2rem !important;
        letter-spacing: 1px !important;
    }

    .animation-preloader .txt-loading .letters-loading {
        font-size: 1.2rem !important;
    }

    .imgslide {
        max-width: 50%;
        height: auto;
    }
}

@media screen and (max-width: 425px) {
    .logo {
        margin-left: -90px;
    }

    .slide-itemphone {
        padding: 60px 20px;
    }

    .section-subtitle2 {
        font-size: 48px !important;
        margin-bottom: 1.5rem !important;
    }

    .phone-width {
        max-width: 100px !important;
    }

    .imgslide {
        max-width: 50%;
        height: auto;
    }


}

@media screen and (max-width: 575px) {
    .banner-two-area {
        padding-block-end: 332px !important;
    }

    .banner-two-title span {
        font-size: 52px;
        margin-top: 39px;
    }

    .banner-two-title span {
        background: hsl(0deg 0% 100% / 21%) !important;
    }

    .imgslide {
        max-width: 50%;
        height: auto;
    }
}

/* tablet*/
@media (min-width: 577px) and (max-width: 992px) {

    .logo {
        margin-left: -90px;
    }

    .banner-two-title {
        font-size: 96px;
        line-height: 1.2;
    }

    .banner-two-area h6 {
        font-size: 18px;
    }

    .banner-two-button a {
        font-size: 14px;
        padding: 10px 24px;
    }

    .slide-itemphone {
        padding: 0 20px;
    }

    .banner-two-title span {
        background: hsl(0deg 0% 100% / 21%) !important;
    }

    .margin-top-tablet {
        margin-top: 166px !important;
    }

}

@media screen and (max-width: 1199px) {
    .testimonial-two-right {
        padding-inline-start: 51px !important;
    }

    .banner-two-title {
        font-size: 110px !important;
        line-height: 1.1 !important;
    }

    .banner-two-title span {
        font-size: 75px !important;
    }

    .banner-two-area h6 {
        font-size: 20px !important;
        margin-bottom: 20px !important;
    }
}

/* Footer Mobile Responsive - Center Content */
@media screen and (max-width: 767px) {

    .footer .footer-col-one,
    .footer .footer-col-three {
        text-align: center !important;
    }

    .footer .footer-col-one h4,
    .footer .footer-col-three h4 {
        text-align: center !important;
    }

    .footer .footer-col-one .d-flex,
    .footer .footer-col-three ul {
        align-items: center !important;
        justify-content: center !important;
        margin-top: 26px;
    }

    .footer .footer-right {
        justify-content: center !important;
    }

    .footer .row {
        justify-content: center !important;
    }

    .footer .footer-col-one a,
    .footer .footer-col-three li a {
        display: block !important;
        text-align: center !important;
    }
}

.banner-two-title span {
    background: hsl(0deg 0% 100% / 21%) !important;
}

/* Logo Preloader */
.logo-spinner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.preloader-logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 20px;
}

.preloader-text {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    text-align: center;
    letter-spacing: 1px;
    /* overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid #333;
    width: 0;
    animation: typing 3s steps(30, end) forwards, blink-caret 0.75s step-end infinite; */
}

@media screen and (max-width: 1499px) {
    .footer-right {
        margin-left: 226px !important;
    }
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: #333;
    }
}

/* Spinner Border Container */
.spinner-border-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

/* Spinning Border */
.spinner-border {
    position: absolute;
    width: 180px;
    height: 180px;
    border: 4px solid rgba(51, 51, 51, 0.1);
    border-top: 4px solid #182f4f;
    border-right: 4px solid #fcd887;
    border-bottom: 4px solid #182f4f;
    border-left: 4px solid #fcd887;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.3);
}




/* Spin Animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Logo positioning inside spinner */
.spinner-border-container .preloader-logo {
    position: relative;
    z-index: 2;
    margin-bottom: 0;
}

/* Preloader Fade Up Animation */
.loading-screen.fade-up {
    animation: fadeUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes fadeUp {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    50% {
        opacity: 0.7;
        transform: translateY(-25px) scale(1.02);
    }

    100% {
        opacity: 0;
        transform: translateY(-60px) scale(0.95);
    }
}

/* Preloader elements fade up animation */
.loading-screen.fade-up .animation-preloader {
    animation: fadeUpElements 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes fadeUpElements {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    30% {
        opacity: 0.8;
        transform: translateY(-10px) scale(1.05);
    }

    100% {
        opacity: 0;
        transform: translateY(-40px) scale(0.85);
    }
}

/* Spinner fade out animation */
.loading-screen.fade-up .spinner-border {
    animation: spinnerFadeOut 0.5s ease-out forwards;
}

@keyframes spinnerFadeOut {
    0% {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }

    100% {
        opacity: 0;
        transform: rotate(180deg) scale(0.8);
    }
}

/* Bars fade up animation */
.loading-screen.fade-up .bar {
    animation: barsFadeUp 0.6s ease-out forwards;
}

@keyframes barsFadeUp {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-30px);
    }
}

/* Mobile responsive preloader logo */
@media screen and (max-width: 768px) {
    .preloader-logo {
        max-width: 100px !important;
        margin-bottom: 15px;
    }

    .preloader-text {
        font-size: 18px !important;
        border-right-width: 2px !important;
    }

    .spinner-border {
        width: 130px !important;
        height: 130px !important;
        border-width: 3px !important;
    }
}

@media screen and (max-width: 480px) {
    .preloader-logo {
        max-width: 80px !important;
        margin-bottom: 10px;
    }

    .preloader-text {
        font-size: 14px !important;
        letter-spacing: 0.5px;
        border-right-width: 2px !important;
    }

    .spinner-border {
        width: 110px !important;
        height: 110px !important;
        border-width: 2px !important;
    }
}

@media screen and (max-width: 360px) {
    .spinner-border {
        width: 80px !important;
        height: 80px !important;
        border-width: 2px !important;
    }
}

/* Gallery Tabs Styles */
.gallery-tabs {
    margin-bottom: 3rem;
}

.gallery-tab-btn {
    background: transparent;
    border: 2px solid #182f4f;
    color: #182f4f;
    padding: 12px 24px;
    margin: 0 8px 8px 0;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.gallery-tab-btn:hover {
    background: #182f4f;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 47, 79, 0.3);
}

.gallery-tab-btn.active {
    background: #182f4f;
    color: white;
    box-shadow: 0 4px 12px rgba(24, 47, 79, 0.4);
}

.gallery-tab-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(24, 47, 79, 0.2);
}

/* Gallery Item Animation */
.gallery-item {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 1;
    transform: scale(1);
}

.gallery-item.hidden {
    opacity: 0 !important;
    transform: scale(0.8) !important;
    pointer-events: none;
    display: none !important;
}

.gallery-item.show {
    opacity: 1 !important;
    transform: scale(1) !important;
    pointer-events: auto;
    display: block !important;
}

/* Gallery container for smooth transitions */
.gallery-grid {
    min-height: 400px;
    transition: all 0.3s ease;
}

/* Professional Gallery Styles */
.gallery-card {
    position: relative;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    /* subtle neutral border */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.gallery-category {
    padding: 8px 12px;
    text-align: center;
    background: rgba(24, 47, 79, 0.05);
}

/* Responsive Gallery Tabs */
@media screen and (max-width: 768px) {
    .gallery-tab-btn {
        padding: 10px 18px;
        font-size: 12px;
        margin: 0 4px 8px 0;
    }

    .gallery-tabs {
        margin-bottom: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .gallery-tab-btn {
        padding: 8px 16px;
        font-size: 11px;
        margin: 0 2px 6px 0;
        border-radius: 20px;
    }

    .gallery-tabs {
        margin-bottom: 1.5rem;
    }
}

.gallery-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    cursor: pointer;
    background: #f8fafc;
    /* subtle light bg behind images */
    border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-image-wrapper:hover .gallery-image {
    transform: none !important;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-image-wrapper:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    font-size: 48px;
    color: #fff;
    transition: transform 0.3s ease;
}

.gallery-image-wrapper:hover .gallery-icon {
    transform: scale(1.2);
}

.gallery-title {
    padding: 15px;
    text-align: center;
}

.gallery-title p {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* Lightbox Styles */
.gallery-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    padding: 20px;
}

.gallery-lightbox.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.lightbox-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 85%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@keyframes zoomIn {
    from {
        transform: translate(-50%, -50%) scale(0.8);
    }

    to {
        transform: translate(-50%, -50%) scale(1);
    }
}

#lightboxImage {
    max-width: 66%;
    max-height: calc(85vh - 100px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    display: block;
    margin-top: 27px;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
    line-height: 1;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    color: #ff5555;
    background: rgba(0, 0, 0, 0.8);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 40px;
    width: 60px;
    height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
    z-index: 10001;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.15);
}

.lightbox-nav i {
    font-size: 32px;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-caption {
    text-align: center;
    color: #fff;
    font-size: 16px;
    margin-top: 12px;
    font-weight: 500;
    max-width: 100%;
    padding: 0 20px;
}

.lightbox-counter {
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 20px;
    border-radius: 25px;
    z-index: 10001;
    backdrop-filter: blur(10px);
}

/* Mobile Responsive Gallery */
@media screen and (max-width: 768px) {
    .gallery-image-wrapper {
        height: 200px;
    }

    .gallery-icon {
        font-size: 36px;
    }

    #lightboxImage {
        max-height: calc(75vh - 80px);
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
        font-size: 35px;
        width: 45px;
        height: 45px;
    }

    .lightbox-nav {
        width: 50px;
        height: 50px;
    }

    .lightbox-nav i {
        font-size: 24px;
    }

    .lightbox-prev {
        left: 15px;
    }

    .lightbox-next {
        right: 15px;
    }

    .lightbox-counter {
        bottom: 12px;
        font-size: 13px;
        padding: 6px 16px;
    }

    .lightbox-caption {
        font-size: 14px;
        margin-top: 10px;
    }

    .lightbox-content {
        max-width: 90%;
        max-height: 80vh;
    }
}

@media screen and (max-width: 480px) {
    .gallery-image-wrapper {
        height: 150px;
    }

    .gallery-title p {
        font-size: 12px;
    }

    .lightbox-content {
        max-width: 95%;
        max-height: 85vh;
    }

    #lightboxImage {
        max-height: calc(70vh - 60px);
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 30px;
        width: 40px;
        height: 40px;
    }

    .lightbox-nav {
        width: 45px;
        height: 45px;
    }

    .lightbox-nav i {
        font-size: 20px;
    }

    .lightbox-prev {
        left: 8px;
    }

    .lightbox-next {
        right: 8px;
    }

    .lightbox-counter {
        bottom: 8px;
        font-size: 12px;
        padding: 5px 12px;
    }

    .lightbox-caption {
        font-size: 13px;
        margin-top: 8px;
    }
}

/* Add your custom styles here */

.lightbox {
    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: 1000;
}

.lightbox-content {
    position: relative;
    text-align: center;
}

#lightbox-image {
    max-width: 80vw;
    max-height: 80vh;
    border-radius: 5px;
}

#lightbox-title {
    color: white;
    margin-top: 10px;
    font-size: 1.2em;
}

.close-button {
    position: fixed;
    top: 20px;
    right: 30px;
    font-size: 3em;
    color: white;
    cursor: pointer;
    z-index: 2004;
    background: rgba(0, 0, 0, 0.5);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.3s ease;
}

.close-button:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: rotate(90deg);
}

.prev-button,
.next-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2em;
    color: white;
    background-color: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.prev-button {
    left: 20px;
}

.next-button {
    right: 20px;
}

/* Fix lightbox centering and sizing */
.lightbox {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
}

/* Override earlier absolute centering */
.lightbox .lightbox-content {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    max-width: 90vw !important;
    max-height: calc(100vh - 160px) !important;
    /* leave room for thumbs + toolbar */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 90px;
    /* keep space above toolbar */
}

#lightbox-image {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain;
    display: block;
}

.prev-button,
.next-button {
    z-index: 2003;
}

/* Keep nav arrows fixed and vertically centered in viewport */
.lightbox .prev-button,
.lightbox .next-button {
    position: fixed !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 67px;
    height: 72px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox .prev-button:hover,
.lightbox .next-button:hover {
    background: rgba(0, 0, 0, 0.55);
}

/* Lock body scroll while lightbox is open */
body.lb-open {
    overflow: hidden;
}

.lightbox-toolbar {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    padding: 8px 10px;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 8px;
    z-index: 2002;
    backdrop-filter: blur(6px);
}

.lb-btn {
    appearance: none;
    border: none;
    outline: none;
    width: 38px;
    height: 38px;
    border-radius: 6px;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.15s ease;
}

.lb-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lb-btn:active {
    transform: scale(0.96);
}

.lightbox-thumbs {
    position: fixed;
    left: 50%;
    bottom: 76px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 90vw;
    overflow: hidden;
    /* only 5 items rendered via JS */
    padding: 6px 8px;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 8px;
    z-index: 2002;
    scrollbar-width: thin;
}

@media (max-width: 575px) {
    .lightbox .lightbox-content {
        max-height: calc(100vh - 140px) !important;
        margin-bottom: 76px;
    }

    .lightbox-thumbs {
        bottom: 70px;
    }

    .lb-thumb img {
        width: 46px;
        height: 46px;
    }

    .lightbox-toolbar {
        bottom: 14px;
    }

    /* Ensure close button is visible on mobile */
    .close-button {
        position: fixed !important;
        top: 10px !important;
        right: 10px !important;
        width: 50px !important;
        height: 50px !important;
        font-size: 2.5em !important;
        z-index: 2004 !important;
        background: rgba(0, 0, 0, 0.7) !important;
        display: flex !important;
        border-radius: 50% !important;
        transform: unset !important;
        opacity: 15 !important;
    }
}

/* Extra small phones */
@media (max-width: 400px) {
    .lb-btn {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .lightbox-toolbar {
        gap: 8px;
        padding: 6px 8px;
    }

    .lb-thumb img {
        width: 38px;
        height: 38px;
    }

    .lightbox .lightbox-content {
        max-width: 95vw !important;
    }

    /* Ensure close button is visible on very small phones */
    .close-button {
        position: fixed !important;
        top: 8px !important;
        right: 8px !important;
        width: 45px !important;
        height: 45px !important;
        font-size: 2.2em !important;
        z-index: 2004 !important;
        background: rgba(0, 0, 0, 0.7) !important;
        display: flex !important;
        border-radius: 50% !important;
    }
}

/* Tablets - iPad, etc. */
@media (min-width: 576px) and (max-width: 1024px) {
    .close-button {
        position: fixed !important;
        top: 15px !important;
        right: 20px !important;
        width: 55px !important;
        height: 55px !important;
        font-size: 2.8em !important;
        z-index: 2004 !important;
        background: rgba(0, 0, 0, 0.6) !important;
        display: flex !important;
        border-radius: 50% !important;
    }
}

/* Very short viewports (landscape phones) */
@media (max-height: 480px) {
    .lightbox .lightbox-content {
        max-height: calc(100vh - 120px) !important;
        margin-bottom: 64px;
    }

    .lightbox-thumbs {
        bottom: 62px;
    }

    .lightbox-toolbar {
        bottom: 8px;
    }
}

.lightbox-thumbs::-webkit-scrollbar {
    height: 6px;
}

.lightbox-thumbs::-webkit-scrollbar-track {
    background: transparent;
}

.lightbox-thumbs::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 10px;
}

.lb-thumb {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    border-radius: 6px;
    flex: 0 0 auto;
}

.lb-thumb img {
    width: auto !important;
    height: 60px !important;
    object-fit: cover;
    border-radius: 6px;
    opacity: 0.85;
    transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    aspect-ratio: auto;
}


.lb-thumb:hover img {
    opacity: 0.95;
    transform: translateY(-2px);
}

.lb-thumb.active img {
    opacity: 1;
    box-shadow: 0 0 0 2px #ffffff, 0 4px 16px rgba(0, 0, 0, 0.35);
}

.instagram-wrapper a:hover {
    color: none !important;
}

/* Disable hover swap on client/brand logos */
.brand-wrapper {
    cursor: default !important;
}

.brand-wrapper:hover .brand-active-media {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    transition: none !important;
}

.brand-wrapper:hover .brand-hover-media {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(30%) !important;
    transition: none !important;
}

/* Ensure default state shows active and hides hover */
.brand-active-media {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.brand-hover-media {
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Restrict about title yellow highlight to only Kirat Society */
.about-three-title span::before {
    display: none !important;
}

.about-three-title .highlight {
    position: relative;
    z-index: 0;
}

.about-three-title .highlight::after {
    content: "";
    position: absolute;
    left: -4px;
    right: -4px;
    height: 0.6em;
    bottom: 0.08em;
    /* background: #FFA800;  */
    border-radius: 6px;
    z-index: -1;
}

.testimonial-two-paragraph {
    display: -webkit-box;
    line-clamp: 2;
    /* standard */
    -webkit-line-clamp: 2;
    /* lines to show */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonial-two-paragraph.expanded {
    line-clamp: unset;
    /* standard */
    -webkit-line-clamp: unset;
    display: block;
    overflow: visible;
}

/* .banner-two-bg {
    height: 100vh !important;
} */

/* .home-about-spacing {
    margin-top: 80px;
} */

@media (max-width: 2500px) {
    .banner-two-bg {
        height: 910px;
    }
}

@media (max-width: 1700px) {
    .banner-two-bg {
        height: 870px;
    }
}

@media (max-width: 1400px) {
    .banner-two-bg {
        height: 740px;
    }
}

@media (min-width: 1700px) {
    .home-about-spacing {
        margin-top: 270px;
    }

    /* .banner-two-bg {
        height: 728px;
    } */
}

/* Extra large devices (desktops, 1400px and up) */
@media (max-width: 1400px) {
    .home-about-spacing {
        margin-top: 45px;
    }

    /* .banner-two-bg {
        height: 728px;
    } */
}

/* Large devices ( laptops / desktops 1200px - 1399px ) */
@media (max-width: 1200px) {
    .home-about-spacing {
        margin-top: 40px;
    }
}


/* Medium devices (tablets 992px - 1199px) */
@media (max-width: 992px) {
    .home-about-spacing {
        margin-top: 172px;
    }
}

/* Small devices (landscape phones, 768px - 991px) */
@media (max-width: 768px) {
    .home-about-spacing {
        margin-top: 60px;
    }
}

/* Extra small devices (portrait phones, 576px - 767px) */
@media (max-width: 576px) {
    .home-about-spacing {
        margin-top: 25px;
    }
}

/* Super small devices (less than 480px) */
@media (max-width: 480px) {
    .home-about-spacing {
        margin-top: -115px;
    }

    /* .banner-two-title {
        font-size: 50px !important;
    }

    .banner-two-title span {
        font-size: 38px !important;
    } */
}

/* Ultra small devices (less than 360px) */
@media (max-width: 360px) {
    .home-about-spacing {
        margin-top: -212px;
    }
}

.left-margin {
    margin-left: 0;
}

@media (min-width: 576px) {
    .left-margin {
        margin-left: 20px;
    }
}

@media (max-width: 575.98px) {
    .destination-details-list ul {
        padding-left: 1.25rem;
        list-style-position: inside;
    }
}

@media (min-width: 992px) {
    .about-area {
        margin-top: -2px;
    }
}

.instagram-wrapper:hover .instagram-thumb::before {
    opacity: 1;
    visibility: visible;
}

.instagram-thumb::before {
    background: none !important;
}

@media screen and (max-width: 1399px) {
    .banner-two-title {
        font-size: 83px !important;
    }

    .heswsdwdsw {
        font-size: 15px !important;
    }

    .banner-two-button {
        margin-bottom: 20px;
    }

    .banner-two-title span {
        font-size: 58px !important;
    }
}