/* =====================================================
   PROGRAMS & PROFESSIONAL DEVELOPMENT
   WINTER CMS STANDALONE STYLESHEET
   PREFIX: ppd-
===================================================== */

/* 1. BASE */
.ppd-page {
    width: 100%;
    color: #071a43;
    font-family: inherit;
    overflow: hidden;
}

.ppd-page *,
.ppd-page *::before,
.ppd-page *::after {
    box-sizing: border-box;
}

.ppd-container {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
}

/* 2. TYPOGRAPHY */
.ppd-page h1,
.ppd-page h2,
.ppd-page h3,
.ppd-page h4 {
    font-family: inherit;
}

.ppd-page h1,
.ppd-page h2 {
    color: #071a43 !important;
    font-weight: 700;
    line-height: 1.2;
}

.ppd-page h3 {
    color: #071a43 !important;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
}

.ppd-page p {
    color: #4c5a70 !important;
    font-size: 17px;
    line-height: 1.85;
}

.ppd-eyebrow {
    display: inline-block;
    margin-bottom: 15px;
    color: #80e387 !important;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.5;
    text-transform: uppercase;
}

/* 3. HERO / INTRO */
.ppd-hero {
    position: relative;
    padding: 100px 0 95px;
    background: #071a43;
    overflow: hidden;
}

.ppd-hero::after {
    content: "";
    position: absolute;
    width: 430px;
    height: 430px;
    right: -110px;
    top: -180px;
    border: 1px solid rgba(128, 227, 135, .28);
    border-radius: 50%;
    box-shadow: 0 0 0 45px rgba(128, 227, 135, .045),
                0 0 0 90px rgba(128, 227, 135, .035);
    pointer-events: none;
}

.ppd-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.ppd-hero h1 {
    margin: 0 0 22px;
    color: #ffffff !important;
    font-size: 56px;
}

.ppd-hero p {
    max-width: 820px;
    margin: 0;
    color: #ffffff !important;
    font-size: 19px;
    line-height: 1.85;
}

/* 4. PROGRAM SECTION */
.ppd-section {
    padding: 90px 0;
    background: #ffffff;
}

.ppd-section-heading {
    max-width: 850px;
    margin: 0 auto 50px;
    text-align: center;
}

.ppd-section-heading h2 {
    margin: 0 0 17px;
    font-size: 56px;
}

.ppd-section-heading p {
    margin: 0;
}

/* 5. CATEGORY CARDS */
.ppd-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.ppd-card {
    grid-column: span 2;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 30px 28px;
    background: #ffffff;
    border: 1px solid #e4ebe7;
    border-radius: 14px;
    box-shadow: 0 8px 26px rgba(7, 26, 67, .035);
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.ppd-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.ppd-card:nth-child(5) {
    grid-column: 4 / span 2;
}

.ppd-card:hover {
    transform: translateY(-6px);
    border-color: #80e387;
    box-shadow: 0 15px 36px rgba(7, 26, 67, .09);
}

.ppd-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
}

.ppd-card-number {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    background: #eaf9ec;
    color: #071a43;
    font-size: 15px;
    font-weight: 700;
}

.ppd-card-label {
    color: #64748b;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-align: right;
}

.ppd-card h3 {
    margin: 0 0 13px;
    font-size: 23px;
}

.ppd-card-intro {
    min-height: 112px;
    margin: 0 0 22px;
    font-size: 15px !important;
    line-height: 1.75 !important;
}

.ppd-program-list-wrap {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #e8eee9;
}

.ppd-program-list-wrap h4 {
    margin: 0 0 14px;
    color: #071a43;
    font-size: 15px;
    font-weight: 700;
}

.ppd-program-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ppd-program-list li {
    position: relative;
    margin: 0 0 10px;
    padding-left: 21px;
    color: #455468;
    font-size: 14px;
    line-height: 1.55;
}

.ppd-program-list li::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #80e387;
}

.ppd-card-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    margin-top: 24px;
    color: #071a43 !important;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none !important;
}

.ppd-card-link span {
    display: inline-block;
    transition: transform .25s ease;
}

.ppd-card-link:hover span {
    transform: translateX(5px);
}

/* 6. BUTTONS */
.ppd-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    min-height: 53px;
    padding: 15px 28px;
    border: 2px solid #80e387;
    border-radius: 50px;
    font-family: inherit;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none !important;
    transition: all .3s ease;
}

.ppd-btn-primary {
    background: #80e387;
    color: #071a43 !important;
}

.ppd-btn-primary:hover {
    background: transparent;
    border-color: #80e387;
    color: #ffffff !important;
}

.ppd-btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, .8);
    color: #ffffff !important;
}

.ppd-btn-outline:hover {
    background: #80e387;
    border-color: #80e387;
    color: #071a43 !important;
}

/* 7. FIND THE RIGHT PROGRAM CTA */
.ppd-cta-section {
    padding: 78px 0;
    background: #071a43;
}

.ppd-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
}

.ppd-cta-content {
    max-width: 780px;
    flex: 1;
}

.ppd-cta-content h2 {
    margin: 0 0 18px;
    color: #ffffff !important;
    font-size: 42px;
}

.ppd-cta-content p {
    margin: 0;
    color: #ffffff !important;
    font-size: 17px;
}

.ppd-cta-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 13px;
    min-width: 245px;
    flex-shrink: 0;
}

/* 8. LABORATORIES FEATURE */
.ppd-labs-section {
    padding: 85px 0;
    background: #f5faf4;
}


.ppd-labs-content h2 {
    margin: 0 0 14px;
    font-size: 42px;
}

.ppd-labs-content h3 {
    margin: 0 0 17px;
    font-size: 23px;
}

.ppd-labs-content p {
 
    margin: 0 0 26px;
}

.ppd-labs-visual {
    min-height: 270px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 25px;
    overflow: hidden;
    border-radius: 15px;
    background: #071a43;
    color: #ffffff;
}

.ppd-labs-visual::before,
.ppd-labs-visual::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -55px;
    top: -55px;
    border: 1px solid rgba(128, 227, 135, .55);
    border-radius: 50%;
}

.ppd-labs-visual::after {
    width: 160px;
    height: 160px;
    right: -25px;
    top: -25px;
}

.ppd-labs-visual-label,
.ppd-labs-visual-caption,
.ppd-labs-visual-mark {
    position: relative;
    z-index: 1;
}

.ppd-labs-visual-label {
    color: #80e387;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.ppd-labs-visual-mark {
    align-self: center;
    color: #80e387;
    font-size: 105px;
    font-weight: 700;
    line-height: 1;
    opacity: .95;
}

.ppd-labs-visual-caption {
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
}

/* 9. TABLET */
@media (max-width: 991px) {
    .ppd-hero {
        padding: 80px 0;
    }

    .ppd-hero h1 {
        font-size: 46px;
    }

    .ppd-section,
    .ppd-labs-section {
        padding: 70px 0;
    }

    .ppd-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ppd-card,
    .ppd-card:nth-child(4),
    .ppd-card:nth-child(5) {
        grid-column: auto;
    }

    .ppd-card-intro {
        min-height: 0;
    }

    .ppd-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .ppd-cta-actions {
        flex-direction: row;
        flex-wrap: wrap;
        min-width: 0;
    }

    .ppd-labs-inner {
        grid-template-columns: 1fr .7fr;
        gap: 30px;
    }
}

/* 10. MOBILE */
@media (max-width: 600px) {
    .ppd-container {
        width: 90%;
    }

    .ppd-hero {
        padding: 65px 0;
    }

    .ppd-hero h1 {
        font-size: 34px;
    }

    .ppd-hero p {
        font-size: 16px;
    }

    .ppd-section,
    .ppd-labs-section {
        padding: 55px 0;
    }

    .ppd-section-heading {
        margin-bottom: 32px;
    }

    .ppd-section-heading h2,
    .ppd-cta-content h2,
    .ppd-labs-content h2 {
        font-size: 32px;
    }

    .ppd-page p {
        font-size: 15px;
    }

    .ppd-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .ppd-card,
    .ppd-card:nth-child(4),
    .ppd-card:nth-child(5) {
        grid-column: 1;
        padding: 26px 23px;
    }

    .ppd-card h3 {
        font-size: 21px;
    }

    .ppd-card-intro {
        margin-bottom: 18px;
    }

    .ppd-cta-section {
        padding: 60px 0;
    }

    .ppd-cta-actions {
        width: 100%;
        flex-direction: column;
    }

    .ppd-btn {
        width: 100%;
        min-height: 50px;
        font-size: 15px;
    }

    .ppd-labs-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .ppd-labs-content h3 {
        font-size: 20px;
    }

    .ppd-labs-visual {
        min-height: 210px;
    }

    .ppd-labs-visual-mark {
        font-size: 85px;
    }
}

/* 11. SMALL MOBILE */
@media (max-width: 380px) {
    .ppd-hero h1,
    .ppd-section-heading h2,
    .ppd-cta-content h2,
    .ppd-labs-content h2 {
        font-size: 28px;
    }

    .ppd-card {
        padding: 23px 19px;
    }

    .ppd-card-label {
        font-size: 9px;
    }
}

/* =====================================
   PROFESSIONAL PROGRAMS - BUTTON ALIGNMENT
===================================== */

.ppd-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 580px;
    box-sizing: border-box;
}

/* Program list section */
.ppd-program-list-wrap {
    flex: 1;
}

/* Explore buttons */
.ppd-card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    gap: 10px;

    margin-top: auto;
    padding: 11px 19px;

    background: #071a43;
    color: #ffffff !important;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;

    text-decoration: none !important;
    border: none;
    border-radius: 50px;

    transition: all 0.3s ease;
}

/* Arrow */
.ppd-card-link span {
    font-size: 15px;
    transition: transform 0.3s ease;
}

/* Hover */
.ppd-card-link:hover {
    background: #12336b;
    color: #ffffff !important;
}

.ppd-card-link:hover span {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 767px) {
    .ppd-card {
        min-height: auto;
    }

    .ppd-card-link {
        margin-top: 24px;
    }
}