:root {
  --green-dark: #025c5d;
  --gold: #b99c5c;
}

body {
  font-family: 'Tajawal', sans-serif;
    direction: rtl;
}

.topbar {
  background-color: var(--green-dark);
  color: white;
  font-size: 0.9rem;
}

.navbar-nav .nav-link {
  color: #025c5d !important;
  font-weight: 800;
  margin-left: 1rem;
}

.navbar-nav .nav-link:hover {
  color: var(--gold) !important;
}
.hero-section {
    position: relative;
    min-height: 100vh;
}
.hero-section .form-control:focus {
    outline: none;
    box-shadow: none;
}
.hero-section .search-bar input::placeholder {
    color: #888;
    font-size: 0.95rem;
}
.hero-section .btn-success {
    transition: 0.3s ease;
}
.hero-section .btn-success:hover {
    transform: scale(1.05);
}
.hero-section .mouse-scroll {
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: fadeIn 2s ease-in-out;
}

/* الماوس */
.mouse {
    width: 32px;
    height: 55px;
    border: 2px solid #fff;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 0 10px rgba(255,255,255,0.3);
}
.mouse .wheel {
    width: 6px;
    height: 10px;
    background: #fff;
    border-radius: 10px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

/* السهم المتحرك */
.arrow-down {
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 10px solid #fff;
    animation: bounce 1.5s infinite;
    opacity: 0.8;
}

/* الأنيميشن */
@keyframes scroll {
    0% { opacity: 0; top: 10px; }
    50% { opacity: 1; top: 18px; }
    100% { opacity: 0; top: 25px; }
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.section-title {
  color: var(--green-dark);
  font-weight: 700;
  font-size: 1.75rem;
}
.gold-dot {
  color: var(--green-dark);
  margin-left: 0.5rem;
}

/* المنتجات */
.product-box {
  background-size: cover;
  background-position: center;
  height: 300px;
  position: relative;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  color: white;
}
.product-box h4 {
  font-size: 1.3rem;
  font-weight: bold;
}
.product-actions {
  background-color: #4b917bb8;
  padding: 0.5rem;
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  border-radius: 0 0 4px 4px;
}
.product-actions a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

/* الأخبار */
/* ✅ Interactive News Section */
.news-list {
    background-color: #f7f7f7;
    padding: 1rem;
    border-right: 4px solid var(--green-dark);
    max-height: 500px;
    overflow: auto;
}
.news-item {
    cursor: pointer;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border-right: 3px solid transparent;
    transition: 0.3s;
}
.news-item:hover,
.news-item.active {
    background-color: #e5f1ed;
    border-color: var(--green-dark);
}
.news-item h6 {
    margin: 0;
    color: #004f35;
    font-weight: bold;
}

.news-display {
    background-size: cover;
    background-position: center;
    height: 500px;
    position: relative;
    display: flex;
    align-items: flex-end;
    border-radius: 6px;
}
.news-overlay-text {
    background: linear-gradient(to top, rgb(0 0 0), rgba(0, 0, 0, 0));
    padding: 1.5rem;
    width: 100%;
    border-radius: 0 0 6px 6px;
}
.news-overlay-text h5 {
    font-weight: bold;
}


/* الفوتر */
.footer-section {
  background-color: var(--green-dark);
}
/* ✅ Hero Section */
/* ✅ Hero Section as background */
.hero-section {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 90vh;
    background-color: var(--green-dark);

}

.hero-section .overlay {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-color: rgba(0, 0, 0, 0.4); /* تغبيش خفيف */
}

.hero-content {
  z-index: 2;
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

.mouse-scroll {
  font-size: 2rem;
  margin-top: 2rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0);}
  50% { transform: translateY(10px);}
}

@keyframes bounce {
  0%, 100% { transform: translateY(0);}
  50% { transform: translateY(10px);}
}


/* :: 17.0 Footer Area CSS */
.footer-area {
    position: relative;
    z-index: 1; }
.footer-area::after {
    /*background-color: rgb(37 99 88);*/
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    content: ""; }
.footer-area .main-footer-area {
    position: relative;
    z-index: 1;
    padding-top: 80px; }
.footer-area .single-footer-widget {
    position: relative;
    z-index: 1;
    margin-bottom: 70px; }
.footer-area .single-footer-widget p {
    color: #ffffff;
    margin-bottom: 20px; }
.footer-area .single-footer-widget .social-info a {
    display: inline-block;
    border: 1px solid #ffffff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    text-align: center;
    color: #ffffff;
    margin-left: 5px;
    line-height: 30px; }
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .footer-area .single-footer-widget .social-info a {
        width: 30px;
        height: 30px;
        line-height: 28px;
        font-size: 14px; } }
.footer-area .single-footer-widget .social-info a:hover, .footer-area .single-footer-widget .social-info a:focus {
    border-color: #ffffff;
    color: #ffffff;

    background-color: #69bb9d; }
.footer-area .single-footer-widget .widget-title h5 {
    font-size: 22px;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 30px; }
.footer-area .single-footer-widget .widget-nav ul {
    position: relative;
    z-index: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap; }
.footer-area .single-footer-widget .widget-nav ul li {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
    width: 50%; }
.footer-area .single-footer-widget .widget-nav ul li a {
    display: block;
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 11px; }
.footer-area .single-footer-widget .widget-nav ul li a:hover, .footer-area .single-footer-widget .widget-nav ul li a:focus {
    color: #ffffff; }
.footer-area .single-footer-widget .single-best-seller-product {
    position: relative;
    z-index: 1;
    margin-bottom: 20px; }
.footer-area .single-footer-widget .single-best-seller-product::after {
    margin-bottom: 0; }
.footer-area .single-footer-widget .single-best-seller-product .product-thumbnail {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 70px;
    flex: 0 0 70px;
    max-width: 70px;
    width: 70px;
    margin-left: 30px; }
.footer-area .single-footer-widget .single-best-seller-product .product-info a {
    display: block;
    color: #ffffff;
    font-size: 16px;
    font-weight: 400; }
.footer-area .single-footer-widget .single-best-seller-product .product-info a:hover, .footer-area .single-footer-widget .single-best-seller-product .product-info a:focus {
    color: #ffffff; }
.footer-area .single-footer-widget .single-best-seller-product .product-info p {
    margin-bottom: 0;
    color: #ffffff;
    font-weight: 500; }
.footer-area .single-footer-widget .contact-information p {
    line-height: 1.3;
    color: #ffffff;
    margin-bottom: 13px; }
.footer-area .single-footer-widget .contact-information p span {
    color: #ffffff; }
.footer-area .single-footer-widget .contact-information p:last-child {
    margin-bottom: 0; }
.footer-area .footer-bottom-area {
    position: relative;
    z-index: 1; }
.footer-area .footer-bottom-area .border-line {
    width: 100%;
    height: 1px;
    background-color: #ffffff; }
.footer-area .footer-bottom-area .copywrite-text {
    position: relative;
    z-index: 1;
    padding: 20px 0; }
@media only screen and (max-width: 767px) {
    .footer-area .footer-bottom-area .copywrite-text {
        text-align: center;
        padding-bottom: 0; } }
.footer-area .footer-bottom-area .copywrite-text p {
    font-size: 14px;
    color: #ffffff;
    font-weight: 400;
    margin-bottom: 0; }
@media only screen and (max-width: 767px) {
    .footer-area .footer-bottom-area .copywrite-text p {
        font-size: 12px; } }
.footer-area .footer-bottom-area .copywrite-text p a {
    font-size: 14px;
    color: #ffffff;
    font-weight: 500; }
.footer-area .footer-bottom-area .copywrite-text p a:hover, .footer-area .footer-bottom-area .copywrite-text p a:focus {
    color: #ffffff; }
@media only screen and (max-width: 767px) {
    .footer-area .footer-bottom-area .copywrite-text p a {
        font-size: 12px; } }
.footer-area .footer-bottom-area .footer-nav {
    position: relative;
    z-index: 1;
    padding: 20px 0; }
.footer-area .footer-bottom-area .footer-nav ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end; }
@media only screen and (max-width: 767px) {
    .footer-area .footer-bottom-area .footer-nav ul {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center; } }
.footer-area .footer-bottom-area .footer-nav ul li a {
    display: inline-block;
    color: #b7b7b7;
    font-size: 14px;
    font-weight: 400;
    margin: 0 15px; }
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .footer-area .footer-bottom-area .footer-nav ul li a {
        margin: 0 8px; } }
@media only screen and (max-width: 767px) {
    .footer-area .footer-bottom-area .footer-nav ul li a {
        margin: 0 5px; } }
.footer-area .footer-bottom-area .footer-nav ul li a:hover, .footer-area .footer-bottom-area .footer-nav ul li a:focus {
    color: #000000; }
.footer-area .footer-bottom-area .footer-nav ul li:last-child a {
    margin-left: 0; }
/* :: 18.0 Breadcumb Area CSS */
.breadcrumb-area {
    position: relative;
    z-index: 10;
    width: 100%; }
.breadcrumb-area .top-breadcrumb-area {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 200px; }
@media only screen and (max-width: 767px) {
    .breadcrumb-area .top-breadcrumb-area {
        height: 220px; } }
.breadcrumb-area .top-breadcrumb-area h2 {
    margin-top: 132px;
    font-size: 36px;
    color: #ffffff;
    margin-bottom: 0;
    line-height: 1;
    text-transform: uppercase; }
@media only screen and (max-width: 767px) {
    .breadcrumb-area .top-breadcrumb-area h2 {
        margin-top: 112px;
        font-size: 30px; } }
.breadcrumb-area .breadcrumb {
    margin: 0;
    padding-top: 30px;
    padding-bottom: 50px;
    padding-left: 0;
    padding-right: 0;
    background-color: transparent; }
.breadcrumb-area .breadcrumb .breadcrumb-item {
    font-size: 16px;
    color: #b7b7b7;
    text-transform: capitalize; }
.breadcrumb-area .breadcrumb .breadcrumb-item a {
    text-transform: capitalize;
    font-size: 16px;
    color: #ffffff; }
.breadcrumb-area .breadcrumb .breadcrumb-item a:hover, .breadcrumb-area .breadcrumb .breadcrumb-item a:focus {
    color: #ffffff; }
.breadcrumb-area .breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: #ffffff;
    content: ">"; }
.footer-area .single-footer-widget .widget-nav ul li a ,.footer-area .footer-bottom-area .footer-nav ul li a  {
   text-decoration: none;

}
.footer-area .single-footer-widget .widget-nav ul , .footer-area .footer-bottom-area .footer-nav ul {
    list-style: none;
    padding-right: 0;
}
[type=email], [type=number], [type=tel], [type=url] {
    direction: rtl!important;
}

/* ====== Breadcrumb Section ====== */
.breadcrumb-section {
    background: rgb(2 92 93 / 70%);
    color: #fff;
    text-align: center;
    padding: 60px 15px 40px;
    backdrop-filter: blur(6px);
}

.breadcrumb-section h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 10px;
}

.breadcrumb-section .breadcrumb {
    justify-content: center;
    background: transparent;
    margin-bottom: 0;
}

.breadcrumb-section .breadcrumb-item a {
    color: #ddd;
    text-decoration: none;
}

.breadcrumb-section .breadcrumb-item.active {
    color: #fff;
    font-weight: 500;
}

/* ====== Login Card ====== */
.login-wrapper {
    flex-grow: 1;
    display: flex;
    align-items: center;
    flex-direction: column;
    background: #f7f7f7;
    justify-content: center;
    padding: 50px 15px;
}

.login-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    padding: 40px 35px;
    width: 100%;
    max-width: 420px;
}

.login-card img {
    max-height: 90px;
    display: block;
    margin: 0 auto 25px;
}

.form-control {
    border-radius: 10px;
    padding: 10px 15px;
}

.btn-login {
    border-radius: 10px;
    background: linear-gradient(135deg, #4e4376, #2b5876);
    color: #fff;
    font-weight: bold;
    padding: 12px;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: linear-gradient(135deg, #2b5876, #4e4376);
    transform: translateY(-2px);
}

.forgot-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 14px;
    color: #4e4376;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}


/* ====== Profile Page ====== */


.profile-area {
    padding: 60px 0;
}

.profile-sidebar {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    padding: 25px;
}

.profile-sidebar .about-me-widget-thumb img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #3fac7d;
    margin-bottom: 15px;
}

.profile-sidebar h4 {
    font-size: 20px;
    margin-bottom: 5px;
}

.profile-sidebar p {
    font-size: 14px;
    color: #777;
    margin-bottom: 15px;
}

.profile-sidebar .nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 15px;
    color: #333;
    border-radius: 10px;
    transition: 0.3s;
    font-weight: 500;
}

.profile-sidebar .nav-link i {
    font-size: 16px;
    color: #3fac7d;
}

.profile-sidebar .nav-link.active,
.profile-sidebar .nav-link:hover {
    background: #3fac7d;
    color: #fff;
}

.profile-sidebar .nav-link.active i,
.profile-sidebar .nav-link:hover i {
    color: #fff;
}

.profile-sidebar .badge-warning {
    background-color: red !important;
    border-radius: 50%;
    margin-left: 5px;
    color: #fff;
    font-size: 11px;
    padding: 4px 6px;
}

.profile-content {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    padding: 25px;
    min-height: 500px;
}

.logout-link {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-weight: 500;
    color: #dc3545;
    text-decoration: none;
    transition: 0.3s;
}
.logout-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .profile-sidebar {
        margin-bottom: 25px;
    }
}
.tab-spinner {
    display: none;
    text-align: center;
    padding: 60px 0;
}
.tab-spinner .spinner-border {
    width: 3rem;
    height: 3rem;
    color: #3fac7d; /* الأخضر الرئيسي */
    animation: spinPulse 1.2s linear infinite;
}

/* أنيميشن لطيف لتدوير السبينر */
@keyframes spinPulse {
    0% {
        transform: rotate(0deg);
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: rotate(360deg);
        opacity: 0.8;
    }
}

/* لمسة صغيرة لما يظهر السبينر */
.tab-spinner.show {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.spinner-border {
    animation: spinPulse 1s linear infinite;
}
@keyframes spinPulse {
    0% { transform: rotate(0deg); opacity: .8; }
    50% { opacity: 1; }
    100% { transform: rotate(360deg); opacity: .8; }
}
.profile-form-wrapper {
    max-width: 700px;
    margin: auto;
}
.avatar-upload {
    position: relative;
}
.avatar-preview {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat;
    transition: background-image 0.3s ease-in-out;
}
.avatar-edit {
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translate(20%, 20%);
}
.avatar-edit input {
    display: none;
}
.avatar-edit label {
    background: #3fac7d;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: 0.3s;
}
.avatar-edit label:hover {
    background: #319b67;
}


.news-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.news-card .card-title {
    font-size: 16px;
    font-weight: bold;
}

.news-card .card-text {
    font-size: 14px;
}
