/* =========================================================
   PREMIUM UNIVERSITY PROGRAMMES
========================================================= */

:root {
    --primary: #7A0D16;
    --secondary: #C89B3C;
    --dark: #2A2A2A;
    --white: #ffffff;
    --light: #f8f8f8;
    --border: #ececec;
    --transition: .35s ease;
    --shadow: 0 10px 35px rgba(0, 0, 0, .08);
}


/* =========================================================
   MAIN SECTION
========================================================= */

.programmes-section {
    position: relative;
    padding: 110px 20px 120px;
    background: #fff;
    overflow: hidden;
}


/* subtle background */

.programmes-section::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    top: -300px;
    right: -250px;
    border-radius: 50%;
    background: radial-gradient( circle, rgba(200, 155, 60, .10), transparent 68%);
    pointer-events: none;
}

.programmes-section::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    bottom: -280px;
    left: -250px;
    border-radius: 50%;
    background: radial-gradient( circle, rgba(122, 13, 22, .07), transparent 70%);
    pointer-events: none;
}


/* =========================================================
   CONTAINER
========================================================= */

.programmes-container {
    position: relative;
    z-index: 2;
    max-width: 1240px;
    margin: auto;
}


/* =========================================================
   HEADER
========================================================= */

.programmes-header {
    max-width: 760px;
    margin: 0 auto 65px;
    text-align: center;
}


/* small line */

.programme-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.programme-badge::before {
    content: "";
    width: 32px;
    height: 1px;
    background: var(--secondary);
}

.programme-badge::after {
    content: "";
    width: 32px;
    height: 1px;
    background: var(--secondary);
}

.badge-dot {
    display: none;
}


/* heading */

.programmes-header h2 {
    margin: 20px 0 16px;
    color: var(--dark);
    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.05;
    letter-spacing: -2.5px;
    font-weight: 800;
}

.programmes-header h2 span {
    color: var(--primary);
}

.programmes-header p {
    max-width: 650px;
    margin: auto;
    color: #777;
    font-size: 15px;
    line-height: 1.9;
}


/* =========================================================
   GRID
========================================================= */

.programme-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}


/* =========================================================
   MAIN CARD
========================================================= */

.programme-card {
    position: relative;
    min-height: 510px;
    padding: 45px;
    overflow: hidden;
    border-radius: 4px;
    background: #fff;
    border: 1px solid #e7e7e7;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .06);
    transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s ease;
}

.programme-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .11);
}


/* =========================================================
   CARD TOP LINE
========================================================= */

.programme-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient( 90deg, var(--primary), var(--secondary));
}


/* =========================================================
   LARGE BACKGROUND NUMBER
========================================================= */

.programme-number {
    position: absolute;
    top: 15px;
    right: 35px;
    font-size: 130px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -10px;
    color: rgba(122, 13, 22, .035);
    pointer-events: none;
}

.programme-pg .programme-number {
    color: rgba(200, 155, 60, .055);
}


/* =========================================================
   DECORATIVE GOLD LINE
========================================================= */

.programme-card::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: -80px;
    bottom: -80px;
    border-radius: 50%;
    border: 1px solid rgba(200, 155, 60, .20);
    box-shadow: 0 0 0 30px rgba(200, 155, 60, .025), 0 0 0 60px rgba(200, 155, 60, .018);
}


/* =========================================================
   TOP AREA
========================================================= */

.programme-top {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 45px;
}


/* =========================================================
   ICON
========================================================= */

.programme-icon {
    position: relative;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 27px;
    box-shadow: 0 12px 30px rgba(122, 13, 22, .22);
    transition: .4s ease;
}

.programme-icon::after {
    content: "";
    position: absolute;
    inset: -7px;
    border: 1px solid rgba(122, 13, 22, .18);
    border-radius: 50%;
}

.programme-card:hover .programme-icon {
    transform: rotate(-8deg) scale(1.08);
}

.programme-pg .programme-icon {
    background: var(--secondary);
    color: #fff;
    box-shadow: 0 12px 30px rgba(200, 155, 60, .25);
}

.programme-pg .programme-icon::after {
    border-color: rgba(200, 155, 60, .25);
}


/* =========================================================
   BODY
========================================================= */

.programme-body {
    position: relative;
    z-index: 3;
}

.programme-category {
    margin-bottom: 9px;
    color: var(--secondary);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2.5px;
}

.programme-body h3 {
    margin: 0 0 15px;
    color: var(--dark);
    font-size: 39px;
    line-height: 1;
    letter-spacing: -1.5px;
    font-weight: 800;
}

.programme-body p {
    max-width: 490px;
    margin: 0 0 30px;
    color: #707070;
    font-size: 14px;
    line-height: 1.85;
}


/* =========================================================
   COURSE LIST
========================================================= */

.course-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.course-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 14px;
    background: #fafafa;
    border: 1px solid #ededed;
    border-radius: 3px;
    color: var(--dark);
    font-size: 13px;
    font-weight: 700;
    transition: .3s ease;
}

.course-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 0;
    background: var(--secondary);
    transition: .3s ease;
}

.course-item:hover {
    background: #fff;
    border-color: #ddd;
    transform: translateX(4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .05);
}

.course-item:hover::before {
    height: 100%;
}

.course-item>i {
    margin-left: auto;
    color: #c5c5c5;
    font-size: 9px;
    transition: .3s ease;
}

.course-item:hover>i {
    color: var(--secondary);
    transform: translate(2px, -2px);
}


/* =========================================================
   SMALL COURSE ICON
========================================================= */

.course-icon-small {
    width: 27px;
    height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(122, 13, 22, .07);
    color: var(--primary);
    border-radius: 3px;
    font-size: 10px;
}

.programme-pg .course-icon-small {
    background: rgba(200, 155, 60, .10);
    color: var(--secondary);
}


/* =========================================================
   FOOTER
========================================================= */

.programme-footer {
    position: absolute;
    left: 45px;
    right: 45px;
    bottom: 32px;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #ededed;
}

.programme-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
    font-size: 11px;
    font-weight: 700;
}

.programme-meta i {
    color: var(--secondary);
}


/* =========================================================
   EXPLORE BUTTON
========================================================= */

.programme-button {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    padding: 5px 5px 5px 18px;
    border-radius: 50px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .3px;
    transition: .35s ease;
}

.programme-button span {
    width: 31px;
    height: 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    transition: .35s ease;
}

.programme-button:hover {
    background: var(--secondary);
    color: #fff;
    padding-left: 21px;
}

.programme-button:hover span {
    color: var(--secondary);
    transform: rotate(-45deg);
}


/* =========================================================
   BOTTOM MESSAGE
========================================================= */

.programme-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 55px auto 0;
    color: #777;
}

.bottom-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    color: var(--secondary);
    background: #fff;
}

.programme-bottom div:last-child {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.programme-bottom strong {
    color: var(--dark);
    font-size: 12px;
}

.programme-bottom span {
    color: #999;
    font-size: 11px;
}


/* =========================================================
   TABLET
========================================================= */

@media(max-width:900px) {
    .programmes-section {
        padding: 85px 20px;
    }
    .programme-grid {
        grid-template-columns: 1fr;
        max-width: 650px;
        margin: auto;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:600px) {
    .programmes-section {
        padding: 70px 15px 80px;
    }
    .programmes-header {
        margin-bottom: 45px;
    }
    .programmes-header h2 {
        font-size: 38px;
        letter-spacing: -1.5px;
    }
    .programmes-header p {
        font-size: 13px;
    }
    .programme-card {
        min-height: 590px;
        padding: 30px 24px;
    }
    .programme-top {
        margin-bottom: 38px;
    }
    .programme-icon {
        width: 62px;
        height: 62px;
        font-size: 23px;
    }
    .programme-number {
        font-size: 90px;
        right: 10px;
    }
    .programme-body h3 {
        font-size: 31px;
    }
    .programme-body p {
        font-size: 13px;
        line-height: 1.8;
    }
    .course-list {
        grid-template-columns: 1fr;
    }
    .programme-footer {
        left: 24px;
        right: 24px;
        bottom: 25px;
    }
    .programme-bottom {
        margin-top: 40px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media(max-width:380px) {
    .programme-card {
        min-height: 610px;
        padding: 26px 20px;
    }
    .programme-footer {
        left: 20px;
        right: 20px;
    }
    .programme-bottom span {
        display: none;
    }
}