/* General Styling */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header */
.header {
    background-color: #1b1b1b;
    padding: 20px;
    width: 100%;
    text-align: center;
    border-bottom: 4px solid #00ffcc;
}

.header h1 {
    color: #00ffcc;
    font-size: 2.5rem;
}

/* Main Layout (Motherboard Look) */
.motherboard {
    display: flex;
    justify-content: center;
    margin: 40px auto;
    width: 80%;
    background-color: #1e1e1e;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #333;
    box-shadow: 0px 0px 15px rgba(0, 255, 204, 0.7);
}

/* Staff Profiles */
.staff-profiles {
    width: 100%;
}

.staff-profiles h2 {
    text-align: center;
    color: #00ffcc;
    margin-bottom: 30px;
}

/* Grid Layout for Profile Cards */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
    gap: 20px;
}

/* Profile Card */
.profile-card {
    background-color: #2c2c2c;
    border: 2px solid #00ffcc;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0px 4px 10px rgba(0, 255, 204, 0.3);
    transition: transform 0.3s ease;
}

.profile-card:hover {
    transform: scale(1.05);
}

.profile-header {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.profile-img {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    margin-right: 15px;
}

.profile-info {
    flex: 1;
}

.profile-info h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #00ffcc;
}

.profile-info p {
    margin: 5px 0;
    font-size: 1rem;
}

/* Profile Details (Initially Hidden) */
/* Profile Details (Initially Hidden) */
.profile-details {
    max-height: 0; /* Hidden by default */
    overflow: hidden; /* Prevents content from overflowing */
    transition: max-height 0.3s ease; /* Smooth transition */
    padding: 0 10px;
    background-color: #333;
    border-top: 2px solid #00ffcc;
}

/* When the profile card is active */
.profile-card.active .profile-details {
    max-height: 200px; /* Adjust to the desired expanded height */
    padding: 10px;
}


.profile-details p {
    margin: 5px 0;
    font-size: 0.9rem;
}

/* Highlighted Links */
.profile-details a {
    color: #00ffcc;
    text-decoration: none;
}

.profile-details a:hover {
    text-decoration: underline;
}
