:root {
  --primary-dark: #002b28;
  --primary-light: #66686a;
  --accent-teal: #2c221c;
  --accent-orange: #8b6048; /* اللون البرتقالي من الشعار */
  --accent-orange-light: #ffad70;
  --accent-orange-dark: #e67530;
  --accent-gold: #cfb53b;
  --text-white: #ffffff;
  --text-dim: #aebdbb;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --border-color: rgba(255, 255, 255, 0.1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Cairo", sans-serif;
  /* background-color: var(--primary-dark); */
  color: var(--text-white);
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  display: flex;
}

/* --- Sidebar --- */
.sidebar {
  width: 90px;
  background: #001f1d;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-left: 1px solid var(--border-color);
  z-index: 100;
  padding: 20px 0;
}

.logo-area {
  /* display: flex; */
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.logo-area img {
  height: 30px;
}

.nav-icons {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  width: 100%;
  align-items: center;
  overflow-y: auto;
  /* Hide scrollbar */
  scrollbar-width: none;
}

.nav-icons::-webkit-scrollbar {
  display: none;
}

.nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.nav-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent-teal);
}

.nav-btn.active {
  background: var(--accent-teal);
  color: var(--primary-dark);
  box-shadow: 0 0 15px rgba(156, 235, 200, 0.3);
}

/* Tooltip on hover */
.nav-btn::after {
  content: attr(title);
  position: absolute;
  right: 70px;
  background: var(--accent-teal);
  color: var(--primary-dark);
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: bold;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  transform: translateX(10px);
}

.nav-btn:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.back-home-btn {
  margin-top: auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.back-home-btn:hover {
  background: var(--accent-gold);
  color: var(--primary-dark);
}

.back-home-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* --- Content Area --- */
.content-area {
  flex: 1;
  position: relative;
  padding: 40px;
  background: radial-gradient(circle at top left, #0b3d39, var(--primary-dark));
}

.content-section {
  position: absolute;
  inset: 40px; /* Padding inside main area */
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow-y: auto; /* Internal Scroll */
  padding-right: 10px; /* Space for scrollbar */
}

.content-section.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--text-dim);
}

.breadcrumb a {
  color: var(--accent-teal);
  text-decoration: none;
  transition: 0.3s;
}

.breadcrumb a:hover {
  color: var(--accent-orange-light);
}

.section-header {
  margin-bottom: 30px;
  position: relative;
}

.section-header::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 0;
  width: 80px;
  height: 4px;
  /* background: linear-gradient(90deg, var(--accent-teal), transparent); */
  border-radius: 2px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(229, 126, 58, 0.2);
  color: var(--accent-teal);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 15px;
  border: 1px solid rgba(229, 126, 58, 0.3);
}

/* Custom Scrollbar for Content */
.content-section::-webkit-scrollbar {
  width: 6px;
}
.content-section::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}
/* الكود الصحيح الذي يجب استخدامه */
.content-section::-webkit-scrollbar-thumb {
  background: var(--accent-teal); /* <-- استخدم متغير اللون البرتقالي */
  border-radius: 3px;
}

/* Headers */
.header-box {
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
}

.header-box h1 {
  font-size: 36px;
  color: var(--accent-teal);
  margin-bottom: 10px;
}

.header-box p {
  color: var(--text-dim);
  font-size: 18px;
}

/* Grids & Cards */
.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.text-block {
  background: var(--glass-bg);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
}

.text-block h3 {
  color: var(--accent-gold);
  margin-bottom: 15px;
  font-size: 22px;
}

.text-block p {
  line-height: 1.8;
  color: #ddd;
}

.image-block {
  grid-row: span 2;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  min-height: 300px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Values */
.values-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.value-card {
  background: var(--glass-bg);
  padding: 30px 20px;
  border-radius: 15px;
  text-align: center;
  transition: 0.3s;
  border: 1px solid transparent;
}

/* .value-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-teal);
} */

.value-card .icon {
  font-size: 40px;
  margin-bottom: 15px;
}

/* Timeline */
.timeline {
  border-right: 2px solid var(--accent-teal);
  padding-right: 30px;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  right: -36px;
  top: 5px;
  width: 10px;
  height: 10px;
  background: var(--accent-teal);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(229, 126, 58, 0.2);
}

.timeline-item .year {
  font-size: 24px;
  font-weight: bold;
  color: var(--accent-teal);
  margin-bottom: 5px;
}

.timeline-item .desc {
  font-size: 16px;
  color: #ddd;
}

/* Files List */
.files-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.file-item {
  background: var(--glass-bg);
  padding: 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid var(--border-color);
}

.file-icon {
  font-size: 30px;
}

.file-info h4 {
  margin-bottom: 5px;
}

.file-info span {
  font-size: 12px;
  color: var(--text-dim);
}

.download-btn {
  margin-right: auto;
  background: transparent;
  border: 1px solid var(--accent-teal);
  color: var(--accent-teal);
  padding: 8px 15px;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.download-btn:hover {
  background: var(--accent-teal);
  color: var(--primary-dark);
}

/* Messages */
.message-container {
  display: flex;
  gap: 40px;
  background: var(--glass-bg);
  padding: 40px;
  border-radius: 30px;
  align-items: center;
}

.message-container.reverse {
  flex-direction: row-reverse;
}

.person-img {
  width: 250px;
  height: 300px;
  background-color: #ccc;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  flex-shrink: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.chairman-img {
  background-image: url("../images/person.png");
}
.ceo-img {
  background-image: url("../images/person.png");
}

.message-text {
  flex: 1;
}

.message-text h2 {
  color: var(--accent-teal);
  margin-bottom: 5px;
}

.message-text h3 {
  color: var(--text-white);
  margin-bottom: 20px;
  font-weight: 400;
}

.quote {
  font-size: 16px;
  line-height: 1.8;
  color: #ddd;
  font-style: italic;
  background: rgba(0, 0, 0, 0.2);
  padding: 20px;
  border-radius: 10px;
  border-right: 4px solid var(--accent-gold);
}

.signature {
  margin-top: 20px;
  font-family: "Cairo", sans-serif; /* Fallback */
  font-size: 24px;
  color: var(--accent-gold);
}

/* Board Grid */
.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 30px;
}

/* .board-member {
  background: var(--glass-bg);
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  transition: 0.3s;
} */

.board-member:hover {
  background: rgba(255, 255, 255, 0.1);
}

.member-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 15px;
  background-size: cover;
  background-position: center;
  border: 3px solid var(--accent-teal);
}

.board-member h3 {
  font-size: 16px;
  margin-bottom: 5px;
}

.board-member p {
  font-size: 12px;
  color: var(--accent-gold);
}

/* Reports */
.reports-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.report-card {
  background: var(--glass-bg);
  padding: 30px;
  border-radius: 15px;
  border-top: 3px solid var(--accent-teal);
}

.report-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.report-card p {
  color: var(--text-dim);
  margin-bottom: 20px;
  font-size: 14px;
}

.report-card a {
  color: var(--accent-teal);
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
}

.report-card a:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .content-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .values-container {
    grid-template-columns: 1fr 1fr;
  }
  .message-container {
    flex-direction: column !important;
    text-align: center;
  }
  .quote {
    border-right: none;
    border-top: 4px solid var(--accent-gold);
  }
  .person-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
  }
}
/* ===== BOTTOM NAV EXTENDED (10 Items) ===== */
.bottom-nav-extended {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 43, 40, 0.98);
  backdrop-filter: blur(10px);
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 2px;
  padding: 8px 5px;
  border-top: 1px solid rgba(229, 126, 58, 0.2);
  z-index: 1000;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
}

.nav-item-ext {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 4px;
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.3s ease;
  color: var(--text-dim);
  position: relative;
}

.nav-item-ext:hover {
  background: #533a2d;
  color: var(--accent-teal);
  transform: translateY(-2px);
}

.nav-item-ext.active {
  background: rgba(156, 235, 200, 0.15);
  color: var(--accent-teal);
}

.nav-item-ext svg {
  flex-shrink: 0;
}

.nav-item-ext span {
  font-size: 10px;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
}

/* زر المزيد مع مؤشر */
.nav-item-ext.nav-more::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 6px;
  height: 6px;
  background: var(--accent-gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* ===== EXTENDED MENU POPUP ===== */
.extended-menu-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.extended-menu-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.extended-menu-content {
  position: absolute;
  bottom: 60px;
  left: 0;
  right: 0;
  max-height: 75vh;
  background: var(--primary-dark);
  border-radius: 25px 25px 0 0;
  padding: 25px 20px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow-y: auto;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
}

.extended-menu-popup.active .extended-menu-content {
  transform: translateY(0);
}

.extended-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(229, 126, 58, 0.2);
}

.extended-menu-header h3 {
  color: var(--accent-teal);
  font-size: 20px;
  font-weight: bold;
}

.close-extended-menu {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text-white);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.3s;
}

.close-extended-menu:hover {
  background: var(--accent-teal);
  color: var(--primary-dark);
  transform: rotate(90deg);
}

.extended-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.extended-menu-section h4 {
  color: var(--accent-teal);
  font-size: 13px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.extended-menu-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-white);
  transition: all 0.3s;
  border: 1px solid transparent;
  margin-bottom: 8px;
}

.extended-menu-link:hover {
  background: rgba(156, 235, 200, 0.1);
  border-color: var(--accent-teal);
  transform: translateX(-3px);
}

.extended-menu-link .link-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.extended-menu-link span:last-child {
  font-size: 14px;
  font-weight: 500;
}

.extended-quick-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: var(--accent-teal);
  color: var(--primary-dark);
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.3s;
}

.quick-action-btn:hover {
  background: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(156, 235, 200, 0.3);
}

/* Scrollbar */
.extended-menu-content::-webkit-scrollbar {
  width: 6px;
}

.extended-menu-content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}

.extended-menu-content::-webkit-scrollbar-thumb {
  background: var(--accent-teal);
  border-radius: 3px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .bottom-nav-extended {
    grid-template-columns: repeat(5, 1fr);
  }

  .nav-item-ext:nth-child(n + 6) {
    display: none;
  }

  .nav-item-ext.nav-more {
    display: flex;
  }
}

@media (max-width: 768px) {
  .bottom-nav-extended {
    grid-template-columns: repeat(5, 1fr);
    padding: 6px 3px;
  }

  .nav-item-ext {
    padding: 6px 2px;
  }

  .nav-item-ext span {
    font-size: 9px;
  }

  .nav-item-ext svg {
    width: 18px;
    height: 18px;
  }

  .extended-menu-grid {
    grid-template-columns: 1fr;
  }

  .extended-menu-content {
    padding: 20px 15px;
    max-height: 80vh;
  }

  .extended-quick-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .bottom-nav-extended {
    grid-template-columns: repeat(5, 1fr);
  }

  .nav-item-ext span {
    font-size: 8px;
  }

  .extended-menu-header h3 {
    font-size: 18px;
  }

  .extended-menu-link {
    padding: 10px;
  }

  .quick-action-btn {
    font-size: 12px;
    padding: 10px;
  }
}

/* إخفاء القائمة القديمة على الصفحات الفرعية */
.bottom-nav {
  display: none;
}
/* تحسينات إضافية للقائمة الموسعة */

.extended-menu-note {
  background: rgba(156, 235, 200, 0.1);
  border: 1px solid rgba(156, 235, 200, 0.3);
  border-radius: 10px;
  padding: 15px;
  margin-top: 20px;
  text-align: center;
}

.extended-menu-note p {
  color: var(--accent-teal);
  font-size: 12px;
  margin: 0;
  line-height: 1.5;
}

/* تمييز العناصر في القائمة المنبثقة */
.extended-menu-link.main-page {
  background: rgba(156, 235, 200, 0.08);
  border: 1px solid rgba(229, 126, 58, 0.2);
}

/* تحسين عرض الأيقونات في الموبايل */
@media (max-width: 768px) {
  .nav-item-ext span {
    font-size: 8.5px;
    max-width: 55px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* تحسين العرض على الشاشات الصغيرة جداً */
@media (max-width: 380px) {
  .bottom-nav-extended {
    grid-template-columns: repeat(5, 1fr);
    padding: 5px 2px;
  }

  .nav-item-ext {
    padding: 5px 1px;
  }

  .nav-item-ext svg {
    width: 16px;
    height: 16px;
  }

  .nav-item-ext span {
    font-size: 7.5px;
  }

  /* إخفاء بعض العناصر على الشاشات الصغيرة جداً */
  .nav-item-ext:nth-child(n + 6):not(.nav-more) {
    display: none;
  }
}

/* تأثير خاص للعناصر الرئيسية */
.nav-item-ext:nth-child(-n + 9) {
  position: relative;
}

.nav-item-ext:nth-child(-n + 9):hover::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: #eaa75e;
  border-radius: 2px;
}

/* تحسين ترتيب العناصر في التابلت */
@media (max-width: 1024px) and (min-width: 769px) {
  .bottom-nav-extended {
    grid-template-columns: repeat(5, 1fr);
  }

  /* إظهار أول 4 عناصر + المزيد */
  .nav-item-ext:nth-child(n + 6):not(.nav-more) {
    display: none;
  }

  .nav-item-ext.nav-more {
    display: flex;
  }
}

/* تحسين الظهور على الشاشات العريضة */
@media (min-width: 991px) {
  .bottom-nav-extended {
    padding: 10px 20px;
    max-width: 1400px;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 20px 20px 0 0;
  }

  .nav-item-ext {
    padding: 10px 8px;
  }

  .nav-item-ext span {
    font-size: 11px;
  }
}
/* تحسينات إضافية للقائمة الموسعة */

.extended-menu-note {
  background: rgba(156, 235, 200, 0.1);
  border: 1px solid rgba(156, 235, 200, 0.3);
  border-radius: 10px;
  padding: 15px;
  margin-top: 20px;
  text-align: center;
}

.extended-menu-note p {
  color: var(--accent-teal);
  font-size: 12px;
  margin: 0;
  line-height: 1.5;
}

/* تمييز العناصر في القائمة المنبثقة */
.extended-menu-link.main-page {
  background: rgba(156, 235, 200, 0.08);
  border: 1px solid rgba(229, 126, 58, 0.2);
}

/* تحسين عرض الأيقونات في الموبايل */
@media (max-width: 768px) {
  .nav-item-ext span {
    font-size: 8.5px;
    max-width: 55px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* تحسين العرض على الشاشات الصغيرة جداً */
@media (max-width: 380px) {
  .bottom-nav-extended {
    grid-template-columns: repeat(5, 1fr);
    padding: 5px 2px;
  }

  .nav-item-ext {
    padding: 5px 1px;
  }

  .nav-item-ext svg {
    width: 16px;
    height: 16px;
  }

  .nav-item-ext span {
    font-size: 7.5px;
  }

  /* إخفاء بعض العناصر على الشاشات الصغيرة جداً */
  .nav-item-ext:nth-child(n + 6):not(.nav-more) {
    display: none;
  }
}

/* تأثير خاص للعناصر الرئيسية */
.nav-item-ext:nth-child(-n + 9) {
  position: relative;
}

.nav-item-ext:nth-child(-n + 9):hover::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: var(--accent-teal);
  border-radius: 2px;
}

/* تحسين ترتيب العناصر في التابلت */
@media (max-width: 1024px) and (min-width: 769px) {
  .bottom-nav-extended {
    grid-template-columns: repeat(5, 1fr);
  }

  /* إظهار أول 4 عناصر + المزيد */
  .nav-item-ext:nth-child(n + 6):not(.nav-more) {
    display: none;
  }

  .nav-item-ext.nav-more {
    display: flex;
  }
}

/* تحسين الظهور على الشاشات العريضة */
@media (min-width: 1400px) {
  .bottom-nav-extended {
    padding: 10px 20px;
    max-width: 1400px;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 20px 20px 0 0;
  }

  .nav-item-ext {
    padding: 10px 8px;
  }

  .nav-item-ext span {
    font-size: 11px;
  }
}
/* chatbot-styles.css */
button:not(.header-btn):not(.action-btn):not(.send-btn) {
  background: #eaa75e;
  color: white;
  border: none;
}

button:not(.header-btn):not(.action-btn):not(.send-btn):hover {
  background: #eaa75e;
}

/* ===== CHATBOT CONTAINER ===== */
.chatbot-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  font-family: "Cairo", sans-serif;
}

/* ===== CHATBOT ===== */

/* ===== CHATBOT ===== */
.chatbot-toggle {
  background: linear-gradient(
    135deg,
    var(--accent-orange) 0%,
    var(--accent-orange-dark) 100%
  );
  box-shadow: 0 0px 15px rgb(202 187 179 / 26%)
}

/* .chatbot-toggle:hover {
  box-shadow: 0 12px 40px rgba(255, 140, 66, 0.6);
} */

.chatbot-header {
  background: linear-gradient(135deg, #2f3133 0%, #66686a 100%);
  border-bottom: 2px solid var(--accent-orange);
}

.bot-info h3 {
  color: var(--accent-orange);
}

.status-dot {
  background: var(--accent-orange);
}

.quick-action:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: white;
}

.bot-message .message-bubble {
  background: rgba(74, 74, 74, 0.8);
  color: white;
  border: 1px solid rgba(255, 140, 66, 0.3);
}

.user-message .message-bubble {
  background: linear-gradient(
    135deg,
    var(--accent-orange) 0%,
    var(--accent-orange-dark) 100%
  );
  color: white;
}

.send-btn {
  background: linear-gradient(
    135deg,
    var(--accent-orange) 0%,
    var(--accent-orange-dark) 100%
  );
  color: white;
}

.send-btn:hover {
  box-shadow: 0 4px 12px rgba(255, 140, 66, 0.4);
}

.message-button {
  background: var(--accent-orange);
  color: white;
}

.message-button:hover {
  background: var(--accent-orange-dark);
  box-shadow: 0 4px 12px rgba(255, 140, 66, 0.3);
}

.chatbot-header {
  background: linear-gradient(135deg, #2f3133 0%, #66686a 100%);
  border-bottom: 2px solid var(--accent-orange);
}

.bot-info h3 {
  color: var(--accent-orange);
}

.status-dot {
  background: var(--accent-orange);
}

.quick-action:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: white;
}

.bot-message .message-bubble {
  background: rgba(74, 74, 74, 0.8);
  color: white;
  border: 1px solid rgba(255, 140, 66, 0.3);
}

.user-message .message-bubble {
  background: linear-gradient(
    135deg,
    var(--accent-orange) 0%,
    var(--accent-orange-dark) 100%
  );
  color: white;
}

.send-btn {
  background: linear-gradient(
    135deg,
    var(--accent-orange) 0%,
    var(--accent-orange-dark) 100%
  );
  color: white;
}

.send-btn:hover {
  box-shadow: 0 4px 12px rgba(255, 140, 66, 0.4);
}

.message-button {
  background: var(--accent-orange);
  color: white;
}

.message-button:hover {
  background: var(--accent-orange-dark);
  box-shadow: 0 4px 12px rgba(255, 140, 66, 0.3);
}

@keyframes badgePulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

/* ===== CHATBOT WINDOW ===== */
.chatbot-window {
  position: absolute;
  bottom: 80px;
  left: 0;
  width: 400px;
  height: 600px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: slideUp 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.chatbot-window.active {
  display: flex;
}

.chatbot-window.minimized {
  height: 60px;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ===== CHATBOT HEADER ===== */
.chatbot-header {
  background: linear-gradient(135deg, #002b28 0%, #004d47 100%);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #9cebc8;
  flex-shrink: 0;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bot-info h3 {
  color: #9cebc8;
  font-size: 16px;
  margin-bottom: 3px;
}

.status {
  color: #aebdbb;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #2ecc71;
  border-radius: 50%;
  animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.header-actions {
  display: flex;
  gap: 8px;
}

.header-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.header-btn:hover {
  background: rgba(229, 126, 58, 0.2);
}

/* ===== QUICK ACTIONS ===== */
.quick-actions {
  display: flex;
  gap: 8px;
  padding: 15px;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  overflow-x: auto;
  scrollbar-width: none;
}

.quick-actions::-webkit-scrollbar {
  display: none;
}

.quick-action {
  padding: 8px 15px;
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s;
  flex-shrink: 0;
}

.quick-action:hover {
  background: #9cebc8;
  border-color: #9cebc8;
  color: #002b28;
  transform: translateY(-2px);
}

/* ===== MESSAGES CONTAINER ===== */
.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  background: #f8f9fa;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.chatbot-messages::-webkit-scrollbar {
  width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
  background: #e9ecef;
}

.chatbot-messages::-webkit-scrollbar-thumb {
  background: #9cebc8;
  border-radius: 3px;
}

/* ===== MESSAGE ===== */
.message {
  display: flex;
  gap: 10px;
  animation: messageSlide 0.3s ease;
}

@keyframes messageSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bot-message {
  align-self: flex-start;
}

.user-message {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.message-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.message-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-message .message-avatar {
  background: linear-gradient(135deg, #9cebc8 0%, #6dd5b0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #002b28;
  font-size: 18px;
  font-weight: bold;
}

.message-content {
  max-width: 75%;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.message-bubble {
  padding: 12px 16px;
  border-radius: 18px;
  line-height: 1.5;
  font-size: 14px;
}

.bot-message .message-bubble {
  background: white;
  color: #212529;
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.user-message .message-bubble {
  background: linear-gradient(135deg, #9cebc8 0%, #6dd5b0 100%);
  color: #002b28;
  border-bottom-right-radius: 4px;
}

.message-bubble p {
  margin: 0 0 8px 0;
}

.message-bubble p:last-child {
  margin-bottom: 0;
}

.message-bubble ul {
  margin: 8px 0;
  padding-right: 20px;
}

.message-bubble li {
  margin: 5px 0;
}

.message-time {
  font-size: 11px;
  color: #6c757d;
  align-self: flex-end;
}

.user-message .message-time {
  align-self: flex-start;
}

/* ===== WELCOME MESSAGE ===== */
.welcome-message .message-bubble {
  background: linear-gradient(135deg, #002b28 0%, #004d47 100%);
  color: white;
  border: 2px solid #9cebc8;
}

.welcome-message .message-bubble ul li {
  margin: 8px 0;
}

/* ===== TYPING INDICATOR ===== */
.typing-indicator {
  display: flex;
  gap: 10px;
  padding: 0 20px;
  margin-bottom: 10px;
}

.typing-dots {
  background: white;
  padding: 12px 16px;
  border-radius: 18px;
  border-bottom-left-radius: 4px;
  display: flex;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.typing-dots span {
  width: 8px;
  height: 8px;
  background: #9cebc8;
  border-radius: 50%;
  animation: typingDot 1.4s infinite;
}

.typing-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingDot {
  0%,
  60%,
  100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-10px);
  }
}

/* ===== INPUT AREA ===== */
.chatbot-input-area {
  border-top: 1px solid #e9ecef;
  background: white;
  padding: 12px;
}

.input-container {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  background: #f8f9fa;
  padding: 8px;
  border-radius: 25px;
}

.input-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #6c757d;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  flex-shrink: 0;
}

.input-btn:hover {
  background: #e9ecef;
  color: #002b28;
}

.chatbot-input {
  flex: 1;
  border: none;
  background: transparent;
  resize: none;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  padding: 8px 12px;
  max-height: 100px;
  overflow-y: auto;
}

.chatbot-input:focus {
  outline: none;
}

.chatbot-input::-webkit-scrollbar {
  width: 4px;
}

.chatbot-input::-webkit-scrollbar-thumb {
  background: #9cebc8;
  border-radius: 2px;
}

.send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #9cebc8 0%, #6dd5b0 100%);
  color: #002b28;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  flex-shrink: 0;
}

.send-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(156, 235, 200, 0.4);
}

.send-btn:active {
  transform: scale(0.95);
}

.send-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ===== EMOJI PICKER ===== */
.emoji-picker {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 10px;
  margin-top: 8px;
  max-height: 200px;
  overflow-y: auto;
}

.emoji-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 5px;
  font-size: 24px;
}

.emoji-grid span {
  cursor: pointer;
  transition: transform 0.2s;
}

.emoji-grid span:hover {
  transform: scale(1.3);
}

/* ===== SUGGESTIONS ===== */
.suggestions-container {
  padding: 10px 15px;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.suggestions-container::-webkit-scrollbar {
  display: none;
}

.suggestion-pill {
  padding: 6px 12px;
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 15px;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s;
  flex-shrink: 0;
}

.suggestion-pill:hover {
  background: #9cebc8;
  border-color: #9cebc8;
  color: #002b28;
}

/* ===== MESSAGE TYPES ===== */
.message-image {
  max-width: 200px;
  border-radius: 12px;
  margin-top: 5px;
  cursor: pointer;
}

.message-link {
  display: inline-block;
  color: #007bff;
  text-decoration: none;
  padding: 8px 12px;
  background: #e7f3ff;
  border-radius: 8px;
  margin: 5px 0;
  transition: all 0.3s;
}

.message-link:hover {
  background: #cce5ff;
}

.message-button {
  padding: 10px 20px;
  background: #9cebc8;
  color: #002b28;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  margin: 5px 5px 5px 0;
  transition: all 0.3s;
}

.message-button:hover {
  background: #6dd5b0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(156, 235, 200, 0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .chatbot-container {
    bottom: 10px;
    left: 10px;
    right: 10px;
  }

  .chatbot-window {
    width: calc(100vw - 20px);
    height: calc(100vh - 100px);
    max-height: 650px;
  }

  .chatbot-toggle {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 480px) {
  .message-content {
    max-width: 85%;
  }

  .quick-action {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes messageIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.message.new {
  animation: messageIn 0.3s ease;
}

/* ===== VOICE RECORDING ===== */
.voice-recording {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: #fff3cd;
  border-radius: 20px;
}

.recording-indicator {
  width: 8px;
  height: 8px;
  background: #dc3545;
  border-radius: 50%;
  animation: recordPulse 1s infinite;
}

@keyframes recordPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

.recording-time {
  font-size: 14px;
  color: #856404;
  font-weight: 600;
}

.recording-cancel {
  margin-right: auto;
  padding: 5px 15px;
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  font-size: 12px;
}
/* Content Grid */
.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 36px;
}

.text-block {
  background: rgba(0, 0, 0, 0.4);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  transition: all 0.3s;
}

.text-block:hover {
  transform: translateY(-5px);
  border-color: rgba(229, 126, 58, 0.3);
}

.text-block h3 {
  color: #ffffff;
  margin-bottom: 15px;
  font-size: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.text-block p {
  line-height: 1.9;
  color: #ddd;
  font-size: 15px;
}

.image-block {
  grid-row: span 2;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  min-height: 350px;
  width: 200%;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.image-block::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgb(229 126 58 / 40%), transparent);
}

/* Three Cards */
.three-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 40px;
  margin: 40px 40px 0 0;
}

.info-card {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all 0.3s;
  position: relative;
  width: 90%;
  justify-content: center;
  overflow: hidden;
}

.info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent-teal);
  border-radius: 0 0 3px 3px;
}

.info-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-teal);
  box-shadow: 0 20px 40px rgba(229, 126, 58, 0.2);
}

.info-card .card-icon {
  width: 60px;
  height: 60px;
  background: rgba(229, 126, 58, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 2px solid rgba(229, 126, 58, 0.3);
}

.info-card .card-icon i {
  font-size: 24px;
  color: var(--accent-teal);
}

.info-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--text-white);
}

.info-card p {
  color: var(--text-dim);
  line-height: 1.8;
  font-size: 14px;
}

/* Values Cards */
.values-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.team {
  grid-template-columns: repeat(5, 1fr);
}
.value-card {
  background: rgba(0, 0, 0, 0.4);
  padding: 35px 25px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

/* .value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-gold));
  transform: scaleX(0);
  transition: transform 0.4s;
} */

/* .value-card:hover::before {
  transform: scaleX(1);
} */

/* .value-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-teal);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
} */

.value-card .icon {
  font-size: 50px;
  /* margin-bottom: 20px; */
  display: block;
}

.value-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text-white);
}

.value-card p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.7;
}

/* Files List */
.files-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.file-item {
  background: rgba(0, 0, 0, 0.4);
  padding: 25px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--border-color);
  transition: all 0.3s;
}

.file-item:hover {
  border-color: var(--accent-teal);
  transform: translateY(-5px);
}

.file-icon {
  font-size: 35px;
  width: 60px;
  height: 60px;
  background: rgba(229, 126, 58, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.file-info {
  flex: 1;
}

.file-info h4 {
  margin-bottom: 8px;
  font-size: 16px;
}

.file-info span {
  font-size: 13px;
  color: var(--text-dim);
}

.download-btn {
  background: transparent;
  border: 2px solid var(--accent-teal);
  color: var(--accent-teal);
  padding: 10px 25px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
  font-weight: 600;
}

.download-btn:hover {
  background: var(--accent-teal);
  color: var(--primary-dark);
  transform: scale(1.05);
}

/* Message Container */
.message-container {
  display: flex;
  gap: 40px;
  background: rgba(0, 0, 0, 0.4);
  padding: 40px;
  border-radius: 25px;
  align-items: center;
  margin-top: 30px;
  border: 1px solid var(--border-color);
}

.message-container.reverse {
  flex-direction: row-reverse;
}

.person-img {
  width: 220px;
  height: 280px;
  background-color: #ccc;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  flex-shrink: 0;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  border: 3px solid var(--accent-teal);
}

.chairman-img {
  background-image: url("../images/person.png");
}

.ceo-img {
  background-image: url("../images/person.png");
}

.message-text {
  flex: 1;
}

.message-text h2 {
  color: var(--accent-teal);
  margin-bottom: 8px;
  font-size: 28px;
}

.message-text h3 {
  color: var(--text-white);
  margin-bottom: 25px;
  font-weight: 400;
  font-size: 18px;
}

.quote {
  font-size: 16px;
  line-height: 2;
  color: #ddd;
  font-style: italic;
  background: rgba(0, 0, 0, 0.3);
  padding: 25px;
  border-radius: 15px;
  border-right: 5px solid var(--accent-gold);
  position: relative;
}

.quote::before {
  content: '"';
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 60px;
  color: var(--accent-gold);
  opacity: 0.3;
  font-family: serif;
}

.signature {
  margin-top: 25px;
  font-size: 26px;
  color: var(--accent-gold);
  font-weight: 600;
}

/* Reports Grid */
.reports-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.report-card {
  background: rgba(0, 0, 0, 0.4);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--accent-teal);
  transition: all 0.3s;
}

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

.report-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.report-card p {
  color: var(--text-dim);
  margin-bottom: 20px;
  font-size: 14px;
}

.report-card a {
  color: var(--accent-teal);
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
}

.report-card a:hover {
  color: var(--accent-orange-light);
  gap: 12px;
}

/* ========== عداد الوقود - Fuel Gauge ========== */
.gauge-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* بطاقة الإنجاز - فوق العداد */
.achievement-card {
  background: linear-gradient(
    145deg,
    rgba(50, 50, 50, 0.9),
    rgba(30, 30, 30, 0.9)
  );
  border-radius: 20px;
  padding: 10px 35px;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.5s ease;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
  width: 100%;
  max-width: 500px;
}

.achievement-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-gold));
}

.achievement-card.active {
  border-color: var(--accent-teal);
  box-shadow: 0 10px 40px rgba(229, 126, 58, 0.2);
}

.achievement-year {
  font-size: 40px;
  font-weight: 900;
  color: var(--accent-teal);
  line-height: 1;
  margin-bottom: 10px;
  text-shadow: 2px 2px 10px rgba(229, 126, 58, 0.3);
}

.achievement-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.achievement-desc {
  font-size: 14px;
  color: #bbb;
  line-height: 1.7;
}

.achievement-content {
  opacity: 0;
  transform: translateY(15px);
  animation: fadeInAchievement 0.5s ease forwards;
}

@keyframes fadeInAchievement {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* عداد الوقود */
.fuel-gauge {
  position: relative;
  width: 378px;
  height: 91px;
  margin: 58px 0 0;
}

.gauge-marks {
  position: absolute;
  width: 100%;
  height: 200%;
  top: 0;
  left: 0;
}

.gauge-mark {
  position: absolute;
  width: 3px;
  height: 18px;
  background: rgba(255, 255, 255, 0.5);
  transform-origin: bottom center;
  left: 50%;
  top: 50%;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 2px;
}

.gauge-mark.major {
  height: 28px;
  width: 4px;
  background: #fff;
}

.gauge-mark:hover,
.gauge-mark.active {
  background: var(--accent-teal);
  box-shadow: 0 0 10px var(--accent-teal);
}

.gauge-pump-icon {
  position: absolute;
  top: -46px;
  left: 51%;
  transform: translateX(-50%);
  font-size: 26px;
  color: #ffffff;
  z-index: 5;
}

.gauge-label {
  position: absolute;
  font-size: 20px;
  font-weight: bold;
  color: #ffffff;
}

.gauge-label.empty {
  left: 30px;
  top: 80px;
}

.gauge-label.full {
  right: 30px;
  top: 80px;
}

.year-label {
  position: absolute;
  font-size: 11px;
  font-weight: 600;
  color: rgb(255, 255, 255);
  white-space: nowrap;
  transition: all 0.3s;
  cursor: pointer;
}

.year-label:hover,
.year-label.active {
  color: var(--accent-teal);
  transform: scale(1.15);
}

.gauge-center {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background: linear-gradient(145deg, #5a5a5a, #2a2a2a);
  border-radius: 50%;
  z-index: 10;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

.gauge-center::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: linear-gradient(145deg, #777, #333);
  border-radius: 50%;
}

.gauge-needle {
  position: absolute;
  bottom: 14px;
  left: 50%;
  width: 6px;
  height: 130px;
  transform-origin: bottom center;
  transform: translateX(-50%) rotate(-60deg);
  z-index: 8;
  transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.needle-body {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 120px solid #e53935;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}

.needle-body::before {
  content: "";
  position: absolute;
  bottom: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 18px;
  background: #e53935;
  border-radius: 0 0 2px 2px;
}

/* أزرار التنقل */
.gauge-nav-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.gauge-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  font-size: 18px;
}

.gauge-nav-btn:hover {
  background: var(--accent-teal);
  border-color: var(--accent-teal);
  color: #000;
  transform: scale(1.1);
}

.gauge-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.gauge-nav-btn:disabled:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: none;
}

/* مؤشرات النقاط */
.gauge-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
  z-index: 10;
}

.gauge-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s;
}

.gauge-dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.gauge-dot.active {
  background: var(--accent-teal);
  box-shadow: 0 0 10px var(--accent-teal);
  transform: scale(1.2);
}

/* ========== مضخات الوقود للأعضاء ========== */
.fuel-pump-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 65px;
  margin-top: 50px;
  padding: 30px 20px;
  justify-items: start;
}

.fuel-pump {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.4s ease;
}

.fuel-pump:hover {
  transform: translateY(-10px);
}

.pump-hose {
  position: absolute;
  left: -77px;
  top: 44px;
  width: 110px;
  height: 220px;
  z-index: 0;
  pointer-events: none;
}

.fuel-nozzle {
  position: absolute;
  top: 16px;
  right: -1px;
  width: 60px;
  height: 50px;
  transform: rotate(314deg) scaleY(-1);
}

.nozzle-body {
  position: absolute;
  top: 20px;
  right: 0;
  width: 45px;
  height: 32px;
  background: linear-gradient(180deg, #3a3a3a 0%, #1a1a1a 50%, #0a0a0a 100%);
  border-radius: 5px 12px 4px 4px;
  box-shadow: 3px 4px 10px rgba(0, 0, 0, 0.6);
}

.nozzle-body::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 8px;
  width: 18px;
  height: 14px;
  background: linear-gradient(180deg, #5a5a5a 0%, #3a3a3a 100%);
  border-radius: 3px;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.6);
}

.nozzle-spout {
  position: absolute;
  top: 0;
  right: 8px;
  width: 14px;
  height: 28px;
  background: linear-gradient(90deg, #000000 0%, #2a2a2a 50%, #4a4a4a 100%);
  border-radius: 4px 4px 0 0;
}

.nozzle-trigger {
  position: absolute;
  top: 27px;
  right: 40px;
  width: 10px;
  height: 22px;
  background: linear-gradient(90deg, #6a6a6a 0%, #4a4a4a 100%);
  border-radius: 2px;
  transform: rotate(355deg);
}

.nozzle-handle {
  position: absolute;
  top: 50px;
  right: 5px;
  width: 30px;
  height: 10px;
  background: linear-gradient(180deg, #5a5a5a 0%, #3a3a3a 100%);
  border-radius: 0 0 4px 4px;
}

.hose-cable {
  position: absolute;
  top: 35px;
  right: 0;
  width: 100%;
  height: 180px;
}

.hose-cable svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hose-main {
  fill: none;
  stroke: #1a1a1a;
  stroke-width: 9;
  stroke-linecap: round;
}

.hose-shadow {
  fill: none;
  stroke: #0a0a0a;
  stroke-width: 12;
  stroke-linecap: round;
}

.hose-highlight {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 4;
  stroke-linecap: round;
}

.hose-connector {
  position: absolute;
  bottom: 15px;
  right: 8px;
  width: 22px;
  height: 22px;
  background: linear-gradient(145deg, #7a7a7a 0%, #5a5a5a 50%, #4a4a4a 100%);
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
}

.hose-connector::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, #2a2a2a 0%, #0a0a0a 100%);
  border-radius: 50%;
}

.pump-body {
  position: relative;
  width: 180px;
  background: linear-gradient(180deg, #2d2d2d 0%, #1a1a1a 100%);
  border-radius: 15px 15px 8px 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  transition: box-shadow 0.3s ease;
}

.fuel-pump:hover .pump-body {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(229, 126, 58, 0.15);
}

.pump-head {
  position: relative;
  background: linear-gradient(180deg, #3d3d3d 0%, #2a2a2a 100%);
  border-radius: 12px 12px 0 0;
  padding: 15px;
  border-bottom: 3px solid #1a1a1a;
}

.pump-screen {
  position: relative;
  background: linear-gradient(145deg, #0a0a0a 0%, #1a1a1a 100%);
  border-radius: 10px;
  padding: 8px;
  border: 3px solid #3a3a3a;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

.pump-screen::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  height: 25%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.08),
    transparent
  );
  border-radius: 8px 8px 0 0;
  pointer-events: none;
  z-index: 2;
}

.member-photo {
  width: 88%;
  height: 180px;
  border-radius: 8px;
  background-size: cover;
  background-position: center top;
  position: relative;
  overflow: hidden;
}

.member-photo::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
}

.pump-info {
  padding: 20px 15px;
  text-align: center;
  background: linear-gradient(180deg, #252525 0%, #1a1a1a 100%);
}

.pump-info h3 {
  font-size: 15px;
  color: #ffffff;
  margin-bottom: 8px;
  font-weight: 700;
}

.pump-info p {
  font-size: 11px;
  color: var(--accent-teal);
  font-weight: 600;
}

.pump-base {
  width: 200px;
  height: 20px;
  background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 50%, #0a0a0a 100%);
  border-radius: 4px;
  margin-top: -3px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  position: relative;
}

.pump-base::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
}

.position-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(
    135deg,
    var(--accent-teal),
    var(--accent-orange-dark)
  );
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: bold;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(229, 126, 58, 0.4);
  z-index: 20;
  opacity: 0;
  transition: all 0.3s ease;
}

.fuel-pump:hover .position-badge {
  opacity: 1;
  top: -25px;
}

.fuel-pump::before {
  content: "";
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  background: radial-gradient(
    circle,
    rgba(229, 126, 58, 0.2) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 1;
}

.fuel-pump:hover::before {
  opacity: 1;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-teal);
  border-radius: 4px;
}

.detail-image video {
  border-radius: 20px;
  height: 55vh;
}
/* Responsive */
@media (max-width: 1200px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .image-block {
    grid-row: auto;
    width: 100%;
  }

  .values-container,
  .reports-grid {
    grid-template-columns: 1fr 1fr;
  }

  .fuel-pump-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

@media (max-width: 1024px) {
  .sidebar {
    display: none;
  }

  .content-area {
    margin-right: 0;
  }

  .fuel-pump-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
  }
}

@media (max-width: 768px) {
  .content-area {
    padding: 20px;
    padding-bottom: 90px;
  }

  .glass-card {
    padding: 25px;
    border-radius: 20px;
  }

  .section-header h1 {
    font-size: 28px;
  }

  .values-container,
  .files-list,
  .reports-grid {
    grid-template-columns: 1fr;
  }

  .message-container {
    flex-direction: column !important;
    text-align: center;
    padding: 25px;
  }

  .person-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
  }

  .quote {
    border-right: none;
    border-top: 4px solid var(--accent-gold);
  }

  .fuel-gauge {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 4 / 1;
    height: auto;
  }

  .gauge-needle {
    height: 105px;
  }

  .needle-body {
    border-bottom-width: 95px;
  }

  .needle-body::before {
    bottom: -95px;
  }

  .gauge-label {
    font-size: 22px;
  }

  .gauge-label.empty {
    left: 20px;
    top: 65px;
  }

  .gauge-label.full {
    right: 20px;
    top: 65px;
  }

  .achievement-year {
    font-size: 42px;
  }

  .achievement-title {
    font-size: 17px;
  }

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

  .pump-body {
    width: 150px;
  }

  .pump-base {
    width: 170px;
  }

  .member-photo {
    height: 120px;
  }
  .gauge-label.full,
  .gauge-label.empty {
    top: 90px;
  }
}

@media (max-width: 576px) {
  .fuel-gauge {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 4 / 1;
    height: auto;
  }

  .gauge-needle {
    height: 90px;
  }

  .needle-body {
    border-bottom-width: 80px;
  }

  .needle-body::before {
    bottom: -80px;
  }

  .fuel-pump-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .pump-body {
    width: 180px;
  }

  .pump-base {
    width: 200px;
  }

  .member-photo {
    height: 218px;
  }
  .gauge-label.full,
  .gauge-label.empty {
    top: 105%;
  }
  .gauge-dots {
    margin-top: 70px;
  }
  .header-box {
    margin-bottom: 0px;
    padding-bottom: 10px;
  }
  .header-box h1 {
    font-size: 25px;
    text-align: center;
    margin: 7px 0;
  }
}
