.about-pipa-hero {
    min-height: 54vh;
    height: 54vh;
    /* background: #1c1e2a; */
    overflow: hidden;
    position: relative;
    color: #fff;
}

.about-pipa-hero-bg {
    object-fit: cover;
    object-position: 80% center;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    filter: brightness(0.60) blur(1.5px);
}

.display-4 {
    font-family: var(--font-montserrat-bold);
}

.about-pipa-section {
    background: #de5b55;
    color: white;
    position: relative;
    overflow: hidden;
}

.about-pipa-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(231, 76, 60, 0.1);
    z-index: 1;
}

.about-pipa-section .container {
    position: relative;
    z-index: 2;
}

.pipa-image-container {
    position: relative;
}

.pipa-title-icon {
    height: 1em;
    /* This makes the image height equal to the font size */
    width: auto;
    /* Maintains aspect ratio */
    margin-left: 0.3em;
    /* Small space between PIPA text and image */
    vertical-align: baseline;
    /* Aligns with text baseline */
    display: inline-block;
    object-fit: contain;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
    /* Matches text shadow */
}

.pipa-main-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    /* box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2); */
    transition: transform 0.3s ease;
}

.pipa-main-image:hover {
    /* transform: scale(1.02); */
}

.pipa-content-wrapper {
    padding-left: 2rem;
}

.pipa-main-title {
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
    font-family: var(--font-prompt);
    /* font-size: 3rem; */
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pipa-highlight {
    /* color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); */
}

.pipa-text {
    font-size: 1rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.95);
    text-align: justify;
    font-weight: 400;
    margin-bottom: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* .pipa-programs-grid {
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.program-card {
    background: #fff;
    border: 1.5px solid #ececf7;
    transition: box-shadow 0.3s, transform 0.2s;
}


.program-card:hover {
    box-shadow: 0 8px 32px rgba(56, 56, 116, 0.10);
    transform: scale(1.025) rotate(2deg);
}

.program-title {
    font-family: var(--font-prompt);
    font-weight: 800;
}

.program-card p {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 0;
}


.program-card .program-duration {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.5rem;
} */

.pipa-programs-grid {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}


.program-card {
    position: relative;
    border-left: 7px solid transparent;
    border-radius: 1.6rem;
    background: #fff;
    box-shadow: 0 4px 24px 0 rgba(60, 55, 120, 0.08);
    transition: transform 0.3s, box-shadow 0.21s, border-color 0.24s;
    overflow: hidden;
}


.program-card .program-icon {
    position: absolute;
    top: 1.1rem;
    left: 1.2rem;
    font-size: 2.5rem;
    width: 3.2rem;
    height: 3.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.1rem;
    box-shadow: 0 4px 12px rgba(255, 214, 102, 0.12);
    z-index: 2;
}


.program-card .program-title {
    font-weight: 800;
    font-family: var(--font-prompt);
    font-size: 1.3rem;
    margin-top: 4rem !important;

}


.program-duration {
    font-size: 1.02rem;
    color: #444;
}


.program-card:hover {
    transform: scale(1.03) rotateZ(-2.5deg);
    box-shadow: 0 14px 38px 0 rgba(52, 61, 110, 0.19);
    z-index: 2;
}

.program-card p {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 0;
    font-family: var(--font-montserrat);
}



.program-card.border-primary {
    border-left-color: #3764e5 !important;
}


.program-card.border-success {
    border-left-color: #16a34a !important;
}


.program-card.border-warning {
    border-left-color: #ffd249 !important;
}


.program-card.border-danger {
    border-left-color: #ff6565 !important;
}


@media (max-width: 991.98px) {
    .pipa-programs-grid {
        margin: 1.5rem 0;
    }


    .program-card {
        border-radius: 1.1rem;
    }


    .program-card .program-title {
        font-size: 1.4rem;
    }
}


@media (max-width: 575.98px) {
    .pipa-programs-grid {
        margin: 0.7rem 0;
    }


    .program-card {
        padding: 1.1rem 0.6rem;
        border-radius: 0.85rem;
    }


    .program-card .program-icon {
        left: 1rem;
        top: 0.9rem;
        font-size: 2.1rem;
    }


    .program-card .program-title {
        margin-top: 3.5rem !important;
        font-size: 1.2rem;
    }
}



@media (max-width : 400px) {
    .nav-logo {
        width: 220px;
        padding-block: 5px;
    }
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .pipa-content-wrapper {
        padding-left: 0;
        margin-top: 2rem;
        text-align: center;
    }

    .pipa-main-title {
        font-size: 2.8rem;
    }

    .pipa-text {
        text-align: justify;
    }
}

@media (max-width: 767.98px) {


    .pipa-text {
        font-size: 0.95rem;
    }

    .pipa-programs-grid {
        margin-top: 3rem;
    }
}

@media (max-width: 575.98px) {
    .pipa-main-title {
        font-size: 2.3rem;
    }

    .about-pipa-section {
        padding: 3rem 0;
    }

    .program-card {
        padding: 1.1rem 0.6rem;
        border-radius: 0.85rem;
    }
}

/* Programs Section Styling */
.programs-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.programs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.programs-section .container {
    position: relative;
    z-index: 2;
}

/* Section Header */
.programs-header {
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    margin-bottom: 1rem;
}

.badge-text {
    background: linear-gradient(135deg, #1976d2 0%, #003e6d 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.programs-main-title {
    font-family: var(--font-prompt, 'Prompt', sans-serif);
    font-size: 3rem;
    font-weight: 800;
    color: #1a202c;
    margin-block: 1rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.programs-highlight {
    background: linear-gradient(135deg, #1976d2 0%, #003e6d 100%);

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.programs-subtitle {
    font-size: 1.2rem;
    color: #4a5568;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 0 auto;
    border-radius: 2px;
}

/* Program Cards */
.programs-grid {
    /* gap: 2rem; */

}

.program-card-elegant {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    padding: 0;
    height: 100%;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow:
        0 4px 25px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.program-card-elegant:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.program-card-elegant:hover .card-glow {
    opacity: 1;
}

/* Theme Colors */
.certificate-theme {
    --theme-color: #667eea;
    --theme-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.diploma-theme {
    --theme-color: #f093fb;
    --theme-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.bachelor-theme {
    --theme-color: #4facfe;
    --theme-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.bachelor-hons-theme {
    --theme-color: #ffe066;
    --theme-gradient: linear-gradient(135deg, #f7971e 0%, #ffd200 100%);
}

.master-theme {
    --theme-color: #43e97b;
    --theme-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.card-header-elegant {
    padding: 2rem 2rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.program-icon-elegant {
    width: 60px;
    height: 60px;
    background: var(--theme-gradient);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.program-card-elegant:hover .program-icon-elegant {
    transform: scale(1.1) rotate(5deg);
}

.program-level {
    background: var(--theme-gradient);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.card-body-elegant {
    padding: 0 2rem 2rem;
}

.program-title-elegant {
    font-family: var(--font-prompt, 'Prompt', sans-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.program-duration-elegant {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    font-weight: 600;
    color: #2d3748;
    font-size: 0.95rem;
    width: fit-content;
}

.program-duration-elegant i {
    color: var(--theme-color);
}

.program-description-elegant {
    font-family: var(--font-montserrat, 'Montserrat', sans-serif);
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.program-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: var(--theme-color);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(102, 126, 234, 0.2);
}





/* Responsive Design */
@media (max-width: 1199.98px) {
    .programs-grid {
        gap: 1rem;
    }
}

@media (max-width: 991.98px) {
    .programs-main-title {
        font-size: 2.8rem;
    }

    .programs-subtitle {
        font-size: 1.1rem;
    }

    .card-header-elegant {
        padding: 1.5rem 1.5rem 1rem;
    }

    .card-body-elegant {
        padding: 0 1.5rem 1.5rem;
    }

    .programs-grid {
        gap: 0rem;
    }
}

@media (max-width: 767.98px) {
    .programs-main-title {
        font-size: 2.2rem;
    }

    .programs-subtitle {
        font-size: 1rem;
    }

    .program-icon-elegant {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .program-title-elegant {
        font-size: 1.2rem;
    }
}

@media (max-width: 575.98px) {
    .programs-main-title {
        font-size: 1.8rem;
    }

    .card-header-elegant {
        padding: 1.2rem 1.2rem 0.8rem;
        /* flex-direction: column; */
        gap: 1rem;
    }

    .card-body-elegant {
        padding: 0 1.2rem 1.2rem;
    }

    .program-features {
        justify-content: center;
    }
}

/* Updated About PIPA CSS (remove program-related styles) */
.about-pipa-section {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.pipa-title-icon {
    height: 1em;
    width: auto;
    margin-left: 0.5em;
    vertical-align: baseline;
    display: inline-block;
    object-fit: contain;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));


}


.pipa-title-icon {
    display: none;
}