/* =========================================================
   RAYAN SETAK - STATIC PAGES
   ========================================================= */

.static-page {
    width: min(1180px, calc(100% - 32px));
    margin: 42px auto 80px;
    direction: rtl;
    color: #1d2939;
}

/* =========================================================
   PAGE HEADER
   ========================================================= */

.static-page-head {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
    padding: 24px 26px;
    border: 1px solid #e5ebf3;
    border-radius: 22px;
    background:
        linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 10px 35px rgba(16, 24, 40, 0.06);
    overflow: hidden;
}

.static-page-head::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(
        180deg,
        #1769e0,
        #42a5f5
    );
}

.static-page-icon {
    flex: 0 0 62px;
    width: 62px;
    height: 62px;

    display: grid;
    place-items: center;

    border-radius: 18px;

    color: #fff;
    font-size: 23px;

    background: linear-gradient(
        135deg,
        #1769e0,
        #42a5f5
    );

    box-shadow:
        0 12px 28px rgba(23, 105, 224, 0.25);
}

.static-page-head h1 {
    margin: 0 0 8px;

    color: #172033;

    font-size: 25px;
    font-weight: 900;

    line-height: 1.7;
}

.static-page-head p {
    max-width: 900px;

    margin: 0;

    color: #667085;

    font-size: 14px;
    line-height: 2;
}

/* =========================================================
   MAIN CARD
   ========================================================= */

.static-page-card {
    position: relative;

    padding: 34px 38px;
    margin-bottom: 22px;

    border: 1px solid #e5ebf3;
    border-radius: 22px;

    background: #fff;

    box-shadow:
        0 8px 30px rgba(16, 24, 40, 0.055);
}

/* =========================================================
   ABOUT HEADER
   ========================================================= */

.about-page-header {
    padding-bottom: 8px;
}

.about-page-header h1 {
    position: relative;

    margin: 0 0 22px;
    padding-right: 16px;

    color: #172033;

    font-size: 23px;
    font-weight: 900;

    line-height: 1.9;
}

.about-page-header h1::before {
    content: "";

    position: absolute;
    right: 0;
    top: 10px;

    width: 5px;
    height: 34px;

    border-radius: 10px;

    background: linear-gradient(
        180deg,
        #1769e0,
        #42a5f5
    );
}

.static-page-card section {
    padding: 28px 0;

    border-bottom: 1px solid #edf1f6;
}

.static-page-card section:last-child {
    border-bottom: 0;
}

.static-page-card section h2 {
    position: relative;

    margin: 0 0 18px;
    padding-right: 14px;

    color: #172033;

    font-size: 19px;
    font-weight: 900;

    line-height: 1.8;
}

.static-page-card section h2::before {
    content: "";

    position: absolute;
    right: 0;
    top: 8px;

    width: 4px;
    height: 25px;

    border-radius: 8px;

    background: #1769e0;
}

.static-page-card p {
    margin: 0 0 15px;

    color: #475467;

    font-size: 15px;
    line-height: 2.15;

    text-align: justify;
}

.static-page-card p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   LISTS
   ========================================================= */

.static-page-card ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 10px 24px;

    margin: 20px 0;
    padding: 0;

    list-style: none;
}

.static-page-card li {
    position: relative;

    padding: 11px 36px 11px 12px;

    border: 1px solid #e9eef5;
    border-radius: 12px;

    background: #f9fbfe;

    color: #475467;

    font-size: 14px;
    line-height: 1.8;

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.static-page-card li::before {
    content: "\f00c";

    position: absolute;

    right: 12px;
    top: 50%;

    width: 18px;
    height: 18px;

    display: grid;
    place-items: center;

    transform: translateY(-50%);

    border-radius: 50%;

    background: #eaf3ff;

    color: #1769e0;

    font-family: "Font Awesome 6 Free";
    font-size: 10px;
    font-weight: 900;
}

.static-page-card li:hover {
    border-color: #cdddf3;
    background: #f5f9ff;
    transform: translateY(-2px);
}

/* =========================================================
   INFO CARDS
   ========================================================= */

.static-info-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 20px;

    margin-bottom: 22px;
}

.static-info-card {
    position: relative;

    padding: 28px 22px;

    text-align: center;

    border: 1px solid #e3eaf3;
    border-radius: 22px;

    background: #fff;

    box-shadow:
        0 8px 28px rgba(16, 24, 40, 0.05);

    overflow: hidden;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.static-info-card::before {
    content: "";

    position: absolute;

    right: 0;
    top: 0;

    width: 100%;
    height: 3px;

    background: linear-gradient(
        90deg,
        #1769e0,
        #42a5f5
    );
}

.static-info-card:hover {
    transform: translateY(-5px);

    border-color: #d5e3f5;

    box-shadow:
        0 16px 35px rgba(16, 24, 40, 0.09);
}

.static-info-card a {
    display: block;

    color: inherit;
    text-decoration: none;
}

.static-info-card i {
    display: grid;
    place-items: center;

    width: 54px;
    height: 54px;

    margin: 0 auto 15px;

    border-radius: 16px;

    color: #1769e0;
    background: #edf5ff;

    font-size: 21px;

    transition:
        background .2s ease,
        color .2s ease;
}

.static-info-card:hover i {
    color: #fff;

    background: linear-gradient(
        135deg,
        #1769e0,
        #42a5f5
    );
}

.static-info-card h3 {
    margin: 0 0 9px;

    color: #172033;

    font-size: 17px;
    font-weight: 900;
}

.static-info-card p {
    margin: 0;

    color: #667085;

    font-size: 14px;
    line-height: 2;
}

/* =========================================================
   CONTACT
   ========================================================= */

.contact-list {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 14px;

    margin-top: 20px;
}

.contact-list div {
    display: flex;
    align-items: center;

    min-height: 58px;

    gap: 13px;

    padding: 13px 16px;

    border: 1px solid #e6edf5;
    border-radius: 15px;

    background: #f8fbff;

    color: #344054;

    font-size: 14px;

    transition:
        border-color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.contact-list div:hover {
    border-color: #cbdcf2;
    background: #f3f8ff;

    transform: translateY(-2px);
}

.contact-list i {
    flex: 0 0 34px;

    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    background: #eaf3ff;

    color: #1769e0;

    font-size: 14px;
}

/* =========================================================
   RULES PAGE
   ========================================================= */

.rules-page {
    padding: 10px 25px;
}

.rule-item {
    display: flex;

    gap: 16px;

    padding: 23px 0;

    border-bottom: 1px solid #edf0f5;
}

.rule-item:last-child {
    border-bottom: 0;
}

.rule-item > span {
    flex: 0 0 36px;

    width: 36px;
    height: 36px;

    display: grid;
    place-items: center;

    border-radius: 11px;

    color: #1769e0;
    background: #edf5ff;

    font-size: 14px;
    font-weight: 900;
}

.rule-item h2 {
    margin: 0 0 8px;

    color: #172033;

    font-size: 17px;
    font-weight: 900;
}

.rule-item p {
    margin: 0;

    color: #667085;

    line-height: 2;
}

/* =========================================================
   RESPONSIVE - TABLET
   ========================================================= */

@media (max-width: 900px) {

    .static-page {
        width: min(100% - 24px, 1180px);
        margin-top: 28px;
    }

    .static-page-card {
        padding: 28px;
    }

    .static-page-card ul {
        grid-template-columns: 1fr;
    }

    .static-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

/* =========================================================
   RESPONSIVE - MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .static-page {
        width: calc(100% - 18px);

        margin:
            18px auto
            45px;
    }

    .static-page-head {
        align-items: flex-start;

        gap: 13px;

        padding: 19px 17px;

        border-radius: 18px;
    }

    .static-page-icon {
        flex: 0 0 48px;

        width: 48px;
        height: 48px;

        border-radius: 14px;

        font-size: 18px;
    }

    .static-page-head h1 {
        font-size: 19px;
        line-height: 1.7;
    }

    .static-page-head p {
        font-size: 12.5px;
        line-height: 1.9;
    }

    .static-page-card {
        padding: 22px 18px;

        border-radius: 18px;
    }

    .about-page-header h1 {
        font-size: 19px;
        line-height: 1.9;

        padding-right: 13px;
    }

    .about-page-header h1::before {
        width: 4px;
        height: 29px;

        top: 9px;
    }

    .static-page-card section {
        padding: 23px 0;
    }

    .static-page-card section h2 {
        font-size: 17px;

        margin-bottom: 14px;
    }

    .static-page-card section h2::before {
        width: 3px;
        height: 22px;

        top: 8px;
    }

    .static-page-card p {
        font-size: 14px;
        line-height: 2.1;

        text-align: right;
    }

    .static-page-card ul {
        grid-template-columns: 1fr;

        gap: 8px;

        margin-top: 16px;
    }

    .static-page-card li {
        padding: 10px 34px 10px 10px;

        font-size: 13px;
    }

    .static-info-grid {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .static-info-card {
        padding: 23px 18px;

        border-radius: 18px;
    }

    .static-info-card h3 {
        font-size: 16px;
    }

    .static-info-card p {
        font-size: 13px;
    }

    .contact-list {
        grid-template-columns: 1fr;

        gap: 10px;
    }

    .contact-list div {
        min-height: 54px;

        font-size: 13px;
    }

    .rules-page {
        padding: 5px 10px;
    }

    .rule-item {
        gap: 12px;

        padding: 19px 0;
    }

    .rule-item > span {
        flex: 0 0 32px;

        width: 32px;
        height: 32px;
    }

}

/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .static-page {
        width: calc(100% - 14px);
    }

    .static-page-head {
        padding: 16px 14px;
    }

    .static-page-head h1 {
        font-size: 17px;
    }

    .static-page-head p {
        font-size: 12px;
    }

    .static-page-card {
        padding: 19px 15px;
    }

    .static-page-card section h2 {
        font-size: 16px;
    }

    .static-page-card p {
        font-size: 13.5px;
    }

}