/* General Styling */
body,
html {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-slider {
    height: 100%;
}

.hero-slider .swiper-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-content {
    text-align: center;
    color: white;
}

.slide-content h1 {
    font-size: 48px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.slide-content p {
    font-size: 18px;
    margin-bottom: 30px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.slide-content .btn {
    padding: 10px 30px;
    background-color: #ff6347;
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 25px;
    transition: background-color 0.3s;
}

.slide-content .btn:hover {
    background-color: #ff4500;
}

/* Small Carousels */
.small-carousel {
    position: absolute;
    width: 200px;
    height: 200px;
    overflow: hidden;
}

.top-left {
    top: 20px;
    left: 20px;
}

.top-right {
    top: 20px;
    right: 20px;
}

.bottom-left {
    bottom: 20px;
    left: 20px;
}

.bottom-right {
    bottom: 20px;
    right: 20px;
}

.small-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.hero {
    position: relative;
    height: 400px;
    /* Adjust this value to your desired height */
}

.card-section {
    position: relative;
    margin-top: -50px; /* Negative margin to make the cards overlap the hero section */
    z-index: 2; /* Ensure cards appear above the hero section */
}

.card-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 0 auto;
    max-width: 1500px;
    padding: 0 10px;
}

.card {
    display: flex;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 700px; /* Set max width for the horizontal card */
    margin: 10px;
    padding: 20px;
    text-align: left;
    flex-direction: row; /* Horizontal card layout */
    align-items: center;
}

.card img {
    width: 150px; /* Adjust image width */
    height: auto;
    border-radius: 10px;
    margin-right: 20px; /* Space between image and content */
}

.card h3 {
    margin: 0;
    font-size: 1.5rem;
}

.card p {
    font-size: 1rem;
    color: #555;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .card {
        flex-direction: column; /* Stack content vertically on smaller screens */
        text-align: center;
    }

    .card img {
        width: 100%;
        height: auto;
        margin: 0 0 15px 0;
    }
}



/* Responsive Styles */
@media (max-width: 768px) {
    .card {
        width: 100%;
        /* Full width on smaller screens */
        margin: 10px 0;
        /* Adjust margin for better spacing */
    }
}

@media (max-width: 480px) {
    .card h3 {
        font-size: 1.25rem;
        /* Adjust font size for smaller screens */
    }

    .card p {
        font-size: 0.875rem;
        /* Adjust font size for smaller screens */
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #333;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        padding: 20px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 15px 0;
        text-align: center;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        height: auto;
    }

    .hero-slider .swiper-slide {
        height: 50vh;
    }

    .slide-content h1 {
        font-size: 32px;
    }

    .slide-content p {
        font-size: 16px;
    }

    .small-carousel {
        width: 150px;
        height: 150px;
    }
}