/* ==========================================================================
   1. VARIABLES & BASE RESETS
   ========================================================================== */
:root {
    --primary-dark: #0a0f26;
    --brand-purple: #6a5ce2;
    --brand-purple-dark: #4f46e5;
    --brand-green: #10b981;
    --brand-orange: #f97316;
    --bg-light: #f8fafc;
    --text-main: #334155;
    --text-heading: #0f172a;
    --container-max: 1296px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    direction: rtl;
    text-align: right;
    font-family: Yekan Bakh FaNum;
    background-color: #f0f5fd;
    color: var(--text-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

@font-face {
    font-family: Yekan Bakh FaNum;
    font-style: normal;
    src: url('../fonts/YekanBakhFaNum-Regular.woff2') format("woff2");
}

@font-face {
    font-family: Yekan Bakh FaNum;
    font-style: normal;
    font-weight: bold;
    src: url('../fonts/YekanBakhFaNum-Bold.woff2') format("woff2");
}

@font-face {
    font-family: Yekan Bakh FaNum;
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/YekanBakhFaNum-Black.woff2') format("woff2");
}


/* ==========================================================================
   2. CORE LAYOUT UTILITIES
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-right: auto;
    margin-left: auto;
    padding-right: 15px;
    padding-left: 15px;
}

.row-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 24px;
}

.align-center {
    align-items: center;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-column {
    flex-direction: column;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

.text-purple {
    color: var(--brand-purple);
}

.text-purple-h1 {
    padding: 0 15px;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    border-radius: 100px;
    border-top-right-radius: 0;
    font-size: 46px;
    margin-top: 15px;
    display: block;
    width: fit-content;
}

/* Grid Responsive */
.row-grid>* {
    grid-column: span 12;
}

@media (min-width: 768px) {
    .col-md-6 {
        grid-column: span 6;
    }
}

@media (min-width: 992px) {
    .col-lg-3 {
        grid-column: span 3;
    }

    .col-lg-4 {
        grid-column: span 4;
    }

    .col-lg-5 {
        grid-column: span 5;
    }

    .col-lg-6 {
        grid-column: span 6;
    }

    .col-lg-7 {
        grid-column: span 7;
    }

    .col-lg-8 {
        grid-column: span 8;
    }
}

/* UI Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    font-size: 0.95rem;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--brand-purple);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--brand-purple-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #f1f5f9;
    color: var(--text-heading);
}

.btn-green {
    background-color: #6fdfdf;
    color: #111111;
    padding: 8px 25px;
    font-size: 1.05rem;
    font-weight: 900;
    border-radius: 100px;
}

.btn-orange {
    background-color: #ff8b12;
    color: #141414;
    font-weight: bold;
    font-size: 16px;
    border-radius: 30px;
}

/* ==========================================================================
   3. SITE HEADER
   ========================================================================== */
.site-header-wrapper {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--primary-dark);
    width: 163px;
    height: 46px;
    background-image: url(../images/logo.png);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center center;
    text-decoration: none;
    display: block;
    text-indent: -9999px;
}

.main-menu {
    display: flex;
    list-style: none;
    gap: 80px;
    align-items: center;
}

.main-menu>li {
    position: relative;
    padding: 25px 0;
}

.main-menu>li>a {
    text-decoration: none;
    color: var(--text-heading);
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-actions {
    display: flex;
    gap: 12px;
}

/* Dropdown & Megamenu Engine */
.dropdown-menu,
.megamenu-wrapper {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.has-dropdown:hover .dropdown-menu,
.has-megamenu:hover .megamenu-wrapper {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.megamenu-wrapper a {
    color: #111111;
    text-decoration: none;
}

.dropdown-menu {
    min-width: 200px;
    padding: 8px 0;
    list-style: none;
}

.main-menu>li.has-megamenu {
    position: static;
}

.megamenu-wrapper {
    left: 0;
    right: 0;
    padding: 24px;
}

.megamenu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* ==========================================================================
   4. HERO SECTION WITH GRADIENT WAVE
   ========================================================================== */
.hero-section {
    background: #4f46e5;
    color: #ffffff;
    padding-top: 50px;
    position: relative;
    overflow: hidden;
}

.hero-section h1 {
    font-size: 30px;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.hero-image-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-main-img {
    max-width: 85%;
    z-index: 6;
    position: relative;
}

.hero-wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 395px;
    background-image: url('../images/hero-wave.webp');
    background-size: 100% 100%;
    z-index: 5;
}

.hero-content-col {
    position: relative;
    z-index: 9;
}

/* ==========================================================================
   5. VIDEO & CONTENT INTRO
   ========================================================================== */
.intro-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: #141414;
}

.intro-content p {
    margin-bottom: 16px;
    font-size: 1.05rem;
    color: var(--text-main);
    text-align: justify;
}

.btn-more {
    color: var(--brand-purple);
    font-weight: 700;
    padding: 8px 0;
}

.video-card-thumb {
    aspect-ratio: 16 / 9;
    width: 100%;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background-color: white;
}

.video-card-thumb img {
    width: 100%;
    display: block;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    background: var(--brand-purple);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 16px solid #fff;
    margin-left: 4px;
}

.video-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    font-weight: bold;
    background: var(--brand-purple);
    color: #fff;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 14px;
}

/* ==========================================================================
   6. PREMIUM FEATURES GRID
   ========================================================================== */
.section-title {
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #141414;
}

.feature-card {
    background: #e7eaef;
    border-radius: 20px;
    padding: 24px;
    height: 100%;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02);
    border: 1px solid #f1f5f9;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.card-head h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-heading);
}

.arrow-icon {
    width: 35px;
    height: 35px;
    background-image: url(../images/icons/arrow.svg);
    background-color: rgba(255, 255, 255, 0.3);
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center center;
    border-radius: 100px;
    transition: 0.5s;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-main);
    margin: 10px 0 20px 0;
}

.feature-card img {
    max-width: 100%;
    margin-top: auto;
    border-radius: 12px;
}

.feature-card:hover .arrow-icon {
    background-color: white;
    transform: rotate(45deg);
}

/* ==========================================================================
   7. ADVANTAGES & LUXURY CTA
   ========================================================================== */
.advantage-box {
    display: block;
    height: 100%;
    background: #d5dadf;
    position: relative;
    border: 1px solid #d5dadf;
    border-radius: 16px;
    padding: 24px;
    transition: var(--transition);
    color: var(--text-main);
    text-decoration: none;
}

.advantage-box:hover {
    background-color: var(--brand-purple);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.06);
    color: white;
}

.arrow-adv {
    position: absolute;
    top: 15px;
    left: 15px;
    transform: rotate(45deg);
    transition: 0.2s;
}
.advantage-box:hover .arrow-adv {
    transform: rotate(0deg);
}

.arrow-adv i {
    display: block;
    background-color: white;
}

.advantage-box h3 {
    padding-left: 40px;
    font-weight: normal;
    font-size: 26px;
}

/* CTA VIP Banner */
.cta-banner-section {
    margin: 40px 0;
}

.cta-inner {
    background-image: -moz-linear-gradient( 0deg, rgb(125,103,203) 0%, rgb(85,52,165) 100%);
    background-image: -webkit-linear-gradient( 0deg, rgb(125,103,203) 0%, rgb(85,52,165) 100%);
    background-image: -ms-linear-gradient( 0deg, rgb(125,103,203) 0%, rgb(85,52,165) 100%);
    color: #fff;
    border-radius: 24px;
    padding: 48px;
    position: relative;
    box-shadow: 0 20px 40px rgba(76, 29, 149, 0.2);
    overflow: hidden;
}

.cta-text-content h2 {
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 50px;
}

.cta-phone {
    direction: ltr;
    text-align: left;
    padding-left: 200px;
    position: relative;
    z-index: 1;
}

.cta-phone small {
    display: block;
    color: #fcff00;
}

.cta-phone strong {
    display: block;
    font-size: 36px;
}

.cta-phone strong span {
    font-size: 24px;
}

.cta-btn-action {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cta-btn-action p {
    color: rgba(255, 255, 255, 0.5);
}

.cat-logo {
    width: 240px;
    height: 57px;
    background-image: url(../images/logo-white.png);
    background-size: 100% 100%;
    opacity: 0.3;
    margin-bottom: 20px;
}

.cta-call {
    width: 60px;
    height: 60px;
    background-color: #2d2858;
    border-radius: 100px;
    position: absolute;
    left: 160px;
    background-image: url(../images/icons/call-13.png);
    background-size: 50%;
    background-position: center center;
    background-repeat: no-repeat;
}

.cta-call::after {
    content: '';
    width: 620px;
    height: 620px;
    position: absolute;
    left: -279px;
    top: -279px;
    background-image: url(../images/Orbit.svg);
    z-index: 0;
    animation: 3s ctacallanimate infinite;
}

@keyframes ctacallanimate {
    0% {
            transform: scale(1);
    }
    50% {
            transform: scale(0.8);
    }
}

/* ==========================================================================
   8. ACCORDION (FAQ) ENGINE
   ========================================================================== */
.accordion-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.accordion-header {
    padding: 18px 24px;
    cursor: pointer;
    user-select: none;
}

.accordion-header h3 {
    font-size: 18px;
    font-weight: normal;
}

.active .accordion-header h3 {
    font-weight: bold;
}

.toggle-icon::before {
    content: "+";
    font-size: 1.3rem;
    color: var(--brand-purple);
    font-weight: bold;
}

.accordion-item.active .toggle-icon::before {
    content: "−";
}

.accordion-content {
    padding: 0 24px 24px 24px;
    display: none;
}

.accordion-item.active .accordion-content {
    display: block;
}

.question-mark-circle {
    width: 80px;
    height: 80px;
    background: #e0e7ff;
    color: var(--brand-purple);
    border-radius: 50%;
    font-size: 2.5rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

/*features*/
.icontent-feature {
    overflow: hidden;
}

.icontent-row {
    height: 70px;
    overflow: hidden;
    position: relative;
    margin-bottom: 5px;
}

.marquee__track {
    display: flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.icontent-item {
    width: 61px;
    height: 65px;
    flex: 0 0 auto;
    background: #fff;
    background-size: 100% 100%;
    border-radius: 5px;
}

#icontent-img-1 {
    background-image: url('../images/icontent/content-thumbnail-1.webp');
}

#icontent-img-2 {
    background-image: url('../images/icontent/content-thumbnail-2.webp');
}

#icontent-img-3 {
    background-image: url('../images/icontent/content-thumbnail-3.webp');
}

#icontent-img-4 {
    background-image: url('../images/icontent/content-thumbnail-4.webp');
}

#icontent-img-5 {
    background-image: url('../images/icontent/content-thumbnail-5.webp');
}

#icontent-img-6 {
    background-image: url('../images/icontent/content-thumbnail-6.webp');
}

#icontent-img-7 {
    background-image: url('../images/icontent/content-thumbnail-7.webp');
}

#icontent-img-8 {
    background-image: url('../images/icontent/content-thumbnail-8.webp');
}

.marquee-left {
    float: left;
}

.isenarios {
    width: 95%;
    margin: 0 auto;
    position: relative;
}

.isenarios img {
    width: 52%;
    position: absolute;
}

#isenario-item-1 {
    right: 0;
    transform: rotate(8deg);
    box-shadow: 0 0 6px rgb(0 0 0 / 20%);
    transition: 0.5s;
}

#isenario-item-2 {
    left: 0;
    transform: rotate(-8deg);
    box-shadow: 0 0 6px rgb(0 0 0 / 20%);
    transition: 0.5s;
}

#icontent-feature-senario {
    overflow: hidden;
}

#icontent-feature-senario:hover #isenario-item-1 {
    transform: rotate(18deg);
}

#icontent-feature-senario:hover #isenario-item-2 {
    transform: rotate(0deg) scale(1.2);
    left: 30px;
    top: 7px;
}

.ibot-main {
    position: relative;
    display: flex;
    justify-content: center;
}

.ibot-main img {
    width: 210px;
    position: absolute;
    top: -18px;
}

.iapps-main {
    min-height: 170px;
    position: relative;
    display: flex;
    justify-content: center;
}

.iapps-main img {
    position: absolute;
    top: 0;
}

.iapps-left {
    top: 35px !important;
    left: 12%;
    transform: rotate(-35deg) scale(0.9);
    transition: 0.5s;
}

.iapps-right {
    top: 35px !important;
    right: 12%;
    transform: rotate(35deg) scale(0.9);
    transition: 0.5s;
}

.iapps-center {
    z-index: 1;
    transition: 0.5s;
}

#iapss:hover .iapps-left  {
    top: 70px !important;
    transform: rotate(-25deg) scale(0.8);
}

#iapss:hover .iapps-right  {
    top: 70px !important;
    transform: rotate(25deg) scale(0.8);
}

#iapss:hover .iapps-center  {
    top: 50px !important;
    transform: scale(1.3);
}

/* ==========================================================================
   Auto Followup Premium Component
   ========================================================================== */
#auto-followup-card .card-desc {
    font-size: 0.95rem;
    color: #475569;
    margin-top: 8px;
    margin-bottom: 24px;
}

.mockup-container {
    width: 100%;
    direction: rtl;
}

.mockup-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.campaign-slider {
    position: relative;
    height: 85px;
    overflow: hidden;
}

.slider-frame {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    position: absolute;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.76, 0, 0.24, 1);
}

#auto-followup-card:hover .frame-one {
    animation: slideFrameOne 5s infinite;
}

#auto-followup-card:hover .frame-two {
    transform: translateY(120%);
    animation: slideFrameTwo 5s infinite;
}

@keyframes slideFrameOne {

    0%,
    48% {
        transform: translateY(120%);
        opacity: 0;
    }

    50%,
    98% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(120%);
        opacity: 0;
    }
}

@keyframes slideFrameTwo {

    0%,
    48% {
        transform: translateY(0);
        opacity: 1;
    }

    50%,
    98% {
        transform: translateY(-120%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.campaign-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.campaign-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.campaign-info .time {
    font-size: 0.8rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 5px;
}

.campaign-box .badge {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 12px;
    padding: 0px 10px;
    border-radius: 6px;
}

.status-done .badge {
    background-color: #10b981;
    color: #ffffff;
}

.status-wait .badge {
    background-color: #6366f1;
    color: #ffffff;
}

.campaign-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
}

.icon-magnet {
    background-color: #fce7f3;
}

.icon-users {
    background-color: #e0f2fe;
}

.skeleton-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.skeleton-box {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 16px;
    height: 85px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.skeleton-line {
    background: #cbd5e1;
    border-radius: 4px;
    height: 12px;
    position: relative;
    right: 55px;
}

.skeleton-line.short {
    width: 40%;
}

.skeleton-line.long {
    width: 70%;
}

.skeleton-circle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #cbd5e1;
}

#auto-followup-card:hover .animate-pulse {
    animation: skeletonPulse 1.5s infinite ease-in-out;
}

@keyframes skeletonPulse {

    0%,
    100% {
        opacity: 0.6;
        background-color: #cbd5e1;
    }

    50% {
        opacity: 1;
        background-color: #94a3b8;
    }
}

.campaign-info-icon-clock {
    width: 12px;
    height: 12px;
    display: block;
    background-image: url('../images/icons/clock.png');
    background-size: 100% 100%;
}

.faq-illustration {
    display: flex;
    align-items: center;
    flex-direction: column;
}

/*Footer*/
footer {
    padding-top: 35px;
    background-color: #fff;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
    margin-top: 25px;
}
.footer-about img {
    display: block;
    margin: auto;
    margin-bottom: 25px;
}
.footer-about p {
    text-align: justify;
    color: #545454;
    font-size: 14px;
}
.footer-about a {
    font-size: 14px;
    font-weight: bold;
    color: #1560bd;
    text-decoration: none;
    float: left;
}
.footer-title {
    display: block;
    position: relative;
    font-size: 18px;
    font-weight: bold;
    color: #334155;
    padding-right: 25px;
    margin-bottom: 15px;
}
.footer-title::before {
    content: "";
    width: 10px;
    height: 30px;
    background-color: var(--brand-purple);
    position: absolute;
    right: 0;
    top: 0;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 8px;
}
.footer-menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.footer-menu li {
    width: 49%;
    display: inline-block;
}
.footer-menu a {
    display: block;
    background-color: #f9f9f9;
    color: #969696;
    font-size: 16px;
    margin: 5px;
    text-decoration: none;
    padding: 0 10px;
}
.footer-menu a:hover {
    color: #334155;
}
.flex-call-center {
    display: flex;
    justify-content: center;
}
.footer-social {
    display: flex;
    justify-content: space-between;
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.footer-social span {
    width: 0px;
    overflow: hidden;
    padding-left: 5px;
    opacity: 0;
    transition: 0.5s;
}
.footer-social a {
    display: inline-flex;
    flex-direction: row-reverse;
    font-size: 14px;
    color: #334155;
    font-weight: bold;
    text-decoration: none;
    text-align: left;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: 0.5s;
}
.footer-social a:hover {
    filter: grayscale(0%);
    opacity: 1;
}
.footer-social a:hover > span {
    width: 70px;
    opacity: 1;
}
.icon-social {
    width: 25px;
    height: 25px;
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center center;
    transition: 0.5s;
}
.icon-social-instagram {
    background-image: url('../images/icons/social/instagram.svg');
}
.icon-social-telegram {
    background-image: url('../images/icons/social/telegram.svg');
}
.icon-social-twitter {
    background-image: url('../images/icons/social/twitter.svg');
}
.icon-social-facebook {
    background-image: url('../images/icons/social/facebook.svg');
}
.icon-social-linkedin {
    background-image: url('../images/icons/social/linkedin.svg');
}
.icon-social-aparat {
    background-image: url('../images/icons/social/aparat.svg');
    background-size: 85%;
}
.element-foot::after {
    content: '';
    display: block;
    width: 100%;
    height: 10px;
    background-color: #5a3baa;
}
.element-foot-logo {
    width: 100%;
    height: 59px;
    background-image: url('../images/footer-el.svg');
    background-position: center center;
    background-repeat: no-repeat;
    padding-top: 8px;
    background-size: auto 100%;
}
.element-foot-logo span {
    display: block;
    text-align: center;
    font-size: 12px;
    color: #fff;
    padding-top: 5px;
}
.element-foot-logo::before {
    content: ' ';
    width: 141px;
    height: 33px;
    display: block;
    margin: auto;
    background-image: url('../images/logo-white.png');
    background-size: 100%;
}

.menu-icon {
    width: 20px;
    height: 20px;
    background-size: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.7;
}

.icon-home {
    background-image: url('../images/icons/menu-home.svg');
}

.icon-chat {
    background-image: url('../images/icons/menu-chat.svg');
}

.icon-ai {
    background-image: url('../images/icons/menu-ai.svg');
}

.icon-price {
    background-image: url('../images/icons/menu-price.svg');
}

.icon-edu{
    background-image: url('../images/icons/menu-academy.svg');
}

.flex-call-center {
    display: flex;
    justify-content: center;
    margin: 10px 0 25px 0;
}

.call-center a {
    direction: ltr;
    color: #2a2a2a;
    text-decoration: none;
    display: flex;
}

.icon-call-center {
    width: 40px;
    height: 40px;
    display: block;
    background-image: url(../images/icons/call-green.svg);
    background-size: 100%;
    margin: 15px;
}

.call-content {
    margin-right: 20px;
}

.call-number {
    font-size: 30px;
}

.call-number span {
    font-size: 18px;
}

.call-content p {
    font-size: 20px;
    margin: 0;
    margin-top: -10px;
    color: #777;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-in-out;
}

.accordion-content p {
    padding: 15px 20px;
    margin: 0;
    text-align: justify;
}

#homepage-video-card-thumb {
    background-image: url("../images/video-cover.webp");
    background-size: 100% 100%;
}

/* ==========================================================================
   Video Modal (Aparat) - اضافه کردن به انتهای style.css
   ========================================================================== */
#homepage-video-card-thumb {
    cursor: pointer;
}

html.video-modal-open {
    overflow: hidden;
}

.video-modal {
    position: fixed;
    inset: 0;
    z-index: 99999; /* بالاتر از هدر (1000) و منوی پایین موبایل */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 12px 12px; /* جای دکمه بستن */
    background: rgba(10, 15, 38, 0.82);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.video-modal.is-visible {
    opacity: 1;
}

.video-modal__box {
    position: relative;
    width: 100%;
    /* هم از عرض صفحه و هم از ارتفاع صفحه (حالت landscape موبایل) تبعیت می‌کند */
    max-width: min(960px, calc((100vh - 80px) * 16 / 9));
    transform: translateY(16px) scale(0.97);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-modal.is-visible .video-modal__box {
    transform: none;
}

.video-modal__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.video-modal__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-modal__close {
    position: absolute;
    top: -46px;
    right: 0;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: var(--text-heading);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.video-modal__close:hover {
    background: var(--brand-purple);
    color: #fff;
    transform: rotate(90deg);
}

.video-modal__close:focus-visible {
    outline: 3px solid #6fdfdf;
    outline-offset: 2px;
}

@media (max-width: 600px) {
    .video-modal {
        padding: 52px 8px 8px;
    }

    .video-modal__frame {
        border-radius: 12px;
    }
}

/* حالت landscape موبایل: ارتفاع کم */
@media (max-height: 480px) {
    .video-modal {
        padding: 44px 8px 8px;
    }

    .video-modal__box {
        max-width: min(960px, calc((100vh - 56px) * 16 / 9));
    }

    .video-modal__close {
        top: -38px;
        width: 32px;
        height: 32px;
        font-size: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .video-modal,
    .video-modal__box,
    .video-modal__close {
        transition: none;
    }
}

.ft-breadcrumb {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 8px;
    text-align: right;
}

.ft-breadcrumb a {
    color: var(--brand-purple);
    text-decoration: none;
}

.active-menu a {
    padding: 8px 15px;
    border-radius: 12px;
    font-weight: bold;
}
.active-menu a {
    background: rgb(224 229 253 / 50%);
}
