.country-link {
    transition: all 0.2s ease;
}

.country-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dropdown-content {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.dropdown-container:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menus {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0;
}

.mega-menus.active {
    max-height: 80vh;
    opacity: 1;
}

.mega-menus-desktop {
    width: 95vw;
    max-width: 1200px;
    left: 50%;
    transform: translateX(-50%);
}

.tour-cards {
    min-height: 80px;
    display: flex;
    align-items: flex-start;
}

.tour-cards:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mobile-menus-overlay {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.scroll-containers {
    max-height: 400px;
    overflow-y: auto;
}

.scroll-containers::-webkit-scrollbar {
    width: 4px;
}

.scroll-containers::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.scroll-containers::-webkit-scrollbar-thumb {
    background: #056839;
    border-radius: 10px;
}

/* Fixed positioning */
.mega-menus-desktop {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    z-index: 1000;
}

/* Card heights */
.tour-cards-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 48px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .mega-menus-desktop {
        width: 95%;
        left: 2.5%;
        transform: none;
    }
}

/* Navigation container */
.nav-container {
    position: relative;
}

/* Hide scrollbar when not needed */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Animation for smooth appearance */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translate(-50%, -10px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.mega-menus-desktop.active {
    animation: slideDown 0.3s ease forwards;
}

.mountain-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%230d9488' fill-opacity='0.15' fill-rule='evenodd'/%3E%3C/svg%3E");
}

:root {
    --primary-color: #ffce00;
    --color: #056839;
    --secondary-color: #d62828;
    --accent-color: #3a7d44;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --text-color: #333333;
    --text-light: #6c757d;
    --primary-light: #cfb446;
    --text-dark: #000000;
    --white: #056839;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 50px;
    --border-color: #dee2e6;
    --transition-speed: 1s;
    --transition: all 0.5s ease-in-out;
}

/* Loader styles */
.loader-container {
    @apply fixed top-0 left-0 w-full h-full bg-white bg-opacity-95 flex justify-center items-center z-[1000] backdrop-blur-sm transition-opacity duration-500 ease-in-out;
}

.loader-container.hidden {
    @apply opacity-0 invisible;
}


/* Hero slider */
.slider-container {
    @apply absolute top-0 left-0 w-full h-full z-0;
}

.slide {
    @apply absolute top-0 left-0 w-full h-full opacity-0 transition-opacity duration-[1.5s] ease-in-out bg-cover bg-center bg-no-repeat;
}

.slide.active {
    @apply opacity-100;
}

/* Safari features */
.safari-feature {
    @apply flex items-center gap-2 bg-[rgba(5, 104, 57, 0.85)] p-3 rounded-xl shadow-lg border-l-4 border-secondary;
}

/* Ribbons */
.ribbon {
    @apply py-3 px-6 rounded-[50px] font-semibold text-white flex items-center gap-3 shadow-lg transition-all duration-300 ease cursor-pointer relative overflow-hidden;
}

.ribbon:before {
    content: '';
    @apply absolute -top-2.5 left-0 w-full h-2.5 bg-white bg-opacity-20 -translate-x-full transition-all duration-500 ease;
}

.ribbon:hover:before {
    @apply translate-x-full;
}

.ribbon:hover {
    @apply -translate-y-1 shadow-xl;
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    70% {
        transform: scale(3);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@keyframes slide-in {
    to {
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pulsating-circle {
    @apply absolute w-6 h-6 bg-secondary rounded-full z-10 opacity-80;
}

.pulsating-circle:before {
    content: '';
    @apply absolute w-full h-full rounded-full bg-secondary opacity-70 animate-pulse;
}

/* Testimonial slider */
.testimonial {
    @apply absolute top-0 left-0 w-full opacity-0 invisible transition-all duration-500 ease;
}

.testimonial.active {
    @apply opacity-100 visible z-10;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.separator {
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-header p {
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Mobile menu */
.mobile-menu {
    @apply fixed top-0 left-0 w-[250px] h-full bg-white shadow-lg -translate-x-full transition-transform duration-300 ease-in-out z-[60];
}

.mobile-menu.active {
    @apply translate-x-0;
}

/* Our Story Section */
.our-story {
    padding: 80px 150px;
    background-color: var(--light-color);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.story-image {
    align-items: center;
    width: 95%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.story-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.story-text p {
    margin-bottom: 20px;
    color: var(--text-light);
}



.stat {

    text-align: center;
}

/* Add this to your CSS */
.count-up {
    font-size: 2.5rem;
    font-weight: 700;
    transition: opacity 0.3s ease;
    color: var(--primary-color);
}

.count-up:not(.active) {
    opacity: 0;
}

.story-stats {
    display: flex;
    gap: 4rem;
    justify-content: center;
    margin-top: 2rem;
}

.label {
    font-size: 0.9rem;
    color: var(--text-light);
}

@media (max-width: 992px) {
    .story-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width:768px) {
    .story-content {
        width: 600px;
        margin-left: -20%;
    }
}

@media (max-width:567px) {
    .story-content {
        width: 400px;
        margin-left: -70%;
    }
}

/* Header on scroll */
.custom-header.scrolled {
    @apply py-2 bg-white bg-opacity-95 shadow-md;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    object-fit: cover;
}

.overlay {
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.cta-button {
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.scroll-indicator {
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-15px);
    }

    60% {
        transform: translateY(-10px);
    }
}

/* Counter animation debug */
.counter-debug {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px;
    border-radius: 5px;
    font-family: monospace;
    z-index: 1000;
}

.overlay {
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.cta-button {
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.scroll-indicator {
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-15px);
    }

    60% {
        transform: translateY(-10px);
    }
}

.success-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-align: center;
    z-index: 1000;
    max-width: 90%;
    width: 400px;
}

.success-popup.hidden {
    display: none;
}

.success-popup .checkmark {
    font-size: 3rem;
    color: #056839;
    margin-bottom: 1rem;
}

.success-popup h3 {
    color: #056839;
    margin-bottom: 0.5rem;
}

.success-popup p {
    color: #666;
}

html {
    scroll-behavior: smooth;
}