.hero {
    position: relative;
    height: 280px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-heading {
    color: white;
    font-size: 3.5rem;
    text-align: center;
    z-index: 1;
}

.whatsapp-icon {
    background-color: #fcfbfd; 
    border-radius: 50%; 
    box-shadow: 0 2px 5px rgba(15, 15, 15, 0.3); 
    padding: 18px; 
}

/**/
.accommodations-section {
    background-color: #ffffff; /* Light background color */
    padding: 20px 0;
}

.heading {
    font-size: 45px;
    margin-bottom: 15px;
    color: rgb(43, 26, 91);
}

.details {
    font-size: 28px;
    line-height: 1.5;
    color: rgb(43, 26, 91);
}

.subhead{
    font-size: 26px;
    color: rgb(24, 24, 89);
    text-align: center;
}
.address{
    display: block;
    color: rgb(18, 18, 72);
    font-size: 21px;
    text-align: center;

}
.accommodations-section img {
   max-width: 150%;
    width: 100%; 
    height: 420px; 
    border: 2px solid #ccc; 
    border-radius: 10px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    transition: transform 0.3s; 
}


.accommodations-section img:hover {
    transform: scale(1.05); 
}

/**/
.text-center{
    color: rgb(27, 27, 106);
    font-size: 2.5rem;
}
.hostel-rules-section {
    background-color: #f9f9f9; 
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.rule-card {
    background-color: #b2c4e029;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 0 15px 30px 15px;
    flex: 0 1 calc(33.33% - 30px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 250px;
}

.rule-card h4 {
    margin-bottom: 10px;
    text-align: center;
    color: rgb(28, 67, 109);
}

.rule-card ul {
    list-style-type: disc; 
    padding-left: 20px; 
    font-size: 18px;
    flex-grow: 1; 
    color: rgb(4, 34, 65);
}
.more-info h4{
    font-size: 25px;
    text-align: center;
    margin-top: 30px;
    color: rgb(36, 36, 105);
}
.img-custom {
    width: 105%; 
    height: 280px; 
    object-fit: cover; 
    border-radius: 5px; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .hero {
        height: 200px; /* Reduce hero height for mobile */
    }

    .hero-heading {
        font-size: 2rem; /* Further reduce heading size */
    }

    .rule-card {
        flex: 0 1 calc(100% - 30px); /* Full width for smaller screens */
    }

    .heading {
        font-size: 32px; /* Reduce font size for mobile */
    }

    .details, .subhead, .address {
        font-size: 18px; /* Adjust text size */
    }

    .rule-card ul {
        font-size: 16px; /* Adjust list text size */
    }

    .more-info h4 {
        font-size: 20px; /* Smaller for mobile */
    }
    .accommodations-section img {
        height: 250px; /* Smaller height for mobile */
        width: 85%;
        }

    .img-custom {
        width: 100%; /* Full width on mobile */
        height: auto; /* Maintain aspect ratio */
    }
}
