.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right,
      var(--primary-color),
      rgba(0, 86, 112, 0.6),
      transparent);
  opacity: 0.7;
}

.video-controls {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 20;
  display: flex;
  gap: 12px;
}

.control-button {
  background-color: var(--black-color-op-40);
  color: var(--white-color);
  padding: 12px;
  border: none;
  cursor: pointer;
  border-radius: var(--border-radius-rounded);
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.control-button:hover {
  background-color: var(--black-color-op-60);
  transform: scale(1.05);
}

.subtitle {
  margin-bottom: 16px;
}

.subtitle-badge {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius-rounded);
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  color: var(--white-color);
  font-weight: bold;
  margin-bottom: 16px;
}

.main-title {
  font-weight: bold;
  color: var(--white-color);
  margin-bottom: 24px;
}

.description {
  color: var(--white-color);
  margin-inline-start: auto;
  margin-right: auto;
  margin-bottom: 2rem !important;
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  animation: bounce 2s infinite;
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--white-color);
  border-radius: 20px;
  display: flex;
  justify-content: center;
}

.scroll-dot {
  width: 4px;
  height: 12px;
  background-color: var(--white-color);
  border-radius: 2px;
  margin-top: 8px;
  animation: pulse 2s infinite;
}

/* Animations */
@keyframes bounce {

  0%,
  20%,
  53%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40%,
  43% {
    transform: translateX(-50%) translateY(-10px);
  }

  70% {
    transform: translateX(-50%) translateY(-5px);
  }

  90% {
    transform: translateX(-50%) translateY(-2px);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

/* Responsive Design */
@media (min-width: 640px) {
  .action-buttons {
    flex-direction: row;
  }
}


.about-section {
  padding: 5rem 0;
  background: linear-gradient(to bottom right, #f9fafb, var(--white-color));
  position: relative;
  overflow: hidden;
}

.bg-pattern-container {
  position: absolute;
  inset: 0;
  opacity: 0.05;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

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

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

.stat-card {
  background: var(--white-color);
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  text-align: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.stat-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius-rounded);
  width: 3rem;
  height: 3rem;
  background-color: var(--primary-color);
  margin-bottom: 1rem;
}

.stat-icon i {
  color: var(--white-color);
}

.stat-number {
  font-weight: 700;
  color: #231f20;
  margin-bottom: 0.25rem;
}

.stat-unit {
  color: var(--primary-color);
}

.stat-label {
  color: var(--gray-color);
  font-weight: 500;
}

/* Main Content Grid */
.main-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

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

/* Left Column - About */
.about-section {
  margin-bottom: 1.5rem;
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: rgba(0, 86, 112, 0.1);
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-title {
  font-weight: 700;
  color: #231f20;
  margin-bottom: 1.5rem;

}


.content-space {
  margin-bottom: 1.5rem;
}

.content-text {
  color: var(--text-description);
  margin-bottom: 1.5rem;
}

.quote-box {
  display: flex;
  align-items: flex-start;
  border-radius: var(--border-radius-sm);
  /* gap: 1rem; */
  padding: 1rem;
  background-color: rgba(0, 86, 112, 0.05);
}

.quote-text {
  color: var(--text-description);
  font-style: italic;
  position: relative;
  padding: 0 0.25rem;
}

.quote-text::before {
  content: '"';
}

.quote-text::after {
  content: '"';
}

/* Right Column - Operations */
.operations-card {
  border-radius: var(--border-radius-lg);
  background: var(--white-color);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.bg-decoration {
  position: absolute;
  top: 0;
  right: 0;
  width: 8rem;
  height: 8rem;
  border-radius: var(--border-radius-rounded);
  background-color: rgba(0, 86, 112, 0.05);
  transform: translate(4rem, -4rem);
}

.arabic-version .bg-decoration {
  right: auto;
  left: 0;
  transform: translate(-4rem, -4rem);
}

.operations-content {
  position: relative;
}

.operations-title {
  font-weight: 700;
  color: #231f20;
  margin-bottom: 1.5rem;
}

.feature-list {
  margin-top: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}


.feature-text {
  color: var(--text-description);
}

.third-button:hover i {
  /* transform: translateX(4px); */
}

/* LTR styles */
.primary-button:hover {
  transform: scale(1.05);
}

.primary-button i {
  margin-inline-start: 0.5rem;
}

.primary-button:hover i {
 /*  transform: translateX(4px); */
}

.business-section {
  padding: 5rem 0;
  background: linear-gradient(to bottom right, #f9fafb, var(--white-color), #f3f4f6);
  position: relative;
  overflow: hidden;
}

/* Header Section */
.header-section {
  text-align: center;
  margin-bottom: 5rem;
}

.header-title {
  font-weight: 700;
  color: #231f20;
  margin-bottom: 2rem;

}


.header-description {
  color: var(--text-description);
  max-width: 64rem;
  margin: 0 auto;
}

/* Video Showcase Section */
.video-showcase {
  margin-bottom: 5rem;
}

.video-container {
  position: relative;
  background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
}

.video-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
}

.video-pattern::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 25px 25px,
      var(--white-color) 2px,
      transparent 2px),
    radial-gradient(circle at 75px 75px, var(--white-color) 2px, transparent 2px);
  background-size: 100px 100px;
  background-position: 0 0, 50px 50px;
}

.video-grid {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 500px;
}

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

.video-content {
  padding: 2rem;
  color: var(--white-color);
}

@media (min-width: 1024px) {
  .video-content {
    padding: 3rem;
  }
}

.video-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background-color: rgba(255, 255, 255, 0.2);
  margin-bottom: 1.5rem;
  border-radius: var(--border-radius-rounded);
}

.video-badge span {
  color: var(--white-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.video-title {
  font-weight: 700;
  margin-bottom: 1.5rem;

}


.video-description {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.video-feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.video-feature-item {
  display: flex;
  align-items: center;
}

.video-feature-text {
  color: rgba(255, 255, 255, 0.9);
}

.video-section {
  position: relative;
  padding: 2rem;
}

@media (min-width: 1024px) {
  .video-section {
    padding: 3rem;
  }
}

.video-player {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
  border-radius: var(--border-radius-lg);
  transition: transform 0.5s ease;
}

.video-player:hover {
  transform: scale(1.02);
}

.video-thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.5s ease;
}

.video-player:hover .video-thumbnail {
  transform: scale(1.05);
}



.video-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.video-player:hover .video-overlay {
  background-color: rgba(0, 0, 0, 0.2);
}

.play-button {
  width: 5rem;
  height: 5rem;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: var(--border-radius-rounded);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.video-player:hover .play-button {
  transform: scale(1.1);
}
.video-player iframe {
    width: 100%;
    height: 100%;
}
.play-icon {
  width: 0;
  height: 0;
  border-left: 1rem solid var(--primary-color);
  border-top: 0.75rem solid transparent;
  border-bottom: 0.75rem solid transparent;
}

.video-duration {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  border-radius: var(--border-radius-rounded);
  background-color: rgba(0, 0, 0, 0.7);
  color: var(--white-color);
  padding: 0.25rem 0.75rem;
  font-weight: 500;
}

.video-info {
  margin-top: 1rem;
  text-align: center;
}

.video-info-title {
  color: var(--white-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.video-info-subtitle {
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

/* Projects Grid */
.projects-grid {
  margin-bottom: 4rem;
}

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

.project-card {
  position: relative;
  background: var(--white-color);
  overflow: hidden;
  border-radius: var(--border-radius-xl);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transition: all 0.7s ease;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
  transform: translateY(-12px);
}

/* Make image section not grow */
.project-image-section {
  position: relative;
  overflow: hidden;
}

.project-image {
  transition: transform 0.7s ease;
}

.project-card:hover .project-image {
  transform: scale(1.1);
}

.image-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--primary-color), transparent, transparent);
  opacity: 0.6;
}

.project-stats {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  display: flex;
  gap: 0.75rem;
}

.stat-badge {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  border-radius: var(--border-radius-rounded);
  padding: 0.5rem 1rem;
}

.stat-text {
  color: var(--primary-color);
  font-weight: 700;
}

.project-icon {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
}

.icon-container {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--border-radius-lg);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.project-card:hover .icon-container {
  transform: scale(1.1);
}

.icon-container i {
  font-size: 1.75rem;
  color: var(--primary-color);
  text-align: center;
}

.project-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.project-title {
  font-weight: 700;
  color: #231f20;
  margin-bottom: 1rem;
  flex: 0 0 auto;
  /* Don't grow */
}

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

.project-description {
  color: #6b7280;
  margin-bottom: 1.5rem;
  flex: 1 1 auto;
  /* Allow growth */
}

.project-features {
  flex: 1 1 auto;
  margin-bottom: 1.5rem;
}

.project-feature {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.project-card:hover .list-dot-dark {
  transform: scale(1.25);
}

.project-feature-text {
  color: var(--text-description);
  font-weight: 500;
}


.hover-border {
  position: absolute;
  inset: 0;
  border: 5px solid transparent;
  transition: all 0.3s ease;
  border-radius: var(--border-radius-xl);
  pointer-events: none;
}

.project-card:hover .hover-border {
  border-color: rgba(0, 86, 112, 0.2);
}

/* Bottom CTA Section */
.bottom-cta {
  text-align: center;
}

.bottom-cta-container {
  background-color:#B94700 ;
  padding: 2rem;
  color: var(--white-color);
  border-radius: var(--border-radius-lg);
}

.bottom-cta-title {
  font-weight: 700;
  margin-bottom: 1rem;
}

.bottom-cta-description {
  opacity: 0.9;
  margin-bottom: 1.5rem;
  max-width: 32rem;
  margin-right: auto;
  margin-left: auto;
}

/* Latest News & Media Section */
.news-section {
  padding: 5rem 0;
  background: var(--white-color);
}

.news-header {
  text-align: center;
  margin-bottom: 4rem;
}

.news-title {
  font-weight: 700;
  color: #231f20;
  margin-bottom: 1.5rem;
}


.news-description {
  color: var(--text-description);
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}


.news-card {
  background: var(--white-color);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: all 0.5s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(-8px);
}

.news-image-section {
  position: relative;
  overflow: hidden;
  flex: 1;
}

.news-image {
  transition: transform 0.5s ease;
}

.news-card:hover .news-image {
  transform: scale(1.1);
}

.news-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 86, 112, 0.8);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.news-card:hover .news-overlay {
  opacity: 0.2;
}

.news-date-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius-rounded);
  display: flex;
  align-items: center;
  color: var(--primary-color);
}

.news-date-badge i {
  margin-right: 0.5rem;
}

.news-content {
  padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    flex: 1;
}

.news-card-title {
  font-weight: 700;
  color: #231f20;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

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

.news-card-description {
  color: #6b7280;
  margin-bottom: 1rem;
}

/* Update hover effects for RTL */
.arabic-version .primary-button:hover i {
/*   transform: unset; */
}

.arabic-version .news-read-more:hover i {
  /* transform: unset; */
}

.arabic-version .project-icon {
  right: 1.5rem;
  left: 0;
}

.arabic-version .card-button:hover i {
 /*  transform: unset; */
}

.arabic-version .third-button:hover i {
/*   transform: unset; */
}

.arabic-version .bottom-cta-button:hover i {
 /*  transform: rotate(180deg); */
}

.arabic-version .news-date-badge i {
  margin-inline-start: 0.5rem;
  margin-right: 0;
}

.home-btn{
    color:#B94700;
}

.custom-controls{

}



.sound-button {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}
.fancybox__content {
    width: 100% !important;
    height: 100% !important;
}
