


/*! الخطوط */
@font-face {
    font-family: "font_regular";
    src: url("../assets/fonts/VIP/VIP Rawy Regular.otf");
}
@font-face {
    font-family: "font_bold";
    src: url("../assets/fonts/VIP/VIP Rawy Bold Bold.otf");
}

/*! الألوان الرئيسية */
:root {
    /* ---- Brand colors ---- */
    --color-primary: #42605f;          /* dark teal  — gradient end   */
    --color-primary-dark: #35504f;
    --color-primary-light: #8b967e;    /* sage green — gradient start */
    --color-primary-lighter: #aab3a0;
    --color-primary-surface: #eef1ea;  /* very light sage for section backgrounds */
    --color-primary-surface-2: #f4f6f2;

    /* ---- Primary gradient (the main brand fill) ---- */
    --gradient-primary: linear-gradient(90deg, #8b967e 0%, #42605f 100%);
    --gradient-primary-vertical: linear-gradient(180deg, #8b967e 0%, #42605f 100%);
    --gradient-primary-diagonal: linear-gradient(135deg, #8b967e 0%, #42605f 100%);
    --gradient-primary-soft: linear-gradient(90deg, rgba(139, 150, 126, 0.12) 0%, rgba(66, 96, 95, 0.12) 100%);

    /* ---- Merchant rank accents (رتب التجار) ---- */
    --color-rank-platinum: #6e93a8;
    --color-rank-gold: #d9a441;
    --color-rank-green: #7fa05c;
    
    --white-color: #fff;
    --black-color: #000;
    --main-color: #42605F;
    --second-color: #8B967E;
}

body {
    font-family: "font_bold";
    direction: rtl;
    overflow-x: hidden;
}

::selection {
    background-color: var(--second-color);
    color: var(--white-color);
}

* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    outline: none;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

*:focus {
    outline: none;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

button:focus,
a {
    outline: none;
}

button {
    border: none;
}

*:focus {
    outline: none;
}


h1,
h2,
h3,
h4,
h5,
h6,
p,
figure {
    margin: 0;
}

p,
a {
    font-family: "font_regular";
}

img {
    width: 100%;
    height: 100%;
}

/*! Globals */
.main-container {
    width: 90%;
    margin: auto;
}

.main-title {
    display: flex;
    justify-content: center;
    align-items: end;
    height: 100%;
    padding-bottom: 30px;
    font-size: clamp(40px, 4vw, 50px);
}

.main-btn {
    position: relative;
    overflow: hidden;
    background-color: transparent;
    color: var(--white-color);
    border: 2px solid var(--white-color);
    padding: 7px;
    border-radius: 30px;
    width: 200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: auto;
    font-size: 22px;
    transition: all 0.3s ease;
}
.main-btn .arrow-btn {
    position: relative;
    z-index: 2;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--main-color);
    font-size: 18px;
}
.main-btn .arrow-btn::before {
    content: "";
    position: absolute;
    width: 35px;
    height: 35px;
    background-color: var(--white-color);
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.3s ease;
}
.main-btn .arrow-btn i {
    transform: rotate(-32deg);
    transition: all 0.3s ease;
}

.main-btn:hover {
    background-color: var(--white-color);
    color: var(--main-color);
}

.main-btn:hover .arrow-btn {
    background-color: var(--main-color);
    color: var(--white-color);
}
.main-btn:hover .arrow-btn i {
    transform: rotate(0deg);
}

.main-title {
    display: flex;
    justify-content: center;
    align-items: end;
    height: 100%;
    padding-bottom: 30px;
    font-size: 50px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    transition: transform 0.5s ease;
}

.pages.main-title {
    z-index: 1;
}
.main-btn .arrow-btn i {
    position: relative;
    z-index: 2;
    transform: rotate(-32deg);
}
.main-btn:hover .arrow-btn::before {
    transform: translate(-50%, -50%) scale(10);
}
.main-btn > span:first-child {
    position: relative;
    z-index: 3;
    transition: color 0.4s ease;
}
.main-btn:hover > span:first-child {
    color: var(--main-color);
}
.main-btn:hover .arrow-btn i {
    animation: arrowMove 0.6s ease-in-out infinite alternate;
}
@keyframes arrowMove {
    from {
        transform: rotate(-32deg) translate(0, 0);
    }
    to {
        transform: rotate(-32deg) translate(4px, -4px);
    }
}