@import url("../../assetsApp/fonts/farsi-fonts-styles-fa-num/primary-vazir.css");

:root {
    --theme-color: #e4e6ed;
    --white-color: #fff;
    --icon-color: #457ace;
    --block-color: #333;
    --topmax-color: #133c55;
    --btn-color-one: #f8f9fa;
    --btn-color-two: #f2545b;
    --btn-color-three: #386fa4;
    --menu-button: #3094ea;
    --blue-color: #08388b;
    --teal-dark: #2c5f5f;
    --teal-light: #4a8b8b;
    --stat-icon: #4789bb;
    --bg: #f6f7fb;
    --card: #ffffff;
    --text: #1a1c1f;
    --primary: #1677ff;
    --primary-700: #0d5fe0;
    --accent: #ff7d29;
    --shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
    --card-bg: #fff;
    --muted: #6b7280;
    --primary-600: #2563eb;
    --radius: 18px;
    --border: #e5e7eb;
    --card-shadow: 0 10px 24px rgba(2, 6, 23, 0.08);
    --glow: 0 0 0 6px rgba(29, 78, 216, 0.06);
    --alt-font-iranNastaliq: "IranNastaliq";
}

body {
    font-family: "primary-font";
    background: var(--theme-color) !important;
    margin: 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container-topmax {
    max-width: 1390px;
}
.container-topmax .my-row-one .header-top {
    height: 50px;
    direction: rtl;
    background-color: var(--topmax-color);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
}

.container-topmax .my-row-one .header-top .box-right {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.container-topmax .my-row-one .header-top .box-right .envelope-top {
    height: auto;
}

.container-topmax .my-row-one .header-top .box-right .envelope-top i {
    font-size: 18px;
    color: var(--white-color);
    position: relative;
    top: 2px;
}

.container-topmax .my-row-one .header-top .box-right .envelope-top span {
    font-size: 15px;
    color: var(--white-color);
    padding-right: 2px;
}

.container-topmax .my-row-one .header-top .box-right .phone-top {
    height: auto;
    padding-right: 30px;
}

.container-topmax .my-row-one .header-top .box-right .phone-top i {
    font-size: 17px;
    color: var(--white-color);
    position: relative;
    top: 2px;
}

.container-topmax .my-row-one .header-top .box-right .phone-top span {
    font-size: 15px;
    color: var(--white-color);
    padding-right: 2px;
}

.container-topmax .my-row-one .header-top .box-left {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
}

.dropdown-download {
    position: relative;
    display: inline-block;
}

.dropdown-button {
    background-color: transparent;
    color: var(--btn-color-one);
    padding: 6px 20px;
    border: 1px solid #ddd;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-button:hover {
    background-color: #f8f9fa;
    border-color: #457ace;
    color: var(--topmax-color);
}

.dropdown-button:focus {
    outline: none;
    border-color: #457ace;
    box-shadow: 0 0 0 3px rgba(69, 122, 206, 0.1);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 87%;
    right: 0;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    z-index: 1000;
    overflow: hidden;
    margin-top: 5px;
}

.dropdown-content a {
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown-download:hover .dropdown-content {
    display: block;
}

/* استایل برای زبان و جستجو */
.language-selector {
    position: relative;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 10px;
    z-index: 1000;
    min-width: 120px;
    margin-top: 5px;
}

.lang-dropdown li {
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-dropdown li:hover {
    background-color: #f8f9fa;
    border-radius: 6px;
}

.language-selector:hover .lang-dropdown {
    display: block;
}

.input-group .form-control {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.input-group .btn-primary {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.close-btn:hover {
    cursor: pointer;
}

/* مودال جستجو */
.custom-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.custom-modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 500px;
}

.language-selector .btn {
    border-color: var(--white-color);
    background-color: var(--topmax-color);
    color: var(--white-color);
}

.language-selector .btn:hover {
    background-color: var(--white-color);
    color: var(--topmax-color);
}

/* #searchIcon:hover {
  border-color: var(--white-color);
  background-color: var(--topmax-color);
} */

#searchIcon {
    background-color: var(--white-color);
    color: var(--topmax-color);
}
.container-menu {
    max-width: 1390px;
    margin-top: 30px;
    margin: 20px auto;
}

.container-menu .my-row-one .main-menu {
    height: 53px !important;
    direction: rtl;
    background-color: var(--white-color);
    border-radius: 15px;
    display: inline-flex;
}

.container-menu .my-row-one .menu-right {
    width: 10%;
    display: flex;
    justify-self: center;
    align-self: center;
}

.container-menu .my-row-one .menu-center {
    width: 70%;
    display: flex;
    align-self: center;
    justify-content: center;
}

.theme-switcher {
    position: relative;
    display: inline-block;
    width: 65px;
    height: 25px;
    margin: 23px auto;
    cursor: pointer;
}

.theme-switcher input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #2c3e50;
    border-radius: 34px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}

.slider:before {
    position: absolute;
    content: "";
    height: 25px;
    width: 25px;
    left: 0px;
    bottom: 0px;
    background: linear-gradient(45deg, #ffd700, #ff8c00);
    border-radius: 50%;
    transition: 0.4s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
}

input:checked + .slider {
    background: #1a202c;
}

input:checked + .slider:before {
    transform: translateX(40px);
    background: linear-gradient(45deg, #bdc3c7, #7f8c8d);
    content: "\f186";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

input:not(:checked) + .slider:before {
    content: "\f185";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #ff8c00;
}

.dark-mode .main-menu {
    background-color: #1a202c;
}

.dark-mode .header-top {
    background: rgba(198, 9, 9, 0.2);
}

.container-menu .my-row-one .main-menu .menu-center .navbar {
    justify-content: center;
}

.container-menu .my-row-one .main-menu .menu-center .header-menu .navbar-nav {
    align-items: center;
}

.container-menu
    .my-row-one
    .main-menu
    .menu-center
    .header-menu
    .navbar-nav
    .nav-item
    .logo-menu {
    z-index: 999;
}

.container-menu
    .my-row-one
    .main-menu
    .menu-center
    .header-menu
    .navbar-nav
    .nav-item
    .dropdown-toggle::after {
    display: none !important;
}

.container-menu
    .my-row-one
    .main-menu
    .menu-center
    .header-menu
    .navbar-nav
    .nav-item
    .nav-link {
    position: relative;
    padding-bottom: 5px;
    display: inline-block;
    transition: color 0.3s ease;
    padding-right: 20px;
    color: #545454;
    font-size: 16px;
}

.container-menu
    .my-row-one
    .main-menu
    .menu-center
    .header-menu
    .navbar-nav
    .nav-item
    .nav-link
    img {
    width: 100px;
    height: 100px;
    /* padding: 10px 11px;
  border: 3px solid #ff770094;
  background: var(--white-color);
  border-radius: 10px;
  box-shadow: 0 0 15px 2px #ff770033; */
}
.container-menu
    .my-row-one
    .main-menu
    .menu-center
    .header-menu
    .navbar-nav
    .nav-item
    .nav-link
    .pipe {
    padding-inline: 9px;
}

.container-menu
    .my-row-one
    .main-menu
    .menu-center
    .header-menu
    .navbar-nav
    .nav-item
    .mega-menu-services {
    width: 222px;
    height: auto;
    left: 0 !important;
    right: 0 !important;
    background-color: #fff;
    border-radius: 10px;
    border: none;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
}

/* .container-menu .my-row-one .main-menu .menu-center .header-menu .navbar-nav .nav-item .mega-menu-services .row{
    flex-wrap: nowrap;
} */

.container-menu
    .my-row-one
    .main-menu
    .menu-center
    .header-menu
    .navbar-nav
    .nav-item
    .mega-menu-services
    .header-mega-menu {
    text-align: right;
    color: var(--menu-item);
    margin-left: 25px;
}

/* .container-menu .my-row-one .main-menu .menu-center .header-menu .navbar-nav .nav-item .mega-menu-services .part-mega-one{
    width: 50%;
} */

.container-menu
    .my-row-one
    .main-menu
    .menu-center
    .header-menu
    .navbar-nav
    .nav-item
    .mega-menu-services
    .part-mega-one
    .dropdown-item {
    border-right: 2px solid var(--menu-item);
    text-align: right;
    margin-left: 25px;
    font-size: 15px;
}

.container-menu
    .my-row-one
    .main-menu
    .menu-center
    .header-menu
    .navbar-nav
    .nav-item
    .mega-menu-calendar {
    width: 250px;
    height: auto;
    left: 0 !important;
    right: 0 !important;
    background-color: #fff;
    border-radius: 10px;
    border: none;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
}

/* .container-menu .my-row-one .main-menu .menu-center .header-menu .navbar-nav .nav-item .mega-menu-calendar .row{
    flex-wrap: nowrap;
} */

.container-menu
    .my-row-one
    .main-menu
    .menu-center
    .header-menu
    .navbar-nav
    .nav-item
    .mega-menu-calendar
    .header-mega-menu {
    text-align: right;
    color: var(--menu-item);
    margin-left: 25px;
}

/* .container-menu .my-row-one .main-menu .menu-center .header-menu .navbar-nav .nav-item .mega-menu-calendar .part-mega-one{
    width: 50%;
} */

.container-menu
    .my-row-one
    .main-menu
    .menu-center
    .header-menu
    .navbar-nav
    .nav-item
    .mega-menu-calendar
    .part-mega-one
    .dropdown-item {
    border-right: 2px solid var(--menu-item);
    text-align: right;
    margin-left: 25px;
    font-size: 15px;
}

.container-menu .my-row-one .main-menu .logo-mobile {
    display: none;
}

.container-menu .my-row-one .menu-left {
    width: 16%;
    display: flex;
    align-self: center;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-right: 40px;
}

.container-menu .my-row-one .menu-left .button-one {
    width: 40%;
    height: 35px;
    text-decoration: none;
    background: var(--btn-color-two);
    display: flex;
    align-items: center;
    border-radius: 18px;
    justify-content: center;
    color: var(--white-color);
}

.container-menu .my-row-one .menu-left .button-one a {
    color: var(--white-color);
    text-decoration: none;
    font-size: 13px;
    padding-right: 5px;
}

.container-menu .my-row-one .menu-left .button-two {
    width: 60%;
    height: 35px;
    text-decoration: none;
    background: var(--btn-color-three);
    display: flex;
    align-items: center;
    border-radius: 18px;
    justify-content: center;
    color: var(--white-color);
}

.container-menu .my-row-one .menu-left .button-two a {
    color: var(--white-color);
    text-decoration: none;
    font-size: 13px;
    padding-right: 5px;
}

.container-menu .my-row-two {
    justify-content: center;
}

.container-menu .my-row-two .bottom-menu {
    width: 320px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 3px solid var(--blue-color);
    border-right: 3px solid var(--blue-color);
    border-left: 3px solid var(--blue-color);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    background-color: var(--white-color);
}

.container-menu .my-row-two .bottom-menu span {
    font-size: 15px;
    font-weight: 600;
    color: var(--blue-color);
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    right: 100%;
    margin-right: 1.1rem;
    margin-left: 0;
    display: none;
    position: absolute;
    z-index: 1000;
}

.dropdown-submenu:hover .dropdown-menu {
    display: block;
}

.dropdown-item.active,
.dropdown-item:active {
    color: var(--white-color);
    text-decoration: none;
    background-color: var(--menu-item);
}

.first-div {
    padding: 24px;
}

.layout {
    display: grid;
    width: 1390px;
    grid-template-columns: 615px 510px 240px;
    gap: 12px;
    align-items: start;
    margin: 0 auto;
    transform-origin: top right;
}

@media (max-width: 1358px) and (min-width: 993px) {
    .layout {
        transform: scale(calc((100vw - 48px) / 1358));
    }
}

.profile__card {
    background: var(--card);
    border-radius: 24px;
    box-shadow: var(--shadow);
    overflow: hidden;
    height: auto;
}
.profile__avatar {
    /* padding: 18px 25px 0; */
}
.profile__avatar img {
    width: 100%;
    height: 210px;
    display: block;
}
.profile__body {
    padding: 16px 20px 20px;
}
.profile__name {
    margin: 0px 0 4px;
    font-weight: 800;
    font-size: 17px;
    text-align: center;
}
.profile__title {
    margin: 0;
    color: var(--muted);
    text-align: center;
    font-size: 15px;
}
.profile__actions {
    display: grid;
    grid-template-columns: -1fr 1fr;
    gap: 5px;
    margin: 16px 0;
}
.btn__white {
    appearance: none;
    border: 1px solid #e5e7ef;
    background: #fff;
    color: var(--text);
    padding: 5px 10px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
}
.btn__primary {
    color: var(--text);
    padding: 5px 10px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    background-color: var(--primary);
    color: #fff;
    border-color: transparent;
}
.btn__primary:hover {
    background: var(--primary-700);
    color: var(--text);
}
.profile__socials {
    display: flex;
    justify-content: center;
    gap: 12px;
}
.social {
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    background: #f0f3fa;
    border-radius: 10px;
    text-decoration: none;
    color: #1e293b;
}

.news {
    padding: 19px 26px;
    height: auto;
}
.white-bac {
    border-radius: 24px;
    background: var(--card);
}
.news__header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 8px;
}
.news__tabs {
    /* margin-inline-start: auto; */
    display: flex;
    gap: 8px;
}
.tab {
    border: 1px solid #e6e8f0;
    background: #fff;
    color: #2c2f36;
    border-radius: 20px;
    padding: 8px 14px;
    cursor: pointer;
    font-weight: 700;
}
.tab.is-active {
    background: #eaf2ff;
    border-color: #cfe0ff;
    color: #0b57d0;
    font-weight: 700;
}
.news__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: calc(440px - 54px);
    overflow: auto;
    padding: 4px;
}
.news-card {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 10px;
    padding: 8px;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    border: 1px solid #eef1f6;
    background: #fff;
    transition: 0.2s box-shadow, 0.2s transform;
}
.news-card:hover {
    box-shadow: 0 10px 20px rgba(18, 36, 67, 0.06);
    transform: translateY(-2px);
}
.news-card__thumb {
    width: 100%;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
}
.news-card__badge {
    /* display: inline-block; */
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 6px;
    background-color: var(--primary);
    color: var(--card);
}
.news-card__badge.news {
    background: #e6f4ff;
    color: #0842a0;
}
.news-card__badge.notice {
    background: #fff6e6;
    color: #a85608;
}
.news-card__badge.rules {
    background: #eafaf0;
    color: #0b6b3a;
}
.news-card__title {
    margin: 14px 0 4px;
    font-size: 13px;
}
.news-card__time {
    font-size: 12px;
    color: var(--muted);
    /* position: relative;
  right: 65%; */
}
.news-card__excerpt {
    margin: 6px 0 0;
    color: #4b5563;
}
.top_hero__caption {
    display: flex;
    justify-content: space-between;
}

.ticker {
    width: 110px;
    height: 36px;
    overflow: hidden;
    border-radius: 999px;
    background: #f2f5ff;
    border: 1px solid #e0e7ff;
    display: grid;
    place-items: center;
}
.ticker__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ticker__item {
    height: 36px;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: #0b57d0;
}

.hero {
    height: auto;
    background: var(--card);
    border-radius: 24px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.hero__viewport {
    position: relative;
}
.hero__track {
    position: relative;
    height: 470px;
}
.hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.hero__slide.is-active {
    opacity: 1;
}
.hero__slide img {
    width: 100%;
    height: 101%;
    object-fit: cover;
    display: block;
}
.hero__caption {
    position: absolute;
    inset-inline: 13px;
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.hero__title {
    margin: 0;
    color: #fff;
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
    font-size: 18px;
}
.hero__cta {
    margin-inline-start: auto;
    background: #000a;
    color: #fff;
    padding: 8px 10px;
    border-radius: 10px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.5);
    font-size: 15px;
}
.hero__time {
    display: none;
}
.hero__badge {
    display: none;
}
.hero__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    /* z-index: 5; */
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    cursor: pointer;
}
.hero__nav--prev {
    inset-inline-start: 12px;
}
.hero__nav--next {
    inset-inline-end: 12px;
}
.hero__dots {
    position: absolute;
    inset-inline: 0;
    bottom: 12px;
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
}
.hero__dots button {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
}
.hero__dots button[aria-selected="true"] {
    background: #fff;
    width: 28px;
    border-radius: 999px;
}

/* Responsive */
@media (max-width: 992px) {
    .layout {
        width: auto;
        transform: none;
        grid-template-columns: 1fr;
    }
    .profile {
        order: 3;
    }
    .hero__track {
        height: 44vh;
    }
    .news__list {
        max-height: unset;
    }
    .hero__title {
        font-size: 13px;
    }
    .hero__cta {
        font-size: 12px;
    }
}

.page_list {
    padding: 45px 24px;
}

.engineers-section {
    max-width: 1350px;
    margin: 0 auto;
}
.section-title {
    text-align: center;
    font-weight: 900;
    font-size: 27px;
    margin: 8px 0 28px;
    color: var(--blue-color);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 28px 28px;
    align-items: stretch;
}

.engineer-card {
    background: var(--card-bg);
    height: auto;
    border-radius: 24px;
    padding: 18px 18px 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.avatar {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 14px;
    background: #f3f4f6;
}
.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.name {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}
.role {
    margin: 0;
    font-size: 12px;
    color: var(--muted);
    text-align: center;
}

.cta-wrap {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 35px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
}
.btn-primary:hover {
    background: var(--primary-600);
}

/* Responsiveness: gracefully drop columns 5→4→3→2→1 */
@media (max-width: 1200px) {
    .cards-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
@media (max-width: 992px) {
    .cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 520px) {
    .page_list {
        padding: 24px 16px;
    }
    .section-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* بخش آشنایی با انجمن */
.about-section {
    position: relative;
    background: var(--topmax-color);
    padding: 150px 0;
    overflow: hidden;
    margin: 50px 0;
}

/* منحنی بالا */
/* موج‌های SVG دقیق */
.about-wave {
    position: absolute;
    left: 0;
    right: 0;
    height: 120px;
    pointer-events: none;
}
.about-wave--top {
    top: 0;
    transform: translateY(-1px);
}
.about-wave--bottom {
    bottom: 0;
    transform: translateY(1px);
}
.about-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}
.about-wave path {
    fill: var(--theme-color);
}

/* منحنی پایین */
/* حذف شبه‌عنصرها و استفاده از SVG بالا */

.about-container {
    max-width: 1390px;
    margin: 0 auto;
    padding: 10px 24px;
    position: relative;
    z-index: 2;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    color: var(--white-color);
}

.about-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin: 0 0 30px 0;
    color: var(--white-color);
    text-align: right;
    line-height: 1.2;
}

.about-paragraphs {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
    text-align: justify;
    color: var(--white-color);
    opacity: 0.95;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 85px 0px;
    align-items: center;
    padding-top: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* gap: 15px; */
}

.stat-item {
    position: relative;
}
.stat-icon {
    position: absolute;
    top: -22px; /* آیکون کمی روی عدد قرار می‌گیرد */
    transform: translateY(-50%);
    width: 76px;
    height: 76px;
    background: var(--stat-icon);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.stat-icon i {
    font-size: 2rem;
    color: var(--white-color);
}

.stat-number {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--white-color);
    margin: 25px 0 0 0; /* فاصله برای قرارگیری آیکون روی عدد */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1rem;
    color: var(--white-color);
    opacity: 0.9;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
}

/* ریسپانسیو برای تبلت */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .about-title {
        font-size: 2.2rem;
        text-align: center;
    }

    .about-paragraph {
        text-align: center;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 100px 0px;
    }

    .stat-icon {
        width: 70px;
        height: 70px;
    }

    .stat-icon i {
        font-size: 1.8rem;
    }

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

/* ریسپانسیو برای موبایل */
@media (max-width: 768px) {
    .about-section {
        padding: 140px 0;
        margin: 40px 0;
    }

    .about-container {
        padding: 0 16px;
    }

    .about-content {
        gap: 40px;
    }

    .about-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .about-paragraph {
        font-size: 1rem;
        line-height: 1.6;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 80px;
    }

    .stat-item {
        gap: 5px;
    }

    .stat-icon {
        width: 60px;
        height: 60px;
    }

    .stat-icon i {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
        margin: 15px 0 0 0;
    }

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

@media (max-width: 480px) {
    .about-section {
        padding: 50px 0;
    }

    .about-title {
        font-size: 1.6rem;
    }

    .about-paragraph {
        font-size: 0.95rem;
    }

    .stat-icon {
        width: 55px;
        height: 55px;
    }

    .stat-icon i {
        font-size: 1.3rem;
    }

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

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

@media (max-width: 768px) {
    .container-topmax {
        padding-inline: 35px !important;
    }

    .container-topmax .my-row-one .header-top .box-right .envelope-top {
        display: none;
    }

    .container-topmax .my-row-one .header-top .box-right .phone-top {
        display: none;
    }

    .container-topmax .my-row-one .header-top .box-right {
        width: 0;
    }

    .container-topmax .my-row-one .header-top .box-left {
        width: 100%;
        justify-content: space-between;
    }

    .container-topmax .my-row-one .header-top .box-left .Counseling {
        padding-left: 0px;
    }

    .container-menu {
        padding-inline: 35px !important;
    }

    .container-menu .my-row-one .menu-left a {
        font-size: 10px;
    }
}

@media (max-width: 1400px) {
    .container-menu .my-row-one .menu-right {
        width: 8%;
    }

    .container-menu .my-row-one .main-menu .menu-center {
        width: 77%;
    }

    .container-menu .my-row-one .menu-left {
        width: 15%;
    }

    .container-menu .my-row-one .menu-left a {
        font-size: 13px;
    }
}

@media (max-width: 1200px) {
    .container-menu .my-row-one .menu-right {
        display: none !important;
    }

    .container-menu .my-row-one .main-menu .menu-center {
        width: 25%;
        display: flex;
    }

    .container-menu .my-row-one .menu-left {
        width: 25%;
    }

    .container-menu .my-row-one .menu-left a {
        font-size: 14px;
    }

    .container-menu .my-row-one .main-menu .logo-mobile {
        width: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        /* z-index: 1; */
    }

    .container-menu .my-row-one .main-menu .logo-mobile img {
        width: 100px;
        height: 100px;
    }
}

@media screen and (max-width: 1200px) {
    #mynav {
        display: block;
        background-color: #fff;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        z-index: 99999;
        padding: 1rem;
        transition: 0.8s;
    }

    #mynav.show {
        right: 0;
    }

    .container-menu
        .my-row-one
        .main-menu
        .menu-center
        .header-menu
        .navbar-nav {
        align-items: flex-start;
    }
    .container-menu
        .my-row-one
        .main-menu
        .menu-center
        .header-menu
        .navbar-nav
        .nav-item {
        width: 100%;
        padding-top: 10px;
        padding-bottom: 10px;
        border-bottom: 0.5px solid #c9c9c9;
    }

    .container-menu
        .my-row-one
        .main-menu
        .menu-center
        .header-menu
        .navbar-nav
        .nav-item
        span {
        font-size: 16px;
        font-weight: 800;
    }

    .container-menu
        .my-row-one
        .main-menu
        .menu-center
        .header-menu
        .navbar-nav
        .nav-item:hover {
        background-color: var(--light-gray);
        border-radius: 15px;
    }

    .container-menu
        .my-row-one
        .main-menu
        .menu-center
        .header-menu
        .navbar-nav
        .nav-item
        .nav-link
        .pipe {
        display: none;
    }
}

.page_video {
    max-width: 980px;
    margin: 80px auto;
    padding: 0 20px;
}
.page__title {
    margin: 0 0 24px;
    font-size: 23px;
    line-height: 1.6;
    letter-spacing: 0.2px;
    color: #103a6b;
    text-align: center;
    font-weight: 900;
}

.video-card {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 24px;
    overflow: hidden;
    background: #0c3147;
    box-shadow: 0 10px 24px rgba(5, 25, 45, 0.18);
    border: 10px solid #134b66;
}
.video-card__poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.05) contrast(1.02);
}
.video-card__play {
    position: absolute;
    inset: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 86px;
    height: 86px;
    border-radius: 50%;
    border: none;
    background: #ffffffcc;
    backdrop-filter: blur(2px);
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease;
}
.video-card__play::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-40%, -50%);
    border-left: 22px solid #0c3147;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
}
.video-card__play:hover {
    transform: translate(-50%, -50%) scale(1.06);
    background: #fff;
}

.video-card video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.page_gallery {
    max-width: 980px;
    margin: 40px auto;
    padding: 0 20px;
}
.page__title {
    margin: 0 0 24px;
    font-size: 28px;
    line-height: 1.6;
    letter-spacing: 0.2px;
    color: #103a6b;
}

.video-card {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 24px;
    overflow: hidden;
    background: #0c3147;
    box-shadow: 0 10px 24px rgba(5, 25, 45, 0.18);
    border: 12px solid #134b66;
}
.video-card__poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.05) contrast(1.02);
}
.video-card__play {
    position: absolute;
    inset: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 86px;
    height: 86px;
    border-radius: 50%;
    border: none;
    background: #ffffffcc;
    backdrop-filter: blur(2px);
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease;
}
.video-card__play::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-40%, -50%);
    border-left: 22px solid #0c3147;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
}
.video-card__play:hover {
    transform: translate(-50%, -50%) scale(1.06);
    background: #fff;
}

.video-card video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
@media (max-width: 980px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 620px) {
    .gallery {
        grid-template-columns: 1fr;
    }
}

.stack-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.stack-card__stack {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 22px;
    overflow: hidden;
}
.stack-card__stack::before {
    content: "";
    position: absolute;
    inset: -10px;
    z-index: 0;
    border-radius: 28px;
    background: linear-gradient(145deg, #0f3a6a, #0a2a52);
    filter: blur(14px);
    opacity: 0.18;
}
.stack-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 14px 28px rgba(10, 40, 80, 0.22);
    transform-origin: bottom right;
    transition: transform 0.35s ease, filter 0.35s ease;
}
.stack-card__img:nth-child(1) {
    transform: rotate(-6deg) translateY(6px);
}
.stack-card__img:nth-child(2) {
    transform: rotate(0deg);
}
.stack-card__img:nth-child(3) {
    transform: rotate(6deg) translateY(6px);
}
.stack-card:hover .stack-card__img {
    filter: saturate(1.1);
}
.stack-card:hover .stack-card__img:nth-child(1) {
    transform: rotate(-10deg) translate(-6px, 8px);
}
.stack-card:hover .stack-card__img:nth-child(3) {
    transform: rotate(10deg) translate(6px, 8px);
}
.stack-card__caption {
    margin: 14px 0 0;
    font-size: 15px;
    color: #123a6b;
}

/* Footer */
.site-footer {
    background: radial-gradient(
            1200px 400px at 70% -100%,
            #174a9a 10%,
            transparent 50%
        ),
        linear-gradient(180deg, #3568b1, #214a83);
    color: #e7f0ff;
}
.site-footer a {
    color: #e7f0ff;
    text-decoration: none;
}
.site-footer__top {
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px 20px;
}

.site-footer__brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 22px;
    border-bottom: 1px solid #ffffff22;
}
.brand-mark {
    width: 100px;
    height: 100px;
    /* flex: 0 0 70px; */
}
.brand-mark img {
    display: block;
    width: 100%;
    height: 100%;
    padding: 4px 4px;
    border-radius: 8px;
}
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.footer-nav a {
    padding: 8px 14px;
    border-radius: 12px;
    background: #ffffff12;
    transition: background 0.2s;
}
.footer-nav a:hover {
    background: #ffffff24;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr 0.9fr;
    gap: 65px;
    padding-top: 40px;
}
@media (max-width: 980px) {
    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 620px) {
    .site-footer__brand {
        flex-direction: column;
        align-items: center;
    }
    .site-footer__grid {
        grid-template-columns: 1fr;
    }
    .footer-nav {
        align-items: center;
    }
}

.footer-box__title {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 900;
}
.footer-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.footer-map {
    background: #061a33;
    border: 1px solid #ffffff22;
    border-radius: 16px;
    overflow: hidden;
}
.footer-map iframe {
    display: block;
    width: 100%;
    height: 200px;
    border: 0;
    filter: contrast(1.05) saturate(1.1);
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}
.ico {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #ffffff14;
    font-family: IRANSansX;
    font-size: 18px;
}
.ico:hover {
    background: #ffffff28;
}

.site-footer__bottom {
    text-align: center;
    padding: 14px 10px;
    border-top: 1px solid #ffffff22;
    background: #081e3f;
    color: #cfe0ff;
    font-size: 13px;
}
/* gallery-section */
.containerGallery {
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 95%;
    border-radius: 10px;
}
.trending-box-container {
    width: 100%;
    text-align: center;
    margin: 0 auto;
    background-color: transparent;
    margin-bottom: 40px;
}

@media only screen and (max-width: 1200px) {
    .first-right {
        padding: 20px 10px;
    }
}

@media only screen and (max-width: 1200px) {
    .first-left {
        padding: 10px;
    }
}
@media only screen and (max-width: 768px) {
    .container-menu .my-row-one .main-menu .menu-center {
        width: 25%;
        display: flex;
    }
    .container-menu .my-row-one .main-menu .logo-mobile {
        width: 50%;
    }
    .container-menu .my-row-one .menu-left {
        width: 25%;
        display: grid;
    }
    .container-menu .my-row-one .menu-left .button-one {
        width: auto;
        height: 50px;
        text-decoration: none;
        background: var(--btn-color-two);
        display: flex;
        align-items: center;
        border-radius: 10px;
        justify-content: center;
        color: var(--white-color);
        padding: 5px;
    }
    .container-menu .my-row-one .menu-left .button-two {
        width: auto;
        height: 50px;
        text-decoration: none;
        background: var(--btn-color-three);
        display: flex;
        align-items: center;
        border-radius: 10px;
        justify-content: center;
        color: var(--white-color);
        padding: 5px;
    }
    .container-menu .my-row-one .menu-left .button-one a {
        font-size: 12px;
    }
    .container-menu .my-row-one .menu-left .button-two a {
        font-size: 11px;
    }
}

/* Gallery Section */
.gallery-section {
    padding: 60px 0;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.gallery-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(102, 126, 234, 0.1) 0%,
        rgba(118, 75, 162, 0.1) 100%
    );
    z-index: -1;
}

/* Gallery Header */
.gallery-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.title-box {
    /* display: inline-block; */
    position: relative;
}

.gallery-title {
    font-size: 50px;
    font-weight: 800;
    color: #103a6b;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.gallery-title i {
    font-size: 3rem;
    color: #103a6b;
    animation: pulse 2s infinite;
}

.gallery-subtitle {
    font-size: 1.2rem;
    color: #103a6b;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Gallery Content */
.gallery-content {
    position: relative;
    z-index: 2;
    margin-inline: 35px;
}

/* Swiper Container */
.swiper-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    height: 500px;
    display: flex;
    flex-direction: column;
}

.swiper-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

/* Swiper Header */
.swiper-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.swiper-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
    position: relative;
}

.swiper-title::after {
    content: "";
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* Swiper Controls */
.swiper-controls {
    display: flex;
    gap: 10px;
}

.swiper-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #3568b1, #214a83);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.swiper-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.swiper-btn:active {
    transform: scale(0.95);
}

/* Swiper Styles */
.swiper {
    width: 100%;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
}

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

/* Image Card */
.image-card {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.image-card:hover {
    transform: scale(1.05);
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.image-card:hover .image-overlay {
    transform: translateY(0);
}

.image-info h5 {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.image-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin: 0;
    font-weight: 300;
}

/* Swiper Pagination */
.swiper-pagination {
    position: relative;
    margin-top: 20px;
    text-align: center;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #ddd;
    opacity: 1;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    transform: scale(1.2);
}

/* Animations */
@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .gallery-title {
        font-size: 3rem;
    }

    .swiper-container {
        height: 450px;
    }

    .swiper {
        height: 300px;
    }
}

@media (max-width: 992px) {
    .gallery-section {
        padding: 40px 0;
    }

    .gallery-title {
        font-size: 2.5rem;
    }

    .gallery-subtitle {
        font-size: 1rem;
    }

    .swiper-container {
        height: 400px;
        padding: 20px;
    }

    .swiper {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .gallery-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
    }

    .gallery-title i {
        font-size: 2rem;
    }

    .swiper-container {
        height: 350px;
        padding: 15px;
    }

    .swiper {
        height: 250px;
    }

    .swiper-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .swiper-controls {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .gallery-section {
        padding: 30px 0;
    }

    .gallery-title {
        font-size: 1.8rem;
    }

    .swiper-container {
        height: 320px;
        padding: 10px;
    }

    .swiper {
        height: 220px;
    }

    .swiper-btn {
        width: 35px;
        height: 35px;
    }
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

/* Hover Effects */
.swiper-container:hover .swiper-title::after {
    width: 100px;
    transition: width 0.3s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a6fd8, #6a4190);
}

/* Focus States for Accessibility */
.swiper-btn:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.image-card:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .gallery-section {
        background: white !important;
    }

    .gallery-title,
    .gallery-subtitle {
        color: black !important;
    }

    .swiper-container {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}

@media (max-width: 576px) {
    .about-section {
        padding-top: 150px;
    }
}
.container-members {
    max-width: 980px;
    margin: 0 auto;
    padding: 24px;
}
.my-5 {
    margin-block: 40px;
}
.mb-4 {
    margin-bottom: 16px;
}
.text-center {
    text-align: center;
}

.title-modern {
    margin: 0;
    font-weight: 800;
    letter-spacing: 0.2px;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
@media (max-width: 900px) {
    .members-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 560px) {
    .members-grid {
        grid-template-columns: 1fr;
    }
}

.member-card {
    position: relative;
    padding: 16px;
    border-radius: 16px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.06),
        rgba(255, 255, 255, 0.03)
    );
    backdrop-filter: blur(8px);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease,
        border-color 0.25s ease;
}
.member-card:hover {
    transform: translateY(-4px);
    border-color: rgba(148, 163, 184, 0.35);
    box-shadow: 0 16px 34px rgba(2, 6, 23, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.member-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
}
.member-card__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: radial-gradient(
        circle at 50% 40%,
        rgba(59, 130, 246, 0.25),
        rgba(59, 130, 246, 0) 60%
    );
    border: 1px solid rgba(99, 102, 241, 0.35);
    box-shadow: inset 0 0 24px rgba(59, 130, 246, 0.15);
}
.member-card__meta {
    display: grid;
    gap: 4px;
}
.member-card__name {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
}
.member-card__role {
    font-size: 0.8rem;
    color: #93c5fd;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.25);
    padding: 2px 8px;
    border-radius: 999px;
    width: fit-content;
}

.member-card__bio {
    margin: 12px 2px 0 2px;
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.6;
}

.member-card__actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}
.btn-modern {
    font-size: 0.85rem;
    padding: 6px 10px;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: transform 0.15s ease, background 0.2s ease,
        border-color 0.2s ease, color 0.2s ease;
}
.btn-modern:active {
    transform: translateY(1px);
}
.btn-modern--primary {
    text-decoration: none;
    background: linear-gradient(180deg, #2563eb, #1d4ed8);
    color: #fff;
    border-color: #1e40af;
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.35);
}
.btn-modern--primary:hover {
    filter: brightness(1.06);
}
.btn-modern--ghost {
    text-decoration: none;
    background: #ffb3008f;
    color: #e5e7eb;
    border-color: rgba(148, 163, 184, 0.25);
}
.btn-modern--ghost:hover {
    background: rgba(148, 163, 184, 0.14);
    border-color: rgba(148, 163, 184, 0.4);
}

@media (max-width: 576px) {
    .member-card {
        padding: 14px;
    }
    .member-card__avatar {
        width: 52px;
        height: 52px;
    }
    .member-card__name {
        font-size: 1rem;
    }
}

.container-news {
    margin-block: 60px;
}

.filter-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}
.filter-with-menu {
    position: relative;
}
.filter-buttons .subfilters {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.filter-buttons .subfilters button {
    background: #eef2f7;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 4px 8px;
    font-size: 0.8rem;
    cursor: pointer;
}
.filter-buttons button {
    background: #f8fafc;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 6px 10px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.2s;
}
.filter-buttons button:hover {
    background: #f1f5f9;
    color: #1d4ed8;
}
.filter-buttons .is-active {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #ffffff;
    box-shadow: 0 6px 14px rgba(29, 78, 216, 0.25);
}

.dropdown-menu {
    position: absolute;
    top: 110%;
    right: 0;
    min-width: 220px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(2, 6, 23, 0.12);
    padding: 10px;
    display: none;
    z-index: 20;
}
.dropdown-menu.open {
    display: block;
}
.dropdown-menu .menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0f172a;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
}
.dropdown-menu .menu-item:hover {
    background: #f1f5f9;
}
.dropdown-menu .menu-item label {
    flex: 1;
    cursor: pointer;
}
.dropdown-menu .menu-item .count {
    color: #64748b;
    font-size: 0.75rem;
}
.menu-item input[type="checkbox"] {
    accent-color: #1d4ed8;
}

/* News grid */
.containerNews {
    max-width: 1100px;
    margin: 0 auto;
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
@media (max-width: 1100px) {
    .news-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 820px) {
    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 520px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

.blog-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(2, 6, 23, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease,
        border-color 0.25s ease;
}
.blog-item:hover {
    transform: translateY(-3px);
    border-color: #d1d5db;
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.12);
}

.blog-img {
    position: relative;
}
.blog-img img {
    display: block;
    width: 100%;
    height: auto;
}
.blog-categiry {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(29, 78, 216, 0.9);
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.blog-content {
    padding: 12px;
}
.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.8rem;
    color: #475569;
}
.news-card-title {
    display: inline-block;
    margin-bottom: 10px;
    font-weight: 800;
    color: #0b5bd3;
    text-decoration: none;
}
.news-card-title:hover {
    color: #0846a5;
    text-decoration: underline;
}
.card-actions {
    display: flex;
    justify-content: flex-start;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 10px;
    border: 1px solid transparent;
    padding: 6px 10px;
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: none;
}
.btn-primary {
    background: #1d4ed8;
    color: #ffffff;
    border-color: #1d4ed8;
    box-shadow: 0 6px 14px rgba(29, 78, 216, 0.2);
}
.btn-primary:hover {
    filter: brightness(1.05);
}

/* Pagination */
.pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 40px;
}
.pagination button {
    background: var(--topmax-color);
    color: #cbd5e1;
    border: 1px solid #1f2a3b;
    border-radius: 10px;
    padding: 6px 12px;
    font-size: 0.85rem;
    cursor: pointer;
}
.pagination button:hover {
    background: #122238;
}

/*********** services ************/
.projcard-container {
    margin-block: 60px;
}
.btn-services {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 10px;
    border: 1px solid transparent;
    padding: 8px 12px;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
}
.btn-primary {
    background: #1d4ed8;
    color: #ffffff;
    border-color: #1d4ed8;
    box-shadow: 0 6px 14px rgba(29, 78, 216, 0.18);
}
.btn-primary:hover {
    filter: brightness(1.05);
}
.btn-ghost {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #e2e8f0;
}
.btn-ghost:hover {
    background: #f8fafc;
}
.card-actions {
    display: flex;
    justify-content: flex-start;
}

/* Services page */
.services-hero {
    background: linear-gradient(180deg, #f8fafc, #fff);
    border-bottom: 1px solid #e5e7eb;
}
.services-hero__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 16px;
    text-align: center;
}
.services-title {
    margin: 0 0 8px 0;
    font-weight: 900;
}
.services-subtitle {
    margin: 0 auto;
    max-width: 720px;
    color: #475569;
}
.services-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 12px;
}

.services-main {
    max-width: 1100px;
    margin: 0 auto;
}
.card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
@media (max-width: 1100px) {
    .card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 820px) {
    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 520px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
}

.svc-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 6px 16px rgba(2, 6, 23, 0.08);
}
.svc-card__title {
    margin: 0 0 6px 0;
    font-weight: 800;
    color: #0b5bd3;
}
.svc-card__desc {
    margin: 0 0 10px 0;
    color: #475569;
}

.app-section .app-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px;
    display: grid;
    gap: 10px;
    box-shadow: 0 6px 16px rgba(2, 6, 23, 0.08);
}
.app-actions {
    display: flex;
    gap: 8px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
@media (max-width: 820px) {
    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 520px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}
.feature-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 14px;
    display: grid;
    gap: 6px;
    justify-items: start;
}
.feature-icon {
    font-size: 30px;
}
.feature-title {
    margin: 0;
    font-weight: 800;
}
.feature-desc {
    margin: 0;
    color: #475569;
}

.faq .faq-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 10px;
}
.faq .faq-item + .faq-item {
    margin-top: 10px;
}
.faq summary {
    cursor: pointer;
    font-weight: 700;
}
.faq p {
    margin: 8px 0 0 0;
    color: #475569;
}

.cta-wide {
    margin: 24px 0;
}
.cta-content {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg, #e0f2fe, #eef2ff);
    border: 1px solid #dbeafe;
    border-radius: 14px;
    padding: 14px;
}
/************* history ************/
.container-history {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px;
}
.title-box {
    margin: 24px 0 16px 0;
}
.title-main {
    margin: 0;
    font-weight: 900;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}
.title-main::after {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    margin: auto;
    bottom: 0;
    width: 260px;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--primary),
        transparent
    );
    border-radius: 6px;
}

/* Timeline */
.timeline {
    position: relative;
}
.timeline-line {
    position: absolute;
    top: 0;
    right: 20px;
    width: 3px;
    height: 100%;
    background: linear-gradient(var(--primary), var(--primary-600));
    border-radius: 6px;
    opacity: 0.35;
}
.timeline-year {
    position: relative;
    margin: 28px 0;
    padding-right: 72px;
}
.year-point {
    position: absolute;
    top: 0;
    right: 6px;
    transform: translate(50%, -6px);
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: var(--card-shadow);
    cursor: pointer;
    transition: 0.2s;
}
.year-point:hover {
    filter: brightness(1.05);
    box-shadow: var(--card-shadow), var(--glow);
}
#logo-kanoon-login {
    filter: brightness(100);
    transform: scale(0.95);
    width: 120px;
}

/* Cards wrapper */
.manager-cards {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
    margin-top: 6px;
    box-shadow: var(--card-shadow);
}
.manager-cards > h2 {
    margin: 0 0 12px 0;
    font-size: 1.05rem;
    color: var(--text);
    font-weight: 800;
}

/* Manager card */
.manager-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 12px;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-bottom: 15px;
}
.manager-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    z-index: -1;
    border-radius: 14px;
    background: conic-gradient(
        from 180deg at 50% 50%,
        #93c5fd 0deg,
        #60a5fa 120deg,
        #34d399 240deg,
        #93c5fd 360deg
    );
    opacity: 0.15;
    filter: blur(18px);
}
.manager-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(2, 6, 23, 0.12);
}
.manager-photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f8fafc;
    box-shadow: 0 4px 10px rgba(2, 6, 23, 0.06);
}
.manager-info h3 {
    margin: 0 0 6px 0;
    font-size: 15px;
    color: var(--text);
    font-weight: 800;
}
.position {
    color: var(--primary) !important;
    font-size: 13px !important;
    font-weight: 800;
}
.manager-info p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

/* Mobile tweaks */
@media (max-width: 480px) {
    .year-point {
        font-size: 0.9rem;
        padding: 8px 10px;
    }
    .manager-photo {
        width: 52px;
        height: 52px;
    }
    .manager-cards {
        padding: 12px;
    }
}

/* Soft reveal animation */
.manager-card {
    opacity: 0;
    transform: translateY(6px);
    animation: cardIn 0.5s ease forwards;
}
.manager-card:nth-child(2) {
    animation-delay: 0.03s;
}
.manager-card:nth-child(3) {
    animation-delay: 0.06s;
}
.manager-card:nth-child(4) {
    animation-delay: 0.09s;
}
@keyframes cardIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/*  MultiStep Form  */
#progressbar {
    margin-bottom: 30px;
    overflow: hidden;
    color: lightgrey;
    padding-right: 42px;
}
#progressbar .active {
    color: #000000;
}

#progressbar li {
    list-style-type: none;
    font-size: 12px;
    width: 20%;
    float: right;
    position: relative;
}
/*Icons in the ProgressBar*/
#progressbar #account:before {
    font-family: FontAwesome;
    content: "\f023";
}

#progressbar #personal:before {
    font-family: FontAwesome;
    content: "\f007";
}

#progressbar #payment:before {
    font-family: FontAwesome;
    content: "\f09d";
}

#progressbar #confirm:before {
    font-family: FontAwesome;
    content: "\f00c";
}

#progressbar li:before {
    width: 50px;
    height: 50px;
    line-height: 45px;
    display: block;
    font-size: 18px;
    color: #ffffff;
    background: lightgray;
    border-radius: 50%;
    margin: 0 auto 10px auto;
    padding: 2px;
}

#progressbar li:after {
    content: "";
    width: 100%;
    height: 2px;
    background: lightgray;
    position: absolute;
    left: 0;
    top: 25px;
    z-index: -1;
}

#progressbar li.active:before,
#progressbar li.active:after {
    background: #0c4eaf;
}
.fit-image {
    width: 100%;
    object-fit: cover;
}

.progress-title {
    font-size: 14px !important;
}

.action-button:disabled {
    background-color: #ccc !important;
    color: #666 !important;
    cursor: not-allowed !important;
    border: 1px solid #999 !important;
    box-shadow: none !important;
}
.container-fluid {
    direction: rtl !important;
}

#msform {
    text-align: center;
    position: relative;
    margin-top: 20px;
}

#msform fieldset .form-card {
    background: white;
    border: 0 none;
    border-radius: 0px;
    padding: 20px 40px 30px 40px;
    box-sizing: border-box;
    width: 94%;
    margin: 0 3% 20px 3%;
    /*stacking fieldsets above each other*/
    position: relative;
}

#msform fieldset {
    background: white;
    border: 0 none;
    border-radius: 0.5rem;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding-bottom: 20px;
    /*stacking fieldsets above each other*/
    position: relative;
}

/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type) {
    display: none;
}

#msform fieldset .form-card {
    text-align: right;
    color: #9e9e9e;
}

#msform input,
#msform textarea {
    padding: 0px 8px 4px 8px;
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0px;
    margin-bottom: 25px;
    margin-top: 2px;
    width: 100%;
    box-sizing: border-box;
    font-family: montserrat;
    color: #2c3e50;
    font-size: 16px;
    letter-spacing: 1px;
}

#msform input:focus,
#msform textarea:focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: none;
    font-weight: bold;
    border-bottom: 2px solid #0c4eaf;
    outline-width: 0;
}

#msform .action-button {
    width: 100px;
    background: #0c4eaf;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 0px;
    cursor: pointer;
    padding: 10px 5px;
    border-radius: 5px;
}

#msform .action-button:hover,
#msform .action-button:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px #0c4eaf;
    border-radius: 5px;
}

#msform .action-button-previous {
    width: 100px;
    background: #616161;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 0px;
    cursor: pointer;
    padding: 10px 5px;
    border-radius: 5px;
}

#msform .action-button-previous:hover,
#msform .action-button-previous:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px #616161;
    border-radius: 5px;
}
.card-form-pb {
    z-index: 0;
    border: none;
    border-radius: 0.5rem;
    position: relative;
}

.fs-title {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: bold;
    text-align: right;
}
