/*

TemplateMo 595 3d coverflow - Arabic RTL Version

*/

@charset "utf-8";

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Cairo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
  position: relative;
  background: #ffffff;
  direction: rtl;
  text-align: right;
}

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

#home {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #ffffff 100%);
}

#about {
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
}

#contact {
  background: linear-gradient(135deg, #e0f2fe 0%, #ffffff 100%);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(34, 34, 34, 0.1);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  flex-direction: row-reverse;
}

.header.scrolled {
  background: rgba(255, 255, 255, 1);
  height: 70px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s ease;
  flex-direction: row-reverse;
}

.logo-container:hover {
  transform: translateY(-2px);
}

.logo {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo svg {
  width: 100%;
  height: 100%;
}

.logo-text {
  color: #222222;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.main-menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.menu-item {
  color: rgba(34, 34, 34, 0.7);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 0;
}

.menu-item:hover {
  color: #222222;
  transform: translateY(-2px);
}

.menu-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #2596be, #00a2ff);
  transition: width 0.3s ease;
}

.menu-item:hover::after {
  width: 100%;
}

.menu-item.active {
  color: #222222;
}

.menu-item.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #222222;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.home-intro-wrapper {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 40px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 60px;
}

.about-visual {
  position: relative;
  width: 100%;
  max-width: 1100px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.video-player-container {
  position: relative;
  width: 100%;
  max-width: 1100px;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(37, 150, 190, 0.3);
  transition: all 0.3s ease;
  margin: 0 auto;
}

.video-player-container:hover {
  box-shadow: 0 30px 60px rgba(37, 150, 190, 0.4);
  transform: translateY(-5px);
}

.factory-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 24px;
}

/* Added mute toggle button styles */
.mute-toggle-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: rgba(37, 150, 190, 0.9);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  font-size: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.mute-toggle-btn:hover {
  background: rgba(0, 162, 255, 1);
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(0, 162, 255, 0.4);
}

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

.mute-icon,
.unmute-icon {
  display: inline-block;
  line-height: 1;
}

.short-form-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Added styling for factory image to match video styling */
.factory-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
  object-fit: contain;
}

.factory-intro {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.factory-intro h2 {
  font-size: 48px;
  margin-bottom: 30px;
  background: linear-gradient(135deg, #2596be 0%, #00a2ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.3;
}

.factory-intro p {
  font-size: 20px;
  color: rgba(34, 34, 34, 0.7);
  line-height: 1.8;
  text-align: center;
}

.about-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px;
  color: #222222;
}

.about-header {
  text-align: center;
  margin-bottom: 80px;
}

.about-header h2 {
  font-size: 48px;
  margin-top: 60px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #2596be 0%, #00a2ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-header p {
  font-size: 20px;
  color: rgba(34, 34, 34, 0.7);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.about-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}

/* Added new container for vertical factory image with proper sizing and centering */
.factory-image-container {
  position: relative;
  width: 70%;
  max-width: 350px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, rgba(37, 150, 190, 0.05) 0%, rgba(0, 162, 255, 0.05) 100%);
}

.factory-image-container:hover {
  transform: translateY(-5px);
}

.about-info {
  padding-right: 40px;
}

.about-info h3 {
  font-size: 36px;
  margin-bottom: 30px;
  line-height: 1.3;
  color: #222222;
}

.about-info p {
  font-size: 18px;
  color: rgba(34, 34, 34, 0.7);
  line-height: 1.8;
  margin-bottom: 30px;
}

.feature-list {
  list-style: none;
  margin-bottom: 40px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  font-size: 16px;
  color: rgba(34, 34, 34, 0.8);
  flex-direction: row-reverse;
  text-align: right;
}

.feature-list li::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #2596be 0%, #00a2ff 100%);
  border-radius: 50%;
  flex-shrink: 0;
  color: #ffffff;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #2596be 0%, #00a2ff 100%);
  color: #ffffff;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(37, 150, 190, 0.3);
  flex-direction: row-reverse;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37, 150, 190, 0.4);
}

.cta-button svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  transform: scaleX(-1);
}

.cta-button:hover svg {
  transform: scaleX(-1) translateX(5px);
}

.stats-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 60px;
  background: rgba(240, 249, 255, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  border: 1px solid rgba(37, 150, 190, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  background: linear-gradient(135deg, #2596be 0%, #00a2ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 16px;
  color: rgba(34, 34, 34, 0.7);
}

.vision-mission-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.vision-mission-card {
  background: rgba(240, 249, 255, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(37, 150, 190, 0.2);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.vision-mission-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(37, 150, 190, 0.15);
}

.vision-mission-card h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #2596be;
}

.vision-mission-card p {
  font-size: 16px;
  color: rgba(34, 34, 34, 0.7);
  line-height: 1.8;
}

.contact-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px;
  color: #222222;
}

.contact-header {
  text-align: center;
  margin-top: 60px;
  margin-bottom: 60px;
}

.contact-header h2 {
  font-size: 48px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #2596be 0%, #00a2ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-header p {
  font-size: 20px;
  color: rgba(34, 34, 34, 0.7);
  max-width: 600px;
  margin: 0 auto;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info-section {
  padding-left: 40px;
}

.contact-info-section h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #222222;
}

.contact-info-section p {
  font-size: 16px;
  color: rgba(34, 34, 34, 0.7);
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: rgba(240, 249, 255, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(37, 150, 190, 0.2);
  border-radius: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  flex-direction: row-reverse;
}

.contact-item:hover {
  background: rgba(224, 242, 254, 0.8);
  transform: translateX(-5px);
  box-shadow: 0 10px 30px rgba(37, 150, 190, 0.15);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #2596be 0%, #00a2ff 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
}

.contact-text {
  flex: 1;
  text-align: right;
}

.contact-text h4 {
  font-size: 16px;
  color: #222222;
  margin-bottom: 5px;
}

.contact-text p {
  font-size: 14px;
  color: rgba(34, 34, 34, 0.7);
  margin: 0;
}

.social-links {
  margin-top: 40px;
}

.social-links h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #222222;
}

.social-buttons {
  display: flex;
  gap: 15px;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.social-btn {
  width: 45px;
  height: 45px;
  background: rgba(240, 249, 255, 0.8);
  border: 1px solid rgba(37, 150, 190, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.social-btn:hover {
  background: linear-gradient(135deg, #2596be 0%, #00a2ff 100%);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(37, 150, 190, 0.3);
}

.social-btn svg {
  width: 20px;
  height: 20px;
  fill: #2596be;
  transition: fill 0.3s ease;
}

.social-btn:hover svg {
  fill: #ffffff;
}

.contact-form-section {
  padding-right: 40px;
}

.contact-form {
  background: rgba(240, 249, 255, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(37, 150, 190, 0.2);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  color: rgba(34, 34, 34, 0.8);
  font-weight: 500;
  text-align: right;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(37, 150, 190, 0.3);
  border-radius: 10px;
  color: #222222;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
  text-align: right;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2596be;
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 0 0 3px rgba(37, 150, 190, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
  line-height: 1.5;
}

.submit-btn {
  background: linear-gradient(135deg, #2596be 0%, #00a2ff 100%);
  color: #ffffff;
  border: none;
  padding: 15px 40px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  box-shadow: 0 4px 15px rgba(37, 150, 190, 0.3);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37, 150, 190, 0.4);
}

.footer {
  background: rgba(240, 249, 255, 0.8);
  border-top: 1px solid rgba(34, 34, 34, 0.1);
  padding: 40px 20px;
  margin-top: 80px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  flex-direction: row-reverse;
}

.footer-copyright {
  color: rgba(34, 34, 34, 0.6);
  font-size: 14px;
}

.footer-copyright a {
  color: #2596be;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-copyright a:hover {
  color: #00a2ff;
}

.footer-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.footer-links a {
  color: rgba(34, 34, 34, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #222222;
}

.scroll-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #2596be 0%, #00a2ff 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(100px);
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(37, 150, 190, 0.3);
}

.scroll-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(37, 150, 190, 0.4);
}

@media (max-width: 1024px) {
  .home-intro-wrapper {
    padding: 100px 30px 60px;
    gap: 50px;
  }

  .factory-intro h2 {
    font-size: 36px;
  }

  .factory-intro p {
    font-size: 18px;
  }

  .about-main {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  /* Adjust factory image container for tablet screens */
  .factory-image-container {
    width: 60%;
    max-width: 300px;
  }

  .about-info {
    padding-right: 0;
    text-align: center;
  }

  .feature-list {
    text-align: right;
    max-width: 500px;
    margin: 0 auto 40px;
  }

  .stats-section {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 40px;
  }

  .vision-mission-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact-info-section {
    padding-left: 0;
  }

  .contact-form-section {
    padding-right: 0;
  }
}

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

  .main-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    border-bottom: 1px solid rgba(34, 34, 34, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  .main-menu.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  .home-intro-wrapper {
    padding: 90px 20px 50px;
    gap: 40px;
  }

  .video-player-container {
    border-radius: 16px;
  }

  .factory-video {
    border-radius: 16px;
  }

  .factory-intro h2 {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .factory-intro p {
    font-size: 16px;
  }

  /* Responsive mute button for tablets */
  .mute-toggle-btn {
    width: 45px;
    height: 45px;
    font-size: 22px;
    bottom: 15px;
    right: 15px;
  }

  .logo-text {
    font-size: 20px;
  }

  .about-header h2 {
    font-size: 36px;
  }

  /* Full width factory image on mobile */
  .factory-image-container {
    width: 100%;
    max-width: 280px;
    border-radius: 20px;
  }

  .factory-image {
    border-radius: 20px;
  }

  .about-info h3 {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .header {
    height: 70px;
    padding: 0 15px;
  }

  .header.scrolled {
    height: 60px;
  }

  .logo {
    width: 40px;
    height: 40px;
  }

  .logo-text {
    font-size: 18px;
  }

  .home-intro-wrapper {
    padding: 80px 15px 40px;
    gap: 30px;
  }

  .video-player-container {
    border-radius: 12px;
  }

  .factory-video {
    border-radius: 12px;
  }

  .factory-intro h2 {
    font-size: 24px;
  }

  .factory-intro p {
    font-size: 14px;
  }

  /* Responsive mute button for mobile */
  .mute-toggle-btn {
    width: 40px;
    height: 40px;
    font-size: 20px;
    bottom: 12px;
    right: 12px;
  }

  .about-content {
    padding: 20px;
  }

  /* Adjust factory image container for small mobile screens */
  .factory-image-container {
    width: 100%;
    max-width: 250px;
    border-radius: 16px;
  }

  .factory-image {
    border-radius: 16px;
  }

  .contact-content {
    padding: 20px;
  }

  .contact-header h2 {
    font-size: 32px;
  }

  .contact-form {
    padding: 20px 15px;
  }

  .submit-btn {
    padding: 12px 30px;
    font-size: 16px;
  }
}
