/* MR Color Palette - Persis yayasanmr.com */
:root {
    --mr-primary: #1e3a8a;
    --mr-primary-light: #3b82f6;
    --mr-warning: #f59e0b;
    --mr-dark: #111827;
    --mr-light: #f8fafc;
    --mr-shadow: rgba(59, 130, 246, 0.2);
}

/* Topbar & Navbar */
.topbar {
    background: #e4cd77 !important;
    height: 45px;
}

#mainNav {
    top: 45px;
    background: #fff;
    backdrop-filter: blur(12px);
}

#mainNav.scrolled {
    top: 0;
    background: #000 !important;
    box-shadow: 0 10px 30px var(--mr-shadow);
}

#mainNav.scrolled .nav-link {
    color: #fff
}

/* Hero Sliders */
.hero-overlay {
    background: linear-gradient(135deg, var(--mr-dark) 0%, rgba(30, 58, 138, .8) 100%);
}

.bg-mr-gradient-2 {
    background: linear-gradient(135deg, var(--mr-primary-light) 0%, var(--mr-primary) 100%) !important;
}

.bg-mr-gradient-3 {
    background: linear-gradient(135deg, var(--mr-warning) 0%, #eab308 100%) !important;
}

.mr-pagination .swiper-pagination-bullet-active {
    background: var(--mr-warning) !important;
}

.mr-swiper-btn {
    color: var(--mr-warning) !important;
}

/* Buttons */
.btn-mr-primary {
    background: var(--mr-primary);
    border-color: var(--mr-primary);
}

.btn-mr-primary:hover {
    background: var(--mr-primary-light);
    border-color: var(--mr-primary-light);
    transform: translateY(-2px);
}

.btn-mr-warning {
    background: var(--mr-warning);
    border-color: var(--mr-warning);
    color: #000 !important;
}

.btn-mr-warning:hover {
    background: #eab308;
    border-color: #eab308;
    transform: translateY(-2px);
}

/* Cards & Shadows */
.shadow-mr {
    box-shadow: 0 20px 40px var(--mr-shadow) !important;
}

.hover-mr-lift {
    transition: all .4s cubic-bezier(.25, .46, .45, .94);
}

.hover-mr-lift:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px var(--mr-shadow) !important;
}

/* Typography */
.text-mr-primary {
    color: var(--mr-primary) !important;
}

.bg-mr-primary {
    background: var(--mr-primary) !important;
}

/* Responsive */
@media (max-width: 991px) {
    .display-2 {
        font-size: 3.5rem !important;
        line-height: 1.1;
    }

    #mainNav {
        top: 40px;
    }
}

.hero-slider {
    min-height: 100vh;
    /* full layar */
}

.hero-slide {
    position: relative;
    min-height: 100vh;
    background-position: center center;
    background-size: cover;
    /* isi penuh, crop dikit kiri/kanan */
    background-repeat: no-repeat;
}

/* pakai image panorama Anda */
.hero-slide-1 {
    background-image: url('images/pak-nas_edit-crowd.jpg');
}

/* slide 2 bisa pakai image sama atau beda */
.hero-slide-2 {
    background-image: url('images/map-korwil.jpg');
}

.hero-slide-3 {
    background-image: url('images/mrbox-header.jpg');
}

/* overlay gelap agar teks kebaca */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.65),
            rgba(0, 0, 0, 0.35));
    z-index: 1;
}

.hero-text {
    font-size: 1.5rem;
    font-weight: 600;
}

.cs-icon {
    width: 60px;
    display: inline-block;
    height: 60px;
    line-height: 60px;
    box-shadow: 0px 0px 30px rgba(208, 202, 202, 0.3);
    box-shadow: 0px 0px 30px 0px rgba(148, 146, 245, 0.2);
    text-align: center;
    font-size: 25px;
    border-radius: 50%;
    -webkit-transition: all 0.5s ease 0s;
    transition: all 0.5s ease 0s;
}

.cs-content p {
    color: #626262;
}

.cs-support:hover .cs-icon {
    background: #0c3eb9;
    color: #fff;
}

.video-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    background: #fff;
    border-radius: 100%;
    font-size: 1.5rem;
    width: 60px;
    height: 60px;
    text-align: center;
}

.video-btn:hover {
    background: #fff;
}

/* Section background mirip screenshot */
#apa-yang-kami-lakukan {
    background-color: #F4F9FC;
    /* bisa disesuaikan; pakai bg-light kalau mau default */
}

#program-tab {
    background-color: #f5f9ff;
}

/* Tombol kartu sebagai tab */
.program-tab {
    border: 1px solid rgba(15, 23, 42, 0.06);
    background-color: #f8fafc;
    border-radius: 18px;
    cursor: pointer;
    padding: 0;
    position: relative;
    text-align: left;
    transition: all 0.25s ease;
    overflow: hidden;
}

/* Ornamen lingkaran di dalam kartu */
.program-tab-ornament {
    position: absolute;
    right: -40px;
    top: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(12, 62, 185, 0.12) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

/* State aktif */
.program-tab.active {
    background-color: #ffffff;
    background-image: url('images/tab-bg.png');
    background-repeat: no-repeat;
    background-position: right top;
    border-color: rgba(12, 62, 185, 0.2);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    color: #0c3eb9;
}

.program-tab.active h3 {
    color: #0c3eb9;
}

.program-tab.active .program-tab-ornament {
    opacity: 1;
}

.programItem i {
    font-size: 3rem;
}

/* Hover */
.program-tab:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
    background-color: #ffffff;
}

/* Responsif */
@media (max-width: 767.98px) {
    .program-tab {
        border-radius: 14px;
    }
}

/* Card */
.sst-card {
  background-color: #ffffff;
  border-radius: 24px;
  padding: 32px 32px 36px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  position: relative;
  overflow: visible;
}

/* Icon circle */
.sst-icon-wrap {
  margin-bottom: 24px;
}

.sst-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 0%, #f1f5f9 60%, #e5e7eb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  transition: all 0.5s ease 0s;
}

.sst-icon-circle i {
  font-size: 32px;
  color: #0c3eb9;
  transition: all 0.5s ease 0s;
}

/* Typography */
.sst-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.sst-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #4b5563;
  font-weight: 600;
}

.sst-card:hover .sst-icon-circle {
    background: #0c3eb9;
    color: #fff;
}
.sst-card:hover .sst-icon-circle i {
    color: #fff;
}

/* Responsif */
@media (max-width: 767.98px) {
  .sst-card {
    border-radius: 18px;
    padding: 24px;
  }
}


.mr-training-section{
    position: relative;
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.mr-training-overlay{
    position: absolute;
    inset: 0;
    background: rgba(7, 35, 110, 0.82);
    z-index: 1;
}

.mr-training-section .container{
    position: relative;
    z-index: 2;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.mr-training-heading{
    text-align: center;
    margin-bottom: 40px;
}

.mr-training-heading span{
    display: inline-block;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.mr-training-heading h2{
    color: #ffffff;
    font-size: 48px;
    line-height: 1.2;
    font-weight: 700;
    margin: 0;
}

.mr-training-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 0 auto;
}

.mr-training-card{
    background: #0d46d8;
    text-align: center;
    padding: 38px 24px 30px;
    min-height: 295px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.3s ease;
}

.mr-training-card:hover{
    transform: translateY(-6px);
    background: #0b3dc1;
}

.mr-training-card i{
    color: #fff;
    font-size: 35px;
    margin-bottom: 18px;
}

.mr-training-card h3{
    color: #fff;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 700;
    margin: 0;
}

.mr-training-card p{
    color: #fff;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 22px;
}

.mr-btn{
    display: inline-block;
    padding: 9px 22px;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    transition: 0.3s ease;
}

.mr-btn:hover{
    background: #fff;
    color: #0d46d8;
}

@media (max-width: 991px){
    .mr-training-heading h2{
        font-size: 36px;
    }

    .mr-training-grid{
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
    }
}

@media (max-width: 767px){
    .mr-training-section{
        padding: 70px 0;
    }

    .mr-training-heading h2{
        font-size: 28px;
    }

    .mr-training-grid{
        grid-template-columns: 1fr;
    }

    .mr-training-card{
        min-height: auto;
    }
}

.mr-flip-card{
    perspective: 1200px;
    height: 400px;
    position: relative;
}

.mr-flip-card-inner{
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform .8s ease;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
}

.mr-flip-card:hover .mr-flip-card-inner{
    transform: rotateY(180deg);
}

.mr-flip-card-front,
.mr-flip-card-back{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.mr-flip-card-front{
    background: #0c3eb9;
    text-align: center;
    padding: 38px 24px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: rotateY(0deg);
    z-index: 2;
}

.mr-flip-card-front i{
    color: #fff;
    font-size: 35px;
    margin-bottom: 18px;
    line-height: 1;
}

.mr-flip-card-front h3{
    color: #fff;
    font-size: 28px;
    line-height: 1.35;
    font-weight: 700;
    margin: 0;
}

.mr-flip-card-front p{
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 22px;
}

.mr-flip-card-back{
    transform: rotateY(180deg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mr-flip-overlay{
    position: absolute;
    inset: 0;
    background: rgba(13, 70, 216, 0.82);
    z-index: 1;
}

.mr-flip-content{
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.mr-flip-content i{
    color: #fff;
    font-size: 35px;
    margin-bottom: 0;
    line-height: 1;
}

.mr-flip-content h3{
    color: #fff;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 700;
    margin: 0;
}

.mr-flip-content p{
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.mr-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    height: 44px;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    transition: .3s ease;
}

.mr-btn:hover{
    background: #fff;
    color: #0d46d8;
}

.mr-btn-white{
    min-width: 220px;
    font-size: 16px;
    border-width: 2px;
    border-radius: 14px;
}

.ymr-team-section{
    padding: 100px 0 80px;
    background: #fff;
}

.ymr-team-section .container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.ymr-team-heading{
    text-align: center;
    margin-bottom: 60px;
}

.ymr-team-heading span{
    display: inline-block;
    color: #1f57d6;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.ymr-team-heading h2{
    font-size: 64px;
    line-height: 1.1;
    color: #111;
    font-weight: 700;
    margin: 0 0 16px;
}

.ymr-team-heading p{
    font-size: 18px;
    color: #6f6f6f;
    margin: 0;
}

.ymr-team-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 42px;
    align-items: end;
}

.ymr-team-card{
    position: relative;
    transition: transform .35s ease;
}

.ymr-team-image-wrap{
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.ymr-team-image-wrap img{
    width: 100%;
    height: 480px;
    object-fit: contain;
    object-position: bottom center;
    display: block;
    transition: transform .45s ease;
    position: relative;
    z-index: 0;
}

.ymr-team-image-wrap::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(38, 102, 236, 0.58);
    opacity: 0;
    visibility: hidden;
    transform: scale(1.03);
    transition: opacity .35s ease, visibility .35s ease, transform .45s ease;
    z-index: 1;
}

.ymr-team-card:hover .ymr-team-image-wrap::before{
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.ymr-team-card:hover .ymr-team-image-wrap img{
    transform: scale(1.03);
}

.ymr-team-social{
    position: absolute;
    top: 14px;
    right: 18px;
    z-index: 3;
    list-style: none;
    margin: 0;
    padding: 14px 0;
    width: 52px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateX(12px);
    transition: opacity .35s ease, visibility .35s ease, transform .35s ease;
}

.ymr-team-card:hover .ymr-team-social{
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.ymr-team-social li{
    text-align: center;
}

.ymr-team-social li + li{
    margin-top: 18px;
}

.ymr-team-social a{
    color: #1f57d6;
    font-size: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: .3s ease;
}

.ymr-team-social a:hover{
    transform: translateY(-2px);
    color: #0d46d8;
}

.ymr-team-info{
    position: relative;
    margin: -66px 22px 0;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-radius: 4px;
    padding: 22px 34px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    z-index: 5;
    transition: transform .35s ease, box-shadow .35s ease;
}

.ymr-team-card:hover .ymr-team-info{
    transform: translateY(-8px);
    box-shadow: 0 16px 35px rgba(0,0,0,0.12);
}

.ymr-team-info h3{
    font-size: 24px;
    line-height: 1.2;
    color: #111;
    font-weight: 700;
    margin: 0 0 10px;
}

.ymr-team-info p{
    font-size: 16px;
    color: #666;
    font-weight: 500;
    margin: 0;
}

.ymr-arrow-btn{
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 4px solid #ecebfb;
    color: #1f57d6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    transition: .3s ease;
}

.ymr-team-card:hover .ymr-arrow-btn{
    background: #1f57d6;
    border-color: #1f57d6;
    color: #fff;
}

.ymr-arrow-btn:hover{
    background: #1f57d6;
    border-color: #1f57d6;
    color: #fff;
}

@media (max-width: 1199px){
    .ymr-team-heading h2{
        font-size: 52px;
    }

    .ymr-team-grid{
        gap: 26px;
    }

    .ymr-team-image-wrap,
    .ymr-team-image-wrap img{
        height: 420px;
        min-height: 420px;
    }

    .ymr-team-info h3{
        font-size: 20px;
    }
}

@media (max-width: 991px){
    .ymr-team-grid{
        grid-template-columns: repeat(2, 1fr);
    }

    .ymr-team-heading h2{
        font-size: 42px;
    }
}

@media (max-width: 767px){
    .ymr-team-section{
        padding: 70px 0;
    }

    .ymr-team-grid{
        grid-template-columns: 1fr;
    }

    .ymr-team-heading{
        margin-bottom: 40px;
    }

    .ymr-team-heading h2{
        font-size: 34px;
    }

    .ymr-team-heading p{
        font-size: 16px;
    }

    .ymr-team-image-wrap,
    .ymr-team-image-wrap img{
        height: 380px;
        min-height: 380px;
    }

    .ymr-team-info{
        margin: -52px 15px 0;
        padding: 20px 22px 16px;
    }

    .ymr-team-info h3{
        font-size: 20px;
    }

    .ymr-team-info p{
        font-size: 15px;
    }

    .ymr-arrow-btn{
        width: 50px;
        height: 50px;
        flex-basis: 50px;
        font-size: 18px;
    }
}

.ymr-gallery-section{
    padding: 100px 0 90px;
    background: #f8fbff;
    position: relative;
    overflow: hidden;
}

.ymr-gallery-section .container{
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 15px;
}

.ymr-gallery-heading{
    text-align: center;
    margin-bottom: 30px;
}

.ymr-gallery-heading span{
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    color: #1f57d6;
    margin-bottom: 12px;
}

.ymr-gallery-heading h2{
    font-size: 62px;
    line-height: 1.12;
    font-weight: 700;
    color: #121212;
    margin: 0;
}

.ymr-gallery-filter{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 45px;
}

.ymr-gallery-filter button{
    border: 1px solid #edf1f8;
    background: #fff;
    color: #222;
    min-width: 120px;
    height: 54px;
    padding: 0 22px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all .3s ease;
}

.ymr-gallery-filter button.active,
.ymr-gallery-filter button:hover{
    background: #1f57d6;
    border-color: #1f57d6;
    color: #fff;
}

.ymr-gallery-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.ymr-gallery-item{
    opacity: 1;
    transform: translateY(0);
    transition: opacity .35s ease, transform .35s ease;
}

.ymr-gallery-item.is-hiding{
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
}

.ymr-gallery-item.is-hidden{
    display: none;
}

.ymr-gallery-item.is-pre-show{
    display: block;
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
}

.ymr-gallery-item.is-showing{
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.ymr-gallery-item.is-visible{
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.ymr-gallery-item.wide{
    grid-column: span 1;
}

.ymr-gallery-card{
    position: relative;
    display: block;
    overflow: hidden;
    text-decoration: none;
    background: #ddd;
}

.ymr-gallery-card img{
    width: 100%;
    height: 245px;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}

.ymr-gallery-overlay{
    position: absolute;
    inset: 0;
    background: rgba(22, 76, 214, 0.72);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 25px;
    color: #fff;
    opacity: 0;
    visibility: hidden;
    transition: all .35s ease;
}

.ymr-gallery-overlay i{
    font-size: 22px;
    margin-bottom: 16px;
}

.ymr-gallery-overlay h3{
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
    margin: 0 0 8px;
    color: #fff;
}

.ymr-gallery-overlay p{
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: #fff;
}

.ymr-gallery-card:hover img{
    transform: scale(1.06);
}

.ymr-gallery-card:hover .ymr-gallery-overlay{
    opacity: 1;
    visibility: visible;
}

@media (max-width: 1199px){
    .ymr-gallery-heading h2{
        font-size: 50px;
    }
}

@media (max-width: 991px){
    .ymr-gallery-grid{
        grid-template-columns: repeat(2, 1fr);
    }

    .ymr-gallery-heading h2{
        font-size: 42px;
    }
}

@media (max-width: 767px){
    .ymr-gallery-section{
        padding: 70px 0;
    }

    .ymr-gallery-heading h2{
        font-size: 32px;
    }

    .ymr-gallery-filter{
        gap: 8px;
        margin-bottom: 30px;
    }

    .ymr-gallery-filter button{
        min-width: auto;
        padding: 0 18px;
        height: 46px;
        font-size: 13px;
    }

    .ymr-gallery-grid{
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .ymr-gallery-card img{
        height: 220px;
    }

    .ymr-gallery-overlay h3{
        font-size: 20px;
    }

    .ymr-gallery-overlay p{
        font-size: 14px;
    }
}

:root{
  --blue:#1f49c6;
  --text:#1b1b1b;
  --muted:#5f5f5f;
  --line:#e9edf5;
  --bg:#ffffff;
}

*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  background:#f8f8f8;
  color:var(--text);
}

.ctmr-profile{
  background:var(--bg);
  padding:80px 20px 0;
  overflow:hidden;
}

.ctmr-container{
  max-width:1280px;
  margin:0 auto;
  display:grid;
  grid-template-columns: 1.05fr 1fr;
  align-items:center;
  gap:30px;
}

.ctmr-left{
  position:relative;
  z-index:2;
}

.ctmr-kicker{
  display:inline-block;
  margin-bottom:12px;
  font-size:16px;
  font-weight:700;
  color:var(--blue);
  letter-spacing:.4px;
  text-transform:uppercase;
}

.ctmr-title{
  margin:0 0 18px;
  font-size:30px;
  line-height:1.12;
  font-weight:800;
  max-width:620px;
}

.ctmr-desc{
  margin:0 0 34px;
  max-width:620px;
  font-size:18px;
  line-height:1.5;
  color:var(--muted);
  font-weight:600;
}

.skill-list{
  max-width:700px;
}

.skill-item{
  margin-bottom:20px;
}

.skill-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  margin-bottom:10px;
  font-size:22px;
  font-weight:700;
}

.skill-badge{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:42px;
  height:28px;
  padding:0 10px;
  background:var(--blue);
  color:#fff;
  font-size:14px;
  font-weight:700;
  border-radius:6px;
}

.skill-badge::before{
  content:"";
  position:absolute;
  left:-8px;
  top:50%;
  transform:translateY(-50%);
  border-top:8px solid transparent;
  border-bottom:8px solid transparent;
  border-right:8px solid var(--blue);
}

.skill-bar{
  width:100%;
  height:6px;
  background:var(--line);
  overflow:hidden;
}

.skill-fill{
  height:100%;
  background:var(--blue);
}

.ctmr-right{
  position:relative;
  min-height:600px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
}

.ring-bg{
  position:absolute;
  width:340px;
  height:340px;
  border-radius:50%;
  background:var(--blue);
  right:60px;
  top:30px;
}

.ring-bg::after{
  content:"";
  position:absolute;
  inset:80px;
  background:#fff;
  border-radius:50%;
}

.trainer-image{
  position:absolute;
  bottom:0;
  left:10px;
  max-width:500px;
  width:100%;
  z-index:2;
}

.rating-box{
  position:absolute;
  top:10px;
  right:0;
  z-index:3;
  background:#fff;
  width:210px;
  min-height:180px;
  padding:26px 20px;
  text-align:center;
  box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.rating-box strong{
  display:block;
  margin-bottom:10px;
  font-size:64px;
  line-height:1;
  color:var(--blue);
  font-weight:800;
}

.rating-box span{
  display:block;
  font-size:22px;
  line-height:1.35;
  font-weight:500;
}

.social-stack{
  position:absolute;
  right:-24px;
  top:55%;
  transform:translateY(-50%);
  display:flex;
  flex-direction:column;
  gap:12px;
  z-index:4;
}

.social-stack a{
  width:42px;
  height:42px;
  border-radius:50%;
  background:var(--blue);
  color:#fff;
  text-decoration:none;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  font-size:20px;
}

@media (max-width: 1199px){
  .ctmr-title{
    font-size:30px;
  }

  .ctmr-desc{
    font-size:18px;
  }

  .skill-head{
    font-size:20px;
  }

  .ctmr-right{
    min-height:620px;
  }

  .ring-bg{
    width:520px;
    height:520px;
    right:20px;
  }

  .ring-bg::after{
    inset:105px;
  }

  .rating-box{
    right:40px;
    width:190px;
    min-height:165px;
  }

  .rating-box strong{
    font-size:56px;
  }

  .rating-box span{
    font-size:20px;
  }
}

@media (max-width: 991px){
  .ctmr-container{
    grid-template-columns:1fr;
    gap:40px;
  }

  .ctmr-title{
    max-width:100%;
    font-size:42px;
  }

  .ctmr-desc,
  .skill-list{
    max-width:100%;
  }

  .ctmr-right{
    min-height:560px;
  }

  .ring-bg{
    left:50%;
    right:auto;
    transform:translateX(-50%);
    width:460px;
    height:460px;
  }

  .ring-bg::after{
    inset:90px;
  }

  .trainer-image{
    left:50%;
    transform:translateX(-50%);
    max-width:520px;
  }

  .rating-box{
    top:0;
    right:15%;
    transform:translateX(50%);
  }

  .social-stack{
    right:10px;
    top:auto;
    bottom:40px;
    transform:none;
  }
}

@media (max-width: 576px){
  .ctmr-profile{
    padding:60px 16px 0;
  }

  .ctmr-title{
    font-size:34px;
  }

  .ctmr-desc{
    font-size:16px;
    line-height:1.7;
  }

  .skill-head{
    font-size:18px;
  }

  .skill-badge{
    min-width:38px;
    height:25px;
    font-size:12px;
  }

  .ctmr-right{
    min-height:430px;
  }

  .ring-bg{
    width:320px;
    height:320px;
  }

  .ring-bg::after{
    inset:62px;
  }

  .trainer-image{
    max-width:360px;
    bottom:0;
  }

  .rating-box{
    width:150px;
    min-height:120px;
    padding:18px 14px;
  }

  .rating-box strong{
    font-size:42px;
  }

  .rating-box span{
    font-size:16px;
  }

  .social-stack{
    display:none;
  }
}