.gpm-campus-hostel-container {
    width: 100%;
}

.gpm-campus-hostel-container-main {
    width: 90%;
    margin: auto;
}
.gpm-campus-hostel-container-main h2 {
    font-size: 25px;
    font-weight: bold;
    margin: 0;
    color: #000;
}

.gpm-campus-hostel-container-main .gpm-heading-main {
    color: #c21717;
}

/* Features Section */


.gpm-campus-hostel-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.gpm-campus-hostel-section-title {
    font-size: 2.3rem;
    color: #3366cc;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.gpm-campus-hostel-section-title::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background-color: #3366cc;
}

.gpm-campus-hostel-section-subtitle {
    font-size: 1.1rem;
    color: black;
    max-width: 700px;
    margin: 0 auto;
}

.gpm-campus-hostel-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.gpm-campus-hostel-feature-card {
    background-color: white;
    padding: 25px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.gpm-campus-hostel-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.gpm-campus-hostel-feature-icon {
    width: 65px;
    height: 65px;
    background-color: #e6f0ff;
    color: #3366cc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 15px;
}

.gpm-campus-hostel-feature-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #1a4d8c;
}

/* Hostels Section */
.gpm-campus-hostel-hostels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.gpm-campus-hostel-hostel-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gpm-campus-hostel-hostel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.gpm-campus-hostel-hostel-image {
    height: 210px;
    position: relative;
    overflow: hidden;
}

.gpm-campus-hostel-hostel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gpm-campus-hostel-hostel-card:hover .gpm-campus-hostel-hostel-image img {
    transform: scale(1.08);
}

.gpm-campus-hostel-hostel-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    border-radius: 18px;
    font-weight: 600;
    font-size: 0.8rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.gpm-campus-hostel-boys-badge {
    background-color: #3366cc;
    color: white;
}

.gpm-campus-hostel-girls-badge {
    background-color: #e83e8c;
    color: white;
}

.gpm-campus-hostel-hostel-content {
    padding: 20px;
}

.gpm-campus-hostel-hostel-title {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: #1a4d8c;
}

.gpm-campus-hostel-hostel-description {
    color: black;
    margin-bottom: 15px;
    line-height: 1.5;
}

.gpm-campus-hostel-amenities-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gpm-campus-hostel-amenity-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eeeeee;
}

.gpm-campus-hostel-amenity-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.gpm-campus-hostel-amenity-icon {
    background-color: #f5f8ff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: #3366cc;
}

.gpm-campus-hostel-container {
    background-color: #f9fbff;
}

.gpm-campus-hostel-hostels-section {
    background-color: #f0f5ff;
    padding: 60px 0;
}

/* Media Queries for Responsiveness */
@media screen and (max-width: 992px) {
    .gpm-campus-hostel-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .gpm-campus-hostel-section {
        padding: 40px 0;
    }

    .gpm-campus-hostel-section-title {
        font-size: 2rem;
    }

    .gpm-campus-hostel-feature-card {
        padding: 20px 15px;
    }
}

@media screen and (max-width: 576px) {
    .gpm-campus-hostel-features {
        grid-template-columns: 1fr;
    }

    .gpm-campus-hostel-container-main {
        width: 95%;
    }

    .gpm-campus-hostel-section-title {
        font-size: 1.8rem;
    }
}

.gpm-campus-hostel-gallery-title {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
    color: black;
}

.gpm-campus-hostel-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.gpm-campus-hostel-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.gpm-campus-hostel-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.gpm-campus-hostel-gallery-item:hover {
    transform: scale(1.05);
}