/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #F5F5F5;
    margin: 0;
    padding: 0;
}

header {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.navbar {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links li a {
    text-decoration: none;
    color: #229799;
    font-weight: 500;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.nav-buttons button {
    padding: 0.5rem 1rem;
    border: 1px solid #229799;
    background-color: transparent;
    border-radius: 5px;
    color: #229799;
    cursor: pointer;
}

.nav-buttons button:hover {
    background-color: #229799;
    color: #fff;
}

/* About Section */
.about-section {
    padding: 2rem;
    text-align: center;
}

.about-section h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.about-section p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2rem;
}

.team {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.team-member {
    text-align: center;
}

.team-member img {
    max-width: 100%;
    border-radius: 10px;
}

.team-member h3 {
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

.team-member p {
    font-size: 1rem;
    color: #777;
}

/* Footer */
footer {
    background-color: #229799;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
}

/* Responsive Styles */
.menu-icon {
    font-size: 40px;
    align-items: center;
    display: none;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 30px;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 20px;
    }

    .navbar {
        display: none; 
        flex-direction: column;
        width: 100%;
        transition: 0.3s ease;
    }
    
    .nav-buttons {
        display: flex; /* Ensure it's a flex container */
        align-items: center; /* Center vertically */
    }
    
    .nav-buttons img {
        max-width: 100%; /* Responsive size */
        height: auto; /* Maintain aspect ratio */
        width: auto; /* Allow width to adjust based on parent */
        max-height: 50px; /* Limit height */
    }
    

    .navbar.active {
        display: flex;
    }

    .menu-icon {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .hero-container {
        flex-direction: column;
        padding: 0;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-content h2 {
        font-size: 2em;
    }

    .hero-container img {
        max-width: 80%;
        margin-top: 20px;
    }

    .hero-information {
        flex-direction: column;
        padding: 20px;
    }

    .information-content {
        max-width: 100%;
        text-align: center;
    }

    .blog-post-container {
        flex-direction: column;
        align-items: center;
    }

    .blog-text {
        max-width: 100%;
        text-align: center;
    }

    .blog-image img {
        max-width: 100%;
    }

    .boarding-house {
        flex-direction: column;
        align-items: center;
    }

    .boarding-card {
        max-width: 90%;
        gap: 20px;
    }

    .footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    .search {
        width: 100%;
        padding-left: 50px;
    }

    .search input {
        width: 90%;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .navbar {
        width: 70%;
    }

    .hero-container {
        padding: 20px;
    }

    .hero-content h2 {
        font-size: 2.5em;
    }

    .hero-information {
        padding: 30px;
    }

    .information-content h3 {
        font-size: 2em;
    }

    .boarding-card {
        width: 100%;
        max-width: 60%;
        gap: 20px;
    }

    .blog-post-container {
        flex-direction: column;
        align-items: center;
    }

    .footer {
        padding: 30px 20px;
    }

    .search {
        width: 100%;
        padding-left: 50px;
    }

    .search input {
        width: 65%;
    }
}

/* Additional Responsive Adjustments */
@media (max-width: 768px) {
    .about-section h1 {
        font-size: 2rem;
    }

    .team {
        flex-direction: column;
        gap: 1.5rem;
    }

    .team-member img {
        max-width: 80%;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .team {
        gap: 1.5rem;
    }

    .about-section h1 {
        font-size: 2.2rem;
    }
}
