/* Custom styles for MakeMyJourney */
.mmj-wrapper {
    /* Scoped container to avoid theme conflicts */
    width: 100%;
    margin: 0 auto;
    overflow-x: hidden;
}

.mmj-wrapper h1, .mmj-wrapper h2, .mmj-wrapper h3, .mmj-wrapper h4, .mmj-wrapper h5, .mmj-wrapper h6 {
    font-family: 'Poppins', sans-serif;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Sticky Navbar */
#mmj-navbar {
    transition: background-color 0.3s, box-shadow 0.3s, color 0.3s;
}
#mmj-navbar.scrolled {
    background-color: white !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
#mmj-navbar.scrolled a.nav-link {
    color: #1A1A2E !important;
}
#mmj-navbar.scrolled .logo-text {
    color: #0B3D91 !important;
}

/* Nav links */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #FF7A00;
    transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Hide scrollbar for horizontal tabs */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Card hover effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* Timeline dots */
.timeline-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -100%;
    width: 100%;
    height: 2px;
    background: repeating-linear-gradient(to right, #ccc 0, #ccc 5px, transparent 5px, transparent 10px);
    transform: translateY(-50%);
    z-index: -1;
}
.timeline-step:last-child .timeline-dot::after {
    display: none;
}
@media (max-width: 768px) {
    .timeline-dot::after {
        display: none;
    }
}