/* ============================================================
   ADAMAS SSSP
   COURSES & DISCIPLINES
   PREMIUM DESIGN
============================================================ */


/* ============================================================
   VARIABLES
============================================================ */

:root {

    --adamas-sssp-primary: #7b1e1e;

    --adamas-sssp-primary-dark: #5c1010;

    --adamas-sssp-primary-deep: #430707;

    --adamas-sssp-gold: #d6a443;

    --adamas-sssp-gold-light: #efd27a;

    --adamas-sssp-gold-soft: #fff5df;

    --adamas-sssp-cream: #fbf8f3;

    --adamas-sssp-text: #282323;

    --adamas-sssp-muted: #66615e;

    --adamas-sssp-border: #eadfce;

    --adamas-sssp-white: #ffffff;

}


/* ============================================================
   RESET
============================================================ */

.adamas-sssp-courses-hero *,
.adamas-sssp-courses-area *,
.adamas-sssp-course-card * {

    box-sizing: border-box;

}


/* ============================================================
   HERO
============================================================ */

.adamas-sssp-courses-hero {

    position: relative;

    min-height: 485px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
        #430707;

}


.adamas-sssp-courses-hero-bg {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

}


.adamas-sssp-courses-hero-overlay {

    position: absolute;

    inset: 0;

    background:

        linear-gradient(
            90deg,
            rgba(52,5,5,.94) 0%,
            rgba(83,10,10,.82) 36%,
            rgba(60,7,7,.50) 65%,
            rgba(20,5,5,.18) 100%
        );

    z-index: 2;

}


.adamas-sssp-courses-hero-pattern {

    position: absolute;

    inset: 0;

    z-index: 3;

    opacity: .08;

    background-image:

        radial-gradient(
            rgba(255,255,255,.8) 1px,
            transparent 1px
        );

    background-size: 26px 26px;

}


.adamas-sssp-courses-hero-logo {

    position: absolute;

    right: 50px;

    bottom: 20px;

    width: 300px;

    z-index: 3;

    opacity: .08;

}


/* ============================================================
   HERO CONTENT
============================================================ */

.adamas-sssp-courses-hero-content {

    position: relative;

    z-index: 10;

    width: 100%;

    max-width: 770px;

    padding:
        85px
        0
        105px;

}


.adamas-sssp-courses-breadcrumb {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 22px;

    color:
        rgba(255,255,255,.75);

    font-family:
        "Segoe UI",
        sans-serif;

    font-size: 14px;

}


.adamas-sssp-courses-breadcrumb a {

    color:
        #ffffff;

    text-decoration: none;

    transition: .3s ease;

}


.adamas-sssp-courses-breadcrumb a:hover {

    color:
        var(--adamas-sssp-gold-light);

}


.adamas-sssp-courses-hero-tag {

    display: inline-flex;

    align-items: center;

    padding:
        9px
        21px;

    border:
        1px solid
        rgba(239,210,122,.45);

    border-radius: 50px;

    color:
        var(--adamas-sssp-gold-light);

    background:
        rgba(255,255,255,.08);

    backdrop-filter:
        blur(10px);

    font-family:
        "Segoe UI",
        sans-serif;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2.3px;

}


.adamas-sssp-courses-hero-content h1 {

    margin:
        20px
        0
        0;

    color:
        #ffffff;

    font-family:
        "Segoe UI",
        sans-serif;

    font-size:
        clamp(48px, 6vw, 76px);

    font-weight: 700;

    line-height: 1.08;

    letter-spacing: -2px;

}


.adamas-sssp-courses-hero-content h1 span {

    color:
        var(--adamas-sssp-gold-light);

}


.adamas-sssp-courses-hero-divider {

    display: flex;

    align-items: center;

    gap: 9px;

    margin:
        20px
        0
        18px;

}


.adamas-sssp-courses-hero-divider span {

    width: 48px;

    height: 1px;

    background:
        var(--adamas-sssp-gold-light);

}


.adamas-sssp-courses-hero-divider i {

    color:
        var(--adamas-sssp-gold-light);

    font-size: 8px;

}


.adamas-sssp-courses-hero-content p {

    max-width: 710px;

    margin: 0;

    color:
        rgba(255,255,255,.90);

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 21px;

    line-height: 1.65;

}


/* ============================================================
   HERO BOTTOM CURVE
============================================================ */

.adamas-sssp-courses-hero-bottom {

    position: absolute;

    right: -5%;

    bottom: -58px;

    left: -5%;

    z-index: 20;

    height: 110px;

    border-radius:
        50% 50% 0 0;

    background:
        #fbf8f3;

    border-top:
        4px solid
        var(--adamas-sssp-gold);

}


/* ============================================================
   COURSES AREA
============================================================ */

.adamas-sssp-courses-area {

    position: relative;

    padding:
        95px
        0
        100px;

    overflow: hidden;

    background:
        #fbf8f3;

}


.adamas-sssp-courses-area::before {

    content: "";

    position: absolute;

    width: 440px;

    height: 440px;

    left: -230px;

    top: 150px;

    border-radius: 50%;

    background:
        rgba(214,164,67,.055);

    pointer-events: none;

}


.adamas-sssp-courses-area::after {

    content: "";

    position: absolute;

    width: 390px;

    height: 390px;

    right: -220px;

    bottom: 80px;

    border-radius: 50%;

    background:
        rgba(123,30,30,.045);

    pointer-events: none;

}


/* ============================================================
   SECTION HEADING
============================================================ */

.adamas-sssp-courses-section-heading {

    position: relative;

    z-index: 5;

    max-width: 750px;

    margin:
        0
        auto
        50px;

    text-align: center;

}


.adamas-sssp-courses-section-label {

    display: block;

    margin-bottom: 9px;

    color:
        var(--adamas-sssp-primary);

    font-family:
        "Segoe UI",
        sans-serif;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2.5px;

}


.adamas-sssp-courses-section-heading h2 {

    margin: 0;

    color:
        var(--adamas-sssp-primary);

    font-family:
        "Segoe UI",
        sans-serif;

    font-size:
        clamp(34px, 4vw, 48px);

    font-weight: 700;

    line-height: 1.15;

}


.adamas-sssp-courses-heading-ornament {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    margin:
        15px
        0
        15px;

}


.adamas-sssp-courses-heading-ornament span {

    width: 42px;

    height: 1px;

    background:
        var(--adamas-sssp-gold);

}


.adamas-sssp-courses-heading-ornament i {

    color:
        var(--adamas-sssp-gold);

    font-size: 8px;

}


.adamas-sssp-courses-section-heading p {

    max-width: 600px;

    margin:
        0
        auto;

    color:
        var(--adamas-sssp-muted);

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 17px;

    line-height: 1.65;

}


/* ============================================================
   GRID
============================================================ */

.adamas-sssp-courses-grid {

    position: relative;

    z-index: 5;

    align-items: start !important;

}


/*
IMPORTANT:
Do NOT use height:100% here.
Each card must control its own height.
*/

.adamas-sssp-courses-grid > [class*="col-"] {

    display: flex;

    align-items: flex-start;

}


/* ============================================================
   COURSE CARD
============================================================ */

.adamas-sssp-course-card {

    position: relative;

    width: 100%;

    height: auto;

    display: flex;

    flex-direction: column;

    overflow: hidden;

    border:
        1px solid
        var(--adamas-sssp-border);

    border-radius: 20px;

    background:
        #ffffff;

    box-shadow:
        0 16px 42px
        rgba(55,25,15,.075);

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;

}


.adamas-sssp-course-card:hover {

    transform:
        translateY(-8px);

    border-color:
        rgba(214,164,67,.65);

    box-shadow:
        0 25px 60px
        rgba(55,25,15,.14);

}


/* ============================================================
   CARD TOP
============================================================ */

.adamas-sssp-course-top {

    position: relative;

    height: 165px;

    flex-shrink: 0;

    overflow: hidden;

    background:
        var(--adamas-sssp-primary);
    margin: 0;
    padding: 0;

}

/*extra add korlam*/
.adamas-sssp-course-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
    transform: scale(1.05);
    filter: saturate(.9);
    transition: transform .6s ease;
}
/*extra add end here*/


.adamas-sssp-course-bg {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    transform:
        scale(1.05);

    filter:
        saturate(.9);

    transition:
        transform .6s ease;

}


.adamas-sssp-course-card:hover
.adamas-sssp-course-bg {

    transform:
        scale(1.13);

}


.adamas-sssp-course-top-overlay {

    position: absolute;

    inset: 0;

    background:

        linear-gradient(
            180deg,
            rgba(123,30,30,.65),
            rgba(86,10,10,.92)
        );

}


.adamas-sssp-course-top-pattern {

    position: absolute;

    inset: 0;

    opacity: .13;

    background:

        radial-gradient(
            circle at 100% 0,
            #ffffff 0,
            transparent 30%
        ),

        radial-gradient(
            circle at 0 100%,
            #ffffff 0,
            transparent 25%
        );

}


/* ============================================================
   COURSE ICON
============================================================ */

.adamas-sssp-course-icon {

    position: absolute;

    left: 50%;

    bottom: -39px;

    z-index: 20;

    width: 78px;

    height: 78px;

    display: flex;

    align-items: center;

    justify-content: center;

    transform:
        translateX(-50%);

    border:
        4px solid
        var(--adamas-sssp-gold);

    border-radius: 50%;

    color:
        var(--adamas-sssp-primary);

    background:
        #ffffff;

    box-shadow:
        0 10px 28px
        rgba(0,0,0,.18);

    transition:
        transform .45s ease,
        box-shadow .45s ease;

}


.adamas-sssp-course-card:hover
.adamas-sssp-course-icon {

    transform:
        translateX(-50%)
        rotate(8deg);

    box-shadow:
        0 15px 35px
        rgba(123,30,30,.23);

}


.adamas-sssp-course-icon i {

    font-size: 29px;

}


/* ============================================================
   CARD BODY
============================================================ */

.adamas-sssp-course-body {

    padding:
        58px
        18px
        22px;

}


.adamas-sssp-course-body h3 {

    margin:
        0;

    color:
        #252525;

    font-family:
        "Segoe UI",
        sans-serif;

    font-size: 21px;

    font-weight: 700;

    line-height: 1.25;

    text-align: center;

    transition:
        color .3s ease;

}


.adamas-sssp-course-card:hover
.adamas-sssp-course-body h3 {

    color:
        var(--adamas-sssp-primary);

}


/* ============================================================
   TITLE DIVIDER
============================================================ */

.adamas-sssp-course-title-divider {

    position: relative;

    width: 48px;

    height: 2px;

    margin:
        13px
        auto
        22px;

    border-radius: 20px;

    background:
        var(--adamas-sssp-gold);

    transition:
        width .35s ease;

}


.adamas-sssp-course-title-divider::before {

    content: "";

    position: absolute;

    top: 50%;

    left: 50%;

    width: 8px;

    height: 8px;

    transform:
        translate(-50%,-50%);

    border-radius: 50%;

    background:
        var(--adamas-sssp-gold);

}


.adamas-sssp-course-card:hover
.adamas-sssp-course-title-divider {

    width: 70px;

}


/* ============================================================
   SUBJECT LIST
============================================================ */

.adamas-sssp-course-subject-list {

    list-style: none;

    padding: 0;

    margin: 0;

}


.adamas-sssp-course-subject-list li {

    display: flex;

    align-items: flex-start;

    gap: 9px;

    min-height: 38px;

    padding:
        8px
        0;

    border-bottom:
        1px dashed
        #e9e4dd;

    color:
        #5b5754;

    font-family:
        "Segoe UI",
        sans-serif;

    font-size: 11px;

    line-height: 1.5;

}


.adamas-sssp-course-subject-list li:last-child {

    border-bottom: none;

}


.adamas-sssp-subject-bullet {

    width: 15px;

    height: 15px;

    flex: 0 0 15px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-top: 1px;

    border-radius: 50%;

    color:
        var(--adamas-sssp-gold);

}


.adamas-sssp-subject-bullet i {

    font-size: 7px;

}


.adamas-sssp-subject-name {

    flex: 1;
    font-size:20px;

}


/* ============================================================
   HIDDEN EXTRA SUBJECTS 
============================================================ */

/*
IMPORTANT:
No global display:none + JS inline display.
We use a dedicated class.
*/

.adamas-sssp-course-extra-subject {

    display: none !important;

    opacity: 0;

    transform:
        translateY(-5px);

}


.adamas-sssp-course-extra-subject
.adamas-sssp-subject-visible {

    display: flex !important;

}


/*
When visible.
*/

.adamas-sssp-course-extra-subject.adamas-sssp-subject-visible {

    display: flex !important;

    animation:
        adamasSSSPSubjectReveal .3s ease forwards;

}


@keyframes adamasSSSPSubjectReveal {

    from {

        opacity: 0;

        transform:
            translateY(-6px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}


/* ============================================================
   VIEW MORE BUTTON
============================================================ */

.adamas-sssp-course-view-btn {

    width: 100%;

    min-height: 40px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    margin-top: 14px;

    padding:
        10px
        15px;

    border:
        1px solid
        transparent;

    border-radius: 8px;

    outline: none;

    color:
        var(--adamas-sssp-primary);

    background:
        var(--adamas-sssp-gold-soft);

    font-family:
        "Segoe UI",
        sans-serif;

    font-size: 11px;

    font-weight: 700;

    cursor: pointer;

    transition:
        all .3s ease;

}


.adamas-sssp-course-view-btn:hover {

    color:
        #ffffff;

    background:
        var(--adamas-sssp-primary);

}


.adamas-sssp-course-view-btn i {

    font-size: 9px;

    transition:
        transform .3s ease;

}


.adamas-sssp-course-btn-open {

    color:
        var(--adamas-sssp-primary);

}


.adamas-sssp-course-btn-open i {

    transform:
        translateY(-1px);

}


/* ============================================================
   CARD FOOTER
============================================================ */

.adamas-sssp-course-bottom {

    margin-top: auto;

    padding:
        13px
        15px;

    color:
        #ffffff;

    background:

        linear-gradient(
            135deg,
            var(--adamas-sssp-primary),
            var(--adamas-sssp-primary-dark)
        );

    text-align: center;

}


.adamas-sssp-course-bottom span {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

    font-family:
        "Segoe UI",
        sans-serif;

    font-size: 11px;

}


.adamas-sssp-course-bottom strong {

    color:
        #ffffff;

    font-weight: 800;

}


.adamas-sssp-course-bottom i {

    color:
        var(--adamas-sssp-gold-light);

    font-size: 12px;

}


/* ============================================================
   EXPANDED CARD
============================================================ */

.adamas-sssp-course-expanded {

    border-color:
        rgba(214,164,67,.75);

    box-shadow:
        0 25px 65px
        rgba(55,25,15,.15);

}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 1199px) {


    .adamas-sssp-courses-hero {

        min-height: 450px;

    }


    .adamas-sssp-course-top {

        height: 155px;

    }


    .adamas-sssp-course-body {

        padding:
            57px
            17px
            20px;

    }


    .adamas-sssp-course-body h3 {

        font-size: 19px;

    }


}


/* ============================================================
   TABLET / SMALL LAPTOP
============================================================ */

@media (max-width: 991px) {


    .adamas-sssp-courses-hero-content {

        max-width: 650px;

        padding:
            75px
            0
            95px;

    }


    .adamas-sssp-courses-hero-logo {

        right: 20px;

        width: 220px;

    }


    .adamas-sssp-courses-hero-content h1 {

        font-size: 55px;

    }


    .adamas-sssp-courses-hero-content p {

        font-size: 19px;

    }


    .adamas-sssp-courses-area {

        padding:
            80px
            0
            85px;

    }


}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 767px) {


    .adamas-sssp-courses-hero {

        min-height: 525px;

    }


    .adamas-sssp-courses-hero-logo {

        right: -20px;

        bottom: 25px;

        width: 190px;

    }


    .adamas-sssp-courses-hero-content {

        padding:
            65px
            0
            95px;

    }


    .adamas-sssp-courses-hero-content h1 {

        font-size: 45px;

        letter-spacing: -1px;

    }


    .adamas-sssp-courses-hero-content p {

        font-size: 18px;

        line-height: 1.6;

    }


    .adamas-sssp-courses-hero-bottom {

        bottom: -45px;

        height: 90px;

    }


    .adamas-sssp-courses-area {

        padding:
            70px
            0
            70px;

    }


    .adamas-sssp-courses-section-heading {

        margin-bottom: 38px;

    }


    .adamas-sssp-courses-section-heading h2 {

        font-size: 34px;

    }


    .adamas-sssp-courses-section-heading p {

        font-size: 16px;

    }


    .adamas-sssp-course-top {

        height: 150px;

    }


    .adamas-sssp-course-icon {

        width: 74px;

        height: 74px;

        bottom: -37px;

    }


    .adamas-sssp-course-icon i {

        font-size: 27px;

    }


    .adamas-sssp-course-body {

        padding:
            55px
            20px
            20px;

    }


    .adamas-sssp-course-body h3 {

        font-size: 21px;

    }


    .adamas-sssp-course-subject-list li {

        font-size: 12px;

        min-height: 40px;

    }


}


/* ============================================================
   SMALL MOBILE
============================================================ */

@media (max-width: 575px) {


    .adamas-sssp-courses-hero {

        min-height: 500px;

    }


    .adamas-sssp-courses-hero-content {

        padding:
            55px
            0
            90px;

    }


    .adamas-sssp-courses-hero-content h1 {

        font-size: 40px;

    }


    .adamas-sssp-courses-hero-content p {

        font-size: 17px;

    }


    .adamas-sssp-courses-hero-tag {

        font-size: 9px;

        letter-spacing: 1.8px;

    }


    .adamas-sssp-courses-area {

        padding-top: 65px;

    }


    .adamas-sssp-courses-section-heading h2 {

        font-size: 31px;

    }


    .adamas-sssp-course-card {

        border-radius: 17px;

    }


    .adamas-sssp-course-top {

        height: 145px;

    }


}


/* ============================================================
   EXTRA SMALL
============================================================ */

@media (max-width: 390px) {


    .adamas-sssp-courses-hero-content h1 {

        font-size: 36px;

    }


    .adamas-sssp-courses-hero-content p {

        font-size: 16px;

    }


    .adamas-sssp-course-body {

        padding-left: 17px;

        padding-right: 17px;

    }


}