/*
Theme Name: Alhadi Lightweight Theme
Theme URI: https://alhadicontract.com/
Author: Alhadi Theme Devs
Author URI: https://alhadicontract.com/
Description: قالب ووردبريس احترافي خفيف الوزن وسريع التحميل، مخصص لمؤسسات المقاولات والترميم وبناء المظلات والسواتر باللغة العربية، يدعم RTL بالكامل ومتوافق مع الجوال ومحسن لمحركات البحث (SEO). تم بناؤه بدون أي باني صفحات ثقيل.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alhadi-theme
Domain Path: /languages
Tags: rtl-language-support, custom-colors, custom-menu, featured-images, translation-ready, block-styles, threaded-comments

This theme is designed from scratch to be extremely fast, robust, and dynamic.
All styling is written in pure CSS using modern CSS Variables, which are fully customizable from the WordPress Customizer.
*/

/* --- CSS VARIABLES (Initialized with defaults) --- */
:root {
  --primary-color: #0F5132;
  --secondary-color: #E0A96D;
  --accent-color: #1C6758;
  --text-color: #212529;
  --bg-color: #FFFFFF;
  --light-bg-color: #F8F9FA;
  --border-color: #E9ECEF;
  --white: #FFFFFF;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container-width: 1200px;
}

/* --- RESET & BASIC LAYOUT --- */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0.5em;
  font-weight: 700;
  line-height: 1.25;
  color: #111111;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-right: auto;
  margin-left: auto;
  padding-right: 20px;
  padding-left: 20px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

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

.btn-secondary {
  background-color: var(--secondary-color);
  color: #111111;
}

.btn-secondary:hover {
  background-color: #d19d62;
  color: #111111;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25D366;
  color: var(--white);
}

.btn-whatsapp:hover {
  background-color: #128C7E;
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
}

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

/* --- TOP BAR --- */
.top-bar {
  background-color: var(--primary-color);
  color: var(--white);
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

@media (min-width: 768px) {
  .top-bar .container {
    flex-direction: row;
    justify-content: space-between;
    gap: 0;
  }
}

.top-bar-info, .top-bar-social {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.top-bar-info a {
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-info a:hover {
  color: var(--secondary-color);
}

.top-bar-social a {
  color: var(--white);
  font-size: 16px;
}

.top-bar-social a:hover {
  color: var(--secondary-color);
}

/* --- HEADER --- */
.site-header {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 999;
  transition: var(--transition);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo a {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  max-height: 55px;
  width: auto;
}

/* --- NAVIGATION --- */
.main-navigation {
  display: none;
}

@media (min-width: 1024px) {
  .main-navigation {
    display: block;
  }
}

.main-navigation ul {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  color: var(--text-color);
  font-weight: 600;
  padding: 8px 0;
  display: block;
}

.main-navigation a:hover,
.main-navigation li.current-menu-item > a {
  color: var(--primary-color);
}

/* Dropdowns */
.main-navigation ul ul {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--white);
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 10px 0;
  display: none;
  flex-direction: column;
  gap: 0;
  z-index: 99;
  border-top: 3px solid var(--primary-color);
}

.main-navigation ul ul li {
  width: 100%;
}

.main-navigation ul ul a {
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 500;
}

.main-navigation ul ul a:hover {
  background-color: var(--light-bg-color);
  padding-right: 25px;
}

.main-navigation li:hover > ul {
  display: flex;
}

/* Action Buttons in Header */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: inline-flex;
  background: transparent;
  border: none;
  font-size: 24px;
  color: var(--primary-color);
  cursor: pointer;
  padding: 5px;
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

/* Mobile Menu Panel */
.mobile-menu-panel {
  position: fixed;
  top: 0;
  bottom: 0;
  right: -300px;
  width: 300px;
  background-color: var(--white);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: right 0.3s ease-in-out;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.mobile-menu-panel.active {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
}

.close-menu {
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #888;
}

.mobile-navigation ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mobile-navigation a {
  color: var(--text-color);
  font-weight: 600;
  font-size: 18px;
  display: block;
}

.mobile-navigation ul ul {
  padding-right: 15px;
  margin-top: 10px;
  border-right: 2px solid var(--primary-color);
  gap: 10px;
}

.mobile-navigation ul ul a {
  font-size: 16px;
  font-weight: 500;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  background-color: #0b2216;
  color: var(--white);
  padding: 60px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 500px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 81, 50, 0.95) 0%, rgba(11, 34, 22, 0.85) 100%);
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .hero {
    padding: 100px 0;
    min-height: 600px;
  }
  .hero .container {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.hero-content {
  text-align: center;
}

@media (min-width: 992px) {
  .hero-content {
    text-align: right;
  }
}

.hero h1 {
  font-size: 28px;
  line-height: 1.3;
  color: var(--white);
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 38px;
  }
}

@media (min-width: 1200px) {
  .hero h1 {
    font-size: 44px;
  }
}

.hero-subtitle {
  font-size: 16px;
  line-height: 1.8;
  color: #e2e8f0;
  margin-bottom: 35px;
  max-width: 700px;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 18px;
  }
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

@media (min-width: 992px) {
  .hero-buttons {
    justify-content: flex-start;
  }
}

.hero-image {
  display: none;
}

@media (min-width: 992px) {
  .hero-image {
    display: block;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid rgba(255, 255, 255, 0.1);
  }
}

/* --- SECTION GENERAL STYLES --- */
.section {
  padding: 60px 0;
}

@media (min-width: 768px) {
  .section {
    padding: 80px 0;
  }
}

.section-bg-light {
  background-color: var(--light-bg-color);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-title {
  font-size: 28px;
  color: #111111;
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.section-desc {
  font-size: 16px;
  color: #666666;
}

/* --- SERVICES CARD GRID --- */
.grid-services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 640px) {
  .grid-services {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .grid-services {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .grid-services {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(15, 81, 50, 0.1);
}

.service-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
  background-color: #eee;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-card-img img {
  transform: scale(1.05);
}

.service-card-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--secondary-color);
  color: #111111;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  z-index: 10;
}

.service-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-title {
  font-size: 18px;
  margin-bottom: 10px;
}

.service-card-title a {
  color: #111111;
}

.service-card-title a:hover {
  color: var(--primary-color);
}

.service-card-excerpt {
  color: #666666;
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.7;
  flex-grow: 1;
}

.service-card-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-card-link {
  font-weight: 700;
  font-size: 14px;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.service-card-link::after {
  content: '←';
  transition: var(--transition);
}

.service-card:hover .service-card-link::after {
  transform: translateX(-5px);
}

/* --- ABOUT SECTION --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 5px solid var(--white);
  outline: 1px solid var(--border-color);
}

.about-content h2 {
  font-size: 26px;
  margin-bottom: 20px;
}

.about-desc {
  color: #555;
  line-height: 1.8;
  margin-bottom: 25px;
  font-size: 16px;
}

.about-bullets {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  margin-bottom: 30px;
}

@media (min-width: 640px) {
  .about-bullets {
    grid-template-columns: repeat(2, 1fr);
  }
}

.about-bullet-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.about-bullet-icon {
  color: var(--secondary-color);
  flex-shrink: 0;
}

/* --- FEATURES SECTION --- */
.grid-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 640px) {
  .grid-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .grid-features {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  background-color: var(--white);
  padding: 30px 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(15, 81, 50, 0.1);
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(15, 81, 50, 0.08);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
}

.feature-card:hover .feature-icon-wrapper {
  background-color: var(--primary-color);
  color: var(--white);
}

.feature-card-title {
  font-size: 18px;
  margin-bottom: 12px;
}

.feature-card-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* --- STATISTICS SECTION --- */
.stats-section {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 50px 0;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

@media (min-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--secondary-color);
  margin-bottom: 5px;
}

@media (min-width: 768px) {
  .stat-number {
    font-size: 42px;
  }
}

.stat-title {
  font-size: 15px;
  color: #e2e8f0;
  font-weight: 600;
}

/* --- LATEST POSTS / BLOG SECTION --- */
.grid-posts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 640px) {
  .grid-posts {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .grid-posts {
    grid-template-columns: repeat(3, 1fr);
  }
}

.post-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.post-card-img {
  height: 180px;
  overflow: hidden;
  background-color: #eee;
}

.post-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.post-card:hover .post-card-img img {
  transform: scale(1.05);
}

.post-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.post-meta {
  display: flex;
  gap: 15px;
  font-size: 12px;
  color: #888;
  margin-bottom: 10px;
}

.post-card-title {
  font-size: 16px;
  margin-bottom: 12px;
  line-height: 1.4;
}

.post-card-title a {
  color: #111111;
}

.post-card-title a:hover {
  color: var(--primary-color);
}

.post-card-excerpt {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
  flex-grow: 1;
}

.post-card-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
  font-size: 13px;
  font-weight: 700;
}

/* --- CALL TO ACTION (CTA) SECTION --- */
.cta-section {
  background-color: #0b2216;
  color: var(--white);
  padding: 60px 0;
  position: relative;
  text-align: center;
}

.cta-section-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 81, 50, 0.98) 0%, rgba(11, 34, 22, 0.95) 100%);
  z-index: 1;
}

.cta-section .container {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.cta-title {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--white);
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 32px;
  }
}

.cta-desc {
  font-size: 16px;
  color: #cbd5e1;
  margin-bottom: 30px;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

/* --- FOOTER --- */
.site-footer {
  background-color: #111;
  color: #aaa;
  padding: 60px 0 20px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  }
}

.footer-widget h3 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-widget h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 3px;
  background-color: var(--secondary-color);
}

.footer-about-logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 15px;
  display: block;
}

.footer-about-logo span {
  color: var(--secondary-color);
}

.footer-about-text {
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-social-links {
  display: flex;
  gap: 10px;
}

.footer-social-links a {
  width: 36px;
  height: 36px;
  background-color: #222;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition);
}

.footer-social-links a:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.footer-links-list li {
  margin-bottom: 12px;
}

.footer-links-list a {
  color: #aaa;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links-list a:hover {
  color: var(--white);
  padding-right: 5px;
}

.footer-contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
}

.footer-contact-info span {
  color: var(--secondary-color);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid #222;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  text-align: center;
}

/* --- BREADCRUMBS --- */
.breadcrumbs {
  background-color: var(--light-bg-color);
  padding: 15px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--border-color);
}

.breadcrumbs-list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumbs-separator {
  color: #888;
}

/* --- SINGLE CONTENT PAGE --- */
.page-wrapper {
  padding: 50px 0;
}

.single-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 992px) {
  .single-grid {
    grid-template-columns: 2.2fr 0.8fr;
  }
}

.article-header {
  margin-bottom: 25px;
}

.article-title {
  font-size: 24px;
  color: #111;
  margin-bottom: 15px;
}

@media (min-width: 768px) {
  .article-title {
    font-size: 32px;
  }
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: #666;
  font-size: 14px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
}

.article-thumbnail {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
}

.article-thumbnail img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.article-body {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.article-body p {
  margin-bottom: 1.5em;
}

.article-body h2, .article-body h3 {
  margin-top: 1.8em;
  margin-bottom: 0.8em;
  color: #111;
}

.article-body h2 { font-size: 22px; }
.article-body h3 { font-size: 18px; }

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.widget {
  background-color: var(--white);
  padding: 25px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.widget-title {
  font-size: 18px;
  color: #111;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 10px;
}

.widget-links li {
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
}

.widget-links li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.widget-links a {
  color: var(--text-color);
  font-weight: 500;
  display: block;
}

.widget-links a:hover {
  color: var(--primary-color);
  padding-right: 5px;
}

.contact-widget-box {
  background-color: rgba(15, 81, 50, 0.03);
  border-right: 4px solid var(--primary-color);
  padding: 15px;
  border-radius: var(--radius-md);
  margin-bottom: 15px;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.pagination .page-numbers {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.pagination .page-numbers.current {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.pagination .page-numbers:hover:not(.current) {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Related Items Slider / List */
.related-items-wrapper {
  margin-top: 50px;
  border-top: 1px solid var(--border-color);
  padding-top: 40px;
}

.related-items-title {
  font-size: 22px;
  margin-bottom: 25px;
}

/* 404 Page */
.error-404-container {
  padding: 100px 0;
  text-align: center;
}

.error-404-title {
  font-size: 72px;
  color: var(--primary-color);
  font-weight: 900;
  margin-bottom: 10px;
}

.error-404-subtitle {
  font-size: 24px;
  margin-bottom: 20px;
}

.error-404-desc {
  max-width: 500px;
  margin: 0 auto 30px;
  color: #666;
}
