/* ===== VALUE PROPS / WHAT WE DO ===== */
.value-props {
    padding: 5rem 0;
    background-color: #F8F9FA;
}
.value-props__heading {
    text-align: center;
    font-size: 2rem;
    font-family: "Playfair Display", serif;
    color: #1B2A4A;
    margin-bottom: 1rem;
}
.value-props__subheading {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3rem;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.7;
}
.value-props__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.value-props__item {
    background: #fff;
    border-radius: 8px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.value-props__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.value-props__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    background-color: rgba(232, 168, 56, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}
.value-props__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1B2A4A;
    margin-bottom: 0.75rem;
}
.value-props__desc {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}
.value-props__link {
    display: inline-block;
    margin-top: 1rem;
    color: #E8A838;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}
.value-props__link:hover {
    text-decoration: underline;
}

/* ===== PROGRAM HERO ===== */
.program-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    background-color: #1B2A4A;
}
.program-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(27,42,74,0.92) 0%, rgba(27,42,74,0.5) 100%);
}
.program-hero__container {
    position: relative;
    z-index: 1;
    padding: 3rem 0;
}
.program-hero__content {
    max-width: 700px;
}
.program-hero__status {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    color: #fff;
}
.program-hero__status--upcoming { background: #E8A838; color: #1B2A4A; }
.program-hero__status--ongoing  { background: #28a745; }
.program-hero__status--completed { background: #6c757d; }
.program-hero__title {
    font-size: 2.4rem;
    font-family: "Playfair Display", serif;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.program-hero__date,
.program-hero__location {
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ===== PROGRAM DETAILS BAR ===== */
.program-details-bar {
    background: #1B2A4A;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.25rem 0;
}
.program-details-bar__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
.program-details-bar__item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.program-details-bar__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #E8A838;
    font-weight: 600;
}
.program-details-bar__value {
    color: #fff;
    font-size: 0.95rem;
}

/* ===== PROGRAM CONTENT + SIDEBAR ===== */
.program-content {
    padding: 3rem 0;
}
.program-content__grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    align-items: start;
}
.program-content__body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
}
.program-content__body h2,
.program-content__body h3,
.program-content__body h4 {
    color: #1B2A4A;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* ===== PROGRAM SIDEBAR ===== */
.program-sidebar {
    position: sticky;
    top: 2rem;
}
.program-sidebar__card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.program-sidebar__heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1B2A4A;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #E8A838;
}
.program-sidebar__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.program-sidebar__list li {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
}
.program-sidebar__list li:last-child { border-bottom: none; }
.program-sidebar__label {
    color: #777;
    font-weight: 500;
}
.program-sidebar__value {
    color: #333;
    font-weight: 600;
    text-align: right;
}
.program-sidebar__status--upcoming { color: #E8A838; }
.program-sidebar__status--ongoing  { color: #28a745; }
.program-sidebar__status--completed { color: #6c757d; }
.program-sidebar__link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.25rem;
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #1B2A4A;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    transition: background 0.2s;
}
.program-sidebar__link:hover { background: #eef1f5; }
.program-sidebar__cta {
    display: block;
    text-align: center;
    padding: 0.9rem 1.5rem;
    background: #E8A838;
    color: #1B2A4A;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}
.program-sidebar__cta:hover {
    background: #d4952e;
    transform: translateY(-1px);
}

/* ===== PROGRAM ITINERARY ===== */
.program-itinerary {
    padding: 4rem 0;
    background: #f8f9fa;
}
.program-itinerary__header {
    text-align: center;
    margin-bottom: 3rem;
}
.program-itinerary__title {
    font-size: 2rem;
    font-family: "Playfair Display", serif;
    color: #1B2A4A;
    margin-bottom: 1rem;
}
.program-itinerary__divider {
    width: 60px;
    height: 3px;
    background: #E8A838;
    margin: 0 auto;
}
.program-itinerary__content {
    max-width: 900px;
    margin: 0 auto;
}
.program-itinerary__content h3 {
    color: #1B2A4A;
    font-size: 1.3rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #E8A838;
}
.program-itinerary__content h4 {
    color: #1B2A4A;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}
.program-itinerary__content ul {
    list-style: none;
    padding-left: 1.5rem;
}
.program-itinerary__content ul li {
    position: relative;
    padding: 0.4rem 0 0.4rem 0.5rem;
    line-height: 1.7;
    color: #444;
}
.program-itinerary__content ul li::before {
    content: "";
    position: absolute;
    left: -1rem;
    top: 0.85rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #E8A838;
}
.program-itinerary__content p {
    color: #444;
    line-height: 1.8;
}

/* ===== REGISTRATION FORM ===== */
.program-register {
    padding: 4rem 0;
    background: #fff;
}
.program-register__header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.program-register__title {
    font-size: 2rem;
    font-family: "Playfair Display", serif;
    color: #1B2A4A;
    margin-bottom: 0.75rem;
}
.program-register__subtitle {
    color: #666;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto 1rem;
}
.program-register__divider {
    width: 60px;
    height: 3px;
    background: #E8A838;
    margin: 0 auto;
}
.program-register__form-wrapper {
    max-width: 700px;
    margin: 0 auto;
}
.program-register__fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.program-register__field--half { grid-column: span 1; }
.program-register__field--full { grid-column: span 2; }
.program-register__field label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1B2A4A;
    margin-bottom: 0.4rem;
}
.program-register__field label .required { color: #e74c3c; }
.program-register__field input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.program-register__field input:focus {
    outline: none;
    border-color: #E8A838;
    box-shadow: 0 0 0 3px rgba(232,168,56,0.15);
}
.program-register__field input.field-error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231,76,60,0.1);
}
.program-register__submit {
    text-align: center;
    margin-top: 2rem;
}
.program-register__btn {
    display: inline-block;
    padding: 0.9rem 3rem;
    background: #E8A838;
    color: #1B2A4A;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.program-register__btn:hover {
    background: #d4952e;
    transform: translateY(-1px);
}
.program-register__btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.program-register__messages {
    padding: 1rem 1.25rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}
.program-register__messages--success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.program-register__messages--error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ===== RELATED PROGRAMS ===== */
.related-programs {
    padding: 4rem 0;
    background: #f8f9fa;
}
.related-programs__title {
    font-size: 1.8rem;
    font-family: "Playfair Display", serif;
    color: #1B2A4A;
    text-align: center;
    margin-bottom: 2.5rem;
}
.related-programs__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.related-programs__card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}
.related-programs__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.related-programs__image {
    position: relative;
    overflow: hidden;
    height: 180px;
}
.related-programs__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.related-programs__status {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
}
.related-programs__status--upcoming { background: #E8A838; color: #1B2A4A; }
.related-programs__status--ongoing  { background: #28a745; }
.related-programs__status--completed { background: #6c757d; }
.related-programs__body { padding: 1.25rem; }
.related-programs__name {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}
.related-programs__name a {
    color: #1B2A4A;
    text-decoration: none;
}
.related-programs__name a:hover { color: #E8A838; }
.related-programs__date,
.related-programs__location {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 0.25rem;
}
.related-programs__link {
    display: inline-block;
    margin-top: 0.75rem;
    color: #E8A838;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}
.related-programs__link:hover { text-decoration: underline; }

/* ===== PROGRAMS ARCHIVE ===== */
.programs-header {
    background: #1B2A4A;
    padding: 3rem 0 2rem;
    color: #fff;
}
.programs-header__title {
    font-size: 2.4rem;
    font-family: "Playfair Display", serif;
    margin-bottom: 0.75rem;
}
.programs-header__description {
    color: rgba(255,255,255,0.75);
    font-size: 1.1rem;
    max-width: 600px;
}
.programs-filters {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 10;
}
.programs-filters__tabs {
    display: flex;
    gap: 0;
}
.programs-filters__tab {
    padding: 1rem 1.5rem;
    color: #666;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}
.programs-filters__tab:hover { color: #1B2A4A; }
.programs-filters__tab--active {
    color: #1B2A4A;
    font-weight: 700;
    border-bottom-color: #E8A838;
}
.programs-listing {
    padding: 3rem 0;
}
.program-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.program-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}
.program-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.program-card__img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.programs-listing__empty {
    text-align: center;
    padding: 4rem 2rem;
}
.programs-listing__empty h2 {
    color: #1B2A4A;
    margin-bottom: 1rem;
}
.programs-listing__reset-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 2rem;
    background: #E8A838;
    color: #1B2A4A;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .program-content__grid { grid-template-columns: 1fr; }
    .program-sidebar { position: static; }
    .related-programs__grid { grid-template-columns: repeat(2, 1fr); }
    .program-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .value-props__grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .value-props { padding: 3rem 0; }
    .value-props__heading { font-size: 1.6rem; }
    .program-hero__title { font-size: 1.8rem; }
    .program-details-bar__grid { flex-direction: column; gap: 1rem; }
    .program-register__fields { grid-template-columns: 1fr; }
    .program-register__field--half,
    .program-register__field--full { grid-column: span 1; }
    .related-programs__grid,
    .program-grid { grid-template-columns: 1fr; }
}

/* =============================================
   TEAM SECTION
   ============================================= */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.team-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-align: center;
    padding: 2rem 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.team-card__photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 3px solid #E8A838;
}

.team-card__name {
    font-family: "Playfair Display", serif;
    font-size: 1.25rem;
    color: #1B2A4A;
    margin-bottom: 0.25rem;
}

.team-card__title {
    color: #E8A838;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.team-card__bio {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* =============================================
   PARTNERS / LOGOS SECTION
   ============================================= */
.partners-section {
    padding: 3rem 0;
    background: #f8f9fa;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin: 2rem 0;
}

.partners-grid__item {
    max-width: 180px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partners-grid__item:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.partners-grid__item img {
    max-width: 100%;
    height: auto;
}

/* =============================================
   BLOG CARDS ENHANCED
   ============================================= */
.post-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.post-card__thumbnail {
    position: relative;
    overflow: hidden;
}

.post-card__content {
    padding: 1.25rem;
}

/* =============================================
   PROGRAM LISTING SECTION TITLES
   ============================================= */
.programs-listing__section-title {
    font-family: "Playfair Display", serif;
    font-size: 1.5rem;
    color: #1B2A4A;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #E8A838;
}

/* =============================================
   RESPONSIVE — TEAM
   ============================================= */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =============================================
   GALLERY PAGE
   ============================================= */
.gallery-header {
    background: #1B2A4A;
    color: #fff;
    padding: 3rem 0 2rem;
    text-align: center;
}

.gallery-header__title {
    font-family: "Playfair Display", serif;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.gallery-header__description {
    font-size: 1.1rem;
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto;
}

/* Gallery Filters */
.gallery-filters {
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem 0;
}

.gallery-filters__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.gallery-filters__tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
    background: #fff;
    border: 1px solid #ddd;
    transition: all 0.2s ease;
}

.gallery-filters__tab:hover {
    color: #1B2A4A;
    border-color: #1B2A4A;
}

.gallery-filters__tab--active {
    background: #1B2A4A;
    color: #fff;
    border-color: #1B2A4A;
}

.gallery-filters__count {
    background: rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 2px 8px;
    font-size: 0.75rem;
}

.gallery-filters__tab--active .gallery-filters__count {
    background: rgba(255,255,255,0.2);
}

/* Gallery Grid */
.gallery-listing {
    padding: 2rem 0 4rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.gallery-grid__item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4 / 3;
    background: #f0f0f0;
}

.gallery-grid__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.gallery-grid__item:hover .gallery-grid__img {
    transform: scale(1.05);
}

.gallery-grid__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 1rem 1rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-grid__item:hover .gallery-grid__overlay {
    opacity: 1;
}

.gallery-grid__caption {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Empty State */
.gallery-listing__empty {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.gallery-listing__empty-icon {
    margin-bottom: 1.5rem;
}

.gallery-listing__empty h2 {
    font-family: "Playfair Display", serif;
    color: #1B2A4A;
    margin-bottom: 0.75rem;
}

.gallery-listing__empty p {
    color: #666;
    line-height: 1.7;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10001;
    line-height: 1;
    padding: 0;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.lightbox__close:hover { opacity: 1; }

.lightbox__prev,
.lightbox__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    padding: 1rem 1.25rem;
    border-radius: 4px;
    opacity: 0.7;
    transition: opacity 0.2s, background 0.2s;
    z-index: 10001;
}

.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }

.lightbox__prev:hover,
.lightbox__next:hover {
    opacity: 1;
    background: rgba(255,255,255,0.2);
}

.lightbox__content {
    max-width: 90vw;
    max-height: 85vh;
    text-align: center;
}

.lightbox__img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox__caption {
    color: #ccc;
    font-size: 0.95rem;
    margin-top: 1rem;
    padding: 0 2rem;
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .gallery-header__title {
        font-size: 1.8rem;
    }

    .lightbox__prev,
    .lightbox__next {
        padding: 0.75rem 1rem;
        font-size: 1.5rem;
    }

    .lightbox__prev { left: 8px; }
    .lightbox__next { right: 8px; }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
