/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f9fcff; /* Light blue background */
    color: #333;
    line-height: 1.6;
}

/* Header Styles */
header {
    background-color: #34495e;
    color: #fff;
    padding: 20px 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

header h1 {
    margin: 0;
    font-size: 1.8em;
    letter-spacing: 2px;
}

header nav ul {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

header nav ul li {
    margin: 0 15px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1em;
}

header nav ul li a:hover {
    text-decoration: underline;
}

/* Main Content */
main {
    flex: 1;
    padding: 20px;
}

/* Hostel Section */
.hostel-section {
    margin: 40px 0;
    text-align: center;
}

.hostel-section h2 {
    font-size: 2em;
    color: #34495e;
    margin-bottom: 20px;
}

.hostel-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.hostel-content:hover {
    transform: scale(1.02);
}

.hostel-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.hostel-image img:hover {
    transform: scale(1.05);
}

.hostel-details {
    text-align: left;
    max-width: 500px;
}

.hostel-details h3 {
    font-size: 1.5em;
    color: #34495e;
    margin-bottom: 10px;
}

.hostel-details ul {
    list-style: none;
    padding: 0;
}

.hostel-details ul li {
    font-size: 1.1em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.hostel-details ul li i {
    margin-right: 10px;
    color: #34495e;
}

/* Hostel Life Section */
.hostel-life {
    margin: 40px 0;
    text-align: center;
}

.hostel-life h2 {
    font-size: 2em;
    color: #34495e;
    margin-bottom: 20px;
}

.hostel-life p {
    font-size: 1.2em;
    color: #555;
    max-width: 800px;
    margin: 0 auto 20px;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.gallery img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.1);
}

/* Testimonials Section */
.testimonials {
    margin: 40px 0;
    text-align: center;
}

.testimonials h2 {
    font-size: 2em;
    color: #34495e;
    margin-bottom: 20px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.testimonial-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-card p {
    font-size: 1.2em;
    color: #555;
    font-style: italic;
}

.testimonial-card h3 {
    font-size: 1.2em;
    color: #34495e;
    margin-top: 10px;
}

/* Footer */
footer {
    background-color: #34495e;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    margin-top: auto;
    font-size: 0.9em;
}