body {
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.profile-pic {
    width: 100%;
    max-width: 300px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

.highlight {
    font-weight: 600;
}

.about-section h2 {
    font-weight: 600;
    margin-bottom: 10px;
}

.about-section p {
    line-height: 1.6;
    font-weight: 300;
}

/*Top left logo*/
.logo {
    text-decoration: none;
    color: black;
    font-weight: bold;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    padding: 20px 50px;
    background: white;
    border-bottom: 1px solid #ddd;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: black;
}

/* Top Section */
.top-section {
    display: flex;
    padding: 60px;
    position: relative;
    color: white;
    overflow: hidden;
}

/* Background image layer */
.top-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
        url('/assets/cps_wallpaper.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

/* Make content appear above background */
.profile-photo,
.about-section {
    position: relative;
    z-index: 1;
}

.profile-photo {
    width: 40%;
}

.photo-placeholder {
    width: 300px;
    height: 300px;
    background-color: #E57A2E;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
}

.about-section {
    width: 60%;
    color: white;
}

/* CPS Background Section */
.cps-section {
    height: 200px;
    background-image: url('assets/cps_wallpaper.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
}

/* Icons Section */
.icons-section {
    background-color: #4F73B5;
    display: flex;
    justify-content: center;  /* change from space-around */
    gap: 40px;                /* add spacing between icons */
    padding: 60px 20px;
}

.icon-item p {
    font-weight: 700;
    margin-top: 15px;
    font-size: 16px;
    letter-spacing: 0.5px;
    color: white;
}

.icon-item:hover {
    transform: translateY(-5px);
}

.icon-item {
    text-align: center;
    color: white;
    transition: transform 0.2s;
    width: 200px;   /* ADD THIS */
}

.icon-item img {
    width: 100%;
    max-width: 120px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: 2px solid white;
    padding: 20px;
    background-color: transparent;
}

/* Footer */
footer {
    background-color: #2c4a80; /* darker blue */
    color: white;
    text-align: center;
    padding: 30px 20px;
}

.small-icon {
    width: 30px;
    margin: 10px;
}

/* ===== Responsive Design ===== */
@media (max-width: 1000px) {
    .top-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-photo,
    .about-section {
        width: 100%;
    }

    .icons-section {
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    nav {
        flex-direction: column;
        align-items: center;
    }

    nav ul {
        margin-top: 10px;
    }

    .icon-item {
        width: 45%;
    }
}