/* 
 * ألوان الهوية البصرية لشركة أمان للتأمين
 * تم استخراج الألوان من الشعار
 * 
 * لتعديل الألوان: قم بتغيير القيم في :root أدناه
 * يمكنك استخدام أي أداة لاستخراج الألوان من الشعار (مثل Color Picker)
 */

:root {
  /* ألوان الهوية البصرية من شعار أمان للتأمين */
  /* تم استخراجها مباشرة من الشعار */
  
  /* اللون الأساسي - الرمادي الداكن من الشعار */
  --aman-primary: #4A4A4A;        /* الرمادي الداكن - اللون الأساسي من الشعار */
  --aman-primary-dark: #2D2D2D;   /* رمادي داكن جداً (للـ hover والأزرار) */
  --aman-primary-light: #6B6B6B;  /* رمادي فاتح (للعناصر الثانوية) */
  --aman-primary-lighter: #8C8C8C; /* رمادي فاتح جداً */
  
  /* الألوان الثانوية - الأخضر الفاتح من الشعار */
  --aman-secondary: #76C143;      /* الأخضر الفاتح - اللون الثانوي من الشعار */
  --aman-secondary-dark: #5A9A35; /* أخضر داكن (للـ hover) */
  --aman-secondary-light: #8FD15F; /* أخضر فاتح جداً */
  
  /* الأخضر الداكن من الشعار */
  --aman-accent: #2C8C2E;         /* الأخضر الداكن - لون التمييز من الشعار */
  --aman-accent-dark: #1F6B21;    /* أخضر داكن جداً */
  --aman-accent-light: #3DB340;   /* أخضر فاتح */
  
  /* ألوان إضافية */
  --aman-warning: #FFC107;        /* أصفر - للتحذيرات */
  --aman-success: #2C8C2E;        /* أخضر داكن للنجاح (من الشعار) */
  --aman-danger: #DC3545;         /* أحمر للخطر */
  --aman-info: #76C143;           /* أخضر فاتح للمعلومات (من الشعار) */
  
  /* الألوان المحايدة */
  --aman-dark: #4A4A4A;           /* نفس لون الشعار */
  --aman-light: #F8F9FA;
  --aman-gray: #4A4A4A;           /* نفس لون الشعار */
  --aman-white: #FFFFFF;          /* أبيض - خلفية الشعار */
  
  /* تدرجات الألوان من الشعار */
  --aman-gradient-primary: linear-gradient(135deg, var(--aman-primary) 0%, var(--aman-primary-light) 100%);
  --aman-gradient-secondary: linear-gradient(135deg, var(--aman-secondary) 0%, var(--aman-accent) 100%);
  --aman-gradient-green: linear-gradient(135deg, var(--aman-secondary) 0%, var(--aman-accent) 100%);
  --aman-gradient-brand: linear-gradient(135deg, var(--aman-secondary) 0%, var(--aman-accent) 100%);
}

/* تعديل ألوان Bootstrap Primary - استخدام الأخضر الفاتح من الشعار */
.bg-primary,
.btn-primary {
  background-color: var(--aman-secondary) !important;
  border-color: var(--aman-secondary) !important;
}

.bg-primary:hover,
.btn-primary:hover {
  background-color: var(--aman-accent) !important;
  border-color: var(--aman-accent) !important;
}

.text-primary {
  color: var(--aman-secondary) !important;
}

.border-primary {
  border-color: var(--aman-secondary) !important;
}

.btn-outline-primary {
  color: var(--aman-secondary) !important;
  border-color: var(--aman-secondary) !important;
}

.btn-outline-primary:hover {
  background-color: var(--aman-secondary) !important;
  border-color: var(--aman-secondary) !important;
  color: var(--aman-white) !important;
}

/* تعديل ألوان Warning (الأصفر) */
.bg-warning,
.btn-warning {
  background-color: var(--aman-warning) !important;
  border-color: var(--aman-warning) !important;
  color: var(--aman-dark) !important;
}

.text-warning {
  color: var(--aman-warning) !important;
}

/* تعديل ألوان Secondary */
.bg-secondary {
  background-color: var(--aman-secondary) !important;
}

.text-secondary {
  color: var(--aman-secondary) !important;
}

/* تعديل الروابط */
a {
  color: var(--aman-secondary);
}

a:hover {
  color: var(--aman-accent);
}

/* تعديل القائمة العلوية */
.navbar-elixir {
  background-color: var(--aman-white) !important;
}

.nav-link {
  color: var(--aman-dark) !important;
}

.nav-link:hover {
  color: var(--aman-secondary) !important;
}

.dropdown-menu {
  border-color: var(--aman-primary-light) !important;
}

.dropdown-item:hover {
  background-color: var(--aman-secondary) !important;
  color: var(--aman-white) !important;
}

/* تعديل البانر العلوي */
.bg-primary.py-3 {
  background: var(--aman-gradient-brand) !important;
  box-shadow: 0 2px 8px rgba(44, 140, 46, 0.2);
}

/* تعديل الأزرار */
.btn-primary {
  background: var(--aman-gradient-brand) !important;
  border: none !important;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(44, 140, 46, 0.3);
}

.btn-warning {
  background-color: var(--aman-warning) !important;
  border-color: var(--aman-warning) !important;
  color: var(--aman-dark) !important;
}

.btn-warning:hover {
  background-color: #ffb300 !important;
  border-color: #ffb300 !important;
}

/* تعديل الخطوط الفاصلة */
hr.short {
  background-color: var(--aman-secondary) !important;
  border-color: var(--aman-secondary) !important;
}

/* تعديل الأيقونات */
.text-primary .fas,
.text-primary .far,
.text-primary .fal {
  color: var(--aman-secondary) !important;
}

/* تعديل أيقونات Warning */
.text-warning {
  color: var(--aman-warning) !important;
}

/* تعديل الكروت */
.card {
  border-color: rgba(26, 77, 122, 0.1) !important;
}

.card:hover {
  border-color: var(--aman-secondary) !important;
  box-shadow: 0 4px 12px rgba(118, 193, 67, 0.15);
}

/* تعديل Footer */
.bg-primary {
  background: var(--aman-gradient-brand) !important;
}

/* أعمدة الفوتر: أهم الروابط + تابعنا - محاذاة الرأس مع العمود */
.footer-links-col,
.footer-social-col {
  min-width: 0;
}
[dir="ltr"] .footer-links-col,
[dir="ltr"] .footer-social-col {
  text-align: left;
}
[dir="rtl"] .footer-links-col,
[dir="rtl"] .footer-social-col {
  text-align: right;
}

/* تعديل النماذج */
.form-control:focus {
  border-color: var(--aman-secondary) !important;
  box-shadow: 0 0 0 0.2rem rgba(118, 193, 67, 0.25) !important;
}

/* تعديل Swiper Navigation - السلايدر الرئيسي */
.swiper-button-next,
.swiper-button-prev {
  color: var(--aman-secondary) !important;
}
/* إخفاء أيقونة Swiper الافتراضية واستخدام أيقونة FontAwesome فقط (تجنب التشوه والتكرار) */
.theme-slider .swiper-button-next::after,
.theme-slider .swiper-button-prev::after {
  content: none !important;
}
.theme-slider .swiper-button-next span,
.theme-slider .swiper-button-prev span {
  font-size: 1.25rem;
  display: inline-block;
}
/* RTL: تثبيت موقع الأسهم - السابق على اليمين والتالي على اليسار */
[dir="rtl"] .theme-slider .swiper-nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: none;
  padding: 0 1rem;
}
[dir="rtl"] .theme-slider .swiper-nav .swiper-button-prev {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  margin: 0 !important;
  pointer-events: auto;
}
[dir="rtl"] .theme-slider .swiper-nav .swiper-button-next {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  margin: 0 !important;
  pointer-events: auto;
}

/* السلايدر الرئيسي - نسبة 16:9 لملء المساحة مع ظهور كامل حواف الصورة (استخدم صور 1920×1080) */
/* على السيرفر: ضمان عرض كامل - تحقق من APP_URL وعدم وجود overflow-x:hidden على body/main */
.aman-hero-slider-section {
  overflow: visible;
  width: 100%;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}
.theme-slider.min-vh-100 {
  aspect-ratio: 16 / 9 !important;
  width: 100% !important;
  max-width: 100vw !important;
  height: auto !important;
  min-height: 0 !important;
}
.theme-slider .swiper-wrapper {
  height: 100% !important;
}
.theme-slider .swiper-slide {
  position: relative;
  height: 100% !important;
}
.theme-slider .bg-holder {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}
.theme-slider .swiper-slide .container {
  position: relative;
  z-index: 1;
  height: 100%;
}
.theme-slider .min-height-slide {
  min-height: 100% !important;
}

/* تعديل الأقسام المميزة */
.bg-100 {
  background-color: rgba(118, 193, 67, 0.05) !important;
}

/* تعديل الأرقام والإحصائيات */
.text-white.fs-3,
.text-white.fs-4 {
  color: var(--aman-white) !important;
}

/* تعديل الأيقونات الدائرية */
.ring-icon {
  border-color: var(--aman-secondary) !important;
  color: var(--aman-secondary) !important;
}

/* تعديل الخطوط الفاصلة المخصصة */
.elixir-caret::before {
  border-color: var(--aman-secondary) !important;
}

/* تعديل Overlay */
.overlay-elixir {
  background-color: rgba(44, 140, 46, 0.85) !important;
}

/* تعديل الأزرار المستديرة */
.rounded-pill {
  transition: all 0.3s ease;
}

.rounded-pill:hover {
  transform: scale(1.05);
}

/* دعم RTL */
[dir="rtl"] .text-primary {
  color: var(--aman-secondary) !important;
}

[dir="rtl"] .btn-primary {
  background: var(--aman-gradient-brand) !important;
}

/* تعديلات إضافية للهوية البصرية */
.navbar-brand img {
  filter: drop-shadow(0 2px 4px rgba(44, 140, 46, 0.2));
  transition: all 0.3s ease;
}

.navbar-brand:hover img {
  filter: drop-shadow(0 4px 8px rgba(44, 140, 46, 0.3));
  transform: scale(1.02);
}

/* تعديل الشعار في Header */
.navbar-brand {
  padding: 0.5rem 0;
}

/* تأثيرات Hover للعناصر التفاعلية */
a.btn,
button.btn {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a.btn:hover,
button.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(44, 140, 46, 0.3);
}

/* تعديل الألوان في الوضع الداكن (إن وجد) */
@media (prefers-color-scheme: dark) {
  :root {
    --aman-primary: #6B6B6B;
    --aman-primary-dark: #4A4A4A;
    --aman-secondary: #8FD15F;
    --aman-accent: #3DB340;
  }
}

/* تعديلات إضافية للعناصر التفاعلية */
.nav-item .nav-link.active {
  color: var(--aman-secondary) !important;
  border-bottom: 2px solid var(--aman-secondary);
}

/* تعديل Badges */
.badge-primary {
  background-color: var(--aman-secondary) !important;
  color: var(--aman-white) !important;
}

/* تعديل Progress Bars */
.progress-bar {
  background-color: var(--aman-secondary) !important;
}

/* تعديل Alerts */
.alert-primary {
  background-color: rgba(118, 193, 67, 0.1);
  border-color: var(--aman-secondary);
  color: var(--aman-accent);
}

/* تعديل Tables */
.table-primary {
  background-color: var(--aman-secondary) !important;
}

.table-primary th {
  background-color: var(--aman-accent) !important;
  color: var(--aman-white) !important;
}

/* تعديل Pagination */
.page-link {
  color: var(--aman-secondary);
}

.page-link:hover {
  color: var(--aman-accent);
  background-color: rgba(118, 193, 67, 0.1);
}

.page-item.active .page-link {
  background-color: var(--aman-secondary);
  border-color: var(--aman-secondary);
}

/* تعديل Breadcrumbs */
.breadcrumb-item.active {
  color: var(--aman-secondary);
}

/* تعديل Tooltips */
.tooltip-inner {
  background-color: var(--aman-accent);
}

.tooltip.bs-tooltip-top .arrow::before {
  border-top-color: var(--aman-accent);
}

/* تعديل Modals */
.modal-header {
  background: var(--aman-gradient-brand);
  color: var(--aman-white);
}

.modal-header .close {
  color: var(--aman-white);
  opacity: 0.9;
}

.modal-header .close:hover {
  opacity: 1;
}

/* تعديل Tabs */
.nav-tabs .nav-link.active {
  color: var(--aman-secondary);
  border-color: var(--aman-secondary);
}

.nav-tabs .nav-link:hover {
  border-color: var(--aman-secondary-light);
  color: var(--aman-secondary);
}

/* تعديل Accordion */
.accordion-button:not(.collapsed) {
  background-color: rgba(118, 193, 67, 0.1);
  color: var(--aman-accent);
}

.accordion-button:focus {
  border-color: var(--aman-secondary);
  box-shadow: 0 0 0 0.25rem rgba(118, 193, 67, 0.25);
}

/* تعديل Spinners */
.spinner-border-primary {
  border-color: var(--aman-secondary);
  border-right-color: transparent;
}

/* تحسينات للشعار */
.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-brand img {
  height: auto;
  max-height: 60px;
  width: auto;
}

/* تعديلات للـ Scrollbar (اختياري) */
::-webkit-scrollbar-thumb {
  background: var(--aman-secondary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--aman-accent);
}

/* ============================================
   Loader Styles - ألوان من شعار أمان للتأمين
   ============================================ */

/* Preloader Container */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #FFFFFF;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

/* Loader Content */
.aman-loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

/* Loader Logo */
.aman-loader-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  animation: aman-logo-pulse 2s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(0, 102, 51, 0.2));
}

@keyframes aman-logo-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

/* Loader Bars Container */
.aman-loader-bars {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

/* Individual Loader Bar */
.aman-loader-bar {
  width: 8px;
  height: 50px;
  background: var(--color);
  border-radius: 4px;
  animation: aman-bar-bounce 1.2s ease-in-out infinite;
  animation-delay: var(--delay);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Bar Colors from Logo */
.aman-loader-bar:nth-child(1) {
  background: #66CC33; /* Lime Green */
}

.aman-loader-bar:nth-child(2) {
  background: #339933; /* Medium Green */
}

.aman-loader-bar:nth-child(3) {
  background: #006633; /* Forest Green */
}

.aman-loader-bar:nth-child(4) {
  background: #339933; /* Medium Green */
}

.aman-loader-bar:nth-child(5) {
  background: #66CC33; /* Lime Green */
}

/* Bar Animation */
@keyframes aman-bar-bounce {
  0%, 100% {
    transform: scaleY(0.4);
    opacity: 0.7;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .aman-loader-logo {
    width: 80px;
    height: 80px;
  }
  
  .aman-loader-bar {
    width: 6px;
    height: 40px;
  }
  
  .aman-loader-content {
    gap: 20px;
  }
}

/* Hide default loader if exists */
.preloader .line-scale {
  display: none;
}

/* ============================================
   Company Information Section Styles
   ============================================ */

/* CEO Message Icon */
.aman-ceo-icon {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--aman-secondary) 0%, var(--aman-accent) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: white;
  box-shadow: 0 4px 15px rgba(118, 193, 67, 0.3);
}

/* CEO Image Styling */
.ceo-image-wrapper {
  position: relative;
  display: inline-block;
}

.ceo-image-wrapper img {
  border: 4px solid var(--aman-secondary);
  box-shadow: 0 4px 15px rgba(118, 193, 67, 0.3);
  transition: all 0.3s ease;
}

.ceo-image-wrapper:hover img {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(118, 193, 67, 0.4);
}

/* Info Card Styles */
.aman-info-card {
  transition: all 0.3s ease;
  border-top: 4px solid var(--aman-secondary) !important;
}

.aman-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(118, 193, 67, 0.2) !important;
}

/* Icon Wrapper */
.aman-icon-wrapper {
  width: 70px;
  height: 70px;
  background: rgba(118, 193, 67, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.aman-info-card:hover .aman-icon-wrapper {
  background: rgba(118, 193, 67, 0.2);
  transform: scale(1.1);
}

.aman-icon-wrapper span {
  color: var(--aman-secondary);
}

/* Card Body Styling */
.aman-info-card .card-body {
  position: relative;
}

.aman-info-card .card-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--aman-gradient-brand);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.aman-info-card:hover .card-body::before {
  opacity: 1;
}

/* Values List Styling */
.aman-values-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.aman-values-list li,
.aman-list-item-home {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(118, 193, 67, 0.15);
  position: relative;
  padding-left: 2rem;
  padding-right: 0;
  line-height: 1.8;
  color: var(--aman-primary);
  transition: all 0.3s ease;
  text-align: justify;
}

.aman-values-list li:last-child,
.aman-list-item-home:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.aman-values-list li::before,
.aman-list-item-home::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.75rem;
  color: var(--aman-secondary);
  font-weight: bold;
  font-size: 1.3em;
  line-height: 1.8;
  transition: all 0.3s ease;
  display: inline-block;
}

.aman-values-list li:hover,
.aman-list-item-home:hover {
  color: var(--aman-accent);
  padding-left: 2.25rem;
  transform: translateX(3px);
}

.aman-values-list li:hover::before,
.aman-list-item-home:hover::before {
  transform: scale(1.3) rotate(5deg);
  color: var(--aman-accent);
}

[dir="rtl"] .aman-values-list li,
[dir="rtl"] .aman-list-item-home {
  padding-right: 2rem;
  padding-left: 0;
  text-align: right;
}

[dir="rtl"] .aman-values-list li::before,
[dir="rtl"] .aman-list-item-home::before {
  right: 0;
  left: auto;
}

[dir="rtl"] .aman-values-list li:hover,
[dir="rtl"] .aman-list-item-home:hover {
  padding-right: 2.25rem;
  padding-left: 0;
  transform: translateX(-3px);
}

/* Goals List Styling */
.aman-goals-list {
  list-style: none;
  padding: 0;
}

.aman-goals-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(118, 193, 67, 0.1);
  position: relative;
  padding-right: 2rem;
}

.aman-goals-list li:last-child {
  border-bottom: none;
}

.aman-goals-list li::before {
  content: '\f058';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  right: 0;
  color: var(--aman-secondary);
}

/* RTL Support for Lists */
[dir="rtl"] .aman-values-list li,
[dir="rtl"] .aman-goals-list li {
  padding-right: 0;
  padding-left: 2rem;
}

[dir="rtl"] .aman-values-list li::before,
[dir="rtl"] .aman-goals-list li::before {
  right: auto;
  left: 0;
}

/* Cooperative Insurance Page Styles */
.content-wrapper .text-content {
  line-height: 1.8;
  font-size: 1.1rem;
  color: var(--aman-dark);
}

.content-wrapper .text-content p {
  margin-bottom: 1.5rem;
}

/* Page Header Styling */
.bg-primary.py-6 {
  position: relative;
  overflow: hidden;
}

.bg-primary.py-6::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.bg-primary.py-6 .container {
  position: relative;
  z-index: 1;
}

/* Content Styling for Cooperative Insurance Page */
.aman-content {
  line-height: 1.8;
  color: var(--aman-primary);
}

.aman-content p {
  margin-bottom: 1rem;
  text-align: justify;
}

.aman-content ul,
.aman-content ol {
  margin-bottom: 1.5rem;
  padding-left: 0;
  padding-right: 0;
}

.aman-content li {
  margin-bottom: 0.5rem;
}

/* Content Cards Styling for Home Page */
.aman-content-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 3px solid var(--aman-secondary) !important;
  overflow: hidden;
}

.aman-content-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--aman-gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.aman-content-card:hover::before {
  transform: scaleX(1);
}

.aman-content-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(118, 193, 67, 0.2) !important;
}

.aman-content-text {
  line-height: 1.8;
  color: var(--aman-primary);
}

.aman-content-text p {
  margin-bottom: 1rem;
  text-align: justify;
  color: var(--aman-primary);
}

/* List Styling for Cooperative Insurance Page */
.aman-list {
  margin-bottom: 1.5rem;
}

.aman-list-item {
  line-height: 1.8;
  color: var(--aman-primary);
}

.aman-list-item span:not(.aman-bullet) {
  color: var(--aman-primary);
  text-align: justify;
}

.aman-bullet {
  line-height: 1.8;
}

/* HTML Content Styling */
.aman-content h1,
.aman-content h2,
.aman-content h3,
.aman-content h4,
.aman-content h5,
.aman-content h6 {
  color: var(--aman-primary);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.aman-content strong,
.aman-content b {
  font-weight: 600;
  color: var(--aman-primary);
}

.aman-content em,
.aman-content i {
  font-style: italic;
}

.aman-content ul:not(.aman-list),
.aman-content ol {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  margin-bottom: 1.5rem;
}

[dir="rtl"] .aman-content ul:not(.aman-list),
[dir="rtl"] .aman-content ol {
  padding-right: 1.5rem;
  padding-left: 0;
}

[dir="ltr"] .aman-content ul:not(.aman-list),
[dir="ltr"] .aman-content ol {
  padding-left: 1.5rem;
  padding-right: 0;
}

[dir="rtl"] .aman-list {
  padding-right: 0;
  padding-left: 0;
}

[dir="rtl"] .aman-list-item {
  padding-right: 1.5rem;
  padding-left: 0;
}

[dir="rtl"] .aman-bullet {
  right: 0;
  left: auto;
}

[dir="ltr"] .aman-list {
  padding-left: 0;
  padding-right: 0;
}

[dir="ltr"] .aman-list-item {
  padding-left: 1.5rem;
  padding-right: 0;
}

[dir="ltr"] .aman-bullet {
  left: 0;
  right: auto;
}

/* About Page Sidebar Styling */
.about-sidebar {
  position: sticky;
  top: 200px;
  z-index: 10;
}

@media (max-width: 991px) {
  .about-sidebar {
    position: relative;
    top: 0;
    margin-bottom: 2rem;
  }
}

/* Services Page Sidebar Styling */
.services-sidebar {
  position: sticky;
  top: 100px;
  z-index: 10;
}

.services-sidebar .nav-link {
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.services-sidebar .nav-link:hover {
  background-color: rgba(118, 193, 67, 0.1);
  border-left-color: var(--aman-secondary);
}

.services-sidebar .nav-link.bg-primary {
  border-left-color: var(--aman-secondary);
}

[dir="rtl"] .services-sidebar .nav-link {
  border-left: none;
  border-right: 3px solid transparent;
}

[dir="rtl"] .services-sidebar .nav-link:hover {
  border-right-color: var(--aman-secondary);
}

[dir="rtl"] .services-sidebar .nav-link.bg-primary {
  border-right-color: var(--aman-secondary);
}

@media (max-width: 991px) {
  .services-sidebar {
    position: relative;
    top: 0;
    margin-bottom: 2rem;
  }
}

.about-sidebar .nav-link {
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.about-sidebar .nav-link:hover {
  background-color: rgba(118, 193, 67, 0.1);
  border-left-color: var(--aman-secondary);
}

.about-sidebar .nav-link.bg-primary {
  border-left-color: var(--aman-secondary);
}

[dir="rtl"] .about-sidebar .nav-link {
  border-left: none;
  border-right: 3px solid transparent;
}

[dir="rtl"] .about-sidebar .nav-link:hover {
  border-right-color: var(--aman-secondary);
}

[dir="rtl"] .about-sidebar .nav-link.bg-primary {
  border-right-color: var(--aman-secondary);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .aman-ceo-icon {
    width: 80px;
    height: 80px;
  }
  
  .aman-icon-wrapper {
    width: 60px;
    height: 60px;
  }
  
  .aman-info-card .card-body {
    padding: 2rem !important;
  }
  
  .content-wrapper .text-content {
    font-size: 1rem;
  }
  
  .aman-list-item {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    font-size: 0.95rem;
  }
  
  [dir="rtl"] .aman-list-item {
    padding-right: 1.25rem;
    padding-left: 0;
  }
}

/* Pagination in Sidebar - Compact Style */
.col-3 .pagination {
  margin-bottom: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.col-3 .pagination .page-link {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.col-3 .pagination .page-item {
  margin: 0 0.125rem;
}

.col-3 .pagination .page-item:first-child .page-link,
.col-3 .pagination .page-item:last-child .page-link {
  border-radius: 0.25rem;
}

.col-3 .pagination .page-item.disabled .page-link {
  opacity: 0.5;
  pointer-events: none;
}

/* News Sidebar - Active Item Light Color */
.list-group-item.active {
  background-color: rgba(118, 193, 67, 0.15) !important;
  border-color: rgba(118, 193, 67, 0.3) !important;
  color: var(--aman-primary) !important;
}

.list-group-item.active h6 {
  color: var(--aman-primary) !important;
  font-weight: 600;
}

.list-group-item.active .text-muted {
  color: var(--aman-primary-light) !important;
}

.list-group-item.active:hover {
  background-color: rgba(118, 193, 67, 0.2) !important;
  border-color: rgba(118, 193, 67, 0.4) !important;
}

/* About Company Section - Logo Wrapper */
.aman-logo-wrapper {
  background: linear-gradient(135deg, rgba(118, 193, 67, 0.1) 0%, rgba(44, 140, 46, 0.05) 100%);
  border-radius: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aman-logo-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(118, 193, 67, 0.2);
}

/* About Company Card Enhancement */
.aman-info-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 4px solid var(--aman-secondary);
}

.aman-info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15) !important;
}

[dir="rtl"] .aman-info-card {
  border-left: none;
  border-right: 4px solid var(--aman-secondary);
}

/* Quick Links Section - Enhanced Styling */
.aman-quick-link-item {
  transition: all 0.3s ease;
  padding: 1rem;
}

.quick-link-icon-wrapper {
  position: relative;
  display: inline-block;
}

.icon-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--aman-gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 20px rgba(118, 193, 67, 0.3);
}

.icon-circle::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: var(--aman-gradient-brand);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  filter: blur(10px);
}

.aman-quick-link-item:hover .icon-circle::before {
  opacity: 0.5;
}

.icon-circle span {
  font-size: 2.5rem;
  color: white;
  transition: all 0.4s ease;
  z-index: 1;
}

.aman-quick-link-item:hover .icon-circle {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 30px rgba(118, 193, 67, 0.4);
}

.aman-quick-link-item:hover .icon-circle span {
  transform: scale(1.1);
}

.quick-link-title {
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.quick-link-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--aman-secondary);
  transition: width 0.3s ease;
}

.aman-quick-link-card:hover .quick-link-title::after {
  width: 100%;
}

.aman-quick-link-card:hover .quick-link-title {
  color: var(--aman-accent) !important;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .icon-circle {
    width: 70px;
    height: 70px;
  }
  
  .icon-circle span {
    font-size: 2rem;
  }
}

/* Services Section Styling */
.aman-service-card {
  transition: all 0.3s ease;
  border-top: 3px solid transparent;
}

.aman-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(118, 193, 67, 0.2) !important;
  border-top-color: var(--aman-secondary);
}

.service-icon-wrapper {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(118, 193, 67, 0.1) 0%, rgba(44, 140, 46, 0.05) 100%);
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

.aman-service-card:hover .service-icon-wrapper {
  background: var(--aman-gradient-brand);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 20px rgba(118, 193, 67, 0.3);
}

.aman-service-card:hover .service-icon-wrapper span {
  color: white !important;
}

/* Statistics Counter Section - Pattern Background with Shapes */
.aman-stats-pattern-bg {
  background: linear-gradient(135deg, var(--aman-accent) 0%, var(--aman-secondary) 50%, var(--aman-primary) 100%);
  position: relative;
  overflow: hidden;
}

.aman-stats-pattern-bg .container {
  z-index: 2;
  position: relative;
}

.aman-stats-pattern-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 60%),
    linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
  background-size: 400px 400px, 500px 500px, 600px 600px, 100% 100%;
  background-position: 0% 0%, 100% 100%, 50% 50%, 0% 0%;
  animation: patternMove 20s ease-in-out infinite;
  opacity: 0.6;
}

.aman-stats-pattern-bg::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.03) 4px),
    repeating-linear-gradient(-45deg, transparent, transparent 2px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.03) 4px);
  animation: patternRotate 30s linear infinite;
  opacity: 0.4;
}

@keyframes patternMove {
  0%, 100% {
    background-position: 0% 0%, 100% 100%, 50% 50%, 0% 0%;
  }
  50% {
    background-position: 100% 100%, 0% 0%, 50% 50%, 100% 100%;
  }
}

@keyframes patternRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Decorative Background Shapes with Icons */
.aman-bg-shape {
  position: absolute;
  color: rgba(255, 255, 255, 0.15);
  font-size: 8rem;
  z-index: 0;
  pointer-events: none;
  animation: floatShape 15s ease-in-out infinite;
}

.aman-shape-1 {
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.aman-shape-2 {
  top: 60%;
  right: 10%;
  font-size: 6rem;
  animation-delay: 2s;
}

.aman-shape-3 {
  bottom: 15%;
  left: 15%;
  font-size: 7rem;
  animation-delay: 4s;
}

.aman-shape-4 {
  top: 30%;
  right: 20%;
  font-size: 5rem;
  animation-delay: 1s;
}

.aman-shape-5 {
  bottom: 25%;
  right: 5%;
  font-size: 6.5rem;
  animation-delay: 3s;
}

@keyframes floatShape {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.15;
  }
  50% {
    transform: translateY(-30px) rotate(10deg);
    opacity: 0.25;
  }
}

@media (max-width: 768px) {
  .aman-bg-shape {
    font-size: 4rem !important;
    opacity: 0.1;
  }
  
  .aman-shape-1,
  .aman-shape-2,
  .aman-shape-3,
  .aman-shape-4,
  .aman-shape-5 {
    font-size: 3rem !important;
  }
}

/* ============================================
   Sections Pattern Backgrounds with Icons
   ============================================ */

/* Base Pattern Background */
.aman-pattern-bg {
  position: relative;
  overflow: hidden;
}

.aman-pattern-bg .container {
  position: relative;
  z-index: 2;
}

/* Decorative Background Icons - Base */
.aman-bg-icon {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  animation: floatIcon 18s ease-in-out infinite;
}

@keyframes floatIcon {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.06;
  }
  50% {
    transform: translateY(-15px) rotate(6deg);
    opacity: 0.12;
  }
}

@media (max-width: 768px) {
  .aman-bg-icon {
    font-size: 2rem !important;
    opacity: 0.04 !important;
  }
}

/* ============================================
   1. About Company Section Background
   ============================================ */
.aman-about-pattern-bg {
  background: linear-gradient(135deg, rgba(118, 193, 67, 0.03) 0%, rgba(248, 250, 248, 1) 50%, rgba(240, 247, 240, 0.5) 100%);
  position: relative;
  overflow: hidden;
}

.aman-about-pattern-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 15% 25%, rgba(118, 193, 67, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(44, 140, 46, 0.04) 0%, transparent 45%);
  animation: aboutPatternMove 30s ease-in-out infinite;
}

@keyframes aboutPatternMove {
  0%, 100% { background-position: 0% 0%, 100% 100%; }
  50% { background-position: 50% 50%, 50% 50%; }
}

.aman-about-icon {
  color: rgba(118, 193, 67, 0.07);
  font-size: 4.5rem;
}

.aman-about-icon-1 { top: 8%; left: 5%; animation-delay: 0s; }
.aman-about-icon-2 { top: 20%; right: 8%; font-size: 3.5rem; animation-delay: 2s; }
.aman-about-icon-3 { bottom: 15%; left: 10%; font-size: 4rem; animation-delay: 4s; }
.aman-about-icon-4 { bottom: 25%; right: 5%; font-size: 3rem; animation-delay: 3s; }

/* ============================================
   2. Vision/Mission/Values/Goals Section Background
   ============================================ */
.aman-vision-pattern-bg {
  background: linear-gradient(180deg, #ffffff 0%, rgba(248, 252, 248, 1) 50%, rgba(240, 248, 240, 0.3) 100%);
  position: relative;
  overflow: hidden;
}

.aman-vision-pattern-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 10% 50%, rgba(118, 193, 67, 0.04) 0%, transparent 35%),
    radial-gradient(circle at 90% 50%, rgba(44, 140, 46, 0.03) 0%, transparent 35%),
    radial-gradient(circle at 50% 10%, rgba(118, 193, 67, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(44, 140, 46, 0.03) 0%, transparent 40%);
  animation: visionPatternMove 35s ease-in-out infinite;
}

@keyframes visionPatternMove {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

.aman-vision-icon {
  color: rgba(118, 193, 67, 0.06);
  font-size: 4rem;
}

.aman-vision-icon-1 { top: 5%; left: 3%; animation-delay: 0s; }
.aman-vision-icon-2 { top: 10%; right: 5%; font-size: 3.5rem; animation-delay: 2s; }
.aman-vision-icon-3 { bottom: 8%; left: 5%; font-size: 3rem; animation-delay: 4s; }
.aman-vision-icon-4 { bottom: 10%; right: 8%; font-size: 3.5rem; animation-delay: 3s; }
.aman-vision-icon-5 { top: 50%; left: 2%; font-size: 2.5rem; animation-delay: 1s; }
.aman-vision-icon-6 { top: 50%; right: 2%; font-size: 2.5rem; animation-delay: 5s; }

/* ============================================
   3. Latest News Section Background
   ============================================ */
.aman-news-pattern-bg {
  background: linear-gradient(135deg, rgba(118, 193, 67, 0.04) 0%, #f8f9fa 50%, rgba(240, 247, 240, 0.6) 100%);
  position: relative;
  overflow: hidden;
}

.aman-news-pattern-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(118, 193, 67, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(44, 140, 46, 0.04) 0%, transparent 45%);
  animation: newsPatternMove 28s ease-in-out infinite;
}

@keyframes newsPatternMove {
  0%, 100% { background-position: 0% 0%, 100% 100%; }
  50% { background-position: 100% 0%, 0% 100%; }
}

.aman-news-icon {
  color: rgba(118, 193, 67, 0.07);
  font-size: 4.5rem;
}

.aman-news-icon-1 { top: 5%; left: 4%; animation-delay: 0s; }
.aman-news-icon-2 { top: 15%; right: 6%; font-size: 3.5rem; animation-delay: 2s; }
.aman-news-icon-3 { bottom: 10%; left: 6%; font-size: 4rem; animation-delay: 3s; }
.aman-news-icon-4 { bottom: 20%; right: 4%; font-size: 3rem; animation-delay: 4s; }
.aman-news-icon-5 { top: 50%; right: 2%; font-size: 2.5rem; animation-delay: 1s; }

/* ============================================
   4. Quick Links Section Background
   ============================================ */
.aman-quicklinks-pattern-bg {
  background: linear-gradient(180deg, #ffffff 0%, rgba(250, 252, 250, 1) 50%, rgba(245, 250, 245, 0.5) 100%);
  position: relative;
  overflow: hidden;
}

.aman-quicklinks-pattern-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 25% 40%, rgba(118, 193, 67, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 75% 60%, rgba(44, 140, 46, 0.03) 0%, transparent 40%);
  animation: quicklinksPatternMove 25s ease-in-out infinite;
}

@keyframes quicklinksPatternMove {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 1; }
}

.aman-quicklinks-icon {
  color: rgba(118, 193, 67, 0.06);
  font-size: 4rem;
}

.aman-quicklinks-icon-1 { top: 8%; left: 5%; animation-delay: 0s; }
.aman-quicklinks-icon-2 { top: 12%; right: 6%; font-size: 3rem; animation-delay: 2s; }
.aman-quicklinks-icon-3 { bottom: 10%; left: 8%; font-size: 3.5rem; animation-delay: 3s; }
.aman-quicklinks-icon-4 { bottom: 15%; right: 5%; font-size: 3rem; animation-delay: 4s; }

/* ============================================
   5. CEO Message Section Background
   ============================================ */
.aman-ceo-pattern-bg {
  background: linear-gradient(135deg, rgba(118, 193, 67, 0.03) 0%, rgba(248, 250, 248, 1) 50%, rgba(242, 248, 242, 0.6) 100%);
  position: relative;
  overflow: hidden;
}

.aman-ceo-pattern-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 30% 30%, rgba(118, 193, 67, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 70% 70%, rgba(44, 140, 46, 0.04) 0%, transparent 45%);
  animation: ceoPatternMove 30s ease-in-out infinite;
}

@keyframes ceoPatternMove {
  0%, 100% { background-position: 0% 0%, 100% 100%; }
  50% { background-position: 50% 0%, 50% 100%; }
}

.aman-ceo-icon {
  color: rgba(118, 193, 67, 0.07);
  font-size: 4rem;
}

.aman-ceo-icon-1 { top: 10%; left: 4%; animation-delay: 0s; }
.aman-ceo-icon-2 { top: 15%; right: 5%; font-size: 3.5rem; animation-delay: 2s; }
.aman-ceo-icon-3 { bottom: 12%; left: 6%; font-size: 3rem; animation-delay: 3s; }
.aman-ceo-icon-4 { bottom: 18%; right: 4%; font-size: 3.5rem; animation-delay: 4s; }
.aman-ceo-icon-5 { top: 50%; right: 2%; font-size: 2.5rem; animation-delay: 1s; }

/* ============================================
   6. Services Section Background
   ============================================ */
.aman-services-pattern-bg {
  background: linear-gradient(135deg, #f8faf8 0%, #f0f7f0 50%, #fafafa 100%);
  position: relative;
  overflow: hidden;
}

.aman-services-pattern-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(118, 193, 67, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(44, 140, 46, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(118, 193, 67, 0.03) 0%, transparent 60%);
  background-size: 400px 400px, 500px 500px, 600px 600px;
  animation: servicesPatternMove 25s ease-in-out infinite;
}

@keyframes servicesPatternMove {
  0%, 100% { background-position: 0% 0%, 100% 100%, 50% 50%; }
  50% { background-position: 100% 100%, 0% 0%, 50% 50%; }
}

/* Decorative Service Icons */
.aman-service-bg-icon {
  position: absolute;
  color: rgba(118, 193, 67, 0.08);
  font-size: 5rem;
  z-index: 0;
  pointer-events: none;
  animation: floatServiceIcon 20s ease-in-out infinite;
}

.aman-service-icon-1 { top: 5%; left: 3%; animation-delay: 0s; }
.aman-service-icon-2 { top: 15%; right: 5%; font-size: 4rem; animation-delay: 3s; }
.aman-service-icon-3 { bottom: 20%; left: 8%; font-size: 4.5rem; animation-delay: 6s; }
.aman-service-icon-4 { top: 50%; right: 3%; font-size: 3.5rem; animation-delay: 2s; }
.aman-service-icon-5 { bottom: 10%; right: 15%; font-size: 4rem; animation-delay: 4s; }
.aman-service-icon-6 { bottom: 30%; left: 2%; font-size: 3rem; animation-delay: 5s; }

@keyframes floatServiceIcon {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.08;
  }
  50% {
    transform: translateY(-20px) rotate(8deg);
    opacity: 0.15;
  }
}

@media (max-width: 768px) {
  .aman-service-bg-icon {
    font-size: 2.5rem !important;
    opacity: 0.05;
  }
}

/* Statistics Counter Section Styling */
.stat-counter-item {
  padding: 3rem 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-counter-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border-radius: 15px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.stat-counter-item:hover::before {
  opacity: 1;
}

.stat-counter-item:hover {
  transform: translateY(-10px) scale(1.05);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.stat-icon-wrapper {
  width: 160px;
  height: 160px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 4px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.stat-icon-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.stat-counter-item:hover .stat-icon-wrapper::before {
  opacity: 1;
  animation: shine 1.5s ease-in-out;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.stat-counter-item:hover .stat-icon-wrapper {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.2) 100%);
  transform: scale(1.15) rotate(10deg);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-icon-wrapper span {
  color: white;
  font-size: 5.5rem;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.stat-counter-item:hover .stat-icon-wrapper span {
  transform: scale(1.1);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.stat-number {
  color: white;
  font-weight: 800;
  font-size: 4rem;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  line-height: 1;
  transition: all 0.3s ease;
  position: relative;
}

.stat-counter-item:hover .stat-number {
  transform: scale(1.1);
  text-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.stat-label {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.stat-counter-item:hover .stat-label {
  color: white;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .stat-icon-wrapper {
    width: 110px;
    height: 110px;
  }
  
  .stat-icon-wrapper span {
    font-size: 3.75rem;
  }
  
  .stat-number {
    font-size: 3rem !important;
  }
  
  .stat-counter-item {
    padding: 2rem 1rem;
  }
}

/* CEO Name Display Styling */
.ceo-name-display {
  position: relative;
  padding: 1rem 0;
}

.ceo-name-text {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--aman-accent);
  letter-spacing: 0.5px;
  position: relative;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, rgba(118, 193, 67, 0.1) 0%, rgba(44, 140, 46, 0.05) 100%);
  border-radius: 10px;
  border-right: 4px solid var(--aman-secondary);
  transition: all 0.3s ease;
  font-style: italic;
}

[dir="rtl"] .ceo-name-text {
  border-right: none;
  border-left: 4px solid var(--aman-secondary);
}

.ceo-name-display:hover .ceo-name-text {
  transform: translateX(5px);
  box-shadow: 0 6px 20px rgba(118, 193, 67, 0.25);
  background: linear-gradient(135deg, rgba(118, 193, 67, 0.15) 0%, rgba(44, 140, 46, 0.1) 100%);
}

[dir="rtl"] .ceo-name-display:hover .ceo-name-text {
  transform: translateX(-5px);
}

.ceo-name-display i {
  font-size: 1.2rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

/* Home Page - Values and Goals Preview Styling */
.values-preview-content,
.goals-preview-content {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
  max-height: 3.2em;
}

.values-preview-content ul,
.goals-preview-content ul {
  margin-bottom: 0;
  padding-left: 1.5rem;
}

.values-preview-content li,
.goals-preview-content li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.values-preview-content li:last-child,
.goals-preview-content li:last-child {
  margin-bottom: 0;
}

.values-preview-content p,
.goals-preview-content p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.values-preview-content p:last-child,
.goals-preview-content p:last-child {
  margin-bottom: 0;
}

/* Collapse Animation */
.collapse {
  transition: height 0.35s ease;
}

.values-full .aman-content,
.goals-full .aman-content {
  padding-top: 0.5rem;
}

[dir="rtl"] .values-preview-content ul,
[dir="rtl"] .goals-preview-content ul {
  padding-right: 1.5rem;
  padding-left: 0;
}

/* الإدارة التنفيذية - عرض المدير العام */
.aman-executive-card {
  max-width: 420px;
  padding: 2.5rem 2rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.aman-executive-photo {
  width: 220px;
  height: 220px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--aman-secondary);
  background: #f5f5f5;
}

.aman-executive-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aman-executive-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(118, 193, 67, 0.15) 0%, rgba(44, 140, 46, 0.1) 100%);
  color: var(--aman-secondary);
  font-size: 4.5rem;
}

.aman-executive-card h4 {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.aman-executive-card .fs-5 {
  font-weight: 600;
  color: var(--aman-primary) !important;
}

/* بطاقات المستويات الأخرى في الشبكة */
.col-md-6 .aman-executive-card .aman-executive-photo,
.col-lg-4 .aman-executive-card .aman-executive-photo {
  width: 180px;
  height: 180px;
}

.col-md-6 .aman-executive-card,
.col-lg-4 .aman-executive-card {
  max-width: 100%;
  padding: 1.5rem 1rem;
}

.col-md-6 .aman-executive-card h5,
.col-lg-4 .aman-executive-card h5 {
  font-size: 1.1rem;
}

@media (max-width: 576px) {
  .aman-executive-photo {
    width: 180px;
    height: 180px;
  }
  .aman-executive-card {
    padding: 1.5rem 1rem;
  }
  .aman-executive-card h4 {
    font-size: 1.25rem;
  }
  .col-md-6 .aman-executive-card .aman-executive-photo,
  .col-lg-4 .aman-executive-card .aman-executive-photo {
    width: 150px;
    height: 150px;
  }
}

/* ============================================
   Scroll to Top Button - جذاب وواضح
   ============================================ */
.scroll-to-top-btn,
#scrollToTop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  padding: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  border: none;
  border-radius: 50% !important;
  aspect-ratio: 1 / 1;
  background: linear-gradient(145deg, var(--aman-secondary) 0%, var(--aman-accent) 100%) !important;
  color: #fff !important;
  font-size: 1.25rem;
  box-shadow: 0 4px 20px rgba(44, 140, 46, 0.45), 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
  opacity: 0.95;
  cursor: pointer;
}
.scroll-to-top-btn:hover,
#scrollToTop:hover {
  opacity: 1;
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 10px 35px rgba(44, 140, 46, 0.5), 0 6px 16px rgba(0, 0, 0, 0.2);
  color: #fff !important;
}
.scroll-to-top-btn:active,
#scrollToTop:active {
  transform: translateY(-2px) scale(1.02);
}
.scroll-to-top-btn i,
#scrollToTop i {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

/* RTL Support for Scroll Button */
[dir="rtl"] .scroll-to-top-btn,
[dir="rtl"] #scrollToTop {
  right: auto;
  left: 28px;
}

/* ============================================
   Additional RTL Improvements
   ============================================ */
[dir="rtl"] .breadcrumb-item + .breadcrumb-item::before {
  float: right;
  padding-left: 0.5rem;
  padding-right: 0;
}

[dir="rtl"] .list-group-item {
  text-align: right;
}

[dir="rtl"] .card-header {
  text-align: right;
}

/* Phone and Email LTR in RTL context */
[dir="rtl"] a[href^="tel:"],
[dir="rtl"] a[href^="mailto:"] {
  direction: ltr;
  unicode-bidi: embed;
}

/* ============================================
   Page Header Bar (green bar - internal pages)
   ============================================ */
.page-header-bar,
.page-header-bar h1,
.page-header-bar .breadcrumb-item.active,
.page-header-bar .breadcrumb-item a {
  color: #fff !important;
}

/* عنوان الشريط الأخضر: منع تداخل الحروف (خصوصاً في الإنجليزي) */
.page-header-bar h1,
.page-header-bar .page-header-title {
  line-height: 1.4 !important;
  word-spacing: normal;
  letter-spacing: normal;
  white-space: normal;
  overflow: visible;
  min-height: 0;
}
[dir="ltr"] .page-header-bar h1,
[dir="ltr"] .page-header-bar .page-header-title {
  line-height: 1.5 !important;
}
.page-header-bar .breadcrumb-item a:hover {
  color: rgba(255, 255, 255, 0.9) !important;
}
/* إخفاء الفاصل الافتراضي (/) واستخدام السهم من HTML */
.breadcrumb-arrow .breadcrumb-item + .breadcrumb-item::before {
  display: none;
}
.breadcrumb-arrow .breadcrumb-sep::before {
  display: none;
}

/* السهم كعنصر HTML: LTR = chevron-right، RTL = chevron-left */
.page-header-bar .breadcrumb-sep {
  color: rgba(255, 255, 255, 0.75);
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.page-header-bar .breadcrumb-sep .breadcrumb-arrow-rtl {
  display: none;
}
.page-header-bar .breadcrumb-sep .breadcrumb-arrow-ltr {
  display: inline-block;
}
[dir="rtl"] .page-header-bar .breadcrumb-sep .breadcrumb-arrow-ltr {
  display: none;
}
[dir="rtl"] .page-header-bar .breadcrumb-sep .breadcrumb-arrow-rtl {
  display: inline-block;
}

/* RTL: input-group - الأيقونة على اليمين */
[dir="rtl"] .input-group {
  flex-direction: row-reverse;
}
[dir="rtl"] .input-group .form-control {
  text-align: right;
}

/* صفحة اتصل بنا - RTL */
[dir="rtl"] .contact-page-row .col-lg-8 {
  order: 2;
}
[dir="rtl"] .contact-page-row .col-lg-4 {
  order: 1;
}
[dir="rtl"] .contact-page .form-label,
[dir="rtl"] .contact-page .card-body,
[dir="rtl"] .contact-page .card-header {
  text-align: right;
}
[dir="rtl"] .contact-page .card-header h4 {
  flex-direction: row-reverse;
  justify-content: flex-end;
  display: flex;
  align-items: center;
}
[dir="rtl"] .contact-page .d-flex.mb-4,
[dir="rtl"] .contact-page .d-flex:last-of-type {
  flex-direction: row-reverse;
}
[dir="rtl"] .contact-page .d-flex .flex-grow-1 {
  text-align: right;
}
[dir="rtl"] .contact-page textarea.form-control {
  text-align: right;
}

/* عرض سطرين فقط من المحتوى (الرؤية، الرسالة، القيم، الأهداف) */
.content-2-lines {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.6;
  max-height: calc(1.6em * 2);
}
.content-2-lines p {
  margin-bottom: 0;
}

/* دوائر أيقونات معلومات التواصل - شكل دائري مثالي */
.contact-info-icon-circle {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 50% !important;
}
