/* SAS Oil Services - Company Specific Styles */
/* Colors: Purple/Blue (#4a4675) and Green (#2b5d43) with Black - Premium Design */

:root {
  --sas-primary: #4a4675; /* Distinctive Purple/Blue */
  --sas-secondary: #2b5d43; /* Green with meaning */
  --sas-accent: #6b7fa8; /* Lighter purple/blue */
  --sas-dark: #231f20; /* Black */
  --sas-light: #f5f6fa; /* Light background */
  --sas-gradient: linear-gradient(135deg, #231f20 0%, #4a4675 50%, #2b5d43 100%);
  --sas-gradient-light: linear-gradient(135deg, rgba(35, 31, 32, 0.1) 0%, rgba(74, 70, 117, 0.1) 50%, rgba(43, 93, 67, 0.1) 100%);
  
  /* RGB values for rgba() usage */
  --sas-primary-rgb: 74, 70, 117;
  --sas-secondary-rgb: 43, 93, 67;
  --sas-dark-rgb: 35, 31, 32;
}

.sas-oil-page {
  background: #f8f9fa;
}

/* Header */
.company-page .header {
  background: transparent;
  padding: 20px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.company-page .header.scrolled {
  background: rgba(var(--sas-primary-rgb), 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

.company-page .header .header-big-container {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 246, 250, 0.95) 100%);
  border-radius: 16px;
  padding: 12px 25px;
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.08),
    0 1px 3px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(var(--sas-primary-rgb), 0.1);
  position: relative;
  overflow: hidden;
}

.company-page .header .header-big-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(var(--sas-primary-rgb), 0.3) 20%, 
    rgba(var(--sas-primary-rgb), 0.5) 50%, 
    rgba(var(--sas-primary-rgb), 0.3) 80%, 
    transparent 100%);
  border-radius: 16px 16px 0 0;
}

.company-page .header .header-big-container::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(var(--sas-primary-rgb), 0.08) 10%, 
    rgba(var(--sas-primary-rgb), 0.15) 50%, 
    rgba(var(--sas-primary-rgb), 0.08) 90%, 
    transparent 100%);
  transform: translateY(-50%);
  pointer-events: none;
}

.company-page .header.scrolled .header-big-container {
  background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(245, 246, 250, 0.98) 100%);
  box-shadow: 
    0 8px 30px rgba(0, 0, 0, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  border-color: rgba(var(--sas-primary-rgb), 0.15);
}

/* Navmenu - Desktop Style with Logo Inside Container */
@media (min-width: 1200px) {
  .company-page .navmenu {
    padding: 0;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 25px;
  }

  /* Company Logo - Far Left (First Element) */
  .company-page .navmenu .logo {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 100;
    flex-shrink: 0;
    padding: 8px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(var(--sas-primary-rgb), 0.1);
    box-shadow: 
      0 2px 8px rgba(0, 0, 0, 0.05),
      inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    order: 1;
    margin: 0;
  }

  .company-page .navmenu .logo::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, rgba(var(--sas-primary-rgb), 0.2), rgba(var(--sas-primary-rgb), 0.1));
    border-radius: 14px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
  }

  .company-page .navmenu .logo:hover::before {
    opacity: 1;
  }

  .company-page .navmenu .logo img {
    height: 65px;
    max-height: 65px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.1));
  }

  .company-page .navmenu .logo:hover {
    transform: translateY(-2px);
    box-shadow: 
      0 6px 20px rgba(var(--sas-primary-rgb), 0.2),
      0 2px 8px rgba(0, 0, 0, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(var(--sas-primary-rgb), 0.25);
  }

  .company-page .navmenu .logo:hover img {
    transform: scale(1.08);
    filter: drop-shadow(0 4px 12px rgba(var(--sas-primary-rgb), 0.3));
  }

  /* Erasa Group Logo - Far Right */
  .company-page .navmenu .erasa-group-logo {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 10px;
    transition: all 0.3s ease;
    z-index: 1002;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    order: 4;
    margin-left: auto;
  }

  .company-page .navmenu .erasa-group-logo:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .company-page .navmenu .erasa-group-logo img {
    height: 45px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    transition: all 0.3s ease;
  }

  .company-page .navmenu .erasa-group-logo:hover img {
    transform: scale(1.05);
  }

  .company-page .navmenu > ul:first-of-type,
  .company-page .navmenu > ul.justify-content-start {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: flex-start;
    gap: 25px;
    flex: 1;
    padding-left: 0;
    z-index: 1002;
    position: relative;
    padding-right: 20px;
    order: 2;
  }

  .company-page .navmenu > ul:first-of-type::after,
  .company-page .navmenu > ul.justify-content-start::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, 
      transparent 0%, 
      rgba(var(--sas-primary-rgb), 0.2) 20%, 
      rgba(var(--sas-primary-rgb), 0.3) 50%, 
      rgba(var(--sas-primary-rgb), 0.2) 80%, 
      transparent 100%);
  }

  .company-page .navmenu > ul:first-of-type li,
  .company-page .navmenu > ul.justify-content-start li {
    list-style: none;
    margin: 0;
  }

  /* Company Name on Left - Premium Style */
  .company-page .navmenu > ul:first-of-type .company-name,
  .company-page .navmenu > ul.justify-content-start .company-name {
    color: #333333;
    padding: 14px 20px;
    font-size: 17px;
    font-weight: 600;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    display: flex;
    align-items: center;
    white-space: nowrap;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    z-index: 1002;
    border-radius: 10px;
    background: rgba(var(--sas-primary-rgb), 0.03);
    border: 1px solid rgba(var(--sas-primary-rgb), 0.08);
  }

  .company-page .navmenu > ul:first-of-type .company-name::before,
  .company-page .navmenu > ul.justify-content-start .company-name::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(var(--sas-primary-rgb), 0.1) 0%, rgba(var(--sas-primary-rgb), 0.05) 100%);
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
  }

  .company-page .navmenu > ul:first-of-type .company-name:hover::before,
  .company-page .navmenu > ul.justify-content-start .company-name:hover::before {
    opacity: 1;
  }

  .company-page .navmenu > ul:first-of-type .company-name:hover,
  .company-page .navmenu > ul.justify-content-start .company-name:hover {
    color: var(--sas-primary);
    border-color: rgba(var(--sas-primary-rgb), 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--sas-primary-rgb), 0.15);
  }

  /* Header List 2 - Navigation Links - Center/Right */
  .company-page .header-list-2 {
    margin-right: 0 !important;
    padding-right: 25px !important;
    padding-left: 25px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: auto !important;
    flex: 1 1 auto;
    z-index: 1002;
    position: relative;
    order: 3;
    flex-shrink: 0;
    min-width: 0;
  }

  .company-page .header-list-2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, 
      transparent 0%, 
      rgba(var(--sas-primary-rgb), 0.2) 20%, 
      rgba(var(--sas-primary-rgb), 0.3) 50%, 
      rgba(var(--sas-primary-rgb), 0.2) 80%, 
      transparent 100%);
  }

  .company-page .header-list-2 li {
    list-style: none;
    margin: 0;
  }

  .company-page .header-list-2 .nav-link {
    padding: 12px 20px;
    position: relative;
    z-index: 1002;
    color: #555555;
    font-size: 16.5px;
    font-weight: 500;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 10px;
    background: rgba(var(--sas-primary-rgb), 0.02);
    border: 1px solid transparent;
  }

  .company-page .header-list-2 .nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(var(--sas-primary-rgb), 0.08) 0%, rgba(var(--sas-primary-rgb), 0.04) 100%);
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
  }

  .company-page .header-list-2 .nav-link::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--sas-primary), transparent);
    border-radius: 2px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .company-page .header-list-2 .nav-link:hover::before,
  .company-page .header-list-2 .nav-link.active::before {
    opacity: 1;
  }

  .company-page .header-list-2 .nav-link:hover::after,
  .company-page .header-list-2 .nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
  }

  .company-page .header-list-2 .nav-link:hover,
  .company-page .header-list-2 .nav-link.active {
    color: var(--sas-primary);
    border-color: rgba(var(--sas-primary-rgb), 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--sas-primary-rgb), 0.12);
  }
}

/* Hero Section - Premium Design */
.company-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--sas-gradient);
  padding-top: 100px;
  overflow: hidden;
}

/* Hero Background Image - Distinctive and Prominent */
.company-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../../img/feature-img3.png');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  opacity: 0.35;
  z-index: 0;
  animation: backgroundMove 25s ease-in-out infinite;
  filter: brightness(0.7) contrast(1.1);
}

@keyframes backgroundMove {
  0%, 100% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.1) translateY(-20px); }
}

.company-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(var(--sas-primary-rgb), 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(var(--sas-secondary-rgb), 0.3) 0%, transparent 50%);
  z-index: 1;
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.8; }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(var(--sas-dark-rgb), 0.85), rgba(var(--sas-primary-rgb), 0.7));
  z-index: 1;
}

.company-hero .hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.company-hero h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.company-hero p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.95);
  font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.hero-btns {
  gap: 20px;
  justify-content: center;
}

.know-more,
.contact-us {
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 16px;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.know-more {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.know-more:hover {
  background: #fff;
  color: var(--sas-primary);
}

.contact-us {
  background: var(--sas-secondary);
  color: #fff;
  border: 2px solid var(--sas-secondary);
}

.contact-us:hover {
  background: var(--sas-accent);
  border-color: var(--sas-accent);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(var(--sas-primary-rgb), 0.4);
}

/* About Section */
.company-about {
  padding: 100px 0;
  background: #fff;
  position: relative;
  z-index: 2;
  width: 100%;
  display: block;
}

/* About Section Layout - Image Left, Text Right */
.company-about .row {
  direction: ltr; /* LTR for flexbox layout */
}

.company-about .about-image {
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

/* Desktop - Smaller image size */
@media (min-width: 992px) {
  .company-about .about-image img {
    max-width: 85%;
    max-height: 500px;
    width: auto;
    height: auto;
    object-fit: contain;
  }
}

.company-about .about-content {
  text-align: right;
  direction: rtl;
}

.about-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--sas-dark);
  margin-bottom: 25px;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.about-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--sas-dark);
  margin-top: 30px;
  margin-bottom: 15px;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #666;
  margin-bottom: 20px;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.about-features {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: var(--sas-dark);
  font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.feature-item i {
  color: var(--sas-primary);
  font-size: 20px;
}

.about-image img {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(var(--sas-primary-rgb), 0.2);
}

/* About Vision, Mission, Strategic Role Cards */
.about-vision-mission-cards {
  margin-top: 40px;
  width: 100%;
}

.about-info-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 246, 250, 0.6) 100%);
  padding: 25px 20px;
  border-radius: 14px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(var(--sas-primary-rgb), 0.1);
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.about-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--sas-gradient);
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 14px 14px 0 0;
}

.about-info-card:hover::before {
  transform: scaleX(1);
}

.about-info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(var(--sas-primary-rgb), 0.2);
  border-color: rgba(var(--sas-primary-rgb), 0.25);
}

.info-card-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  background: var(--sas-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(var(--sas-primary-rgb), 0.25);
}

.about-info-card:hover .info-card-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 20px rgba(var(--sas-primary-rgb), 0.35);
}

.info-card-icon::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sas-primary), var(--sas-secondary));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  filter: blur(6px);
}

.about-info-card:hover .info-card-icon::after {
  opacity: 0.5;
}

.about-info-card h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--sas-dark);
  margin-bottom: 12px;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.about-info-card:hover h4 {
  color: var(--sas-primary);
}

.about-info-card p {
  font-size: 14px;
  line-height: 1.7;
  color: #666;
  margin: 0;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  position: relative;
  z-index: 1;
}

/* Specific card styling */
.vision-card .info-card-icon {
  background: linear-gradient(135deg, var(--sas-primary), rgba(var(--sas-secondary-rgb), 0.8));
}

.mission-card .info-card-icon {
  background: linear-gradient(135deg, var(--sas-secondary), rgba(var(--sas-primary-rgb), 0.8));
}

.strategic-card .info-card-icon {
  background: linear-gradient(135deg, var(--sas-accent), rgba(var(--sas-dark-rgb), 0.8));
}

/* Works Section */
.company-works {
  position: relative;
  z-index: 2;
  width: 100%;
  display: block;
  padding: 100px 0;
  background: var(--sas-light);
}

/* Works Cards Container */
.works-cards-container {
  position: relative;
  width: 100%;
}

.works-row {
  margin-bottom: 0;
}

.works-row:first-child {
  margin-bottom: 40px;
}

.works-row:last-child {
  margin-top: 40px;
}

.company-works .section-title {
  text-align: center;
  margin-bottom: 50px;
}

.company-works .section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--sas-dark);
  margin-bottom: 15px;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.company-works .section-title p {
  font-size: 1.1rem;
  color: #666;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
}

/* Work Cards - Distinctive Style Without White Border */
.work-card {
  background: transparent;
  padding: 35px 25px 45px 25px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  height: 100%;
  box-shadow: none;
  position: relative;
  overflow: visible;
  margin-bottom: 30px;
}

.work-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(var(--sas-primary-rgb), 0.03) 0%, 
    rgba(var(--sas-primary-rgb), 0.02) 100%);
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

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

.work-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 40px rgba(var(--sas-primary-rgb), 0.15);
}

.work-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--sas-primary), var(--sas-secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(var(--sas-primary-rgb), 0.25);
}

.work-card:hover .work-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 25px rgba(var(--sas-primary-rgb), 0.4);
}

.work-icon::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sas-primary), var(--sas-secondary));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  filter: blur(8px);
}

.work-card:hover .work-icon::after {
  opacity: 0.6;
}

.work-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--sas-dark);
  margin-bottom: 12px;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.work-card:hover h3 {
  color: var(--sas-primary);
}

.work-card p {
  font-size: 14px;
  line-height: 1.7;
  color: #666;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  position: relative;
  z-index: 1;
}

/* Work Card Dotted Line - Artistic Connection */

.work-card-dotted-line {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 50px;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 6px,
    var(--sas-primary) 6px,
    var(--sas-primary) 10px
  );
  opacity: 0.7;
  z-index: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-card:hover .work-card-dotted-line {
  opacity: 1;
  height: 60px;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 5px,
    var(--sas-secondary) 5px,
    var(--sas-secondary) 9px
  );
  filter: drop-shadow(0 2px 4px rgba(var(--sas-primary-rgb), 0.3));
}

/* Last line in third row connects to logo - longer */
.work-card-dotted-line.last-line {
  height: 70px;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 6px,
    var(--sas-primary) 6px,
    var(--sas-primary) 10px
  );
}

.work-card:hover .work-card-dotted-line.last-line {
  height: 80px;
}

/* Horizontal connecting dotted lines between cards in each row */
.works-row {
  position: relative;
}

.works-row::before {
  content: '';
  position: absolute;
  bottom: -30px;
  left: 16.666%;
  right: 16.666%;
  height: 2px;
  background-image: repeating-linear-gradient(
    to right,
    transparent,
    transparent 8px,
    var(--sas-primary) 8px,
    var(--sas-primary) 12px
  );
  opacity: 0.6;
  z-index: 1;
  transition: opacity 0.4s ease;
}

.works-row:hover::before {
  opacity: 1;
}

.works-row:last-child::before {
  display: none;
}

/* Works Logo at the end */
.works-logo-end {
  text-align: center;
  margin-top: 60px;
  padding-top: 40px;
  position: relative;
  z-index: 1;
}

.works-logo-end::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 40px;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 8px,
    var(--sas-primary) 8px,
    var(--sas-primary) 12px
  );
  opacity: 0.6;
  z-index: 0;
}

.works-end-logo {
  max-width: 120px;
  height: auto;
  opacity: 0.9;
  transition: all 0.4s ease;
  filter: drop-shadow(0 4px 12px rgba(var(--sas-primary-rgb), 0.2));
  position: relative;
  z-index: 1;
}

.works-end-logo:hover {
  opacity: 1;
  transform: scale(1.1);
  filter: drop-shadow(0 8px 20px rgba(var(--sas-primary-rgb), 0.4));
}

/* Mobile responsive for dotted lines */
@media (max-width: 991px) {
  .work-card-dotted-line {
    display: none;
  }
  
  .works-row::after {
    display: none;
  }
  
  .works-logo-end {
    margin-top: 40px;
    padding-top: 20px;
  }
  
  .works-logo-end::before {
    height: 20px;
  }
  
  .works-end-logo {
    max-width: 100px;
  }
}

/* Portfolio Section - Premium Gallery */
.company-portfolio {
  padding: 100px 0;
  background: linear-gradient(180deg, #fff 0%, var(--sas-light) 100%);
  position: relative;
  z-index: 2;
  width: 100%;
  display: block;
  overflow: visible;
}


.company-portfolio .container {
  position: relative;
  z-index: 1;
}

.company-portfolio .section-title {
  text-align: center;
  margin-bottom: 60px;
}

.company-portfolio .section-title h2 {
  font-size: 3rem;
  font-weight: 700;
  background: var(--sas-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
  position: relative;
}

.company-portfolio .section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--sas-gradient);
  border-radius: 2px;
}

.company-portfolio .section-title p {
  font-size: 1.2rem;
  color: #666;
  margin-top: 25px;
}

.portfolio-filter {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 12px 30px;
  border: 2px solid var(--sas-primary);
  background: transparent;
  color: var(--sas-primary);
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--sas-gradient);
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.filter-btn:hover::before,
.filter-btn.active::before {
  left: 0;
}

.filter-btn:hover,
.filter-btn.active {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(var(--sas-primary-rgb), 0.3);
}

/* Portfolio Grid - Enhanced Layout */
.portfolio-grid {
  margin: 0 -12px;
  width: calc(100% + 24px);
  display: flex;
  flex-wrap: wrap;
}

.portfolio-grid .row {
  margin: 0 -12px;
  width: calc(100% + 24px);
  display: flex;
  flex-wrap: wrap;
}

.portfolio-grid [class*="col-lg-4"] {
  padding: 0 12px;
  margin-bottom: 30px;
  display: flex;
  width: 33.333333% !important;
  flex: 0 0 33.333333% !important;
  max-width: 33.333333% !important;
  box-sizing: border-box;
}

.portfolio-item {
  opacity: 1;
  transform: scale(1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  display: flex;
}

.portfolio-item-hidden {
  display: none !important;
}

/* Portfolio Card Link - Enhanced Clickable Card */
.portfolio-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: #fff;
  height: 100%;
  width: 100%;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  border: 1px solid rgba(var(--sas-primary-rgb), 0.08);
}

.portfolio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--sas-gradient-light);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  border-radius: 14px;
}

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

.portfolio-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 12px 35px rgba(var(--sas-primary-rgb), 0.25);
  border-color: rgba(var(--sas-primary-rgb), 0.25);
}

.portfolio-image {
  position: relative;
  overflow: hidden;
  height: 280px;
  width: 100%;
  flex-shrink: 0;
  z-index: 1;
}

.portfolio-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(var(--sas-primary-rgb), 0) 0%, rgba(var(--sas-primary-rgb), 0.1) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}

.portfolio-card:hover .portfolio-image::after {
  opacity: 1;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(0.95);
}

.portfolio-card:hover .portfolio-image img {
  transform: scale(1.08);
  filter: brightness(1);
}

/* View Project Icon - Appears on Hover */
.portfolio-image::before {
  content: '\F138';
  font-family: 'bootstrap-icons';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 50px;
  height: 50px;
  background: rgba(var(--sas-primary-rgb), 0.95);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 20px rgba(var(--sas-primary-rgb), 0.4);
  opacity: 0;
}

.portfolio-card:hover .portfolio-image::before {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* Portfolio Modal */
.portfolio-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  animation: fadeIn 0.3s ease;
  overflow-y: auto;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.portfolio-modal.active {
  display: flex;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.portfolio-modal-content {
  background: #fff;
  border-radius: 20px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

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

.portfolio-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #fff;
  font-size: 40px;
  font-weight: 300;
  cursor: pointer;
  z-index: 10000;
  width: 50px;
  height: 50px;
  background: rgba(var(--sas-primary-rgb), 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.portfolio-modal-close:hover {
  background: var(--sas-primary);
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 6px 20px rgba(var(--sas-primary-rgb), 0.5);
}

.portfolio-modal-image {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #000;
}

.portfolio-modal-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  max-height: 60vh;
  margin: 0 auto;
}

.portfolio-modal-info {
  padding: 40px;
  direction: rtl;
}

.portfolio-modal-info h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--sas-dark);
  margin-bottom: 20px;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  line-height: 1.4;
  border-bottom: 3px solid var(--sas-primary);
  padding-bottom: 15px;
}

.portfolio-modal-info p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #555;
  margin: 0;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  text-align: justify;
}

/* Mobile Responsive for Modal */
@media (max-width: 768px) {
  .portfolio-modal-content {
    max-width: 95%;
    margin: 20px auto;
  }
  
  .portfolio-modal-info {
    padding: 30px 20px;
  }
  
  .portfolio-modal-info h2 {
    font-size: 1.5rem;
  }
  
  .portfolio-modal-info p {
    font-size: 1rem;
  }
  
  .portfolio-modal-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 30px;
  }
}


/* Partners Section - Light and Elegant */
.company-partners {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--sas-light) 0%, #fff 100%);
  position: relative;
  z-index: 2;
  width: 100%;
  display: block;
}

.company-partners::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(var(--sas-primary-rgb), 0.2) 20%, 
    rgba(var(--sas-primary-rgb), 0.3) 50%, 
    rgba(var(--sas-primary-rgb), 0.2) 80%, 
    transparent 100%);
}

.company-partners .section-title {
  text-align: center;
  margin-bottom: 60px;
}

.company-partners .section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--sas-dark);
  margin-bottom: 15px;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.company-partners .section-title p {
  font-size: 1.1rem;
  color: #666;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.partner-card {
  background: transparent;
  padding: 30px 20px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.partner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(var(--sas-primary-rgb), 0.02) 0%, 
    rgba(var(--sas-primary-rgb), 0.01) 100%);
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}

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

.partner-image-wrapper {
  position: relative;
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(var(--sas-primary-rgb), 0.08);
  overflow: hidden;
  z-index: 1;
}

.partner-image-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(var(--sas-primary-rgb), 0) 0%, 
    rgba(var(--sas-primary-rgb), 0.03) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}

.partner-card:hover .partner-image-wrapper::after {
  opacity: 1;
}

.partner-card:hover .partner-image-wrapper {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(var(--sas-primary-rgb), 0.15);
  border-color: rgba(var(--sas-primary-rgb), 0.2);
}

.partner-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(20%) brightness(0.95);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
}

.partner-card:hover .partner-image {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.05);
}

/* Responsive for Partners */
@media (max-width: 991px) {
  .partner-image-wrapper {
    height: 160px;
    padding: 15px;
  }
}

@media (max-width: 768px) {
  .company-partners {
    padding: 60px 0;
  }
  
  .company-partners .section-title h2 {
    font-size: 2rem;
  }
  
  .partner-image-wrapper {
    height: 140px;
    padding: 12px;
  }
}

/* Contact Section */
.company-contact {
  position: relative;
  z-index: 2;
  width: 100%;
  display: block;
  padding: 100px 0;
  background: #fff;
  position: relative;
}

.company-contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--sas-gradient);
  opacity: 0.3;
}

.company-contact .section-title {
  text-align: center;
  margin-bottom: 50px;
}

.company-contact .section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--sas-dark);
  margin-bottom: 15px;
}

.company-contact .section-title p {
  font-size: 1.1rem;
  color: #666;
}

.contact-card {
  background: linear-gradient(135deg, #fff 0%, var(--sas-light) 100%);
  padding: 45px 35px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--sas-gradient-light);
  opacity: 0;
  transition: opacity 0.5s ease;
}

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

.contact-card:hover {
  transform: translateY(-10px);
  border-color: var(--sas-primary);
  box-shadow: 0 15px 40px rgba(var(--sas-primary-rgb), 0.2);
}

.contact-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: var(--sas-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 32px;
  position: relative;
  z-index: 1;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 25px rgba(var(--sas-primary-rgb), 0.3);
}

.contact-card:hover .contact-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 35px rgba(var(--sas-primary-rgb), 0.4);
}

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

.contact-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--sas-dark);
  margin-bottom: 15px;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.contact-card p {
  font-size: 15px;
  line-height: 1.8;
  color: #666;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
}

/* Footer - Enhanced Professional Design */
.company-footer {
  background: linear-gradient(135deg, var(--sas-dark) 0%, var(--sas-primary) 100%);
  color: #fff;
  padding: 60px 0 40px;
  position: relative;
  overflow: hidden;
}

.company-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(var(--sas-primary-rgb), 0.3) 20%, 
    rgba(var(--sas-primary-rgb), 0.5) 50%, 
    rgba(var(--sas-primary-rgb), 0.3) 80%, 
    transparent 100%);
}

/* Footer Logo - White Color */
.footer-logo {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.footer-logo img {
  height: 60px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: all 0.4s ease;
  opacity: 0.95;
}

.footer-logo img:hover {
  opacity: 1;
  filter: brightness(0) invert(1) drop-shadow(0 4px 10px rgba(var(--sas-primary-rgb), 0.3));
  transform: scale(1.05);
}

.company-footer p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.back-to-group-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 8px;
  background: rgba(var(--sas-primary-rgb), 0.1);
  border: 1px solid rgba(var(--sas-primary-rgb), 0.2);
}

.back-to-group-link:hover {
  color: var(--sas-accent);
  background: rgba(var(--sas-primary-rgb), 0.2);
  border-color: rgba(var(--sas-primary-rgb), 0.4);
  gap: 12px;
  transform: translateX(-5px);
  box-shadow: 0 4px 12px rgba(var(--sas-primary-rgb), 0.2);
}

/* Load More Button */
.portfolio-load-more-wrapper {
  text-align: center;
  margin-top: 50px;
  padding: 20px 0;
}

.portfolio-load-more-btn {
  padding: 15px 45px;
  background: var(--sas-gradient);
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(var(--sas-primary-rgb), 0.3);
  position: relative;
  overflow: hidden;
}

.portfolio-load-more-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(var(--sas-primary-rgb), 0.2), rgba(var(--sas-primary-rgb), 0.3));
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.portfolio-load-more-btn:hover::before {
  left: 0;
}

.portfolio-load-more-btn span,
.portfolio-load-more-btn i {
  position: relative;
  z-index: 1;
}

.portfolio-load-more-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(var(--sas-primary-rgb), 0.4);
}

.portfolio-load-more-btn:active {
  transform: translateY(-1px);
}

.portfolio-load-more-btn i {
  transition: transform 0.3s ease;
}

.portfolio-load-more-btn:hover i {
  transform: translateY(3px);
}

/* Mobile Navigation Menu */
@media (max-width: 1199px) {
  /* Company Logo - Mobile (Left) */
  .company-page .navmenu .logo {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 10px;
    z-index: 9999;
    position: relative;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(var(--sas-primary-rgb), 0.1);
    flex-shrink: 0;
    order: 1;
    margin: 0;
  }

  .company-page .navmenu .logo img {
    height: 50px;
    max-height: 50px;
    width: auto;
  }

  /* Erasa Group Logo - Mobile (Right) */
  .company-page .navmenu .erasa-group-logo {
    display: flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 9999;
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    order: 4;
  }

  .company-page .navmenu .erasa-group-logo:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
  }

  .company-page .navmenu .erasa-group-logo img {
    height: 40px;
    width: auto;
    max-width: 100px;
    object-fit: contain;
  }

  .company-page .mobile-nav-toggle {
    display: block;
    font-size: 28px;
    color: var(--sas-dark);
    cursor: pointer;
    position: relative;
    margin: 0 10px;
  }

  /* Header padding on mobile */
  .company-page .header {
    padding: 15px 0;
  }

  /* Mobile navigation menu - Hidden by default */
  .company-page .navmenu .mobile-nav-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 9998;
    padding-top: 80px;
    overflow-y: auto;
  }

  .company-page .navmenu .mobile-nav-menu.active {
    display: block;
  }

  /* Mobile menu items */
  .company-page .navmenu .mobile-nav-menu ul {
    list-style: none;
    padding: 20px;
    margin: 0;
  }

  .company-page .navmenu .mobile-nav-menu li {
    margin-bottom: 10px;
  }

  .company-page .navmenu .mobile-nav-menu .mobile-company-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--sas-dark);
    padding: 20px;
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(var(--sas-primary-rgb), 0.2);
    font-family: 'IBM Plex Sans Arabic', sans-serif;
  }

  .company-page .navmenu .mobile-nav-menu .nav-link {
    display: block;
    padding: 18px 25px;
    color: #333;
    font-size: 18px;
    font-weight: 500;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    text-decoration: none;
    border-radius: 12px;
    margin-bottom: 8px;
    background: rgba(var(--sas-primary-rgb), 0.05);
    border: 1px solid rgba(var(--sas-primary-rgb), 0.1);
    transition: all 0.3s ease;
  }

  .company-page .navmenu .mobile-nav-menu .nav-link:hover,
  .company-page .navmenu .mobile-nav-menu .nav-link.active {
    background: rgba(var(--sas-primary-rgb), 0.1);
    color: var(--sas-primary);
    border-color: rgba(var(--sas-primary-rgb), 0.2);
    transform: translateX(-5px);
  }

  /* Close button for mobile menu */
  .company-page .mobile-nav-menu .mobile-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: #333;
    cursor: pointer;
    z-index: 10001;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(var(--sas-primary-rgb), 0.1);
    border: 1px solid rgba(var(--sas-primary-rgb), 0.2);
    transition: all 0.3s ease;
  }

  .company-page .mobile-nav-menu .mobile-close-btn:hover {
    background: rgba(var(--sas-primary-rgb), 0.2);
    color: var(--sas-primary);
    transform: rotate(90deg) scale(1.1);
    border-color: rgba(var(--sas-primary-rgb), 0.3);
  }
}

/* Ensure Desktop Styles Only Apply on Large Screens */
@media (min-width: 1200px) {
  .company-page .mobile-nav-toggle {
    display: none !important;
  }

  .company-page .mobile-nav-menu {
    display: none !important;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .company-hero h1 {
    font-size: 2.5rem;
  }
  
  .company-hero p {
    font-size: 1.1rem;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .hero-btns {
    flex-direction: column;
    width: 100%;
  }
  
  .know-more,
  .contact-us {
    width: 100%;
    text-align: center;
  }
}

