/*********************************
                    HOME VARIABLES
        *********************************/

        :root {
            --aj-red: #ff1e1e;
            --aj-red-soft: #ff4545;
            --aj-dark: #050505;
            --aj-card: #0d0d12;
            --aj-card-light: #121218;
            --aj-border: rgba(255, 255, 255, 0.07);
            --aj-text: #f5f5f5;
            --aj-muted: #a1a1aa;
        }

        .content {
            background: transparent;
        }

        /*********************************
                    GENERAL
        *********************************/

        .aj-section {
            position: relative;
            overflow: hidden;
            margin-bottom: 30px;
            padding: 34px;
            border-radius: 34px;
            background:
                linear-gradient(
                    145deg,
                    rgba(15, 15, 18, 0.97),
                    rgba(6, 6, 8, 0.98)
                );
            border: 1px solid var(--aj-border);
            backdrop-filter: blur(14px);
            box-shadow:
                0 0 0 1px rgba(255, 255, 255, 0.02),
                0 25px 60px rgba(0, 0, 0, 0.55);
        }

        .aj-section::before {
            content: "";
            position: absolute;
            inset: 0;
            background:
                radial-gradient(
                    circle at top right,
                    rgba(255, 0, 0, 0.10),
                    transparent 35%
                );
            pointer-events: none;
        }

        .aj-section-content {
            position: relative;
            z-index: 2;
        }

        .aj-title {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            margin-bottom: 16px;
            color: #ffffff;
            font-size: clamp(22px, 4vw, 40px);
            font-weight: 900;
            line-height: 1.7;
            text-align: center;
        }

        .aj-title::before,
        .aj-title::after {
            content: "";
            width: 35px;
            height: 2px;
            background:
                linear-gradient(
                    90deg,
                    transparent,
                    var(--aj-red),
                    transparent
                );
        }

        .aj-subtitle {
            max-width: 760px;
            margin: 0 auto;
            color: var(--aj-muted);
            font-size: 15px;
            line-height: 2.1;
            text-align: center;
        }

        .aj-carousel-ltr {
            direction: ltr;
        }

        /*********************************
                    HERO
        *********************************/

        .hero-box {
            min-height: 360px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .hero-brand {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 28px;
            flex-wrap: nowrap;
        }

        .hero-logo {
            width: 96px;
            height: 96px;
            object-fit: contain;
            filter:
                drop-shadow(0 0 8px rgba(255, 0, 0, 0.85))
                drop-shadow(0 0 18px rgba(255, 0, 0, 0.18));
            transition:
                transform 0.35s ease,
                filter 0.35s ease;
        }

        .hero-logo:hover {
            transform: scale(1.06);
            filter:
                drop-shadow(0 0 15px rgba(255, 0, 0, 0.65))
                drop-shadow(0 0 35px rgba(255, 0, 0, 0.35));
        }

        .hero-description {
            max-width: 820px;
            margin: 26px auto 0;
            color: #c7c7c7;
            font-size: 16px;
            line-height: 2.25;
            text-align: center;
        }

        .hero-tags {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 14px;
            flex-wrap: wrap;
            margin-top: 30px;
        }

        .hero-tag {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 10px 18px;
            border-radius: 999px;
            background:
                linear-gradient(
                    145deg,
                    rgba(255, 0, 0, 0.15),
                    rgba(255, 255, 255, 0.03)
                );
            border: 1px solid rgba(255, 0, 0, 0.18);
            color: #ffffff;
            font-size: 13px;
            letter-spacing: 1px;
        }

        /*********************************
                    ABOUT
        *********************************/

        .profile-card {
            height: 100%;
            padding: 30px;
            border-radius: 28px;
            background:
                linear-gradient(
                    145deg,
                    rgba(17, 17, 22, 0.96),
                    rgba(8, 8, 10, 0.98)
                );
            border: 1px solid rgba(255, 255, 255, 0.06);
        }
.profile-carousel-card {
    overflow: hidden;
}

.owl-armanprofiles {
    width: 100%;
    overflow: hidden;
}

.owl-armanprofiles .owl-stage-outer {
    overflow: hidden;
    border-radius: 26px;
}

.owl-armanprofiles .owl-stage {
    display: flex;
    align-items: stretch;
}

.owl-armanprofiles .owl-item {
    overflow: hidden;
}

.owl-armanprofiles .item {
    width: 100%;
    overflow: hidden;
}

.owl-armanprofiles .profile-image-frame {
    width: 100%;
    overflow: hidden;
    padding: 4px;
    border-radius: 26px;
}

.owl-armanprofiles .arman-jafari-profile-image {
    width: 100%;
    max-width: 320px;
    height: auto;
    object-fit: contain;
}

.owl-armanprofiles .arman-jafari-profile-image:hover {
    transform: none;
}
        .profile-image-frame {
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 360px;
            margin: 0;
        }

        .profile-image-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            color: inherit;
            text-decoration: none;
        }

        .arman-jafari-profile-image {
            width: 100%;
            max-width: 320px;
            display: block;
            margin: auto;
            border-radius: 26px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            box-shadow:
                0 15px 40px rgba(0, 0, 0, 0.5),
                0 0 25px rgba(255, 0, 0, 0.15);
            transition: transform 0.35s ease;
        }

        .arman-jafari-profile-image:hover {
            transform: scale(1.03);
        }

        .profile-text {
            color: #d4d4d8;
            font-size: 15px;
            line-height: 2.45;
            text-align: justify;
        }

        /*********************************
                    SKILLS
        *********************************/

        .skill-category {
            margin-bottom: 46px;
        }

        .skill-category:last-child {
            margin-bottom: 0;
        }

        .skill-category-title {
            display: flex;
            align-items: center;
            gap: 14px;
            margin-bottom: 28px;
            color: #ffffff;
            font-size: 22px;
            font-weight: 850;
            line-height: 1.8;
        }

        .skill-category-title::before {
            content: "";
            width: 16px;
            height: 16px;
            flex: 0 0 16px;
            border-radius: 999px;
            background: var(--aj-red);
            box-shadow: 0 0 15px rgba(255, 0, 0, 0.6);
        }

        .skill-card {
            position: relative;
            overflow: hidden;
            height: 100%;
            padding: 24px;
            border-radius: 24px;
            background:
                linear-gradient(
                    145deg,
                    rgba(18, 18, 22, 0.96),
                    rgba(8, 8, 10, 0.98)
                );
            border: 1px solid rgba(255, 255, 255, 0.06);
            transition:
                transform 0.3s ease,
                border-color 0.3s ease,
                box-shadow 0.3s ease;
        }

        .skill-card::before {
            content: "";
            position: absolute;
            inset: 0;
            background:
                radial-gradient(
                    circle at top left,
                    rgba(255, 0, 0, 0.12),
                    transparent 35%
                );
            pointer-events: none;
        }

        .skill-card:hover {
            transform: translateY(-7px);
            border-color: rgba(255, 0, 0, 0.22);
            box-shadow:
                0 18px 40px rgba(0, 0, 0, 0.45),
                0 0 22px rgba(255, 0, 0, 0.10);
        }

        .skill-card-inner {
            position: relative;
            z-index: 2;
        }

        .skill-top {
            display: flex;
            align-items: center;
            gap: 18px;
            margin-bottom: 18px;
        }

        .skill-icon {
            width: 60px;
            height: 60px;
            flex: 0 0 60px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 18px;
            background:
                linear-gradient(
                    145deg,
                    rgba(255, 0, 0, 0.18),
                    rgba(255, 255, 255, 0.03)
                );
            color: #ff4a4a;
            font-size: 24px;
        }

        .skill-name {
            margin: 0;
            color: #ffffff;
            font-size: 15px;
            font-weight: 750;
            line-height: 1.9;
        }

        .skill-level {
            margin-top: 6px;
            color: #9ca3af;
            font-size: 13px;
        }

        .skill-percent {
            color: rgba(255, 255, 255, 0.6);
            font-size: 12px;
        }

        .progress {
            height: 10px;
            overflow: hidden;
            border-radius: 999px;
            background: #141414;
        }

        .progress-bar {
            border-radius: 999px;
        }

        /*********************************
                    SOCIALS
        *********************************/

        .socials {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 18px;
        }

        .social-btn {
            width: 68px;
            height: 68px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 22px;
            color: #ffffff;
            font-size: 26px;
            text-decoration: none;
            border: 1px solid rgba(255, 255, 255, 0.07);
            background:
                linear-gradient(
                    145deg,
                    rgba(255, 255, 255, 0.045),
                    rgba(255, 255, 255, 0.012)
                );
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
            transition:
                transform 0.3s ease,
                background 0.3s ease,
                box-shadow 0.3s ease,
                color 0.3s ease;
        }

        .social-btn:hover {
            transform: translateY(-7px) scale(1.05);
            color: #ffffff;
            box-shadow:
                0 18px 35px rgba(0, 0, 0, 0.45),
                0 0 20px rgba(255, 0, 0, 0.18);
        }

        .btn-youtube:hover {
            background: #ff0000;
        }

        .btn-instagram:hover {
            background:
                linear-gradient(
                    45deg,
                    #feda75,
                    #fa7e1e,
                    #d62976,
                    #962fbf,
                    #4f5bd5
                );
        }

        .btn-telegram:hover {
            background: #0088cc;
        }

        /*********************************
                    PORTFOLIO
        *********************************/

        .portfolio-grid {
            align-items: stretch;
        }

        .portfolio-card {
            position: relative;
            overflow: hidden;
            height: 100%;
            display: flex;
            flex-direction: column;
            padding: 26px;
            border-radius: 28px;
            color: inherit;
            text-decoration: none;
            background:
                linear-gradient(
                    145deg,
                    rgba(18, 18, 22, 0.96),
                    rgba(8, 8, 10, 0.98)
                );
            border: 1px solid rgba(255, 255, 255, 0.06);
            transition:
                transform 0.3s ease,
                border-color 0.3s ease,
                box-shadow 0.3s ease;
        }

        .portfolio-card::before {
            content: "";
            position: absolute;
            inset: 0;
            background:
                radial-gradient(
                    circle at top right,
                    rgba(255, 0, 0, 0.12),
                    transparent 40%
                );
            pointer-events: none;
        }

        .portfolio-card:hover {
            transform: translateY(-7px);
            color: inherit;
            border-color: rgba(255, 0, 0, 0.24);
            box-shadow:
                0 18px 40px rgba(0, 0, 0, 0.45),
                0 0 22px rgba(255, 0, 0, 0.10);
        }

        .portfolio-card-inner {
            position: relative;
            z-index: 2;
            display: flex;
            flex: 1;
            flex-direction: column;
        }

        .portfolio-card-top {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-bottom: 22px;
        }

        .portfolio-icon {
            width: 58px;
            height: 58px;
            flex: 0 0 58px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 18px;
            color: #ffffff;
            font-size: 22px;
            background:
                linear-gradient(
                    145deg,
                    rgba(255, 30, 30, 0.78),
                    rgba(255, 255, 255, 0.05)
                );
            box-shadow: 0 0 24px rgba(255, 0, 0, 0.15);
        }

        .portfolio-category {
            display: block;
            margin-bottom: 4px;
            color: #ff6868;
            font-size: 12px;
            font-weight: 750;
        }

        .portfolio-title {
            margin: 0;
            color: #ffffff;
            font-size: 20px;
            font-weight: 850;
            line-height: 1.6;
        }

        .portfolio-description {
            flex: 1;
            color: #d4d4d8;
            font-size: 14px;
            line-height: 2.15;
        }

        .portfolio-features {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 22px;
        }

        .portfolio-feature {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 34px;
            padding: 7px 12px;
            border-radius: 999px;
            color: #f4f4f5;
            font-size: 12px;
            background: rgba(255, 255, 255, 0.045);
            border: 1px solid rgba(255, 255, 255, 0.075);
        }

        .portfolio-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-top: 24px;
            color: #ff5a5a;
            font-size: 13px;
            font-weight: 800;
        }

        .desktop-project-panel {
            position: relative;
            overflow: hidden;
            height: 100%;
            padding: 32px;
            border-radius: 28px;
            background:
                linear-gradient(
                    145deg,
                    rgba(22, 22, 28, 0.96),
                    rgba(9, 9, 12, 0.99)
                );
            border: 1px solid rgba(255, 255, 255, 0.07);
        }

        .desktop-project-panel::before {
            content: "";
            position: absolute;
            inset: 0;
            background:
                radial-gradient(
                    circle at top left,
                    rgba(255, 0, 0, 0.13),
                    transparent 35%
                );
            pointer-events: none;
        }

        .desktop-project-inner {
            position: relative;
            z-index: 2;
        }

        .desktop-project-title {
            margin-bottom: 14px;
            color: #ffffff;
            font-size: 24px;
            font-weight: 900;
            line-height: 1.8;
        }

        .desktop-project-text {
            margin-bottom: 24px;
            color: #d4d4d8;
            font-size: 15px;
            line-height: 2.25;
            text-align: justify;
        }

        .desktop-feature-list {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 14px;
        }

        .desktop-feature-item {
            display: flex;
            align-items: center;
            gap: 10px;
            min-height: 52px;
            padding: 12px 14px;
            border-radius: 18px;
            color: #f4f4f5;
            font-size: 13px;
            line-height: 1.9;
            background: rgba(255, 255, 255, 0.045);
            border: 1px solid rgba(255, 255, 255, 0.07);
        }

        .desktop-feature-item i {
            color: #ff4a4a;
            font-size: 16px;
        }

        /*********************************
                    COMMENTS
        *********************************/

.testimonials .owl-stage {
    display: flex;
    align-items: stretch;
}

.testimonials .owl-item {
    display: flex;
    align-items: stretch;
}

.testimonials .owl-item > .item {
    width: 100%;
    height: 100%;
}

.testimonials .item {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 30px 30px 85px;
    border-radius: 28px;
    background:
        linear-gradient(
            145deg,
            rgba(16, 16, 20, 0.97),
            rgba(8, 8, 10, 0.99)
        );
    border: 1px solid rgba(255, 255, 255, 0.06);
}

        .testimonials .item::before {
            content: "";
            position: absolute;
            inset: 0;
            background:
                radial-gradient(
                    circle at top right,
                    rgba(255, 0, 0, 0.12),
                    transparent 35%
                );
            pointer-events: none;
        }

        .testimonials .item::after {
            content: "\f10e";
            font-family: "Font Awesome 7 Free";
            font-weight: 900;
            position: absolute;
            top: 20px;
            left: 25px;
            color: rgba(255, 255, 255, 0.035);
            font-size: 60px;
        }

        .comment-user {
            position: relative;
            z-index: 2;
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 18px;
            color: #ffffff;
            font-size: 16px;
            font-weight: 800;
        }

        .comment-user-dot {
            width: 12px;
            height: 12px;
            flex: 0 0 12px;
            border-radius: 999px;
            background: var(--aj-red);
            box-shadow: 0 0 12px rgba(255, 0, 0, 0.75);
        }

        .testimonials .item pre {
            position: relative;
            z-index: 2;
            flex: 1;
            margin: 0;
            padding: 0;
            overflow: visible !important;
            background: transparent;
            border: none;
            color: #d7d7d7;
            font-family: inherit;
            font-size: 14px;
            line-height: 2.2;
            white-space: pre-wrap;
            word-break: break-word;
            text-align: right;
            unicode-bidi: plaintext;
        }

        .comment-gallery-link {
            position: relative;
            z-index: 2;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-top: 18px;
            color: #ff5a5a !important;
            text-decoration: none;
            transition: color 0.25s ease;
        }

        .comment-gallery-link:hover {
            color: #ffffff !important;
        }

        .comment-date {
            position: absolute;
            right: 30px;
            bottom: 25px;
            color: #767676;
            font-size: 12px;
            white-space: nowrap;
        }

        .comments-empty {
            text-align: center;
            padding: 38px 18px;
            border-radius: 24px;
            background: rgba(255, 255, 255, 0.03);
            border: 1px dashed rgba(255, 255, 255, 0.12);
        }

        .comments-empty-icon {
            margin-bottom: 16px;
            color: var(--aj-red);
            font-size: 42px;
        }

        /*********************************
                    OWL
        *********************************/

        .owl-dots {
            text-align: center;
            margin-top: 28px;
        }

        .owl-dot {
            width: 11px;
            height: 11px;
            margin: 0 5px;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.16) !important;
            transition:
                width 0.25s ease,
                background 0.25s ease,
                box-shadow 0.25s ease;
        }

        .owl-dot.active {
            width: 34px;
            background:
                linear-gradient(
                    90deg,
                    #ff1e1e,
                    #ff5d5d
                ) !important;
            box-shadow: 0 0 15px rgba(255, 0, 0, 0.45);
        }

        .owl-carousel .owl-item img {
            width: inherit;
            height: inherit;
        }

        /*********************************
                    RESPONSIVE
        *********************************/

        @media (max-width: 768px) {
            .aj-section {
                padding: 24px;
                border-radius: 26px;
            }

            .hero-box {
                min-height: auto;
            }

            .hero-brand {
                flex-direction: column;
                gap: 14px;
            }

            .hero-logo {
                width: 68px;
                height: 68px;
            }

            .hero-brand .hero-logo:last-child {
                display: none;
            }

            .hero-description {
                font-size: 14px;
                line-height: 2.1;
            }

            .profile-card {
                padding: 22px;
            }

            .profile-image-frame {
                min-height: auto;
            }

            .skill-card {
                padding: 22px;
            }

            .portfolio-card,
            .desktop-project-panel {
                padding: 22px;
                border-radius: 24px;
            }

            .desktop-feature-list {
                grid-template-columns: 1fr;
            }

            .skill-top {
                align-items: flex-start;
            }

            .social-btn {
                width: 58px;
                height: 58px;
                border-radius: 20px;
                font-size: 22px;
            }

            .aj-title::before,
            .aj-title::after {
                width: 22px;
            }
        }

        @media (max-width: 480px) {
            .aj-section {
                padding: 20px;
            }

            .aj-title {
                font-size: 25px;
            }

            .skill-icon {
                width: 54px;
                height: 54px;
                flex-basis: 54px;
            }
        }