@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&display=swap');

:root {
    --primary-color: #10b981;
    /* Emerald Green */
    --secondary-color: #6c757d;
    --accent-color: #fbbf24;
    /* Gold */
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --text-dark: #212529;
    --text-light: #6c757d;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    --card-hover-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
}

main {
    padding-top: 80px;
    /* Add padding to prevent content from going under fixed header */
}

.section-padding {
    padding: 20px 0;
}

.section-title2 {
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 2.5rem;
}

/* --- Header --- */
.fixed-top {
    transition: all 0.5s ease;
    padding: 15px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #059669 100%);
    /* Emerald Green gradient */
    background-size: 200% 200%;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
    animation: headerPulse 6s ease infinite;
}

.fixed-top.scrolled {
    background: linear-gradient(135deg, #047857 0%, var(--primary-color) 100%);
    /* Darker emerald when scrolled */
    box-shadow: 0 4px 25px rgba(16, 185, 129, 0.6);
    padding: 10px 0;
}

.navbar-brand img {
    height: 30px;
    transition: height 0.3s ease;
}

.fixed-top.scrolled .navbar-brand img {
    height: 30px;
}

.navbar-nav .nav-link {
    color: #ffffff;
    /* White for better contrast on purple */
    font-weight: 600;
    margin: 0 15px;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.fixed-top.scrolled .navbar-nav .nav-link {
    color: #ffffff;
    /* White for better contrast when scrolled */
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #f8f9fa !important;
    /* Light white for better contrast */
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), #f39c12);
    transition: width 0.3s ease;
    border-radius: 3px;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

.fixed-top.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.fixed-top.scrolled .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar .btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.navbar .btn-primary:hover {
    background-color: #c09a2e;
    border-color: #c09a2e;
    transform: translateY(-2px);
}

/* Mobile menu icon color */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

/* --- Hero Section --- */
.hero-section {
    height: 62vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 3;
    transform: skewY(-3deg);
    transform-origin: bottom left;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(16, 185, 129, 0.7), rgba(0, 0, 0, 0.4));
    /* Emerald Green gradient */
    z-index: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 45% 47% 44% 42%;
    animation: wave 12s linear infinite;
    opacity: 0.7;
}

.hero-wave:nth-child(2) {
    bottom: 20px;
    opacity: 0.5;
    animation: wave 15s linear infinite reverse;
    border-radius: 47% 42% 46% 44%;
}

.hero-wave:nth-child(3) {
    bottom: 40px;
    opacity: 0.3;
    animation: wave 18s linear infinite;
    border-radius: 46% 44% 43% 47%;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: floatParticle 15s infinite linear;
}

.hero-content {
    z-index: 2;
    padding-bottom: 60px;
    position: relative;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    color: #ffffff;
    animation: heroGlow 3s ease-in-out infinite;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #ffffff;
    opacity: 0.95;
    animation: heroFloat 4s ease-in-out infinite;
}

.hero-content .btn {
    font-weight: 700;
    padding: 15px 40px;
    border-radius: 50px;
    background-color: #ffffff;
    border-color: #ffffff;
    color: #000000;
    transition: all 0.3s ease;
    animation: pulseButton 2s ease-in-out infinite;
}

.hero-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.3);
    animation: none;
    background-color: #f0f0f0;
    color: #000000;
}

/* Hero Buttons - WhatsApp and Phone */
.hero-buttons {

    justify-content: center;
    gap: 1rem;
}

.hero-buttons .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    display: inline;
    background-color: #ffffff;
    border-color: #ffffff;
    color: #000000;
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    background-color: #f0f0f0;
    color: #000000;
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .hero-buttons .btn {
        width: 80%;
        max-width: 250px;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-content .btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    .hero-buttons .btn {
        width: 90%;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* --- Features Section --- */
.feature-box-new {
    padding: 30px;
    text-align: center;
    border-radius: 20px;
    /* Curved box for the whole feature box */
    background-color: var(--bg-white);
    /* White background for the box */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    /* Shadow for the whole box */
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 576px) {
    .feature-box-new {
        flex-direction: row;
        text-align: start;
        align-items: flex-start;
    }

    .feature-box-new.text-start {
        text-align: start;
    }
}

.feature-box-new:hover {
    transform: translateY(-10px);
    /* Lift on hover */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    /* Enhanced shadow on hover */
}

.feature-box-new:hover .icon-container {
    animation: pulseIcon 0.5s ease-in-out, rotateIcon 2s linear infinite;
    background: linear-gradient(45deg, #f39c12, #e67e22);
    /* Orange gradient on hover */
}

.feature-box-new .icon-container {
    width: 90px;
    /* Slightly larger */
    height: 90px;
    /* Slightly larger */
    border-radius: 50%;
    /* Keep icon itself circular */
    background: linear-gradient(45deg, var(--primary-color), #059669);
    /* Emerald Green gradient */
    color: white;
    /* White icon */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    /* Larger icon */
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3), 0 0 20px rgba(16, 185, 129, 0.2);
    /* Shadow and glow */
    transition: all 0.4s ease;
    animation: pulseIcon 2s ease-in-out infinite, rotateIcon 8s linear infinite;
    flex-shrink: 0;
}

@media (max-width: 576px) {
    .feature-box-new .icon-container {
        margin-bottom: 0;
        margin-right: 20px;
    }
}

.feature-box-new h4 {
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-box-new p {
    margin-bottom: 0;
}

@media (max-width: 576px) {
    .feature-box-new p {
        margin-bottom: 0;
    }
}

/* Highlight animation for feature boxes */
.feature-box-new.highlight {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(52, 152, 219, 0.4);
}

.feature-box-new.highlight .icon-container {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    animation: pulseIcon 0.5s ease-in-out, rotateIcon 1s linear infinite;
}

.feature-box-new.highlight h4,
.feature-box-new.highlight p {
    color: white;
}

@keyframes highlightFeature {
    0% {
        background: linear-gradient(135deg, #3498db, #2c3e50);
        transform: scale(1);
    }

    50% {
        background: linear-gradient(135deg, #f39c12, #e67e22);
        transform: scale(1.05);
    }

    100% {
        background: linear-gradient(135deg, #3498db, #2c3e50);
        transform: scale(1);
    }
}

/* --- Alternating BG --- */
.bg-custom-light {
    background-color: #fdfdfd;
}

/* --- About Us Section --- */
.about-us-image-wrapper {
    height: 400px;
    /* Fixed height for the image container */
}

.about-us-image-wrapper img {
    transition: transform 0.5s ease;
}

.about-us-image-wrapper:hover img {
    transform: scale(1.05);
    /* Slight zoom on hover */
}

.about-us-image-wrapper .overlay {
    background-color: rgba(0, 51, 102, 0.2);
    /* Subtle overlay */
    transition: background-color 0.3s ease;
}

.about-us-image-wrapper:hover .overlay {
    background-color: rgba(0, 51, 102, 0.4);
    /* Darker overlay on hover */
}

.section-title.about-us-title {
    color: var(--primary-color);
    /* Use primary color for heading */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    /* Subtle text shadow */
    letter-spacing: 1px;
    /* Add some letter spacing */
}

/* --- Enhanced Card Styling --- */
.card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    position: relative;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover,
.card.card-hover-active {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Animation delay handling via CSS instead of inline styles */
[data-animation-delay] {
    animation-delay: attr(data-animation-delay);
}

/* Image visibility classes */
.img-visible {
    opacity: 1 !important;
    transform: scale(1) !important;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Badge hover effects */
.badge-hover {
    transform: scale(1.1) rotate(-2deg) !important;
}

/* Pulse animation for offer badges */
.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Star hover effect */
.star-hover {
    color: #ffc107 !important;
    transform: scale(1.2) !important;
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Amenity badge hover effect */
.amenity-hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.2) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Parallax effect for hero section */
.parallax-enabled {
    background-attachment: fixed;
    transform: translateZ(0);
}

.card-img-top {
    transition: all 0.4s ease;
    position: relative;
    opacity: 1 !important;
    /* Ensure images are always visible */
    transform: scale(1) !important;
    /* Ensure images are properly sized */
}

.card:hover .card-img-top {
    transform: scale(1.05) !important;
}

.card-title {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.card-body {
    position: relative;
    z-index: 2;
}

.card .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #004080 100%);
    border: none;
    color: white;
    font-weight: 600;
    border-radius: 25px;
    padding: 12px 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.card .btn-primary:hover::before {
    left: 100%;
}

.card .btn-primary:hover {
    background: linear-gradient(135deg, #002244 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 51, 102, 0.3);
}

/* --- Package Card Specific Styling --- */
.package-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid rgba(0, 51, 102, 0.05);
}

/* VIP Package Card Styling */
.package-card-vip {
    background: linear-gradient(145deg, #10b981 0%, #059669 100%);
    /* Emerald Green background */
    border: 3px solid #047857;
    /* Darker green border */
    color: white;
    /* White text */
}

.package-card-vip .card-title,
.package-card-vip .feature-label,
.package-card-vip .text-primary,
.package-card-vip .text-muted,
.package-card-vip small {
    color: white !important;
    /* White text for all elements */
}

.package-card-vip .package-features {
    background: rgba(255, 255, 255, 0.1);
    /* Lighter background for features list */
}

.package-card-vip .package-features li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.package-card-vip .card-footer {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.package-card-vip i {
    color: white !important;
    /* White icons */
}

.package-card .card-img-top {
    height: 250px;
    object-fit: cover;
    position: relative;
}

.package-card .card-img-top::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.package-card:hover .card-img-top::after {
    opacity: 1;
}

.package-features {
    background: rgba(0, 51, 102, 0.02);
    border-radius: 12px;
    padding: 20px;
    margin: 15px 0;
}

.package-features li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 51, 102, 0.1);
    transition: all 0.3s ease;
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features li:hover {
    background: rgba(0, 51, 102, 0.05);
    padding-left: 10px;
    border-radius: 8px;
}

.package-features i {
    width: 20px;
    text-align: center;
}

/* --- Hotel Card Specific Styling --- */
.hotel-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid rgba(0, 51, 102, 0.05);
}

.hotel-card .card-img-top {
    height: 250px;
    object-fit: cover;
    position: relative;
}

.hotel-card .card-body {
    padding: 25px;
}

.hotel-rating {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.hotel-rating .stars {
    color: var(--accent-color);
    margin-right: 10px;
}

.hotel-location {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.hotel-location i {
    margin-right: 8px;
    color: var(--primary-color);
}

.hotel-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.amenity-badge {
    background: rgba(0, 51, 102, 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* --- Info Badge (Replaces Price Badge) --- */
.info-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #004080 100%);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.3);
    z-index: 3;
}

/* --- Special Offer Badge --- */
.offer-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #ff4757 0%, #ff3742 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.8rem;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
    z-index: 3;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes moveText {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 300% 50%;
    }
}

@keyframes heroGlow {

    0%,
    100% {
        text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    }

    50% {
        text-shadow: 2px 2px 20px rgba(255, 255, 255, 0.5), 0 0 30px rgba(16, 185, 129, 0.4);
    }
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0px);
        opacity: 0.95;
    }

    50% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

@keyframes floatText {
    0% {
        transform: translateY(0px);
        opacity: 0.8;
    }

    50% {
        transform: translateY(-10px);
        opacity: 1;
    }

    100% {
        transform: translateY(0px);
        opacity: 0.8;
    }
}

@keyframes pulseIcon {
    0% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3), 0 0 20px rgba(52, 152, 219, 0.2);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 8px 20px rgba(52, 152, 219, 0.5), 0 0 30px rgba(52, 152, 219, 0.4);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3), 0 0 20px rgba(52, 152, 219, 0.2);
    }
}

@keyframes rotateIcon {
    0% {
        transform: rotate(0deg) scale(1);
    }

    25% {
        transform: rotate(10deg) scale(1.1);
    }

    50% {
        transform: rotate(0deg) scale(1);
    }

    75% {
        transform: rotate(-10deg) scale(1.1);
    }

    100% {
        transform: rotate(0deg) scale(1);
    }
}

@keyframes heroPulse {
    0% {
        opacity: 0.9;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.9;
    }
}

@keyframes wave {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }

    50% {
        transform: translateX(-25%) translateY(-20px) rotate(5deg);
    }

    100% {
        transform: translateX(-50%) translateY(0) rotate(0deg);
    }
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes glowText {
    0% {
        text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    }

    100% {
        text-shadow: 2px 2px 20px rgba(212, 175, 55, 0.8), 2px 2px 30px rgba(212, 175, 55, 0.6);
    }
}

@keyframes pulseText {
    0% {
        opacity: 0.8;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(-5px);
    }

    100% {
        opacity: 0.8;
        transform: translateY(0);
    }
}

@keyframes pulseButton {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 15px rgba(212, 175, 55, 0.4);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }
}

@keyframes headerGlow {
    0% {
        box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(240, 147, 251, 0.8);
    }

    100% {
        box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    }
}

@keyframes headerPulse {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* --- Enhanced Card Layout --- */
.card-content-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-actions {
    margin-top: auto;
    padding-top: 20px;
}

/* --- Enhanced Hover Effects --- */
.card-enhanced {
    position: relative;
    overflow: hidden;
}

.card-enhanced::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 51, 102, 0.05), rgba(212, 175, 55, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.card-enhanced:hover::after {
    opacity: 1;
}

/* --- Additional Styling for Enhanced Cards --- */
.feature-label {
    color: var(--text-light);
    font-weight: 500;
}

.package-rating,
.hotel-rating {
    padding: 10px;
    background: rgba(0, 51, 102, 0.02);
    border-radius: 10px;
    border: 1px solid rgba(0, 51, 102, 0.05);
}

.hotel-features .feature-item {
    padding: 15px 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.hotel-features .feature-item:hover {
    background: rgba(0, 51, 102, 0.05);
    transform: translateY(-2px);
}

/* --- Responsive Design Improvements --- */
@media (max-width: 768px) {

    .package-features,
    .hotel-amenities {
        text-align: center;
    }

    .amenity-badge {
        margin-bottom: 8px;
        display: inline-block;
    }

    .card .btn-primary,
    .card .btn-success {
        width: 100%;
        margin-bottom: 10px;
    }

    .card .btn-primary.me-2 {
        margin-right: 0 !important;
    }

    .info-badge,
    .offer-badge {
        font-size: 0.75rem;
        padding: 6px 10px;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .hotel-features .row {
        margin: 0;
    }

    .hotel-features .col-4 {
        padding: 5px;
    }

    .feature-item i {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .card-body {
        padding: 20px !important;
    }

    .package-features li,
    .hotel-amenities {
        font-size: 0.9rem;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 18px;
        bottom: 15px;
    }

    .floating-whatsapp {
        right: 15px;
    }

    .floating-phone {
        left: 15px;
    }

    .floating-location {
        left: 50%;
        transform: translateX(-50%);
    }

    .floating-location:hover {
        transform: translateX(-50%) scale(1.1);
    }
}

/* --- Loading Animation for Cards --- */
.fade-in-section {
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Card Hover Glow Effect --- */
.card-enhanced:hover {
    box-shadow: 0 25px 50px rgba(0, 51, 102, 0.15), 0 0 30px rgba(212, 175, 55, 0.1);
}

/* --- Button Improvements --- */
.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background: linear-gradient(135deg, #218838 0%, #1ea085 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

/* --- Enhanced Typography --- */
.card-title {
    background: linear-gradient(135deg, var(--primary-color), #004080);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.3rem;
}

/* --- Special Effects for Badges --- */
.badge {
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.7rem;
}

/* --- Card Footer Styling --- */
.card-footer {
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.8) 0%, rgba(233, 236, 239, 0.8) 100%);
    backdrop-filter: blur(10px);
}

/* --- Gallery Styling --- */
.gallery-item {
    overflow: hidden;
    border-radius: 15px;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* --- Sticky Icons --- */
.sticky-icons {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1030;
    display: flex;
    flex-direction: column;
}

.sticky-icon {
    background-color: var(--primary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.sticky-icon:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.whatsapp-icon {
    background-color: #25D366;
}

/* --- Animation --- */
.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Footer --- */
footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, #059669 100%);
    /* Emerald Green gradient */
    color: white;
    padding: 60px 0;
    box-shadow: 0 -4px 20px rgba(16, 185, 129, 0.6);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

footer h5 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), #f59e0b);
    border-radius: 3px;
}

footer ul {
    padding: 0;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    position: relative;
    padding-left: 10px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

footer ul li a:hover {
    color: white;
    padding-left: 15px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

footer ul li a::before {
    content: '➤';
    position: absolute;
    left: 0;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--accent-color);
}

footer ul li a:hover::before {
    opacity: 1;
    left: 5px;
}

footer .social-icons a {
    font-size: 24px;
    transition: all 0.3s ease;
    display: inline-block;
    margin: 0 10px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

footer .social-icons a:hover {
    transform: translateY(-5px) scale(1.2);
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.2);
    text-shadow: 0 0 15px rgba(251, 191, 36, 0.7);
    box-shadow: 0 5px 15px rgba(251, 191, 36, 0.4);
}

/* --- General Button Styling --- */
.btn {
    font-weight: 600;
    border-radius: 8px;
    padding: 12px 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #059669;
    border-color: #059669;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.btn-success {
    background-color: #25D366;
    border-color: #25D366;
    color: white;
}

.btn-success:hover {
    background-color: #1da851;
    border-color: #1da851;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}