@font-face {
    font-family: 'Mohammed Bold';
    src: url('../fonts/Mohammed-Bold.woff2') format('woff2'),
         url('../fonts/Mohammed-Bold.woff') format('woff'),
         url('../fonts/Mohammed-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

:root {
    --mainColor: rgba(105, 7, 2, 1);
    --secondaryColor: #fdfdd8;
    --mainFont: 'Mohammed Bold', Arial, sans-serif;
    --hoverColor: rgba(184, 119, 119, 0.1);
    --primary-color: rgba(105, 7, 2, 1);  /* Your custom primary color */
    --bs-primary: var(--primary-color);    /* Override Bootstrap's primary color */

}

/* Custom styles */
.top-bar {
    background-color: var(--mainColor);
    padding: 5px 0;
}

.navbar {
    padding: 10px 0;
    background-color: var(--secondaryColor) !important;
    position: relative;
z-index: 9999;
}

.nav-link {
    color: var(--mainColor) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: rgba(105, 7, 2, 0.8) !important;
}

.cart-icon {
    position: relative;
    cursor: pointer;
}

.cart-icon i {
    color: var(--mainColor) !important;
}

.cart-icon .badge {
    position: absolute;
    top: -8px;
    right: -8px;
    border-radius: 50%;
    padding: 4px 6px;
    background-color: var(--mainColor) !important;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box input {
    border-radius: 20px;
    padding-right: 40px;
    border: 1px solid var(--mainColor);
    background-color: white;
}

.search-box .btn {
    position: absolute;
    right: 0;
    border-radius: 0 20px 20px 0;
    padding: 6px 15px;
    background-color: var(--mainColor);
    border-color: var(--mainColor);
    color: var(--secondaryColor);
}

.search-box .btn:hover {
    background-color: rgba(105, 7, 2, 0.9);
}

.language-switch {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    margin-left: 15px;
}

.language-switch a {
    color: var(--secondaryColor) !important;
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}

.language-switch a:hover {
    opacity: 0.8;
}


/* header */

/* Top Bar Styles */
.top-bar {
    background-color: var(--mainColor);
    padding: 5px 0;
}

.navbar {
    padding: 10px 0;
    background-color: var(--secondaryColor) !important;
}

.nav-link {
    color: var(--mainColor) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: rgba(105, 7, 2, 0.8) !important;
}

/* Cart Icon Styles */
.cart-icon {
    position: relative;
    cursor: pointer;
}

.cart-icon i {
    color: var(--mainColor) !important;
}

.cart-icon .badge {
    position: absolute;
    top: -8px;
    right: -8px;
    border-radius: 50%;
    padding: 4px 6px;
    background-color: var(--mainColor) !important;
    color: var(--secondaryColor);
}

.nav-item.dropdown {
    position: relative;
}

.dropdown > .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    min-width: 200px;
    background-color: var(--secondaryColor);
    border: 1px solid var(--mainColor);
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
    opacity: 0;
    transform: translateY(10px);
}

/* Show dropdown on hover */
.nav-item.dropdown:hover > .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Parent dropdown links */
.nav-item.dropdown > a {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    color: var(--mainColor);
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.nav-item.dropdown > a:hover {
    background-color: var(--mainColor);
    color: var(--secondaryColor);
    border-radius: 0.375rem;
}

/* Submenu items */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    z-index: 1000;
    min-width: 200px;
    background-color: var(--secondaryColor);
    border: 1px solid var(--mainColor);
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
    opacity: 0;
    transform: translateX(10px);
}

/* Show submenu on hover */
.dropdown-submenu:hover > .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

/* Submenu links */
.dropdown-submenu > a {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    color: var(--mainColor);
    text-decoration: none;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.dropdown-submenu > a:hover {
    background-color: var(--mainColor);
    color: var(--secondaryColor);
    border-radius: 0.375rem;
}

/* Submenu item links */
.dropdown-menu > li > a {
    padding: 0.5rem 1rem;
    color: var(--mainColor);
    text-decoration: none;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.dropdown-menu > li > a:hover {
    background-color: var(--mainColor);
    color: var(--secondaryColor);
    border-radius: 0.375rem;
}
/* Search Box Styles */
.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box input {
    border-radius: 20px;
    padding-right: 40px;
    border: 1px solid var(--mainColor);
}

.search-box .btn {
    position: absolute;
    right: 0;
    border-radius: 0 20px 20px 0;
    padding: 6px 15px;
    background-color: var(--mainColor);
    border-color: var(--mainColor);
    color: var(--secondaryColor);
}

/* Language Switch Styles */
.language-switch {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

.language-switch a {
    color: var(--secondaryColor);
    text-decoration: none;
    font-size: 0.9rem;
}

/* Dropdown Styles */
.dropdown-menu {
    background-color: var(--secondaryColor);
    border: 1px solid var(--mainColor);
}



.dropdown-item:hover {
    background-color: var(--mainColor);
    color: var(--secondaryColor) !important;
}

#heroSlider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

#heroSlider .carousel-item {
    height: 600px;
}

#heroSlider .carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

#heroSlider .carousel-caption {
    background: rgba(105, 7, 2, 0.8);
    padding: 2rem;
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto;
    bottom: 50%;
    transform: translateY(50%);
}

#heroSlider .carousel-caption h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondaryColor);
}

#heroSlider .carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: white;
}

#heroSlider .btn-primary {
    background-color: var(--secondaryColor);
    border-color: var(--secondaryColor);
    color: var(--mainColor);
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

#heroSlider .btn-primary:hover {
    background-color: white;
    transform: translateY(-2px);
}

#heroSlider .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: var(--secondaryColor);
}

#heroSlider .carousel-control-prev,
#heroSlider .carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: var(--mainColor);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
}

#heroSlider .carousel-control-prev {
    left: 20px;
}

#heroSlider .carousel-control-next {
    right: 20px;
}

#heroSlider .carousel-control-prev:hover,
#heroSlider .carousel-control-next:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    #heroSlider,
    #heroSlider .carousel-item {
        height: 400px;
    }

    #heroSlider .carousel-caption {
        padding: 1rem;
        max-width: 90%;
    }

    #heroSlider .carousel-caption h2 {
        font-size: 1.8rem;
    }

    #heroSlider .carousel-caption p {
        font-size: 1rem;
    }
}

/* General Styles */
body {
    font-family: var(--mainFont);
    line-height: 1.6;
}

.text-white {
    color: #fff !important;
}

/* RTL Support */
.rtl {
    direction: rtl;
    text-align: right;
}

.rtl .navbar-nav {
    padding-right: 0;
}

.rtl .search-box .btn {
    right: auto;
    left: 0;
    border-radius: 20px 0 0 20px;
}

.rtl .search-box input {
    padding-right: 15px;
    padding-left: 40px;
}

.rtl .cart-icon .badge {
    right: auto;
    left: -8px;
}
/* Product Categories Section */
/* Section Styles */
.categories-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

/* Category Card Styles */
.category-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    margin: auto;
    max-width: 350px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    position: relative; /* To enable the before pseudo-element */
}

/* Hover Effect */
.category-card:hover {
    transform: translateY(-15px); /* Slightly more prominent lift effect */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); /* More shadow on hover */
}

/* Image Styling */
.category-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
    border-bottom: 3px solid #eee; /* Soft separation line between image and text */
}

.category-card:hover img {
    transform: scale(1.05); /* Smooth zoom-in effect */
}

/* Card Body Styling */
.category-card .card-body {
    padding: 2rem;
}

.category-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.2rem;
    text-transform: uppercase; /* Making title more prominent */
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.category-card:hover h3 {
    color: var(--mainColor, ); /* Use a strong highlight color on hover */
}

.category-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Spacing Between Columns in the Row */
.row.g-4 > [class*="col-"] {
    padding: 1.2rem;
}

/* Hover Border Effect */
.category-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    border: 2px solid var(--mainColor);
    transition: width 0.4s ease, height 0.4s ease;
}



/* Custom Styling for the Carousel */
.category-carousel {
    margin-top: 2rem;
}






/* Brochure Download Section */
.brochure-section {
    background: var(--mainColor);
    padding: 4rem 0;
    color: var(--secondaryColor);
}

.brochure-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.brochure-form h2 {
    color: var(--mainColor);
    margin-bottom: 2rem;
    text-align: center;
}

.form-control {
    border: 1px solid #ddd;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border-radius: 5px;
}

.btn-download {
    background: var(--mainColor);
    color: var(--secondaryColor);
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 5px;
    width: 100%;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-download:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Testimonials Section */
.testimonials-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    margin: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
}

.testimonial-info h4 {
    color: var(--mainColor);
    margin: 0;
}

.testimonial-info p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

.testimonial-body {
    color: #444;
    font-style: italic;
}

.testimonial-rating {
    color: #ffc107;
    margin-top: 1rem;
}

/* RTL Support */
.rtl .category-card,
.rtl .brochure-form,
.rtl .testimonial-card {
    text-align: right;
}

.rtl .testimonial-avatar {
    margin-right: 0;
    margin-left: 1rem;
}

/* Search and Cart Styles */
.cart-wrapper {
    position: relative;
    margin-right: 15px;
}

.cart-count {
    background: var(--mainColor);
    color: var(--secondaryColor);
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
}

.search-box {
    position: relative;
}

.search-box input {
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 5px 15px;
    width: 200px;
    font-size: 14px;
}

.search-box input::placeholder {
    color: #999;
}

/* RTL Support */
.rtl .cart-wrapper {
    margin-right: 0;
    margin-left: 15px;
}

/* Adjust container width */
.container {
    max-width: 1400px !important;  /* Increased container width */
    padding-left: 50px !important;  /* Add consistent padding */
    padding-right: 50px !important;
}

/* Category Carousel Styles */

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px; /* Space between title and line */
    left: 50%;
    transform: translateX(-50%);
    width: 80px; /* Length of the line */
    height: 3px; /* Thickness of the line */
    background-color: var(--mainColor, rgba(105, 7, 2, 1));
    border-radius: 2px; /* Rounded edges */
    transition: width 0.3s ease;
}
.categories-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.category-carousel {
    position: relative;
    padding: 20px 0;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-wrapper {
    display: flex;
}

.swiper-slide {
    flex-shrink: 0;
    width: auto;
    height: 100%;
}

.category-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

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

.category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.category-card .card-body {
    padding: 1.5rem;
}

.category-card h3 {
    color: var(--mainColor);
    margin-bottom: 0.5rem;
    font-family: var(--mainFont);
}





/* faq page */

#aden-faq-page {
    padding: 100px 0;
    background: #f6f9fc;
    line-height: 1.9; }
    #aden-faq-page .page-output {
      max-width: 850px;
      margin: 0 auto; }
    #aden-faq-page .page-header h1 {
      color: rgb(94, 6, 3);
      text-align: center;
      /* Section Title */
      font-family: "IBM Plex Sans Arabic";
      font-size: 35px;
      font-style: normal;
      font-weight: 700;
      line-height: normal; }

  .faq-tab-nav {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    margin-bottom: 30px; }
    .faq-tab-nav li {
      margin: 0 10px; }
      .faq-tab-nav li a {
        text-decoration: none;
        color: #000;
        font-weight: bold;
        display: block;
        padding: 10px 30px;
        border-radius: 5px;
        background: #f3f3f3;
        transition: background 0.3s;
        border: 2px solid #e6e6e6; }
      .faq-tab-nav li.active a {
        border-color: #D24848;
        color: #D24848; }

  .faq-item .tab-in {
    display: none;
    padding: 10px 20px;
    overflow: hidden;
    transition: max-height 0.3s ease-out; }
  .faq-item.active .tab-in {
    display: block;
    max-height: 200px; }
  .faq-item .item-title {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: #fff;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    /* Post Title */
    font-family: "IBM Plex Sans Arabic";
    font-size: 17px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    border-radius: 5px;
    color: #707070; }
    .faq-item .item-title i {
      transition: transform 0.3s;
      color: #CDB062; }
  .faq-item.active .item-title {
    color: #3B3B6B; }
  .faq-item.active .item-title i {
    transform: rotate(180deg);
    color: #3B3B6B; }

  .tab-content {
    display: none; }
    .tab-content.active {
      display: block; }

  .faq-contact-banner {
    margin-top: 50px;
    background: var(--secondaryColor);
    padding: 35px;
    border-radius: 5px; }
    .faq-contact-banner h2 {
      font-family: "IBM Plex Sans Arabic";
      font-size: 21px;
      font-style: normal;
      font-weight: 600;
      line-height: normal;
      color: #000; }
    .faq-contact-banner .faq-btn {
      padding: 10px 20px;
      border-radius: 5px;
      background: var(--mainColor);
      color: #fff; }




/* contact us */

/* Hero Section */
.hero-section {
    position: relative;
    height: 400px;
    background-image: url('/assets/images/contact-us.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.contact-us-page{
    background-color: var(--main-color);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(105, 7, 2, 0.75);
    display: flex;
    align-items: center;
}

.min-vh-50 {
    min-height: 50vh;
}

/* Contact Form */
.contact-form-wrapper {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.form-control:focus {
    border-color: var(--main-color);
    box-shadow: 0 0 0 0.25rem rgba(105, 7, 2, 0.25);
}

.btn-primary {
    background-color: rgba(105, 7, 2, 0.8); /* Normal background with reduced opacity */
    border-color: rgba(105, 7, 2, 0.8);    /* Normal border with reduced opacity */
    padding: 0.75rem 1.5rem;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: rgba(105, 7, 2, 1); /* Full opacity on hover or focus */
    border-color: rgba(105, 7, 2, 1);    /* Full opacity border on hover or focus */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        height: 300px;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }
}


/* about-us page */

/* Hero Section */
/* Hero Section */
/* Hero Section */
.hero-section {
    position: relative;
    height: 500px;
    background-image: url('https://images.unsplash.com/photo-1416879595882-3373a0480b5b?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
    .hero-section {
        height: 300px; /* Reduce height for smaller screens */
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 250px; /* Further reduce height for very small screens */
    }
}

/* Overlay */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(105, 7, 2, 0.75);
    display: flex;
    align-items: center;
    justify-content: center; /* Center content horizontally */
    text-align: center; /* Center text content */
}

/* Number Card */
.number-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 1rem auto; /* Add margin for spacing */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 350px; /* Ensure consistent width */
}

@media (max-width: 768px) {
    .number-card {
        max-width: 90%; /* Take most of the screen width */
    }
}

.number-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.icon-container {
    font-size: 3rem;
    color: var(--mainColor);
    margin-bottom: 15px;
}

.number-card h2 {
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
    color: var(--mainColor);
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.number-card p {
    font-size: 1rem;
    color: #666;
    margin-top: 10px;
}

/* Section Title */
.section-title {
    color: var(--mainColor);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--mainColor);
}

/* Story Section */
.story-section {
    background-color: #f9f9f9;
    padding: 3rem 1rem; /* Add padding for smaller screens */
}

@media (max-width: 768px) {
    .story-section {
        padding: 2rem 1rem;
    }
}

.story-section .section-title {
    color: #d9534f;
    font-size: 1.8rem;
    font-weight: bold;
    position: relative;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
}

.story-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #d9534f;
}

.story-section p.lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: #555;
    line-height: 1.8;
    text-align: justify;
}

@media (max-width: 768px) {
    .story-section p.lead {
        font-size: 1rem;
    }
}

.story-section p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .story-section p {
        font-size: 0.9rem;
    }
}

.story-section img {
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-height: 620px;
    object-fit: cover;
    width: 100%; /* Ensure image scales with screen size */
    height: auto;
}
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem; /* Scale down for tablets */
    }

    .hero-section p {
        font-size: 1rem; /* Scale down for tablets */
    }
}
@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 2.5rem; /* Smaller font size for phones */
    }

    .hero-section p {
        font-size: 1.3rem; /* Smaller font size for phones */
    }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .story-section img {
        max-height: 400px;
    }

    .story-section .section-title {
        text-align: center;
    }

    .story-section .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .story-section p {
        text-align: justify;
    }
}

/* Vision and Goals Section */
.vision-card, .goals-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.card-header i {
    font-size: 2rem;
    color: var(--mainColor);
    margin-left: 1rem;
}

.card-header h3 {
    color: var(--mainColor);
    margin: 10px;
}

.goals-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.goals-list li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

.goals-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    background-color: var(--mainColor);
    border-radius: 50%;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        height: 400px;
    }

    .section-title {
        text-align: center;
    }

    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* RTL Specific Adjustments */
html[dir="rtl"] .card-header i {
    margin-left: unset;
    margin-right: 1rem;
}

html[dir="rtl"] .goals-list li {
    padding-left: unset;
    padding-right: 1.5rem;
}

html[dir="rtl"] .goals-list li::before {
    left: unset;
    right: 0;
}


/* Hero Section */
.hero-section {
    position: relative;
    height: 400px;
    background-image: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(105, 7, 2, 0.75);
    display: flex;
    align-items: center;
}
/* Jobs List Page */
.job-card {
    background: white;
    border-radius: 0.8rem; /* Slightly smaller border-radius */
    padding: 0.8rem; /* Reduced padding */
    height: auto;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Direct shadow color */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    max-width: 280px; /* Smaller max width */
    margin: 0 auto; /* Center the card */
}

.job-card:hover {
    transform: translateY(-3px); /* Reduced hover effect */
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15); /* Direct hover shadow color */
}

.job-card img {
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    object-fit: cover;
    width: 100%;
    height: 120px; /* Smaller image height */
}

.job-card-header {
    margin-bottom: 0.5rem;
    text-align: center;
}

.job-title {
    color: var(--mainColor);
    font-size: 1.2rem; /* Reduced font size */
    font-weight: bold;
    margin-bottom: 0.3rem;
}

.job-dates {
    font-size: 0.75rem; /* Smaller font size */
    color: #888;
    margin-bottom: 0.5rem;
}

.job-dates p {
    margin: 0.2rem 0;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.job-dates p span {
    margin-left: 0.5rem;
    color: #555; /* More readable */
    font-weight: normal;
}

.job-dates p i {
    font-size: 1rem;
    color: var(--mainColor);
    margin-right: 0.5rem;
}

.job-location {
    font-size: 0.85rem;
    color: #666;
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.job-location i {
    font-size: 1rem;
    color: var(--mainColor);
    margin-right: 0.5rem;
}

.job-description {
    color: #555;
    font-size: 0.8rem; /* Smaller font size */
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.btn-primary {
    background-color: var(--mainColor);
    border-color: var(--mainColor);
    text-align: center;
    padding: 0.3rem 0.8rem; /* Reduced padding */
    border-radius: 0.4rem;
    font-size: 0.85rem; /* Smaller button text */
    color: white;
}

.btn-primary:hover {
    background-color: rgba(85, 5, 2, 1); /* Slightly darker shade */
    border-color: rgba(85, 5, 2, 1);
}

.hero-section {
    background-color: var(--mainColor);
    color: var(--secondaryColor);
    padding: 5rem 0;
    position: relative;
}

.hero-section .overlay {
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.search-box input {
    border: 1px solid var(--mainColor);
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 1rem;
}

.search-box input:focus {
    border-color: var(--mainColor);
    box-shadow: 0 0 5px rgba(105, 7, 2, 0.5);
    outline: none;
}

select.form-select {
    border: 1px solid var(--mainColor);
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 1rem;
}

select.form-select:focus {
    border-color: var(--mainColor);
    box-shadow: 0 0 5px rgba(105, 7, 2, 0.5);
    outline: none;
}



.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://via.placeholder.com/1920x600') center/cover no-repeat;
     height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}





.job-details-card {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: none;
    background-color: #fff;
    padding: 2rem;
}

.job-details-card .card-title {
    color: var(--mainColor);  /* Deep red color for job title */
    font-size: 1.75rem;
}

.job-details-card p, .job-details-card li {
    font-size: 1.5rem;
    color: #333;  /* Default text color */
}

.job-details-card ul {
    list-style: disc inside;
    padding-left: 1rem;
    font-size: 1.1rem;
}

.job-details-card h5 {
    font-size: 1.5rem;
    color: var(--mainColor);  /* Deep red color for section headings */
}

.job-details-card hr {
    border-top: 2px solid var(--mainColor);  /* Deep red color for horizontal rule */
}

.btn-primary {
    background-color: var(--mainColor);  /* Deep red color for primary button */
    border: none;
    color: #fff;  /* White text on primary button */
}

.btn-primary:hover {
    background-color: darken(var(--mainColor), 10%);  /* Slightly darker red on hover */
}

.btn-secondary {
    background-color: var(--secondaryColor);  /* Soft cream color for secondary button */
    border: none;
    color: var(--mainColor);  /* Deep red text on secondary button */
}

.btn-secondary:hover {
    background-color: darken(var(--secondaryColor), 10%);  /* Slightly darker cream on hover */
}

.card-body {
    font-size: 1.2rem;  /* Slightly larger text for readability */
}

/* Targeting Font Awesome icons to use main color */
.job-details-card i {
    color: var(--mainColor);  /* Deep red color for icons */
    margin-right: 0.5rem;  /* Spacing between icon and text */
}

.job-details-card i:hover {
    color: darken(var(--mainColor), 10%);  /* Darken color when hovering over icons */
}

/* whatsapp button */

.whatsapp-btn {
    position: fixed;
    bottom: 40px;
    right: 80px;
    background-color: var(--mainColor); /* Main theme color */
    color: white;
    border-radius: 50%;
    width: 60px; /* Circle width */
    height: 60px; /* Circle height */
    display: flex; /* Enable flexbox */
    align-items: center; /* Center content vertically */
    justify-content: center; /* Center content horizontally */
    font-size: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Optional shadow */
    transition: background-color 0.3s, transform 0.2s; /* Smooth transitions */
    z-index: 1000; /* Stay above other elements */
    cursor: pointer; /* Add pointer on hover */
    text-decoration: none;
}



.whatsapp-btn i {
    font-size: 1.5rem;
}

/* Modal */
.modal-header, .modal-footer {
    background-color: var(--mainColor);
    color: white;
}

.modal-body {
    font-size: 1.1rem;
    color: #333;
}


/* start products list */
.categories-sidebar {
    background-color: var(--secondaryColor);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.categories-sidebar:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.categories-sidebar h3 {
    color: var(--textColor);
    font-size: 26px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--mainColor);
}

.category-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    color: var(--textColor);
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    /* background-color: white; */
    border: 1px solid var(--borderColor);
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.category-toggle:hover {
    background-color: var(--hoverColor);
    border-color: var(--mainColor);
    transform: translateY(-3px);
}

.category-toggle.active {
    background-color: var(--hoverColor);
    border-color: var(--mainColor);
    font-weight: bold;
}

.category-toggle .toggle-icon {
    font-size: 20px;
    color: var(--mainColor);
    transition: transform 0.3s ease;
}

.category-toggle.active .toggle-icon {
    transform: rotate(90deg);
}

.subcategory-list {
    display: none;
    padding-left: 20px;
    margin-top: 10px;
}

.subcategory-list.active {
    display: block;
}

.subcategory-link {
    display: block;
    padding: 10px 18px;
    color: var(--textColor);
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.subcategory-link:hover,
.subcategory-link.active {
    background-color: var(--hoverColor);
    color: var(--mainColor);
    font-weight: bold;
}

#current-category {
    color: var(--mainColor);
    font-size: 30px;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--mainColor);
}

.product-card {
    height: 100%;
    border: 1px solid var(--borderColor);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.product-image {
    height: 220px;
    width: 100%;
    object-fit: cover;
    border-bottom: 1px solid var(--borderColor);
}

.card-body {
    padding: 20px;
    background-color: #fff;
}

.card-title {
    color: var(--textColor);
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.card-text {
    color: var(--mainColor);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.btn-primary {
    background-color: var(--mainColor);
    border-color: var(--mainColor);
    padding: 10px 20px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--mainColor);
    border-color: darken(var(--mainColor), 10%);
    transform: translateY(-3px);
}
.btn-primary:focus {
    outline: none;
    box-shadow: none;
    background-color: var(--mainColor); /* Keep the default background color */
    border-color: var(--mainColor); /* Keep the default border color */

}


/* product detail */
.product-details {
    padding: 40px 0;
}

.product-gallery {
    position: relative;
}

.main-image {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.main-image img {
    width: 100%;
    height: auto;
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.main-image img:hover {
    transform: scale(1.5);
}

.thumbnail-images {
    display: flex;
    gap: 10px;
    overflow-x: auto;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.thumbnail:hover,
.thumbnail.active {
    opacity: 1;
    transform: translateY(-5px);
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--textColor);
}

.product-meta {
    margin-bottom: 20px;
}

.product-code {
    color: #666;
    margin-right: 15px;
}

.product-price {
    font-size: 36px;
    font-weight: 700;
    color: var(--mainColor);
    margin: 20px 0;
}

.product-specs {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.spec-item {
    margin-bottom: 10px;
}

.spec-label {
    font-weight: 600;
    margin-right: 10px;
}

.most-selling-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--borderColor);
}

.most-selling-section h2 {
    color: var(--mainColor);
    margin-bottom: 30px;
}

/* image show */

.product-gallery {
    position: relative;
}

.main-image {
    position: relative;
}

.small-image {
    max-width: 100%;
    height: auto;
}

.image-preview {
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10;
}

.image-preview .large-image {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.main-image:hover .image-preview {
    display: flex;
}


/* cartss styling */
/*
.cart-container {
    max-width: 800px;
    margin: auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
}
.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
.cart-table th, .cart-table td {
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
}
.cart-table th {
    background: #f1f1f1;
}
.product-image {
    width: 50px;
    height: auto;
}
.quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
}
.quantity-input {
    width: 50px;
    text-align: center;
    margin: 0 5px;
}
.update-btn, .delete-btn, .checkout-btn {
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.update-btn {
    background: #ffc107;
    color: #fff;
}
.delete-btn {
    background: #dc3545;
    color: #fff;
}
.checkout-btn {
    background: #28a745;
    color: #fff;
    width: 100%;
    text-align: center;
}
.cart-summary {
    text-align: right;
} */

.cart-title {
    color: var(--mainColor);
    font-size: 32px;
    font-weight: 700;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--mainColor);
    margin-bottom: 30px;
}

/* Cart Items */
.cart-items {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    padding: 20px;
    margin-bottom: 30px;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--borderColor);
}

.cart-item:last-child {
    border-bottom: none;
}

.item-image {
    width: 120px;
    height: 120px;
    margin-right: 25px;
    border-radius: 8px;
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.item-image:hover img {
    transform: scale(1.1);
}

.item-details {
    flex: 1;
}

.item-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--textColor);
    margin-bottom: 8px;
}

.item-code {
    color: #666;
    font-size: 14px;
    margin-bottom: 12px;
}

.item-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--mainColor);
    margin-bottom: 15px;
}

.btn-remove {
    color: #dc3545;
    padding: 0;
    background: none;
    border: none;
    font-size: 14px;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.btn-remove:hover {
    color: #bd2130;
}

/* Cart Summary */
.cart-summary {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    padding: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--borderColor);
    font-size: 16px;
}

.summary-row.total {
    border-bottom: none;
    font-size: 20px;
    font-weight: 700;
    color: var(--mainColor);
}

/* Checkout Form */
.checkout-form {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
}

.checkout-form h2 {
    color: var(--mainColor);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--mainColor);
}

.form-floating > .form-control {
    border-radius: 8px;
    border-color: var(--borderColor);
}

.form-floating > .form-control:focus {
    border-color: var(--mainColor);
    box-shadow: 0 0 0 0.25rem rgba(105, 7, 2, 0.25);
}

.btn-primary {
    background-color: var(--mainColor);
    border-color: var(--mainColor);
    padding: 12px 25px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    /* background-color: darken(var(--mainColor), 10%); */
    transform: translateY(-2px);
}

/* Empty Cart */
.empty-cart {
    text-align: center;
    padding: 60px 0;
}

.empty-cart img {
    width: 200px;
    margin-bottom: 30px;
}

.empty-cart h2 {
    color: var(--textColor);
    font-size: 24px;
    margin-bottom: 15px;
}

.empty-cart p {
    color: #666;
    margin-bottom: 30px;
}

@media (max-width: 991px) {
    .checkout-form {
        margin-top: 30px;
    }
}

@media (max-width: 576px) {
    .cart-item {
        flex-direction: column;
        text-align: center;
    }

    .item-image {
        margin-right: 0;
        margin-bottom: 20px;
    }
}

/* footer */

.footer{
    background-color: var(--mainColor);
}


/* carousel */
.hero-slide{
    display: flex;
}
.hero-carousel {
    height: 600px; /* Set a fixed height for the carousel */
    position: relative; /* Ensure proper positioning context */
    display: flex;
}

.hero-carousel .carousel-item {
    height: 100%; /* Make each carousel item fill the full height of the carousel */
    background-size: cover;
    background-position: center;
    display: flex; /* Enable flexbox for centering */
    align-items: center; /* Vertically center content */
    justify-content: center; /* Horizontally center content */
    position: relative;
}

/* .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    background-color: rgba(105, 7, 2, 0.6);
    padding: 30px;
    border-radius: 10px;
    max-width: 80%;
    box-shadow: 0px 4px 10px var(--mainColor);
} */





@media (max-width: 768px) {
    .hero-content h2.slide-title {
        font-size: 2.5rem;
    }

    .hero-content p.slide-description {
        font-size: 1.2rem;
    }
}

/* Swiper Navigation Buttons */
.swiperr-button-next,
.swiperr-button-prev {
    width: 50px;
    height: 50px;
    background-color: var(--mainColor); /* Main color for buttons */
    border-radius: 50%; /* Circular buttons */
    top: 50%; /* Center vertically */
    transform: translateY(-50%); /* Center adjustment */
    opacity: 0.7; /* Slight transparency */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10; /* Ensure buttons stay on top */
    position: absolute;
    transition: opacity 0.3s ease;
}

/* Next Button Position */
.swiperr-button-next {
    right: 20px; /* Adjust spacing from the right */
}

/* Prev Button Position */
.swiperr-button-prev {
    left: 20px; /* Adjust spacing from the left */
}

/* Hover Effect */
.swiperr-button-next:hover,
.swiperr-button-prev:hover {
    opacity: 1; /* Full opacity on hover */
}

/* Remove Default Swiper Arrows */
.swiperr-button-next::after,
.swiperr-button-prev::after {
    content: ''; /* Completely remove default arrow content */
    display: none; /* Ensure it does not take space */
}

/* Custom Arrow Styles */
.swiperr-button-next::before,
.swiperr-button-prev::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border: solid #fff; /* White arrow color */
    border-width: 0 3px 3px 0;
    display: inline-block;
    transform: rotate(45deg);
}

/* Next Arrow */
.swiperr-button-next::before {
    transform: rotate(-45deg); /* Point to the right */
}

/* Prev Arrow */
.swiperr-button-prev::before {
    transform: rotate(135deg); /* Point to the left */
}



/* new carousel */


   /* Main color customization */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--mainColor);
    border-radius: 50%; /* Optional for rounded controls */
}

.carousel-indicators button {
    background-color: var(--mainColor);
}

.carousel-indicators .active {
    background-color: var(--mainColor); /* Keeps the same color for active indicator */
    opacity: 0.8; /* Slight transparency for distinction */
}

/* Center the caption in the middle of the image */
.carousel-caption {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white; /* Ensure good visibility on images */
    background-color: rgba(105, 7, 2, 0.5); /* Optional background for better contrast */
    border-radius: 8px; /* Optional rounded corners */
}

/* Adjust carousel height to fit the screen */
.carousel {
    height: 80vh;
}

.carousel-item {
    height: 80vh;
}


.carousel-item img {
    height: 80vh;
    background-repeat: no-repeat;background-size: cover; background-position: center;
}

/* Media queries for smaller screens */
@media (max-width: 768px) {
    .carousel {
        height: 70vh; /* Reduce height for smaller screens */
    }

    .carousel-item {
        height: 70vh;
    }

    .carousel-caption {
        top: 50%; /* Center caption slightly higher */
        padding: 5px 10px; /* Reduce padding for smaller screens */
        font-size: 14px; /* Smaller font for readability */
        width: 70%; /* Allow more width for the caption */
        left: 50%; /* Default for LTR layouts */
        height:30% ;
        transform: translateX(-50%);
    }

    html[dir="rtl"] .carousel-caption {
        right: 50%;
        left: auto;
        height: 30%;
        top: 40%;
        transform: translateX(50%); /* Reverse translation for RTL */
    }
}

@media (max-width: 576px) {
    .carousel {
        height: 60vh; /* Further reduce height for extra small screens */
    }

    .carousel-item {
        height: 60vh;
    }

    .carousel-caption {
        top: 50%;
        font-size: 12px; /* Adjust font size for very small screens */
    }
}
