html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}
.swiper-slide {
    position: relative;
    top: 8%;
}

.swiper-slide img {
    width: 100%;
    height: 90%;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.place-name {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Welcome text styles */
.welcome-text {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    pointer-events: none;
}

.welcome-text .welcome-to {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
}

.welcome-text .jagatsinghpur {
    font-size: 4rem;
    font-weight: bold;
    color: yellow;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 1);
}

@media (max-width: 768px) {
    .welcome-text .welcome-to {
        font-size: 1.5rem;
    }

    .welcome-text .jagatsinghpur {
        font-size: 2.5rem;
    }
}

/* New section styles */
.section {
    /* padding: 60px 20px; */
    text-align: center;
    background-color: #f9f9f9;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.section p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.6;
    margin: 0px auto;
    max-width: 1350px;
    text-align: justify;
    padding-left: 20px;  /* Space on the left */
    padding-right: 20px; /* Space on the right */
}

.tourist-places {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 40px;
}

.tourist-place {
    width: 30%;
    position: relative; /* Position relative for placing h3 in the center */
    margin-bottom: 30px;
}

.tourist-place img {
    width: 100%;
    height: 300px; /* Set a fixed height for the images */
    object-fit: cover; /* Maintain aspect ratio and cover the area */
    border-radius: 8px;
}



.tourist-place p {
    text-align: center;
    margin-top: 10px;
    font-size: 1rem;
    color: #555;
}

@media (max-width: 768px) {
    .tourist-place {
        width: 100%; /* Full width on smaller screens */
    }
}
.learn-more {
display: inline-block; /* Change to inline-block to allow width to be set */
margin-top: 10px;
text-align: center;
color: white;
background-color: #007bff;
padding: 10px 20px;
border-radius: 5px;
text-decoration: none;
font-size: 1rem;
transition: background-color 0.3s, transform 0.3s;
width: 150px; /* Adjust the width as needed */
}

.learn-more:hover {
background-color: #0056b3;
transform: translateY(-2px);
}


.swiper-container {
    width: 100%;
    height: 93vh; /* Full viewport height */
    position: relative;
    overflow: hidden;
}

/* Adjust swiper-container for smaller screens (320px to 425px) */
@media (min-width: 320px) and (max-width: 425px) {
    .swiper-container {
        height: 72vh;
    }

    .swiper-slide {
        height: 100%; 
    }

    .swiper-slide img {
        width: 100%;
        height: 100%; 
        object-fit: cover; 
    }

    .overlay {
        height: 100%; 
    }

    .place-name {
        font-size: 1.2rem; 
        bottom: 10%;
    }
}
