@charset "UTF-8";
@import url(../icons/feather/css/iconfont.css);


html {
    font-family: Vazirmatn !important;
}
#frmComment {display:none;}
/* Generated by script */
@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/Vazirmatn-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/Vazirmatn-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/Vazirmatn-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/Vazirmatn-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/Vazirmatn-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/Vazirmatn-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/Vazirmatn-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/*font*/
@font-face {
    font-family: 'Yekan';
    src: url('../fonts/YekanBakhFaNum-Medium.eot');
    src: url('../fonts/YekanBakhFaNum-Medium.eot?#iefix') format('embedded-opentype'), url('../fonts/YekanBakhFaNum-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Yekan';
    src: url('../fonts/YekanBakhFaNum-Regular.eot');
    src: url('../fonts/YekanBakhFaNum-Regular.eot?#iefix') format('embedded-opentype'), url('../fonts/YekanBakhFaNum-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Yekan';
    src: url('../fonts/YekanBakhFaNum-Boldot');
    src: url('../fonts/YekanBakhFaNum-Bold.eot?#iefix') format('embedded-opentype'), url('../fonts/YekanBakhFaNum-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
:root {
    --navy: #102b4e;
    --blue: #1769aa;
    --cyan: #20b8c7;
    --ink: #18324d;
    --muted: #718096;
    --pale: #f2f8fc;
    --line: #e5edf4;
    --white: #fff;
    --shadow: 0 16px 45px rgba(20,55,90,.10)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Vazirmatn,Tahoma,sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.8
}

a {
    text-decoration: none;
    color: inherit
}

button {
    font: inherit
}

.container {
    width: min(1160px,calc(100% - 40px));
    margin: auto
}

.topbar {
    background: var(--navy);
    color: #dceafa;
    font-size: 12px
}

    .topbar .container {
        display: flex;
        justify-content: space-between;
        gap: 15px;
        padding: 7px 0
    }

.toplinks {
    display: flex;
    gap: 20px
}

header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #ffffffed;
    backdrop-filter: blur(14px);
    border-bottom: 1px solid #e9f0f5
}

.nav {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: max-content
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    background: linear-gradient(135deg,var(--blue),var(--cyan));
    display: grid;
    place-items: center;
    color: white;
    box-shadow: 0 8px 18px #1769aa33
}

    .brand-mark svg {
        width: 29px
    }

.brand strong {
    display: block;
    font-size: 17px;
    color: var(--navy);
    line-height: 1.4
}

.brand small {
    font-size: 10px;
    color: var(--muted)
}

.menu {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 13px;
    font-weight: 600
}

    .menu a {
        transition: .2s
    }

        .menu a:hover {
            color: var(--blue)
        }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px
}

.btn {
    border: 0;
    border-radius: 12px;
    padding: 11px 19px;
    background: var(--blue);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: .2s
}

    .btn:hover {
        transform: translateY(-2px);
        background: #10558f
    }

.btn-outline {
    background: #fff;
    color: var(--blue);
    border: 1px solid #cfe0ed
}

    .btn-outline:hover {
        background: #f1f8fc;
        color: var(--blue)
    }

.menu-toggle {
    display: none;
    background: #f0f6fa;
    border: 0;
    border-radius: 10px;
    padding: 10px;
    color: var(--navy)
}

.hero-section {
    padding: 28px 0 0
}

.slider {
    height: 440px;
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background: var(--navy);
    box-shadow: var(--shadow)
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .7s
}

    .slide.active {
        opacity: 1;
        visibility: visible
    }

    .slide:after {
        content: "";
        position: absolute;
        z-index: 1;
        inset: 0;
        background: linear-gradient(270deg,rgba(8,29,54,.97) 0%,rgba(8,29,54,.88) 42%,rgba(8,29,54,.12) 100%)
    }

.slide-art {
    position: absolute;
    z-index: 2;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 42%;
    height: 86%;
    display: grid;
    place-items: center
}

    .slide-art svg {
        width: 100%;
        height: 100%;
        max-height: 360px;
        overflow: visible
    }
    .slide-art img {
        width: 100%;
        height: 100%;
        max-height: 360px;
        overflow: visible
    }

.slide-content {
    position: absolute;
    z-index: 3;
    right: 7%;
    top: 50%;
    transform: translateY(-50%);
    max-width: 510px;
    color: white
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #a8f0ed;
    font-size: 12px;
    font-weight: 700
}

    .eyebrow:before {
        content: "";
        width: 25px;
        height: 2px;
        background: var(--cyan)
    }

.slide h1, .slide h2 {
    font-size: clamp(27px,4vw,43px);
    line-height: 1.5;
    margin: 13px 0
}

.slide p {
    color: #e0ebf5;
    font-size: 15px;
    max-width: 440px;
    margin: 0 0 23px
}

.slider-controls {
    position: absolute;
    z-index: 3;
    bottom: 24px;
    left: 28px;
    display: flex;
    gap: 9px
}

    .slider-controls button {
        width: 38px;
        height: 38px;
        border: 1px solid #ffffff66;
        background: #ffffff20;
        color: white;
        border-radius: 50%;
        cursor: pointer
    }

.dots {
    position: absolute;
    z-index: 3;
    bottom: 37px;
    right: 7%;
    display: flex;
    gap: 7px
}

    .dots button {
        width: 8px;
        height: 8px;
        border: 0;
        border-radius: 10px;
        background: #ffffff80;
        padding: 0;
        cursor: pointer
    }

        .dots button.active {
            width: 25px;
            background: #fff
        }

.latest-news-section {
    padding: 34px 0 0
}

.latest-news {
    margin: 0;
    padding: 25px;
    background: linear-gradient(135deg,#f4f9fd,#edf7fa);
    border: 1px solid #e2edf4;
    border-radius: 22px;
    position: relative;
    overflow: hidden
}

    .latest-news:before {
        content: "";
        position: absolute;
        width: 190px;
        height: 190px;
        border: 1px solid #d8eaf2;
        border-radius: 50%;
        left: -70px;
        top: -105px;
        box-shadow: 0 0 0 22px #e4f1f7,0 0 0 44px #edf6fa
    }

.latest-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 17px;
    position: relative
}

.latest-title {
    display: flex;
    align-items: center;
    gap: 12px
}

.latest-symbol {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: #1769aa;
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 18px #1769aa30
}

    .latest-symbol svg {
        width: 22px
    }

.latest-head h2 {
    font-size: 19px;
    color: var(--navy);
    margin: 0
}

.latest-head p {
    font-size: 11px;
    color: var(--muted);
    margin: 1px 0 0
}

.latest-all {
    font-size: 11px;
    font-weight: 800;
    color: var(--blue);
    white-space: nowrap
}

.latest-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 13px;
    position: relative
}

.latest-item {
    background: #fff;
    border: 1px solid #e6eef4;
    border-radius: 15px;
    padding: 17px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    transition: .2s
}

    .latest-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px #163d5b12
    }

.latest-date {
    background: #eaf6fb;
    color: var(--blue);
    border-radius: 11px;
    padding: 7px 9px;
    text-align: center;
    min-width: 48px;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.5
}

.latest-item h3 {
    font-size: 12px;
    color: var(--navy);
    margin: 0 0 5px
}

.latest-item p {
    font-size: 10px;
    color: var(--muted);
    margin: 0;
    line-height: 1.8
}

.latest-item a {
    display: block
}

section {
    padding: 82px 0
}

.section-head {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 38px
}

    .section-head .kicker {
        color: var(--blue);
        font-size: 12px;
        font-weight: 800
    }

    .section-head h2 {
        font-size: 30px;
        color: var(--navy);
        margin: 6px 0 9px
    }

    .section-head p {
        color: var(--muted);
        font-size: 14px;
        margin: 0
    }

.courses {
    background: var(--pale)
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px
}

.course-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: .25s
}

    .course-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow);
        border-color: #c6e4ef
    }

.course-icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    background: #eaf6fb;
    color: var(--blue);
    display: grid;
    place-items: center;
    margin-bottom: 17px
}

    .course-icon svg {
        width: 27px;
        height: 27px;
        stroke: currentColor;
        fill: none;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round
    }

.course-card h3 {
    font-size: 17px;
    margin: 0 0 7px;
    color: var(--navy)
}

.course-card p {
    font-size: 12px;
    color: var(--muted);
    margin: 0 0 18px;
    min-height: 48px
}

.more {
    font-size: 12px;
    color: var(--blue);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 7px
}

    .more svg {
        width: 15px;
        transform: rotate(180deg)
    }

.ai-section {
    padding: 72px 0
}

.ai-box {
    background: linear-gradient(115deg,#102b4e,#145b89);
    border-radius: 26px;
    padding: 48px;
    color: white;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    align-items: center;
    gap: 35px;
    overflow: hidden;
    position: relative
}

    .ai-box:after {
        content: "";
        position: absolute;
        width: 350px;
        height: 350px;
        border: 1px solid #ffffff18;
        border-radius: 50%;
        left: -100px;
        top: -180px;
        box-shadow: 0 0 0 35px #ffffff08,0 0 0 70px #ffffff05
    }

    .ai-box h2 {
        font-size: 29px;
        margin: 10px 0
    }

    .ai-box p {
        color: #d6e6f2;
        font-size: 14px;
        max-width: 570px
    }

.ai-visual {
    display: grid;
    place-items: center;
    position: relative;
    z-index: 1
}

.ai-orbit {
    width: 220px;
    height: 220px;
    border: 1px solid #ffffff50;
    border-radius: 50%;
    display: grid;
    place-items: center;
    box-shadow: 0 0 0 25px #ffffff0b,0 0 0 50px #ffffff08
}

    .ai-orbit svg {
        width: 95px;
        height: 95px;
        stroke: #8ce9e5;
        fill: none;
        stroke-width: 1.2
    }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center
}

.about-photo {
    height: 390px;
    position: relative
}

    .about-photo img {
        width: 86%;
        height: 100%;
        object-fit: cover;
        border-radius: 24px
    }

.experience {
    position: absolute;
    bottom: 25px;
    left: 0;
    background: var(--cyan);
    color: #fff;
    border-radius: 17px;
    padding: 17px 23px;
    box-shadow: var(--shadow)
}

    .experience strong {
        display: block;
        font-size: 27px;
        line-height: 1.3
    }

    .experience span {
        font-size: 11px
    }

.about-copy .kicker {
    font-size: 12px;
    color: var(--blue);
    font-weight: 800
}

.about-copy h2 {
    font-size: 29px;
    color: var(--navy);
    margin: 7px 0 15px
}

.about-copy p {
    font-size: 14px;
    color: var(--muted)
}

.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
    margin: 22px 0
}

.feature {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 12px;
    font-weight: 700
}

.check {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    background: #e7f7f6;
    color: #079b9d;
    display: grid;
    place-items: center;
    flex: none
}

.gallery {
    background: #f7fafc
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    grid-template-rows: 180px 180px;
    gap: 14px
}

    .gallery-grid img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 16px
    }

        .gallery-grid img:first-child {
            grid-row: span 2
        }

.contact-strip {
    background: linear-gradient(110deg,#1769aa,#20aebc);
    color: white;
    padding: 35px 0
}

.contact-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px
}

    .contact-inner h2 {
        font-size: 23px;
        margin: 0
    }

    .contact-inner p {
        margin: 4px 0 0;
        color: #e3f6f8;
        font-size: 13px
    }

    .contact-inner .btn {
        background: white;
        color: var(--blue);
        white-space: nowrap
    }

footer {
    background: #0c223c;
    color: #d6e3ef;
    padding: 55px 0 20px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 35px
}

.footer-brand p {
    font-size: 12px;
    color: #9fb3c7;
    max-width: 300px
}

.footer-col h4 {
    font-size: 14px;
    color: #fff;
    margin: 0 0 15px
}

.footer-col a, .footer-col p {
    display: block;
    font-size: 12px;
    color: #a9bdce;
    margin: 8px 0
}

.copyright {
    border-top: 1px solid #ffffff1c;
    margin-top: 35px;
    padding-top: 17px;
    text-align: center;
    color: #8198ad;
    font-size: 11px
}

.language-strip {
    padding: 28px 0 5px
}

.language-inner {
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 19px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #fff
}

.language-copy strong {
    display: block;
    color: var(--navy);
    font-size: 15px
}

.language-copy span {
    font-size: 11px;
    color: var(--muted)
}

.language-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

.language-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e7eef4;
    background: #fafdff;
    border-radius: 12px;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 700;
    color: #38536c
}

.flag {
    width: 25px;
    height: 18px;
    display: block;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 1px 3px #102b4e30;
    flex: none
}

.blog {
    background: #f5f9fc
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px
}

.blog-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    transition: .25s
}

    .blog-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow)
    }

.blog-art {
    height: 155px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg,#e7f5fa,#dcecf8);
    position: relative;
    overflow: hidden
}

    .blog-art:before, .blog-art:after {
        content: "";
        position: absolute;
        border: 1px solid #b7d9e8;
        border-radius: 50%;
        width: 150px;
        height: 150px
    }

    .blog-art:after {
        width: 205px;
        height: 205px
    }

    .blog-art img {
        width: 50%;
        height: auto;
        position: relative;
        z-index: 1;
        stroke: #1769aa;
        fill: none;
        stroke-width: 1.35;
        stroke-linecap: round;
        stroke-linejoin: round
    }

.blog-body {
    padding: 20px
}

.blog-meta {
    display: flex;
    gap: 9px;
    align-items: center;
    color: #8495a5;
    font-size: 10px;
    margin-bottom: 8px
}

.blog-tag {
    background: #eaf6fb;
    color: #1769aa;
    border-radius: 20px;
    padding: 3px 9px;
    font-weight: 800
}

.blog-body h3 {
    font-size: 15px;
    color: var(--navy);
    margin: 0 0 8px
}

.blog-body p {
    font-size: 11px;
    color: var(--muted);
    margin: 0 0 15px
}

.blog-link {
    font-size: 11px;
    color: var(--blue);
    font-weight: 800
}

.gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 300px;
    max-width: 850px;
    margin: auto
}

    .gallery-grid img:first-child {
        grid-row: auto
    }

.location-section {
    background: #f5f9fc
}

.location-card {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 18px;
    box-shadow: var(--shadow)
}

.location-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center
}

.location-pin {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    background: #e7f6f8;
    color: #159eac;
    display: grid;
    place-items: center;
    font-size: 30px
}

.location-info h3 {
    font-size: 20px;
    color: var(--navy);
    margin: 18px 0 5px
}

.location-info p {
    font-size: 13px;
    color: var(--muted);
    margin: 0 0 20px
}

.location-link {
    font-size: 12px;
    color: var(--blue);
    font-weight: 800;
    margin-top: 13px
}

.map-frame {
    min-height: 330px;
    border-radius: 16px;
    overflow: hidden;
    background: #eaf1f6
}

    .map-frame iframe {
        width: 100%;
        height: 100%;
        min-height: 330px;
        border: 0;
        display: block
    }

@media(max-width:680px) {
    .location-card {
        grid-template-columns: 1fr;
        padding: 12px
    }

    .location-info {
        padding: 15px
    }

    .map-frame, .map-frame iframe {
        min-height: 280px
    }
}

@media(max-width:900px) {
    .latest-grid {
        grid-template-columns: 1fr 1fr
    }

    .language-inner {
        align-items: flex-start;
        flex-direction: column
    }

    .blog-grid {
        grid-template-columns: 1fr 1fr
    }

    .menu {
        gap: 13px;
        font-size: 12px
    }

    .nav-actions .btn {
        padding: 9px 12px
    }

    .course-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr
    }

    .about-grid {
        gap: 30px
    }
}

@media(max-width:680px) {
    .latest-news {
        padding: 18px 14px
    }

    .latest-head h2 {
        font-size: 16px
    }

    .latest-grid {
        grid-template-columns: 1fr
    }

    .latest-item {
        padding: 13px
    }

    .slide-art {
        width: 78%;
        height: 43%;
        left: 11%;
        top: 17%;
        transform: none;
        opacity: .8
    }

    .slide:after {
        background: linear-gradient(0deg,rgba(8,29,54,.98) 0%,rgba(8,29,54,.82) 58%,rgba(8,29,54,.25) 100%)
    }

    .slide-content {
        top: auto;
        bottom: 76px
    }

    .language-inner {
        padding: 17px
    }

    .language-list {
        gap: 7px
    }

    .language-chip {
        padding: 7px 9px
    }

    .blog-grid {
        grid-template-columns: 1fr
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 180px;
        gap: 10px
    }

    .container {
        width: min(100% - 28px,560px)
    }

    .topbar .container {
        justify-content: center
    }

    .toplinks {
        display: none
    }

    .nav {
        height: 70px
    }

    .brand strong {
        font-size: 14px
    }

    .brand-mark {
        width: 42px;
        height: 42px
    }

    .menu-toggle {
        display: block
    }

    .menu {
        display: none;
        position: absolute;
        top: 70px;
        right: 0;
        left: 0;
        background: #fff;
        padding: 15px 22px 22px;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 15px 25px #102b4e12;
        flex-direction: column;
        align-items: stretch;
        gap: 0
    }

        .menu.open {
            display: flex
        }

        .menu a {
            padding: 10px 0;
            border-bottom: 1px solid #f0f3f6
        }

    .nav-actions .btn {
        display: none
    }

    .hero-section {
        padding-top: 15px
    }

    .slider {
        height: 490px;
        border-radius: 20px
    }

    .slide:after {
        background: linear-gradient(0deg,rgba(8,29,54,.98) 0%,rgba(8,29,54,.82) 58%,rgba(8,29,54,.25) 100%)
    }

    .slide-content {
        right: 22px;
        left: 22px;
        top: auto;
        bottom: 75px;
        transform: none
    }

    .slide h1, .slide h2 {
        font-size: 29px
    }

    .slide p {
        font-size: 13px
    }

    .dots {
        right: 22px;
        bottom: 32px
    }

    .slider-controls {
        left: 18px;
        bottom: 19px
    }

    .news-label {
        padding: 11px 12px;
        font-size: 11px
    }

    .news-track {
        font-size: 11px
    }

    .section-head h2 {
        font-size: 25px
    }

    section {
        padding: 62px 0
    }

    .course-grid {
        grid-template-columns: 1fr;
        gap: 12px
    }

    .course-card {
        padding: 20px
    }

        .course-card p {
            min-height: 0
        }

    .ai-box {
        padding: 30px 23px;
        grid-template-columns: 1fr
    }

        .ai-box h2 {
            font-size: 24px
        }

    .ai-visual {
        display: none
    }

    .about-grid {
        grid-template-columns: 1fr
    }

    .about-photo {
        height: 300px
    }

    .about-copy h2 {
        font-size: 25px
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 150px 150px 150px
    }

        .gallery-grid img:first-child {
            grid-row: auto;
            grid-column: span 2
        }

    .contact-inner {
        align-items: flex-start;
        flex-direction: column
    }

        .contact-inner h2 {
            font-size: 20px
        }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px
    }

    .footer-brand {
        grid-column: span 2
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        scroll-behavior: auto !important;
        transition: none !important
    }
}

.gallery-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
    grid-template-rows: repeat(2,210px);
    max-width: 100%;
    margin: auto;
    gap: 14px
}

    .gallery-grid img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 16px;
        cursor: zoom-in;
        transition: transform .25s,box-shadow .25s
    }

        .gallery-grid img:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 28px #102b4e25
        }

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(5,16,30,.91);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px
}

    .gallery-lightbox.open {
        display: flex
    }

    .gallery-lightbox img {
        max-width: min(92vw,1100px);
        max-height: 86vh;
        object-fit: contain;
        border-radius: 12px;
        box-shadow: 0 20px 60px #0008
    }

    .gallery-lightbox button {
        position: absolute;
        border: 0;
        border-radius: 50%;
        width: 44px;
        height: 44px;
        background: #fff;
        color: #12304d;
        font-size: 27px;
        line-height: 1;
        cursor: pointer;
        display: grid;
        place-items: center
    }

    .gallery-lightbox .lightbox-close {
        top: 22px;
        right: 22px
    }

    .gallery-lightbox .lightbox-prev {
        left: 22px;
        top: 50%;
        transform: translateY(-50%)
    }

    .gallery-lightbox .lightbox-next {
        right: 22px;
        top: 50%;
        transform: translateY(-50%)
    }

    .gallery-lightbox .lightbox-caption {
        position: absolute;
        bottom: 18px;
        left: 15px;
        right: 15px;
        text-align: center;
        color: #fff;
        font-size: 13px
    }

@media(max-width:680px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3,150px);
        gap: 10px
    }

        .gallery-grid img:first-child {
            grid-column: auto;
            grid-row: auto
        }

    .gallery-lightbox {
        padding: 14px
    }

        .gallery-lightbox img {
            max-width: 96vw;
            max-height: 78vh
        }

        .gallery-lightbox .lightbox-prev {
            left: 8px
        }

        .gallery-lightbox .lightbox-next {
            right: 8px
        }
}

/* منوی چندسطحی دسکتاپ و موبایل */
.menu {
    display: flex;
    align-items: center;
    gap: clamp(10px,1.5vw,22px)
}

    .menu a, .dropdown-toggle, .submenu-toggle {
        font: inherit;
        color: inherit;
        text-decoration: none
    }

.nav-dropdown, .submenu-group {
    position: relative
}

.dropdown-toggle, .submenu-toggle {
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 10px 2px;
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap
}

    .dropdown-toggle:hover, .submenu-toggle:hover, .menu a:hover {
        color: var(--primary,#1769aa)
    }

.dropdown-panel, .submenu-panel {
    display: none;
    position: absolute;
    z-index: 1000;
    min-width: 210px;
    background: #fff;
    border: 1px solid var(--line,#e5edf3);
    border-radius: 13px;
    padding: 8px;
    box-shadow: 0 16px 35px #102b4e20
}

.nav-dropdown > .dropdown-panel {
    top: 100%;
    right: 0
}

.dropdown-panel a, .submenu-panel a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    white-space: nowrap
}

    .dropdown-panel a:hover, .submenu-panel a:hover {
        background: #eef8fb
    }

.submenu-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 8px
}

.submenu-panel {
    top: -7px;
    right: calc(100% + 5px)
}

.nav-dropdown.open > .dropdown-panel, .submenu-group.open > .submenu-panel {
    display: block
}

.nav-dropdown.open > .dropdown-toggle, .submenu-group.open > .submenu-toggle {
    color: var(--primary,#1769aa)
}
/* دکمه شناور راه‌های ارتباطی */
.contact-fab-wrap {
    position: fixed;
    z-index: 1200;
    left: 24px;
    bottom: 24px;
    direction: rtl;
    font-family: inherit
}

.contact-fab {
    width: 58px;
    height: 58px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg,#1769aa,#20b8c7);
    color: #fff;
    box-shadow: 0 9px 28px #123b5b45;
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 25px
}

    .contact-fab:focus-visible, .contact-options a:focus-visible {
        outline: 3px solid #f4c66b;
        outline-offset: 3px
    }

.contact-options {
    display: none;
    position: absolute;
    left: 0;
    bottom: 70px;
    width: 210px;
    padding: 9px;
    background: #fff;
    border: 1px solid #e4edf3;
    border-radius: 16px;
    box-shadow: 0 14px 38px #102b4e25
}

.contact-fab-wrap.open .contact-options {
    display: grid;
    gap: 5px
}

.contact-options a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    color: #17324d;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700
}

    .contact-options a:hover {
        background: #eef8fb
    }

.contact-options .contact-symbol {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #e8f6f8;
    color: #1769aa;
    font-size: 14px
}

@media(max-width:900px) {
    .menu {
        gap: 10px
    }

    .nav-dropdown > .dropdown-panel {
        position: static;
        box-shadow: none;
        border: 0;
        border-radius: 0;
        background: #f7fafc;
        margin: 3px 0 8px;
        padding: 5px 12px;
        min-width: 0
    }

    .dropdown-panel a, .submenu-panel a {
        white-space: normal
    }

    .submenu-panel {
        position: static;
        box-shadow: none;
        border: 0;
        border-radius: 0;
        background: #eef5f8;
        margin: 2px 0 6px;
        padding: 4px 10px;
        min-width: 0
    }
}

@media(max-width:680px) {
    .menu {
        overflow-y: auto;
        max-height: calc(100vh - 78px)
    }

        .menu > a {
            display: block
        }

    .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 12px 0;
        border-bottom: 1px solid #f0f3f6
    }

    .nav-dropdown {
        width: 100%
    }

        .nav-dropdown > .dropdown-panel {
            width: 100%
        }

    .submenu-toggle {
        padding: 10px 12px
    }

    .contact-fab-wrap {
        left: 15px;
        bottom: 15px
    }

    .contact-fab {
        width: 54px;
        height: 54px
    }
}


/* بازطراحی منو: دسکتاپ با هاور، موبایل و تبلت با منوی کشویی مرتب */
@media (min-width: 901px) and (hover: hover) and (pointer: fine) {
    .nav-dropdown:hover > .dropdown-panel,
    .nav-dropdown:focus-within > .dropdown-panel {
        display: block;
    }

    .submenu-group:hover > .submenu-panel,
    .submenu-group:focus-within > .submenu-panel {
        display: block;
    }

    .nav-dropdown:hover > .dropdown-toggle,
    .submenu-group:hover > .submenu-toggle {
        color: var(--blue);
    }
}

@media (max-width: 900px) {
    header {
        z-index: 1500;
    }

    .nav {
        position: relative;
        height: 74px;
        gap: 12px;
    }

    .brand {
        min-width: 0;
    }

        .brand strong {
            font-size: 15px;
        }

        .brand small {
            font-size: 9px;
        }

    .nav-actions {
        margin-inline-start: auto;
    }

        .nav-actions .btn {
            display: none;
        }

    .menu-toggle {
        display: grid;
        place-items: center;
        flex: 0 0 auto;
    }

    .menu {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        width: 100%;
        max-height: calc(100dvh - 90px);
        overflow-y: auto;
        overscroll-behavior: contain;
        background: #fff;
        padding: 10px 16px 18px;
        border: 1px solid var(--line);
        border-top: 0;
        border-radius: 0 0 16px 16px;
        box-shadow: 0 18px 32px #102b4e20;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        font-size: 14px;
    }

        .menu.open {
            display: flex;
        }

        .menu > a, .dropdown-toggle {
            display: flex;
            width: 100%;
            min-height: 46px;
            align-items: center;
            justify-content: space-between;
            padding: 11px 8px;
            border-bottom: 1px solid #edf2f6;
            text-align: right;
            white-space: normal;
        }

    .nav-dropdown, .submenu-group {
        width: 100%;
        min-width: 0;
    }

    .dropdown-toggle, .submenu-toggle {
        font-size: 14px;
    }

    .dropdown-panel, .submenu-panel,
    .nav-dropdown > .dropdown-panel, .submenu-group > .submenu-panel {
        display: none;
        position: static;
        inset: auto;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        margin: 4px 0 9px;
        padding: 6px 10px;
        border: 0;
        border-radius: 10px;
        background: #f4f8fb;
        box-shadow: none;
    }

    .nav-dropdown.open > .dropdown-panel,
    .submenu-group.open > .submenu-panel {
        display: block;
    }

    .dropdown-panel a, .submenu-panel a {
        display: block;
        width: 100%;
        min-height: 40px;
        padding: 9px 12px;
        white-space: normal;
        overflow-wrap: anywhere;
        border-radius: 8px;
        border-bottom: 1px solid #e9f0f5;
    }

    .submenu-toggle {
        width: 100%;
        min-height: 42px;
        padding: 9px 12px;
        justify-content: space-between;
        text-align: right;
        background: #eaf2f7;
        border-radius: 8px;
    }

    .submenu-panel {
        background: #eaf3f7;
        margin: 4px 0 8px;
        padding: 5px 9px;
    }

    .menu a:hover, .dropdown-toggle:hover, .submenu-toggle:hover {
        color: var(--blue);
    }
}

@media (max-width: 380px) {
    .container {
        width: calc(100% - 22px);
    }

    .nav {
        height: 68px;
    }

    .brand {
        gap: 8px;
    }

    .brand-mark {
        width: 39px;
        height: 39px;
        border-radius: 12px;
    }

    .brand strong {
        font-size: 13px;
    }

    .brand small {
        font-size: 8px;
    }

    .menu {
        max-height: calc(100dvh - 80px);
        padding-inline: 11px;
    }
}

.breadcrumb-wrap {
    padding: 24px 0 14px
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: #8191a1;
    font-size: 12px
}

    .breadcrumb a {
        color: var(--blue);
        font-weight: 700
    }

.crumb-sep {
    color: #b6c2cc
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0,1fr) 290px;
    gap: 25px;
    align-items: start;
    padding-bottom: 75px
}

.article-card, .side-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 8px 28px rgba(20,55,90,.045)
}

.article-card {
    padding: clamp(20px,4vw,46px);
    min-width: 0
}

.article-category {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #eaf6fb;
    color: var(--blue);
    border-radius: 30px;
    padding: 6px 13px;
    font-size: 11px;
    font-weight: 800
}

.article-title {
    font-size: clamp(25px,3.2vw,37px);
    line-height: 1.55;
    color: var(--navy);
    margin: 16px 0 12px;
    font-weight: 900
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 17px;
    color: #8795a3;
    font-size: 12px;
    margin-bottom: 23px
}

    .article-meta span {
        display: inline-flex;
        align-items: center;
        gap: 6px
    }

    .article-meta a {
        color: var(--blue)
    }

.article-cover {
    width: 100%;
    max-height: 430px;
    object-fit: cover;
    display: block;
    border-radius: 17px;
    background: #eaf3f8;
    margin: 0 0 28px
}

.article-intro {
    font-size: 16px;
    line-height: 2.2;
    color: #42586d;
    background: #f4f9fc;
    border-right: 4px solid var(--cyan);
    border-radius: 12px;
    padding: 17px 20px;
    margin: 0 0 28px
}

.article-content h2 {
    font-size: 23px;
    color: var(--navy);
    margin: 35px 0 12px;
    line-height: 1.7
}

.article-content h3 {
    font-size: 18px;
    color: #174e7b;
    margin: 26px 0 8px
}

.article-content p {
    font-size: 15px;
    color: #42566a;
    margin: 10px 0 16px
}

.article-content ul {
    padding-right: 24px;
    color: #42566a
}

.article-content li {
    padding: 3px 0;
    font-size: 15px
}

.lesson-point {
    margin: 17px 0 23px;
    padding: 17px 19px;
    background: #fbfdfe;
    border: 1px solid #e8eff4;
    border-radius: 14px
}

    .lesson-point h3 {
        margin: 0 0 8px
    }

.example-list {
    direction: ltr;
    text-align: left;
    list-style: none;
    padding: 12px 16px;
    margin: 12px 0;
    background: #f4f8fb;
    border-radius: 12px;
    border: 1px solid #e7eef4
}

    .example-list li {
        font-family: Arial,sans-serif;
        font-size: 15px;
        color: #24445e;
        padding: 5px 0
    }

.grammar-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0 22px;
    font-size: 14px;
    overflow: hidden;
    border-radius: 12px
}

    .grammar-table th, .grammar-table td {
        padding: 12px;
        border: 1px solid var(--line);
        text-align: right
    }

    .grammar-table th {
        background: #edf6fa;
        color: var(--navy)
    }

    .grammar-table td {
        background: #fff
    }

.english {
    direction: ltr;
    text-align: left;
    font-family: Arial,sans-serif;
    font-weight: 600;
    color: #174e7b
}

.article-callout {
    background: #eaf8f7;
    border: 1px solid #d2efec;
    border-radius: 14px;
    padding: 18px 20px;
    margin: 30px 0;
    color: #245e62
}

    .article-callout strong {
        color: #087f83
    }

.video-section {
    margin-top: 38px;
    padding-top: 27px;
    border-top: 1px solid var(--line)
}

    .video-section h2 {
        margin-top: 0
    }

.video-box {
    background: #0b2037;
    border-radius: 17px;
    overflow: hidden;
    box-shadow: var(--shadow)
}

    .video-box video {
        width: 100%;
        display: block;
        aspect-ratio: 16/9;
        background: #0b2037
    }

.video-note {
    font-size: 11px !important;
    color: #8293a2 !important;
    margin: 9px 2px !important
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--line)
}

    .article-tags span {
        color: #7b8c9b;
        font-size: 12px
    }

    .article-tags a {
        font-size: 11px;
        color: var(--blue);
        background: #edf6fa;
        border-radius: 20px;
        padding: 5px 11px
    }

.side-card {
    padding: 21px;
    margin-bottom: 17px
}

    .side-card h3 {
        font-size: 16px;
        color: var(--navy);
        margin: 0 0 14px
    }

.toc a {
    display: block;
    font-size: 12px;
    color: #63798c;
    padding: 8px 0;
    border-bottom: 1px solid #eef2f5
}

    .toc a:last-child {
        border: 0
    }

    .toc a:hover {
        color: var(--blue)
    }

.side-cta {
    background: linear-gradient(145deg,var(--navy),#1769aa);
    color: #fff;
    border-radius: 18px;
    padding: 23px
}

    .side-cta h3 {
        color: #fff;
        margin: 0 0 8px
    }

    .side-cta p {
        font-size: 12px;
        color: #dceaf4;
        margin: 0 0 17px
    }

    .side-cta .btn {
        background: #fff;
        color: var(--blue);
        width: 100%
    }

.related-item {
    display: flex;
    gap: 11px;
    padding: 10px 0;
    border-bottom: 1px solid #edf1f4
}

    .related-item:last-child {
        border: 0;
        padding-bottom: 0
    }

.related-icon {
    width: 45px;
    height: 45px;
    flex: none;
    border-radius: 11px;
    background: #eaf6fb;
    color: var(--blue);
    display: grid;
    place-items: center;
    font-size: 19px
}

.related-item strong {
    display: block;
    color: var(--navy);
    font-size: 12px;
    line-height: 1.7
}

.related-item small {
    color: #91a0ad;
    font-size: 10px
}

footer {
    background: #0c223c;
    color: #d6e3ef;
    padding: 38px 0 18px
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    align-items: center
}

    .footer-inner p {
        font-size: 12px;
        color: #9fb3c7;
        margin: 0
    }

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #c1d0dc
}

.copyright {
    border-top: 1px solid #ffffff1c;
    margin-top: 25px;
    padding-top: 14px;
    text-align: center;
    color: #8198ad;
    font-size: 11px
}

.contact-fab-wrap {
    position: fixed;
    z-index: 1200;
    left: 22px;
    bottom: 22px;
    direction: rtl
}

.contact-fab {
    width: 57px;
    height: 57px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg,#1769aa,#20b8c7);
    color: #fff;
    box-shadow: 0 9px 28px #123b5b45;
    cursor: pointer;
    font-size: 25px
}

.contact-options {
    display: none;
    position: absolute;
    left: 0;
    bottom: 68px;
    width: 220px;
    padding: 9px;
    background: #fff;
    border: 1px solid #e4edf3;
    border-radius: 16px;
    box-shadow: 0 14px 38px #102b4e25
}

.contact-fab-wrap.open .contact-options {
    display: grid;
    gap: 5px
}

.contact-options a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 11px;
    border-radius: 10px;
    color: #17324d;
    font-size: 12px;
    font-weight: 700
}

    .contact-options a:hover {
        background: #eef8fb
    }

.contact-symbol {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #e8f6f8;
    color: #1769aa
}

@media(min-width:901px) and (hover:hover) and (pointer:fine) {
    .nav-dropdown:hover > .dropdown-panel, .nav-dropdown:focus-within > .dropdown-panel, .submenu-group:hover > .submenu-panel, .submenu-group:focus-within > .submenu-panel {
        display: block
    }
}

@media(max-width:900px) {
    .nav {
        height: 72px
    }

    .nav-actions .btn {
        display: none
    }

    .menu-toggle {
        display: grid;
        place-items: center
    }

    .menu {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        max-height: calc(100vh - 74px);
        overflow-y: auto;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 0 0 16px 16px;
        padding: 12px 18px;
        box-shadow: 0 18px 35px #102b4e1c;
        align-items: stretch;
        gap: 4px
    }

        .menu.open {
            display: flex;
            flex-direction: column
        }

        .menu > a {
            padding: 10px 2px
        }

    .nav-dropdown, .submenu-group {
        width: 100%
    }

    .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 12px 2px;
        border-bottom: 1px solid #f0f3f6
    }

    .nav-dropdown > .dropdown-panel, .submenu-panel {
        position: static;
        width: 100%;
        min-width: 0;
        box-shadow: none;
        border: 0;
        border-radius: 10px;
        background: #f4f8fb;
        margin: 4px 0 7px;
        padding: 5px 12px
    }

    .submenu-panel {
        background: #eaf2f6;
        margin-right: 8px;
        width: calc(100% - 8px)
    }

        .dropdown-panel a, .submenu-panel a {
            white-space: normal;
            padding: 9px 10px
        }

    .submenu-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 10px
    }

    .article-layout {
        grid-template-columns: minmax(0,1fr) 250px;
        gap: 16px
    }
}

@media(max-width:720px) {
    .container {
        width: min(100% - 28px,600px)
    }

    .topbar .container {
        flex-direction: column;
        gap: 2px
    }

    .topbar .toplinks {
        flex-wrap: wrap
    }

    .article-layout {
        grid-template-columns: 1fr
    }

    .article-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px
    }

    .side-card {
        margin: 0
    }

    .side-cta {
        grid-column: 1/-1
    }

    .article-card {
        padding: 20px
    }

    .article-title {
        font-size: 25px
    }

    .article-intro {
        font-size: 14px
    }

    .article-content h2 {
        font-size: 21px
    }

    .article-content p, .article-content li {
        font-size: 14px
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column
    }

    .footer-links {
        gap: 12px
    }
}

@media(max-width:480px) {
    .article-sidebar {
        grid-template-columns: 1fr
    }

    .article-meta {
        gap: 10px
    }

    .article-card {
        border-radius: 16px
    }

    .article-cover {
        border-radius: 12px
    }

    .contact-fab-wrap {
        left: 13px;
        bottom: 13px
    }

    .contact-fab {
        width: 52px;
        height: 52px
    }

    .breadcrumb-wrap {
        padding-top: 17px
    }
}