* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: #ffffff;  /*  */
    font-family: Arial, Helvetica, sans-serif;
}

header {
    background: #ffffff;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

.logo {
    max-width: 100%;
    height: auto;
}

nav {
    margin-top: 10px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.nav-links a {
    text-decoration: none;
    color: #0055aa;
    font-weight: bold;
}

.nav-links a:hover {
    color: #003377;
}

.hero-slider {
    position: relative; /* Required for button positioning */
    width: 100%;
    overflow: hidden;
    background: #fff;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out; /* Makes the sliding smooth */
    width: max-content;
    gap: 0;
}

.slide {
    flex: 0 0 auto;
}

.slide img {
    height: 400px;
    width: auto;
    display: block;
}

#wowslider-container1 {
    position: relative;
}
/* Modern Side Navigation Buttons */
.prev-btn,
.next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 500;

    width: 64px;
    height: 64px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    border: none;

    font-size: 30px;
    color: white;

    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);

    cursor: pointer;
    transition: all 0.3s ease;
}

/* Position buttons */
.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* Hover */
.prev-btn:hover,
.next-btn:hover {
    background: #0056b3;   /* UB-style blue */
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Click effect */
.prev-btn:active,
.next-btn:active {
    transform: translateY(-50%) scale(0.95);
}





main {
    width: 90%;
    max-width: 900px;
    margin: auto;
}

.about {
    margin: 40px 0;
}

footer {
    text-align: center;
    padding: 20px;
    color: #777;
}

/* Container for each person */
.person-box {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background-color: #f7f9fc;   /* light neutral background */
    padding: 20px;
    border-radius: 8px;
    
    margin: 30px 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* This makes every SECOND box reverse its order (Image on Right) */
.person-box:nth-of-type(even) {
    flex-direction: row-reverse;
    transform: translateY(-2px);  /*new*/
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);  /*new*/
}

/* Standardizes all profile image sizes */
.profile-img {
    width: 160px;       /* Change this to your preferred width */
    height: 160px;      /* Keep width and height the same for squares */
    object-fit: cover;  /* Prevents stretching */
    border-radius: 8px; /* Optional: adds rounded corners */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.person-info {
    display: flex;
    flex-direction: column;   /* stack name → email → text */
    gap: 6px;                 /* spacing between lines */
    max-width: 700px;
}

.person-info h2 {
    margin: 0;
    font-size: 1.4rem;
    color: #222;
}

.person-info .email {
    font-size: 0.95rem;
    font-weight: bold;
    color: #0056b3;
}

.person-info p {
    margin: 6px 0 0;
    line-height: 1.5;
    color: #333;
}
/* Responsive: Stack them on top of each other on mobile phones */
@media (max-width: 768px) {
    .person-box, .person-box:nth-of-type(even) {
        flex-direction: column;
        text-align: center;
    }
}
