@font-face {
    font-family: 'Doran';
    src: url('./fonts/Doran-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

* {
    font-family: 'Doran', sans-serif;
}
/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Vazirmatn", sans-serif;
    background: #06130f;
    color: #effffb;
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}

img {
    max-width: 100%;
    display: block;
}


/* =====================================================
   VARIABLES
===================================================== */

:root {

    --bg: #06130f;
    --bg-2: #091c17;

    --card: #0b211b;
    --card-2: #0d281f;

    --primary: #20d6b2;
    --primary-dark: #0ea58e;
    --primary-soft: rgba(32, 214, 178, .12);

    --gold: #c7a65a;

    --text: #effffb;
    --muted: #78958e;

    --border: rgba(59, 221, 191, .12);

}


/* =====================================================
   HEADER
===================================================== */

.header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;

    height: 68px;

    z-index: 1000;

    background: rgba(6, 19, 15, .88);

    border-bottom: 1px solid rgba(59, 221, 191, .08);

    backdrop-filter: blur(18px);

    transition: .3s ease;
}

.header.scrolled {
    background: rgba(4, 15, 12, .97);

    box-shadow:
        0 10px 35px rgba(0, 0, 0, .25);
}


.header-container {
    width: min(1060px, calc(100% - 40px));

    height: 100%;

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* =====================================================
   LOGO
===================================================== */

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: var(--primary);

    color: #04251d;

    font-weight: 900;

    box-shadow:
        0 5px 20px rgba(32, 214, 178, .16);
}

.logo-text h2 {
    font-size: 15px;
    font-weight: 800;
}

.logo-text span {
    font-size: 8px;
    color: var(--muted);
}


/* =====================================================
   NAV
===================================================== */

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav a {
    padding: 9px 14px;

    border-radius: 9px;

    color: #77928c;

    font-size: 12px;
    font-weight: 600;

    transition: .25s ease;
}

.nav a:hover,
.nav a.active {
    color: var(--text);
    background: rgba(32, 214, 178, .08);
}

.nav a.active {
    color: var(--primary);
}


/* =====================================================
   HEADER ACTIONS
===================================================== */

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.login-btn {
    font-size: 11px;
    color: #a1b5af;
}

.register-btn {
    padding: 8px 17px;

    border-radius: 9px;

    color: #06241d;

    background: var(--primary);

    font-size: 11px;
    font-weight: 800;

    transition: .25s ease;
}

.register-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 25px rgba(32, 214, 178, .18);
}

.menu-btn {
    display: none;

    border: 0;
    background: transparent;

    color: var(--text);

    font-size: 24px;
    cursor: pointer;
}


/* =====================================================
   MOBILE MENU
===================================================== */

.mobile-menu {
    display: none;
}


/* =====================================================
   CONTAINER
===================================================== */

.container {
    width: min(1060px, calc(100% - 40px));

    margin: auto;
}


/* =====================================================
   HERO
===================================================== */

main {
    padding-top: 68px;
}

.hero {
    min-height: 580px;

    position: relative;

    display: grid;
    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 60px;

    padding: 70px 0 55px;
}


/* سمت راست */

.hero-content {
    order: 2;

    animation: fadeUp .8s ease both;
}

.hero-badge {
    display: inline-flex;

    padding: 6px 13px;

    border: 1px solid rgba(32, 214, 178, .2);

    border-radius: 999px;

    color: var(--primary);

    font-size: 10px;

    background: rgba(32, 214, 178, .03);

    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(56px, 7vw, 82px);

    line-height: 1.05;

    font-weight: 900;

    letter-spacing: -2px;

    margin-bottom: 16px;
}

.hero h1 span {
    display: block;

    color: var(--primary);

    text-shadow:
        0 0 30px rgba(32, 214, 178, .12);
}

.hero-content > p {
    max-width: 520px;

    color: #728f88;

    font-size: 13px;

    line-height: 2;

    margin-bottom: 28px;
}


/* =====================================================
   BUTTONS
===================================================== */

.hero-buttons {
    display: flex;
    gap: 10px;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 43px;

    padding: 0 18px;

    border-radius: 10px;

    font-size: 11px;
    font-weight: 700;

    transition: .25s ease;
}

.btn-primary {
    background: var(--primary);
    color: #04251d;

    box-shadow:
        0 10px 30px rgba(32, 214, 178, .12);
}

.btn-primary:hover {
    transform: translateY(-3px);
}

.btn-secondary {
    border: 1px solid var(--border);

    color: #c4d2ce;

    background: rgba(7, 23, 19, .7);
}

.btn-secondary:hover {
    border-color: rgba(32, 214, 178, .3);
}


/* =====================================================
   HERO CARD
===================================================== */

.hero-card {
    order: 1;

    position: relative;

    min-height: 375px;

    padding: 26px;

    border: 1px solid rgba(59, 221, 191, .14);

    border-radius: 22px;

    background:
        radial-gradient(
            circle at top left,
            rgba(32, 214, 178, .08),
            transparent 50%
        ),
        rgba(10, 37, 30, .88);

    box-shadow:
        0 30px 70px rgba(0, 0, 0, .18);

    animation: fadeUp .8s .15s ease both;
}

.hero-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    color: #77928c;

    font-size: 11px;
}

.live-dot {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--primary);

    box-shadow:
        0 0 13px rgba(32, 214, 178, .8);
}

.hero-card-icon {
    width: 72px;
    height: 72px;

    margin: 38px auto 23px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 19px;

    background: rgba(32, 214, 178, .08);

    border: 1px solid rgba(32, 214, 178, .2);

    color: var(--primary);

    font-size: 27px;
}

.hero-card h2 {
    text-align: center;

    font-size: 22px;

    margin-bottom: 7px;
}

.hero-card > p {
    text-align: center;

    font-size: 11px;

    color: var(--muted);

    line-height: 1.9;
}

.event-info {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 8px;

    margin-top: 24px;
}

.event-info div {
    height: 44px;

    padding: 0 12px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(3, 20, 16, .62);

    border-radius: 10px;

    color: #a2b4b0;
}

.event-info strong {
    font-size: 10px;
}

.event-info span {
    font-size: 13px;
}

.event-link {
    display: block;

    text-align: center;

    margin-top: 18px;

    color: var(--primary);

    font-size: 10px;
    font-weight: 700;
}


/* =====================================================
   QUICK SECTION
===================================================== */

.quick-section {
    padding: 60px 0;
}

.section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;

    margin-bottom: 26px;
}

.label {
    display: block;

    margin-bottom: 6px;

    color: var(--primary);

    font-size: 10px;
    font-weight: 700;
}

.section-title h2 {
    font-size: 27px;
    font-weight: 800;
}

.section-title p {
    color: var(--muted);
    font-size: 10px;
}


/* =====================================================
   QUICK CARDS
===================================================== */

.quick-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 10px;
}

.quick-card {
    min-height: 92px;

    padding: 15px;

    display: flex;
    align-items: center;

    gap: 12px;

    border: 1px solid var(--border);

    border-radius: 14px;

    background: rgba(10, 33, 27, .7);

    transition: .3s ease;
}

.quick-card:hover {
    transform: translateY(-5px);

    border-color: rgba(32, 214, 178, .3);

    background: rgba(12, 40, 32, .85);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, .16);
}

.quick-icon {
    width: 39px;
    height: 39px;

    flex: 0 0 39px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: #09281f;

    font-size: 17px;
}

.quick-info {
    flex: 1;
}

.quick-info h3 {
    font-size: 11px;

    margin-bottom: 2px;
}

.quick-info p {
    color: #628079;

    font-size: 8px;
}

.arrow {
    color: var(--primary);
    font-size: 13px;
}


/* =====================================================
   ABOUT
===================================================== */

.about-card {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 35px;

    padding: 25px;

    border: 1px solid var(--border);

    border-radius: 18px;

    background: rgba(9, 31, 25, .7);

    margin-bottom: 70px;
}

.about-image {
    min-height: 290px;

    overflow: hidden;

    border-radius: 14px;
}

.about-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-content h2 {
    font-size: 30px;
    margin-bottom: 13px;
}

.about-content h2 span,
.section-heading h2 span,
.memories-content h2 span {
    color: var(--primary);
}

.about-content p {
    color: var(--muted);

    font-size: 12px;

    line-height: 2;

    max-width: 480px;

    margin-bottom: 20px;
}

.text-link {
    color: var(--primary);

    font-size: 10px;
    font-weight: 700;
}


/* =====================================================
   PROGRAMS
===================================================== */

.program-card {
    padding: 28px;

    margin-bottom: 70px;

    border: 1px solid var(--border);

    border-radius: 18px;

    background: rgba(9, 31, 25, .7);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;

    margin-bottom: 24px;
}

.section-heading h2 {
    font-size: 28px;
}

.view-all {
    color: var(--primary);

    font-size: 10px;
    font-weight: 700;
}

.program-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 10px;
}

.program-item {
    min-height: 85px;

    display: flex;
    align-items: center;

    gap: 14px;

    padding: 13px;

    border-radius: 12px;

    background: rgba(3, 19, 15, .55);

    transition: .25s ease;
}

.program-item:hover {
    background: rgba(32, 214, 178, .05);
}

.program-date {
    width: 54px;
    height: 54px;

    flex: 0 0 54px;

    border-radius: 13px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background: rgba(32, 214, 178, .08);

    color: var(--primary);

    font-size: 17px;
    font-weight: 900;
}

.program-date span {
    font-size: 8px;
    color: #719089;
}

.program-info h3 {
    font-size: 12px;
    margin-bottom: 2px;
}

.program-info p {
    color: var(--muted);
    font-size: 9px;
}


/* =====================================================
   SERVANTS
===================================================== */

.servants-section {
    margin-bottom: 80px;
}

.servants-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 10px;
}

.servant-card {
    padding: 25px 15px;

    text-align: center;

    border: 1px solid var(--border);

    border-radius: 15px;

    background: rgba(9, 31, 25, .65);

    transition: .3s ease;
}

.servant-card:hover {
    transform: translateY(-5px);

    border-color: rgba(32, 214, 178, .28);
}

.servant-avatar {
    width: 62px;
    height: 62px;

    margin: auto auto 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            rgba(32, 214, 178, .2),
            rgba(14, 165, 142, .05)
        );

    border: 1px solid rgba(32, 214, 178, .15);

    color: var(--primary);

    font-size: 23px;
    font-weight: 800;
}

.servant-card h3 {
    font-size: 11px;
    margin-bottom: 4px;
}

.servant-card span {
    color: var(--muted);
    font-size: 9px;
}


/* =====================================================
   GALLERY
===================================================== */

.gallery-section {
    margin-bottom: 80px;
}

.gallery-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    grid-auto-rows: 170px;

    gap: 10px;
}

.gallery-item {
    overflow: hidden;

    border-radius: 13px;

    border: 1px solid var(--border);

    background: #091c17;
}

.gallery-item.big {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: .5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}


/* =====================================================
   MEMORIES
===================================================== */

.memories-section {
    min-height: 320px;

    margin-bottom: 70px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    overflow: hidden;

    border-radius: 18px;

    border: 1px solid var(--border);

    background: #0a211b;
}

.memories-content {
    padding: 45px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.memories-content h2 {
    font-size: 31px;

    line-height: 1.5;

    margin-bottom: 14px;
}

.memories-content p {
    color: var(--muted);

    font-size: 11px;

    max-width: 460px;

    line-height: 2;

    margin-bottom: 22px;
}

.memories-content .btn-primary {
    width: fit-content;
}

.memories-image {
    min-height: 320px;
}

.memories-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: .75;
}


/* =====================================================
   FOOTER
===================================================== */

.footer {
    border-top: 1px solid rgba(59, 221, 191, .08);

    padding: 35px 0;

    background: #04100d;
}

.footer-container {
    width: min(1060px, calc(100% - 40px));

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.footer h3 {
    font-size: 14px;
}

.footer h3 span {
    color: var(--primary);
}

.footer p {
    color: var(--muted);
    font-size: 9px;
}

.footer-socials {
    display: flex;
    gap: 7px;
}

.footer-socials a {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    border: 1px solid var(--border);

    color: var(--primary);

    font-size: 12px;
}

.copyright {
    text-align: left;
}


/* =====================================================
   ANIMATIONS
===================================================== */

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

.reveal-init {
    opacity: 0;
    transform: translateY(24px);

    transition:
        opacity .7s ease,
        transform .7s ease;
}

.reveal-init.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 900px) {

    .nav {
        gap: 2px;
    }

    .nav a {
        padding: 8px 8px;
    }

    .quick-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .servants-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 720px) {

    .header-container {
        width: calc(100% - 28px);
    }

    .nav,
    .login-btn,
    .register-btn {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .logo-text span {
        display: none;
    }

    .mobile-menu {
        position: fixed;

        top: 68px;
        right: 12px;
        left: 12px;

        z-index: 999;

        display: flex;

        flex-direction: column;

        gap: 5px;

        padding: 12px;

        border: 1px solid var(--border);

        border-radius: 15px;

        background: rgba(5, 20, 16, .97);

        backdrop-filter: blur(20px);

        opacity: 0;
        visibility: hidden;

        transform: translateY(-10px);

        transition: .25s ease;
    }

    .mobile-menu.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .mobile-menu > a {
        padding: 11px;

        border-radius: 9px;

        color: #a9bbb6;

        font-size: 11px;
    }

    .mobile-menu > a:hover {
        background: rgba(32, 214, 178, .06);
        color: var(--primary);
    }

    .mobile-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;

        margin-top: 5px;
    }

    .mobile-actions a {
        text-align: center;

        padding: 10px;

        border-radius: 9px;

        font-size: 11px;
    }

    .mobile-login {
        border: 1px solid var(--border);
    }

    .mobile-register {
        background: var(--primary);
        color: #04251d !important;
        font-weight: 800;
    }


    .hero {
        grid-template-columns: 1fr;

        gap: 25px;

        padding-top: 40px;
    }

    .hero-content {
        order: 1;
        text-align: center;
        align-items: center;
    }

    .hero-content > p {
        margin-right: auto;
        margin-left: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-card {
        order: 2;

        min-height: 350px;
    }


    .section-title,
    .section-heading {
        align-items: flex-start;

        flex-direction: column;

        gap: 9px;
    }

    .about-card {
        grid-template-columns: 1fr;
    }

    .about-image {
        min-height: 240px;
    }

    .program-list {
        grid-template-columns: 1fr;
    }

    .memories-section {
        grid-template-columns: 1fr;
    }

    .memories-image {
        min-height: 230px;
    }

    .memories-content {
        padding: 30px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .copyright {
        text-align: center;
    }

}


@media (max-width: 480px) {

    .container {
        width: calc(100% - 24px);
    }

    .hero h1 {
        font-size: 54px;
    }

    .hero-buttons {
        width: 100%;

        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .quick-cards {
        grid-template-columns: 1fr;
    }

    .servants-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;

        grid-auto-rows: 140px;
    }

    .gallery-item.big {
        grid-column: span 2;
        grid-row: span 1;
    }

}

/* =========================================
   KERAMON
========================================= */

.keramon-section {
    width: 100%;
    padding: 80px 0;

    /* بدون بک گراند */
    background: transparent;

    overflow: hidden;
}

.keramon-container {
    width: min(1200px, 92%);
    margin: auto;
}


/* =========================================
   HEADER
========================================= */

.keramon-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    margin-bottom: 30px;

    direction: rtl;
}

.keramon-label {
    color: #66ff99;
    font-size: 14px;
}

.keramon-heading h2 {
    margin: 6px 0 0;

    color: #fff;

    font-size: 48px;
    font-weight: 900;
}

.keramon-heading p {
    margin: 8px 0 0;

    color: #89928d;
    font-size: 14px;
}


/* مشاهده همه */

.keramon-more {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #66ff99;
    text-decoration: none;

    padding: 10px 17px;

    border: 1px solid rgba(102,255,153,.25);

    border-radius: 12px;

    transition: .3s;
}

.keramon-more:hover {
    background: #66ff99;
    color: #061009;
}


/* =========================================
   SLIDER
========================================= */

.keramon-slider {

    position: relative;

    width: 100%;

    overflow: hidden;

    direction: ltr;

    cursor: grab;

    touch-action: pan-y;
}

.keramon-slider.dragging {
    cursor: grabbing;
}


/* =========================================
   TRACK
========================================= */

.keramon-track {

    display: flex;

    gap: 20px;

    width: max-content;

    transform: translateX(0);

    transition: transform .65s cubic-bezier(.22,.61,.36,1);

    will-change: transform;
}


/* =========================================
   SLIDE
========================================= */

.keramon-slide {

    flex: 0 0 760px;

    width: 760px;

    user-select: none;

    direction: rtl;
}


/* =========================================
   MEDIA
========================================= */

.keramon-media {

    position: relative;

    width: 100%;
    height: 430px;

    overflow: hidden;

    border-radius: 24px;

    border: 1px solid rgba(102,255,153,.16);

    background: #090d0b;

    box-shadow:
        0 15px 45px rgba(0,0,0,.25);
}


.keramon-media img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    pointer-events: none;

    transition: transform .7s ease;
}


.keramon-slide:hover .keramon-media img {
    transform: scale(1.04);
}


/* =========================================
   GRADIENT
========================================= */

.keramon-gradient {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.92),
            rgba(0,0,0,.45) 40%,
            transparent 75%
        );

    pointer-events: none;
}


/* =========================================
   CATEGORY
========================================= */

.keramon-category {

    position: absolute;

    top: 18px;
    right: 18px;

    padding: 7px 12px;

    border-radius: 9px;

    color: #66ff99;

    background: rgba(3,10,6,.75);

    border: 1px solid rgba(102,255,153,.3);

    backdrop-filter: blur(8px);

    font-size: 12px;
}


/* =========================================
   PLAY
========================================= */




/* =========================================
   TEXT
========================================= */

.keramon-slide-info {

    position: absolute;

    right: 30px;
    bottom: 27px;
    left: 30px;
}

.keramon-slide-info span {
    color: #66ff99;
    font-size: 13px;
}

.keramon-slide-info h3 {

    margin: 6px 0;

    color: #fff;

    font-size: 28px;
    font-weight: 900;
}

.keramon-slide-info p {

    margin: 0;

    color: rgba(255,255,255,.72);

    font-size: 13px;
}


/* =========================================
   ARROWS
========================================= */

.keramon-arrow {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    z-index: 20;

    width: 48px;
    height: 48px;

    border-radius: 50%;

    border: 1px solid rgba(102,255,153,.3);

    background: rgba(3,10,6,.8);

    color: #66ff99;

    font-size: 32px;

    cursor: pointer;

    display: flex;

    align-items: center;
    justify-content: center;

    transition: .3s;

    backdrop-filter: blur(10px);
}

.keramon-arrow:hover {

    background: #66ff99;

    color: #061009;

    box-shadow:
        0 0 25px rgba(102,255,153,.35);
}


/*
   چون اسلایدر داخل خودش LTR است:
   این‌ها از نظر ظاهری چپ و راست هستند.
*/

.keramon-prev {
    left: 18px;
}

.keramon-next {
    right: 18px;
}


/* =========================================
   DOTS
========================================= */

.keramon-dots {

    display: flex;

    justify-content: center;

    gap: 7px;

    margin-top: 17px;

    direction: ltr;
}

.keramon-dots button {

    width: 7px;
    height: 7px;

    padding: 0;

    border: 0;

    border-radius: 20px;

    background: #3d4741;

    cursor: pointer;

    transition: .35s;
}

.keramon-dots button.active {

    width: 25px;

    background: #66ff99;

    box-shadow:
        0 0 10px rgba(102,255,153,.6);
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 850px) {

    .keramon-slide {

        flex: 0 0 82vw;

        width: 82vw;
    }

    .keramon-media {
        height: 380px;
    }

}


@media (max-width: 600px) {

    .keramon-section {
        padding: 55px 0;
    }

    .keramon-heading {
        align-items: flex-start;

        flex-direction: column;

        gap: 18px;
    }

    .keramon-heading h2 {
        font-size: 38px;
    }

    .keramon-slide {

        flex: 0 0 88vw;

        width: 88vw;
    }

    .keramon-media {

        height: 330px;

        border-radius: 19px;
    }

    .keramon-slide-info {
        right: 20px;
        left: 20px;
        bottom: 20px;
    }

    .keramon-slide-info h3 {
        font-size: 22px;
    }

    .keramon-arrow {

        width: 40px;
        height: 40px;

        font-size: 26px;
    }

}
.keramon-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
    background: #090d0b;
}

/* ========================================= VIDEO SECTION ========================================= */ .video-section { width: 92%; max-width: 1200px; margin: 100px auto; direction: rtl; } /* ========================================= TITLE ========================================= */ .video-heading { text-align: center; margin-bottom: 30px; } .video-heading span { display: block; color: #42df68; font-size: 14px; font-weight: 800; margin-bottom: 8px; } .video-heading h2 { margin: 0; color: #ffffff; font-size: clamp(28px, 4vw, 46px); font-weight: 900; } .video-heading p { margin: 10px 0 0; color: rgba(255, 255, 255, 0.55); font-size: 14px; } /* ========================================= SLIDER ========================================= */ .video-slider { position: relative; width: 100%; height: 620px; overflow: hidden; border-radius: 30px; background: #050505; box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45), 0 0 50px rgba(66, 223, 104, 0.05); touch-action: pan-y; } /* ========================================= SLIDE ========================================= */ .video-slide { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; visibility: hidden; transition: opacity 0.45s ease, visibility 0.45s ease; pointer-events: none; } .video-slide.active { opacity: 1; visibility: visible; z-index: 2; pointer-events: auto; } /* ========================================= VIDEO ========================================= */ .slide-video { width: 100%; height: 100%; display: block; object-fit: cover; background: #050505; } /* ========================================= GRADIENT ========================================= */ .video-gradient { position: absolute; inset: 0; background: linear-gradient( to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.15) 60%, rgba(0, 0, 0, 0.05) ); pointer-events: none; } /* ========================================= TEXT ========================================= */ .video-text { position: absolute; right: 40px; bottom: 35px; z-index: 5; color: #ffffff; pointer-events: none; } .video-text span { color: #42df68; font-size: 14px; font-weight: 800; } .video-text h3 { margin: 7px 0 0; font-size: clamp(28px, 4vw, 44px); font-weight: 900; } /* ========================================= ARROWS ========================================= */ .video-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 20; width: 56px; height: 56px; padding: 0; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 50%; background: rgba(0, 0, 0, 0.65); color: #ffffff; font-size: 22px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease; } .video-arrow:hover { background: #42df68; color: #071009; transform: translateY(-50%) scale(1.08); } .video-prev { left: 20px; } .video-next { right: 20px; } /* ========================================= SOUND BUTTON ========================================= */ .video-sound-button { display: block; margin: 20px auto 0; padding: 13px 24px; border: 1px solid rgba(66, 223, 104, 0.35); border-radius: 999px; background: rgba(66, 223, 104, 0.08); color: #42df68; font-family: inherit; font-size: 14px; font-weight: 800; cursor: pointer; transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, border-color 0.25s ease; } .video-sound-button:hover { background: #42df68; border-color: #42df68; color: #071009; transform: translateY(-2px); } .video-sound-button.sound-on { background: #42df68; border-color: #42df68; color: #071009; } /* ========================================= DOTS ========================================= */ .video-dots { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 18px; } .video-dot { width: 8px; height: 8px; padding: 0; border: none; border-radius: 50%; background: rgba(255, 255, 255, 0.25); cursor: pointer; transition: width 0.3s ease, background 0.3s ease; } .video-dot.active { width: 28px; border-radius: 20px; background: #42df68; } /* ========================================= MOBILE ========================================= */ @media (max-width: 700px) { .video-section { width: 94%; margin: 60px auto; } .video-slider { height: 68vh; min-height: 420px; border-radius: 22px; } .video-arrow { width: 46px; height: 46px; font-size: 18px; } .video-prev { left: 12px; } .video-next { right: 12px; } .video-text { right: 22px; bottom: 24px; } .video-text h3 { font-size: 30px; } .video-sound-button { width: 90%; max-width: 300px; } }
/* ========================================= MOBILE VIDEO SIZE ========================================= */ @media (max-width: 600px) { .video-slider { width: 100%; height: auto; aspect-ratio: 16 / 9; min-height: 0; border-radius: 18px; } .main-video { width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; } }
/* =========================================
   MUTE BUTTON
========================================= */

.video-mute-button {
    width: 48px;
    height: 48px;

    margin-right: 8px;

    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50%;

    background: rgba(0,0,0,.45);

    color: #ffffff;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    transition: .25s ease;
}

.video-mute-button svg {
    width: 21px;
    height: 21px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.video-mute-button:hover {
    background: #42df68;
    color: #071009;
    border-color: #42df68;
    transform: scale(1.05);
}

.video-mute-button.muted {
    background: #42df68;
    color: #071009;
    border-color: #42df68;
}
.video-sound-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-direction: row-reverse;
}
/* =========================================
   MOBILE LAYOUT FIX
========================================= */

@media (max-width: 600px) {

    .video-sound-button {
        width: auto;
        max-width: 90%;

        display: inline-flex;
        align-items: center;
        justify-content: center;

        margin: 16px auto 0;

        padding: 12px 18px;

        font-size: 13px;

        gap: 8px;

        white-space: nowrap;

        direction: rtl;

        box-sizing: border-box;
    }

}
/* =========================================
   MOBILE SOUND BUTTON
========================================= */

@media (max-width: 600px) {

    .video-sound-button {
        display: flex;

        width: fit-content;
        max-width: 85%;

        margin: 14px auto 0;

        padding: 9px 16px;

        font-size: 12px;

        line-height: 1;

        gap: 6px;

        justify-content: center;
        align-items: center;

        white-space: nowrap;

        box-sizing: border-box;
    }

}
/* =========================================
   MOBILE SOUND CONTROLS
========================================= */

@media (max-width: 600px) {

    .video-sound-controls {
        width: 100%;

        display: flex;
        align-items: center;
        justify-content: center;

        gap: 6px;

        margin-top: 14px;
    }


   .video-sound-button {
    height: 42px !important;
    min-width: 42px !important;
    width: auto !important;

    padding: 0 14px !important;
    margin: 0 !important;

    border: none !important;
    border-radius: 21px !important;

    background: rgba(0, 0, 0, 0.55) !important;
    color: #fff !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    box-sizing: border-box !important;

    white-space: nowrap;
    overflow: hidden;

    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    line-height: 1 !important;

    position: relative;
    top: -2px;

    cursor: pointer;

    transition:
        width 0.25s ease,
        padding 0.25s ease,
        border-radius 0.25s ease;
}


    /* دکمه قطع صدا */

    .video-sound-controls .video-mute-button {
        width: 40px;
        height: 40px;

        min-width: 40px;

        padding: 0;
        margin: 0;

        display: inline-flex;
        align-items: center;
        justify-content: center;

        border-radius: 50%;

        box-sizing: border-box;
    }


    /* آیکون داخل دکمه قطع */

    .video-sound-controls .video-mute-button svg {
        width: 18px;
        height: 18px;
    }
}
/* =========================================
   VIDEO SLIDER
========================================= */

.video-section {
    width: 100%;
    background: transparent;
    padding: 40px 0;
    overflow: hidden;
}

.video-slider {
    position: relative;
    width: 100%;
    max-width: 1100px;
    height: 620px;
    margin: 0 auto;
    overflow: hidden;
    background: transparent;
    border-radius: 0;
}

/* اسلاید */

.video-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;

    opacity: 0;
    visibility: hidden;

    transform: translateX(30px);

    transition:
        opacity 0.35s ease,
        transform 0.35s ease,
        visibility 0.35s;
}

.video-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* ویدیو */

.video-slide video {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    background: transparent;

    border: 0;
    outline: 0;

    cursor: pointer;
}

/* دکمه قبلی / بعدی */

.video-prev,
.video-next {
    position: absolute;

    top: 50%;
    transform: translateY(-50%);

    width: 48px;
    height: 48px;

    border: 0;
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.45);

    color: white;

    font-size: 38px;
    line-height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    z-index: 20;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.video-prev:hover,
.video-next:hover {
    background: rgba(0, 0, 0, 0.7);
}

.video-prev:active,
.video-next:active {
    transform: translateY(-50%) scale(0.9);
}

.video-prev {
    right: 20px;
}

.video-next {
    left: 20px;
}

/* کنترل های پایین */

.video-controls {
    position: absolute;

    left: 20px;
    bottom: 20px;

    display: flex;
    gap: 10px;

    z-index: 30;
}

.video-controls button {
    width: 44px;
    height: 44px;

    border: 0;
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.5);

    color: white;

    font-size: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    transition: background 0.2s ease;
}

.video-controls button:hover {
    background: rgba(0, 0, 0, 0.75);
}

/* شماره ویدیو */

.video-counter {
    position: absolute;

    right: 20px;
    bottom: 20px;

    z-index: 30;

    padding: 7px 13px;

    border-radius: 20px;

    background: rgba(0, 0, 0, 0.5);

    color: white;

    font-size: 14px;

    direction: ltr;
}

/* موبایل */

@media (max-width: 768px) {

    .video-section {
        padding: 25px 0;
    }

    .video-slider {
        width: 100%;
        height: 70vh;

        max-height: 600px;

        border-radius: 0;
    }

    .video-slide video {
        object-fit: contain;
    }

    .video-prev,
    .video-next {
        width: 42px;
        height: 42px;

        font-size: 32px;
    }

    .video-prev {
        right: 10px;
    }

    .video-next {
        left: 10px;
    }

    .video-controls {
        left: 12px;
        bottom: 12px;
    }

    .video-controls button {
        width: 40px;
        height: 40px;
    }

    .video-counter {
        right: 12px;
        bottom: 12px;
    }
}

/* موبایل خیلی کوچک */

@media (max-width: 450px) {

    .video-slider {
        height: 60vh;
    }

    .video-prev,
    .video-next {
        width: 36px;
        height: 36px;

        font-size: 28px;
    }
}
/* =========================================
   VIDEO SECTION
========================================= */

.video-section {
    width: 100%;
    padding: 50px 0;
    background: transparent;
    overflow: hidden;
}


/* =========================================
   SLIDER
========================================= */

.video-slider {
    position: relative;

    width: min(100%, 1100px);
    height: 620px;

    margin: 0 auto;

    overflow: hidden;

    background: transparent;

    touch-action: pan-y;
}


/* =========================================
   SLIDES
========================================= */

.video-slide {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0;

    visibility: hidden;

    transform: translateX(35px);

    transition:
        opacity .35s ease,
        transform .35s ease,
        visibility .35s ease;
}

.video-slide.active {
    opacity: 1;

    visibility: visible;

    transform: translateX(0);
}


/* =========================================
   VIDEO
========================================= */

.slide-video {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    background: transparent;

    border: 0;

    outline: none;

    user-select: none;

    -webkit-user-select: none;

    -webkit-tap-highlight-color: transparent;
}


/* =========================================
   PREVIOUS / NEXT
========================================= */

.video-prev,
.video-next {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    z-index: 20;

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: none;

    border-radius: 50%;

    background: rgba(0, 0, 0, .45);

    color: #fff;

    font-size: 38px;

    line-height: 1;

    cursor: pointer;

    transition:
        background .2s ease,
        transform .2s ease;
}

.video-prev:hover,
.video-next:hover {

    background: rgba(0, 0, 0, .72);

}

.video-prev:active,
.video-next:active {

    transform:
        translateY(-50%)
        scale(.9);

}

.video-prev {

    right: 20px;

}

.video-next {

    left: 20px;

}


/* =========================================
   CONTROLS
========================================= */

.video-controls {

    position: absolute;

    left: 20px;
    bottom: 20px;

    z-index: 30;

    display: flex;

    align-items: center;

    gap: 8px;
}


/* SOUND BUTTON */

.video-sound-button {

    min-height: 42px;

    padding: 0 15px;

    border: none;

    border-radius: 22px;

    background: rgba(0, 0, 0, .55);

    color: #fff;

    font-family: inherit;

    font-size: 11px;

    cursor: pointer;

    transition:
        background .2s ease,
        transform .2s ease;
}

.video-sound-button:hover {

    background: rgba(0, 0, 0, .78);

}

.video-sound-button:active {

    transform: scale(.96);

}


/* MUTE + FULLSCREEN */

.video-mute-button,
.video-fullscreen-button {

    width: 42px;
    height: 42px;

    border: none;

    border-radius: 50%;

    background: rgba(0, 0, 0, .55);

    color: #fff;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 18px;

    cursor: pointer;

    transition:
        background .2s ease,
        transform .2s ease;
}

.video-mute-button:hover,
.video-fullscreen-button:hover {

    background: rgba(0, 0, 0, .78);

}

.video-mute-button:active,
.video-fullscreen-button:active {

    transform: scale(.9);

}


/* =========================================
   DOTS
========================================= */

.video-dots {

    position: absolute;

    right: 20px;
    bottom: 20px;

    z-index: 30;

    display: flex;

    align-items: center;

    gap: 7px;
}

.video-dot {

    width: 8px;
    height: 8px;

    padding: 0;

    border: none;

    border-radius: 50%;

    background: rgba(255, 255, 255, .35);

    cursor: pointer;

    transition:
        width .2s ease,
        background .2s ease;
}

.video-dot.active {

    width: 22px;

    border-radius: 10px;

    background: var(--primary, #20d6b2);

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .video-section {

        padding: 30px 0;

    }

    .video-slider {

        width: 100%;

        height: 68vh;

        min-height: 430px;

        max-height: 650px;

    }

    .video-prev,
    .video-next {

        width: 40px;
        height: 40px;

        font-size: 31px;

    }

    .video-prev {

        right: 10px;

    }

    .video-next {

        left: 10px;

    }

    .video-controls {

        left: 10px;

        bottom: 12px;

    }

    .video-sound-button {

        min-height: 39px;

        padding: 0 12px;

        font-size: 10px;

    }

    .video-mute-button,
    .video-fullscreen-button {

        width: 39px;
        height: 39px;

    }

    .video-dots {

        right: 10px;

        bottom: 12px;

    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 450px) {

    .video-slider {

        height: 62vh;

        min-height: 380px;

    }

    .video-sound-button {

        display: none;

    }

}
.video-sound-button {
    height: 42px;
    min-width: 145px;

    padding: 0 18px;

    border: none;
    border-radius: 999px;

    background: rgba(0, 0, 0, 0.55);
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    direction: rtl;
    white-space: nowrap;

    font-family: inherit;
    font-size: 12px;
    font-weight: 500;

    line-height: 1;

    cursor: pointer;

    box-sizing: border-box;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.video-sound-button:hover {
    background: rgba(0, 0, 0, 0.78);
}

.video-sound-button:active {
    transform: scale(0.96);
}
/* کنترل‌های ویدیو */
.video-controls {
    position: absolute;

    left: 20px; 
    bottom: 24px;

    z-index: 30;

    display: flex;
    align-items: center;

    gap: 8px;

    height: 42px;
}


.video-sound-button {
    width: 155px !important;
    height: 42px !important;
    min-width: 155px !important;
    max-width: 155px !important;
    min-height: 42px !important;
    max-height: 42px !important;

    padding: 0 16px !important;
    margin: 0 !important;

    border: none !important;
    border-radius: 21px !important;

    background: rgba(0, 0, 0, 0.55) !important;
    color: #fff !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    direction: rtl;
    white-space: nowrap;
    overflow: hidden;

    box-sizing: border-box !important;

    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    line-height: 1 !important;

    position: relative;
    top: -2px;

    cursor: pointer;
}

/* آیکون‌های دایره‌ای */
.video-mute-button,
.video-fullscreen-button {
    width: 42px;
    height: 42px;

    min-width: 42px;
    min-height: 42px;

    margin: 0;
    padding: 0;

    border: none;

    border-radius: 50%;

    background: rgba(0, 0, 0, 0.55);

    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    font-size: 18px;

    line-height: 42px;

    cursor: pointer;

    transform: translateY(0);

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.video-mute-button:hover,
.video-fullscreen-button:hover {
    background: rgba(0, 0, 0, 0.78);
}

.video-mute-button:active,
.video-fullscreen-button:active {
    transform: scale(0.9);
}
.video-sound-button.icon-only {
    width: 42px !important;
    min-width: 42px !important;
    padding: 0 !important;
    border-radius: 50% !important;
}
.video-sound-button {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;

    padding: 0 !important;
    margin: 0 !important;

    border: none !important;
    border-radius: 50% !important;

    background: rgba(0, 0, 0, 0.55) !important;
    color: white;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    position: relative;
    top: -2px;

    cursor: pointer;
    box-sizing: border-box !important;
}

.speaker-icon {
    font-size: 18px;
    line-height: 1;
    position: relative;
    z-index: 2;
}

.mute-line {
    position: absolute;
    width: 25px;
    height: 3px;
    background: #ff3030;
    border-radius: 3px;

    transform: rotate(-45deg);
    opacity: 0;

    transition: opacity 0.15s ease;
}

.video-sound-button.muted .mute-line {
    opacity: 1;
}
/* دکمه صدا */
.video-sound-button {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;

    padding: 0 !important;
    margin: 0 !important;

    border: none !important;
    border-radius: 50% !important;

    background: rgba(0, 0, 0, 0.55) !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    position: relative;
    top: -2px;

    box-sizing: border-box !important;
    cursor: pointer;
}

.speaker-icon {
    position: relative;
    z-index: 2;
    font-size: 18px;
    line-height: 1;
}

.mute-line {
    position: absolute;

    width: 25px;
    height: 3px;

    background: #ff3030;
    border-radius: 3px;

    transform: rotate(-45deg);

    opacity: 0;
    pointer-events: none;

    z-index: 3;
}

.video-sound-button.muted .mute-line {
    opacity: 1;
}
/* =========================================================
   HEYAT AL-MAHDI — REFERENCE DESIGN VISUAL OVERRIDE
   فقط ظاهر
   ========================================================= */

:root {
    --bg: #f3f7f5;
    --bg-2: #eaf2ee;

    --card: #ffffff;
    --card-2: #f7faf8;

    --primary: #187b5d;
    --primary-dark: #0f6048;

    --primary-soft:
        rgba(24, 123, 93, .10);

    --gold: #c6a45f;

    --text: #17382f;
    --muted: #789087;

    --border:
        rgba(24, 123, 93, .12);
}


/* =========================
   BODY
========================= */

body {
    background:
        radial-gradient(
            circle at 8% 0%,
            rgba(24,123,93,.055),
            transparent 28%
        ),
        radial-gradient(
            circle at 95% 14%,
            rgba(24,123,93,.035),
            transparent 25%
        ),
        #f3f7f5;

    color: #17382f;
}


/* =========================
   HEADER
========================= */

.header {
    background:
        rgba(255,255,255,.94);

    border-bottom-color:
        rgba(24,123,93,.10);

    box-shadow:
        0 8px 30px
        rgba(20,60,48,.08);
}

.header.scrolled {
    background:
        rgba(255,255,255,.985);

    box-shadow:
        0 12px 36px
        rgba(20,60,48,.10);
}


/* =========================
   LOGO
========================= */

.logo-icon {
    background:
        linear-gradient(
            135deg,
            #1b8767,
            #2cae83
        );

    color:
        #f5fffb;

    box-shadow:
        0 8px 22px
        rgba(24,123,93,.18);
}

.logo-text h2 {
    color:
        #12382d;
}

.logo-text span {
    color:
        #789087;
}


/* =========================
   NAV
========================= */

.nav a {
    color:
        #617970;
}

.nav a:hover,
.nav a.active {
    color:
        #187b5d;

    background:
        rgba(24,123,93,.075);
}

.nav a.active {
    color:
        #187b5d;
}


/* =========================
   HEADER ACTIONS
========================= */

.login-btn {
    color:
        #617970;
}

.register-btn {
    background:
        #187b5d;

    color:
        #ffffff;

    box-shadow:
        0 8px 22px
        rgba(24,123,93,.16);
}

.register-btn:hover {
    background:
        #208967;

    box-shadow:
        0 10px 28px
        rgba(24,123,93,.20);
}


/* =========================
   HAMBURGER
========================= */

.menu-btn {
    color:
        #187b5d;

    background:
        #ffffff;

    border-color:
        rgba(24,123,93,.15);
}


/* =========================
   MOBILE MENU
========================= */

.mobile-menu {
    background:
        rgba(255,255,255,.985);

    border-color:
        rgba(24,123,93,.14);

    box-shadow:
        0 24px 60px
        rgba(20,60,48,.16);
}

.mobile-menu > a {
    color:
        #557068;
}

.mobile-menu > a:hover {
    color:
        #187b5d;

    background:
        rgba(24,123,93,.06);
}

.mobile-register {
    background:
        #187b5d !important;

    color:
        #ffffff !important;
}


/* =========================
   HERO
========================= */

.hero {
    background:
        #0b3025;

    border-color:
        rgba(255,255,255,.10);

    box-shadow:
        0 28px 70px
        rgba(17,58,45,.18);
}

.hero-overlay {
    background:
        linear-gradient(
            90deg,
            rgba(4,27,21,.92) 0%,
            rgba(4,27,21,.76) 35%,
            rgba(4,27,21,.40) 66%,
            rgba(4,27,21,.22) 100%
        ),
        linear-gradient(
            0deg,
            rgba(4,27,21,.42),
            transparent 62%
        );
}

.hero::after {
    border-color:
        rgba(255,255,255,.12);
}

.welcome {
    background:
        rgba(255,255,255,.07);

    border-color:
        rgba(255,255,255,.18);

    color:
        rgba(255,255,255,.88);
}

.hero h1 {
    color:
        #ffffff;
}

.hero h1 span {
    color:
        #62ddb2;

    text-shadow:
        0 0 28px
        rgba(98,221,178,.16);
}

.hero h3 {
    color:
        rgba(255,255,255,.94);
}

.hero-content > p {
    color:
        rgba(255,255,255,.69);
}


/* =========================
   BUTTONS
========================= */

.btn-primary {
    background:
        #58d9ad;

    color:
        #06281e;

    box-shadow:
        0 12px 30px
        rgba(68,212,166,.20);
}

.btn-primary:hover {
    box-shadow:
        0 15px 34px
        rgba(68,212,166,.26);
}

.btn-secondary {
    color:
        #ffffff;

    border-color:
        rgba(255,255,255,.22);

    background:
        rgba(255,255,255,.065);
}

.btn-secondary:hover {
    background:
        rgba(255,255,255,.11);

    border-color:
        rgba(255,255,255,.34);
}


/* =========================
   HERO NUMBER
========================= */

.hero-number {
    color:
        rgba(255,255,255,.55);
}

.hero-number .selected {
    background:
        #58d9ad;

    color:
        #06281e;
}


/* =========================
   QUICK CARDS
========================= */

.quick-card {
    background:
        rgba(255,255,255,.98);

    border-color:
        rgba(24,123,93,.11);

    box-shadow:
        0 10px 28px
        rgba(20,60,48,.07);
}

.quick-card:hover {
    background:
        #ffffff;

    border-color:
        rgba(24,123,93,.24);

    box-shadow:
        0 16px 34px
        rgba(20,60,48,.11);
}

.quick-icon {
    background:
        #edf7f2;

    border-color:
        rgba(24,123,93,.10);

    color:
        #187b5d;
}

.quick-info h3 {
    color:
        #17382f;
}

.quick-info p {
    color:
        #7d948b;
}

.arrow {
    color:
        #187b5d;
}


/* =========================
   CONTENT CARDS
========================= */

.about-card,
.program-card,
.servant-card,
.gallery-item {
    background:
        #ffffff;

    border-color:
        rgba(24,123,93,.10);

    box-shadow:
        0 12px 32px
        rgba(20,60,48,.07);
}

.about-card:hover,
.program-card:hover,
.servant-card:hover,
.gallery-item:hover {
    border-color:
        rgba(24,123,93,.20);
}

.about-content h2,
.section-heading h2,
.section-title h2,
.card-title h3,
.program-info h3,
.servant-card h3 {
    color:
        #17382f;
}

.about-content h2 span,
.section-heading h2 span {
    color:
        #187b5d;
}

.about-content p,
.section-title p,
.program-info p,
.servant-card span {
    color:
        #789087;
}

.label,
.text-link,
.view-all,
.card-title a {
    color:
        #187b5d;
}


/* =========================
   PROGRAM
========================= */

.card-title {
    border-bottom-color:
        #edf2ef;
}

.program {
    border-bottom-color:
        #edf2ef;
}

.program .dot {
    background:
        #2da77d;

    box-shadow:
        0 0 0 5px
        rgba(45,167,125,.10);
}

.program-date {
    background:
        #edf7f2;

    color:
        #187b5d;
}

.program-date span {
    color:
        #82978f;
}


/* =========================
   CONTACT
========================= */

.contact-card {
    background:
        #0b3025;

    box-shadow:
        0 16px 38px
        rgba(17,58,45,.14);
}

.contact-overlay {
    background:
        linear-gradient(
            180deg,
            rgba(4,27,21,.05),
            rgba(4,27,21,.91)
        );
}

.contact-content .label {
    color:
        #6bdeb6;
}

.contact-content h2 {
    color:
        #ffffff;
}

.contact-content p {
    color:
        rgba(255,255,255,.68);
}

.socials a {
    color:
        #c9eee0;

    background:
        rgba(255,255,255,.06);

    border-color:
        rgba(255,255,255,.16);
}

.socials a:hover {
    color:
        #06281e;

    background:
        #58d9ad;

    border-color:
        #58d9ad;
}


/* =========================
   SERVANTS
========================= */

.servant-avatar {
    background:
        linear-gradient(
            135deg,
            rgba(24,123,93,.13),
            rgba(24,123,93,.035)
        );

    border-color:
        rgba(24,123,93,.14);

    color:
        #187b5d;
}

.servant-card:hover {
    border-color:
        rgba(24,123,93,.24);

    box-shadow:
        0 17px 38px
        rgba(20,60,48,.10);
}


/* =========================
   GALLERY
========================= */

.gallery-item {
    background:
        #eef4f1;
}

.gallery-item::after {
    background:
        linear-gradient(
            180deg,
            transparent 60%,
            rgba(5,33,25,.18)
        );
}


/* =========================
   MEMORIES
========================= */

.memories-section {
    background:
        #ffffff;

    border-color:
        rgba(24,123,93,.10);

    box-shadow:
        0 22px 55px
        rgba(20,60,48,.09);
}

.memories-content h2 {
    color:
        #17382f;
}

.memories-content h2 span {
    color:
        #187b5d;
}

.memories-content p {
    color:
        #789087;
}

.memories-image {
    background:
        #eaf3ef;
}


/* =========================
   FOOTER
========================= */

.footer {
    background:
        #08271e;

    border-top-color:
        rgba(24,123,93,.14);
}

.footer h3,
.footer h3 span {
    color:
        #ffffff;
}

.footer p {
    color:
        rgba(255,255,255,.58);
}

.footer-socials a {
    color:
        #63dcb2;

    border-color:
        rgba(99,220,178,.16);

    background:
        rgba(99,220,178,.04);
}

.footer-socials a:hover {
    color:
        #08271e;

    background:
        #63dcb2;

    border-color:
        #63dcb2;
}


/* =========================
   KERAMON
========================= */

.keramon-label,
.keramon-more,
.keramon-slide-info span {
    color:
        #55dcae;
}

.keramon-more {
    border-color:
        rgba(85,220,174,.22);
}

.keramon-more:hover {
    background:
        #55dcae;

    color:
        #06271e;
}

.keramon-media {
    background:
        #07110d;

    border-color:
        rgba(85,220,174,.15);

    box-shadow:
        0 15px 42px
        rgba(0,0,0,.20);
}

.keramon-category {
    color:
        #55dcae;

    background:
        rgba(5,17,12,.72);

    border-color:
        rgba(85,220,174,.25);
}

.keramon-arrow {
    background:
        rgba(5,17,12,.72);

    color:
        #55dcae;

    border-color:
        rgba(85,220,174,.24);
}

.keramon-arrow:hover {
    background:
        #55dcae;

    color:
        #06271e;
}

.keramon-dots button.active {
    background:
        #55dcae;

    box-shadow:
        0 0 10px
        rgba(85,220,174,.48);
}


/* =========================
   VIDEO
========================= */

.video-heading span,
.video-text span {
    color:
        #55dcae;
}

.video-slider {
    background:
        #050908;

    box-shadow:
        0 25px 70px rgba(0,0,0,.35),
        0 0 50px rgba(85,220,174,.025);
}

.video-arrow:hover {
    background:
        #55dcae;

    color:
        #06271e;
}

.video-sound-button:hover {
    background:
        #55dcae !important;

    color:
        #06271e !important;

    border-color:
        #55dcae !important;
}

.video-mute-button:hover,
.video-mute-button.muted {
    background:
        #55dcae;

    color:
        #06271e;

    border-color:
        #55dcae;
}

.video-dot.active {
    background:
        #55dcae;
}


/* =========================
   MOBILE PALETTE
========================= */

@media (max-width: 720px) {

    .header {
        background:
            rgba(255,255,255,.96);
    }

    .mobile-menu {
        background:
            rgba(255,255,255,.985);
    }

    .hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(4,24,18,.26),
                rgba(4,24,18,.84) 74%
            ),
            linear-gradient(
                90deg,
                rgba(4,24,18,.20),
                rgba(4,24,18,.34)
            );
    }
}
/* =========================================================
   ROUND ALL CARDS / BOXES
   فقط گوشه‌ها گرد می‌شوند؛ اندازه و جای عناصر تغییر نمی‌کند
   ========================================================= */

.quick-card,
.about-card,
.program-card,
.contact-card,
.servant-card,
.gallery-item,
.memories-section,
.hero-card,
.program-item,
.feature-card,
.card-fx,
.comment-card,
.comment-form,
.course-card,
.activity-card,
.unit-card,
.post-card,
.blog-card,
.carousel-shell,
.media-card,
.join-box,
.search-box,
.modal-inner {
    border-radius: 18px !important;
    overflow: hidden;
}

/* تصاویر داخل کارت‌ها هم دقیقاً با گوشه کارت هماهنگ شوند */
.quick-card img,
.about-card img,
.program-card img,
.contact-card img,
.servant-card img,
.gallery-item img,
.memories-section img,
.hero-card img,
.program-item img,
.feature-card img,
.card-fx img,
.comment-card img,
.course-card img,
.activity-card img,
.unit-card img,
.post-card img,
.blog-card img,
.media-card img,
.join-box img {
    border-radius: inherit;
}

/* کارت‌هایی که خودت قبلاً بزرگ‌تر گرد کرده بودی،
   همان ظاهر نرم را حفظ می‌کنند */
.hero {
    border-radius: 22px;
}

.hero-card {
    border-radius: 22px;
}

.memories-section {
    border-radius: 20px;
}

.gallery-item {
    border-radius: 15px;
}

/* روی موبایل کمی جمع‌وجورتر */
@media (max-width: 720px) {

    .quick-card,
    .about-card,
    .program-card,
    .contact-card,
    .servant-card,
    .gallery-item,
    .memories-section,
    .hero-card,
    .program-item,
    .feature-card,
    .card-fx,
    .comment-card,
    .comment-form,
    .course-card,
    .activity-card,
    .unit-card,
    .post-card,
    .blog-card,
    .carousel-shell,
    .media-card,
    .join-box,
    .search-box,
    .modal-inner {
        border-radius: 15px !important;
    }

    .hero {
        border-radius: 18px;
    }
}
/* =========================================================
   HERO FULL WIDTH
   سکشن اول کل عرض صفحه را می‌گیرد
   اندازه و جای عناصر داخلی تغییر نمی‌کند
   ========================================================= */

.hero {
    width: 100vw !important;
    max-width: none !important;

    margin-right: calc(50% - 50vw) !important;
    margin-left: calc(50% - 50vw) !important;
}

/* در موبایل هم تمام عرض صفحه */
@media (max-width: 720px) {

    .hero {
        width: 100vw !important;
        margin-right: calc(50% - 50vw) !important;
        margin-left: calc(50% - 50vw) !important;
    }
}
/* =========================================================
   نمایش آئینی — جلوگیری از کش آمدن کارت
   ========================================================= */

.namayesh-card,
.namayesh-box,
.theater-card,
.theater-box,
.show-card,
.show-box {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
}

/* اگر کارت نمایش آئینی داخل container است،
   عرض طبیعی خودش را حفظ کند */
.namayesh-card > *,
.namayesh-box > *,
.theater-card > *,
.theater-box > *,
.show-card > *,
.show-box > * {
    max-width: 100%;
}

/* فقط HERO تمام‌عرض بماند */
.hero {
    width: 100vw !important;
    max-width: none !important;
}
/* =========================================================
   FIX HERO CONTENT WIDTH
   پس‌زمینه تمام‌عرض، ولی محتوای Hero کش نمی‌آید
   ========================================================= */

@media (min-width: 721px) {

    .hero {
        width: 100vw !important;
        max-width: none !important;

        margin-right: calc(50% - 50vw) !important;
        margin-left: calc(50% - 50vw) !important;

        /*
         * فضای داخلی مثل عرض قبلی سایت حفظ می‌شود
         * ولی خود سکشن تمام عرض صفحه است
         */
        padding-right:
            max(
                20px,
                calc((100vw - 1060px) / 2)
            ) !important;

        padding-left:
            max(
                20px,
                calc((100vw - 1060px) / 2)
            ) !important;
    }

}

/* =========================================================
   BACKGROUND PATTERN — SMALLER + LIGHTER + HEXAGON
   ========================================================= */

body::before {
    content: "";

    position: fixed;
    inset: 0;

    width: 100%;
    height: 100%;

    pointer-events: none;
    z-index: 0;

    /* کمرنگ‌تر */
    opacity: .20;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cg fill='none' stroke='%23177b5d' stroke-width='0.8' opacity='.65'%3E%3Cpath d='M22.5 0L45 13L67.5 0L90 13L90 39L67.5 52L67.5 78L45 90L22.5 78L0 90L0 64L22.5 51L22.5 26L0 13L22.5 0Z'/%3E%3Cpath d='M22.5 26L45 39L67.5 26L90 39L67.5 52L45 39L22.5 51L0 39L22.5 26Z'/%3E%3Cpath d='M45 13L45 39L45 65L22.5 78L0 65L22.5 52L45 65L67.5 78L90 65L67.5 52L45 39L22.5 26L45 13Z'/%3E%3C/g%3E%3C/svg%3E");

    background-repeat: repeat;

    /* کوچک‌تر */
    background-size: 135px 135px;

    background-position: center top;
}


/* =========================================================
   PATTERN INSIDE HERO
   ========================================================= */

.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;
    z-index: -1;

    /* خیلی ظریف‌تر داخل Hero */
    opacity: .07;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cg fill='none' stroke='%2355e6b3' stroke-width='0.8' opacity='.75'%3E%3Cpath d='M22.5 0L45 13L67.5 0L90 13L90 39L67.5 52L67.5 78L45 90L22.5 78L0 90L0 64L22.5 51L22.5 26L0 13L22.5 0Z'/%3E%3Cpath d='M22.5 26L45 39L67.5 26L90 39L67.5 52L45 39L22.5 51L0 39L22.5 26Z'/%3E%3Cpath d='M45 13L45 39L45 65L22.5 78L0 65L22.5 52L45 65L67.5 78L90 65L67.5 52L45 39L22.5 26L45 13Z'/%3E%3C/g%3E%3C/svg%3E");

    background-repeat: repeat;

    background-size: 135px 135px;

    background-position: center center;
}


/* موبایل */
@media (max-width: 720px) {

    body::before {
        opacity: .16;
        background-size: 95px 95px;
    }

    .hero::before {
        opacity: .055;
        background-size: 95px 95px;
    }
}
/* =========================
   ONLY BACKGROUND DAY / NIGHT
========================= */

body {
    background: #ffffff !important;
}

html[data-theme="dark"] body {
    background: #06130f !important;
}
/* =====================================================
   THEME TOGGLE — FINAL VERSION
   دکمه شب / روز
===================================================== */

/* =====================================================
   THEME TOGGLE — FINAL
===================================================== */

.theme-toggle {
    width: 36px;
    height: 36px;

    padding: 0;
    margin: 0;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 36px;

    border: 2px solid #20d6b2;
    border-radius: 50%;

    background: #ffffff;
    color: #20d6b2;

    cursor: pointer;

    box-sizing: border-box;

    -webkit-appearance: none;
    appearance: none;

    box-shadow:
        0 0 0 1px rgba(32, 214, 178, .08),
        0 4px 14px rgba(0, 0, 0, .10);

    transition:
        background .25s ease,
        border-color .25s ease,
        box-shadow .25s ease,
        transform .15s ease;
}


/* =====================================================
   SVG های قبلی کاملاً مخفی
===================================================== */

.theme-toggle svg {
    display: none !important;
}


/* =====================================================
   آیکون اصلی — فقط یک عدد در هر لحظه
===================================================== */

.theme-toggle::before {
    content: "☾";

    position: absolute;

    top: 50%;
    left: 50%;

    width: 20px;
    height: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translate(-50%, -50%);

    color: #20d6b2;

    font-family: Arial, sans-serif;
    font-size: 21px;
    font-weight: 400;

    line-height: 1;

    pointer-events: none;
}


/* =====================================================
   حالت شب → خورشید
===================================================== */

html[data-theme="dark"] .theme-toggle::before {
    content: "☀";
    font-size: 19px;
}


/* =====================================================
   HOVER
===================================================== */

.theme-toggle:hover {
    box-shadow:
        0 0 0 1px rgba(32, 214, 178, .16),
        0 5px 18px rgba(32, 214, 178, .14);
}


/* =====================================================
   CLICK
===================================================== */

.theme-toggle:active {
    transform: scale(.94);
}


/* =====================================================
   FOCUS
===================================================== */

.theme-toggle:focus-visible {
    outline: 2px solid #20d6b2;
    outline-offset: 3px;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 720px) {

    .theme-toggle {
        width: 36px;
        height: 36px;
        flex: 0 0 36px;
    }

}

/* =====================================================
   ICON BASE
===================================================== */

.theme-toggle .icon-moon,
.theme-toggle .icon-sun {

    position: absolute;

    top: 50%;
    left: 50%;

    width: 20px;
    height: 20px;

    margin: 0;
    padding: 0;

    display: block;

    transform: translate(-50%, -50%);

    color: #20d6b2;

    pointer-events: none;

    box-sizing: border-box;
}


/* =====================================================
   حالت روز
   فقط ماه نمایش داده شود
===================================================== */

.theme-toggle .icon-moon {
    display: block;
}

.theme-toggle .icon-sun {
    display: none;
}


/* =====================================================
   حالت شب
   فقط خورشید نمایش داده شود
===================================================== */

html[data-theme="dark"] .theme-toggle .icon-moon {
    display: none;
}

html[data-theme="dark"] .theme-toggle .icon-sun {
    display: block;
}


/* =====================================================
   HOVER
===================================================== */

.theme-toggle:hover {
    box-shadow:
        0 0 0 1px rgba(32, 214, 178, .16),
        0 5px 18px rgba(32, 214, 178, .14);
}


/* =====================================================
   CLICK
===================================================== */

.theme-toggle:active {
    transform: scale(.94);
}


/* =====================================================
   FOCUS
===================================================== */

.theme-toggle:focus-visible {
    outline: 2px solid #20d6b2;
    outline-offset: 3px;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 720px) {

    .theme-toggle {
        width: 36px;
        height: 36px;
        flex: 0 0 36px;
    }

    .theme-toggle .icon-moon,
    .theme-toggle .icon-sun {
        width: 20px;
        height: 20px;

        top: 50%;
        left: 50%;

        transform: translate(-50%, -50%);
    }
}
/* =====================================================
   THEME TOGGLE — FINAL
===================================================== */

.theme-toggle {
    width: 36px;
    height: 36px;

    padding: 0;
    margin: 0;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 36px;

    border: 2px solid #20d6b2;
    border-radius: 50%;

    background: #ffffff;
    color: #20d6b2;

    cursor: pointer;

    overflow: hidden;

    box-sizing: border-box;

    -webkit-appearance: none;
    appearance: none;

    box-shadow:
        0 0 0 1px rgba(32, 214, 178, .08),
        0 4px 14px rgba(0, 0, 0, .10);

    transition:
        background .25s ease,
        border-color .25s ease,
        box-shadow .25s ease,
        transform .15s ease;
}


/* =====================================================
   آیکون‌ها
===================================================== */

.theme-toggle .theme-icon {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0;
    padding: 0;

    color: #20d6b2;

    font-family: Arial, sans-serif;
    font-size: 21px;
    font-weight: 400;

    line-height: 1;

    text-align: center;

    pointer-events: none;

    transition:
        opacity .2s ease,
        transform .2s ease;
}


/* =====================================================
   حالت روز → فقط ماه
===================================================== */

.theme-toggle .moon {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.theme-toggle .sun {
    opacity: 0;
    visibility: hidden;
    transform: scale(.6);
}


/* =====================================================
   حالت شب → فقط خورشید
===================================================== */

html[data-theme="dark"] .theme-toggle .moon {
    opacity: 0;
    visibility: hidden;
    transform: scale(.6);
}

html[data-theme="dark"] .theme-toggle .sun {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}


/* =====================================================
   خیلی مهم:
   اگر قبلاً آیکون CSS ساخته بودیم، کاملاً خاموش شود
===================================================== */

.theme-toggle::before,
.theme-toggle::after {
    content: none !important;
    display: none !important;
}


/* =====================================================
   HOVER
===================================================== */

.theme-toggle:hover {
    box-shadow:
        0 0 0 1px rgba(32, 214, 178, .16),
        0 5px 18px rgba(32, 214, 178, .14);
}


/* =====================================================
   CLICK
===================================================== */

.theme-toggle:active {
    transform: scale(.94);
}


/* =====================================================
   FOCUS
===================================================== */

.theme-toggle:focus-visible {
    outline: 2px solid #20d6b2;
    outline-offset: 3px;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 720px) {

    .theme-toggle {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .theme-toggle .theme-icon {
        font-size: 21px;
    }
}
.hero-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.visual-center{

    color: #c4d2ce;
}
 /* ---------- Footer ---------- */
  .site-footer {
    position: relative;
    background: var(--footer-bg);
    color: rgba(255,255,255,0.72);
  }
  .site-footer::before {
    content: "";
    position: absolute; inset-inline: 0; top: 0; height: 1px;
    background: linear-gradient(to right, transparent, rgba(110,231,183,0.5), transparent);
  }
  .footer-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-6); padding-block: var(--s-7) var(--s-6); }
  .brand-name.on-footer { color: #fff; margin-block-end: var(--s-3); }
  .footer-text { font-size: var(--fs-sm); max-width: 38ch; }
  .footer-heading { color: #fff; font-size: var(--fs-md); font-weight: 800; margin-block-end: var(--s-4); }
  .footer-links { list-style: none; display: flex; flex-direction: column; gap: var(--s-2); }
  .footer-links a, .footer-links li { font-size: var(--fs-sm); }
  .footer-links a { display: inline-block; transition: color var(--dur-1) var(--ease), transform var(--dur-2) var(--ease); }
  .footer-links a:hover { color: #6ee7b7; transform: translateX(-4px); }
  .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-block: var(--s-4); text-align: center; font-size: var(--fs-xs); color: rgba(255,255,255,0.5); }
  @media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 992px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
 .footer-links{
    color: #c4d2ce;
 }