/* Shahvar homepage visual system. */
:root {
    --sh-home-width: 1200px;
    --sh-ink: #232343;
    --sh-muted: #666d82;
    --sh-purple: #5750d8;
    --sh-purple-dark: #4039aa;
    --sh-blue-soft: #e8f4ff;
    --sh-yellow-soft: #fff0c9;
    --sh-surface: #fff;
    --sh-border: #ebeaf3;
    --sh-radius-card: 22px;
    --sh-radius-feature: 30px;
    --sh-shadow-card: 0 16px 42px rgba(42, 35, 91, .09);
    --sh-shadow-focal: 0 28px 70px rgba(42, 35, 91, .16);
    --sh-section-space: 96px;
}

.sh-home-hero {
    overflow: hidden;
    padding: 54px 0 64px;
    background:
        radial-gradient(circle at 14% 34%, rgba(255, 217, 139, .36), transparent 25%),
        radial-gradient(circle at 84% 22%, rgba(119, 111, 235, .26), transparent 30%),
        radial-gradient(circle at 50% 68%, rgba(203, 233, 255, .28), transparent 34%),
        linear-gradient(180deg, #f7f6ff 0, #fff 82%);
    font-family: "Lingano Kalameh", "IRANSans", Tahoma, sans-serif;
}

.lingano-advice-section { padding-top: 2rem; padding-bottom: 2rem; }
.lingano-advice-card { overflow: hidden; border: 0; border-radius: 28px !important; background-color: #f3efff !important; background-size: cover; background-position: center; box-shadow: 0 18px 48px rgba(61, 35, 111, .12); }
.lingano-advice-card .card-body { padding: 3.5rem 2rem !important; background: linear-gradient(90deg, rgba(247,244,255,.96), rgba(247,244,255,.78)); }
.lingano-advice-card h4 { font-size: 1.65rem; }
.lingano-advice-card p { max-width: 720px; margin: 1rem auto 1.5rem; line-height: 2; }
.lingano-advice-card .btn { border-radius: 999px; padding: .75rem 2rem; }

.lingano-editorial-section { max-width: var(--sh-home-width); padding-top: 1.5rem; padding-bottom: 1.5rem; }
.lingano-editorial-grid { row-gap: 1.5rem; }
.lingano-editorial-card { height: 100%; overflow: hidden; border: 1px solid var(--sh-border); border-radius: var(--sh-radius-card); background: var(--sh-surface); box-shadow: var(--sh-shadow-card); transition: transform .2s ease, box-shadow .2s ease; }
.lingano-editorial-card:hover { transform: translateY(-4px); box-shadow: 0 20px 42px rgba(61,35,111,.14); }
.lingano-editorial-card .zoom-img { border-radius: 22px 22px 0 0 !important; aspect-ratio: 16 / 10; overflow: hidden; }
.lingano-editorial-card img { width: 100%; height: 100%; object-fit: cover; }
.lingano-editorial-card .card-body { padding: 1rem !important; }
.lingano-editorial-card .card-title { display: block; line-height: 1.8; color: #34245f; }
@media (max-width: 767.98px) { .lingano-editorial-column { margin-bottom: 1.25rem; } }

.lingano-stats-section { margin: 3rem 0 !important; padding: 3rem 0 !important; background: linear-gradient(135deg,#f4efff,#fff8f1) !important; }
.lingano-stat-column .text-center { height: 100%; border-radius: 22px; background: rgba(255,255,255,.86); box-shadow: 0 12px 30px rgba(61,35,111,.08); }
.lingano-stat-column .counter { color: #5d3ca6 !important; font-size: 2.2rem; }
.lingano-stat-column img { width: 74px !important; height: 74px !important; object-fit: contain; }
.lingano-stat-column h2:last-child { font-size: 1.2rem; color: #34245f !important; }
@media (max-width: 767.98px) { .lingano-stat-column { margin-bottom: 1rem; } }

.lingano-app-section { margin-top: 4rem !important; padding: 2.5rem; border-radius: 28px; background: linear-gradient(135deg,#fff 0%,#f5f0ff 100%); box-shadow: 0 18px 48px rgba(61,35,111,.1); }
.lingano-app-section ul { padding: 0 1.25rem; line-height: 2.1; }
.lingano-app-section > .row > div:first-child img { max-height: 340px; margin: auto; display: block; }
.lingano-app-section a img { transition: transform .2s ease; }
.lingano-app-section a:hover img { transform: translateY(-3px); }
@media (max-width: 767.98px) { .lingano-app-section { padding: 1.5rem; } }

.lingano-about-section { margin-top: 4rem !important; margin-bottom: 4rem; padding: 2.5rem; border: 1px solid rgba(74,49,126,.1); border-radius: 28px; background: #fff; box-shadow: 0 16px 42px rgba(61,35,111,.08); }
.lingano-about-section .maxh300 { line-height: 2.1; color: #514a5f; }
.lingano-about-section .btn { border-radius: 999px; padding: .65rem 1.5rem; }
@media (max-width: 767.98px) { .lingano-about-section { padding: 1.5rem; } }

.home-teachers { width: 100%; overflow: hidden; margin: 120px 0; font-family: "Lingano Kalameh", "IRANSans", Tahoma, sans-serif; }
.home-teachers__inner { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 15px; }
.home-teachers__heading { width: 60%; margin: 0 auto 48px; text-align: center; }
.home-teachers__title { margin: 0; color: #232343; font-family: inherit; font-size: 32px; font-weight: 700; line-height: 1.5; }
.home-teachers__viewport { position: relative; width: 100%; overflow: hidden; padding: 10px 0 20px; direction: ltr; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.home-teachers__track { display: flex; width: max-content; flex-flow: row nowrap; direction: ltr; animation: home-teachers-scroll 45s linear infinite; will-change: transform; }
.home-teachers__sequence { display: flex; flex: none; flex-flow: row nowrap; gap: 24px; padding-right: 24px; direction: ltr; }
.home-teachers__card { display: flex; width: 224px; overflow: hidden; flex: 0 0 224px; flex-direction: column; border-radius: 24px; background: #dbeeff; direction: rtl; }
.home-teachers__card:nth-child(odd) { background: #ffe6ad; }
.home-teachers__photo { display: block; overflow: hidden; width: 224px; height: 280px; flex: none; background: #f3f3f7; }
.home-teachers__photo img { display: block; width: 224px; height: 280px; max-width: none; object-fit: cover; object-position: top center; }
.home-teachers__content { display: flex; height: 64px; flex: 0 0 64px; align-items: center; justify-content: center; padding: 12px 14px; text-align: center; }
.home-teachers__name { overflow-wrap: anywhere; margin: 0; font-family: inherit; font-size: 18px; font-weight: 600; line-height: 1.6; }
.home-teachers__name a { color: #232343; }
.home-teachers__viewport:hover .home-teachers__track { animation-play-state: paused; }
.home-teachers__more { margin: 32px 0 0; text-align: center; }
.home-teachers__more a { display: inline-flex; padding: 11px 28px; border-radius: 12px; background: #5a54de; color: #fff; font-weight: 600; }
@keyframes home-teachers-scroll { to { transform: translate3d(-50%, 0, 0); } }
.lingano-teacher-list-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.lingano-teacher-card { display: flex; overflow: hidden; flex-direction: column; border-radius: 24px; background: #dbeeff; direction: rtl; }
.lingano-teacher-card:nth-child(odd) { background: #ffe6ad; }
.lingano-teacher-photo { display: block; overflow: hidden; width: 100%; aspect-ratio: 4 / 5; background: #f3f3f7; }
.lingano-teacher-photo img { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: cover; object-position: top center; }
.lingano-teacher-content { display: flex; min-height: 64px; align-items: center; justify-content: center; padding: 14px 16px; text-align: center; }
.lingano-teacher-name { overflow-wrap: anywhere; margin: 0; font-family: inherit; font-size: 18px; font-weight: 600; line-height: 1.6; }
.lingano-teacher-name a { color: #232343; }
@media (max-width: 767.98px) { .home-teachers { margin: 80px 0; } .home-teachers__heading { width: 100%; margin-bottom: 30px; } .home-teachers__title { font-size: 28px; } .home-teachers__viewport { overflow-x: auto; padding-right: 15px; padding-left: 15px; -webkit-mask-image: none; mask-image: none; scrollbar-width: none; } .home-teachers__viewport::-webkit-scrollbar { display: none; } .home-teachers__track { animation: none; } .home-teachers__sequence { gap: 16px; padding-right: 16px; } .home-teachers__sequence[aria-hidden="true"] { display: none; } .home-teachers__card { width: 210px; flex-basis: 210px; } .home-teachers__photo, .home-teachers__photo img { width: 210px; height: 263px; } .home-teachers__content { height: 58px; flex-basis: 58px; padding: 10px; } .home-teachers__name { font-size: 16px; } .lingano-teacher-list-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .home-teachers__viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; } .home-teachers__track { animation: none; } .home-teachers__sequence[aria-hidden="true"] { display: none; } }

.sh-home-hero .patterns-top { position: absolute; inset: 0 0 auto; height: 340px; pointer-events: none; }
.sh-home-hero .home-top-main { position: relative; z-index: 1; flex-direction: column; align-items: center; }
.sh-home-hero .home-top-t { width: 100%; margin: 0; color: var(--sh-ink); font-size: 42px; font-weight: 900; line-height: 1.4; }
.sh-home-hero .home-top-p { margin: 8px 0 16px; color: var(--sh-muted); font-size: 18px; }
.sh-home-hero .home-top-link { display: flex; align-items: center; justify-content: center; min-width: 180px; height: 46px; padding: 0 26px; border-radius: 12px; background: var(--sh-purple); color: #fff; font-size: 16px; font-weight: 600; box-shadow: 0 10px 24px rgba(87,80,216,.2); }
.sh-home-hero .home-top-link:hover { color: #fff; background: var(--sh-purple-dark); transform: translateY(-2px); }
.sh-home-hero .home-top-avatars { margin-top: 14px; color: var(--sh-muted); font-size: 15px; }
.sh-home-hero .home-top-avatar-p span { color: var(--sh-purple); font-size: 18px; }
.sh-home-hero .lingano-hero-media-row { position: relative; z-index: 1; justify-content: center; margin-top: 4px; }
.sh-home-hero .top-video-container { width: 100%; max-width: 1080px; }
.sh-home-hero .video-poster { position: relative; }
.sh-home-hero .video-hero-poster { z-index: 2; }
.sh-home-hero .bulb { position: absolute; width: 200px; height: 200px; border-radius: 50%; filter: blur(68px); opacity: .4; }
.sh-home-hero .bulb-1 { top: 30px; right: 2%; background: #aaa5ff; }
.sh-home-hero .bulb-2 { top: 30px; left: 2%; background: #ffd47a; }
.sh-home-hero .poster-video-home { overflow: hidden; width: 100%; margin-top: 24px; padding: 8px; border: 1px solid rgba(255,255,255,.9); border-radius: var(--sh-radius-feature); background: rgba(255,255,255,.9); box-shadow: var(--sh-shadow-focal); }
.sh-home-hero #carousel-hero .carousel-item img { width: 100%; aspect-ratio: 16 / 7; border-radius: 22px; object-fit: cover; }
.sh-home-hero #carousel-hero .carousel-control { top: 50%; bottom: auto; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.94); color: var(--sh-purple-dark); opacity: 1; transform: translateY(-50%); box-shadow: 0 8px 20px rgba(35,35,67,.12); }
.sh-home-hero #carousel-hero .carousel-control.left { right: 18px; left: auto; }
.sh-home-hero #carousel-hero .carousel-control.right { right: auto; left: 18px; }
.sh-home-hero #carousel-hero .carousel-indicators { bottom: 12px; }
.sh-home-hero #carousel-hero .carousel-indicators li { width: 10px; height: 10px; border: 0; border-radius: 10px; background: rgba(255,255,255,.8); }
.sh-home-hero #carousel-hero .carousel-indicators li.active { width: 30px; background: var(--sh-purple); }
.sh-home-hero .white-box { position: relative; z-index: 3; width: 72%; height: 22px; margin: -11px auto 0; border-radius: 0 0 24px 24px; background: rgba(255,255,255,.95); box-shadow: 0 14px 28px rgba(45,35,90,.08); }
.sh-home-hero .home-top-percent { position: relative; z-index: 2; margin-top: 28px; }
.sh-home-hero .lingano-hero-actions > div { padding: 8px; }
.sh-home-hero .lingano-hero-action { display: flex; min-height: 88px; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--sh-border); border-radius: var(--sh-radius-card); background: rgba(255,255,255,.9); color: var(--sh-ink); text-align: right; box-shadow: var(--sh-shadow-card); transition: transform .2s ease, box-shadow .2s ease; }
.sh-home-hero .lingano-hero-action:hover { color: var(--sh-purple-dark); transform: translateY(-3px); box-shadow: 0 20px 42px rgba(42,35,91,.13); }
.sh-home-hero .lingano-hero-action img { width: 58px; height: 58px; flex: 0 0 58px; border-radius: 15px; object-fit: cover; }
.sh-home-hero .home-top-percent-title { font-size: 15px; font-weight: 600; line-height: 1.6; }

@media (max-width: 767.98px) {
    .sh-home-hero { padding: 36px 0 34px; }
    .sh-home-hero .home-top-t { font-size: 30px; }
    .sh-home-hero .home-top-p { font-size: 16px; }
    .sh-home-hero .top-video-container { padding: 0 8px; }
    .sh-home-hero .poster-video-home { margin-top: 20px; padding: 5px; border-radius: 17px; }
    .sh-home-hero #carousel-hero .carousel-item img { aspect-ratio: 16 / 9; border-radius: 13px; }
    .sh-home-hero #carousel-hero .carousel-control { width: 34px; height: 34px; }
    .sh-home-hero .white-box { height: 16px; margin-top: -8px; }
    .sh-home-hero .home-top-percent { margin-top: 22px; }
    .sh-home-hero .lingano-hero-action { min-height: 76px; padding: 8px; }
    .sh-home-hero .lingano-hero-action img { width: 46px; height: 46px; flex-basis: 46px; }
    .sh-home-hero .home-top-percent-title { font-size: 13px; }
}

.lingano-courses-section {
    max-width: 1200px;
    padding-top: 42px !important;
    padding-bottom: 56px !important;
    font-family: "Lingano Kalameh", "IRANSans", Tahoma, sans-serif;
}

.lingano-courses-section > .row:first-child {
    align-items: center;
}

.lingano-courses-section > .row:first-child .lingano-section-heading {
    margin-bottom: 12px !important;
}

.lingano-courses-section > .row:first-child .btn {
    padding: 10px 22px !important;
    border: 1px solid #332f78;
    border-radius: 11px;
    background: #fff !important;
    color: #332f78 !important;
    box-shadow: none;
}

.lingano-courses-section > p,
.lingano-courses-section > h4 {
    color: #716d83 !important;
}

.lingano-courses-section .lingano-course-grid {
    margin: 0 -10px;
    padding: 18px 0 0 !important;
}

.lingano-courses-section .lingano-course-column {
    display: flex;
    padding: 10px;
}

.lingano-courses-section .lingano-course-card {
    width: 100%;
    overflow: hidden;
    border: 1px solid #eceaf5;
    border-radius: 18px !important;
    background: #fff;
    box-shadow: 0 12px 32px rgba(42, 35, 91, .09);
}

.lingano-courses-section .lingano-course-card > .row:first-child > div > div {
    padding: 13px 16px !important;
    background: #f4f2fb !important;
}

.lingano-courses-section .lingano-course-card .classCourse {
    padding: 0 !important;
    color: #332f78;
    font-size: 17px;
    line-height: 1.8;
}

.lingano-courses-section .lingano-course-card .img-teacher-circle {
    width: 54px;
    height: 54px;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(42, 35, 91, .14);
}

.lingano-courses-section .lingano-course-card .course-pic {
    width: 68px !important;
    height: 68px;
    border: 0 !important;
    border-radius: 12px !important;
    object-fit: cover;
}

.lingano-courses-section .lingano-course-card > .row {
    margin-right: 0;
    margin-left: 0;
}

.lingano-courses-section .lingano-course-card > .row[style*="border-top"] {
    padding: 12px 8px;
    border-color: #efedf5 !important;
}

.lingano-courses-section .lingano-course-card h5,
.lingano-courses-section .lingano-course-card h6 {
    color: #625e75;
    line-height: 1.7;
}

.lingano-courses-section .lingano-course-card .classFee {
    color: #332f78;
    font-weight: 700;
}

.lingano-courses-section .lingano-course-card .btn-success {
    border: 0;
    border-radius: 10px;
    background: #ee7758 !important;
    color: #fff !important;
    box-shadow: none;
}

.lingano-courses-section .lingano-course-card .btn-default[disabled] {
    border-radius: 10px;
    box-shadow: none;
}

@media (max-width: 767.98px) {
    .lingano-courses-section {
        padding-right: 14px;
        padding-left: 14px;
    }

    .lingano-courses-section .lingano-course-column {
        width: 100%;
    }

    .lingano-courses-section > .row:first-child > div {
        width: 100%;
        text-align: center;
    }
}

.lingano-services-section {
    max-width: var(--sh-home-width);
    padding-top: 32px;
    font-family: "Lingano Kalameh", "IRANSans", Tahoma, sans-serif;
}

.lingano-services-section > p {
    max-width: 760px;
    margin: 0 auto 20px;
    padding: 0 20px 24px !important;
    color: #716d83 !important;
    font-size: 16px;
    line-height: 2;
}

.lingano-services-section .owl-carousel-service {
    padding-bottom: 22px;
}

.lingano-services-section .lingano-service-card {
    overflow: hidden;
    border: 1px solid var(--sh-border);
    border-radius: var(--sh-radius-card) !important;
    background: var(--sh-surface);
    box-shadow: var(--sh-shadow-card);
}

.lingano-services-section .lingano-service-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.lingano-services-section .lingano-service-card .card-body {
    min-height: 104px;
    padding: 18px !important;
}

.lingano-services-section .lingano-service-card h4 {
    color: #332f78 !important;
    font-size: 17px;
    font-weight: 700 !important;
}

.lingano-services-section .lingano-service-card .text-small {
    color: #777287;
}

.lingano-services-section .owl-dot span {
    background: #d9d6e8 !important;
}

.lingano-services-section .owl-dot.active span {
    background: #ee7758 !important;
}

.lingano-widget-section .lingano-content-card,
.lingano-departments-section .lingano-carousel-card,
.lingano-services-section .lingano-service-card,
.lingano-editorial-card {
    transition: transform .2s ease, box-shadow .2s ease;
}

.lingano-widget-section .lingano-content-card:hover,
.lingano-departments-section .lingano-carousel-card:hover,
.lingano-services-section .lingano-service-card:hover,
.lingano-editorial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 48px rgba(42, 35, 91, .13);
}

@media (prefers-reduced-motion: reduce) {
    .lingano-widget-section .lingano-content-card,
    .lingano-departments-section .lingano-carousel-card,
    .lingano-services-section .lingano-service-card,
    .lingano-editorial-card { transition: none; }
}

@media (max-width: 575.98px) {
    .lingano-services-section {
        padding-right: 14px;
        padding-left: 14px;
    }
}

.lingano-widget-section {
    max-width: var(--sh-home-width);
    margin-top: 72px !important;
    margin-bottom: 72px;
    font-family: "Lingano Kalameh", "IRANSans", Tahoma, sans-serif;
}

.lingano-widget-section .lingano-widget-grid {
    margin: 0 -10px;
    padding: 0 !important;
}

.lingano-widget-section .lingano-widget-column {
    display: flex;
    padding: 10px;
}

.lingano-widget-section .lingano-content-card {
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--sh-border);
    border-radius: var(--sh-radius-card) !important;
    background: var(--sh-surface);
    box-shadow: var(--sh-shadow-card);
    transition: transform .2s ease, box-shadow .2s ease;
}

.lingano-widget-section .lingano-content-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(42, 35, 91, .13);
}

.lingano-widget-section .lingano-content-card .zoom-img {
    overflow: hidden;
    border-radius: var(--sh-radius-card) var(--sh-radius-card) 0 0 !important;
}

.lingano-widget-section .lingano-content-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.lingano-widget-section .lingano-content-card .card-body {
    display: flex;
    flex-direction: column;
    min-height: 174px;
    padding: 18px !important;
}

.lingano-widget-section .lingano-content-card h4 {
    margin-bottom: 10px;
}

.lingano-widget-section .lingano-content-card .card-title {
    color: #332f78;
    font-size: 17px;
    font-weight: 700;
}

.lingano-widget-section .lingano-content-card .card-p {
    color: #67637c;
    line-height: 1.9;
}

.lingano-widget-section .lingano-content-card .card-p:last-child {
    margin-top: auto;
}

.lingano-widget-section .lingano-content-card .btn {
    border: 0;
    border-radius: 10px;
    background: #332f78 !important;
    color: #fff !important;
    box-shadow: none;
}

@media (max-width: 767.98px) {
    .lingano-widget-section {
        margin-top: 30px !important;
        margin-bottom: 30px;
        padding-right: 14px;
        padding-left: 14px;
    }

    .lingano-widget-section .lingano-widget-column {
        width: 100%;
    }
}

.lingano-departments-section {
    max-width: var(--sh-home-width);
    padding-top: 32px;
    font-family: "Lingano Kalameh", "IRANSans", Tahoma, sans-serif;
}

.lingano-section-heading {
    position: relative;
    margin-bottom: 28px !important;
    color: var(--sh-ink) !important;
    font-size: 30px;
    font-weight: 700 !important;
    text-align: center;
}

.lingano-section-heading::after {
    display: block;
    width: 54px;
    height: 4px;
    margin: 12px auto 0;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--sh-purple), #ffb75e);
    content: "";
}

.lingano-departments-section .owl-department-carousel {
    padding: 8px 0 22px;
}

.lingano-departments-section .lingano-carousel-card {
    overflow: hidden;
    border: 1px solid var(--sh-border);
    border-radius: var(--sh-radius-card) !important;
    background: var(--sh-surface);
    box-shadow: var(--sh-shadow-card);
}

.lingano-departments-section .lingano-carousel-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.lingano-departments-section .lingano-carousel-card .card-body {
    min-height: 150px;
    padding: 18px !important;
}

.lingano-departments-section .lingano-carousel-card .card-title {
    color: #332f78;
    font-weight: 700;
}

.lingano-departments-section .lingano-carousel-card .card-p {
    display: -webkit-box;
    overflow: hidden;
    color: #6d6980;
    line-height: 1.9;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.lingano-departments-section .owl-dot span {
    background: #d9d6e8 !important;
}

.lingano-departments-section .owl-dot.active span {
    background: #332f78 !important;
}

@media (max-width: 575.98px) {
    .lingano-section-heading {
        font-size: 24px;
    }

    .lingano-departments-section {
        padding-right: 14px;
        padding-left: 14px;
    }
}
