/* Extreme Enhanced Tour Section */
.tours {
    padding: 80px 20px;
    background: linear-gradient(135deg, #e3f2fd, #ffffff);
    position: relative;
    z-index: 1;
    overflow: hidden;
    perspective: 2000px;
    isolation: isolate;
}

.tours::before, .tours::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
}

.tours::before {
    top: -150px;
    left: -150px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37, 117, 252, 0.3), transparent);
    animation: float 8s infinite alternate;
}

.tours::after {
    bottom: -200px;
    right: -200px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(21, 101, 192, 0.3), transparent);
    animation: float-reverse 10s infinite alternate-reverse;
}

.tours h2 {
    font-size: 3.5rem;
    color: #ff6f00;
    text-align: center;
    margin-bottom: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    animation: fade-in 2s ease, glow 1.5s infinite alternate;
    text-shadow: 4px 4px 12px rgba(255, 111, 0, 0.6);
}

.tours .card {
    height: 100%;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55), box-shadow 0.8s ease;
    overflow: hidden;
    position: relative;
    z-index: 1;
    transform-style: preserve-3d;
}

.tours .card:hover {
    transform: translateY(-20px) rotate3d(1, 1, 0, 15deg);
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.3);
}

.tours .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(37, 117, 252, 0.1), rgba(21, 101, 192, 0.05));
    z-index: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.tours .card:hover::before {
    opacity: 1;
}

.tours .card-title {
    font-size: 2rem;
    color: #1565c0;
    font-weight: 700;
    text-align: center;
    margin: 20px 0;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
}

.tours .card-title::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background: #2575fc;
    margin: 10px auto 0;
    border-radius: 8px;
    animation: slide-in 0.8s ease-out;
}

.tours .card-content {
    padding: 25px;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: background-color 0.4s ease, transform 0.4s ease;
}

.tours .card-content:hover {
    background-color: rgba(37, 117, 252, 0.07);
    transform: scale(1.05);
}

.tours .card-content p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    font-family: 'Roboto', sans-serif;
}

@keyframes glow {
    0% {
        text-shadow: 2px 2px 8px rgba(255, 111, 0, 0.4);
    }
    100% {
        text-shadow: 4px 4px 16px rgba(255, 111, 0, 0.7);
    }
}

@keyframes slide-in {
    0% {
        width: 0;
    }
    100% {
        width: 70px;
    }
}

@media (max-width: 768px) {
    .tours {
        padding: 50px 15px;
    }

    .tours h2 {
        font-size: 2.8rem;
    }

    .tours .card-title {
        font-size: 1.6rem;
    }

    .tours .card-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .tours h2 {
        font-size: 2.2rem;
    }

    .tours .card-title {
        font-size: 1.3rem;
    }

    .tours .card-content p {
        font-size: 1rem;
    }
}
