* {
    box-sizing: border-box;
}

body {
    font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    color: #222;
    margin: 0;
    padding: 0;
    line-height: 1.7;
}

main {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

#hero,
#page-header {
    background-color: #f9f9f9;
    color: #333;
    text-align: center;
    padding: 40px 20px 30px;
    border-bottom: 1px solid #ddd;
    position: relative;
}

#aps-logo {
    width: 150px;
    height: 150px;
    display: block;
    margin: 20px auto -20px auto;
    border-radius: 10px;
    object-fit: contain;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    padding: 8px;
    transition: transform 0.5s ease;
}

#aps-logo:hover {
    transform: scale(1.03);
}

#hero h1,
#page-header h1 {
    font-size: 2.3rem;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

#hero p,
#page-header p {
    max-width: 700px;
    margin: 0 auto;
    color: #555;
    font-size: 1rem;
}

nav {
    background-color: #f2f2f2;
    padding: 15px 0;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

nav a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    margin: 0 15px;
    font-size: 1rem;
}

nav a:not(:last-child)::after {
    content: " |";
    color: #aaa;
    margin-left: 15px;
}

nav a:hover {
    color: #000;
    text-decoration: underline;
}

section h2 {
    border-left: none;
    padding-left: 0;
    color: #111;
    margin-bottom: 15px;
}

section {
    border-top: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
    padding: 40px 20px;
    margin: 40px 0;
}

#socials,
#highlights,
#contact-info {
    text-align: center;
}

#social-links {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    text-align: center;
}

#social-links li {
    display: inline-block;
    margin: 0 10px;
}


#about,
#about h3 {
    border-top: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
    padding: 20px 0;
    margin: 20px 0;
}

#about {
    padding: 40px 20px;
    text-align: center;
}

#about h2 {
    margin-bottom: 10px;
    margin-top: 0;
}

#about-summary {
    max-width: 800px;
    margin: 0 auto 25px auto;
    font-size: 1rem;
    color: #444;
    line-height: 1.8;
}

#about h3 {
    font-size: 1.4rem;
    margin-top: 40px;
    margin-bottom: 15px;
    color: #111;
    text-align: center;
}

#offers-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

#about-offers {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0 0 -30px 0;
    width: 100%;
    flex-wrap: wrap;
}

#about-offers li {
    flex: 1 1 22%;
    text-align: center;
    margin: 5px;
}


#about-offers li {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
}

#about-media {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin-top: 30px;
}

#about-media img,
#about-media video {
    width: calc(25% - 7.5px);
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

#socials,
#highlights,
#contact-info {
    text-align: center;
}

#committee-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 40px;
}

.committee-member {
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 20px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.committee-member:hover {
    background-color: #f2f2f2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: #ddd;
    margin-right: 25px;
    flex-shrink: 0;
    object-fit: cover;
}

.member-info {
    flex-grow: 1;
}

.member-name {
    margin: 0;
    font-size: 1.4rem;
    color: #111;
}

.member-description {
    margin-top: 10px;
    font-size: 1rem;
    color: #555;
}

#highlights-list {
    list-style: none;
    padding: 0;
}

.highlight-item {
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.highlight-item:last-child {
    border-bottom: none;
}

.highlight-title {
    margin: 0;
    font-weight: 600;
    color: #111;
}

.highlight-meta {
    margin: 5px 0 0;
    font-size: 0.95rem;
    color: #666;
}

#site-footer {
    background-color: #f7f7f7;
    color: #555;
    text-align: center;
    padding: 25px 10px;
    border-top: 1px solid #ddd;
    font-size: 0.95rem;
}

#site-footer small {
    color: #888;
}

@media (max-width: 900px) {
    #aps-logo {
        width: 120px;
        height: 120px;
    }

    #hero h1 {
        font-size: 1.9rem;
    }

    #about-offers {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    #about-media img,
    #about-media video {
        width: calc(50% - 5px);
    }
}

@media (max-width: 700px) {
    .committee-member {
        flex-direction: column;
        text-align: center;
    }

    .member-photo {
        margin: 0 0 15px 0;
    }

    nav a {
        display: inline-block;
        margin: 8px;
    }

    #aps-logo {
        width: 100px;
        height: 100px;
    }

    #hero {
        padding: 30px 15px 25px;
    }

    #about-media img,
    #about-media video {
        width: 100%;
        max-width: none;
    }
}

#join-us {
    text-align: center;
}

#join-us p,
#join-us h1,
#join-us h2,
#join-us h3,
#join-us li {
    text-align: center;
}

#join-us ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

#join-us ol {
    list-style-position: inside;
    padding-left: 0;
    margin-left: 0;
}

#social-links li img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    vertical-align: middle;
}