.leadership-banner-section {
    margin-top: 5rem;
    position: relative;   /* allows overlay */
    width: 100%;
    overflow: hidden;     /* prevent horizontal scroll */
}

.leadership-heading {
    position: absolute;
    top: 50%;
    transform: translateY(-50%); /* shift up by half its height */
    left: 4rem;           /* distance from left of image */
    z-index: 10;          /* stays on top */
    font-size: 3rem;
}

.leadership-banner {
    width: 100%;
    height: 50vh;       /* half of viewport height */
    object-fit: cover;  /* image fills container, may crop edges */
}

.leadership-cycle-section {
    width: 100%;
    text-align: center;
    margin-top: 2rem;    /* more space above */
    margin-bottom: 0rem; /* less space below */
}

.leadership-cycle-img {
    width: 50%;
    max-width: 100%;
}

/* Mobile responsiveness */
@media (max-width: 1000px) {
    .leadership-cycle-img {
        width: 90%;
    }

    .leadership-heading {
    position: absolute;
    top: 10rem;            /* distance from top of image */
    left: 2rem;           /* distance from left of image */
    text-align: left;
    width: 40%;        /* ⬅️ heading wraps inside 40% of screen */
}

    
}


/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%-- Program Design --%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/

.program-design-section {
    display: flex;
    width: 100%;
    min-height: 80vh;
    margin: 0rem 0;
    text-align: left;
    align-items: center;     /* vertical centering of columns */
}

/* LEFT COLUMN */
.program-left {
    width: 40%;
    display: flex;
    flex-direction: column;  /* stack content vertically */
    justify-content: center; /* vertical centering */
    align-items: center; /* left align content */
    padding-left: 2rem;
    text-align: left;
}

.program-left .impact-heading {
    font-size: 3rem;   /* change to any size you want */
    text-align: left;
}

/* RIGHT COLUMN */
.program-right {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-right: 10rem;
    align-items: flex-end;
}

/* BOXES */
.program-box {
    display: flex;
    align-items: stretch;
    color: white;
    padding: 1.5rem;
    min-height: 150px;
    min-width: 500px;
    width: 70%;
}

.box1 { background-color: rgb(156, 175, 204); }
.box2 { background-color: rgb(144, 156, 47); }
.box3 { background-color: rgb(120, 48, 53); }

/* NUMBER SECTION */
.num {
    width: 20%;
    font-family: 'Open Sans', sans-serif;
    font-size: 4rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}

/* DIVIDER */
.divider {
    width: 2px;
    background-color: white;
    margin: 0 1rem;
}

/* HEADING + TEXT */
.content {
    width: 80%;
}

.box-heading {
    font-family: 'Glacial', sans-serif;
    font-size: 1.3rem;
    margin: 0 0 0.5rem 0;
    font-weight: bold;
}

.box-text {
    font-family: 'Aileron', sans-serif;
    font-size: 1rem;
    margin: 0;
}

@media (max-width: 1200px) {
    .program-right {
        padding-right: 5rem;
}
}


@media (max-width: 1000px) {
    .program-design-section {
        flex-direction: column;
        gap: 2rem;
        align-items: center; /* center all columns horizontally */
    }

    /* CENTER THE HEADING */
    .program-left {
        width: 100%;
        padding-left: 0;   /* remove left padding */
        align-items: center;  /* center horizontally */
        text-align: center;
    }

    .program-left .impact-heading {
        font-size: 2.5rem; /* smaller for mobile */
        text-align: center;
        margin-top: 1rem;
    }

    .program-right {
        width: 100%;
        padding-right: 0;
        align-items: center;  /* center all boxes */
    }

    /* STACK BOX CONTENT VERTICALLY */
    .program-box {
        flex-direction: column; /* stack number, heading, text */
        width: 80%;             /* take most of the screen */
        text-align: center;     /* center content */
        padding: 1rem;
        min-width: 300;
    }

    .num {
        width: 100%;            /* full width */
        font-size: 3rem;
        margin-bottom: 0.5rem;  /* space below number */
        justify-content: center; /* center number horizontally */
    }

    .divider {
        display: none;          /* hide vertical line on mobile */
    }

    .content {
        width: 100%;
    }

    .box-heading {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .box-text {
        font-size: 1rem;
    }
}



/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%-- Program Format --%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/

.program-info-section {
    display: flex;
    width: 100%;
    max-width: 1200px;      /* limit page width */
    margin: 3rem auto;      /* center on page */
    padding: 0 2rem;        /* left/right spacing */
    gap: 2rem;
}

/* LEFT COLUMN */
.info-left {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-left: 4rem;
}

/* ROWS */
.info-row {
    display: flex;
    gap: 1rem;
    width: 100%;
}

/* BOXES */
.info-box {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 10px;
    font-family: 'Glacial', sans-serif;
    padding: 1rem;
    color: white;
    font-weight: bold;
}

/* FIRST ROW BOXES: 30%-70% height */
.first-row .box1 { flex: 3; background-color: rgb(226, 226, 226); color: black; height: 100px;}
.first-row .box2 { flex: 7; background-color: rgb(120, 48, 53); height: 200px;}

/* SECOND ROW BOXES: 50%-50% height */
.second-row .box3 { flex: 5; background-color: rgb(22, 112, 183); height: 300px; margin-top: -100px;}
.second-row .box4 { flex: 5; background-color: rgb(144, 156, 47); height: 200px;}

/* Equal width for boxes in row */
.info-row .info-box {
    flex-basis: 50%;
}

/* HEADING INSIDE BOXES */
.info-box .box-heading {
    margin: 0;
    font-size: 1.2rem;
}

.button-row {
    width: 100%;
    display: flex;
    justify-content: center; /* centers the button horizontally */
}

/* REGISTER BUTTON */
.register-btn {
    font-family: 'Aileron', sans-serif;
    font-size: 1.1rem;
    padding: 0.8rem 5rem;
    border: none;
    border-radius: 30px;
    background-color: rgb(0, 53, 122);
    color: white;
    cursor: pointer;
    align-self: center;
    font-weight: bold;
    transition: transform 0.25s ease, box-shadow 0.25s ease, text-decoration 0.25s ease;
}

.register-btn:hover {
    transform: scale(1.07);
    text-decoration: underline;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

/* RIGHT COLUMN */
.info-right {
    width: 40%;
    display: flex;
    justify-content: flex-end; /* right align */
    align-items: center;       /* vertical center */
}

.info-right .impact-heading {
    text-align: right;
    font-size: 2.5rem;
}

@media (max-width: 992px) {
    /* Stack all columns vertically */
    .program-info-section {
        flex-direction: column;
        align-items: center;  /* center columns horizontally */
        gap: 2rem;
        padding: 0 1.5rem;
    }

    /* Right column heading first and centered */
    .info-right {
        width: 100%;
        justify-content: center;  /* center heading horizontally */
        align-items: center;
        order: -1;                /* move heading above boxes */
    }

    .info-right .impact-heading {
        text-align: center;
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    /* Left column full width */
    .info-left {
        width: 60%;
        padding-left: 0;
        gap: 1rem;
    }

    /* Stack rows vertically */
    .info-row {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    /* Boxes full width */
    .info-row .info-box {
        flex-basis: 100% !important;
        height: auto;  /* let content determine height on mobile */
        margin-top: 0; /* remove overlap */
    }

    /* Button row stays centered */
    .button-row {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    /* Adjust button for smaller screens */
    .register-btn {
        padding: 0.8rem 3rem;
        font-size: 1rem;
    }

    .info-box .box-heading {
    margin: 0;
    font-size: 1rem;
}
}




/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%-- Photo Grid --%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/

.leadership-photos-section {
    width: 100%;
    max-width: 1200px;
    margin: 5rem auto;
    padding: 0 2rem;
}


.photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    grid-gap: 1rem;                     /* space between images */
}

.photo-grid .photo {
    width: 100%;
    height: 300px;           /* fixed height, adjust as needed */
    object-fit: cover;       /* ensures image covers box without stretching */
    border-radius: 10px;     /* optional rounded corners */
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .photo-grid {
        grid-template-columns: 1fr; /* stack vertically on mobile */
        grid-gap: 1rem;
    }

    .photo-grid .photo {
        height: 250px;
    }
}
