/* About Section */
.about {
    padding: 1rem 2rem;
    background-color: #ffffff;
    text-align: left;
    line-height: 1.8;
}

.about h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #2e61fc;
}

.about p {
    max-width: 800px;
    margin: 0 auto 2rem;
    color: #555;
}

/* Officers Section */

.officers {
    padding: 1rem 2rem;
    background-color: #f9f9f9;
    text-align: left;
}

.officers h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #2e61fc;
}

.officers-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1rem 2rem;
}

.officer-card {
    width: 50rem;
    height: 27rem;
    perspective: 1000px;
}

.officer-card-inner {
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    position: relative;
}

.officer-card:hover .officer-card-inner {
    transform: rotateY(180deg);
}

.officer-card-front,
.officer-card-back {
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    border: 2px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    background-color: #fff;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.officer-card-front {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.officer-card-front img {
    border-radius: 50%;
    width: 250px;
    height: 250px;
    margin-bottom: 1rem;
    border: 2px solid #000000;
}

.officer-card-front h3 {
    font-size: 1.5rem;
    color: #2e61fc;
    margin: 0.5rem 0;
}

.officer-card-front p {
    font-size: 1rem;
    color: #555;
}

.officer-card-back {
    transform: rotateY(180deg);
    padding: 1rem;
    overflow-y: auto;
}

.officer-card-back h3 {
    font-size: 1.5rem;
    color: #2e61fc;
    margin-bottom: 1rem;
}

.officer-card-back h4 {
    font-size: 1.2rem;
    color: #555;
    margin-top: 1rem;
}

.officer-card-back p, .officer-card-back ul {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1rem;
}

.officer-card-back ul {
    list-style: disc;
    padding-left: 1.5rem;
}

/* Contact Section */
.contact {
    padding: 1rem 1rem;
    text-align: center;
    background-color: #fff;
    width: 50rem;
}

.contact h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #2e61fc;
}

.contact address p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #555;
}

.contact address a {
    color: #2e61fc;
    text-decoration: none;
}

.contact address a:hover {
    text-decoration: underline;
}
