/* Typography & Theme */
body {
    font-family: 'DM Sans', sans-serif;
    background-color: #f8faf9;
    color: #000000;
    /* Black text */
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.font-serif {
    font-family: 'Playfair Display', serif;
}
/* Social Icons Hover Effect (Matches Header) */
.social-icon:hover path { 
    fill: #f97316; /* Tailwind orange-500/tiger-orange equivalent */
    transition: fill 0.3s ease; 
}

/* Ensure Back to Top button transitions smoothly */
#backToTopBtn {
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s;
}
/* Colors defined via Variables at bottom */

/* Utility: Glass Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Package Card Hover */
.package-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.package-card img {
    transition: transform 0.7s ease;
}

.package-card:hover img {
    transform: scale(1.1);
}

/* Dropdown Styles */
.nav-dropdown {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.group:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Accordion Styles */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-content {
    max-height: 200px;
    /* Approx height */
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Modal */
.modal {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    transform: scale(0.95);
    transition: transform 0.3s ease-in-out;
}

.modal.active .modal-content {
    transform: scale(1);
}

/* INFINITE MARQUEE ANIMATION */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.testimonial-track {
    animation: scroll 40s linear infinite;
    width: max-content;
}

/* Pause animation on hover for readability */
.testimonial-track:hover {
    animation-play-state: paused;

}

/* --- Styles for 1-Day Tour Page --- */

:root {
    --jungle-green: #2E4622;
    /* Deep Forest Green */
    --tiger-orange: #FFD700;
    /* Bright Yellow */
    --river-blue: #0f4c75;
    --mist-gray: #f3f4f6;
}

h1,
h2,
h3,
.font-heading {
    font-family: 'Playfair Display', serif;
}

.hero-text {
    font-family: 'Cinzel', serif;
}

/* Diagonal wave clip path for hero section */
.clip-path-wave {
    clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
}

.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Vertical Timeline Line */
.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: #cbd5e1;
    z-index: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--jungle-green);
    border-radius: 4px;
}

/* Subtle Leaf Pattern Background */
.leaf-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232E4622' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.text-safari-green {
    color: var(--jungle-green);
}

.bg-safari-green {
    background-color: var(--jungle-green);
}

.text-tiger-orange {
    color: var(--tiger-orange);
}

.bg-tiger-orange {
    background-color: var(--tiger-orange);
}
/* --- Wildlife Marquee Animation --- */
.wildlife-track {
    animation: scroll 50s linear infinite; /* Slightly slower for images */
    width: max-content;
    will-change: transform;
}

.wildlife-track:hover {
    animation-play-state: paused;
}