

/*! الخطوط */
/* @import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&display=swap'); */

@font-face {
    font-family: "font_main";
    src: url("../fonts/Almarai/Almarai-Regular.ttf");
}
@font-face {
    font-family: "font_bold";
    src: url("../fonts/Almarai/Almarai-Bold.ttf");
}
@font-face {
    font-family: "font_extra-bold";
    src: url("../fonts/Almarai/Almarai-ExtraBold.ttf");
}
@font-face {
    font-family: "font_light";
    src: url("../fonts/Almarai/Almarai-Light.ttf");
}


/*! الألوان الرئيسية */
:root {
    --white-color: #fff;
    --black-color: #000;
    --main-color: rgba(0, 138, 170, 1);
    --bg-section: rgba(231, 243, 247, 1);

    --main-color: #008AAA;
    --second-color: #1C748E;
    --bg-color: #E1F1F5;
    --grdiant-color-1: linear-gradient(180deg, #1C748E 0%, #008AAA 134.04%);
    --grdiant-color-2: linear-gradient(90deg, #008AAA 0%, #003744 100%);

    --text-color: #262626 ;

    --second-color:#013D4B ;
    --third-color:#9CA15D ;
}

body {
    font-family: "font_main", sans-serif;
    direction: rtl;
}

::selection {
    background-color: rgba(0, 138, 170, 1);
    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: 0 auto;
}
.section {
    padding-block: 65px;
    margin-top: 80px;
}
.section-not-mt {
    padding-block: 65px;
}

/*! ================ Main-Title ================ */
.head-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 70px;
    flex-wrap: wrap;
    gap: 20px;
}
.main-title {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 50%;
}
.main-title h2 {
    font-size: clamp(25px, 4vw, 40px);
    font-weight: 700;
    display: flex;
    align-items: end;
}
.main-title h2 img {
    width: 40px;
    height: 35px;
    object-fit: contain;
}
.main-title p {
    font-size: clamp(16px, 3vw, 20px);
    font-weight: 400;
    padding-right: 40px;
}

/*! ================ Main-Btn ================ */
.secondary-btn,
.main-btn {
    width: fit-content;
    background-color: var(--main-color);
    color: var(--white-color);
    font-size: clamp(12px, 3vw, 16px);
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 25px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 138, 170, 1);
}
.main-btn i {
    transform: rotate(45deg);
    transition: .3s;
}
/* Hover Button */
.main-btn:hover {
    background-color: rgba(0, 110, 136, 1);
    transform: scale(1.06);
    box-shadow: 0 6px 20px rgba(0, 138, 170, 0.45);
}
.main-btn:hover i {
    transform: rotate(0deg);
}
.third-btn {
    background-color: var(--white-color);
    color: var(--main-color);
}
.third-btn:hover {
    color: var(--white-color);
}
.secondary-btn {
    background-color: transparent;
    color:  var(--main-color);
}
.secondary-btn:hover {
    background-color: rgba(0, 138, 170, 0.1);
    transform: scale(1.06);
    box-shadow: 0 6px 20px rgba(0, 138, 170, 0.45);
}

.pages{
    height: 100%;
}
/* head-title */
.heading-title {
    background-color: var(--main-color);
    color: var(--white-color);
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.heading-title .content {
    width: 90%;
    margin: 0 auto;
}

.heading-title .content h2 {
    /* font-size: 27px; */
    font-size: clamp(24px, 5vw, 27px);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 7px;
}
.heading-title .content h2 span {
    font-size: 20px;
    font-weight: 100;
}


/*! ================ Scroll-Btn ================ */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    z-index: 999;
    font-size: 24px;
    display: grid;
    place-items: center;
    color: white;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    background: linear-gradient(to top, var(--main-color) 0%, #e6e6e6 0%);
}
.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    animation: floatScrollTop 3s ease-in-out infinite;
}
@keyframes floatScrollTop {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
    }
    50% {
        transform: translateY(-12px);
        box-shadow: 0 15px 35px rgba(var(--main-color-rgb), 0.5);
    }
}
.scroll-top::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--main-color);
    opacity: 0.15;
    z-index: -1;
    transform: scale(1.3);
}
.scroll-top:hover::before {
    animation: outerGlow 2.5s ease-in-out infinite;
}
@keyframes outerGlow {
    0%, 100% {
        transform: scale(1.2);
        opacity: 0.15;
    }
    50% {
        transform: scale(1.4);
        opacity: 0.3;
    }
}
