/*
 * LTR (Left-to-Right) Override Styles for English Language
 *
 * This version of the stylesheet has been updated with your new color guide.
 * All hardcoded color values have been replaced with the new palette's CSS variables.
 */

/* ====================================
 * New Color Palette Variables
 * To update your brand colors in the future, you only need to change the values here.
 * ==================================== */
:root {
  --color-primary: #F5F5F5;     /* Main background color */
  --color-secondary: #00B906;   /* Main action color (buttons, links) */
  --color-tertiary: #B9E937;    /* Accent/Hover color (success messages) */
  --color-quaternary: #424242; /* Primary text and dark elements */
}

/* typography */
@import url("https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700|Quicksand:400,500,700");

html, body {
  direction: ltr !important; /* Force LTR direction */
  text-align: left !important; /* Force left alignment for all text */
  height: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  line-height: 1.5;
  color: var(--color-quaternary);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  font-family: "Roboto",sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 16px;
  position: relative!important;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  line-height: 1.5;
  font-family: "Open Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  color: var(--color-quaternary);
  background-color: var(--color-primary);
  overflow-x: hidden;
  margin-top: 0;
  padding-top: 0;
}

p, .paragraph {
  text-align: left !important; /* Force left alignment */
}

h1, h2, h3, h4, h5, h6 {
  text-align: left; /* REMOVED !important to allow more specific rules to take precedence */
}

/* Form Control & Search Bar Styling */
.form-control {
  border-radius: 10px !important; /* Make it more rounded */
  padding: 12px 15px !important; /* Adjust padding for better spacing */
  font-size: 1rem !important; /* Ensure consistent font size */
  text-align: left !important; /* Force left alignment for form inputs */
  transition: all 0.3s ease-in-out !important; /* Smooth transition for changes */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08) !important; /* Add a subtle shadow */
  border: 1px solid var(--color-primary) !important; /* Add a full border for a more contained look */
}
.form-control:focus {
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(185, 233, 55, 0.25) !important; /* New focus glow from tertiary color */
  border-color: var(--color-secondary) !important; /* Primary action color on focus */
}

textarea.form-control {
  height: 150px;
  resize: vertical;
}
/* --- REFINED HEADER SEARCH BAR STYLES --- */
.header-search-form {
  order: 2;
  margin-left: 0px;
  margin-right: 15px;
}

.header-search-form .form-control {
  /* Core visual styling from the Arabic version */
  border-radius: 25px !important;
  height: 40px !important;
  border: 1px solid var(--color-primary) !important;
  background-color: var(--color-primary) !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
  color: var(--color-quaternary) !important;
  transition: all 0.3s ease; /* Added for smoother transitions */

  /* LTR specific padding to make space for the icon on the right */
  padding-left: 15px !important;
  padding-right: 40px !important;
}
.header-search-form .form-control::placeholder {
  color: var(--color-quaternary);
}

.header-search-form .search-icon {
  /* Positioning for LTR layout */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 10px !important;
  left: auto !important;

  /* Icon visual styling from the Arabic version */
  color: var(--color-quaternary) !important;
  font-size: 1.2em !important;
  width: 30px !important;
  height: 30px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  pointer-events: none; /* Prevent icon from interfering with input */
}
/* --- END REFINED HEADER SEARCH BAR STYLES --- */


/* --- NEW SIDEBAR SEARCH BAR STYLES --- */
.widget.search-widget-new {
  /* No directional overrides needed here */
}
.search-input-new {
  padding: 12px 50px 12px 20px !important; /* Adjusted padding for new icon size and spacing */
  text-align: left !important; /* Force input text to be left-aligned */
}

.search-button-new {
  right: 15px !important; /* Adjust position */
  left: auto !important; /* Reset RTL left */
}
/* --- END NEW SIDEBAR SEARCH BAR STYLES --- */


/* Navigation Bar Refinement - LTR with RTL Metrics */
.navigation {
    z-index: 9;
    background-color: var(--color-primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    padding: 8px 0;
}

.navbar-brand {
    padding: 0;
    margin: 0 1.5rem;
    order: 3;
}

.navbar-toggler {
    border: none !important;
    padding: .25rem .75rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border-radius: .25rem;
    transition: box-shadow .15s ease-in-out;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(185, 233, 55, 0.25);
}

/* Main navbar area - LTR structure */
.navbar-expand-lg .navbar-collapse {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

/* Navigation Links - Matching RTL metrics */
.navbar-nav {
    margin: 0;
    flex-grow: 0;
    justify-content: center;
}

.navbar-nav .nav-item {
    margin: 0 0.02rem ;
    padding: 0 0.3rem;
    display: flex;
    align-items: center;
    position: relative;
}
/* Default divider for ALL items (right side in LTR) */
.navbar-nav .nav-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -0.2rem; /* Right-side divider (LTR) */
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 1px;
}

/* Special case: Add LEFT divider ONLY for the first item (Home) */
.navbar-nav .nav-item:first-child::before {
    content: "";
    position: absolute;
    left: -0.2rem; /* Left-side divider (LTR) */
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 1px;
}

/* Remove right divider from last item */
.navbar-nav .nav-item:last-child::after {
    display: none;
}
.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--color-quaternary);
    padding: 0.5rem 0;
    text-decoration: none !important;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    text-align: center;
    width: 100%;
    margin: 0 auto;
}
.navbar-nav .nav-link:hover {
    color: var(--color-quaternary);
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-secondary);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
    border-radius: 8px;
}

.navbar-nav .nav-link:hover {
    color: var(--color-primary) !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link:hover::before {
    transform: translateY(0);
}

/* Daily Event Banner - Matching RTL metrics */
.daily-event-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--accent-green-light);
    color: var(--color-quaternary);
    padding: 6px 12px;
    border-radius: 50px;
    font-family: "Quicksand", sans-serif;
    font-weight: 700;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: default;
    margin: 0;
    order: 2;
}

.daily-event-banner:hover {
    background-color: var(--action-green-dark);
    color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(var(--action-green-dark-rgb), 0.3);
    transform: translateY(-2px);
}

/* Language Switcher - Matching RTL metrics */
.language-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--color-quaternary);
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 0 15px;
    text-decoration: none;
}

.language-circle:hover {
    background-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Search Form - Matching RTL metrics */
.header-search-form {
    position: relative;
    margin-right: 10px;
    width: 180px;
    order: 1;
}

.header-search-form .form-control {
    padding-right: 35px;
    border-radius: 50px;
}

.header-search-form .search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--color-quaternary);
}

/* Dropdown Menu - LTR specific */
.navbar .dropdown-menu {
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15);
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: var(--color-primary);
    min-width: 160px;
    overflow: hidden;
    left: 0;
    right: auto;
    text-align: left;
}

.navbar .dropdown-item {
    font-family: "Open Sans", sans-serif;
    color: var(--color-quaternary);
    padding: 8px 20px;
    transition: all 0.2s ease;
    text-align: left !important;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:active,
.navbar .dropdown-item.active {
    background-color: var(--color-secondary);
    color: var(--color-primary) !important;
}

/* Mobile Styles - Matching RTL metrics */
@media (max-width: 991px) {
    .navbar-expand-lg .navbar-collapse {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 0;
    }

    .navbar-nav {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar-nav .nav-item {
        width: 100%;
        margin: 3px 0;
        padding: 0;
        border-right: none;
        border-bottom: 1px solid var(--color-primary);
    }

    .daily-event-banner {
        width: 100%;
        margin: 8px 0;
        justify-content: center;
    }

    .header-search-form {
        width: 100%;
        margin: 15px 0 0 0;
        max-width: 220px;
    }

    .language-circle {
        margin: 10px 0;
    }
}

/* Desktop Hover Dropdown */
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }

    .navbar-expand-lg .navbar-nav .dropdown-toggle::after {
        display: none;
    }
}

/* LTR specific icons */
html[dir="ltr"] .slick-prev:before {
    content: "\f053";
}

html[dir="ltr"] .slick-next:before {
    content: "\f054";
}
/* Card and Post Content Styles */
.card-img-overlay {
    background: linear-gradient(to right, rgba(66, 66, 66, 0.4) 0%, rgba(66, 66, 66, 0.2) 50%, rgba(66, 66, 66, 0) 100%) !important; /* Force dark gradient from left */
    justify-content: flex-start !important; /* Force content to align to the left */
}

/* New container for the text content within the overlay */
.slider-content-overlay {
    text-align: left !important; /* Force left alignment for slider content */
}

.title-border::before {
    left: 50% !important; /* Center for LTR */
    transform: translateX(-50%) !important; /* Original LTR centering */
}
.title-border-lg::before {
    left: -45px !important; /* Original LTR */
    right: auto !important; /* Reset RTL right */
}
/* Pagination Styles */
.pagination {
    justify-content: center !important; /* Force pagination to align to the center */
}

/* Category Card Styling */
.section .card .card-img-top {
    border-top-left-radius: 15px !important; /* Original LTR top-left */
    border-top-right-radius: 15px !important; /* Original LTR top-right */
}

/* News Article Card Styling */
/* Increased specificity for news article styles */
.section#news-articles-section .col-lg-4 article,
.section#news-articles-section .col-sm-6 article {
    text-align: center !important; /* Changed to center */
}

.section#news-articles-section article p.text-uppercase {
    text-align: center !important;
}
/* Specific rule for centering the description paragraph within news articles */
.section#news-articles-section article p.news-description-text {
    text-align: center !important;
}

/* Specific rule for centering the title within news articles */
.section#news-articles-section article h4 {
    text-align: center !important;
}

.section#news-articles-section .col-lg-4 article img.img-fluid,
.section#news-articles-section .col-sm-6 article img.img-fluid {
    border-top-left-radius: 15px !important; /* Original LTR top-left */
    border-top-right-radius: 0 !important; /* Reset RTL top-right */
    border-bottom-left-radius: 0 !important; /* Ensure no bottom-left radius */
    border-bottom-right-radius: 0 !important; /* Ensure no bottom-right radius */
}

/* --- NEW: Styles for the Latest Posts section --- */
.widget .media {
    /* Ensure vertical alignment of the image and text */
    display: flex;
    align-items: flex-start; /* Aligns content to the top */
}

.widget .post-thumb-sm {
    /* Add rounded corners and a subtle shadow to the thumbnail container */
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Important to clip the image within the rounded container */
    transition: transform 0.2s ease-in-out;
}

.widget .post-thumb-sm:hover {
    transform: translateY(-2px); /* Lift on hover for a modern effect */
}

.widget .post-thumb-sm img {
    /* Apply rounded corners to the image itself */
    border-radius: 8px;
}

/* LTR Adjustment: Spacing between image and text */
.widget .media-body {
    padding-left: 1rem; /* Add left padding for spacing in LTR */
    padding-right: 0; /* Remove any right padding */
}

.widget .media-body h6 a {
    font-weight: 600; /* Make post titles a bit bolder for better hierarchy */
    font-size: 1rem;
    line-height: 1.2;
}

.widget .media-body ul {
    margin-bottom: 0.5rem; /* Reduce bottom margin on the list */
    font-size: 0.85rem;
}
/* --- END LATEST POSTS STYLES --- */


/* Instagram Post (if applicable) */
.instagram-post::before {
    left: 0 !important; /* Original LTR */
    right: auto !important; /* Reset RTL right */
}
.instagram-post ul {
    left: 0 !important; /* Original LTR */
    right: auto !important; /* Reset RTL right */
}

/* Hero and Section with Dark Backgrounds */
/* Animated background overlay for hero section */
.hero-section::before {
    background: linear-gradient(45deg, rgba(185, 233, 55, 0.1) 0%, rgba(0, 185, 6, 0.1) 50%, rgba(185, 233, 55, 0.1) 100%) !important;
}

@keyframes subtleGradientMove {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

/* === NEW SLIDER STYLES (Pure CSS Radio Button Slider) === */

/* The track that holds all the slides and moves horizontally */
.hero-section .new-slider-form .slider-track {
    direction: ltr !important; /* Force LTR direction */
}

/* Each individual slide */
.hero-section .new-slider-form .slider-slide {
    justify-content: flex-start !important; /* Force content to align to the left */
    text-align: left !important; /* Force LTR text alignment */
    direction: ltr !important; /* Force LTR for content within the slide */
}

/* Dynamic transforms for the slider-track based on checked input */
/* These rules target the .slider-track based on the checked radio button's position */
.hero-section .new-slider-form input#slide-0:checked ~ .slider-track { transform: translateX(0vw) !important; }
.hero-section .new-slider-form input#slide-1:checked ~ .slider-track { transform: translateX(-100vw) !important; }
.hero-section .new-slider-form input#slide-2:checked ~ .slider-track { transform: translateX(-200vw) !important; }
.hero-section .new-slider-form input#slide-3:checked ~ .slider-track { transform: translateX(-300vw) !important; }
/* Add more rules here if you have more than 4 sliders */


/* Navigation Arrows (explicit labels) */
.hero-section .new-slider-form .slider-arrow {
    display: flex !important; /* Ensure arrows are visible */
    color: var(--color-primary);
    background: rgba(66, 66, 66, 0.4);
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 60px;
    height: 60px;
    font-size: 2.5rem;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s ease;
}

.hero-section .new-slider-form .slider-arrow-prev {
    left: 10px !important; /* Force position closer to the left edge for LTR */
    right: auto !important; /* Reset RTL left */
}

.hero-section .new-slider-form .slider-arrow-next {
    right: 10px !important; /* Force position closer to the right edge for LTR */
    left: auto !important; /* Reset RTL left */
}

/* Hover effects for arrows */
.hero-section .new-slider-form .slider-arrow:hover {
    background: rgba(185, 233, 55, 0.7) !important;
    box-shadow: 0 6px 20px rgba(185, 233, 55, 0.5) !important;
    transform: translateY(-50%) scale(1.1) !important;
}

/* Hide pseudo-elements if they are also used for navigation */
.hero-section .new-slider-form .slider-slide:before,
.hero-section .new-slider-form .slider-slide:after {
    display: none !important;
}

/* Responsive adjustments for the new slider */
@media (max-width: 991px) {
    .hero-section .hero-caption {
        padding-left: 0 !important; /* Original LTR */
    }
    .hero-section .new-slider-form .slider-arrow {
        width: 50px !important;
        height: 50px !important;
        font-size: 2rem !important;
    }
    .hero-section .new-slider-form .slider-arrow-prev {
        left: 5px !important; /* Adjusted for LTR */
        right: auto !important;
    }
    .hero-section .new-slider-form .slider-arrow-next {
        right: 5px !important; /* Adjusted for LTR */
        left: auto !important;
    }
}

/* --- Mobile Adjustments --- */
@media (max-width: 767px) {
    .header-search-form {
        order: unset;
        margin-right: auto;
        margin-left: 0;
        width: 100%;
    }

    .header-search-form .search-icon {
        left: auto;
        right: 10px;
    }

    .navbar-nav {
        flex-grow: unset;
        width: 100%;
        justify-content: flex-start; /* Align nav items to the left on mobile */
    }

    .navbar-nav .nav-item {
        width: 100%;
        text-align: left; /* Align nav items text to left on mobile */
        border-left: none;
    }
}

/* Section-dark styling for Message Form */
.section-dark {
    background: linear-gradient(135deg, var(--color-quaternary) 0%, rgba(66, 66, 66, 0.7) 100%) !important; /* Force Original LTR angle */
}

.section-dark .form-control {
    text-align: left !important; /* Force form inputs to be left-aligned */
}

.section-dark .form-control::placeholder {
    text-align: left !important; /* Force placeholder text to be left-aligned */
}

.section-dark .btn-primary:hover {
    background-position: right center !important; /* Force Animate gradient on hover */
}

/* Layout Dividers */
.dividers {
    transform: translateX(-50%) !important; /* Force Original LTR centering */
}
.dividers .divider {
    border-right: 1px solid var(--color-secondary) !important; /* Force Original LTR border */
    border-left: none !important; /* Reset RTL border */
}
.dividers .divider:first-child {
    border-left: 1px solid var(--color-secondary) !important; /* Force Original LTR border */
    border-right: none !important; /* Reset RTL border */
}

/* Article and Image Sizing */
.article-full-width {
    flex-direction: row !important; /* Force LTR direction */
}
.article-full-width .post-image {
    margin-right: 20px !important; /* Force Original LTR */
    margin-left: 0 !important; /* Reset RTL margin */
}
.article-full-width .post-content .btn {
    padding-left: 0 !important; /* Force Original LTR */
    padding-right: 20px !important; /* Reset RTL padding */
}
.article-full-width.article-right {
    justify-content: flex-end !important; /* Force Original LTR */
    flex-direction: row !important; /* Force LTR direction */
}
.article-full-width.article-right .post-image {
    margin: 0 0 0 20px !important; /* Force Original LTR */
    order: 2 !important; /* Ensure image is on the right for LTR */
}
.article-full-width.article-right .post-content {
    order: 1 !important; /* Ensure content is on the left for LTR */
}
.article-full-width.article-right .post-meta {
    margin-right: auto !important; /* Push to the right for LTR */
    margin-left: 0 !important; /* Reset RTL margin */
}
.article-full-width.article-right .author {
    text-align: left !important; /* Force Align author text to left for LTR */
}
@media (max-width: 767px) {
    .article-full-width {
        flex-direction: column !important; /* Stack columns on mobile */
    }
    .article-full-width.article-right {
        flex-direction: column-reverse !important; /* Reverse stack for right-aligned articles on mobile */
    }
    .article-full-width.article-right .post-image {
        order: unset !important; /* Reset order on mobile */
    }
    .article-full-width.article-right .post-content {
        order: unset !important; /* Reset order on mobile */
    }
    .article-full-width.article-right .author { text-align: left !important; } /* Original LTR */
}

blockquote {
    border-left: 5px solid var(--color-secondary) !important; /* Force Original LTR border */
    border-right: none !important; /* Reset RTL border */
}

/* Footer Styling */
.footer-section .col-lg-4,
.footer-section .col-lg-2,
.footer-section .col-lg-3 {
    text-align: left !important; /* Force left alignment for all columns on desktop */
    padding-left: 15px !important; /* Standard Bootstrap column padding */
    padding-right: 15px !important; /* Standard Bootstrap column padding */
}

.footer-section .col-lg-3:last-child .block {
    text-align: left !important; /* Force content to be left-aligned */
}

.footer-logo {
    margin-right: auto !important; /* Push it to the left within its text-aligned container */
    margin-left: 0 !important; /* Ensure no extra margin on the right pushes it */
}

.footer-section h6 {
    text-align: left !important; /* Force footer headings to be left-aligned */
}

.footer-section p {
    text-align: left !important; /* Force footer paragraphs to be left-aligned */
}

.footer-contact-info .footer-icon {
    margin-right: 8px !important; /* Original LTR */
    margin-left: 0 !important; /* Reset RTL margin */
}


/* --- NEW: Fixed Social Icon Styles --- */
/* The parent container to align the icons */
.social-icons {
    display: flex !important; /* Use Flexbox to align icons horizontally */
    float: left !important ;
    justify-content: flex-start !important; /* Align icons to the left */
    list-style: none; /* Remove bullet points */
    padding: 0;
    margin: 0;
}
/* Spacing between list items */
.social-icons li {
    margin-right: 15px !important;
    margin-left: 0 !important;
}
/* The icon wrapper (the circle) */
.social-icons li a {
    display: flex !important; /* Use Flexbox to center the icon inside */
    align-items: center;
    justify-content: center;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important; /* Make it a perfect circle */
    color: var(--color-primary) !important; /* Light color for the icon */
    transition: all 0.3s ease-in-out !important; /* Smooth transition for hover effects */
}
/* The icon itself */
.social-icons li a i {
    font-size: 1.2rem !important;
}
/* Hover effect for the social icon circles */
.social-icons li a:hover {
    border-color: var(--color-secondary) !important; /* Change border color on hover */
    background-color: var(--color-secondary) !important; /* Fill the circle with color on hover */
    transform: translateY(-2px); /* Slight lift on hover */
}
/* --- END NEW: Fixed Social Icon Styles --- */

/* Specific rule for footer list items to ensure left alignment */
.footer-section ul li {
    text-align: left !important;
}
/* Fix for all lists to ensure they are left-aligned */
ul, ol {
    text-align: left !important;
}

/* Fix for horizontal rule (thin line) to be right-aligned */
/* Removed Flexbox and float, using margins for spacing as per the user's request */
.sidebar-card h5 {
    /* Reverting Flexbox changes */
    display: block;
    align-items: auto;
    justify-content: auto;
    /* Other existing h5 styles remain */
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-quaternary);
}

.sidebar-card .short-hr {
    /* Now using simple margins to create space above and below the line */
    width: 50% !important;
    margin-top: 0.5rem !important;
    margin-bottom: 1rem !important;
    float: left !important;
    clear: none !important;
}


/* Copyright text centering */
.footer-section .copyright { /* Targeting the div with class "copyright" */
    text-align: center !important;
}
.footer-section .copyright p { /* Targeting the paragraph inside the copyright div */
    text-align: center !important;
}


/* Slider Headline, Description, and Button Styles (moved from index-page-code) */
.hero-caption {
    text-align: left !important; /* Force content left-aligned */
    padding-left: 30px !important; /* Add padding to push the content from the left edge */
    padding-right: 0 !important; /* Reset RTL padding */
}

.hero-caption p {
    text-align: left !important; /* Force text to be left-aligned within its box */
}

.hero-caption .btn.hero-btn {
    background-image: linear-gradient(45deg, var(--color-secondary) 0%, var(--color-tertiary) 100%) !important; /* Force Original LTR angle */
}

.hero-caption .btn.hero-btn:hover {
    background-position: right center !important; /* Force Animate gradient on hover */
}

/* Responsive adjustments for the new text/button styles */
@media (max-width: 767px) {
    .hero-caption {
        padding-left: 15px !important; /* Reduce padding on mobile */
        padding-right: 15px !important; /* Add right padding for mobile */
    }
}

/* New: Sidebar specific overrides for LTR to fix spacing */
.sidebar-card .list-group-item {
    /* Explicitly setting padding for LTR layout */
    padding-left: 0 !important;
    padding-right: 20px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    text-align: left !important;
}
.sidebar-card .list-group {
    padding-left: 0 !important;
    text-align: left !important;
}

/* Explicitly set the sidebar card to have left-aligned text */
.sidebar-card {
    text-align: left !important;
}
/* Hero Section with Background Image */
.page-title-hero-section {
    position: relative;
    background-color: var(--color-quaternary); /* Fallback color */
        background-image: url('https://africa-charity-project.org/WP/wp-content/uploads/2017/04/africa-charity-project-header.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    padding: 100px 0;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.page-title-hero-section .container-fluid {
    position: relative;
    z-index: 2;
}
.categories-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--color-secondary);
}