/* Styles from header.php */
/* Custom Tailwind-like classes */
.tw-w-300-px {
    width: 300px;
}

.tw-h-screen {
    height: 100vh;
}

.tw-p-6 {
    padding: 1.5rem;
}

.tw-z-999 {
    z-index: 999;
}

.tw--translate-x-full {
    transform: translateX(-100%);
}

.tw-pb-68 {
    padding-bottom: 4.25rem;
}

.tw-end-0 {
    right: 0;
}

.tw-me-2 {
    margin-right: 0.5rem;
}

.tw-mt-2 {
    margin-top: 0.5rem;
}

.tw-w-605 {
    width: 3.78rem;
}

.tw-h-605 {
    height: 3.78rem;
}

.tw-mt-8 {
    margin-top: 2rem;
}

.tw-px-12 {
    padding-left: 3rem;
    padding-right: 3rem;
}

.tw-rounded-4xl {
    border-radius: 2rem;
}

.tw-pe-5 {
    padding-right: 1.25rem;
}

.tw-py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.tw-py-5 {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.tw-px-10 {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

.tw-gap-6 {
    gap: 1.5rem;
}

.tw-gap-29 {
    gap: 7.25rem;
}

.tw-gap-2 {
    gap: 0.5rem;
}

.tw-text-9 {
    font-size: 2.25rem;
}

.max-w-200-px {
    max-width: 200px;
}

.text-main-600 {
    color: #09aed9;
}

.bg-main-600 {
    background-color: #09aed9;
}

.text-neutral-900 {
    color: #171717;
}

.bg-neutral-200 {
    background-color: #e5e5e5;
}

.text-neutral-800 {
    color: #262626;
}

.hover-bg-neutral-900:hover {
    background-color: #171717;
}

.hover-text-white:hover {
    color: white;
}

.font-dmsans {
    font-family: 'DM Sans', sans-serif;
}

.font-heading {
    font-family: 'Heading Font', sans-serif;
}

.fs-15 {
    font-size: 0.9375rem;
}

.primary-btn {
    transition: all 0.3s ease;
}

.primary-btn:hover {
    transform: translateY(-2px);
}

a {
    text-decoration: none !important;
}

/* Mega Menu Styles */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    padding: 1.5rem;
    min-width: 800px;
    max-width: 1000px;
    width: 90vw;
    max-height: 70vh;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid #e5e7eb;
}

.mega-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.mega-menu-column {
    display: flex;
    flex-direction: column;
}

.mega-menu-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #09aed9;
    margin-bottom: 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid #09aed9;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.mega-menu-section {
    margin-bottom: 1rem;
}

.mega-menu-section-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.mega-menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-links li {
    margin-bottom: 0.3rem;
}

.mega-menu-links a {
    display: block;
    padding: 0.4rem 0;
    color: #6b7280;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 0.25rem;
    position: relative;
}

.mega-menu-links a:hover {
    color: #09aed9;
    padding-left: 0.75rem;
    background-color: #f8fafc;
}

.mega-menu-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background-color: #09aed9;
    transition: width 0.3s ease;
}

.mega-menu-links a:hover::before {
    width: 4px;
}

/* Hover trigger for mega menu */
.nav-menu__item.has-mega-menu:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-menu__item.has-mega-menu .nav-menu__link::after {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
    display: inline-block;
    vertical-align: middle;
}

.nav-menu__item.has-mega-menu:hover .nav-menu__link::after {
    transform: rotate(180deg);
}

/* Responsive Mega Menu */
@media (max-width: 1200px) {
    .mega-menu {
        min-width: 700px;
        max-width: 90vw;
        padding: 1.25rem;
    }

    .mega-menu-content {
        gap: 1.25rem;
    }
}

@media (max-width: 992px) {
    .mega-menu {
        min-width: 600px;
        max-width: 95vw;
        padding: 1rem;
        max-height: 60vh;
    }

    .mega-menu-content {
        gap: 1rem;
    }

    .mega-menu-title {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }

    .mega-menu-section {
        margin-bottom: 0.8rem;
    }
}

@media (max-width: 768px) {
    .mega-menu {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 95vw;
        max-width: 500px;
        max-height: 80vh;
        border-radius: 0.5rem;
    }

    .mega-menu-content {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .mega-menu-column {
        border-bottom: 1px solid #e5e7eb;
        padding-bottom: 0.8rem;
    }

    .mega-menu-column:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .mega-menu-close {
        display: block;
    }
}

.mega-menu-close {
    display: none;
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: #f3f4f6;
    border: none;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.3s ease;
}

.mega-menu-close:hover {
    background: #e5e7eb;
    color: #374151;
}

/* Mobile dropdown styles */
/* Mobile dropdown styles */
.mobile-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #f8fafc;
    border-radius: 0.5rem;
    margin-top: 0.5rem;
}

/* When dropdown is open */
.mobile-dropdown.show {
    max-height: 70vh;
    /* allows taller content */
    overflow-y: auto;
    /* enable scrolling */
    -webkit-overflow-scrolling: touch;
    /* smooth scrolling on iOS */
}

/* Scrollbar styling (optional) */
.mobile-dropdown::-webkit-scrollbar {
    width: 6px;
}

.mobile-dropdown::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

/* Inner items */
.mobile-dropdown .dropdown-item {
    display: block;
    padding: 0.5rem 1.5rem;
    color: #09aed9;
    text-decoration: none;
    font-size: 0.9rem;
}

.mobile-dropdown .dropdown-item:hover {
    background-color: #e2e8f0;
}

.mobile-dropdown-section {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.mobile-dropdown-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.mobile-dropdown-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #09aed9;
    margin-bottom: 0.5rem;
    padding: 0.5rem 1.5rem;
    background-color: #f8fafc;
    border-radius: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}


.mobile-toggle-icon {
    transition: transform 0.3s ease;
}

.mobile-toggle-icon.rotated {
    transform: rotate(180deg);
}

.nav-menu__item.activePage>a {
    text-decoration: none !important;
}

.nav-menu .text-main-600 {
    color: #ffffff;
}

a:hover {
    color: #2196F3 !important;
}

.header-menu {
    margin-inline-start: 0px;
}

/* Glassmorphism background for header-two */
.header.glass-effect {
    background: rgba(0, 0, 0, 0.2);
    /* subtle transparency */
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
}

.header-button .primary-btn {
    background: #09aed9bd !important;
    color: #ffffff !important;
}


.nav-menu__item.activePage>a {
    text-decoration: none !important;
}

.nav-menu .text-main-600 {
    color: #ffffff;
}

a:hover {
    color: #2196F3 !important;
}

.header-menu {
    margin-inline-start: 0px;
}

/* Glassmorphism background for header-two */
.header.glass-effect {
    background: rgba(0, 0, 0, 0.2);
    /* subtle transparency */
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
}

.header-button .primary-btn {
    background: #09aed9bd !important;
    color: #ffffff !important;
}

.progress-wrap {
    mix-blend-mode: normal !important;
}

/* Styles from index.php */
.float-button {
    position: fixed;
    right: 35px;
    bottom: 100px;
    width: 50px;
    height: 50px;
    background-color: #25D366;
    color: #fff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    text-align: center;
    cursor: pointer;
    z-index: 106;
    transition: all 0.4s ease-out;
}

/* Slider Styles */
.slider-container {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;

}

.slide.active {
    opacity: 1;
}

.slide-1 {
    background: url('../images/banner/home-banner.webp');
    background-repeat: no-repeat;
    background-size: cover;
}

.slide-2 {
    background: url('../images/banner/home-banner-2.webp');
    background-repeat: no-repeat;
    background-size: cover;
}

.slide-3 {
    background: url('../images/banner/home-banner-3.webp');
    background-repeat: no-repeat;
    background-size: cover;
}

.slide-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
    z-index: 999;
}

.slide-tagline {
    font-size: 18px;
    margin-bottom: 20px;
    opacity: 0.9;
    color: white;
}

.slide-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 30px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    /* color: #2196F3; */
    font-weight: 600;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #2196F3;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
    z-index: 99999 !important;
}

.cta-button:hover {
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

/* Navigation Arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.slider-nav:hover {
    background: rgba(33, 150, 243, 0.8);
}

.prev {
    left: 30px;
    /* position: relative; */
    z-index: 99999;
}

.next {
    right: 30px;
    /* position: relative; */
    z-index: 99999;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: #2196F3;
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    nav ul {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .slide-title {
        font-size: 32px;
    }

    .slide-subtitle {
        font-size: 20px;
    }

    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .prev {
        left: 15px;
    }

    .next {
        right: 15px;
    }
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.project-two-thumb img {
    width: 200px;
    /* increase width */
    height: auto;
    /* keep proportions */
}

/* Overlay background */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    /* hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Popup Box */
.popup-box {
    background: #fff;
    width: 400px;
    padding: 25px;
    border-radius: 10px;
    position: relative;
    animation: popupFade 0.3s ease;
}

/* Close Button */
.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #333;
}

.popup-box h3 {
    margin-bottom: 15px;
    font-size: 22px;
}

.popup-box input,
.popup-box textarea {
    width: 100%;
    padding: 10px;
    margin: 6px 0 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.popup-box button {
    width: 100%;
    padding: 10px;
    background: #007BFF;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.popup-box button:hover {
    background: #0056b3;
}

/* Fade animation */
@keyframes popupFade {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}


.sliding-cards {
    background-color: #50c5e6
}

.feature-area {
    background: #f8fafc;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
}

.section-paragraph {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.feature-wrapper {
    transition: all 0.3s ease;
}

.feature-wrapper:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    position: relative;
}

/* Quote icon styling */
.testimonial-content::before {
    content: '\f10d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: -10px;
    left: -5px;
    font-size: 2rem;
    color: var(--main-600);
    opacity: 0.1;
    z-index: 0;
}

/* Avatar styling */
.client-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    font-size: 1.125rem;
    flex-shrink: 0;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Star rating */
.stars {
    color: #fbbf24;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

/* Enhanced testimonial text */
.testimonial-text {
    position: relative;
    z-index: 1;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Client info styling */
.client-info {
    border-top: 1px solid #f1f5f9;
    padding-top: 1rem;
    margin-top: 1rem;
}

.client-role {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin: 0;
    font-weight: 500;
}

/* Enhanced button */
.bg-main-600 {
    background-color: var(--main-600) !important;
    transition: all 0.3s ease;
}

.primary-btn:hover {
    background-color: #1d4ed8 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

/* Swiper customization */
.swiper-container {
    padding: 20px 0;
}

.swiper-slide {
    height: auto;
    display: flex;
}

.feature-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-wrapper>div {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.testimonial-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Background animation */
.feature-bg-shape {
    opacity: 0.3;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

#paper-plane {
    animation: float 6s ease-in-out infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .py-140 {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .section-title {
        font-size: 2rem;
    }

    .tw-p-6 {
        padding: 1.25rem;
    }
}

/* Custom scrollbar for better UX */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--main-600);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1d4ed8;
}

.ezy__service14-title {
    text-align: center;
}

/* ================================================================
   MOBILE RESPONSIVE FIXES — Banner & MICE Services
   ================================================================ */

/* ---------- Banner Slider ---------- */
@media (max-width: 991px) {
    .slider-container {
        height: 70vh;
        min-height: 380px;
    }
}

@media (max-width: 575px) {
    .slider-container {
        height: 60vh;
        min-height: 320px;
    }

    .slide-content {
        padding: 0 16px;
    }

    .slide-tagline {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .slide-title {
        font-size: 22px !important;
        margin-bottom: 12px;
        line-height: 1.3;
    }

    .slide-subtitle {
        font-size: 14px !important;
        margin-bottom: 18px;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 13px;
    }

    .slider-nav {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .prev {
        left: 10px;
    }

    .next {
        right: 10px;
    }
}

/* ---------- Services slider: un-float on mobile so it doesn't overlap ---------- */
@media (max-width: 991px) {

    /* The section that wraps the services swiper */
    .services-slider-abs {
        position: relative !important;
        top: auto !important;
        margin-top: 30px;
    }

    /* Give the parent section a natural height instead of relying on abs child */
    section.py-80.position-relative {
        padding-bottom: 40px !important;
    }

    /* Hide the decorative background photo behind the swiper – not needed on mobile */
    section.py-80.position-relative .project-bg {
        display: none !important;
    }

    /* Swiper slides should not overflow on mobile */
    .project-two-wrapper {
        width: 100% !important;
        min-width: 0 !important;
    }
}

/* ---------- About section: fix float-end image on mobile ---------- */
@media (max-width: 991px) {
    #home-about-content img.float-end {
        float: none !important;
        display: block;
        width: 100% !important;
        height: 260px !important;
        object-fit: cover;
        border-radius: 12px;
        margin: 20px auto 0 !important;
    }

    .ezy__header11 {
        padding: 50px 0 !important;
        overflow: visible !important;
    }

    /* The decorative ellipse SVG clips content — hide it on mobile */
    .ezy__header11>svg {
        display: none !important;
    }
}

/* ---------- MICE Service cards: 2 columns on XS, 2 on SM, 4 on MD+ ---------- */
@media (max-width: 575px) {
    #home-mice-services-listing>div {
        /* each col-sm-6 col-md-3 div */
        flex: 0 0 50% !important;
        max-width: 50% !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    .ezy__service14-card {
        min-height: 160px;
    }
}

/* ---------- General section breathing room on mobile ---------- */
@media (max-width: 575px) {
    .pt-140 {
        padding-top: 60px !important;
    }

    .pb-140 {
        padding-bottom: 60px !important;
    }

    section.py-80 {
        padding-top: 40px !important;
    }
}