/* إعادة تعيين عامة */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'MyCustomFont', sans-serif;
}

/* الخط المخصص */
@font-face {
  font-family: 'MyCustomFont';
  src: url('font/ProductSans-Regular.ttf') format('truetype');
}

/* الجسم الرئيسي */
body {
  background-color: #fff;
  color: #333;
  background: #fcfcfc;
  font-family: 'MyCustomFont', sans-serif;
  overflow-x: hidden;
}

/* الهيدر */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: #f4fdff;
  font-family: 'MyCustomFont', sans-serif;
  position: relative;
  z-index: 1000;
  flex-wrap: wrap;
}

.logo {
  height: 40px;
  min-width: 120px;
}

/* التنقل */
nav ul {
  display: flex;
  gap: 70px;
  list-style: none;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  white-space: nowrap;
}

.contact-button {
  background: linear-gradient(45deg, #00ADEE, #56ECD9);
  padding: 10px 20px;
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  white-space: nowrap;
  min-width: 100px;
}

/* القسم البطولي */
.hero {
  text-align: center;
  padding: 60px 20px;
  position: relative;
  min-height: 600px;
}

.tasshil {
  border-bottom: 5px solid #00ADEE;
  font-size: clamp(28px, 5vw, 48px);
  color: #00ADEE;
  font-weight: bold;
  margin-bottom: 10px;
  display: inline-block;
}

.hero p {
  font-size: clamp(16px, 3vw, 30px);
  max-width: 600px;
  font-weight: bold;
  margin: 0 auto 40px;
  line-height: 1.4;
}

/* الصور في القسم البطولي */
.bbs {
  position: relative;
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
}

.bbs img {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(600px, 90vw);
  height: auto;
  z-index: -1;
}

.hero-images {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  overflow: hidden;
}

.hero-bike {
  width: min(200px, 40vw);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  z-index: 1;
}

.hero-scooter {
  width: min(150px, 30vw);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 50px;
  z-index: 1;
}

/* أزرار القسم البطولي */
.hero-buttons {
  position: relative;
  top: 300px;
  z-index: 10;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.join-btn,
.call-btn {
  padding: 15px 30px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  margin: 5px;
  min-width: 120px;
  font-size: 16px;
}

.join-btn {
  background: #00ADEE;
  color: white;
}

.call-btn {
  background: #ffffff;
  border: 2px solid #00ADEE;
  color: #00ADEE;
}

/* إحصائيات البطل */
.hero-stats {
  position: absolute;
  z-index: -1;
  top: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 550px;
}

.stats-icon {
  width: min(100px, 15vw);
  height: min(100px, 15vw);
}

/* الشريط المتحرك */
.scroll-strip {
  background-color: #A4FFE5;
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
  position: relative;
  top: -100px;
  width: 100%;
}

.scroll-text {
  display: inline-block;
  animation: scroll 10s linear infinite;
  font-size: clamp(14px, 2vw, 18px);
  font-weight: bold;
}

.scroll-text img {
  height: 20px;
  vertical-align: middle;
  margin: 0 20px;
}

@keyframes scroll {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* قسم الخدمات */
.services {
  margin-top: -100px;
  background: linear-gradient(to bottom, #01B0EC, #14DEC3, #00AFDC, #FFFFFF);
  padding: 60px 20px;
  text-align: center;
}

.services h2 {
  font-size: clamp(24px, 4vw, 32px);
  color: #e1e1e1;
  margin-bottom: 40px;
  text-align: left;
}



/* شبكة الخدمات */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.service-card {
  background: rgba(255, 255, 255, 0.381);
  padding: 25px;
  border-radius: 35px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  word-wrap: break-word;
}

.service-card img {
  width: min(60px, 20%);
  height: 75px;
  object-fit: contain;
  margin-bottom: 10px;
}

.service-card h4 {
  font-size: clamp(16px, 2.5vw, 20px);
  margin-bottom: 15px;
  line-height: 1.3;
}

.service-card h1 {
  font-size: clamp(20px, 3vw, 25px);
  margin-bottom: 15px;
}

.service-card p {
  font-size: clamp(12px, 1.5vw, 14px);
  line-height: 1.5;
}

.service-card ol {
  text-align: left;
  font-size: clamp(12px, 1.5vw, 14px);
  line-height: 1.6;
  padding-left: 20px;
}

.service-card li {
  margin-bottom: 6px;
}

/* الشبكة ذات البطاقتين */
.service-grid.two-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  justify-content: center;
  gap: 30px;
  max-width: 800px;
  margin: 30px auto;
}

.service-grid.two-cards .service-card {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

.service-grid.two-cards img {
  width: min(80px, 50%);
  height: 75px;
  object-fit: contain;
  margin-bottom: 10px;
}

/* أزرار الخدمات */
.service-buttons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.service-buttons a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-size: clamp(14px, 2vw, 16px);
  color: white;
  transition: 0.3s ease;
  margin: 5px;
}

.whatsapp-btn {
  background-color: #07FF41;
}

.google-map-btn {
  background-color: #00ADEE;
}

.service-buttons a:hover {
  opacity: 0.85;
}

.service-buttons img {
  width: min(125px, 80px);
  height: 25px;
}

/* قسم المعلومات */
.info-section {
  display: flex;
  gap: 30px;
  padding: 40px 20px;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.info-section img {
  width: min(350px, 100%);
  border-radius: 15px;
  flex: 1;
  min-width: 280px;
}

.info-content {
  flex: 1;
  min-width: 300px;
}

.info-content h3 {
  font-size: clamp(20px, 3vw, 24px);
  margin-bottom: 10px;
}

.info-content p {
  margin-bottom: 10px;
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.5;
}

.info-content button {
  background: linear-gradient(45deg, #00ADEE, #56ECD9);
  padding: 10px 20px;
  color: white;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  font-weight: bold;
  font-size: clamp(14px, 2vw, 16px);
  margin-bottom: 20px;
}

.highlight {
  color: #00ADEE;
  font-weight: bold;
}

/* بطاقة التذييل العلوية */
.foooter-card {
  background-color: #252D37;
  color: white;
  position: relative;
  overflow: hidden;
  margin: 20px;
  border-radius: 20px;
  padding: 5px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.black-strip {
  background-color: #252D37;
  color: #fff;
  padding: 15px 0;
  font-weight: bold;
  text-align: center;
  animation: scroll 12s linear infinite;
  font-size: clamp(16px, 3vw, 28px);
  word-spacing: min(60px, 5vw);
  width: 100%;
}

/* بطاقة التذييل الرئيسية */
.footer-card {
  background-color: #252D37;
  color: white;
  position: relative;
  overflow: hidden;
  margin: 40px 20px;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  gap: 20px;
  min-height: 300px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-card img {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: min(250px, 40vw);
  height: auto;
  max-height: 90%;
}

/* إخفاء في الأجهزة اللوحية أيضاً */
@media (max-width: 992px) {
  .footer-card img {
    display: none !important;
  }
}

/* إخفاء فقط في الهواتف الصغيرة */
@media (max-width: 480px) {
  .footer-card img {
    display: none !important;
  }
}

.footer-card-content {
  flex: 1;
  min-width: 300px;
  z-index: 2;
}

.footer-card-content h4 {
  font-size: clamp(14px, 2vw, 16px);
}

.footer-card-content h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 20px;
  color: #20CD6B;
  line-height: 1.2;
}

.footer-card-content p {
  margin-bottom: 20px;
  font-weight: 300;
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.5;
}

/* أزرار المتجر */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(45deg, #00ADEE, #56ECD9);
  color: white;
  padding: 12px 20px;
  border-radius: 15px;
  text-decoration: none;
  font-weight: bold;
  font-size: clamp(14px, 2vw, 16px);
  transition: 0.3s;
  margin: 5px 10px 5px 0;
  white-space: nowrap;
}

.store-btn img {
  width: 24px;
  height: 24px;
  position: static;
  margin: 0;
}

.store-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* التمرير السلس */
html {
  scroll-behavior: smooth;
}

/* استعلامات الوسائط للتجاوب */

/* الأجهزة اللوحية */
@media screen and (max-width: 768px) {
  header {
    padding: 15px 20px;
    gap: 10px;
  }
  
  nav ul {
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .hero {
    padding: 40px 15px;
    min-height: auto;
  }
  
  .hero-buttons {
    top: 200px;
    flex-direction: column;
    align-items: center;
  }
  
  .join-btn,
  .call-btn {
    width: 100%;
    max-width: 200px;
  }
  
  .bbs {
    height: 250px;
  }
  
  .hero-stats {
    position: static;
    margin-top: 20px;
    justify-content: center;
  }
  
  .services {
    margin-top: 0;
    padding: 40px 15px;
  }
  
  .service-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .service-grid.two-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .service-buttons {
    gap: 15px;
  }
  
  .info-section {
    flex-direction: column;
    text-align: center;
    padding: 30px 15px;
  }
  
  .footer-card {
    flex-direction: column;
    text-align: center;
    min-height: auto;
    padding: 30px 20px;
    margin: 20px 15px;
  }
  
  .footer-card img {
    position: static;
    width: min(200px, 80vw);
    margin-top: 20px;
  }
  
  .footer-card-content {
    min-width: auto;
  }
  
  .foooter-card {
    margin: 15px;
  }
}

/* الهواتف المحمولة الصغيرة */
@media screen and (max-width: 480px) {
  header {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }
  
  nav ul {
    justify-content: center;
    gap: 15px;
  }
  
  .hero {
    padding: 30px 10px;
  }
  
  .hero-buttons {
    top: 150px;
  }
  
  .bbs {
    height: 200px;
  }
  
  .scroll-strip {
    top: -50px;
  }
  
  .services {
    padding: 30px 10px;
  }
  
  .service-card {
    padding: 20px 15px;
  }
  
  .service-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .info-section {
    padding: 20px 10px;
  }
  
  .footer-card {
    margin: 10px;
    padding: 20px 15px;
  }
  
  .store-btn {
    width: 100%;
    justify-content: center;
    margin: 5px 0;
  }
}

/* الشاشات الكبيرة جداً */
@media screen and (min-width: 1400px) {
  .container {
    max-width: 1400px;
    margin: 0 auto;
  }
  
  header {
    padding: 25px 60px;
  }
  
  .hero {
    padding: 80px 40px;
  }
  
  .services {
    padding: 80px 40px;
  }
  
  .info-section {
    padding: 60px 40px;
  }
  
  .footer-card {
    margin: 40px;
  }
}

/* تحسينات إضافية للأداء */
img {
  max-width: 100%;
  height: auto;
}

/* تأثيرات التمرير */
@media (prefers-reduced-motion: no-preference) {
  .store-btn,
  .contact-button,
  .join-btn,
  .call-btn,
  .service-buttons a,
  .info-content button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
}

/* إخفاء العناصر غير الضرورية على الشاشات الصغيرة */
@media screen and (max-width: 600px) {
  .hero-triangle {
    display: none;
  }
  
  .scroll-text {
    font-size: 14px;
  }
  
  .black-strip {
    word-spacing: 20px;
  }
}