/* ============================================
   IMPORTS
   ============================================ */
@import url(./config.css);
@import url(./navigation.css);
@import url(./footer.css);

/* ============================================
   HEADER
   ============================================ */
.header {
    position: relative;
    z-index: 2;
    background: transparent;
}

/* ============================================
   TOP NAV
   ============================================ */
.top-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1rem 1rem 0 0;
}

/* ===== LOGO ===== */
.top-nav__logo {
    display: flex;
    align-items: center;
    gap: 0 1.5rem;
}

.top-nav__logo__img-wrapper {
    position: relative;
    width: 7rem;
    height: 7rem;
    flex-shrink: 0;
    border-radius: 50%;
}

.top-nav__logo__img {
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
    background: #4C505C;
    padding: 0.8rem;
    box-shadow:
        0 4px 20px rgba(255, 185, 35, 0.3),
        0 0 0 2px rgba(255, 185, 35, 0.2),
        inset 0 0 20px rgba(255, 185, 35, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    z-index: 2;
    display: block;
}

.top-nav__logo__img:hover {
    transform: scale(1.08) rotate(-5deg);
    box-shadow:
        0 8px 40px rgba(255, 185, 35, 0.5),
        0 0 0 4px rgba(255, 185, 35, 0.3),
        inset 0 0 30px rgba(255, 185, 35, 0.2);
}

.top-nav__logo__ring {
    position: absolute;
    top: -0.2rem;
    right: -0.2rem;
    width: calc(7rem + 0.4rem);
    height: calc(7rem + 0.4rem);
    border-radius: 50%;
    border: 2.5px solid transparent;
    border-top-color: var(--secondary-clr);
    border-right-color: var(--secondary-clr);
    animation: logoRingSpin 3s linear infinite;
    z-index: 1;
    opacity: 0.7;
    pointer-events: none;
}

.top-nav__logo__ring::before {
    content: "";
    position: absolute;
    top: -0.3rem;
    right: -0.3rem;
    width: calc(100% + 0.6rem);
    height: calc(100% + 0.6rem);
    border-radius: 50%;
    border: 2.5px solid transparent;
    border-bottom-color: rgba(255, 185, 35, 0.25);
    border-left-color: rgba(255, 185, 35, 0.25);
    animation: logoRingSpin 4s linear infinite reverse;
}

@keyframes logoRingSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.top-nav__logo__img-wrapper::after {
    content: "";
    position: absolute;
    top: -0.8rem;
    right: -0.8rem;
    width: calc(7rem + 1.6rem);
    height: calc(7rem + 1.6rem);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 185, 35, 0.12) 0%, transparent 70%);
    z-index: 0;
    animation: logoGlow 2.5s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes logoGlow {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }

    100% {
        transform: scale(1.15);
        opacity: 0.8;
    }
}

.top-nav__logo__wrapper {
    display: flex;
    flex-direction: column;
    text-wrap: nowrap;
}

.top-nav__logo__title {
    font-size: 1.7rem;
    font-family: var(--font-Medium);
    color: var(--primary-text-clr);
}

.top-nav__logo__site-name {
    font-size: 1rem;
    color: var(--secondary-text-clr);
}

/* ===== TOP NAV LIST ===== */
.top-nav__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
}

.top-nav__list__item {
    display: flex;
    gap: 0 1rem;
    padding-left: 1.5rem;
    border-left: 0.1rem solid #eeeeee52;
}

.top-nav__list__item:last-child {
    border: none;
}

.top-nav__list__item__icon {
    fill: var(--jet-clr);
    min-width: 2.4rem;
}

.top-nav__list__item__info {
    display: flex;
    flex-direction: column;
}

.top-nav__list__item__info__input {
    font-size: 1.5rem;
    color: var(--primary-text-clr);
    font-family: var(--font-Medium);
    text-wrap: nowrap;
}

.top-nav__list__item__info__title {
    font-size: 1rem;
    color: var(--secondary-text-clr);
}

/* ============================================
   SLIDER
   ============================================ */
.slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 55rem;
    margin-top: 1rem;
    border-radius: 0rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.slider__wrapper {
    display: flex;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 100%;
    height: 100%;
}

.slide {
    position: relative;
    flex: 0 0 100%;
    height: 100%;
    overflow: hidden;
}

.slide__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(60%) contrast(110%);
    border-radius: 0 !important;
    display: block;
}

.slide__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    z-index: 2;
    text-align: center;
    width: 80%;
    max-width: 70rem;
    padding: 2rem;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide__content.animate {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.slide-content__title {
    font-size: 4.5rem;
    font-family: var(--font-Bold);
    color: var(--white-text-clr);
    display: block;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.slide-content__description {
    font-size: 2.2rem;
    color: var(--white-text-clr);
    display: block;
    margin-bottom: 2rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.slide-content__link {
    width: 14rem;
    height: 4.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--primary-text-clr);
    background-color: var(--secondary-clr);
    font-size: 1.6rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    font-family: var(--font-Medium);
}

.slide-content__link:hover {
    background-color: #e6a71f;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 185, 35, 0.4);
}

.slider__controller {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 3;
}

.slider__controller__button {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.slider__controller__label {
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
}

.slider__controller__label:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.slider__controller__button:checked+.slider__controller__label {
    background: var(--secondary-clr);
    width: 2.5rem;
    border-radius: 1rem;
}

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio {
    position: relative;
    padding: 5rem 0 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.portfolio__badge {
    display: inline-block;
    background: rgba(255, 185, 35, 0.12);
    padding: 0.6rem 1.8rem;
    border-radius: 5rem;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(255, 185, 35, 0.2);
}

.portfolio__badge__text {
    font-size: 1.3rem;
    color: var(--yellow-text-clr);
    font-family: var(--font-Medium);
    letter-spacing: 0.5px;
}

.portfolio__wrapper {
    display: grid;
    grid-template-columns: 45% 55%;
    border-radius: 2rem;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
    position: relative;
    width: 100%;
}

.portfolio__content {
    padding: 4.5rem 4rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.portfolio__content::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 185, 35, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.portfolio__content::after {
    content: "";
    position: absolute;
    bottom: -40%;
    left: -20%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 185, 35, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.portfolio__content__header {
    position: relative;
    z-index: 1;
}

.portfolio__content__number {
    font-size: 5rem;
    font-family: var(--font-Black);
    color: rgba(255, 185, 35, 0.15);
    display: block;
    line-height: 1;
    margin-bottom: -0.5rem;
}

.portfolio__content__title {
    font-size: 2.8rem;
    font-family: var(--font-Bold);
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.portfolio__content__title .highlight {
    color: var(--secondary-clr);
    position: relative;
}

.portfolio__content__title .highlight::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 0.3rem;
    background: var(--secondary-clr);
    border-radius: 1rem;
}

.portfolio__content__description {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.9;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.portfolio__content__stats {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.8rem;
    font-family: var(--font-Bold);
    color: var(--secondary-clr);
    line-height: 1.2;
}

.stat-label {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-Medium);
}

.portfolio__content__link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--secondary-clr);
    color: var(--primary-text-clr);
    padding: 1.2rem 2.5rem;
    border-radius: 5rem;
    text-decoration: none;
    font-size: 1.4rem;
    font-family: var(--font-Medium);
    transition: all 0.3s ease;
    width: fit-content;
    position: relative;
    z-index: 1;
}

.portfolio__content__link:hover {
    background: #e6a71f;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 185, 35, 0.35);
}

.portfolio__content__link svg {
    transition: transform 0.3s ease;
}

.portfolio__content__link:hover svg {
    transform: translateX(-0.5rem);
}

.portfolio__attribute {
    padding: 3.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    background: #ffffff;
}

.portfolio__attribute__card {
    background: #f8f9fa;
    padding: 2rem 1.8rem;
    border-radius: 1.2rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.portfolio__attribute__card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0.4rem;
    height: 0;
    background: var(--secondary-clr);
    transition: height 0.4s ease;
    border-radius: 0 0 0.5rem 0;
}

.portfolio__attribute__card:hover::before {
    height: 100%;
}

.portfolio__attribute__card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(255, 185, 35, 0.2);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    display: block;
}

.card-title {
    font-size: 1.6rem;
    font-family: var(--font-Bold);
    color: var(--primary-text-clr);
    margin-bottom: 0.5rem;
}

.card-description {
    font-size: 1.3rem;
    color: var(--secondary-text-clr);
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.card-line {
    width: 2.5rem;
    height: 0.2rem;
    background: var(--secondary-clr);
    margin-top: 1.2rem;
    border-radius: 1rem;
    transition: width 0.3s ease;
}

.portfolio__attribute__card:hover .card-line {
    width: 4rem;
}

.portfolio__deco {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.04;
}

.deco-1 {
    width: 20rem;
    height: 20rem;
    background: var(--secondary-clr);
    top: -5rem;
    left: -5rem;
}

.deco-2 {
    width: 15rem;
    height: 15rem;
    background: var(--secondary-clr);
    bottom: -3rem;
    right: -3rem;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    position: relative;
    padding: 4rem 0 5rem 0;
}

.services__grid {
    margin-top: 3rem;
}

.services-box {
    background: #ffffff;
    border-radius: 1.2rem;
    padding: 3rem 2.5rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.services-box::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 0.4rem;
    background: var(--secondary-clr);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.services-box:hover::before {
    transform: scaleX(1);
}

.services-box:hover {
    transform: translateY(-0.8rem);
    box-shadow: 0 1.2rem 4rem rgba(255, 185, 35, 0.2), 0 0.4rem 1.2rem rgba(0, 0, 0, 0.08);
    border-color: var(--secondary-clr);
}

.services-box-icon {
    width: 7rem;
    height: 7rem;
    background: rgba(255, 185, 35, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.8rem;
    transition: all 0.4s ease;
}

.services-box:hover .services-box-icon {
    background: var(--secondary-clr);
    transform: scale(1.05) rotate(-8deg);
}

.services-box-icon svg {
    transition: all 0.4s ease;
}

.services-box:hover .services-box-icon svg {
    fill: #ffffff !important;
}

.services-box-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.services-box__title {
    font-size: 2rem;
    font-family: var(--font-Bold);
    color: var(--primary-text-clr);
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
}

.services-box:hover .services-box__title {
    color: var(--yellow-text-clr);
}

.services-box__description {
    font-size: 1.4rem;
    color: var(--secondary-text-clr);
    line-height: 1.8;
    margin: 0;
}

/* ============================================
   ELEMENT HEADER
   ============================================ */
.element-header {
    position: relative;
    padding: 2rem 0 0.5rem 0;
}

.element-header__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.element-header__title {
    font-family: var(--font-Bold);
    font-size: 2rem;
    position: relative;
    padding-right: 2rem;
    color: var(--primary-text-clr);
}

.element-header__title::before {
    content: "";
    width: 0.5rem;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    background-color: var(--secondary-clr);
    border-radius: 1rem;
}

.element-header__link {
    text-decoration: none;
    color: var(--yellow-text-clr);
    font-size: 1.6rem;
    transition: all 0.3s ease;
    font-family: var(--font-Medium);
}

.element-header__link:hover {
    color: #e6a71f;
    transform: translateX(-0.3rem);
}

/* ============================================
   ARTICLE
   ============================================ */
.article {
    position: relative;
    padding: 1rem 0 3rem 0;
}

.article__item {
    max-width: 100%;
    height: 100%;
    border-radius: 1rem;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    margin-bottom: 2.5rem;
}

.article__item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-0.3rem);
}

.article__item__img-wrapper {
    overflow: hidden;
    height: 22rem;
}

.article__item__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.article__item__img-wrapper:hover .article__item__img {
    transform: scale(1.1);
}

.article__item__info {
    padding: 1.8rem 1.8rem 2rem 1.8rem;
}

.article__item__info__title {
    text-decoration: none;
    font-family: var(--font-Bold);
    color: var(--primary-text-clr);
    display: block;
    margin-bottom: 0.8rem;
    font-size: 1.8rem;
    line-height: 1.5;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article__item__info__title:hover {
    color: var(--yellow-text-clr);
}

.article__item__info__description {
    line-height: 1.7;
    font-size: 1.4rem;
    color: var(--secondary-text-clr);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========================================
   بخش نظرات (Testimonial)
   ======================================== */

.testimonial {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

/* افکت پس‌زمینه */
.testimonial::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
    animation: floatBackground 20s ease-in-out infinite;
}

@keyframes floatBackground {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(-10%, -10%) rotate(5deg);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.testimonial-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonial-slide {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 50px 40px 40px;
    max-width: 750px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.testimonial-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(102, 126, 234, 0.2);
}

/* ===== آواتار ===== */
.avatar-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}

.testimonial-slide:hover .avatar-img {
    transform: scale(1.05);
}

.avatar-ring {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 108px;
    height: 108px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #667eea;
    border-right-color: #764ba2;
    animation: spinRing 8s linear infinite;
    z-index: 1;
}

@keyframes spinRing {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ===== آیکون نقل قول ===== */
.quote-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    color: #fff;
    font-size: 28px;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s ease;
}

.testimonial-slide:hover .quote-icon {
    transform: scale(1.1) rotate(5deg);
}

.quote-icon i {
    line-height: 1;
}

/* ===== متن نظر ===== */
.testimonial-text {
    font-size: 18px;
    line-height: 1.9;
    color: #444;
    margin-bottom: 25px;
    font-weight: 400;
    position: relative;
    padding: 0 10px;
    min-height: 80px;
}

/* خط تزئینی زیر متن */
.testimonial-text::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    margin: 20px auto 0;
    border-radius: 10px;
}

/* ===== جزئیات کاربر ===== */
.testimonial-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.testimonial-details .name {
    font-size: 20px;
    font-weight: 700;
    color: #2d3436;
    letter-spacing: 0.5px;
}

.testimonial-details .job {
    font-size: 14px;
    color: #888;
    font-weight: 400;
}

/* ===== نوار پیشرفت (برای اسلایدر خودکار) ===== */
.progress-bar {
    width: 100%;
    height: 3px;
    background: #e9ecef;
    border-radius: 10px;
    margin-top: 25px;
    overflow: hidden;
}

.progress-fill {
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 10px;
    animation: progressAnimation 5s ease-in-out infinite;
}

@keyframes progressAnimation {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

/* ========================================
   بخش آخرین پروژه‌ها (Last Project)
   ======================================== */

/* ===== عنوان بخش ===== */
.last-project-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 0 15px;
    position: relative;
}

.last-project-title h3 {
    font-size: 28px;
    font-weight: 800;
    color: #2d3436;
    position: relative;
    padding-right: 20px;
}

.last-project-title h3::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 30px;
    background: linear-gradient(180deg, #667eea, #764ba2);
    border-radius: 10px;
}

.last-project-title h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 20px;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 10px;
}

.last-project-title a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 30px;
    background: rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.last-project-title a:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    transform: translateX(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.last-project-title a i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.last-project-title a:hover i {
    transform: translateX(-3px);
}

/* ===== بخش اصلی پروژه‌ها ===== */
.last-project {
    padding: 0 15px 60px;
}

/* ===== کارت هر پروژه ===== */
.last-project-box {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    margin-bottom: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.last-project-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

/* ===== تصویر ===== */
.last-project-box-img {
    position: relative;
    overflow: hidden;
    padding-top: 65%;
    background: #f0f2f5;
}

.last-project-box-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.last-project-box:hover .last-project-box-img img {
    transform: scale(1.08);
}

/* اوورلای روی تصویر */
.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(102, 126, 234, 0.7);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.last-project-box:hover .img-overlay {
    opacity: 1;
}

.view-btn {
    padding: 12px 30px;
    background: #fff;
    color: #667eea;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    transform: translateY(20px);
    transition: all 0.4s ease;
    letter-spacing: 0.5px;
}

.last-project-box:hover .view-btn {
    transform: translateY(0);
}

/* ===== برچسب تاریخ روی تصویر ===== */
.date-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 8px 12px;
    border-radius: 12px;
    text-align: center;
    min-width: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.last-project-box:hover .date-badge {
    transform: scale(1.05);
    background: #fff;
}

.date-badge .day {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: #2d3436;
    line-height: 1.2;
}

.date-badge .month {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #667eea;
    text-transform: uppercase;
}

/* ===== محتوای کارت ===== */
.last-project-content {
    padding: 20px 22px 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* عنوان تاریخ */
.last-project-box-title {
    margin-bottom: 12px;
}

.last-project-box-title span {
    font-size: 13px;
    color: #999;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.last-project-box-title span i {
    font-size: 16px;
    color: #667eea;
}

/* توضیحات */
.last-project-box-description {
    flex: 1;
    margin-bottom: 15px;
}

.last-project-box-description h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2d3436;
    line-height: 1.7;
    margin: 0;
}

.last-project-box-description h4 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.last-project-box-description h4 a:hover {
    color: #667eea;
}

/* دکمه ادامه مطلب */
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.read-more i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.read-more:hover {
    color: #764ba2;
}

.read-more:hover i {
    transform: translateX(-5px);
}

/* ===== حالت خالی ===== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 20px;
}

.empty-state i {
    font-size: 60px;
    color: #ddd;
    margin-bottom: 15px;
}

.empty-state p {
    font-size: 16px;
    color: #999;
    margin: 0;
}

/* ===== ریسپانسیو ===== */
@media (max-width: 992px) {
    .last-project-title h3 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .last-project-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 30px;
    }

    .last-project-title h3 {
        font-size: 22px;
    }

    .last-project-title h3::before {
        height: 25px;
    }

    .last-project-title a {
        font-size: 14px;
        padding: 8px 16px;
    }

    .last-project {
        padding: 0 10px 40px;
    }

    .last-project-box {
        border-radius: 15px;
        margin-bottom: 20px;
    }

    .last-project-content {
        padding: 16px 18px 20px;
    }

    .last-project-box-description h4 {
        font-size: 15px;
    }

    .date-badge {
        padding: 6px 10px;
        min-width: 40px;
        bottom: 10px;
        right: 10px;
    }

    .date-badge .day {
        font-size: 15px;
    }

    .date-badge .month {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .last-project-title h3 {
        font-size: 19px;
        padding-right: 15px;
    }

    .last-project-title h3::before {
        height: 20px;
        width: 4px;
    }

    .last-project-title h3::after {
        width: 30px;
        right: 15px;
    }

    .last-project-box-description h4 {
        font-size: 14px;
    }

    .view-btn {
        padding: 8px 20px;
        font-size: 12px;
    }

    .last-project-box-img {
        padding-top: 70%;
    }
}

/* ===== انیمیشن ورود کارت‌ها ===== */
.last-project-box {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* تاخیر برای هر کارت */
.last-project .col-lg-4:nth-child(1) .last-project-box {
    animation-delay: 0.1s;
}

.last-project .col-lg-4:nth-child(2) .last-project-box {
    animation-delay: 0.2s;
}

.last-project .col-lg-4:nth-child(3) .last-project-box {
    animation-delay: 0.3s;
}

.last-project .col-lg-4:nth-child(4) .last-project-box {
    animation-delay: 0.4s;
}

.last-project .col-lg-4:nth-child(5) .last-project-box {
    animation-delay: 0.5s;
}

.last-project .col-lg-4:nth-child(6) .last-project-box {
    animation-delay: 0.6s;
}

/* ========================================
   بخش ویدیوها (Video Section)
   ======================================== */

/* ===== عنوان بخش ===== */
.lastVideos-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 0 15px;
    position: relative;
}

.lastVideos-title h3 {
    font-size: 28px;
    font-weight: 800;
    color: #2d3436;
    position: relative;
    padding-right: 20px;
}

.lastVideos-title h3::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 30px;
    background: linear-gradient(180deg, #e74c3c, #c0392b);
    border-radius: 10px;
}

.lastVideos-title h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 20px;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #e74c3c, #c0392b);
    border-radius: 10px;
}

.lastVideos-title a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #e74c3c;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 30px;
    background: rgba(231, 76, 60, 0.1);
    transition: all 0.3s ease;
}

.lastVideos-title a:hover {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    transform: translateX(-5px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.3);
}

.lastVideos-title a i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.lastVideos-title a:hover i {
    transform: translateX(-3px);
}

/* ===== بخش اصلی ویدیوها ===== */
.lastVideos {
    padding: 0 15px 60px;
}

/* ========================================
   ویدیوی بزرگ (Video Card Special)
   ======================================== */

.videoCardSpecial {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: #1a1a2e;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* باکس ویدیو */
.box-video {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* نسبت 16:9 */
    cursor: pointer;
    overflow: hidden;
    background: #000;
}

/* تصویر پس‌زمینه ویدیو */
.box-video .bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    z-index: 2;
    transition: all 0.6s ease;
}

/* شید تیره روی تصویر */
.bg-video::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 3;
}

/* دکمه پخش */
.box-video .bt-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(231, 76, 60, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    text-indent: -9999px;
    cursor: pointer;
    z-index: 4;
    transition: all 0.3s ease;
    box-shadow: 0 0 40px rgba(231, 76, 60, 0.4);
}

/* مثلث پخش */
.box-video .bt-play:after {
    content: '';
    position: absolute;
    left: 55%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-left: 20px solid #fff;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    transition: all 0.3s ease;
}

.box-video:hover .bt-play {
    transform: translate(-50%, -50%) scale(1.15);
    background: #e74c3c;
    box-shadow: 0 0 60px rgba(231, 76, 60, 0.6);
}

/* کانتینر iframe */
.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* وضعیت باز */
.box-video.open .bg-video {
    opacity: 0;
    visibility: hidden;
}

.box-video.open .video-container {
    opacity: 1;
    z-index: 5;
}

/* ===== اطلاعات ویدیوی بزرگ ===== */
.videoCardSpecial-overload {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 30px 25px 25px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
    z-index: 3;
}

.videoCardSpecial-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
}

.videoCardSpecial-category {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(231, 76, 60, 0.9);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    text-decoration: none;
    margin-bottom: 10px;
    transition: background 0.3s ease;
}

.videoCardSpecial-category:hover {
    background: #e74c3c;
}

.videoCardSpecial-title {
    display: block;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.videoCardSpecial-title:hover {
    color: #e74c3c;
}

.videoCardSpecial-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.videoCardSpecial-date i {
    font-size: 16px;
}

/* ========================================
   ویدیوهای کوچک (Video Card Mini)
   ======================================== */

.videoCardMini {
    height: 100%;
    background: #1a1a2e;
    border-radius: 20px;
    overflow: hidden;
    padding: 10px;
}

.videoCardMini-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
}

.videoCardMini-item {
    flex: 1;
}

.videoCard {
    height: 100%;
    background: #16213e;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.videoCard:hover {
    transform: translateX(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* باکس مینی ویدیو */
.mini-box {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    cursor: pointer;
    overflow: hidden;
    background: #000;
}

.mini-box .min-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    z-index: 2;
    transition: all 0.6s ease;
}

.min-card-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 3;
}

/* دکمه پخش کوچک */
.mini-box .mini-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45px;
    height: 45px;
    background: rgba(231, 76, 60, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    text-indent: -9999px;
    cursor: pointer;
    z-index: 4;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(231, 76, 60, 0.3);
}

.mini-box .mini-play:after {
    content: '';
    position: absolute;
    left: 55%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-left: 14px solid #fff;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    transition: all 0.3s ease;
}

.mini-box:hover .mini-play {
    transform: translate(-50%, -50%) scale(1.15);
    background: #e74c3c;
    box-shadow: 0 0 40px rgba(231, 76, 60, 0.5);
}

/* کانتینر iframe مینی */
.mini-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.mini-video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* وضعیت باز مینی */
.mini-box.open .min-card-bg {
    opacity: 0;
    visibility: hidden;
}

.mini-box.open .mini-video-container {
    opacity: 1;
    z-index: 5;
}

/* ===== اطلاعات ویدیوی کوچک ===== */
.videoCardMini-overload {
    padding: 12px 15px 15px;
}

.videoCardMini-categories {
    display: inline-block;
    padding: 3px 12px;
    background: rgba(231, 76, 60, 0.8);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    border-radius: 15px;
    text-decoration: none;
    margin-bottom: 6px;
    transition: background 0.3s ease;
}

.videoCardMini-categories:hover {
    background: #e74c3c;
}

.videoCardMini-title {
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.videoCardMini-title:hover {
    color: #e74c3c;
}

.videoCardMini-date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
}

.videoCardMini-date i {
    font-size: 13px;
}

/* ===== حالت خالی ===== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 20px;
}

.empty-state i {
    font-size: 60px;
    color: #ddd;
    margin-bottom: 15px;
}

.empty-state p {
    font-size: 16px;
    color: #999;
    margin: 0;
}


/* ============================================
   RESPONSIVE - SLIDER, PORTFOLIO, SERVICES, ARTICLE
   ============================================ */

@media screen and (max-width: 1100px) {
    .portfolio__content {
        padding: 3.5rem 3rem;
    }

    .portfolio__attribute {
        padding: 2.5rem;
    }
}

@media screen and (max-width: 992px) {
    .slider {
        height: 40rem;
    }

    .slide-content__title {
        font-size: 3.5rem;
    }

    .slide-content__description {
        font-size: 1.8rem;
    }

    .portfolio__wrapper {
        grid-template-columns: 1fr;
        border-radius: 1.5rem;
    }

    .portfolio__content {
        padding: 3.5rem;
        min-height: auto;
    }

    .portfolio__attribute {
        padding: 2.5rem;
        grid-template-columns: 1fr 1fr;
    }

    .portfolio__content__title {
        font-size: 2.4rem;
    }

    .portfolio__content__stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2.4rem;
    }

    .services-box {
        padding: 2.5rem 2rem;
    }

    .lastVideos-title h3 {
        font-size: 24px;
    }

    .videoCardSpecial {
        margin-bottom: 20px;
    }

    .videoCardSpecial-title {
        font-size: 16px;
    }
}

@media screen and (max-width: 768px) {
    .slider {
        height: 32rem;
    }

    .slide-content__title {
        font-size: 2.5rem;
    }

    .slide-content__description {
        font-size: 1.4rem;
    }

    .slide-content__link {
        width: 12rem;
        height: 4rem;
        font-size: 1.3rem;
    }

    .top-nav__logo {
        justify-content: center;
        margin-bottom: 0.5rem;
    }

    .top-nav__logo__img-wrapper {
        width: 5.5rem;
        height: 5.5rem;
    }

    .top-nav__logo__img {
        width: 5.5rem;
        height: 5.5rem;
        padding: 0.5rem;
    }

    .top-nav__logo__ring {
        width: calc(5.5rem + 0.4rem);
        height: calc(5.5rem + 0.4rem);
    }

    .top-nav__logo__img-wrapper::after {
        width: calc(5.5rem + 1.6rem);
        height: calc(5.5rem + 1.6rem);
    }

    .top-nav__list {
        justify-content: center;
    }

    .top-nav__list__item {
        border-left: none;
        padding-left: 0;
        padding: 0.3rem 0.8rem;
        border-bottom: 0.1rem solid #eeeeee52;
    }

    .top-nav__list__item:last-child {
        border-bottom: none;
    }

    .portfolio {
        padding: 3rem 0 4rem 0;
    }

    .portfolio__content {
        padding: 2.5rem 2rem;
    }

    .portfolio__content__title {
        font-size: 2rem;
    }

    .portfolio__content__description {
        font-size: 1.3rem;
    }

    .portfolio__content__stats {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .stat-number {
        font-size: 2rem;
    }

    .portfolio__attribute {
        padding: 2rem;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .portfolio__attribute__card {
        padding: 1.5rem 1.2rem;
    }

    .card-title {
        font-size: 1.4rem;
    }

    .card-description {
        font-size: 1.2rem;
    }

    .deco-1,
    .deco-2 {
        display: none;
    }

    .services-box {
        margin-bottom: 2rem;
    }

    .article__item {
        margin-bottom: 2rem;
    }

    .article__item__img-wrapper {
        height: 18rem;
    }

    .testimonial {
        padding: 50px 0;
    }

    .testimonial-slide {
        padding: 35px 20px 30px;
        border-radius: 20px;
    }

    .avatar-wrapper {
        width: 80px;
        height: 80px;
    }

    .avatar-ring {
        width: 88px;
        height: 88px;
        top: -4px;
        right: -4px;
    }

    .quote-icon {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }

    .testimonial-text {
        font-size: 16px;
        line-height: 1.8;
        padding: 0;
        min-height: auto;
    }

    .testimonial-details .name {
        font-size: 18px;
    }

    .testimonial-details .job {
        font-size: 13px;
    }

    .lastVideos-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 30px;
    }

    .lastVideos-title h3 {
        font-size: 22px;
    }

    .lastVideos-title h3::before {
        height: 25px;
    }

    .lastVideos-title a {
        font-size: 14px;
        padding: 8px 16px;
    }

    .lastVideos {
        padding: 0 10px 40px;
    }

    .videoCardSpecial-overload {
        padding: 20px 18px 18px;
    }

    .videoCardSpecial-title {
        font-size: 15px;
    }

    .box-video .bt-play {
        width: 55px;
        height: 55px;
    }

    .box-video .bt-play:after {
        border-left: 16px solid #fff;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
    }

    .mini-box .mini-play {
        width: 38px;
        height: 38px;
    }

    .mini-box .mini-play:after {
        border-left: 12px solid #fff;
        border-top: 7px solid transparent;
        border-bottom: 7px solid transparent;
    }

    .videoCardMini-item {
        flex: 0 0 auto;
    }
}

@media screen and (max-width: 576px) {
    .slider {
        height: 25rem;
        margin-top: 0.5rem;
        border-radius: 1rem;
    }

    .slide-content__title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .slide-content__description {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .slide-content__link {
        width: 9rem;
        height: 3.5rem;
        font-size: 1.1rem;
    }

    .slider__controller {
        bottom: 1.5rem;
        gap: 0.8rem;
    }

    .slider__controller__label {
        width: 1rem;
        height: 1rem;
    }

    .slider__controller__button:checked+.slider__controller__label {
        width: 2rem;
    }

    .portfolio__badge {
        padding: 0.4rem 1.2rem;
    }

    .portfolio__badge__text {
        font-size: 1.1rem;
    }

    .portfolio__content {
        padding: 2rem 1.5rem;
    }

    .portfolio__content__number {
        font-size: 3.5rem;
    }

    .portfolio__content__title {
        font-size: 1.7rem;
    }

    .portfolio__content__description {
        font-size: 1.2rem;
    }

    .portfolio__content__link {
        padding: 0.9rem 2rem;
        font-size: 1.2rem;
        width: 50%;
        justify-content: center;
    }

    .portfolio__attribute {
        padding: 1.5rem;
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .portfolio__attribute__card {
        padding: 1.2rem 1rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    .element-header__title {
        font-size: 1.7rem;
    }

    .element-header__link {
        font-size: 1.3rem;
    }

    .services {
        padding: 2rem 0 3rem 0;
    }

    .services-box {
        padding: 2rem 1.2rem;
        margin-bottom: 1.5rem;
    }

    .services-box-icon {
        width: 5.5rem;
        height: 5.5rem;
    }

    .services-box-icon svg {
        width: 3.2rem;
        height: 3.2rem;
    }

    .services-box__title {
        font-size: 1.6rem;
    }

    .services-box__description {
        font-size: 1.2rem;
    }

    .article__item__info__title {
        font-size: 1.5rem;
    }

    .article__item__info__description {
        font-size: 1.2rem;
    }

    .article__item__img-wrapper {
        height: 15rem;
    }

    .lastVideos-title h3 {
        font-size: 19px;
        padding-right: 15px;
    }

    .lastVideos-title h3::before {
        height: 20px;
        width: 4px;
    }

    .lastVideos-title h3::after {
        width: 30px;
        right: 15px;
    }

    .videoCardSpecial-title {
        font-size: 14px;
    }

    .videoCardMini-title {
        font-size: 13px;
    }

    .box-video .bt-play {
        width: 45px;
        height: 45px;
    }

    .box-video .bt-play:after {
        border-left: 13px solid #fff;
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
    }

    .mini-box .mini-play {
        width: 32px;
        height: 32px;
    }

    .mini-box .mini-play:after {
        border-left: 10px solid #fff;
        border-top: 6px solid transparent;
        border-bottom: 6px solid transparent;
    }

    .videoCardSpecial-overload {
        padding: 15px 12px 12px;
    }

    .videoCardMini-overload {
        padding: 10px 12px 12px;
    }
}

@media (max-width: 480px) {
    .testimonial {
        padding: 30px 0;
    }

    .testimonial-slide {
        padding: 25px 15px 20px;
    }

    .avatar-wrapper {
        width: 65px;
        height: 65px;
        margin-bottom: 15px;
    }

    .avatar-ring {
        width: 73px;
        height: 73px;
    }

    .testimonial-text {
        font-size: 14px;
    }

    .testimonial-text::after {
        width: 40px;
        margin-top: 15px;
    }
}

@media screen and (max-width: 400px) {
    .slider {
        height: 20rem;
    }

    .slide-content__title {
        font-size: 1.4rem;
    }

    .slide-content__description {
        font-size: 0.9rem;
    }

    .slide-content__link {
        width: 7rem;
        height: 3rem;
        font-size: 0.9rem;
    }

    .portfolio__content__title {
        font-size: 1.4rem;
    }

    .portfolio__content__stats {
        flex-direction: column;
        gap: 0.8rem;
    }

    .stat-item {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }

    .stat-number {
        font-size: 1.6rem;
    }
}