/*! الخطوط */
@font-face {
    font-family: "font_black";
    src: url("../assets/fonts/PlayfairDisplay/PlayfairDisplay-Black.ttf");
}

@font-face {
    font-family: "font_medium";
    src: url("../assets/fonts/PlayfairDisplay/PlayfairDisplay-Medium.ttf");
}

@font-face {
    font-family: "font_bold";
    src: url("../assets/fonts/PlayfairDisplay/PlayfairDisplay-Bold.ttf");
}

@font-face {
    font-family: "font_SemiBold";
    src: url("../assets/fonts/PlayfairDisplay/PlayfairDisplay-SemiBold.ttf");
}


/*! الألوان الرئيسية */
:root {
    --white-color: #fff;
    --black-color: #000;
    --main-color: #C5A059;
    --second-color: #0A192F;
    --gradient-color: linear-gradient(179.79deg, #CCA55C 41.44%, #BD8D31 99.86%);

}

body {
    font-family: "font_SemiBold";
    direction: ltr;
}

::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;
}

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

/*! Globals */
.main-container {
    width: 90%;
    margin: auto;
}
.section {
    padding: 50px 0;
}
section {
    overflow: hidden;
}

.header-content{
    width: 53%;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.title-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.title-content {
    font-size: 1.4rem;
    background: linear-gradient(90deg, #BD8D31 -5.31%, #BD8D31 42.08%, #0A192F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;

    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
}

.title-line {
    display: block;
    height: 2px;
    width: 80px;
    background: linear-gradient(90deg, #BD8D31 -5.31%, #BD8D31 42.08%, #0A192F 100%);
    border-radius: 2px;

    background-size: 200% auto;
    animation: shimmer 3s linear infinite, pulse-width 3s ease-in-out infinite;
}
.desc-content{
    color: var(--black-color);
    font-size: 1.3rem;
    font-weight: 500;
    text-align: center;
}
@keyframes shimmer {
    0% {
        background-position: 200% center;
    }
    100% {
        background-position: -200% center;
    }
}

@keyframes pulse-width {
    0%, 100%
    {
        width: 80px;
        opacity: 1;
    }
    50%
    {
        width: 120px;
        pacity: 0.85;
    }
}

/*! Main-Btn */
.group-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}
.main-btn {
    color: var(--white-color);
    border: 1px solid var(--white-color);
    border-right: none;
    padding-block: 10px;
    padding-inline: 10px 35px;
    text-align: start;
    transition: .3s;
    position: relative;
}
.main-btn::before {
    content: "";
    position: absolute;
    width: 1px;
    height: 10px;
    right: 0;
    top: 0;
    background-color: var(--white-color);
    transition: .3s;
}
.main-btn::after {
    content: "";
    position: absolute;
    width: 1px;
    height: 10px;
    right: 0;
    bottom: 0;
    background-color: var(--white-color);
    transition: .3s;
}
.main-btn .line-btn {
    position: absolute;
    width: 25px;
    height: 1px;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--white-color);
    transition: .3s;
}
.main-btn .bg-btn {
    position: absolute;
    width: 0;
    height: 100%;
    right: 0;
    top: 0;
    background-color: var(--white-color);
    transition: .3s;
    z-index: -1;
}
.main-btn:hover::before,
.main-btn:hover::after {
    height: 0;
}
.main-btn:hover .line-btn {
    transform: translateY(-50%) rotate(90deg);
    right: -12px;
}

.head-title {
    background-image: linear-gradient(to right, #C5A059, #a98847, #24262B);
    color: var(--white-color);
    height: 110px;
    font-size: 16px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 9;

    background-size: 200% 100%;
    animation: gradientShift 4s ease-in-out infinite;
}
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.head-title::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url("../assets/images/bg-headTitle.svg");
    background-size: 40%;
    inset: 0;
    z-index: -1;
}
.head-title a {
    font-weight: bold;
    font-size:  25px;

    animation: fadeSlideIn 0.8s ease forwards, linkGlow 3s ease-in-out infinite;
}
.head-title span {
    font-size: 17px;
}
@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateX(-16px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes linkGlow {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.75;
    }
}


/*! ============= Whatsapp ============= */
.whatsapp-wrapper {
    position: fixed;
    bottom: 5%;
    left: 50px;
    display: flex;
    align-items: center;
    z-index: 99;
    gap: 10px;
    width: fit-content;
}
.whatsapp {
    width: 60px;
    height: 60px;
    cursor: pointer;
    animation: pulseGlow 2s infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 50%;
    background-image: linear-gradient(to right, #1FAF38, #60D669);
    padding: 10px;
}
.whatsapp-text {
    font-size: 14px;
    font-weight: bold;
    color: #25d366;
    background: var(--white-color);
    padding: 8px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.whatsapp:hover + .whatsapp-text {
    opacity: 1;
    transform: translateX(0);
}

@keyframes pulseGlow {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0px #25d366;
    }
    25% {
        transform: scale(1.1) rotate(5deg);
        box-shadow: 0 0 10px #25d366;
    }
    50% {
        transform: scale(1.2) rotate(-5deg);
        box-shadow: 0 0 20px #25d366;
    }
    75% {
        transform: scale(1.1) rotate(5deg);
        box-shadow: 0 0 10px #25d366;
    }
    100% {
        transform: scale(1) rotate(0deg);
        box-shadow: 0 0 0px #25d366;
    }
}









/* .main-btn:hover {
    color: var(--main-color);
    z-index: 1;
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.25);
    border: 2px solid var(--main-color);
}
.main-btn:hover .line-btn {
    transform: rotate(90deg);
    right: -12px;
}
.main-btn:hover .bg-btn {
    width: 100%;
} */


.pagination-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}
.pagination-wrapper nav {
    right: 50%;
    transform: translateX(50%);
    bottom: 30px;
    position: sticky;
    z-index: 998;
}

.pagination-wrapper .pagination {
    justify-content: center;
    margin-bottom: 0;
    gap: 6px;
    padding-left: 10px;
}

.pagination-wrapper .page-link {
    color: #C5A059;
    border-color: #C5A059;
    border-radius: 6px;
    min-width: 40px;
    text-align: center;
}

.pagination-wrapper .page-item.active .page-link {
    background-color: #C5A059;
    border-color: #C5A059;
    color: #fff;
}

.pagination-wrapper .page-link:hover {
    background-color: #C5A059;
    border-color: #C5A059;
    color: #fff;
}

.pagination-wrapper .page-item.disabled .page-link {
    color: rgba(197, 160, 89, 0.45);
    border-color: rgba(197, 160, 89, 0.35);
    background-color: transparent;
}
