/* ========================================
   Performance Optimizations
   ======================================== */

/* Optimize rendering performance */
* {
  box-sizing: border-box;
}

/* Enable hardware acceleration for animations */
.bio-hero,
.portfolio-item,
.team-member,
.client-item {
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

/* Optimize images */
img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* ========================================
   Custom Scrollbar Styling
   ======================================== */

/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(27, 213, 67, 0.05);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--bio-primary);
  border-radius: 10px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: #15a835;
}

::-webkit-scrollbar-corner {
  background: rgba(27, 213, 67, 0.05);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--bio-primary) rgba(27, 213, 67, 0.05);
}

/* ========================================
   Section Common Styles
   ======================================== */
.bio-section::before,
.bio-clients-section::before,
.bio-faq-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bio-border-light), transparent);
}

/* ========================================
   Section Headers
   ======================================== */
.section-header {
  text-align: center;
}

[dir="ltr"] .section-header {
  text-align: left;
}

[dir="rtl"] .section-header {
  text-align: right;
}

/* ========================================
   Section Content Alignment
   ======================================== */
.section-container {
  text-align: center;
}

[dir="ltr"] .section-container {
  text-align: left;
}

[dir="rtl"] .section-container {
  text-align: right;
}

/* ========================================
   Root Variables & Design System
   ======================================== */
:root {
   --bio-primary: #1bd543;
  --bio-dark: #15302b;
  --bio-bg-light: rgba(21, 48, 43, 0.02);
  --bio-border-light: rgba(27, 213, 67, 0.3);
  --bio-text-light: rgba(27, 213, 67, 0.8);
  --bio-text-dark: #333;
  --bio-text-light-gray: #9b9b9b;

  --border-radius: 30px;
  --blur-light: blur(8px);
  --blur-strong: blur(15px);
  --transition-fast: 0.3s ease;
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Tajawal", sans-serif;
  overflow-x: hidden;
  color: #ffffff;
  line-height: 1.6;
}

/* ========================================
   Header Styles
   ======================================== */
.bio-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 60px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

.bio-header.scrolled {

  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--bio-border-light);
 
}

.bio-logo {
  display: flex;
  align-items: center;
}

.logo-image {
  height: 40px;
  width: auto;
  transition: all 0.3s ease;
}

.logo-text {
  display: none;
}

.bio-header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.bio-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--bio-primary);
  background: transparent;
  color: var(--bio-primary);
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-family: "Tajawal", sans-serif;
}

.bio-btn:hover {
  background: var(--bio-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 213, 67, 0.3);
}

.logo-link {
  text-decoration: none;
  display: block;
  transition: transform 0.3s ease;
}

.logo-link:hover {
  transform: scale(1.05);
}

/* ========================================
   Navigation Styles
   ======================================== */
.bio-navigation {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  width: 100%;
  background: transparent;
  padding: 15px 0;
  z-index: 50;
  opacity: 0;
  transform: translateY(-100%);
  transition: var(--transition-fast);
}

.bio-navigation.visible {
  opacity: 1;
  transform: translateY(0);
}

.bio-nav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  list-style: none;
  padding: 0 40px;
  flex-wrap: wrap;
}

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

.bio-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  color: var(--bio-text-light-gray);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  border: 1px solid var(--bio-text-light-gray);
  backdrop-filter: blur(10px);
}

.bio-nav-link svg {
  width: 18px;
  height: 18px;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.bio-nav-link:hover {
  color: var(--bio-primary);
  background: rgba(27, 213, 67, 0.15);
  transform: translateY(-2px);
}

.bio-nav-link:hover svg {
  opacity: 1;
  transform: scale(1.1);
}

.bio-nav-link.active {
  color: var(--bio-primary);
  background: rgba(27, 213, 67, 0.2);
  font-weight: 600;
  border-color: var(--bio-primary);
}

/* ========================================
   Mobile Menu
   ======================================== */
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--bio-primary);
  border: 2px solid var(--bio-primary);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
  min-width: 40px;
  min-height: 40px;
  position: relative;
}

.mobile-menu-btn:hover {
  background: rgba(27, 213, 67, 0.1);
  transform: scale(1.1);
}

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

.mobile-menu-btn svg {
  width: 22px;
  height: 22px;
  transition: all 0.3s ease;
}

.mobile-sidebar {
  position: fixed;
  top: 0;
  right: 100%;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 900;
  transition: right 0.3s ease;
  overflow-y: auto;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-sidebar.open {
  right: 0;
}

/* English version - sidebar from left */
body[data-lang="en"] .mobile-sidebar {
  left: 100%;
  right: auto;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

body[data-lang="en"] .mobile-sidebar.open {
  left: 0;
  right: auto;
}

.mobile-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-sidebar-header .logo-text {
  display: none;
}

.mobile-sidebar-header .logo-image {
  display: block;
  height: 30px;
  width: auto;
}

.mobile-sidebar-close {
  background: #f0f0f0;
  border: none;
  cursor: pointer;
  padding: 10px;
  border-radius: var(--border-radius);
  transition: all 0.2s ease;
}

.mobile-sidebar-close:hover {
  background: #e0e0e0;
}

.mobile-nav {
  padding: 20px 0;
}

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

.mobile-nav-link {
  display: block;
  padding: 16px 20px;
  color: var(--bio-text-dark);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.2s ease;
}

.mobile-nav-link:hover {
  background: #f8f8f8;
  color: var(--bio-primary);
  padding-right: 30px;
}

.mobile-nav-link.active {
  background: rgba(27, 213, 67, 0.1);
  color: var(--bio-primary);
  border-right: 3px solid var(--bio-primary);
  padding-right: 25px;
}

/* English version - left border and padding */
body[data-lang="en"] .mobile-nav-link:hover {
  padding-right: 16px;
  padding-left: 30px;
}

body[data-lang="en"] .mobile-nav-link.active {
  border-right: none;
  border-left: 3px solid var(--bio-primary);
  padding-right: 16px;
  padding-left: 25px;
}

.mobile-action-buttons {
  padding: 20px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-contact-btn,
.mobile-lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1px solid var(--bio-primary);
  background: transparent;
  color: var(--bio-primary);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-family: "Tajawal", sans-serif;
  width: 100%;
}

.mobile-contact-btn:hover,
.mobile-lang-btn:hover {
  background: var(--bio-primary);
  color: #fff;
  transform: translateY(-1px);
}

.mobile-contact-btn svg,
.mobile-lang-btn svg {
  width: 18px;
  height: 18px;
}

.mobile-sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 850;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ========================================
   Hero Section
   ======================================== */
.bio-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding-top: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
 
}

.hero-background{
 background: #0d3d4d;
  background-image:
    linear-gradient(135deg, rgba(20, 60, 80, 0.85) 0%, rgba(10, 40, 60, 0.75) 100%);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  position: relative;
}

/* RTL - Arabic version: content on right side */
body[data-lang="ar"] .bio-hero {
  justify-content: flex-end;
}

/* LTR - English version: content on left side */
body[data-lang="en"] .bio-hero {
  justify-content: flex-start;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: transparent;
}

.hero-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
   background: linear-gradient(135deg, rgba(20, 60, 80, 0.85) 0%, rgba(10, 40, 60, 0.75) 100%) !important;
  z-index: 2;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.bio-hero-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 0 auto;
     
    align-items: center;
    overflow: hidden;

}

.hero-content-side {
  position: relative;
  z-index: 5;
  max-width: 700px;
  padding: 60px ;
  background: transparent;
  backdrop-filter: none;
  border-radius: 0;
  margin: 0;
  height: auto;
  display: flex;
  align-items: center;
 /* justify-content: center; */
  box-shadow: none;
  border: none;
}

.bio-hero-video {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  z-index: 5;
  margin: 50px;
}

.bio-hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: normal;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
}

.bio-hero-video.video-playing video {
  opacity: 1;
  visibility: visible;
}

.video-player-frame {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
  backdrop-filter: blur(10px);
  border-radius: 0 0 15px 15px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 20;
}

.bio-hero-video.video-playing .video-player-frame {
  opacity: 1;
  visibility: visible;
}

.video-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  gap: 15px;
}

.control-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 10;
}

.control-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

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

.control-btn svg {
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.control-btn svg {
  width: 20px;
  height: 20px;
  transition: all 0.3s ease;
}

.progress-container {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.progress-bar {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  z-index: 5;
}

.progress-filled {
  height: 100%;
  background: var(--bio-primary);
  border-radius: 2px;
  transition: width 0.1s linear;
}

.progress-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 6;
}

.time-display {
  display: none;
  font-size: 12px;
  color: #fff;
  font-weight: 500;
  min-width: 100px;
  text-align: center;
}

.volume-control {
  display: flex;
  align-items: center;
  gap: 10px;
}

.volume-slider {
  display: none;
  width: 80px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  position: relative;
  z-index: 5;
}

.volume-slider::-webkit-slider-thumb {
  appearance: none;
  display: none;
  width: 12px;
  height: 12px;
  background: var(--bio-primary);
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  z-index: 10;
}

.volume-slider::-moz-range-thumb {
  display: none;
  width: 12px;
  height: 12px;
  background: var(--bio-primary);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  position: relative;
  z-index: 10;
}

.settings-panel {
  position: absolute;
  bottom: 70px;
  right: 20px;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 12px;
  padding: 20px;
  width: 250px;
  height: 320px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 50;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.settings-content {
  height: 100%;
  overflow-y: auto;
  padding-right: 5px;
}

.settings-content::-webkit-scrollbar {
  width: 6px;
}

.settings-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.settings-content::-webkit-scrollbar-thumb {
  background: var(--bio-primary);
  border-radius: 3px;
}

.settings-content::-webkit-scrollbar-thumb:hover {
  background: #1a8f3a;
}

.settings-content h4 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 14px;
  font-weight: 600;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  z-index: 10;
  padding-top: 5px;
}

.quality-options, .speed-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.quality-btn, .speed-btn {
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  margin: 0;
  position: relative;
  z-index: 10;
  text-align: right;
  width: 100%;
  box-sizing: border-box;
}

.quality-btn:hover, .speed-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateX(-2px);
}

.quality-btn:active, .speed-btn:active {
  transform: translateX(0);
}

.quality-btn.active, .speed-btn.active {
  background: var(--bio-primary);
  border-color: var(--bio-primary);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(27, 213, 67, 0.3);
}

.video-play-button {
  position: absolute;
  top: 42%;
  left: 42%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(27, 213, 67, 0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 30;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-play-button svg {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  transition: all 0.3s ease;
}

.video-play-button:hover svg {
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

.bio-hero-video.video-playing .video-controls {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.bio-hero-video.video-playing .settings-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.bio-hero-video.video-playing .video-play-button {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.8);
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.05);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

.hero-text-container {
  max-width: 100%;
  text-align: center;
}

/* Arabic version: right alignment */
body[data-lang="ar"] .hero-text-container {
  text-align: right;
}

/* English version: left alignment */
body[data-lang="en"] .hero-text-container {
  text-align: left;
}

.bio-main-title {
  font-size: clamp(40px, 8vw, 70px);
  color: #fff;
  font-weight: 400;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: 2px;
}

.bio-subtitle {
  font-size: clamp(32px, 6vw, 60px);
  color: var(--bio-primary);
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.bio-description {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
}

.hero-buttons .bio-primary-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 35px;
  border: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Tajawal", sans-serif;
  min-width: 220px;
  position: relative;
  overflow: hidden;
  background:  var(--bio-primary);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-buttons .bio-primary-btn:hover {
  background:  var(--bio-dark);
  transform: translateY(-3px) scale(1.03);
}

.hero-buttons .bio-primary-btn:active {
  transform: translateY(-1px) scale(1.02);
}

/* Gradient animation for primary button */
.hero-buttons .bio-primary-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.hero-buttons .bio-primary-btn:hover::before {
  left: 100%;
}

/* Floating Top Button */
.floating-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bio-dark);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.3s ease, border-color 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
}

.floating-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-top-btn:hover {
  background: #1a4238;
  border-color: #fff;
}

/* Progress Bar */
.floating-top-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54px;
  height: 54px;
  background: none;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.floating-top-btn.show::before {
  transform: translate(-50%, -50%) scale(var(--scroll-progress, 0));
}

.floating-top-btn:hover::before {
  border-color: #ffffff;
}

/* Bottom Scroll Button in Hero */
.hero-bottom-btn {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.scroll-to-services-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  background: transparent;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  font-family: "Tajawal", sans-serif;
  transition: color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  animation: floatAnimation 2s ease-in-out infinite;
}

.scroll-to-services-btn:hover {
  color: var(--bio-primary);
  animation: none;
}

.scroll-to-services-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  animation: arrowAnimation 2s ease-in-out infinite;
}

.scroll-to-services-btn:hover svg {
  transform: translateY(2px);
  animation: none;
}

@keyframes floatAnimation {
   0%, 100% {
     transform: translateY(0);
   }
   50% {
     transform: translateY(-10px);
   }
}

.floating-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bio-dark);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.3s ease, border-color 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
}

.floating-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-top-btn:hover {
  background: #1a4238;
  border-color: #fff;
}

/* Progress Bar */
.floating-top-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54px;
  height: 54px;
  background: none;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.floating-top-btn.show::before {
  transform: translate(-50%, -50%) scale(var(--scroll-progress, 0));
}

.floating-top-btn:hover::before {
  border-color: #ffffff;
}

/* ========================================
   Navigation Styles
   ======================================== */
.bio-navigation {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  width: 100%;
  background: transparent;
  padding: 10px 0;
  z-index: 50;
  opacity: 0;
  transform: translateY(-100%);
  transition: var(--transition-fast);
}

.bio-navigation.visible {
  opacity: 1;
  transform: translateY(0);
}

.bio-nav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  list-style: none;
  padding: 0 40px;
  flex-wrap: wrap;
}

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

.bio-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  color: var(--bio-text-light-gray);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  border: 1px solid var(--bio-text-light-gray);
  backdrop-filter: blur(10px);
}

.bio-nav-link svg {
  width: 18px;
  height: 18px;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.bio-nav-link:hover {
  color: var(--bio-primary);
  background: rgba(27, 213, 67, 0.15);
  transform: translateY(-2px);
}

.bio-nav-link:hover svg {
  opacity: 1;
  transform: scale(1.1);
}

.bio-nav-link.active {
  color: var(--bio-primary);
  background: rgba(27, 213, 67, 0.2);
  font-weight: 600;
  border-color: var(--bio-primary);
}

/* ========================================
   Mobile Menu
   ======================================== */

@media (max-width: 480px) {
  .hero-content-side {
    width: 90%;
    margin: 15px;
    padding: 30px 20px;
  }
  
  .hero-buttons .bio-primary-btn,
  .hero-buttons .bio-secondary-btn {
    min-width: 160px;
    padding: 12px 20px;
    font-size: 14px;
  }
}
.bio-section {
  padding: 50px 0;
  min-height: 70vh;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bio-bg-light) 0%, rgba(27, 213, 67, 0.01) 100%);
  position: relative;
}

.bio-section:nth-child(even) {
  background: linear-gradient(135deg, rgba(27, 213, 67, 0.01) 0%, var(--bio-bg-light) 100%);
}

.section-container {
   
  width: 100%;
  padding: 0 60px;
}

.section-header {
  text-align: right;
  margin-bottom: 35px;
  border-right: 3px solid var(--bio-primary);
  padding-right: 15px;
}

/* English version adjustments */
body[data-lang="en"] .section-header {
  text-align: left;
  border-right: none;
  border-left: 3px solid var(--bio-primary);
  padding-right: 0;
  padding-left: 15px;
}

.section-header h2 {
  font-size: clamp(24px, 3.5vw, 40px);
  color: var(--bio-primary);
  font-weight: 700;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--bio-text-light-gray);
  font-weight: 400;
}

/* ========================================
   About Section
   ======================================== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.about-card {
  background: rgba(0, 0, 0, 0.3);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.about-card:hover {
  transform: translateY(-10px);
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 15px;
  color: var(--bio-primary);
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.about-card h3 {
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 12px;
  font-weight: 600;
}

.about-card p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

/* ========================================
   Services Section
   ======================================== */
.bio-services-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.bio-services-section .section-header {

  margin-bottom: 40px;
}



.bio-services-section .section-subtitle {
  color: #666;
  font-size: 1.1rem;
}

.services-tabs {
  margin-top: 30px;
}

/* Responsive styles */
@media (max-width: 768px) {
  .bio-services-section {
    padding: 50px 0;
  }
  
  .bio-services-section .section-header h2 {
    font-size: 2rem;
  }
  
  .bio-services-section .section-subtitle {
    font-size: 1rem;
  }
}
/* Services Section */


.services-container {
    position: relative;
    padding: 20px 0 50px;
}

.service-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 30px;

    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s var(--transition-fast);
    border: 1px solid rgba(21, 48, 43, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);

    border-color: var(--bio-primary);
}

.service-icon {
    width: 170px;
    height: 170px;
    opacity: 0.5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--bio-primary);
    transition: all 0.3s var(--transition-fast);
}


.service-card h2 {
    color: var(--bio-primary);
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card p {
    color: var();
    margin-bottom: 20px;
    line-height: 1.7;
}

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

.service-features li {
    position: relative;
    padding-right: 25px;
    margin-bottom: 10px;
    color: var(--bio-primary);
    font-size: 15px;
}

body[data-lang="en"] .service-features li {
    padding-left: 25px;
    padding-right: 0;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    right: 0;
    color: var(--bio-primary);
    font-weight: bold;

  }
  

body[data-lang="en"] .service-features li:before {
    right: auto;
    left: 0;
}

/* Swiper Navigation 
#services .swiper-button-next,
#services .swiper-button-prev {
  
    color: var(--bio-primary);
    background: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s var(--transition-fast);
}

#services .swiper-button-next:after,
#services .swiper-button-prev:after {
    font-size: 20px;
}

#services .swiper-button-next:hover,
#services .swiper-button-prev:hover {
    background: var(--bio-primary);
    color: #fff;
}

#services .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #e0e0e0;
    opacity: 1;
}
*/
#services .swiper-pagination-bullet-active {
    background: var(--bio-primary);
    width: 30px !important;
    height: 10px;
}

#services .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
}
/* Responsive Design */
@media (max-width: 992px) {
    #services {
        padding: 60px 0;
    }
    
    .service-card {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    #services .swiper-button-next,
    #services .swiper-button-prev {
        display: none;
    }
    
    .service-card {
        margin: 0 15px;
    }
}

@media (max-width: 576px) {
    .service-card {
        padding: 20px 15px;
    }
    
    .service-icon {
        width: 150px;
        height: 150px;
        margin-bottom: 20px;
    }
    
    .service-card h3 {
        font-size: 20px;
    }
}

.bio-services-section {
  background: linear-gradient(135deg, rgba(27, 213, 67, 0.03) 0%, rgba(21, 48, 43, 0.03) 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: transparent;
  padding: 40px;
  border-radius: 20px;
  border: 2px solid rgba(126, 199, 71, 0.3);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: none;
  position: relative;
  overflow: hidden;
  margin-bottom: 40px ;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: -2px;
  right: -2px;
  top: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform-origin: center;
  transform: scale(0);
  transition: transform 0.3s ease;
}

.service-card.show::before {
  transform: scale(var(--scroll-progress, 0));
}

.service-card:hover::before {
  border-color: #ffffff;
}

.service-card:hover {
  transform: translateY(-10px);

}

.service-card:hover::before {
  opacity: 1;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-icon {
  position: absolute;
  bottom: -20px;
  left: 0px;
  width: 170px;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(126, 199, 71, 0.06);
  z-index: 0;
  pointer-events: none;
  transform: rotate(25deg);
}

body[data-lang="en"] .service-icon {
  transform: rotate(-25deg);
  left: auto;
  right: 5px;
  bottom: -25px;

    
}






.service-icon svg {
  width: 100%;
  height: 100%;
  opacity: 0.5;
  stroke-width: .5;
}



.service-card h3,
.service-card p {
  position: relative;
  z-index: 1;
}

.service-card h3 {
  font-size: 22px;
  color: var(--bio-primary);
  margin-bottom: 12px;
  font-weight: 600;
}

.service-card p {
  color: var(--bio-text-light-gray);
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-list {
  list-style: none;
  padding: 0;
}

.service-list li {
  padding: 8px 0;
  color: var(--bio-text-light-gray);
  padding-left: 25px;
  position: relative;
}

.service-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--bio-primary);
  font-weight: bold;
}

/* ========================================
    Modern Portfolio Section
    ======================================== */
    
    /* Ensure portfolio section is visible */
    #portfolio {
        display: block;
        visibility: visible;
        opacity: 1;
        position: relative;
        z-index: 1;
    }
    
    /* Portfolio Section Background */
    #portfolio::before {
        background: linear-gradient(90deg, transparent, var(--bio-border-light), transparent);
        height: 1px;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }
    
    /* Portfolio Statistics */
    .portfolio-stats {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
        margin: 60px 0;
        padding: 0 20px;
    }
    
    .stat-card {
        text-align: center;
        padding: 30px 20px;
        background: rgba(27, 213, 67, 0.05);
        border: 1px solid rgba(27, 213, 67, 0.2);
        border-radius: 20px;
        backdrop-filter: blur(10px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
    }
    
    
    .stat-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(27, 213, 67, 0.2);
        border-color: var(--bio-primary);
    }
    
    .stat-number {
        font-size: 48px;
        font-weight: 800;
        color: var(--bio-primary);
        margin-bottom: 10px;
        font-family: 'Tajawal', sans-serif;
        line-height: 1;
    }
    
    .stat-label {
        font-size: 16px;
        color: var(--bio-text-light-gray);
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    
    /* Portfolio Filters */
    .portfolio-filters {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin: 50px 0;
        flex-wrap: wrap;
        padding: 0 20px;
    }
    
    .filter-btn {
        position: relative;
        padding: 12px 30px;
        background: transparent;
        border: 2px solid rgba(27, 213, 67, 0.3);
        border-radius: 50px;
        color: #ffffff;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        font-family: 'Tajawal', sans-serif;
        overflow: hidden;
        z-index: 1;
    }
    
    .filter-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 0;
        height: 100%;
        background: linear-gradient(135deg, var(--bio-primary), #7EC847);
        transition: width 0.4s ease;
        z-index: -1;
    }
    
    .filter-btn:hover::before,
    .filter-btn.active::before {
        width: 100%;
    }
    
    .filter-btn:hover,
    .filter-btn.active {
        border-color: var(--bio-primary);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(27, 213, 67, 0.3);
    }
    
    .filter-btn span {
        position: relative;
        z-index: 2;
    }
    
    .filter-indicator {
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 3px;
        background: var(--bio-primary);
        transform: translateX(-50%);
        transition: width 0.3s ease;
    }
    
    .filter-btn.active .filter-indicator {
        width: 80%;
    }
    
    /* Portfolio Grid */
    .portfolio-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 40px;
        margin: 60px 0;
        padding: 0 20px;
    }
    
    .portfolio-item {
        opacity: 1;
        transform: translateY(0);
        animation: fadeInUp 0.6s ease forwards;
        display: block;
        visibility: visible;
    }
    
    .portfolio-item:nth-child(1) { animation-delay: 0.1s; }
    .portfolio-item:nth-child(2) { animation-delay: 0.2s; }
    .portfolio-item:nth-child(3) { animation-delay: 0.3s; }
    .portfolio-item:nth-child(4) { animation-delay: 0.4s; }
    .portfolio-item:nth-child(5) { animation-delay: 0.5s; }
    .portfolio-item:nth-child(6) { animation-delay: 0.6s; }
    
    .portfolio-item.hidden {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    @keyframes fadeInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .portfolio-card-modern {
        background: rgba(21, 48, 43, 0.6);
        border: 1px solid rgba(27, 213, 67, 0.2);
        border-radius: 20px;
        overflow: hidden;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        backdrop-filter: blur(15px);
        position: relative;
    }
    
    .portfolio-card-modern:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 25px 60px rgba(27, 213, 67, 0.25);
        border-color: var(--bio-primary);
    }
    
    .portfolio-image-container {
        position: relative;
        width: 100%;
        height: 250px;
        overflow: hidden;
    }
    
    .portfolio-image-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .portfolio-card-modern:hover .portfolio-image-container img {
        transform: scale(1.1);
    }
    
    .portfolio-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(21, 48, 43, 0.9) 0%, rgba(27, 213, 67, 0.8) 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: all 0.4s ease;
        backdrop-filter: blur(5px);
    }
    
    .portfolio-card-modern:hover .portfolio-overlay {
        opacity: 1;
    }
    
    .overlay-content {
        text-align: center;
        padding: 20px;
        transform: translateY(20px);
        transition: transform 0.4s ease;
    }
    
    .portfolio-card-modern:hover .overlay-content {
        transform: translateY(0);
    }
    
    .project-category {
        font-size: 12px;
        color: var(--bio-primary);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 10px;
    }
    
    .project-title {
        font-size: 20px;
        color: #ffffff;
        margin-bottom: 15px;
        font-weight: 700;
        line-height: 1.3;
    }
    
    .project-description {
        font-size: 14px;
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 25px;
        line-height: 1.6;
    }
    
    .view-project-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 12px 25px;
        background: var(--bio-primary);
        border: none;
        border-radius: 50px;
        color: #ffffff;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        font-family: 'Tajawal', sans-serif;
    }
    
    .view-project-btn:hover {
        background: #7EC847;
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(27, 213, 67, 0.4);
    }
    
    .project-badge {
        position: absolute;
        top: 15px;
        right: 15px;
        padding: 6px 15px;
        background: var(--bio-primary);
        color: #ffffff;
        font-size: 11px;
        font-weight: 600;
        border-radius: 20px;
        text-transform: uppercase;
        letter-spacing: 1px;
        z-index: 2;
    }
    
    .portfolio-info {
        padding: 25px;
    }
    
    .portfolio-info h4 {
        font-size: 18px;
        color: #ffffff;
        margin-bottom: 15px;
        font-weight: 600;
    }
    
    .project-tech {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .tech-tag {
        padding: 6px 12px;
        background: rgba(27, 213, 67, 0.1);
        border: 1px solid rgba(27, 213, 67, 0.3);
        border-radius: 15px;
        color: var(--bio-primary);
        font-size: 12px;
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    .tech-tag:hover {
        background: rgba(27, 213, 67, 0.2);
        border-color: var(--bio-primary);
        transform: translateY(-2px);
    }
    
    /* Portfolio Actions */
    .portfolio-actions {
        text-align: center;
        margin: 40px 0;
    }
    
    .load-more-btn {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 15px 35px;
        background: transparent;
        border: 2px solid var(--bio-primary);
        border-radius: 50px;
        color: var(--bio-primary);
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        font-family: 'Tajawal', sans-serif;
    }
    
    .load-more-btn:hover {
        background: var(--bio-primary);
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(27, 213, 67, 0.3);
    }
    
    /* Project Modal */
    .project-modal {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1000;
        display: none;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }
    
    .project-modal.active {
        display: flex;
    }
    
    .modal-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(10px);
    }
    
    .modal-content {
        position: relative;
        background: rgba(21, 48, 43, 0.95);
        border: 1px solid rgba(27, 213, 67, 0.3);
        border-radius: 25px;
        max-width: 900px;
        width: 100%;
        max-height: 90vh;
        overflow-y: auto;
        backdrop-filter: blur(20px);
        animation: modalSlideIn 0.4s ease;
    }
    
    @keyframes modalSlideIn {
        from {
            opacity: 0;
            transform: scale(0.9) translateY(20px);
        }
        to {
            opacity: 1;
            transform: scale(1) translateY(0);
        }
    }
    
    .modal-close {
        position: absolute;
        top: 20px;
        left: 20px;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 10;
    }
    
    .modal-close:hover {
        background: var(--bio-primary);
        transform: scale(1.1);
    }
    
    .modal-body {
        padding: 40px;
    }
    
    /* Modal Content Styles */
    .modal-project-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 30px;
        gap: 30px;
    }
    
    .modal-project-info {
      margin: 20px;
        flex: 1;
    }
    
    .modal-project-category {
        font-size: 12px;
        color: var(--bio-primary);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 10px;
        display: inline-block;
        padding: 4px 12px;
        background: rgba(27, 213, 67, 0.1);
        border: 1px solid rgba(27, 213, 67, 0.3);
        border-radius: 15px;
    }
    
    .modal-project-title {
        font-size: 28px;
        color: #ffffff;
        margin-bottom: 15px;
        font-weight: 700;
        line-height: 1.2;
    }
    
    .modal-project-description {
        font-size: 16px;
        color: rgba(255, 255, 255, 0.8);
        line-height: 1.6;
        margin-bottom: 0;
    }
    
    .modal-project-actions {
        display: flex;
        gap: 15px;
        align-items: center;
    }
    
    .modal-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin: 20px;
        padding: 12px 25px;
        border-radius: 50px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        font-family: 'Tajawal', sans-serif;
        text-decoration: none;
    }
    
    .modal-btn.primary-btn {
        background: var(--bio-primary);
        color: #ffffff;
        border: none;
    }
    
    .modal-btn.primary-btn:hover {
        background: #7EC847;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(27, 213, 67, 0.4);
    }
    
    .modal-btn.secondary-btn {
        background: transparent;
        color: #ffffff;
        border: 2px solid rgba(255, 255, 255, 0.3);
    }
    
    .modal-btn.secondary-btn:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.5);
        transform: translateY(-2px);
    }
    
    .modal-project-image {
        width: 100%;
        height: 300px;
        border-radius: 15px;
        overflow: hidden;
        margin-bottom: 30px;
    }
    
    .modal-project-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .modal-project-details {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .modal-section {
        margin-bottom: 30px;
    }
    
    .modal-section h3 {
        font-size: 18px;
        color: var(--bio-primary);
        margin-bottom: 20px;
        font-weight: 600;
    }
    
    .modal-tech-list {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .modal-tech-tag {
        padding: 8px 15px;
        background: rgba(27, 213, 67, 0.1);
        border: 1px solid rgba(27, 213, 67, 0.3);
        border-radius: 20px;
        color: var(--bio-primary);
        font-size: 13px;
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    .modal-tech-tag:hover {
        background: rgba(27, 213, 67, 0.2);
        border-color: var(--bio-primary);
        transform: translateY(-2px);
    }
    
    .modal-features-list {
        list-style: none;
        padding: 0;
    }
    
    .modal-features-list li {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.9);
        font-size: 14px;
        transition: all 0.3s ease;
        position: relative;
        padding-right: 30px;
    }
    
    .modal-features-list li:last-child {
        border-bottom: none;
    }
    
    .modal-features-list li::before {
        content: '✓';
        position: absolute;
        right: 0;
        color: var(--bio-primary);
        font-weight: bold;
        font-size: 16px;
    }
    
    .modal-features-list li:hover {
        color: #ffffff;
        padding-right: 35px;
    }

/* ========================================
    Contact Section
    ======================================== */
.bio-contact-section {
  background: linear-gradient(135deg, rgba(21, 48, 43, 0.04) 0%, rgba(27, 213, 67, 0.03) 100%);
}

.contact-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 600px;
  margin: 0 auto;
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  width: 100%;
}

.info-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid rgba(27, 213, 67, 0.2);
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
  text-align: right;
}

.info-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--bio-primary);
  transform: translateY(-3px);
}

.info-card h3 {
  color: var(--bio-dark);
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.info-card h3 svg {
  color: var(--bio-primary);
  margin-left: 12px;
}

.info-card p,
.info-card a {
  color: #555;
  text-decoration: none;
  transition: color 0.3s ease;
  line-height: 1.6;
  font-size: 15px;
}

.info-card a:hover {
  color: var(--bio-primary);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "name email"
    "phone subject"
    "message message"
    "button button";
  gap: 20px;
  width: 100%;
  max-width: 800px;
}

.contact-social {
  text-align: center;
  margin-top: 20px;
}

.contact-social h3 {
  color: var(--bio-primary);
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: 600;
}

.contact-social .social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.contact-social .social-links a {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27, 213, 67, 0.1);
  border-radius: 50%;
  border: 2px solid rgba(27, 213, 67, 0.3);
  transition: all 0.3s ease;
  color: var(--bio-primary);
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
}

.contact-social .social-links a:hover {
  background: var(--bio-primary);
  color: #fff;
  transform: scale(1.1);
}

.contact-form input,
.contact-form textarea {
  padding: 18px 22px;
  border: 1px solid rgba(27, 213, 67, 0.3);
  border-radius: 30px;
  font-family: "Tajawal", sans-serif;
  font-size: 15px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(10px);
  color: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--bio-primary);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 2px rgba(27, 213, 67, 0.2);
}

.submit-btn {
  padding: 18px 40px;
  background: var(--bio-primary);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  font-family: "Tajawal", sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(27, 213, 67, 0.3);
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(27, 213, 67, 0.5);
  background: #1a8f3a;
}

/* ========================================
   Footer
   ======================================== */
.bio-footer {
  color: #fff;
  padding: 60px;
  position: relative;
}

.bio-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--bio-primary) 50%, transparent 100%);
}

.footer-content {
   
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-section h4 {
  color: var(--bio-primary);
  margin-bottom: 15px;
  font-size: 18px;
}

.footer-logo {
  height: 40px;
  width: auto;
  max-width: 100%;
  transition: all 0.3s ease;
}

.footer-section h4 a:hover .footer-logo {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .footer-logo {
    height: 30px;
  }
}

.footer-section p {
  color: #ffffff;
  line-height: 1.6;
  margin-bottom: 15px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-section a svg {
  flex-shrink: 0;
}

.footer-section a:hover {
  color: var(--bio-primary);
}

.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid rgba(27, 213, 67, 0.3);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: "Tajawal", sans-serif;
  font-size: 14px;
  transition: all 0.3s ease;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--bio-primary);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 2px rgba(27, 213, 67, 0.2);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.newsletter-form button {
  padding: 10px 20px;
  background: var(--bio-primary);
  color: #fff;
  border: none;
  border-radius: 25px;
  font-family: "Tajawal", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: #1a8f3a;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(27, 213, 67, 0.4);
}

/* Responsive Styles for Modern Portfolio */
@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
    
    .portfolio-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .portfolio-filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
    }
    
    .portfolio-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 15px;
    }
    
    .stat-card {
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .stat-label {
        font-size: 14px;
    }
    
    .portfolio-filters {
        gap: 8px;
        padding: 0 15px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .portfolio-image-container {
        height: 200px;
    }
    
    .project-title {
        font-size: 18px;
    }
    
    .project-description {
        font-size: 13px;
    }
    
    .portfolio-info {
        padding: 20px;
    }
    
    .portfolio-info h4 {
        font-size: 16px;
    }
    
    .tech-tag {
        font-size: 11px;
        padding: 4px 10px;
    }
    
    .modal-content {
        margin: 10px;
        max-height: 95vh;
    }
    
    .modal-body {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .portfolio-stats {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .portfolio-filters {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .filter-btn {
        width: 100%;
        max-width: 250px;
        padding: 12px 20px;
    }
    
    .portfolio-image-container {
        height: 180px;
    }
    
    .project-category {
        font-size: 11px;
        letter-spacing: 1px;
    }
    
    .project-title {
        font-size: 16px;
    }
    
    .project-description {
        font-size: 12px;
        margin-bottom: 20px;
    }
    
    .view-project-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .project-badge {
        font-size: 10px;
        padding: 4px 12px;
    }
    
    .portfolio-info {
        padding: 15px;
    }
    
    .portfolio-info h4 {
        font-size: 15px;
    }
    
    .tech-tag {
        font-size: 10px;
        padding: 3px 8px;
    }
    
    .load-more-btn {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-close {
        width: 35px;
        height: 35px;
        top: 15px;
        right: 15px;
    }
    
    /* Modal Responsive Styles */
    @media (max-width: 768px) {
        .modal-content {
            margin: 10px;
            max-height: 95vh;
        }
        
        .modal-project-header {
            flex-direction: column;
            gap: 20px;
            align-items: flex-start;
        }
        
        .modal-project-title {
            font-size: 24px;
        }
        
        .modal-project-description {
            font-size: 14px;
        }
        
        .modal-project-image {
            height: 200px;
        }
        
        .modal-project-details {
            grid-template-columns: 1fr;
            gap: 20px;
        }
        
        .modal-section h3 {
            font-size: 16px;
        }
        
        .modal-tech-tag {
            font-size: 12px;
            padding: 6px 12px;
        }
        
        .modal-features-list li {
            font-size: 13px;
            padding: 10px 0;
            padding-right: 25px;
        }
        
        .modal-features-list li::before {
            font-size: 14px;
        }
        
        .modal-btn {
            padding: 10px 20px;
            font-size: 13px;
        }
    }
    
    @media (max-width: 480px) {
        .modal-body {
            padding: 20px;
        }
        
        .modal-project-title {
            font-size: 20px;
        }
        
        .modal-project-description {
            font-size: 13px;
        }
        
        .modal-project-actions {
            flex-direction: column;
            width: 100%;
            gap: 10px;
        }
        
        .modal-btn {
            width: 100%;
            justify-content: center;
            padding: 12px 20px;
        }
        
        .modal-project-image {
            height: 180px;
        }
    }
}

.works-tabs {
   margin-top: 50px;
 }

 .works-grid {
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   gap: 30px;
   margin-top: 40px;
 }

 .works-item {
   position: relative;
   border-radius: 15px;
   overflow: hidden;
   box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
   transition: all 0.3s ease;
 }

 .works-item:hover {
   transform: translateY(-10px);
   box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
 }

 .works-image {
   position: relative;
   width: 100%;
   height: 250px;
   overflow: hidden;
 }

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

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

 .works-overlay {
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: linear-gradient(135deg, rgba(27, 213, 67, 0.9) 0%, rgba(21, 48, 43, 0.8) 100%);
   display: flex;
   align-items: center;
   justify-content: center;
   opacity: 0;
   transition: opacity 0.3s ease;
 }

 .works-item:hover .works-overlay {
   opacity: 1;
 }

 .works-content {
   text-align: center;
   color: #fff;
   padding: 20px;
   transform: translateY(20px);
   transition: transform 0.3s ease;
 }

 .works-item:hover .works-content {
   transform: translateY(0);
 }

 .works-content h3 {
   font-size: 22px;
   font-weight: 700;
   margin-bottom: 10px;
   color: #fff;
 }

 .works-content p {
   font-size: 14px;
   line-height: 1.6;
   margin-bottom: 20px;
   opacity: 0.9;
 }

 .works-link {
   display: inline-block;
   padding: 10px 20px;
   background: rgba(255, 255, 255, 0.2);
   color: #fff;
   text-decoration: none;
   border-radius: 25px;
   font-size: 14px;
   font-weight: 600;
   transition: all 0.3s ease;
   border: 1px solid rgba(255, 255, 255, 0.3);
 }

 .works-link:hover {
   background: rgba(255, 255, 255, 0.3);
   transform: translateY(-2px);
 }

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .portfolio-image {
    height: 200px;
  }

  .portfolio-content h3 {
    font-size: 18px;
  }

  .portfolio-content p {
    font-size: 13px;
  }
}

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

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27, 213, 67, 0.2);
  border-radius: 8px;
  border: 1px solid rgba(27, 213, 67, 0.3);
  transition: all 0.3s ease;
  color: var(--bio-primary);
}

.social-links a svg {
  width: 20px;
  height: 20px;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(27, 213, 67, 0.2);
  color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .bio-hero-main {
    display: flex;
    flex-direction: column;
    /*gap: 40px;*/
    align-items: center;
  }
  
  .hero-content-side {
    width: 100%;
    max-width: none;
    padding: 40px 20px;
    border-left: none;
    order: 2;
  }
  
  .bio-hero-video {
    width: 90%;
    height: 250px;
    margin: 10px;
    border-radius: 15px;
    order: 1;
  }
  
  
  .video-play-button {
    width: 60px;
    height: 60px;
  }
  
  .video-play-button svg {
    width: 60px;
    height: 60px;
  }
  
  .hero-text-container {
    text-align: center;
  }
  
  body[data-lang="ar"] .hero-text-container {
    text-align: center;
  }
  
  body[data-lang="en"] .hero-text-container {
    text-align: center;
  }
  
  .bio-header {
    padding: 12px 20px;
    height: 80px;
  }

  .logo-image {
    height: 30px;
  }

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

  .bio-contact-btn,
  .bio-lang-btn {
    display: none;
  }

  .bio-navigation {
    display: none;
  }

  .bio-nav-list {
    padding: 0 20px;
    gap: 10px;
  }

  .section-container {
    padding: 0 20px;
  }

  .contact-content {
    gap: 30px;
  }

  .contact-form {
    grid-template-columns: 1fr;
    grid-template-areas:
      "name"
      "email"
      "phone"
      "subject"
      "message"
      "button";
  }

  .contact-social .social-links {
    gap: 15px;
  }

  .contact-social .social-links a {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }

  .contact-info {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .info-card {
    padding: 25px;
  }

  .footer-content {
    gap: 30px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Services Tabs Styles
   ======================================== */
.services-tabs {
  margin-top: 50px;
}

.programming-swiper{
  overflow: hidden;
}

.tabs-header {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 35px;
  background: transparent;
  border: 2px solid rgba(126, 199, 71, 0.3);
  border-radius: 50px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Tajawal", sans-serif;
}

.tab-button svg {
  width: 20px;
  height: 20px;
}

.tab-button:hover {
  border-color: rgba(126, 199, 71, 0.6);
  background: rgba(126, 199, 71, 0.1);
  transform: translateY(-2px);
}

.tab-button.active {
  background: rgba(126, 199, 71, 0.2);
  border-color:  var(--bio-primary);
  color:  var(--bio-primary);
}

.services-content-tap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: center;}

.tab-content {
  display: none;
}

.tab-content.active {
    display: flex;
    grid-template-columns: 1fr 1fr;
    gap: 200px;
    margin: 0 auto;
    max-width: 1200px;
    align-items: center;
    overflow: hidden;
}

.programming-header{
  max-width: 600px;
}
.programming-swiper{
  max-width: 400px;
}

.programming-header h2{
  color: var(--bio-primary);
  margin-bottom: 20px;
}

/* Responsive Styles for Tabs */
@media (max-width: 768px) {
    .tab-content.active {
        display: flex;
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }
    
    .programming-header {
        order: 0;
        text-align: center;
        padding: 30px 20px;
    }
    
    .programming-swiper {
        order: 1;
        max-width: 100%;
    }
    
    .programming-header-content h3 {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .programming-header-content p {
        font-size: 1.1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .tab-content.active {
        gap: 30px;
    }
    
    .programming-header {
        padding: 25px 15px;
    }
    
    .programming-header-content h3 {
        font-size: 1.5rem;
    }
    
    .programming-header-content p {
        font-size: 1rem;
    }
    
    .services-swiper {
        height: 450px;
        padding: 15px;
    }
}

.tab-flex {
  display: flex;
  gap: 30px;
  align-items: stretch;
}

.tab-info {
  flex: 0 0 38%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 28px;
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.tab-title {
  font-size: 22px;
  margin-bottom: 12px;
  color:  var(--bio-primary);
  font-weight: 700;
  line-height: 1.3;
}

.tab-desc {
  font-size: 15px;
  color: #dce8ec;
  line-height: 1.7;
  margin: 0;
}

.tab-swiper {
  flex: 1;
}

/* Swiper Styles */
.services-swiper {
  padding: 20px 0 60px;
  overflow: visible;
}

.services-swiper .swiper-slide {
  height: auto;
  display: flex;
}


.services-swiper .swiper-button-next,
.services-swiper .swiper-button-prev {
  display: none;
  color:  var(--bio-primary);
  width: 50px;
  height: 50px;
  background: rgba(126, 199, 71, 0.1);
  border-radius: 50%;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(126, 199, 71, 0.3);
  transition: all 0.3s ease;
}

.services-swiper .swiper-button-next:hover,
.services-swiper .swiper-button-prev:hover {
  background: rgba(126, 199, 71, 0.2);
  border-color:  var(--bio-primary);
  transform: scale(1.1);
}

.services-swiper .swiper-button-next::after,
.services-swiper .swiper-button-prev::after {
  font-size: 20px;
  font-weight: bold;
}
  */

.services-swiper .swiper-pagination-bullet {
  background: rgba(126, 199, 71, 0.5);
  width: 12px;
  height: 12px;
  transition: all 0.3s ease;
  position: relative;
  bottom: -50px;
}

.services-swiper .swiper-pagination-bullet-active {
  background:  var(--bio-primary);
  width: 30px;
  border-radius: 6px;
}

/* Position pagination below cards */
.services-swiper .swiper-pagination {
  bottom: 20px !important;
  top: auto !important;
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  z-index: 10;
}

/* Adjust swiper container to accommodate pagination */

/* Ensure pagination is visible */
.services-section {
  overflow: visible;
  position: relative;
  padding-bottom: 40px;
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 20px;
  color: var(--bio-primary);
  transition: all 0.3s ease;
}


/* Portfolio Tab Button Styles */
.works-tab-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 35px;
  background: transparent;
  border: 2px solid rgba(126, 199, 71, 0.3);
  border-radius: 50px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Tajawal", sans-serif;
}

.works-tab-button svg {
  width: 20px;
  height: 20px;
}

.works-tab-button:hover {
  border-color: rgba(126, 199, 71, 0.6);
  background: rgba(126, 199, 71, 0.1);
  transform: translateY(-2px);
}

.works-tab-button.active {
  background: rgba(126, 199, 71, 0.2);
  border-color: var(--bio-primary);
  color: var(--bio-primary);
}

/* English language adjustments */
body[data-lang="en"] .tab-button {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body[data-lang="en"] .portfolio-tab-button {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Responsive Styles for Tabs */
@media (max-width: 768px) {
  .tabs-header {
    gap: 15px;
    margin-bottom: 30px;
  }

  .tab-button {
    padding: 12px 25px;
    font-size: 14px;
  }

  .portfolio-tab-button {
    padding: 12px 25px;
    font-size: 14px;
  }

  .services-swiper {
    padding: 20px 0 50px;
  }

  .services-swiper .swiper-button-next,
  .services-swiper .swiper-button-prev {
    width: 40px;
    height: 40px;
  }

  .services-swiper .swiper-button-next::after,
  .services-swiper .swiper-button-prev::after {
    font-size: 16px;
  }

  .service-card {
    padding: 30px;
  }

  .tab-flex {
    flex-direction: column;
  }

  .tab-info {
    flex: 1;
    width: 100%;
  }
}

@media (max-width: 479px) {
  .tab-button {
    padding: 10px 20px;
    font-size: 13px;
    gap: 8px;
  }

  .tab-button svg {
    width: 18px;
    height: 18px;
  }

  .portfolio-tab-button {
    padding: 10px 20px;
    font-size: 13px;
    gap: 8px;
  }

  .portfolio-tab-button svg {
    width: 18px;
    height: 18px;
  }

  .service-card {
    padding: 25px;
  }

  .service-icon {
    width: 115px;
    height: 120px;
  }
  
  .control-btn {
    width: 36px;
    height: 36px;
  }
  
  .control-btn svg {
    width: 18px;
    height: 18px;
  }
  
  .quality-btn, .speed-btn {
    padding: 6px 12px;
    font-size: 12px;
    margin: 2px;
  }
  
  .volume-slider {
    display: none;
    width: 60px;
  }
  
  .time-display {
    display: none;
    font-size: 10px;
    min-width: 80px;
  }
}

/* ========================================
   Body Background Styles
   ======================================== */
body {
  background: #0d3d4d;
  background-image:
    linear-gradient(135deg, rgba(20, 60, 80, 0.85) 0%, rgba(10, 40, 60, 0.75) 100%),
    url('../img/body.jfif');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  position: relative;
  min-height: 100vh;
}

/* ========================================
   Mission & Vision Section Styles
   ======================================== */
.bio-section#about .main-container {
  min-height: 100vh;
  display: flex;
  margin: 60px 0;
  opacity: 0;
  transform: translateY(30px);
  animation: containerFadeIn 1s ease-out 0.3s forwards;
}

@keyframes containerFadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Left Side - Image */
.bio-section#about .left-side {
  width: 35%;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateX(-50px);
  animation: slideInLeftPanel 1.8s ease-out 0.6s forwards;
}

@keyframes slideInLeftPanel {
  0% {
    opacity: 0;
    transform: translateX(-50px);
    filter: blur(5px);
  }
  50% {
    opacity: 0.5;
    transform: translateX(-25px);
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

.bio-section#about .side-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(50%) contrast(1.1) brightness(0.9);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: scale(1.1);
  opacity: 0;
  animation: imageReveal 2s ease-out forwards;
}

@keyframes imageReveal {
  0% {
    opacity: 0;
    filter: grayscale(100%) blur(10px);
    transform: scale(1.2);
  }
  50% {
    opacity: 0.7;
    filter: grayscale(50%) blur(3px);
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    filter: grayscale(50%) blur(0px);
    transform: scale(1);
  }
}

.bio-section#about .left-side:hover .side-image {
  filter: grayscale(0%) blur(0px);
  transform: scale(1.02);
}

.bio-section#about .logo-overlay {
  position: absolute;
  top: 40px;
  left: 40px;
  font-size: 56px;
  font-weight: 700;
  color:  var(--bio-primary);
  letter-spacing: -1.5px;
  text-transform: lowercase;
  z-index: 2;
  opacity: 0;
  transform: translateY(-20px) scale(0.8);
  animation: logoReveal 1.5s ease-out 0.5s forwards;
}

@keyframes logoReveal {
  0% {
    opacity: 0;
    transform: translateY(-20px) scale(0.8);
    text-shadow: 0 0 0 rgba(126, 199, 71, 0);
  }
  50% {
    opacity: 0.7;
    transform: translateY(-10px) scale(1.1);
    text-shadow: 0 0 20px rgba(126, 199, 71, 0.5);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    text-shadow: 0 0 30px rgba(126, 199, 71, 0.8);
  }
}

/* Right Side - Content */
.bio-section#about .right-side {
  width: 65%;
  background: linear-gradient(135deg, #0d3d4d 0%, #164a5c 100%);
  padding: 60px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  opacity: 0;
  transform: translateX(50px);
  animation: slideInRightPanel 1.8s ease-out 0.8s forwards;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.3);
}

@keyframes slideInRightPanel {
  0% {
    opacity: 0;
    transform: translateX(50px);
    filter: blur(5px);
  }
  50% {
    opacity: 0.5;
    transform: translateX(25px);
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

.bio-section#about .top-button {
  position: absolute;
  top: 40px;
  left: 40px;
  background: transparent;
  border: 2px solid  var(--bio-primary);
  color:  var(--bio-primary);
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Tajawal", sans-serif;
  text-decoration: none;
  opacity: 0;
  transform: translateY(-20px);
  animation: buttonSlideIn 1s ease-out 1.5s forwards;
}

@keyframes buttonSlideIn {
  0% {
    opacity: 0;
    transform: translateY(-20px) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.bio-section#about .top-button:hover {
  background:  var(--bio-primary);
  color: #0d3d4d;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 35px rgba(126, 199, 71, 0.4);
  border-color: #ffffff;
}

.bio-section#about .top-button:hover svg {
  transform: translateX(5px) scale(1.1);
  transition: transform 0.3s ease;
}

.bio-section#about .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-top: 60px;
}

/* ========================================
   Enhanced Mission & Vision Animations
   ======================================== */
@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-100px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(100px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes fadeInGlow {
  0% {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(5px);
  }
  50% {
    opacity: 0.7;
    transform: translateY(15px);
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes textReveal {
  0% {
    opacity: 0;
    transform: translateY(20px);
    letter-spacing: 10px;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: normal;
  }
}

.bio-section#about .content-box {
  opacity: 0;
  transform: translateY(50px) scale(0.9);
  transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.bio-section#about .content-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(126, 199, 71, 0.1), transparent);
  transition: left 0.8s ease;
}

.bio-section#about .content-box.animate-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.bio-section#about .content-box.animate-visible::before {
  left: 100%;
}

/* Staggered animations for mission and vision */
.bio-section#about .content-box:nth-child(1) {
  animation: slideInFromLeft 1.5s ease-out forwards;
}

.bio-section#about .content-box:nth-child(2) {
  animation: slideInFromRight 1.5s ease-out 0.3s forwards;
}

.bio-section#about .content-box .content-title {
  animation: textReveal 1s ease-out 0.8s both;
  position: relative;
}

.bio-section#about .content-box .content-description {
  animation: fadeInGlow 1.2s ease-out 1.2s both;
}

/* Enhanced hover effects */
.bio-section#about .content-box:hover {
  transform: translateY(-10px) scale(1.02);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.bio-section#about .content-box:hover .content-title {
  color: #90d26a;
  text-shadow: 0 0 20px rgba(126, 199, 71, 0.5);
}

.bio-section#about .content-box:hover .content-title {
  color: #ffffff;
  text-shadow: 0 0 20px rgba(126, 199, 71, 0.8);
}

.bio-section#about .content-box:hover .content-description {
  color: #ffffff;
}

.bio-section#about .content-title {
  font-size: 32px;
  font-weight: 700;
  color:  var(--bio-primary);
  margin-bottom: 20px;
  text-align: right;
  font-family: "Tajawal", sans-serif;
}

.bio-section#about .content-description {
  font-size: 15px;
  color: #b8d4dc;
  line-height: 1.7;
  text-align: right;
  font-family: "Tajawal", sans-serif;
}

/* English language adjustments */
body[data-lang="en"] .bio-section#about .content-title {
  text-align: left;
}

body[data-lang="en"] .bio-section#about .content-description {
  text-align: left;
}

/* ========================================
   Mission & Vision Section Responsive Styles
   ======================================== */

/* Large screens (1200px+) - Desktop */
@media (min-width: 1200px) {
  .bio-section#about .main-container {
    min-height: 100vh;
     
    margin: 80px auto;
  }

  .bio-section#about .left-side {
    width: 40%;
    min-height: 500px;
  }

  .bio-section#about .right-side {
    width: 60%;
    padding: 70px 90px;
  }

  .bio-section#about .brand-name {
    font-size: 40px;
    margin-bottom: 30px;
  }

  .bio-section#about .main-heading {
    font-size: 38px;
    margin-bottom: 35px;
  }

  .bio-section#about .description {
    font-size: 17px;
    max-width: 650px;
  }

  .bio-section#about .logo-overlay {
    font-size: 62px;
    top: 45px;
    left: 45px;
  }

  .bio-section#about .content-title {
    font-size: 36px;
  }

  .bio-section#about .content-description {
    font-size: 16px;
    line-height: 1.8;
  }
}

/* Medium screens (1024px - 1199px) - Large tablets */
@media (max-width: 1199px) {
  .bio-section#about .left-side {
    width: 38%;
  }

  .bio-section#about .right-side {
    width: 62%;
    padding: 65px 75px;
  }

  .bio-section#about .brand-name {
    font-size: 38px;
  }

  .bio-section#about .main-heading {
    font-size: 44px;
  }

  .bio-section#about .description {
    font-size: 16px;
  }

  .bio-section#about .logo-overlay {
    font-size: 58px;
    top: 42px;
    left: 42px;
  }

  .bio-section#about .content-title {
    font-size: 34px;
  }

  .bio-section#about .content-description {
    font-size: 15px;
  }
}

/* Medium screens (768px - 1023px) - Tablets */
@media (max-width: 1023px) {
  .bio-section#about .main-container {
    flex-direction: column;
    min-height: auto;
  }

  .bio-section#about .left-side,
  .bio-section#about .right-side {
    width: 100%;
  }

  .bio-section#about .left-side {
    height: 350px;
    order: 0;
  }

  .bio-section#about .right-side {
    order: 1;
    padding: 55px 45px;
    background: linear-gradient(135deg, #0d3d4d 0%, #164a5c 100%);
  }

  .bio-section#about .brand-name {
    font-size: 32px;
  }

  .bio-section#about .main-heading {
    font-size: 36px;
  }

  .bio-section#about .description {
    font-size: 15px;
  }

  .bio-section#about .content-wrapper {
    flex-direction: column;
    gap: 50px;
  }

  .bio-section#about .content-title {
    font-size: 30px;
    text-align: center;
  }

  .bio-section#about .content-description {
    font-size: 14px;
    text-align: center;
    line-height: 1.7;
  }

  .bio-section#about .logo-overlay {
    font-size: 50px;
    top: 28px;
    left: 28px;
  }

  .bio-section#about .top-button {
    position: static;
    margin-bottom: 35px;
    align-self: center;
    width: fit-content;
  }
}

/* Small screens (480px - 767px) - Mobile landscape */
@media (max-width: 767px) {
  .bio-section#about .left-side {
    height: 280px;
  }

  .bio-section#about .right-side {
    padding: 38px 28px;
  }

  .bio-section#about .brand-name {
    font-size: 28px;
  }

  .bio-section#about .main-heading {
    font-size: 30px;
  }

  .bio-section#about .description {
    font-size: 14px;
  }

  .bio-section#about .content-wrapper {
    gap: 45px;
  }

  .bio-section#about .content-title {
    font-size: 28px;
    margin-bottom: 18px;
  }

  .bio-section#about .content-description {
    font-size: 14px;
    line-height: 1.6;
  }

  .bio-section#about .logo-overlay {
    font-size: 44px;
    top: 22px;
    left: 22px;
  }

  .bio-section#about .top-button {
    padding: 9px 18px;
    font-size: 13px;
  }
}

/* Extra small screens (320px - 479px) - Mobile portrait */
@media (max-width: 479px) {
  .bio-section#about .main-container {
    margin: 35px 0;
  }

  .bio-section#about .left-side {
    height: 220px;
  }

  .bio-section#about .right-side {
    padding: 28px 18px;
  }

  .bio-section#about .brand-name {
    font-size: 24px;
  }

  .bio-section#about .main-heading {
    font-size: 26px;
  }

  .bio-section#about .description {
    font-size: 13px;
  }

  .bio-section#about .content-wrapper {
    gap: 35px;
  }

  .bio-section#about .content-title {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .bio-section#about .content-description {
    font-size: 13px;
    line-height: 1.5;
  }

  .bio-section#about .logo-overlay {
    font-size: 36px;
    top: 18px;
    left: 18px;
  }

  .bio-section#about .top-button {
    padding: 8px 16px;
    font-size: 12px;
  }
}

/* ========================================
   Additional About Hero Section Styles
   ======================================== */
.bio-section#about .about-section {
  position: relative;

  align-items: center;
  overflow: hidden;
  margin: 60px 0;
}

.bio-section#about .background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.bio-section#about .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(20, 60, 80, 0.85) 0%, rgba(10, 40, 60, 0.75) 100%);
  z-index: 2;
}

.bio-section#about .container {
  position: relative;
  z-index: 3;

  margin: 0 auto;
  padding: 0px 40px;
  width: 100%;
}

.bio-section#about .brand-name {
  font-size: 36px;
  font-weight: 300;
  color:  var(--bio-primary);
  margin-bottom: 25px;
  letter-spacing: 1.5px;
}

.bio-section#about .main-heading {
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 30px;
  max-width: 550px;
}

.bio-section#about .description {
  font-size: 16px;
  color: #e0e0e0;
  line-height: 1.6;
  max-width: 600px;
  margin-bottom: 40px;
  font-weight: 400;
  text-align: justify;
  text-justify: inter-word;
  word-spacing: 0.8px;
  letter-spacing: 0.2px;
  opacity: 0.95;
}

.bio-section#about .cta-button {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: transparent;
  border: 2px solid  var(--bio-primary);
  color:  var(--bio-primary);
  padding: 18px 40px;
  font-size: 18px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.bio-section#about .cta-button:hover {
  background:  var(--bio-primary);
  color: #1a4d5e;
  transform: translateX(-5px);
}

.bio-section#about .arrow-icon {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
}

.bio-section#about .cta-button:hover .arrow-icon {
  transform: translateX(-10px);
}

/* ========================================
   Additional About Section Responsive Styles
   ======================================== */
@media (max-width: 768px) {
  .bio-section#about .brand-name {
    font-size: 28px;
  }

  .bio-section#about .main-heading {
    font-size: 32px;
  }

  .bio-section#about .description {
    font-size: 14px;
    line-height: 1.6;
    max-width: 100%;
    text-align: justify;
    word-spacing: 0.5px;
    letter-spacing: 0.2px;
  }

  .bio-section#about .container {
    padding: 0px 18px;
  }
}

/* Hero Content Container */
.bio-section#about .hero-content {
  position: relative;
  z-index: 3;
   
  width: 100%;
  padding: 0 40px;
  text-align: center;
  text-align: center;
  animation: fadeInUp 1s ease-out;
}

/* Hero Brand Section */
.bio-section#about .hero-brand {
  margin-bottom: 40px;
  animation: fadeInDown 1s ease-out 0.2s both;
}

.bio-section#about .brand-name {
  font-size: 56px;
  font-weight: 300;
  color:  var(--bio-primary);
  margin: 0;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  display: inline-block;
}

.bio-section#about .brand-name::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg,  var(--bio-primary), #5da43a);
  border-radius: 2px;
}

/* Hero Text Section */
.bio-section#about .hero-text {
  margin-bottom: 50px;
  animation: fadeInUp 1s ease-out 0.4s both;
}


.bio-section#about .hero-description {
  font-size: 24px;
  color: #e8f4fd;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  font-weight: 400;
}

/* Hero Actions Section */
.bio-section#about .hero-actions {
  animation: fadeInUp 1s ease-out 0.6s both;
}

.bio-section#about .cta-button {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: linear-gradient(135deg,  var(--bio-primary), #5da43a);
  border: 2px solid  var(--bio-primary);
  color: #ffffff;
  padding: 20px 50px;
  font-size: 20px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 8px 25px rgba(126, 199, 71, 0.3);
  position: relative;
  overflow: hidden;
}

.bio-section#about .cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.bio-section#about .cta-button:hover::before {
  left: 100%;
}

.bio-section#about .cta-button:hover {
  background: linear-gradient(135deg, #5da43a,  var(--bio-primary));
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 35px rgba(126, 199, 71, 0.4);
}

.bio-section#about .cta-button span {
  z-index: 1;
  position: relative;
}

.bio-section#about .arrow-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1;
  position: relative;
}

.bio-section#about .cta-button:hover .arrow-icon {
  transform: translateX(8px) rotate(45deg);
}


/* ========================================
   About Section Responsive Design
   ======================================== */
@media (max-width: 1024px) {
  .bio-section#about .main-heading {
    font-size: 60px;
  }

  .bio-section#about .brand-name {
    font-size: 48px;
  }

  .bio-section#about .hero-description {
    font-size: 20px;
  }

  .bio-section#about .hero-content {
    padding: 0 30px;
  }
}

@media (max-width: 768px) {
  .bio-section#about .about-hero {
    min-height: 90vh;
  }

  .bio-section#about .main-heading {
    font-size: 48px;
  }

  .bio-section#about .brand-name {
    font-size: 36px;
    letter-spacing: 2px;
  }

  .bio-section#about .brand-name::after {
    width: 40px;
    height: 2px;
  }

  body[data-lang="ar"] .bio-section#about .hero-description,
  body[data-lang="en"] .bio-section#about .hero-description {
    font-size: 18px;
    text-align: center;
  }

  .bio-section#about .hero-content {
    padding: 0 20px;
  }

  .bio-section#about .cta-button {
    padding: 18px 40px;
    font-size: 18px;
  }

  .bio-section#about .hero-brand {
    margin-bottom: 30px;
  }

  .bio-section#about .hero-text {
    margin-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .bio-section#about .main-heading {
    font-size: 36px;
  }

  .bio-section#about .brand-name {
    font-size: 28px;
    letter-spacing: 1px;
  }

  .bio-section#about .hero-description {
    font-size: 16px;
    line-height: 1.5;
  }

  .bio-section#about .cta-button {
    padding: 16px 30px;
    font-size: 16px;
  }

  .bio-section#about .hero-content {
    padding: 0 15px;
  }
}

/* ========================================
   Accessibility & Performance
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  .bio-section#about *,
  .bio-section#about .hero-content,
  .bio-section#about .brand-name,
  .bio-section#about .main-heading,
  .bio-section#about .hero-description,
  .bio-section#about .cta-button {
    animation: none !important;
    transition: none !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {

  .bio-section#about .brand-name {
    color: #ffffff;
  }

  .bio-section#about .main-heading {
    color: #ffffff;
  }

  .bio-section#about .hero-description {
    color: #ffffff;
  }
}

/* ========================================
   About Section Enhanced Styles
   ======================================== */
.bio-section#about {
  position: relative;
  overflow: hidden;
}

/* ========================================
   WOW Animations for About Section
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

/* Hide elements initially for scroll-triggered animations */
.bio-hero .bio-main-title,
.bio-hero .bio-subtitle,
.bio-hero .bio-description,
.bio-hero .hero-buttons .bio-primary-btn,
.bio-hero .hero-buttons .bio-secondary-btn {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.bio-section#about .section-header,
.bio-section#about .brand-name,
.bio-section#about .main-heading,
.bio-section#about .description,
.bio-section#about .cta-button {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Prepare elements for animation */
.bio-section#about .brand-name {
  transform: translateX(-50px);
}

.bio-section#about .main-heading {
  transform: translateX(50px);
}

.bio-hero .bio-main-title {
  transform: translateX(-30px);
}

.bio-hero .bio-subtitle {
  transform: translateX(30px);
}

.bio-hero .hero-buttons .bio-primary-btn {
  transform: scale(0.8);
}

.bio-hero .hero-buttons .bio-secondary-btn {
  transform: translateY(30px) scale(0.9);
}

/* Visible state for animated elements */
.bio-section#about .section-header.animate-visible,
.bio-section#about .brand-name.animate-visible,
.bio-section#about .main-heading.animate-visible,
.bio-section#about .description.animate-visible,
.bio-section#about .cta-button.animate-visible,
.bio-section#about .about-card.animate-visible {
  opacity: 1;
  transform: translateY(0) translateX(0);
}

/* Enhanced hover effects with animations */
.bio-section#about .about-card:hover {
  animation: scaleIn 0.3s ease-out;
}

.bio-section#about .cta-button:hover {
  animation: scaleIn 0.2s ease-out;
}

/* Add smooth transitions for better UX */
.bio-section#about * {
  transition: all 0.3s ease;
}

/* ========================================
   Advanced Animation Effects
   ======================================== */
@keyframes glow {
  0%, 100% {
    text-shadow: 0 0 10px rgba(126, 199, 71, 0.5);
  }
  50% {
    text-shadow: 0 0 20px rgba(126, 199, 71, 0.8), 0 0 30px rgba(126, 199, 71, 0.4);
  }
}

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

@keyframes slideInBounce {
  0% {
    opacity: 0;
    transform: translateY(60px) scale(0.8);
  }
  60% {
    opacity: 0.8;
    transform: translateY(-10px) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Apply glow effect to brand name */
.bio-section#about .brand-name {
  animation: fadeInRight 1.2s ease-out 0.3s both, glow 3s ease-in-out 2s infinite;
}

/* Enhanced card hover with bounce effect */
.bio-section#about .about-card:hover {
  animation: slideInBounce 0.6s ease-out, pulse 2s ease-in-out infinite 0.6s;
  transform: translateY(-15px) scale(1.02);
}

/* Button hover enhancement */
.bio-section#about .cta-button:hover {
  animation: scaleIn 0.2s ease-out, pulse 1s ease-in-out;
  box-shadow: 0 10px 30px rgba(126, 199, 71, 0.4);
}

/* Staggered reveal for description text */
.bio-section#about .description {
  animation: fadeInUp 1.2s ease-out 0.9s both;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: fadeInUp 1.2s ease-out 0.9s both, shimmer 2s ease-in-out 2s;
}

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

/* ========================================
   Scroll-triggered Animations Enhancement
   ======================================== */
@keyframes revealFromBottom {
  from {
    opacity: 0;
    transform: translateY(50px) rotateX(10deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

.bio-section#about .main-heading {
  animation: fadeInLeft 1.4s ease-out 0.6s both, revealFromBottom 1s ease-out 0.6s both;
  perspective: 1000px;
}

/* Add loading state animation */
@keyframes loadingPulse {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

.bio-section#about {
  animation: loadingPulse 2s ease-in-out;
}

/* ========================================
   Performance Optimizations
   ======================================== */
.bio-section#about * {
  will-change: transform, opacity;
  backface-visibility: hidden;
}

/* ========================================
   JavaScript-Enhanced Animation Classes
   ======================================== */
.bio-section#about .section-header.animate-visible,
.bio-section#about .brand-name.animate-visible,
.bio-section#about .main-heading.animate-visible,
.bio-section#about .description.animate-visible,
.bio-section#about .cta-button.animate-visible,
.bio-section#about .about-card.animate-visible {
  opacity: 1 !important;
  transform: translateY(0) translateX(0) !important;
}

/* Smooth animation timing */
.bio-section#about .section-header.animate-visible {
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.bio-section#about .brand-name.animate-visible {
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.bio-section#about .main-heading.animate-visible {
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.bio-section#about .description.animate-visible {
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.bio-section#about .cta-button.animate-visible {
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.bio-section#about .about-card.animate-visible {
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Parallax effect for background image */
.bio-section#about .background-image {
  transition: transform 0.1s linear;
}

/* Enhanced in-viewport class */
.bio-section#about .in-viewport {
  will-change: auto;
}

/* ========================================
   Advanced Visual Effects
   ======================================== */
@keyframes textGlow {
  0%, 100% {
    text-shadow: 0 0 10px rgba(126, 199, 71, 0.3);
  }
  50% {
    text-shadow: 0 0 20px rgba(126, 199, 71, 0.6), 0 0 30px rgba(126, 199, 71, 0.3);
  }
}

@keyframes borderGlow {
  0%, 100% {
    border-color: rgba(126, 199, 71, 0.3);
    box-shadow: 0 0 10px rgba(126, 199, 71, 0.1);
  }
  50% {
    border-color: rgba(126, 199, 71, 0.8);
    box-shadow: 0 0 20px rgba(126, 199, 71, 0.4);
  }
}

/* Apply subtle glow effects */
.bio-section#about .brand-name:hover {
  animation: textGlow 2s ease-in-out infinite;
}

.bio-section#about .cta-button {
  position: relative;
  overflow: hidden;
}

.bio-section#about .cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.bio-section#about .cta-button:hover::before {
  left: 100%;
}

/* ========================================
   Micro-interactions
   ======================================== */
.bio-section#about .about-card {
  position: relative;
  overflow: hidden;
}

.bio-section#about .about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(126, 199, 71, 0.1), transparent);
  transition: left 0.6s ease;
}

.bio-section#about .about-card:hover::before {
  left: 100%;
}

/* ========================================
   Reduce motion for users who prefer it
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  .bio-section#about *,
  .bio-section#about .section-header,
  .bio-section#about .brand-name,
  .bio-section#about .main-heading,
  .bio-section#about .description,
  .bio-section#about .cta-button,
  .bio-section#about .about-card {
    animation: none !important;
    transition: none !important;
  }

  .bio-section#about .background-image {
    transform: none !important;
  }
}

.bio-section#about .background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.bio-section#about .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(20, 60, 80, 0.85) 0%, rgba(10, 40, 60, 0.75) 100%);
  z-index: 2;
}

.bio-section#about .container {
  position: relative;
  z-index: 3;
  max-width: 1600px;
  margin: 0 auto;
  padding:0 60px;
  width: 100%;
  text-align: right;
}

.bio-section#about .brand-name {
  text-align: end;
  font-size: 48px;
  font-weight: 300;
  color:  var(--bio-primary);
  margin-bottom: 30px;
  letter-spacing: 2px;
}

/* About Section Text Alignment */
body[data-lang="ar"] .bio-section#about .brand-name {
  text-align: right;
}

body[data-lang="en"] .bio-section#about .brand-name {
  text-align: left;
}

body[data-lang="ar"] .bio-section#about .main-heading {
  text-align: right;
}

body[data-lang="en"] .bio-section#about .main-heading {
  text-align: left;
}

.bio-section#about .main-heading {
  font-size: 40px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 40px;
}

body[data-lang="ar"] .bio-section#about .hero-description {
  text-align: right;
  margin: 0 auto 50px auto;
}

body[data-lang="en"] .bio-section#about .hero-description {
  text-align: left;
  margin: 0 auto 50px auto;
}

.bio-section#about .hero-description {
  font-size: 20px;
  color: #e0e0e0;
  line-height: 1.8;
  max-width: 800px;
}
.bio-section#about .cta-button {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: transparent;
  border: 2px solid  var(--bio-primary);
  color:  var(--bio-primary);
  padding: 18px 40px;
  font-size: 18px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.bio-section#about .cta-button:hover {
  background:  var(--bio-primary);
  color: #1a4d5e;
  transform: translateX(-5px);
}

.bio-section#about .arrow-icon {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
}

.bio-section#about .cta-button:hover .arrow-icon {
  transform: translateX(-10px);
}



@media (max-width: 480px) {
  .bio-header {
    padding: 0 20px;
  }

  .bio-main-title {
    font-size: 32px;
  }

  .bio-subtitle {
    font-size: 24px;
  }

  .section-header h2 {
    font-size: 24px;
  }

  .about-card,
  .service-card,
  .info-card {
    padding: 25px;
  }

  .bio-section#about .brand-name {
    font-size: 32px;
  }

  .bio-section#about .main-heading {
    font-size: 36px;
  }

  .bio-section#about .description {
    font-size: 16px;
    line-height: 1.6;
    max-width: 100%;
    text-align: justify;
    word-spacing: 0.5px;
    letter-spacing: 0.2px;
  }

  .bio-section#about .container {
    padding: 0px 20px;
  }
}

/* ========================================
   Leadership Team Section Styles
   ======================================== */
.bio-section#about .leadership-section {
  min-height: auto;
  padding: 60px 40px;
  position: relative;
  background: #ffffff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  margin: 40px 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.bio-section#about .leadership-section .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 80px;
  opacity: 0;
  transform: translateY(30px);
}

.bio-section#about .leadership-section .logo {
  font-size: 64px;
  font-weight: 700;
  color: #1a1a1a;
  font-family: Arial, sans-serif;
  letter-spacing: -2px;
  text-transform: lowercase;
}

.bio-section#about .leadership-section .nav-button {
  background: transparent;
  border: 2px solid  var(--bio-primary);
  color:  var(--bio-primary);
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Tajawal", sans-serif;
}

.bio-section#about .leadership-section .nav-button:hover {
  background:  var(--bio-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(126, 199, 71, 0.3);
}

.bio-section#about .leadership-section .content-container {
   
  margin: 0 auto;
}

.bio-section#about .leadership-section .section-title {
  text-align: center;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(30px);
}

.bio-section#about .leadership-section .main-title {
  font-size: 32px;
  font-weight: 600;
  color: #2d4a5a;
  margin-bottom: 12px;
  font-family: "Tajawal", sans-serif;
  line-height: 1.3;
}

.bio-section#about .leadership-section .sub-title {
  font-size: 18px;
  font-weight: 400;
  color: #666;
  font-family: "Tajawal", sans-serif;
  line-height: 1.6;
  margin: 0;
}

.bio-section#about .leadership-section .team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.bio-section#about .leadership-section .team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
  opacity: 0;
  transform: translateY(50px);
}

.bio-section#about .leadership-section .team-member:hover {
  transform: translateY(-10px);
}

.bio-section#about .leadership-section .member-image-wrapper {
  width: 200px;
  height: 200px;
  border-radius: 30px;
  overflow: hidden;
  margin-bottom: 20px;
  background: #d0d0d0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.bio-section#about .leadership-section .team-member:hover .member-image-wrapper {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.bio-section#about .leadership-section .member-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.bio-section#about .leadership-section .team-member:hover .member-image {
  filter: grayscale(0%);
}

.bio-section#about .leadership-section .member-name {
  background: #fff;
  border: 2px solid  var(--bio-primary);
  color: #2d4a5a;
  padding: 10px 25px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  font-family: "Tajawal", sans-serif;
  transition: all 0.3s ease;
}

.bio-section#about .leadership-section .team-member:hover .member-name {
  background:  var(--bio-primary);
  color: #fff;
  transform: scale(1.05);
}

.bio-section#about .leadership-section .member-position {
  font-size: 14px;
  color: #666;
  font-family: "Tajawal", sans-serif;
}

/* English language adjustments */
body[data-lang="en"] .bio-section#about .leadership-section .main-title,
body[data-lang="en"] .bio-section#about .leadership-section .sub-title {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body[data-lang="en"] .bio-section#about .leadership-section .nav-button {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ========================================
   Leadership Team Section Responsive Styles
   ======================================== */
@media (max-width: 1024px) {
  .bio-section#about .leadership-section .team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
  }

  .bio-section#about .leadership-section .main-title {
    font-size: 28px;
  }

  .bio-section#about .leadership-section .sub-title {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .bio-section#about .leadership-section {
    padding: 40px 20px;

    margin: 30px 0;
  }

  .bio-section#about .leadership-section .header {
    margin-bottom: 60px;
    flex-direction: column;
    gap: 30px;
  }

  .bio-section#about .leadership-section .logo {
    font-size: 48px;
  }

  .bio-section#about .leadership-section .main-title {
    font-size: 26px;
  }

  .bio-section#about .leadership-section .sub-title {
    font-size: 15px;
  }

  .bio-section#about .leadership-section .team-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .bio-section#about .leadership-section .member-image-wrapper {
    width: 180px;
    height: 180px;
  }

  .bio-section#about .leadership-section .nav-button {
    padding: 10px 25px;
    font-size: 15px;
  }
}

@media (max-width: 479px) {
  .bio-section#about .leadership-section {
    padding: 30px 15px;
    margin: 25px 0;
  }

  .bio-section#about .leadership-section .header {
    margin-bottom: 50px;
  }

  .bio-section#about .leadership-section .logo {
    font-size: 42px;
  }

  .bio-section#about .leadership-section .main-title {
    font-size: 24px;
  }

  .bio-section#about .leadership-section .sub-title {
    font-size: 14px;
  }

  .bio-section#about .leadership-section .member-image-wrapper {
    width: 160px;
    height: 160px;
  }

  .bio-section#about .leadership-section .member-name {
    font-size: 14px;
    padding: 8px 20px;
  }

  .bio-section#about .leadership-section .member-position {
    font-size: 12px;
  }
}

/* Leadership Team Animation Classes */
.bio-section#about .leadership-section .header.animate-visible,
.bio-section#about .leadership-section .section-title.animate-visible,
.bio-section#about .leadership-section .team-member.animate-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.bio-section#about .leadership-section .team-member.animate-visible {
  transition: opacity 0.8s ease-out 0.2s, transform 0.8s ease-out 0.2s;
}

/* ========================================
   Clients Section Styles
   ======================================== */
.bio-clients-section {
  padding: 60px 0;
  background:#ffffff;
  overflow: hidden;
}

.bio-clients-section .section-header {

  margin-bottom: 60px;
}

.bio-clients-section .section-header h2 {
  font-size: 40px;
  font-weight: 700;
  color: var(--bio-dark);

  position: relative;
  display: inline-block;
}



.bio-clients-section .section-subtitle {
  font-size: 18px;
  color: var(--bio-text-light-gray);

}

.clients-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 40px 0;
}

.clients-track {
  display: flex;
  animation: slide-clients 30s linear infinite;
  width: fit-content;
}

.client-item {
  flex: 0 0 auto;
  margin: 0 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.client-item:hover {
  transform: translateY(-10px);
}

.client-item img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bio-primary);
  box-shadow: 0 8px 25px rgba(27, 213, 67, 0.2);
  transition: all 0.3s ease;
  margin-bottom: 15px;
}

.client-item:hover img {
  border-color: var(--bio-dark);
  box-shadow: 0 12px 35px rgba(27, 213, 67, 0.3);
  transform: scale(1.05);
}

.client-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--bio-dark);
  margin-bottom: 5px;
}

.client-info p {
  font-size: 14px;
  color: var(--bio-text-light-gray);
  margin: 0;
}

/* Animation for continuous sliding */
@keyframes slide-clients {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Pause animation on hover */
.clients-slider:hover .clients-track {
  animation-play-state: paused;
}

/* Responsive Design */
@media (max-width: 768px) {
  .bio-clients-section {
    padding: 60px 0;
  }
  
  .bio-clients-section .section-header h2 {
    font-size: 32px;
  }
  
  .bio-clients-section .section-subtitle {
    font-size: 16px;
  }
  
  .client-item {
    margin: 0 20px;
  }
  
  .client-item img {
    width: 100px;
    height: 100px;
  }
  
  .client-info h4 {
    font-size: 14px;
  }
  
  .client-info p {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .bio-clients-section {
    padding: 40px 0;
  }
  
  .bio-clients-section .section-header h2 {
    font-size: 28px;
  }
  
  .client-item {
    margin: 0 15px;
  }
  
  .client-item img {
    width: 80px;
    height: 80px;
  }
  
  .client-info h4 {
    font-size: 13px;
  }
  
  .client-info p {
    font-size: 11px;
  }
}

/* RTL Support */
[dir="rtl"] .bio-clients-section .section-header h2::after {
  left: 50%;
  right: auto;
}

[dir="rtl"] .clients-track {
  animation: slide-clients-rtl 30s linear infinite;
}

/* ========================================
   FAQ Section Styles
   ======================================== */
.bio-faq-section {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(21, 48, 43, 0.04) 0%, rgba(27, 213, 67, 0.03) 100%);
  position: relative;
}

.bio-faq-section .section-header {
  margin-bottom: 60px;
}

.bio-faq-section .section-header h2 {
  font-size: 40px;
  font-weight: 700;
  color: var(--bio-primary);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.bio-faq-section .section-header h2 svg {
  display: inline-block;
  color: var(--bio-primary);
}

.bio-faq-section .section-subtitle {
  font-size: 18px;
  color: var(--bio-text-light-gray);
}

.faq-table {
  width: 100%;
  margin: 0 auto;
}

.faq-row {
  display: flex;
  border-bottom: 1px solid rgba(27, 213, 67, 0.1);
}

.faq-row:last-child {
  border-bottom: none;
}

.faq-cell {
  flex: 1;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  backdrop-filter: var(--blur-light);
  background: rgba(255, 255, 255, 0.8);
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  margin: 10px;
  box-shadow: 0 4px 20px rgba(27, 213, 67, 0.1);
}

.faq-cell:first-child {
  border-right: none;
}

.faq-cell:last-child {
  border-left: none;
}

.faq-cell::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--bio-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.faq-cell:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(27, 213, 67, 0.2);
  background: rgba(255, 255, 255, 0.95);
}

.faq-cell:hover::before {
  opacity: 1;
}

.faq-cell-inner {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  width: 100%;
}

.faq-icon {
  width: 90px;
  height: 90px;
  min-width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bio-text-light-gray);
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.faq-icon svg {
  width: 32px;
  height: 32px;
  color: var(--bio-dark);
  transition: transform 0.3s ease;
}

.faq-icon i {
  font-size: 32px;
  color: var(--bio-dark);
  transition: transform 0.3s ease;
}

.faq-cell:hover .faq-icon {
  transform: scale(1.1);
}

.faq-cell:hover .faq-icon svg {
  transform: rotate(10deg);
}

.faq-cell:hover .faq-icon i {
  transform: rotate(10deg);
}

.faq-content {
  flex: 1;
  text-align: right;
  padding: 0;
}

.faq-question {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--bio-dark);
  margin-bottom: 1rem;
  line-height: 1.4;
  position: relative;
  display: inline-block;
}

.faq-answer {
  font-size: 1rem;
  color: var(--bio-text-light-gray);
  line-height: 1.6;
  font-weight: 400;
  margin: 0;
}

/* RTL Support */
[dir="rtl"] .faq-cell:first-child {
  border-right: none;
  border-left: 1px solid rgba(27, 213, 67, 0.1);
}

[dir="rtl"] .faq-cell:last-child {
  border-left: none;
  border-right: 1px solid rgba(27, 213, 67, 0.1);
}

[dir="rtl"] .faq-content {
  text-align: right;
}

/* Responsive Design */
@media (max-width: 768px) {
  .bio-faq-section {
    padding: 60px 0;
  }
  
  .bio-faq-section .section-header h2 {
    font-size: 32px;
  }
  
  .bio-faq-section .section-subtitle {
    font-size: 16px;
  }
  
  .faq-table {
    display: block;
    max-width: 100%;
  }
  
  .faq-row {
    display: block;
    border-bottom: none;
    margin-bottom: 1.5rem;
  }
  
  .faq-row:last-child {
    margin-bottom: 0;
  }
  
  .faq-cell {
    display: block;
    width: 100%;
    padding: 1.5rem;
    border: none !important;
    margin-bottom: 1rem;
    box-shadow: 0 4px 20px rgba(27, 213, 67, 0.1);
  }
  
  .faq-cell:last-child {
    margin-bottom: 0;
  }
  
  .faq-cell:hover {
    transform: translateY(-3px);
  }
  
  .faq-cell-inner {
    display: flex;
    gap: 1rem;
  }
  
  .faq-icon {
    width: 70px;
    height: 70px;
    min-width: 60px;
    border-radius: 50%;
  }
  
  .faq-icon svg {
    width: 28px;
    height: 28px;
  }
  
  .faq-content {
    padding: 0;
  }
  
  .faq-question {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
  }
  
  .faq-answer {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .bio-faq-section {
    padding: 40px 0;
  }
  
  .bio-faq-section .section-header h2 {
    font-size: 28px;
  }
  
  .bio-faq-section .section-subtitle {
    font-size: 14px;
  }
  
  .faq-row {
    margin-bottom: 1rem;
  }
  
  .faq-cell {
    padding: 1.2rem;
    margin-bottom: 1rem;
  }
  
  .faq-cell-inner {
    gap: 0.8rem;
    align-items: center;
  }
  
  .faq-icon {
    width: 60px;
    height: 60px;
    min-width: 50px;
  }
  
  .faq-icon svg {
    width: 24px;
    height: 24px;
  }
  
  .faq-question {
    font-size: 1rem;
  }
  
  .faq-answer {
    font-size: 0.9rem;
  }
}

@keyframes slide-clients-rtl {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(50%);
  }
}
