/* Global Rules */
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css");
@font-face {
    font-family: "DGAgnadeen";
    src: url("../font/FontsFree-Net-URW-DIN-Arabic-1.ttf");
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    --transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    --txt-color: #f1f2f3;
    --txt-alt: #C19C4F ;
    --txt-gray: #abb8c3;
    --green-1: #20261d;
    --green-2: #2f352c;
    --green-3: #3d433a;
    --gradient-dark: 90deg, #283226 0%, #5a6158 100%;
    --bg-dark: #20261dbd;
    --bg-light: #fff;
}
body {
    direction: rtl;
    font-family: DGAgnadeen;
    background: #fff;
    position: relative;
}
p {
    line-height: 1.7;
}
textarea {
    background-color: #f1f2f3 !important;
    border-radius: 15px !important;
}
input,
select {
    background-color: #f1f2f3 !important;
    font-size: 14px !important;
    padding: 10px 20px !important;
    border-radius: 25px !important;
}
label {
    font-weight: bold;
}
h6 {
    line-height: 1.6;
}
input:focus,
select:focus,
textarea:focus {
    box-shadow: none !important;
    border-color: var(--txt-alt) !important;
    background: var(--bg-light) !important;
}
:link {
    text-decoration: none;
    color: inherit;
}
.section-padding {
    padding: 60px 0;
}
.heading {
    text-align: center;
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.6;
}
.text-alt {
    color: var(--txt-alt);
}
.bg-yellow {
    background-color: var(--txt-alt);
    color: var(--bg-light);
}
.bg-yellow:hover {
    background-color: #333;
    opacity: 0.9;
    color: var(--bg-light);
    transition: all 0.3s;
}
h2 {
    font-weight: 900;
}
/* ./Global Rules */

/* home */

.first {
    width: 100%;
    background: #20261d;
    color: var(--txt-color);
    word-spacing: 3px;
    font-size: 12px;
    text-align: center;
}
.second {
    width: 100%;
    background: var(--txt-alt);
    color: var(--txt-color);
    word-spacing: 3px;
    font-size: 12px;
    text-align: center;
}
.second a {
    color: var(--txt-color);
}
.second a span {
    width: 30px;
    height: 30px;
    background-color: var(--green-3);
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
.third {
    width: 100%;
    color: #fff;
    word-spacing: 3px;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    background: linear-gradient(90deg, #5a6158 0%, #283226 100%);
}
.third a {
    display: flex;
    height: 100%;
    margin: 0 !important;
    color: var(--txt-color);
    font-size: 18px;
    padding: 10px;
    background-color: var(--green-3);
}
.home {
    width: 100%;
    height: 100vh;
    background-size: cover;
    position: relative;
}
.home::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: var(--bg-dark);
}
.home .content {
    position: absolute;
    color: var(--txt-color);
    z-index: 1000;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.home .content h4 {
    line-height: 1.6;
}
.home .content p {
    background-color: var(--txt-alt);
    width: fit-content;
    margin: 20px auto;
    padding: 5px 15px;
}
@media (max-width: 768px) {
    .home .content {
        width: 100%;
        padding: 0 15px;
    }
    .home .content p {
        font-size: 14px;
    }
}
/* ./home */

/* navbar */
.navbar .nav-link {
    color: var(--txt-color) !important;
    font-weight: 800;
    margin: 0 8px;
    text-align: center;
}
.navbar .nav-link:hover {
    color: var(--txt-alt) !important;
}
.navbar .navbar-toggler {
    color: var(--txt-color) !important;
    border: none;
}
.navbar .navbar-toggler:focus {
    box-shadow: none !important;
}
/* ./navbar */

/* intro */
.intro {
    width: 100%;
    background-image: linear-gradient(var(--gradient-dark));

}
.intro h2 {
    font-size: 28px;
    font-weight: 600;
}
.intro p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.9;
}
/* ./intro */

/* about */
.about {
    width: 100%;
    background-color: var(--bg-light);
}
.about p {
    font-size: 16px;
}
/* ./about */

/* advice */
.advice {
    width: 100%;
    background-size: cover;
}
.advice .bg {
    background-color: var(--bg-dark);
    height: 100%;
    width: 100%;
}
.advice .icon {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--txt-alt);
    border: 5px solid var(--txt-color);
}
/* ./advice */

/* services */
.services {
    width: 100%;
    background-color: var(--bg-light);
}
.nav-pills .nav-link {
    border: 2px solid var(--green-1);
    color: var(--green-1);
}
.nav-pills .nav-link.active {
    background-color: var(--txt-alt) !important;
    border-color: var(--txt-alt);
    color: var(--txt-color);
}
.services .box i {
    color: var(--txt-alt);
    font-size: 60px;
}
.services .box h5 {
    font-weight: 600;
    font-size: 18px;
}
.services .box p {
    font-size: 14px;
    color: #666;
}
.services .box a {
    color: var(--txt-alt);
    font-weight: 700;
    position: relative;
}
.services .box a::after {
    content: '';
    width: 0;
    height: 1px;
    position: absolute;
    left: 0;
    bottom: 0;
    background: var(--txt-alt);
}
.services .box a:hover::after {
    transition: all 0.3s;
    width: 100%;
}
/* ./services */

/* values */
.values {
    width: 100%;
    /* background-image: linear-gradient(var(--gradient-dark)); */
}
.values .box i {
    color: var(--txt-color);
    font-size: 60px;
}
.values .box h5 {
    font-weight: 600;
}
.values .box p {
    font-size: 14px;
    color: var(--txt-color);
}
/* ./values */

/* advice-form */
.advice-form {
    width: 100%;
    background-color: var(--bg-light);
}
/* ./advice-form */

/* blog */
.blog {
    width: 100%;
    background-color: var(--txt-color);
}
.blog .card:hover {
    transition: all 0.5s;
    transform: scale(0.98);
}
/* ./blog */

/* footer */
footer {
    background: linear-gradient(var(--gradient-dark));
}
footer .social a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-color: #f1f2f313;
}
footer .content .box > span {
    color: var(--txt-gray);
}
footer .content .box a p {
    color: var(--txt-color);
    word-spacing: 2px;
}
footer .content .box a p:hover {
    color: var(--txt-alt);
}
.footer-bottom {
    padding: 20px 50px;
    padding-bottom: 60px !important;
    flex-wrap: wrap;
}
.last-footer {
    background: linear-gradient(90deg, #5a6158 0%, #283226 100%);
}
/* ./footer */

/* nav bottom */
.nav-bottom {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row-reverse;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 10000;
    background-color: #fff;
    padding: 5px;
    margin: 0 auto;;
}
.nav-bottom li {
    padding: 0 20px;
}
.nav-bottom li:nth-child(2) {
    border-left: 1px solid var(--txt-color);
    border-right: 1px solid var(--txt-color);
}
.nav-bottom li a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
    color: var(--green-1);
    font-weight: 600;
    font-size: 14px;
}
.nav-bottom li a:hover {
    color: var(--txt-alt);
}
/* ./nav bottom */
