.cnp-container {
    width: 100%;
    height: 680px;
    padding: 10px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    font-family: 'IranSansX', sans-serif !important;
}

#circle-nav-services {
    display: block;
    margin: 0 auto;
}

/* Pointer */
.cnp-pointer {
    fill: #ffffff;
    stroke: #152B3F;
    stroke-width: 3;
    filter: drop-shadow(0 0 8px rgba(59, 143, 192, 0.6));
}

/* Services */
.cnp-service {
    cursor: pointer;
}

.cnp-service .shadow {
    fill: #000000;
    opacity: 0;
    filter: url(#service-shadow);
    transition: opacity 0.25s ease;
}

.cnp-service circle.main {
    transition: fill 0.3s ease;
}

.cnp-service:hover circle.main,
.cnp-service.active circle.main {
    fill: #1E3D58 !important;
}

.cnp-service .main {
    transition: stroke 0.3s ease;
}

.cnp-service.active .main {
    stroke: #DA8F49;
}
.cnp-service text {
    font-size: 14px;
    font-family: 'IranSansX', sans-serif;
    text-anchor: middle;
    fill: #4d4d4d;
    font-weight: 500;
    dominant-baseline: hanging;
    pointer-events: none;
    transition: fill 0.3s ease, font-weight 0.3s ease;
}

.cnp-service:hover text,
.cnp-service.active text {
    fill: #152B3F;
    font-weight: 700;
}

/* Center */
.center {
    filter: drop-shadow(0 4px 20px rgba(30, 61, 88, 0.5));
}

/* Button */
#learn-more-container {
    cursor: pointer;
}

#cnp-learn-more-btn-html {
    transition: all 0.3s ease;
}

#cnp-container:hover #cnp-learn-more-btn-html {
    fill: #DA8F49;
    opacity: 1;
}

.cnp-service text:hover {
    font-weight: 600;
}

.cnp-title {
    font-size: 28px;
    font-family: 'IranSansX', sans-serif;
    font-weight: 700;
    text-anchor: middle;
    fill: #ffffff;
}

.cnp-description {
    font-size: 17px;
    font-family: 'IranSansX', sans-serif;
    font-weight: 400;
    text-anchor: middle;
    fill: #ffffff;
    line-height: 1.5;
}

/* استایل دکمه سفارشی */
.cnp-custom-button {
    position: relative;
    overflow: hidden;
    background-color: #1E3D58;
    color: #e8e8e8;
    font-size: 16px;
    font-weight: 400;
    border-radius: 16px;
    width: 80px !important; 
    height: 40px !important;
    border: none;
    text-transform: uppercase;
    border: 1px solid #E3F2FF;
    transition: all .3s cubic-bezier(.23, 1, .32, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-family: 'IranSansX', sans-serif;
}

.cnp-custom-button .button-text {
    position: relative;
    z-index: 2;
    transition: transform .6s cubic-bezier(.23, 1, .32, 1);
    font-weight: 500;
}

.cnp-custom-button::before {
    content: "مشاهده";
    position: absolute;
    height: 40px;
    inset: 0;
    background: #DA8F49;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    transform: translateY(85%);
    transition: transform .6s cubic-bezier(.23, 1, .32, 1);
    z-index: 1;
    pointer-events: none;
}

.cnp-custom-button::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #333;
    transform: translateY(-100%);
    transition: transform .6s cubic-bezier(.23, 1, .32, 1);
    z-index: 0;
    pointer-events: none;
    border-radius: 16px;
}

.cnp-custom-button:hover::before {
    transform: translateY(0);
}

.cnp-custom-button:hover::after {
    transform: translateY(-200%);
}

.cnp-custom-button:hover .button-text {
    transform: translateY(-120%);
    opacity: 0;
}

.cnp-custom-button:focus {
    outline: none;
}

.cnp-custom-button:active {
    transform: scale(.95);
}
@media only screen and (max-width: 1240px) {
.cnp-container {padding: 0px; height: 328px !important;} .cnp-service text {
    font-size: 18px;} .cnp-custom-button {height: 30px !important;}.cnp-custom-button{font-size: 12px !important;}.cnp-description{font-size: 17px !important;}.cnp-custom-button::before{transform: translateY(60%) !important;}.cnp-custom-button::after{font-size: 12px !important;transform: translateY(-180%)}}