:root {
    --bg: #016EAD;
    --c1: #F4A361;
    --c2: #B1E698;
    --c3: #FBE379;
    --c4: #3341ae;
    --glass-1: rgba(255, 255, 255, 0.06);
    --glass-2: rgba(255, 255, 255, 0.04);
    --glass-3: rgba(255, 255, 255, 0.03);
    --grad-1: #00c6ff;
    --grad-2: #0072ff;
    --glass: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glow: rgba(0, 150, 255, 0.5);
    --pz-bg: #016EAD;
    --pz-accent-1: #F4A361;
    --pz-accent-2: #B1E698;
    --pz-glass: rgba(255, 255, 255, 0.08);
    --pz-glass-border: rgba(255, 255, 255, 0.18);
    --pz-glow: rgba(0, 150, 255, 0.5);
    --gold: #F4A361;
    --mint: #B1E698;
    --radius: 20px;
    --blur: 18px;
    --muted: #bfc7cf;
    --accent1: linear-gradient(135deg, #2b69b6, #4f9cff);
    --glass1: rgba(255, 255, 255, 0.06);
    --glass-border1: rgba(255, 255, 255, 0.2);
    --blur1: 20px;
    --radius1: 20px;
    --accent-grad: linear-gradient(135deg, #2b69b6, #4f9cff);
    --glow1: rgba(0, 78, 166, 0.6);
    --text-glow: rgba(255, 255, 255, 0.8);

}

::selection {
    background: var(--c1);
    color: var(--c4);
}

::-moz-selection {
    background: var(--c1);
    color: var(--c4);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    backdrop-filter: blur(6px);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--c1), var(--c3));
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--c2), var(--c4));
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

body {
    font-family: 'IRANSansfanum', sans-serif;
    background: #002840;
    color: #fff
}

a {
    text-decoration: none;
    color: inherit
}

html {
    scroll-behavior: smooth;
}

#preloader {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #3341ae;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999999;
    transition: opacity 0.5s ease;
}
html.preload-lock,
body.preload-lock {
    overflow: hidden !important;
    height: 100%;
}


.loader-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.progress-track {
    width: 260px;
    height: 8px;
    background: #959090;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #999eff, #6976dd);
    border-radius: 10px;
    transition: width 0.15s linear;
}

.progress-num {
    font-size: 15px;
    font-weight: bold;
    color: #959090;
}

.headerOfThreeImage {
    position: relative;
    text-align: center;
    padding: 8px 0 40px;
}

.headerOfThreeImage h1 {
    font-size: 42px;
    font-weight: 800;
    color: var(--c3);
    letter-spacing: -1px;
    font-family: "iransans", sans-serif;
    text-shadow: 0 3px 0 rgba(0,0,0,0.15);
    animation: floatText 3s ease-in-out infinite;
}

/* انیمیشن شناور متن */
@keyframes floatText {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* دایره‌ها */
.circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 123, 255, 0.25);
    animation: bounce 4s infinite ease-in-out;
    z-index: -1;
}

.c1 {
    width: 80px;
    height: 80px;
    left: 10%;
    top: 10%;
    animation-delay: 0s;
}

.c2 {
    width: 120px;
    height: 120px;
    right: 15%;
    top: 20%;
    animation-delay: 0.7s;
}

.c3 {
    width: 60px;
    height: 60px;
    left: 50%;
    bottom: 5%;
    animation-delay: 1.3s;
}

/* انیمیشن پرش دایره‌ها */
@keyframes bounce {
    0%, 100% { transform: translateY(0); opacity: .9; }
    50% { transform: translateY(-20px); opacity: 1; }
}

/* ================= Header base ================= */
.megaHeaderX {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    width: 100%;
    padding: 22px 0;
    transition: box-shadow .35s ease, padding .25s ease, backdrop-filter .25s ease;
    background: linear-gradient(135deg, var(--bg), #013f66);
}

/* Slightly compressed when scrolled */
.megaHeaderX.scrolled {
    padding: 12px 0;
    box-shadow: 0 12px 40px rgba(1, 30, 50, 0.45);
    backdrop-filter: blur(6px) saturate(120%);
}

/* Layer groups — full cover absolutely positioned */
.layerA, .layerB, .layerC {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

/* Group A — ambient warm/cool glows (3 sublayers) */
.a1 {
    background: radial-gradient(circle at 8% 12%, rgba(244, 163, 97, 0.45), transparent 28%);
    transform: translateZ(0);
}

.a2 {
    background: radial-gradient(circle at 92% 78%, rgba(177, 230, 152, 0.36), transparent 26%);
    filter: blur(22px);
}

.a3 {
    background: radial-gradient(circle at 50% 40%, rgba(251, 227, 121, 0.22), transparent 40%);
    filter: blur(44px);
    opacity: 0.95;
}

/* Group B — animated gradient waves (3 sublayers) */
.b1 {
    background: linear-gradient(115deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
    mix-blend-mode: overlay;
    animation: waveX 12s linear infinite;
    transform-origin: center;
}

.b2 {
    background: linear-gradient(160deg, rgba(0, 0, 0, 0.14), transparent);
    animation: waveY 10s ease-in-out infinite alternate;
}

.b3 {
    background: linear-gradient(225deg, rgba(255, 255, 255, 0.04), transparent);
    animation: waveZ 14s linear infinite reverse;
    filter: blur(6px);
}

@keyframes waveX {
    0% {
        transform: translateX(-120px) translateY(0);
    }
    100% {
        transform: translateX(120px) translateY(6px);
    }
}

@keyframes waveY {
    0% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(32px);
    }
}

@keyframes waveZ {
    0% {
        transform: translateX(60px);
    }
    100% {
        transform: translateX(-60px);
    }
}


.c1 {
    background: var(--glass-1);
    backdrop-filter: blur(8px);
}

.c2 {
    background: var(--glass-2);
    backdrop-filter: blur(12px);
}

.c3 {
    background: var(--glass-3);
    backdrop-filter: blur(18px);
}

.iconBtn {
    position: relative;
}

.badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--c1);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 50%;
    display: inline-block;
    min-width: 18px;
    text-align: center;
    line-height: 1;
}

.headerContentX {
    position: relative;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    height: 56px;
}

.leftSide {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logoX {
    font-size: 22px;
    font-weight: 900;
    color: var(--c3);
    letter-spacing: 1px;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.menuToggle {
    display: none;
    background: transparent;
    border: 0;
    color: var(--c3);
    padding: 6px;
    border-radius: 8px;
    cursor: pointer;
}

/* ================= Navigation ================= */
.navX {
    display: flex;
    gap: 6px;
    align-items: center;
}

.navX a {
    color: var(--text);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 10px;
    transition: all .28s ease;
    font-weight: 600;
    position: relative;
}

.navX a:hover {
    color: var(--c3);
    transform: translateY(-3px);
}

.navX a::after {
    content: '';
    position: absolute;
    left: 8px;
    bottom: -10px;
    width: 0;
    height: 4px;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--c1), var(--c3));
    transition: width .28s ease;
}

.navX a:hover::after {
    width: calc(100% - 16px);
    bottom: -6px;
}

/* ================= Actions ================= */
.actionsX {
    display: flex;
    align-items: center;
    gap: 10px;
}

.iconBtn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: rgba(255, 255, 255, 0.06);
    color: var(--c3);
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
}

.iconBtn svg {
    display: block;
}

.iconBtn .badge {
    position: absolute;
    top: -6px;
    left: -6px;
    background: linear-gradient(135deg, var(--c1), var(--c3));
    color: #000;
    font-weight: 800;
    font-size: 11px;
    padding: 4px 6px;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.36);
    transition: 0.5s;
    height: 18px;
    width: 18px;
}

.iconBtn:hover {
    transform: scale(1.2);
    transition: 0.5s;
}

.loginBtn {
    background: transparent;
    color: var(--c3);
    padding: 9px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.loginBtn.ghost:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-3px);
}

.registerBtn {
    padding: 9px 16px;
    border-radius: 12px;
    border: 0;
    background: linear-gradient(135deg, var(--c1), var(--c3));
    color: #000;
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(3, 40, 70, 0.45);
    transform: translateZ(0);
    transition: all .25s ease;
}

.registerBtn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 18px 40px rgba(3, 40, 70, 0.55);
}

/* Focus styles for accessibility */
a:focus, button:focus {
    outline: 3px solid rgba(255, 255, 255, 0.08);
    outline-offset: 4px;
    border-radius: 8px;
}

/* ================= Responsive behavior ================= */
@media (max-width: 1000px) {
    .navX {
        display: none;
    }

    .menuToggle {
        display: inline-flex;
    }

    .headerContentX {
        height: auto;
        gap: 16px;
        padding: 6px 0;
    }

    .megaHeaderX {
        padding: 14px 0;
    }

    .menuToggle[aria-expanded="true"] + .logoX ~ .navX {
        display: flex;
        flex-direction: column;
        gap: 8px;
        position: absolute;
        inset: auto 0 0 0;
        background: linear-gradient(180deg, rgba(1, 30, 50, 0.5), rgba(1, 30, 50, 0.25));
        padding: 12px 20px;
        margin: 12px;
        border-radius: 12px;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    }

    .menuToggle[aria-expanded="true"] {
        background: rgba(255, 255, 255, 0.04);
    }
}

/* Mobile specific nav open state */
.navX.open {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    transform-origin: top center;
    animation: navIn .28s ease both;
}

@keyframes navIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .headerContentX {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .actionsX {
        width: 100%;
        display: flex;
        gap: 8px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .registerBtn, .loginBtn, .iconBtn {
        width: 48%;
    }

    .logoX {
        font-size: 20px;
    }
}

/* ================= Demo main content ================= */
.demoMain {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.hero {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    padding: 48px;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(2, 8, 18, 0.6);
}

.hero h1 {
    margin: 0 0 8px 0;
    font-size: 28px;
    color: var(--c3);
}

.contentGrid {
    display: grid;
    grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.contentGrid article {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
    padding: 18px;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
}

/* ================= Fine polish: subtle parallax for layers on pointer move ================= */
@media (pointer: fine) {
    .megaHeaderX {
        perspective: 600px;
    }

    .megaHeaderX:hover .a1 {
        transform: translate3d(-6px, -2px, 0) scale(1.002);
        transition: transform .6s cubic-bezier(.2, .9, .3, 1);
    }

    .megaHeaderX:hover .b1 {
        transform: translate3d(8px, 3px, 0) scale(1.002);
        transition: transform .6s cubic-bezier(.2, .9, .3, 1);
    }

    .megaHeaderX:hover .c1 {
        transform: translate3d(-4px, 2px, 0) scale(1.001);
        transition: transform .6s cubic-bezier(.2, .9, .3, 1);
    }
}

.navX > .dropdown {
    position: relative;
}

.navX > .dropdown > .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(67, 65, 65, 0.56);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
    min-width: 180px;
    display: none;
    flex-direction: column;
    padding: 8px 0;
    z-index: 99999999999999;
}

.navX > .dropdown > .dropdown-menu a {
    padding: 10px 16px;
    color: #fff;
    font-weight: 500;
    transition: all 0.25s ease;
}

.navX > .dropdown > .dropdown-menu a:hover {
    background: linear-gradient(135deg, var(--c1), var(--c3));
    color: #000;
}

.navX > .dropdown:hover > .dropdown-menu {
    display: flex;
}

/* موبایل */
@media (max-width: 1000px) {
    .navX > .dropdown > .dropdown-menu {
        position: relative;
        top: 0;
        left: 0;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.04);
    }
}

.mainThreeImageSection {
    padding: 0 0 0 0;
}

.mainThreeImageSection .threeImagesSet {
    width: 100%;
    height: 380px;
    background: linear-gradient(135deg, var(--c1), var(--c3));
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    transition: transform .4s ease, box-shadow .4s ease;
}

.mainThreeImageSection .threeImagesSet img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.mainThreeImageSection .threeImagesSet:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 55px rgba(0, 0, 0, 0.35);
}

.mainThreeImageSection .threeImagesSet:hover img {
    transform: scale(1.1);
}

.mainThreeImageSection .threeImagesSet::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg,
    rgba(1, 110, 173, .3),
    rgba(244, 163, 97, .2),
    rgba(177, 230, 152, .3)
    );
    opacity: 0;
    transition: opacity .4s ease;
}

.mainThreeImageSection .threeImagesSet:hover::after {
    opacity: 1;
}

.iconImageCarousel {
    padding: 0 0 0 0;
    position: relative;
    overflow: hidden;
}

.carousel .icon-box {
    width: 100%;
    height: auto;
    /*background: #fff;*/
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    margin: 10px auto;
}

.carousel .icon-box img {
    width: 100%; /* یا هر سایز دلخواه */
    margin-bottom: 10px;
    filter: grayscale(50%);
    transition: transform 0.4s ease, filter 0.4s ease;
}

.carousel .icon-box:hover img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.carousel .icon-box:hover {
    transform: translateY(-10px);
}

.owl-nav-custom {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 10;
}

.owl-nav-custom button {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    pointer-events: all;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.owl-nav-custom button:hover {
    transform: scale(1.2);
}

.owl-nav-custom i {
    color: #3341ae;
}

/* dots */
.owl-dots {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    text-align: center;
}

.owl-dot span {
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    display: block;
    transition: all 0.3s ease;
}

.owl-dot.active span {
    background: #3341ae;
}

@media (max-width: 1200px) {
    .carousel .icon-box {
        width: 100%;
        height: auto;
    }

    .carousel .icon-box img {
        width: 100%;
    }
}

@media (max-width: 991px) {
    .carousel .icon-box {
        width: 100%;
        height: auto;
    }

    .carousel .icon-box img {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .carousel .icon-box {
        width: 100%;
        height: auto;
    }

    .carousel .icon-box img {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .carousel .icon-box {
        width: 100%;
        height: auto;
    }

    .carousel .icon-box img {
        width: 100%;
    }
}

.classSection {
    padding-bottom: 10px;
    background: linear-gradient(
            to bottom,
            transparent 0%,
            transparent calc(100% - 170px),
            #fff calc(100% - 150px)
    );
}

.classCard {
    background: #f7f7f7;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
    transition: transform .35s ease, box-shadow .35s ease, background .35s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.classCard:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .15);
}


.cardTitle {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 18px;
}


.levels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 22px;
}

.level {
    flex: 1;
    margin: 0 4px;
    padding: 10px 0;
    background: #e8e8e8;
    border-radius: 12px;
    font-size: .9rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background .2s ease, transform .25s ease;
}


.level:hover {
    background: #d6d6d6;
    transform: translateY(-3px);
}


.price {
    font-weight: bold;
    margin-bottom: 18px;
}


.classBtn {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-radius: 14px;
    background: #1d1d1d;
    color: #fff;
    font-size: .95rem;
    cursor: pointer;
    transition: .25s ease;
}


.classBtn:hover {
    background: #000;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
}


:root {
    --green-dark: #2C8900;
    --green-light: #B1E698;

    --orange-dark: #9E4A05;
    --orange-light: #F4A361;

    --yellow-dark: #FFAA01;
    --yellow-light: #FBE379;
}

.classCard.animate {
    animation: colorPulse .35s ease forwards;
}

@keyframes colorPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
    100% {
        transform: scale(1);
    }
}

.classCard.green {
    background: var(--green-light) !important;
}

.classCard.green .cardTitle {
    color: var(--green-dark);
}

.classCard.orange {
    background: var(--orange-light) !important;
}

.classCard.orange .cardTitle {
    color: var(--orange-dark);
}

.classCard.yellow {
    background: var(--yellow-light) !important;
}

.classCard.yellow .cardTitle {
    color: var(--yellow-dark);
}

.classCard.green .classBtn {
    background: var(--green-dark);
}

.classCard.orange .classBtn {
    background: var(--orange-dark);
}

.classCard.yellow .classBtn {
    background: var(--yellow-dark);
}

.classCard.green .classBtn:hover {
    background: #236c00;
}

.classCard.orange .classBtn:hover {
    background: #7a3b04;
}

.classCard.yellow .classBtn:hover {
    background: #d99000;
}


.coursesBannersSet.glassVersion {
    padding: 0;
}

.workshopBanner.glass {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.15);

    transform: perspective(1000px) translateZ(0);
    transition: transform .4s ease, box-shadow .4s ease, border .3s ease;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .22);
}

.workshopBanner.glass:hover {
    transform: perspective(1000px) translateZ(35px);
    box-shadow: 0 22px 55px rgba(0, 0, 0, .30);
    border: 1px solid rgba(255, 255, 255, .35);
}

.workshopBanner.glass img {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    opacity: .85;
    transition: opacity .4s ease, transform .5s ease;
}

.workshopBanner1.glass img {
    max-height: 350px !important;
}

.workshopBanner.glass:hover img {
    opacity: 1;
    transform: scale(1.07);
}

.wsContent {
    position: absolute;
    left: 20px;
    bottom: 20px;

    display: inline-block;
    padding: 10px 20px;

    background: rgba(51, 65, 174, 0.25); /* آبی شیشه‌ای */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border-radius: 40px;
    color: #fff;

    font-size: 15px;
    font-weight: 500;
    line-height: 1;

    box-shadow: 0 8px 18px rgba(51, 65, 174, 0.3);

    pointer-events: none;
    transition: background .35s ease,
    box-shadow .35s ease,
    transform .25s ease;
}

.workshopBanner:hover .wsContent {
    background: rgba(51, 65, 174, 0.35);
    box-shadow: 0 12px 28px rgba(51, 65, 174, 0.45);
    transform: translateY(-3px);
}


.wsContent h3 {
    font-size: 1.45rem;
    font-weight: 400;
    margin: 0;
    opacity: .85;
    transition: all .35s ease;
}

.workshopBanner.glass:hover .wsContent h3 {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .wsContent h3 {
        font-size: 1.2rem;
    }
}

.mastersCarouselSection {
    padding: 0;
}

.masterIntroductionCard {
    width: 100%;
    height: auto;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    transition: transform .35s ease, box-shadow .35s ease;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    margin: 20px 0;
}

.masterIntroductionCard:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.masterIntroductionCard .miImage {
    width: 100%;
    height: 100%;
}

.masterIntroductionCard .miImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.masterIntroductionCard .miOverlay {
    position: absolute;
    inset: 0;
    background: rgba(51, 65, 174, 0.55);
    backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    opacity: 0;
    transition: opacity .35s ease;
    text-align: center;
    padding: 20px;
}

.masterIntroductionCard:hover .miOverlay {
    opacity: 1;
}

.masterIntroductionCard .miOverlay h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 6px;
}

.masterIntroductionCard .miOverlay p {
    color: #fff;
    font-size: 14px;
    opacity: .9;
}

@media (max-width: 767px) {
    .masterIntroductionCard {
        width: 100%;
        height: auto;
    }
}

.introductionHeader1 h2 {
    color: #FFFFFF;
    font-size: 28px;
    font-weight: 800;
    display: inline-block;
    position: relative;
    padding: 0 22px;
    opacity: 0;
    transform: translateY(15px);
    animation: headerFade .7s ease forwards;
    transition: transform .3s ease,
    text-shadow .3s ease,
    letter-spacing .3s ease;
}

.introductionHeader {
    width: 100%;
    text-align: center;
    position: relative;
    margin: 60px 0 20px 0;
}

.introductionHeader h2 {
    font-size: 28px;
    font-weight: 800;
    display: inline-block;
    position: relative;
    color: #FFFFFF;
    padding: 0 22px;

    opacity: 0;
    transform: translateY(15px);
    animation: headerFade .7s ease forwards;

    transition: transform .3s ease,
    text-shadow .3s ease,
    letter-spacing .3s ease;
}

/* دو خط کناری */
.introductionHeader h2::before,
.introductionHeader h2::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ffffff, transparent);
    border-radius: 2px;
    transition: width .3s ease, opacity .3s ease, background .3s ease;
}

.introductionHeader h2::before {
    right: 100%;
    margin-right: 12px;
}

.introductionHeader h2::after {
    left: 100%;
    margin-left: 12px;
    background: linear-gradient(90deg, transparent, #ffffff);
}

@keyframes headerFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.introductionHeader:hover h2 {
    transform: scale(1.06);
    text-shadow: 0 4px 16px rgb(255, 255, 255);
    letter-spacing: 1px;
}

.introductionHeader:hover h2::before,
.introductionHeader:hover h2::after {
    width: 85px;
    opacity: 1;
}

@media (max-width: 575px) {

    .introductionHeader h2 {
        font-size: 22px;
        padding: 0 14px;
    }

    .introductionHeader h2::before,
    .introductionHeader h2::after {
        width: 38px;
        height: 2px;
    }

    .introductionHeader:hover h2::before,
    .introductionHeader:hover h2::after {
        width: 52px;
    }
}

.classColor h2 {
    color: var(--bg) !important;
}

.classColor:hover h2 {
    text-shadow: 0 4px 16px rgb(1, 110, 173) !important;
}

.classColor h2::after,
.classColor h2::before {
    background: linear-gradient(90deg, transparent, #016ead) !important;
}


.ourProductCarousel {
    padding: 25px 0;
    background: var(--c2); /* فقط سکشن سبز */
}

/* ---------- TITLE ---------- */
.ourProductTitle h2 {
    font-size: 34px;
    font-weight: 800;
    color: #ffffff;
    position: relative;
    padding: 12px 0;
    display: inline-block;
}


.productCard {
    background: rgba(255, 255, 255, 0.18); /* شیشه‌ای روشن */
    backdrop-filter: blur(15px);
    border-radius: 22px;
    padding: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: transform .35s ease, box-shadow .35s ease;
    position: relative;
    margin-top: 24px;
}

.productCard:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

/* ---------- SPECIAL BADGE ---------- */
.badgeSpecial {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, #ffd200, #ff7b00);
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.productImage {
    width: 100%;
    height: 220px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 16px;
}

.productImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.productCard:hover .productImage img {
    transform: scale(1.15);
}

.productInfo h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #000000;
}

.productInfo p {
    color: #000000;
    margin-bottom: 18px;
    font-size: 14px;
}

.priceRow {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 18px;
    font-weight: 800;
    color: #000000;
}

.buyBtn {
    background: rgba(255, 255, 255, 0.25);
    border: none;
    padding: 8px 22px;
    border-radius: 14px;
    backdrop-filter: blur(10px);
    font-weight: 700;
    color: #000000;
    transition: .3s ease;
}

.buyBtn:hover {
    background: var(--c4);
    color: #ffffff;
}

.ourProductTitleBox {
    background: rgba(0, 84, 180, 0.28);
    backdrop-filter: blur(12px);
    border-radius: 22px;
    padding: 25px 18px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: transform .35s ease, box-shadow .35s ease;
    text-align: center;
}

.ourProductTitleBox:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35);
}

.ourProductTitle h2 {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    position: relative;
    display: inline-block;
}

.modernCubeSection {
    width: 100%;
    padding: 100px 0;
    background: #0F1B2B;
    display: flex;
    justify-content: center;
}

.cubeContent {
    width: 90%;
    max-width: 1300px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}


.cube-wrapper {
    perspective: 1300px;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .45));
    display: flex;
    justify-content: center;
}

.cube {
    --size: clamp(240px, 40vw, 240px);
    --half: calc(var(--size) / 2);

    width: var(--size);
    height: var(--size);
    transform-style: preserve-3d;
    animation: rotateCube 8s linear infinite;
    position: relative;
}

@media (max-width: 420px) {
    .cube {
        --size: clamp(170px, 40vw, 170px);
        --half: calc(var(--size) / 2);

        width: var(--size);
        height: var(--size);
        transform-style: preserve-3d;
        animation: rotateCube 8s linear infinite;
        position: relative;
    }
}

.cube .side {
    position: absolute;
    width: var(--size);
    height: var(--size);
    /*border-radius: 18px;*/
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, .25);
    transition: .3s;
}

.cube .side:hover {
    box-shadow: 0 0 25px rgba(0, 255, 170, .4);
}

.front {
    transform: translateZ(var(--half));
}

.back {
    transform: rotateY(180deg) translateZ(var(--half));
}

.left {
    transform: rotateY(-90deg) translateZ(var(--half));
}

.right {
    transform: rotateY(90deg) translateZ(var(--half));
}

.top {
    transform: rotateX(90deg) translateZ(var(--half));
}

.bottom {
    transform: rotateX(-90deg) translateZ(var(--half));
}

@keyframes rotateCube {
    0% {
        transform: rotateY(0deg) rotateX(0deg);
    }
    100% {
        transform: rotateY(360deg) rotateX(360deg);
    }
}

.cubeInfo {
    color: #fff;
    padding: 20px;
}

.cubeInfo h2 {
    font-size: 34px;
    margin-bottom: 20px;
    position: relative;
}

.cubeInfo h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 60px;
    height: 4px;
    background: var(--c3);
    border-radius: 10px;
}

.cubeInfo p {
    opacity: .8;
    line-height: 1.9;
    margin-bottom: 28px;
    font-size: 15px;
}

.toggle-button {
    width: 65px;
    height: 65px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-button svg {
    width: 32px;
    height: 32px;
    stroke: #fff;
    display: none;
}

.pause-icon {
    display: block;
}

@media (max-width: 900px) {
    .cubeContent {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cubeInfo h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

.newsletter {
    position: relative;
    padding: 80px 0;
    background: url('../images/newsletter.png') center/cover no-repeat;
    overflow: hidden;
    border-radius: 20px 20px 20px 20px;
}

.newsletterBack {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    z-index: 0;
    border-radius: 20px;
}

.newsletterForm {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.newsletterForm input {
    flex: 1;
    padding: 16px 22px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px) saturate(180%);
    color: #fff;
    font-size: 17px;
    transition: 0.35s ease;
    box-shadow: inset 0 0 0 transparent;
}

.newsletterForm input::placeholder {
    color: rgba(255, 255, 255, 0.75);
}

.newsletterForm input:focus {
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.45);
    transform: translateY(-2px);
}

.newsletterText {
    z-index: 1;
}

.newsletterForm button {
    padding: 16px 32px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, #4D9FFF, #0D6EFD);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.35s ease;
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.35);
    z-index: 1;
}

.newsletterForm button:hover {
    background: linear-gradient(135deg, #6AB4FF, #2C7BFF);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(13, 110, 253, 0.55);
}

.newsletterForm button:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.45) inset;
}


.setBannerCertificates {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    cursor: pointer;
    transition: 0.35s ease;
}

.setBannerCertificates img {
    width: 100%;
    height: auto;
    transition: 0.45s ease;
}

.setBannerCertificates:hover img {
    transform: scale(1.08);
    filter: brightness(0.7);
}

.overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    opacity: 0;
    transform: translateY(20px);

    background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.0));
    color: #fff;

    backdrop-filter: blur(3px);
    transition: 0.35s ease;
}

.setBannerCertificates:hover .overlay {
    opacity: 1;
    transform: translateY(0);
}

.overlay h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.overlay p {
    opacity: 0.85;
    font-size: 15px;
}

.footer {
    position: relative;
    background: #05b3a4;
    min-height: 100px;
    padding: 20px 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 20%;
}

@media (max-width: 575px) {
    .footer {
        margin-top: 35%;
    }
}

.social-icon,
.menu {
    position: relative;
    display: flex;
    justify-content: start;
    align-items: center;
    margin: 10px 0;
    flex-wrap: wrap;
}

.social-icon__item,
.menu__item {
    list-style: none;
}

.social-icon__link {
    font-size: 2rem;
    color: #fff;
    margin: 0 10px;
    display: inline-block;
    transition: 0.5s;
}

.social-icon__link:hover {
    transform: translateY(-10px);
}

.menu__link {
    font-size: 1.2rem;
    color: #fff;
    margin: 0 10px;
    display: inline-block;
    transition: 0.5s;
    text-decoration: none;
    opacity: 0.75;
    font-weight: 300;
}

.menu__link:hover {
    color: white;
}

.menu__link:hover {
    opacity: 1;
}

.footer p {
    color: #fff;
    margin: 15px 0 10px 0;
    font-size: 1rem;
    font-weight: 300;
}

.wave {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    background: url("https://i.imgur.com/ZAts69f.png");
    background-size: 1000px 100px;
}

.wave#wave1 {
    z-index: 1000;
    opacity: 1;
    bottom: 0;
    animation: animateWaves 4s linear infinite;
}

.wave#wave2 {
    z-index: 999;
    opacity: 0.5;
    bottom: 10px;
    animation: animate 4s linear infinite !important;
}

.wave#wave3 {
    z-index: 1000;
    opacity: 0.2;
    bottom: 15px;
    animation: animateWaves 3s linear infinite;
}

.wave#wave4 {
    z-index: 999;
    opacity: 0.7;
    bottom: 20px;
    animation: animate 3s linear infinite;
}

@keyframes animateWaves {
    0% {
        background-position-x: 1000px;
    }
    100% {
        background-positon-x: 0px;
    }
}

@keyframes animate {
    0% {
        background-position-x: -1000px;
    }
    100% {
        background-positon-x: 0px;
    }
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
}

.footer-col ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(90deg, #ff4500, #ffa500);
    transition: width 0.3s ease;
}

.footer-col ul li a:hover {
    color: #ff4500;
}

.footer-col ul li a:hover::after {
    width: 100%;
}

.footer-col1 ul {
    list-style: none;
    padding: 0;
}

.footer-col1 ul li a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
}

.footer-col1 ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    transition: width 0.3s ease;
}

.footer-col1 ul li a:hover::after {
    width: 100%;
}

.social-icon a {
    display: inline-block;
    margin-right: 10px;
    color: #ffffff;
    font-size: 1.5rem;
    transition: transform 0.3s, color 0.3s, filter 0.3s;
}

.social-icon a:hover {
    color: #ff4500;
    transform: scale(1.3) rotate(-15deg);
    filter: drop-shadow(0 0 5px #ff4500);
}

.aboutUsPage {
    padding: 90px 0;
    position: relative;
    background: linear-gradient(140deg, #012c48, #014f82 60%, #012a44);
    overflow: hidden;
}

/* اوربیت‌های تزئینی */
.orbital {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: spin 18s linear infinite;
    pointer-events: none;
}

.orbital-1 {
    width: 450px;
    height: 450px;
    top: -80px;
    right: -120px;
    animation-duration: 22s;
}

.orbital-2 {
    width: 300px;
    height: 300px;
    bottom: 50px;
    left: -90px;
    animation-duration: 28s;
}

.orbital-3 {
    width: 600px;
    height: 600px;
    top: 30%;
    left: 20%;
    animation-duration: 34s;
}

/* wrapper اصلی */
.glass-wrapper {
    position: relative;
    padding: 45px;
    border-radius: 28px;
    backdrop-filter: blur(14px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--glass-border);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
}

.glass-box {
    background: var(--glass);
    padding: 35px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(18px);
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.28), 0 0 25px var(--glow);
    position: relative;
}

/* تیترها */
.section-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 18px;
    background: linear-gradient(90deg, var(--grad-1), var(--grad-2));
    -webkit-background-clip: text;
    color: #FFFFFF !important;
    -webkit-text-fill-color: transparent;
}

.section-sub, .section-text {
    opacity: .85;
    line-height: 1.9;
    margin-bottom: 25px;
}

/* آیتم‌های تماس */
.contact-list .c-item {
    margin-bottom: 20px;
}

.c-item h3 {
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--grad-1);
}

.c-item p {
    opacity: .85;
}

/* شبکه‌های اجتماعی */
.socials a {
    font-size: 22px;
    margin-left: 12px;
    color: #fff;
    transition: .25s;
}

.socials a:hover {
    color: var(--grad-1);
    text-shadow: 0 0 12px var(--glow);
}

/* آمار */
.about-stats {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.stat {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 15px 20px;
    text-align: center;
    flex: 1;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: .3s;
}

.stat span {
    display: block;
    font-size: 26px;
    font-weight: bold;
    color: var(--grad-1);
}

.stat:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 8px 30px var(--glow);
}

/* انیمیشن‌ها */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

.fade-in-up.delay-2 {
    animation-delay: .25s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* واکنش‌گرا */
@media (max-width: 768px) {
    .glass-wrapper {
        padding: 25px;
    }

    .glass-box {
        padding: 25px;
    }

    .about-stats {
        flex-direction: column;
    }
}

.level {
    cursor: pointer;
    padding: 5px 10px;
    margin: 0 3px;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #000000;
    background: rgba(255, 255, 255, 0.05);
}

.level.active {
    font-weight: bold;
    color: #fff;
}

.level[data-color="green"].active {
    background: #00c851;
    border-color: #00c851;
}

.level[data-color="orange"].active {
    background: #ff8800;
    border-color: #ff8800;
}

.level[data-color="yellow"].active {
    background: #ffbb33;
    border-color: #ffbb33;
}

.class-section {
    padding: 60px 0;
}

.class-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 30px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.class-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.class-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.class-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.4);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.class-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #fff;
}

.class-card-abstract {
    font-size: 0.95rem;
    color: #ddd;
    max-height: 60px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.class-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.class-card:hover img {
    transform: scale(1.1);
}

.class-card:hover .class-card-overlay {
    opacity: 1;
}

.class-card:hover .class-card-body {
    transform: translateY(0);
}

.class-card:hover .class-card-abstract {
    max-height: 120px;
}

@media (max-width: 991px) {
    .class-card img {
        height: 200px;
    }
}

@media (max-width: 767px) {
    .class-card img {
        height: 180px;
    }
}

.glass-container {
    max-width: 100%;
    margin: 50px auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.glass-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
}

/* ===============================
   Header Image
=============================== */
.class-header {
    position: relative;
    height: 300px;
    border-radius: 25px;
    overflow: hidden;
    margin-bottom: 30px;
}

.class-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) blur(1px);
    transition: transform 0.5s ease;
}

.class-header:hover img {
    transform: scale(1.05);
}

.class-title {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.8rem;
    font-weight: 900;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.7);
    color: #fff;
}

/* ===============================
   Abstract & Description
=============================== */
.class-abstract {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #f0f0f0;
}

.class-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.class-description:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

/* ===============================
   Price & Buy Button
=============================== */
.priceTag {
    font-size: 2rem;
    font-weight: 900;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #ff6a00, #ffb800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-buy {
    display: block;
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    padding: 15px 0;
    border: none;
    border-radius: 50px;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
    transition: all 0.3s ease;
}

.btn-buy:hover {
    background: linear-gradient(135deg, #ff4b2b, #ff416c);
    transform: scale(1.08);
}

/* ===============================
   Responsive
=============================== */
@media (max-width: 768px) {
    .class-header {
        height: 200px;
    }

    .class-title {
        font-size: 2rem;
    }

    .glass-container {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .class-title {
        font-size: 1.6rem;
    }

    .class-abstract {
        font-size: 1.1rem;
    }
}

.classTitle {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(90deg, #ff416c, #ff4b2b, #ffb347, #ff416c, #ff4b2b);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShine 5s ease infinite;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.6),
    0 0 20px rgba(255, 255, 255, 0.4),
    0 0 30px rgba(255, 255, 255, 0.2);
}

/* حرکت gradient */
@keyframes gradientShine {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* افکت اضافی glow روی hover */
.classTitle:hover {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8),
    0 0 40px rgba(255, 255, 255, 0.6),
    0 0 60px rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
    transition: all 0.3s ease;
}

.certificateSection {
    padding: 80px 0;
}

.certificateSection {
    padding: 80px 0 120px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a1a3c, #0f2d52);
}

/* دایره‌های متحرک */
.certificateSection::before,
.certificateSection::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.35;
    animation: floatBlob 12s infinite ease-in-out;
}

/* دایره 1 */
.certificateSection::before {
    width: 350px;
    height: 350px;
    background: #3d7be2;
    top: -120px;
    left: -80px;
}

/* دایره 2 */
.certificateSection::after {
    width: 420px;
    height: 420px;
    background: #6b9dff;
    bottom: -150px;
    right: -100px;
    animation-delay: 4s;
}

/* انیمیشن حرکت نرم */
@keyframes floatBlob {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(40px, -30px) scale(1.15);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

.certificate-grid {
    row-gap: 35px;
}

/* کارت‌ها */
.certificate-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: .3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.certificate-card img {
    width: 100%;
    display: block;
    transition: .35s ease;
    border-radius: 14px;
}

/* زوم شیک + تقویت سایه */
.certificate-card:hover img {
    transform: scale(1.08);
}

.certificate-card:hover {
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18);
}

/* Modal */
.cert-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    text-align: center;
    padding-top: 40px;
}

/* تصویر مودال */
.cert-modal-content {
    max-height: 100vh !important;
    max-width: 95vw;
    width: auto;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    margin: auto;
}

/* ایکس بستن */
.closeModal {
    position: fixed;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 45px;
    cursor: pointer;
    transition: .2s;
}

.closeModal:hover {
    opacity: .6;
}

.certificateTitle {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
    color: #eed079;

    /* افکت جذاب */
    position: relative;
    display: inline-block;
    width: 100%;

    letter-spacing: 1px;
    text-shadow: 0 3px 12px rgba(238, 208, 121, 0.35);
}

.certificateTitle::before {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #eed079, transparent);
    border-radius: 4px;
}

.certificateTitle:hover {
    text-shadow: 0 5px 18px rgba(238, 208, 121, 0.55);
    transform: translateY(-2px);
    transition: .3s ease;
}

/* ===== RED BACKGROUND ===== */
.auth-red {
    min-height: 100dvh; /* بهترین واحد برای موبایل */
    height: 100dvh;
    display: flex;
    align-items: start;
    justify-content: center;
    padding: 20px;
    background-image: url("../images/login_background.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ===== GLASS CARD ===== */
.glass-card {
    width: 100%;
    max-width: 420px;
    padding: 40px 30px;

    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .25);

    text-align: center;

    /* مشکل اصلی این بود: */
    margin-bottom: 0 !important;

    /* از بالا و پایین فاصله دائمی نده */
    margin-top: 0;
}


/* ===== ICON ===== */
.glass-icon {
    width: 90px;
    height: 90px;
    background: rgba(255, 0, 0, 0.45);
    border-radius: 22px;
    backdrop-filter: blur(10px);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 36px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: .3s;
}

.glass-icon:hover {
    transform: scale(1.07);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}

/* ===== TITLES ===== */
.glass-title {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 5px;
}

.glass-sub {
    font-size: 15px;
    color: #fcdcdc;
    margin-bottom: 25px;
}

/* ===== ERROR ===== */
.glass-error {
    background: rgba(255, 50, 50, 0.3);
    color: #fff;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 14px;
}

/* ===== INPUT ===== */
.glass-input-wrap input {
    width: 100%;
    padding: 14px 15px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 16px;
    color: #fff;
    font-size: 16px;
    outline: none;
    transition: .25s;
}

.glass-input-wrap input::placeholder {
    color: #f9bcbc;
}

.glass-input-wrap input:focus {
    border-color: #117500FF;
    box-shadow: 0 0 10px rgb(52, 170, 32);
}

/* ===== BUTTON ===== */
.glass-btn {
    width: 100%;
    padding: 14px;
    background: rgb(17, 117, 0);
    border: none;
    border-radius: 16px;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: .25s;
}

.glass-btn:hover {
    background: rgb(17, 117, 0);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(28, 85, 2, 0.35);
}

/* شیشه‌ای مخصوص صفحه تایید */
.verify-glass {
    max-width: 420px;
}

/* کد تست */
.glass-testcode {
    background: rgba(255, 255, 255, 0.18);
    padding: 10px 15px;
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* پیام موفق */
.glass-success {
    background: rgba(0, 200, 0, 0.25);
    padding: 10px 15px;
    border-radius: 10px;
    color: #fff;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, .3);
}

/* لینک ارسال مجدد */
.verify-resend {
    display: inline-block;
    margin-top: 25px;
    font-size: 14px;
    color: #ffdddd;
}

/* اطلاعات پایین */
.verify-extra {
    margin-top: 25px;
    color: #ffecec;
    font-size: 14px;
    line-height: 2;
}

/* Wrapper */
.pz-account-page {
    display: flex;
    min-height: 80vh;
    gap: 20px;
    padding: 30px;
    background: var(--pz-bg);
    color: white;
}

/* Aside */
.pz-aside-menu {
    flex: 0 0 260px;
    background: var(--pz-glass);
    backdrop-filter: blur(var(--blur));
    border-radius: var(--radius);
    border: 1px solid var(--pz-glass-border);
    padding: 20px;
}

.pz-aside-menu h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.pz-aside-menu ul {
    list-style: none;
    padding: 0;
}

.pz-aside-menu ul li {
    margin-bottom: 15px;
}

.pz-aside-menu ul li a {
    display: block;
    padding: 10px 15px;
    border-radius: 12px;
    background: transparent;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.pz-aside-menu ul li a.active,
.pz-aside-menu ul li a:hover {
    background: var(--pz-accent-1);
    color: #000;
}

/* Main content */
.pz-main-content {
    flex: 1;
    background: var(--pz-glass);
    border-radius: var(--radius);
    border: 1px solid var(--pz-glass-border);
    padding: 25px;
    min-height: 400px;
    position: relative;
}

/* Loader */
.pz-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

/* Card */
.pz-card {
    background: var(--pz-glass);
    border-radius: var(--radius);
    border: 1px solid var(--pz-glass-border);
    padding: 20px;
    margin-bottom: 20px;
}

.pz-card h2 {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Inputs & button */
.pz-input {
    width: 100%;
    padding: 10px 15px;
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1px solid var(--pz-glass-border);
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.pz-btn {
    background: var(--pz-accent-1);
    border: none;
    padding: 10px 20px;
    border-radius: 12px;
    color: #000;
    cursor: pointer;
    transition: 0.3s;
}

.pz-btn:hover {
    background: var(--pz-accent-2);
}

/* Alerts */
.pz-alert {
    padding: 10px 15px;
    border-radius: 12px;
    margin-bottom: 15px;
}

.pz-success {
    background: #4caf50;
    color: #fff;
}

.pz-danger {
    background: #f44336;
    color: #fff;
}

.pz-info {
    background: #2196f3;
    color: #fff;
}

/* Accordion for orders */
.pz-accordion .pz-acc-item {
    margin-bottom: 10px;
    border-radius: var(--radius);
    overflow: hidden;
}

.pz-accordion .pz-acc-head {
    cursor: pointer;
    padding: 12px 15px;
    background: var(--pz-accent-1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #000;
}

.pz-accordion .pz-acc-body {
    display: none;
    padding: 15px;
    background: var(--pz-glass);
    color: white;
}

.pz-logout-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    margin-top: 25px;
    border-radius: var(--radius);
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--blur));
    color: var(--gold);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.25s ease;
    box-shadow: inset 0 0 0 0 var(--gold);
}

.pz-logout-btn i {
    font-size: 18px;
    transition: 0.3s ease;
}

/* هاور شیک */
.pz-logout-btn:hover {
    background: rgba(255, 80, 80, 0.15);
    border-color: rgba(255, 80, 80, 0.4);
    color: #ff4c4c;
    box-shadow: inset 0 0 12px rgba(255, 50, 50, 0.4), 0 0 12px rgba(255, 60, 60, 0.4);
}

.pz-logout-btn:hover i {
    transform: translateX(-4px);
    color: #ff4c4c;
}

/* ---------- CONTAINER ---------- */
.pz-cart-container {
    max-width: 1100px;
    margin: 50px auto;
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transition: 0.3s all ease-in-out;
}

/* ---------- TABLE ---------- */
.pz-cart-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px;
}

.pz-cart-table th,
.pz-cart-table td {
    padding: 15px 10px;
    text-align: center;
    border-radius: 10px;
}

.pz-cart-table th {
    color: #fff;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
}

.pz-cart-table td {
    background: rgba(255, 255, 255, 0.05);
}

/* ---------- PRODUCT IMAGE ---------- */
.pz-cart-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* ---------- QUANTITY BUTTONS ---------- */
.pz-qty-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    padding: 6px 12px;
    margin: 0 5px;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s all ease;
}

.pz-qty-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ---------- REMOVE BUTTON ---------- */
.pz-remove-btn {
    background: rgba(255, 0, 0, 0.15);
    border: none;
    padding: 8px 15px;
    border-radius: 8px;
    color: #ff5555;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s all ease;
}

.pz-remove-btn:hover {
    background: rgba(255, 0, 0, 0.3);
}

/* ---------- CHECKOUT BUTTON ---------- */
.pz-checkout-btn {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 12px 25px;
    border-radius: 15px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: 0.3s all ease;
}

.pz-checkout-btn:hover {
    background: rgba(255, 255, 255, 0.35);
}

/* ---------- EMPTY CART ---------- */
.pz-cart-empty {
    text-align: center;
    margin: 60px 0;
    color: #fff;
    font-size: 1.3rem;
}

@media (max-width: 992px) {
    .cart-table-wrapper {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .pz-cart-table {
        min-width: 700px;
    }
}

.checkout-container {
    max-width: 1000px;
    margin: 50px auto;
    padding: 40px;
    border-radius: 25px;
    background: rgba(25, 25, 25, 0.85);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.checkout-container h3 {
    text-align: center;
    font-weight: 700;
    margin-bottom: 25px;
    color: #fff;
}

.cart-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.cart-table thead tr {
    background: rgba(40, 40, 40, 0.9);
    color: #fff;
    font-weight: 600;
}

.cart-table th, .cart-table td {
    padding: 15px 10px;
    text-align: center;
}

.cart-table tbody tr {
    background: rgba(30, 30, 30, 0.85);
    transition: background 0.2s;
}

.cart-table tbody tr:hover {
    background: rgba(50, 50, 50, 0.9);
}

.cart-table img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
}

textarea.form-control, input.form-control {
    background: rgba(40, 40, 40, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 12px;
    color: #eee;
}

textarea.form-control:focus, input.form-control:focus {
    border-color: #ff9900;
    box-shadow: 0 0 15px rgba(255, 153, 0, 0.6);
    background: rgba(40, 40, 40, 0.95);
    color: #FFFFFF;
}

button.btn-primary {
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    border: none;
    padding: 14px 30px;
    border-radius: 18px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.2s;
    color: #222;
}

button.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 126, 95, 0.6);
}

/* Hero Breadcrumb */
.hero-breadcrumb {
    position: relative;
    height: 20vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    font-size: 2.4rem;
    font-weight: bold;
    background: var(--glass1);
    backdrop-filter: blur(var(--blur1));
    border-radius: var(--radius1);
    margin-bottom: 40px;
    overflow: hidden;
    box-shadow: 0 0 50px var(--glow1);
}

.hero-breadcrumb span {
    position: relative;
    z-index: 2;
}

.hero-breadcrumb::before,
.hero-breadcrumb::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 0, 106, 0.08);
}

.hero-breadcrumb::before {
    width: 400px;
    height: 400px;
    top: -50px;
    left: -50px;
    animation: rotate 20s linear infinite;
}

.hero-breadcrumb::after {
    width: 300px;
    height: 300px;
    bottom: -50px;
    right: -50px;
    animation: rotateReverse 25s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotateReverse {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(-360deg);
    }
}

/* Product Cards */
.products {
    margin-bottom: 50px;
}

.product-card {
    background: var(--glass1);
    border-radius: var(--radius1);
    border: 1px solid var(--glass-border1);
    backdrop-filter: blur(var(--blur1));
    display: flex;
    flex-direction: column;
    transition: 0.4s;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 0, 106, 0.1);
}

.product-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 0 40px var(--glow), 0 15px 30px rgba(0, 0, 0, 0.25);
}

.p-thumb {
    width: 100%;
    padding-top: 60%;
    background-size: cover;
    background-position: center;
    border-bottom: 3px solid var(--accent-grad);
    transition: 0.4s;
}

.product-card:hover .p-thumb {
    filter: brightness(1.2) saturate(1.2);
}

.p-body {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.p-body h5 {
    color: #fff;
    font-weight: bold;
    text-shadow: 0 0 8px var(--glow1);
    margin-bottom: 10px;
}

.p-price {
    color: #fff;
    background: var(--accent-grad);
    -webkit-background-clip: text;
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 15px;
}

.p-btn {
    margin-top: auto;
    text-align: center;
    display: block;
    padding: 10px 0;
    border-radius: 15px;
    color: #fff;
    font-weight: bold;
    background: var(--accent-grad);
    box-shadow: 0 0 15px var(--glow1);
    text-decoration: none;
    transition: 0.3s, transform 0.2s;
}

.p-btn:hover {
    opacity: 0.9;
    transform: scale(1.1);
    box-shadow: 0 0 30px var(--glow1), 0 0 60px var(--glow1);
}

/* Accordion Mobile */
@media (max-width: 768px) {
    .accordion-btn {
        width: 100%;
        padding: 15px;
        background: var(--glass1);
        border: none;
        border-radius: var(--radius1);
        color: #fff;
        font-weight: bold;
        margin-bottom: 5px;
        text-align: center;
        cursor: pointer;
        box-shadow: 0 0 15px var(--glow1);
        transition: 0.3s;
    }

    .accordion-btn:hover {
        box-shadow: 0 0 25px var(--glow1);
    }

    .accordion-content {
        display: none;
        margin-bottom: 15px;
    }

    .accordion-content .product-card {
        margin-bottom: 15px;
    }
}

.menu-title {
    text-align: center;
}

.blogSection {
    padding: 80px 0;
    position: relative;
    background: linear-gradient(135deg, #6a5acd, #87cefa); /* بنفش-آبی */
    color: #fff;
}

.blogSection::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    z-index: 0;
}

.introductionHeader h2 {
    font-size: 2.5rem;
    font-weight: bold;
    z-index: 2;
    position: relative;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    color: #fff;
}

.menu-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    z-index: 2;
    color: #fffaea;
}

.blogCarousel .blogCard {
    background: rgba(0, 0, 0, 0.6);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: 0.4s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 440px;
    margin-top: 8px;
}

.blogCarousel .blogCard:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.blogThumb {
    width: 100%;
    padding-top: 55%;
    background-size: cover;
    background-position: center;
}

.blogBody {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: justify;
}

.blogBody h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
}

.blogBody p {
    flex: 1;
    font-size: 0.95rem;
    color: #ddd; 
    margin-bottom: 45px;
}

.blogBtn {
    text-align: center;
    background: #ff5722; 
    color: #fff;
    padding: 8px 15px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.blogBtn:hover {
    opacity: 0.9;
    background: #ff784e;
}

.empty-msg {
    text-align: center;
    font-size: 1.5rem;
    color: #ddd;
    padding: 50px 0;
}

.owl-carousel .owl-nav, .owl-carousel .owl-dots {
    display: none;
}

@media (max-width: 768px) {
    .blogCarousel .blogCard {
        margin: 0 5px;
    }
}

.blogIntroduction {
    margin: 0 0 30px 0 !important;
}

.blogArchiveSection {
    padding: 0 0 150px 0;
    background: linear-gradient(135deg, #1c1f2b, #2b3143 40%, #1f2230);
    color: #fff;
    position: relative;
}

.blogArchiveSection::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
}

.archiveHeader {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.archiveHeader h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #9b6dff, #ff82cd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.archiveHeader p {
    color: #bbb;
    font-size: 1.2rem;
}

.blogGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.blogItem {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    transition: .4s;
    display: block;
}

.blogItem:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.blogThumb {
    width: 100%;
    padding-top: 60%;
    background-size: cover;
    background-position: center;
}

.blogContent {
    padding: 20px;
}

.blogContent h3 {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 12px;
}

.blogContent p {
    color: #d0d0d0;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.readMore {
    display: inline-block;
    padding: 8px 15px;
    background: linear-gradient(90deg, #9b6dff, #ff82cd);
    border-radius: 12px;
    font-weight: bold;
    font-size: 0.9rem;
    transition: 0.3s;
}

.blogItem:hover .readMore {
    opacity: .85;
}

.blogDetailPage {
    padding: 70px 0;
    background: linear-gradient(135deg, var(--bg), var(--c4));
    position: relative;
}

.blogDetailPage::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(var(--blur));
}

/* -------------------- ASIDE -------------------- */

.blogAside {
    background: var(--glass1);
    border: 1px solid var(--glass-border1);
    border-radius: var(--radius1);
    padding: 20px;
    backdrop-filter: blur(var(--blur1));
    box-shadow: 0 0 25px var(--glow1);
}

.asideTitle {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: bold;
    text-shadow: 0 0 2px var(--text-glow);
    text-align: center;
}

.latestPosts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.latestPosts li {
    margin-bottom: 15px;
}

.latestPosts a {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--glass);
    padding: 10px;
    border-radius: 15px;
    text-decoration: none;
    color: #fff;
    border: 1px solid var(--glass-border1);
    transition: .3s;
}

.latestPosts a:hover {
    background: var(--glass);
    transform: translateX(-5px);
    box-shadow: 0 0 25px var(--glow1);
}

.latestPosts .thumb {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
}

.latestPosts .txt {
    font-size: 0.95rem;
}

/* -------------------- MAIN BLOG -------------------- */

.blogContentBox {
    background: var(--glass1);
    border: 1px solid var(--glass-border1);
    border-radius: var(--radius1);
    padding: 30px;
    backdrop-filter: blur(var(--blur1));
    box-shadow: 0 0 25px var(--glow1);
}

.blogHeader h1 {
    color: #fff;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.blogAbstract {
    color: #FFFFFF;
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-align: justify !important;
}

.blogMainImage {
    width: 50%;
    border-radius: 20px;
    margin-bottom: 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.blogBody {
    color: #f2f2f2;
    font-size: 1.05rem;
    line-height: 2;
}

.blogBody img {
    max-width: 100%;
    border-radius: 15px;
    margin: 20px 0;
}


.productWrapper {
    display: flex;
    gap: 35px;
    padding: 35px;
    border-radius: var(--radius);
    backdrop-filter: blur(var(--blur));
    background: var(--glass);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main Image */
.mainImageBox img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--glow);
}

/* Gallery */
.thumbs {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.thumbs img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: .3s;
}

.thumbs img:hover {
    border-color: var(--c1);
    transform: scale(1.05);
}

/* Info Box */
.infoBox h1 {
    font-size: 32px;
    color: white;
    font-weight: 900;
    margin-bottom: 15px;
    text-shadow: var(--text-glow);
}

.priceTag {
    font-size: 26px;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 25px;
    color: #fff;
    box-shadow: 0 0 12px rgba(244, 163, 97, 0.6);
}

.descriptionBox {
    color: #f5f5f5;
    line-height: 2;
    font-size: 16px;
    margin-bottom: 35px;
}

/* Add to Cart Button */
.addToCartBtn {
    padding: 15px 40px;
    background: var(--c2);
    border: none;
    border-radius: 50px;
    color: #065a11;
    font-size: 19px;
    font-weight: bold;
    cursor: pointer;
    transition: .3s;
    box-shadow: 0 0 20px rgba(177, 230, 152, 0.4);
}

.addToCartBtn:hover {
    background: #9adf7f;
    box-shadow: 0 0 25px rgba(177, 230, 152, 0.65);
}

@media (max-width: 992px) {
    .productWrapper {
        flex-direction: column;
        text-align: center;
    }

    .thumbs {
        justify-content: center;
    }
}

.divCenter {
    text-align: center;
}

.teachers-container {
    padding: 60px 0;
}

.tp-title {
    text-align: center;
    margin-bottom: 45px;
}

.tp-title h2 {
    font-size: 32px;
    font-weight: bold;
}

.tp-title p {
    opacity: .7;
    margin-top: 10px;
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.teacher-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 25px;
    border-radius: 20px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    text-align: center;
    transition: .35s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.teacher-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 0 25px rgba(120, 80, 255, 0.35);
    border-color: rgba(120, 80, 255, 0.4);
}

.teacher-avatar {
    width: 120px;
    height: 120px;
    margin: auto;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.25);
}

.teacher-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teacher-info h3 {
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 8px;
}

.teacher-info .spec {
    display: block;
    font-size: 15px;
    color: #b9b9b9;
}

.teacher-info .exp {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    color: #d5d5d5;
}

.tp-more {
    margin-top: 18px;
    padding: 10px 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, #7b48ff, #c948ff);
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    transition: .3s;
}

.teacher-card:hover .tp-more {
    box-shadow: 0 0 25px rgba(160, 60, 255, 0.5);
}

.tp-empty {
    grid-column: 1/-1;
    text-align: center;
}

.logoSet {
    transition: .5s;

}

.logoSet:hover {
    transition: .5s;

}

.gallerySection {
    padding: 60px 0;
}

.galleryTitle {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 40px;
}

.galleryGrid {
    columns: 4;
    column-gap: 20px;
}

.gItem {
    width: 100%;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.gItem img {
    width: 100%;
    display: block;
    border-radius: 15px;
    transition: transform .4s ease, filter .4s ease;
}

.gItem:hover img {
    transform: scale(1.08);
    filter: brightness(0.8);
}

/* ریسپانسیو */
@media(max-width: 992px){
    .galleryGrid { columns: 3; }
}
@media(max-width: 768px){
    .galleryGrid { columns: 2; }
}
@media(max-width: 480px){
    .galleryGrid { columns: 1; }
}

/* Lightbox */
.lightboxBG {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: .3s ease;
}

.lightboxBG.active {
    opacity: 1;
    visibility: visible;
}

.lightboxBG img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(255,255,255,.2);
}
.galleryGrid {
    display: grid;
    gap: 20px;
}

.gVideo video,
.gVideo iframe {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.videoWrapper iframe {
    width: 100%;
    height: 220px;
}
/* ============================
   BACKGROUND DECOR
============================ */
body {
    position: relative;
    background: #002840;
}

body::before,
body::after {
    content: "";
    position: fixed;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.16), transparent);
    z-index: 0;
    filter: blur(80px);
}

/* دایره‌های بک‌گراند */
body::before {
    width: 300px;
    height: 300px;
    top: 10%;
    right: -80px;
}
body::after {
    width: 250px;
    height: 250px;
    bottom: 5%;
    left: -60px;
}

/* ============================
   SECTION TITLE
============================ */
.section-title {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 35px;
    text-align: center;
    text-shadow: 0 0 14px rgba(0,88,180,0.8);
    position: relative;
    z-index: 2;
}

/* ============================
   GRID CARDS
============================ */
.grid-cards {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 35px;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.film-card {
    display: block;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 22px;
    backdrop-filter: blur(18px);
    overflow: hidden;
    padding-bottom: 15px;
    text-decoration: none;
    color: #fff;
    position: relative;
    transition: 0.35s ease;
}

/* اثر نور نئونی آبی */
.film-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 18px 40px rgba(0,120,210,0.55);
    border-color: rgba(0,200,255,0.4);
}

/* افکت خط نوری جذاب */
.film-card::before {
    content: "";
    position: absolute;
    top: -120%;
    left: 0;
    width: 100%;
    height: 120%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
    transform: skewY(-10deg);
    opacity: 0.2;
    transition: 0.6s;
}
.film-card:hover::before {
    top: 120%;
    opacity: 0.5;
}

/* ============================
   THUMBNAIL
============================ */
.film-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.film-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s ease;
}

/* زوم خفن روی هاور */
.film-card:hover .film-thumb img {
    transform: scale(1.1);
}

/* ============================
   INFO
============================ */
.film-info {
    padding: 14px 18px;
}

.film-info h3 {
    font-size: 1.25rem;
    font-weight: 900;
    margin-bottom: 10px;
    color: #fff;
}

.film-info p {
    font-size: 0.9rem;
    color: #dfe9f2;
    opacity: 0.85;
}
.dark-festival {
    background: radial-gradient(circle at top, #012b44, #001826);
    padding: 14px 20px 140px 20px;
}

.festival-glass {
    max-width: 1200px;
    margin: auto;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 30px;
    backdrop-filter: blur(22px);
    box-shadow: 0 0 80px rgba(0,0,0,.6);
    padding: 60px;
}

.festival-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.festival-text h1 {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 30px;
    color: #fff;
}

.festival-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.festival-list li {
    position: relative;
    padding-right: 30px;
    margin-bottom: 14px;
    color: #d6e2ec;
    font-size: 1.05rem;
}

.festival-list li::before {
    content: "✔";
    position: absolute;
    right: 0;
    color: var(--gold);
    font-weight: bold;
}

.festival-lottie {
    width: 100%;
    max-width: 420px;
    margin: auto;
}

.festival-lottie lottie-player {
    width: 100%;
    height: 100%;
}

/* ریسپانسیو */
@media (max-width: 992px) {
    .festival-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
.btn-join {
    background: linear-gradient(135deg, var(--gold), #ffd27d);
    color: #00263f;
    border: none;
    padding: 16px 44px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 0 35px rgba(255, 200, 120, 0.45);
    transition: all .3s ease;
}

.btn-join:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 0 55px rgba(255, 200, 120, 0.7);
}
.festival-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.festival-modal.active {
    display: flex;
}

.festival-modal-content {
    width: 100%;
    max-width: 480px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(22px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 26px;
    padding: 40px;
    color: #fff;
    position: relative;
    box-shadow: 0 0 60px rgba(0,0,0,.7);
    animation: modalUp .35s ease;
}

@keyframes modalUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.close-modal {
    position: absolute;
    top: 14px;
    left: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
}

.festival-modal-content input,
.festival-modal-content textarea {
    width: 100%;
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 14px;
    padding: 14px;
    color: #fff;
    margin-bottom: 14px;
}

.festival-modal-content input::placeholder,
.festival-modal-content textarea::placeholder {
    color: #dbe4ec;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    border-radius: 40px;
    background: linear-gradient(135deg, #2b69b6, #4f9cff);
    border: none;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}

.form-msg {
    margin-top: 12px;
    text-align: center;
    font-size: .95rem;
}
.festival-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.festival-modal.active {
    display: flex;
}

.festival-modal-content {
    width: 100%;
    max-width: 480px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(22px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 26px;
    padding: 40px;
    color: #fff;
    position: relative;
    box-shadow: 0 0 60px rgba(0,0,0,.7);
    animation: modalUp .35s ease;
}

@keyframes modalUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.close-modal {
    position: absolute;
    top: 14px;
    left: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
}

.festival-modal-content input,
.festival-modal-content textarea {
    width: 100%;
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 14px;
    padding: 14px;
    color: #fff;
    margin-bottom: 14px;
}

.festival-modal-content input::placeholder,
.festival-modal-content textarea::placeholder {
    color: #dbe4ec;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    border-radius: 40px;
    background: linear-gradient(135deg, #2b69b6, #4f9cff);
    border: none;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}

.form-msg {
    margin-top: 12px;
    text-align: center;
    font-size: .95rem;
}
.film-card1{
    background:rgba(255,255,255,.04);
    border-radius:26px;
    padding:32px;
    backdrop-filter:blur(18px);
    box-shadow:0 0 60px rgba(0,0,0,.5);
}

.film-thumb1{
    width:100%;
    border-radius:18px;
    object-fit:cover;
    max-height:320px;
}

.film-title1{
    font-size:2rem;
    font-weight:800;
    margin-bottom:10px;
}

.film-abstract1{
    color:#d6e2ec;
    line-height:1.9;
}

.film-info1{
    list-style:none;
    padding:0;
    margin-top:15px;
}

.screen{
    background:#f1f1f1;
    color:#000;
    font-weight:700;
    border-radius:10px;
    padding:8px;
    margin-bottom:20px;
}

.seat-wrapper{
    max-height:380px;
    overflow:auto;
}

.seat-row{
    display:flex;
    justify-content:center;
    gap:6px;
    margin-bottom:6px;
}

.seat{
    width:16px;
    height:16px;
    border-radius:4px;
    background:#aaa;
    opacity:.35;
    transition:.3s;
}

.seat:hover{
    transform:scale(1.3);
    background:#e8c37a;
    opacity:1;
}

.btn-gold{
    background:linear-gradient(135deg,#e8c37a,#b89652);
    border:none;
    color:#000;
    font-weight:700;
    padding:10px 26px;
    border-radius:12px;
    transition:.3s;
}

.btn-gold:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 25px rgba(232,195,122,.4);
}
.badge1 {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--c1);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 16px 8px;
    border-radius: 50%;
    display: inline-block;
    min-width: 18px;
    text-align: center;
    line-height: 1;
}
.qty-box {
    user-select: none;
}

.qty-input {
    width: 70px;
    font-weight: bold;
    font-size: 18px;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #222;
    color: #fff;
    font-size: 22px;
    transition: all .2s ease;
}

.qty-btn:hover {
    background: #f5c542;
    color: #000;
    transform: scale(1.1);
}

.qty-btn:disabled {
    opacity: .4;
    cursor: not-allowed;
}
.cart-fixed-qty {
    font-weight: bold;
    color: #555;
}
/* Chrome, Edge, Safari */
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
.qty-input {
    -moz-appearance: textfield;
}
.iconSetTitle h3 {
    font-size: 20px !important;
}