@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', serif;
    display: flex;
    flex-direction: column;
    background-color: #e0dcd3;
    min-height: 100vh;
}

header {
    position: relative; 
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #305ae4;
    color: #fff;
    width: 100%;
}

main.content-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2em;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    flex-grow: 1;
}

.left-section {
    display: flex;
    align-items: center;
}

.college-title {
    font-weight: bold;
    margin-left: 10px;
}

.logo {
    width: 50px;
    height: 50px;
    background-image: url('public/home/cit-logo (1).png');
    background-size: cover;
    background-position: center;
}

.nav-links {
    display: flex;
    gap: 15px;
}

.nav-links a {
    color: #fff;
    padding: 8px 15px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.nav-links a:hover {
    background-color: #f3f3f3;
    color: #333;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: #fff;
}

.nav-links.show {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px; 
    right: 20px;
    background-color: #305ae4;
    width: 150px;
    padding: 10px;
    border-radius: 8px;
}

.contact-us-section {
    padding: 2em;
    width: 100%;
    max-width: 1200px;
    text-align: center;
    background-color: #fff7df;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
    margin-top: 2em;
}

.contact-us-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5em;
    color: #333;
    margin-bottom: 1em;
    font-weight: bold;
}

.contact-us-section h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
    color: #333;
    margin-bottom: 1em;
    font-weight: bold;
}

.member-card-container {
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5em;
}

.member-card {
    
    width: 260px;
    background-image: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);
    border-radius: 18px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.25);
}

.member-photo {
    margin-top: 2vh;
    width: 100px; 
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2); 
}

.member-info {
    font-family: 'Poppins', sans-serif;
    padding: 1.5em;
    color: #000000;
    text-align: center;
    border-radius: 0 0 12px 12px;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 1.2em;
    margin-top: 1em;
}

.contact-links a {
    font-size: 1.4em;
    color: #fff;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
}

.contact-links a:hover {
    transform: scale(1.2);
    color: #ffecb3;
}

.button-container {
    margin: 2em 0;
}

.return-home {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    color: #ffffff;
    background-color: #4169E1;
    border-radius: 15px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    margin-top: 10px;
}

.return-home:hover {
    background-color: #ffffff;
    color: #4169E1;
    border: 2px solid #4169E1;
    transform: translateY(-2px);
}


footer {
    background-color: #333;
    color: white;
    padding: 15px;
    text-align: center;
    font-size: 0.9em;
    width: 100%;
}

footer p {
    margin: 0;
}

/* Responsive Styles */

/* Tablets (768px and up) */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .college-title {
        font-size: 1em;
    }

    .contact-us-section h2 {
        font-size: 2em;
    }

    .member-card {
        width: 80%;
    }
}

/* Small tablets and larger smartphones (480px and up) */
@media (max-width: 768px) {
    .college-title {
        font-size: 1em;
    }

    .contact-us-section h2 {
        font-size: 1.8em;
    }

    .member-card {
        width: 90%;
    }

    .return-home {
        padding: 0.6em 1.5em;
        font-size: 0.9em;
    }
}

/* Small Smartphones (up to 480px) */
@media (max-width: 480px) {
    .college-title {
        font-size: 0.9em;
    }

    .contact-us-section h2 {
        font-size: 1.5em;
    }

    .return-home {
        padding: 0.5em 1.2em;
        font-size: 0.8em;
    }
}

/* Large Screens (1200px and up) */
@media (min-width: 1200px) {
    .content-container {
        padding: 4em;
    }

    .contact-us-section h2 {
        font-size: 3em;
    }

    .member-card {
        width: 300px;
    }
}
