/* Google Font: Poppins */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: #1f2937;
    background-color: #f9fafb;
    overflow-x: hidden;
}

/* Headers */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    flex-wrap: wrap;
}

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

header img {
    width: 70px;
    height: 70px;
    background-color: #fff;
    border-radius: 50%;
    margin-right: 15px;
    border: 2px solid #facc15;
}

header h1 {
    font-weight: 700;
    font-size: 26px;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

/* Gradient themes */
.header-gradient {
    background: linear-gradient(90deg, #0f172a, #1e3a8a);
}

.header-gradient-yellow {
    background: linear-gradient(90deg, #facc15, #eab308);
    color: #0f172a;
}

nav a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    margin-left: 20px;
    transition: color 0.3s ease;
}

.header-gradient-yellow nav a {
    color: #0f172a;
}

nav a:hover, nav a.active {
    color: #facc15;
}

.header-gradient-yellow nav a:hover, 
.header-gradient-yellow nav a.active {
    color: #ffffff;
}

/* Main content */
.container {
    padding: 60px 20px;
    text-align: center;
}

h2 {
    font-weight: 700;
    font-size: 28px;
    color: #1e3a8a;
    margin-bottom: 20px;
}

.mission p, .admissions p {
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 17px;
    line-height: 1.7;
    color: #374151;
}

/* Image placeholders */
.image-placeholder {
    width: 80%;
    height: 320px;
    background: repeating-linear-gradient(
        45deg,
        #e5e7eb,
        #e5e7eb 10px,
        #f3f4f6 10px,
        #f3f4f6 20px
    );
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin: 20px auto;
    font-weight: 600;
}

/* Team Page */
.team-section {
    margin-bottom: 60px;
}

.card-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.profile-card {
    background: white;
    padding: 15px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.profile-card img {
    width: 180px;
    height: 180px;
    object-fit: cover; /* Makes image fit nicely */
    border-radius: 8px; /* Removes circle look */
    margin-bottom: 10px;
    border: 3px solid #ffd700; /* Yellow border */
}

.profile-card h3 {
    margin: 0;
    font-size: 18px;
    color: #003366; /* Navy blue text */
    font-weight: 600;
}

.profile-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    background-color: #facc15;
    color: #0f172a;
}

.profile-card.large {
    width: 250px;
    height: 250px;
}

/* Footer */
footer {
    background: linear-gradient(90deg, #1e3a8a, #0f172a);
    color: white;
    text-align: center;
    padding: 25px 10px;
    font-size: 15px;
}

footer p {
    margin: 5px 0;
}

footer .copyright {
    font-size: 13px;
    color: #d1d5db;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    header h1 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    nav a {
        display: inline-block;
        margin: 10px;
        font-size: 16px;
    }

    .profile-card {
        width: 90%;
        margin-bottom: 20px;
    }

    .card-grid {
        flex-direction: column;
        align-items: center;
    }

    h2 {
        font-size: 24px;
    }
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo-link h1 {
    margin-left: 10px;
}