/* General Reset for Consistency */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Cards Section */
.cards-section {
    padding: 4rem 0;
    background-color: #f8f9fa; /* Light background for contrast */
}

.feature-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: white;
    overflow: hidden; /* Ensures rounded corners apply to child elements */
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.image-wrapper {
    width: 60px; /* Fixed width for consistent image size */
    height: 60px; /* Fixed height for consistent image size */
    margin: 0 auto;
    overflow: hidden; /* Ensures the zoomed image doesn't overflow */
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensures the image fits within the wrapper */
    transition: transform 0.3s ease; /* Smooth zoom effect */
}

.feature-card:hover .card-image {
    transform: scale(1.2); /* Zoom effect on hover */
}

.feature-card .card-body {
    padding: 1.5rem 1rem;
}

.feature-card .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a2a6c;
    margin-bottom: 0.5rem;
}

.feature-card .card-text {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.card-btn {
    border-color: #ff5733;
    color: #ff5733;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.card-btn:hover {
    background-color: #ff5733;
    color: white;
}

/* Responsive Adjustments for Cards Section */
@media (max-width: 768px) {
    .cards-section {
        padding: 2rem 0;
    }

    .feature-card {
        margin-bottom: 1rem;
    }

    .feature-card .card-title {
        font-size: 1.1rem;
    }

    .feature-card .card-text {
        font-size: 0.85rem;
    }

    .image-wrapper {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 576px) {
    .feature-card {
        margin: 0 auto;
        max-width: 300px; /* Limits card width on very small screens */
    }
}

/* Existing styles from your app.css (kept for compatibility) */

/* Custom styles for the hero section */
.hero-section {
    background-image: url('/front/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 500px;
    position: relative;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-section h1 {
    font-size: 4rem;
    font-weight: bold;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section p {
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
}

.hero-section .btn-primary {
    background-color: #ff5733;
    border-color: #ff5733;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero-section .btn-primary:hover {
    background-color: #e04e2b;
    transform: scale(1.05);
}

/* Style for the banner section */
.banner-section {
    background-image: url('/front/images/banner-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 300px;
    position: relative;
    color: white;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
}

.banner-section h2,
.banner-section p {
    position: relative;
    z-index: 1;
    margin-left: 2rem;
}

.banner-section h2 {
    font-size: 3rem;
    font-weight: bold;
}

.banner-section p {
    font-size: 1.2rem;
}

/* Style for star ratings */
.star-rating {
    color: gold;
    font-size: 1.2rem;
}

/* Style for recommended badge */
.recommended-badge {
    color: green;
    font-size: 0.9rem;
}

/* Style for tickets/entry labels */
.ticket-label {
    color: orange;
    font-size: 0.9rem;
    font-weight: bold;
}

/* Style for the video banner section */
.video-banner {
    background-image: url('/front/images/video-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.video-banner:hover {
    transform: scale(1.02);
}

.video-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
}

.video-banner .play-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.video-banner .play-content i {
    font-size: 4rem;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.video-banner .play-content i:hover {
    color: #ff5733;
}

.video-banner .play-content p {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Style for the guide cards */
.guide-card {
    position: relative;
    height: 200px;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.guide-card:hover {
    transform: translateY(-5px);
}

.guide-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.guide-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.guide-card-title {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    z-index: 1;
}

.placeholder-card {
    background-color: #d3d3d3;
    height: 200px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Style for the care items */
.care-item {
    text-align: center;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.care-item:hover {
    transform: translateY(-5px);
}

.care-item i {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 1rem;
}

.care-item h5 {
    font-size: 1.2rem;
    font-weight: bold;
}

.care-item p {
    font-size: 0.9rem;
    color: #666;
}

/* Style for the CTA cards */
.cta-card {
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.cta-card:hover {
    transform: translateY(-5px);
}

.cta-card i {
    font-size: 2.5rem;
    color: #ff5733;
    margin-bottom: 1rem;
}

.cta-card h5 {
    font-size: 1.2rem;
    font-weight: bold;
}

.cta-card p {
    font-size: 0.9rem;
    color: #666;
}

.cta-card .btn {
    margin-top: 1rem;
    background-color: #ff5733;
    border-color: #ff5733;
    transition: background-color 0.3s ease;
}

.cta-card .btn:hover {
    background-color: #e04e2b;
}

/* Style for the testimonial section */
.testimonial-section {
    text-align: center;
    padding: 2rem 0;
    background-color: #f8f9fa;
    border-radius: 15px;
}

.testimonial-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.testimonial-section h2 .bi-heart-fill {
    color: #ff5733;
    margin: 0 0.5rem;
}

.testimonial-section .quote {
    font-size: 1.2rem;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.testimonial-section .quote::before {
    content: '“';
    font-size: 4rem;
    color: #ff5733;
    position: absolute;
    top: -1rem;
    left: 0;
}

.testimonial-section .quote::after {
    content: '”';
    font-size: 4rem;
    color: #ff5733;
    position: absolute;
    bottom: -2rem;
    right: 0;
}

.testimonial-section .author {
    font-size: 1rem;
    font-weight: bold;
    color: #1a2a6c;
    margin-top: 1rem;
}

.testimonial-section .avatars {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.testimonial-section .avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #fff;
    transition: transform 0.3s ease;
}

.testimonial-section .avatars img:hover {
    transform: scale(1.1);
}

/* Style for the footer top bar */
.footer-top-bar {
    background-color: #1a2a6c;
    color: white;
    padding: 1rem 0;
    text-align: center;
}

.footer-top-bar .row {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-top-bar i {
    margin-right: 0.5rem;
}

.footer-top-bar span {
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Style for the main footer */
.footer-main {
    padding: 3rem 0;
    border-top: 1px solid #ddd;
    background-color: #f8f9fa;
}

.footer-main h5 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #1a2a6c;
}

.footer-main p,
.footer-main a {
    font-size: 0.9rem;
    color: #666;
}

.footer-main a {
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-main a:hover {
    color: #ff5733;
}

.footer-main .social-icons h5 {
    margin-bottom: 0.5rem;
}

.footer-main .social-icons a {
    display: inline-flex !important;
    font-size: 1.5rem;
    margin-right: 1rem;
    color: #ff5733;
    transition: color 0.3s ease;
}

.footer-main .social-icons a:hover {
    color: #e04e2b;
}

.footer-main .contact-info i {
    margin-right: 0.5rem;
    color: #007bff;
}

/* Style for the footer bottom bar */
.footer-bottom-bar {
    border-top: 1px solid #ddd;
    padding: 1rem 0;
    text-align: center;
    font-size: 0.8rem;
    color: #666;
    background-color: #f8f9fa;
}

/* Search Form Section */
.search-section {
    margin-top: -100px; /* Pulls the form up to overlap the hero section */
    position: relative;
    z-index: 2; /* Ensures the form appears above the hero section */
}

.search-form-container {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 1100px; /* Slightly wider to accommodate all fields in one line */
    margin: 0 auto; /* Centers the form */
}

.search-form-container form {
    flex-wrap: nowrap; /* Prevents wrapping to the next line */
    gap: 0.5rem; /* Reduced gap between form elements */
}

.form-group {
    flex: 1; /* Makes each form group take equal space */
    min-width: 120px; /* Reduced min-width to fit all elements in one line */
}

.form-label {
    font-size: 0.85rem; /* Slightly smaller font for labels */
    color: #333;
    margin-bottom: 0.25rem;
}

.form-select,
.form-control {
    border-radius: 5px;
    border: 1px solid #ced4da;
    padding: 0.5rem;
    font-size: 0.9rem;
    height: 38px; /* Consistent height for all inputs */
}

.input-group .btn-outline-secondary {
    border-color: #ced4da;
    color: #333;
    padding: 0 0.5rem; /* Reduced padding for buttons */
}

.input-group .form-control {
    width: 50px; /* Reduced width for number inputs */
    border-left: 0;
    border-right: 0;
    padding: 0;
}

.btn-search {
    background-color: #ff5733;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    padding: 0.5rem 1.5rem; /* Adjusted padding for better fit */
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    height: 38px; /* Match input height */
    line-height: 1; /* Center text vertically */
}

.btn-search:hover {
    background-color: #e04e2b;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .search-form-container {
        max-width: 100%; /* Allow form to shrink on smaller screens */
    }

    .form-group {
        min-width: 100px; /* Further reduce min-width */
    }

    .input-group .form-control {
        width: 40px; /* Smaller width for number inputs */
    }

    .btn-search {
        padding: 0.5rem 1rem; /* Smaller padding for button */
    }
}

@media (max-width: 768px) {
    .search-form-container form {
        flex-wrap: wrap; /* Allow wrapping on very small screens */
    }

    .form-group {
        min-width: 48%; /* Two fields per row on small screens */
        margin-bottom: 0.5rem;
    }

    .btn-search {
        width: 100%; /* Full-width button on mobile */
    }
}

/* Responsive Adjustments for Other Sections */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .banner-section h2 {
        font-size: 2rem;
    }

    .banner-section p {
        font-size: 1rem;
    }
}