/* =============================================
   PROGRAMS PAGE STYLES
   ============================================= */

/* Page-level overrides */
.programs-page {
    padding-top: 80px; /* For fixed navbar */
}

.programs-page .navbar-42 {
    opacity: 1 !important;
    visibility: visible !important;
}

/* =============================================
   HERO SECTION
   ============================================= */
.prog-hero {
    background: #f4f7fa;
    padding: 90px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 520px;
}

/* D-shape - flat side at top, rounded bottom (brand color) */
/* .prog-hero-dshape {
    position: absolute;
    top: 0;
    right: 120px;
    width: 180px;
    height: 260px;
    background: var(--color-secondary);
    border-radius: 0 0 90px 90px;
    opacity: 0.15;
    z-index: 0;
} */

/* Gold D-shape accent - slightly overlapping */
/* .prog-hero-accent {
    position: absolute;
    top: 0;
    right: 60px;
    width: 140px;
    height: 200px;
    background: var(--color-gold);
    border-radius: 0 0 70px 70px;
    opacity: 0.7;
    z-index: 1;
} */

.prog-hero .container {
    position: relative;
    z-index: 2;
}

.prog-hero-content {
    padding-right: 40px;
}

.prog-hero-title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 20px;
    line-height: 1.15;
}

.prog-hero-desc {
    font-family: var(--font-body);
    font-size: 18px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.prog-hero-detail {
    font-family: var(--font-body);
    font-size: 15px;
    color: #999;
    line-height: 1.7;
}

/* Info Card - top-right 48px radius, rest square */
.prog-info-card {
    background: #ffffff;
    border-radius: 0 48px 0 0 !important;
    padding: 35px 30px;
    border: 1px solid #e5e5e5;
    position: relative;
    overflow: hidden;
}

.prog-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}

.prog-info-item:last-of-type {
    border-bottom: none;
}

.prog-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e8ecf0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.prog-info-icon i {
    font-size: 16px;
    color: var(--color-secondary);
}

.prog-info-label {
    display: block;
    font-family: var(--font-body);
    font-size: 12px;
    color: #999;
    text-transform: capitalize;
    letter-spacing: 0.3px;
    margin-bottom: 2px;
}

.prog-info-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-dark);
}

.prog-enroll-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--color-gold);
    color: var(--color-gold-dark) !important;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    padding: 14px 36px;
    border-radius: 50px 50px 50px 0;
    text-decoration: none;
    margin-top: 25px;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(232, 180, 75, 0.3);
}

.prog-enroll-btn:hover {
    background: #d4a043;
    color: var(--color-gold-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 180, 75, 0.4);
}

/* =============================================
   KEY PROGRAM TAKEAWAYS
   ============================================= */
.prog-takeaways {
    background: #ffffff;
    padding-top: 80px;
    padding-bottom: 0px;
}

.prog-section-label {
    display: block;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-secondary);
    margin-bottom: 15px;
}

.prog-section-title {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.prog-section-desc {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-dark);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* =============================================
   FEATURES GRID
   ============================================= */
.prog-features {
    background: #ffffff;
    padding-bottom: 80px;

}

.prog-feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 0;
}

/* D-shape icon container - same as program-icon in index.html */
.prog-feature-icon {
    position: relative;
    width: 80px;
    height: 70px;
    flex-shrink: 0;
}

/* The D shape background - flat bottom, rounded top */
.prog-feature-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #F1F4F9;
    border-radius: 40px 40px 0 0;
    z-index: 0;
}

/* Icon sits on top, popping out above the D */
.prog-feature-icon i,
.prog-feature-icon svg,
.prog-feature-icon .svg-inline--fa {
    position: absolute !important;
    top: -2px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 2 !important;
    font-size: 42px !important;
    width: 42px !important;
    height: 42px !important;
    color: var(--color-secondary) !important;
    transition: transform 0.3s ease !important;
}

.prog-feature-item:hover .prog-feature-icon i,
.prog-feature-item:hover .prog-feature-icon svg,
.prog-feature-item:hover .prog-feature-icon .svg-inline--fa {
    transform: translateX(-50%) translateY(-6px) !important;
}

.prog-feature-text h5 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0 0 4px 0;
}

.prog-feature-text p {
    font-family: var(--font-body);
    font-size: 14px;
    color: #888;
    margin: 0;
}

/* =============================================
   LIST OF MAJORS
   ============================================= */
.prog-majors {
    background: #f4f7fa;
    padding: 90px 0 40px;
    position: relative;
    overflow: hidden;
}

/* Large curved bg shape on the right */
/* .prog-majors::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -150px;
    width: 500px;
    height: 700px;
    background: #f5f1e8;
    border-radius: 250px;
    z-index: 0;
    opacity: 0.7;
} */

.prog-majors .container {
    position: relative;
    z-index: 1;
}

.prog-majors-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 40px;
}

.prog-majors-wrapper {
    position: relative;
}

/* Major Card - top-right 48px, rest sharp */
.prog-major-card {
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 0 48px 0 0 !important;
    padding: 30px 25px;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.prog-major-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.prog-major-number {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-dark);
    display: block;
    margin-bottom: 15px;
}

.prog-major-name {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 15px;
}

.prog-major-desc {
    font-family: var(--font-body);
    font-size: 14px;
    color: #777;
    line-height: 1.7;
    flex: 1;
}

.prog-major-link {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    color: var(--color-accent);
    text-decoration: none;
    margin-top: 20px;
    display: inline-block;
    transition: color 0.3s ease;
}

.prog-major-link:hover {
    color: var(--color-primary);
}

.prog-major-link i {
    margin-left: 8px;
    font-size: 13px;
    transition: transform 0.3s ease;
}

.prog-major-link:hover i {
    transform: translateX(4px);
}

/* Majors Nav Arrows - same style as programs-nav in index.html */
.prog-majors-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}

.prog-majors-prev,
.prog-majors-next {
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    outline: none;
}

.prog-majors-prev:focus,
.prog-majors-next:focus {
    outline: none;
}

.prog-majors-prev img,
.prog-majors-next img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.prog-majors-prev:hover img,
.prog-majors-next:hover img {
    transform: scale(1.1);
}

/* Hide default Owl Carousel arrows */
.prog-majors-slider .owl-nav {
    display: none !important;
}

/* =============================================
   BENTO GRID SECTION
   ============================================= */
.bento-section {
    padding: 60px 0 40px;
    background: #f4f7fa;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 16px;
}

.bento-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid #e8ecf0;
    background: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* Card 1: Why This Program - spans 2 cols */
.bento-why {
    grid-column: span 2;
    padding: 32px;
    background: linear-gradient(135deg, #f8fbff 0%, #eef4fb 100%);
}

.bento-why-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0 0 24px;
}

.bento-why-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bento-why-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.bento-why-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(25, 96, 128, 0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.bento-why-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0 0 2px;
}

.bento-why-desc {
    font-size: 13px;
    color: #8896a6;
    margin: 0;
    line-height: 1.4;
}

/* Topic cards (1x1) */
.bento-topic {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.bento-topic-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}

.bento-topic-purple .bento-topic-icon {
    background: rgba(139, 92, 246, 0.12);
    color: #8b5cf6;
}

.bento-topic-teal .bento-topic-icon {
    background: rgba(25, 96, 128, 0.12);
    color: var(--color-primary);
}

.bento-topic-green .bento-topic-icon {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
}

.bento-topic-gold .bento-topic-icon {
    background: rgba(202, 138, 4, 0.12);
    color: var(--color-gold);
}

.bento-topic-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0 0 8px;
}

.bento-topic-desc {
    font-size: 14px;
    color: #8896a6;
    margin: 0;
    line-height: 1.5;
}

/* Card 4: Student Review - spans 2 rows */
.bento-review {
    grid-row: span 2;
    padding: 32px;
    background: var(--color-gold);
    border-color: var(--color-gold);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-review-quote-mark {
    font-family: Georgia, serif;
    font-size: 72px;
    line-height: 0.8;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 8px;
}

.bento-review-text {
    font-size: 18px;
    font-style: italic;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.65;
    margin: 0 0 24px;
    border: none;
    padding: 0;
}

.bento-review-author {
    margin-top: auto;
}

.bento-review-name {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 2px;
}

.bento-review-role {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Tall topic card - spans 2 rows */
.bento-tall {
    grid-row: span 2;
}

.bento-topic-nlp .bento-topic-icon {
    background: rgba(59, 130, 246, 0.12);
    color: #3b82f6;
}

.bento-nlp-visual {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 20px;
}

.bento-nlp-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(59, 130, 246, 0.08);
    color: #3b82f6;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.15);
}

/* Card 8: Certification - spans 2 cols */
.bento-cert {
    grid-column: span 2;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.bento-cert-content {
    flex: 1;
}

.bento-cert-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}

.bento-cert-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    line-height: 1.5;
}

.bento-cert-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 16px 20px;
    flex-shrink: 0;
}

.bento-cert-icon {
    font-size: 32px;
    color: var(--color-gold);
}

.bento-cert-label {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bento-cert-name {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

/* Bento responsive */
@media (max-width: 991px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-review,
    .bento-tall {
        grid-row: span 1;
        min-height: 280px;
    }
}

@media (max-width: 575px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-why,
    .bento-cert {
        grid-column: span 1;
    }
    .bento-cert {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =============================================
   CERTIFICATE SECTION
   ============================================= */
.prog-certificate {
    background: #1a1a2e;
    padding: 80px 0;
}

.prog-cert-icon {
    width: 80px;
    height: 80px;
    background: var(--color-secondary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.prog-cert-icon i {
    font-size: 36px;
    color: #ffffff;
}

.prog-cert-label {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

.prog-cert-logo {
    text-align: center;
}

.prog-cert-logo img {
    max-height: 100px;
    width: auto;
}

.prog-cert-uni-name {
    font-family: var(--font-heading);
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
    line-height: 1.5;
}

.prog-cert-uni-name strong {
    font-size: 28px;
    color: #ffffff;
    display: block;
    margin-bottom: 5px;
}

/* =============================================
   OWL CAROUSEL OVERRIDES FOR PROGRAMS PAGE
   ============================================= */
.prog-majors-slider .owl-stage-outer {
    overflow: visible;
}

.prog-majors-slider .owl-stage {
    display: flex;
    align-items: stretch;
}

.prog-majors-slider .owl-item {
    display: flex;
}

.prog-majors-slider .owl-item .prog-major-card {
    width: 100%;
}
