/* Reset & Base Styles */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Aref Ruqaa', serif;
}

body, html {
  height: 100%;
  margin: 0;
  direction: rtl;
  scroll-behavior: smooth;
}

/* Header & Navigation */
.sayed {
  height: 100vh;
  width: 100%;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.9)), url(image/van20031.webp);
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  position: relative;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 5%;
  background-color: #2c3e50;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  direction: rtl;
  transition: all 0.3s ease;
}

nav.scrolled {
  background-color: rgba(44, 62, 80, 0.95);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  padding: 10px 5%;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex: 1;
  justify-content: flex-start;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  font-family: 'Arial', 'Helvetica', sans-serif;
  color: #ecf0f1;
  text-decoration: none;
  font-weight: bold;
  padding: 12px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

nav ul li a:hover {
  background-color: #3498db;
  color: white;
}

/* Phone Number */
.ast-builder-html-element {
  flex: 1;
  text-align: center;
}

.ast-builder-html-element h2 {
  font-size: 28px;
  color: #3498db;
  margin: 0;
  padding: 15px;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  display: inline-block;
}

.ast-builder-html-element h2:hover {
  background-color: #bdc3c7;
  color: #2c3e50;
}

/* Logo */
nav img {
  flex: 1;
  text-align: end;
  max-height: 80px;
  width: auto;
  object-fit: contain;
  transition: all 0.3s ease;
}

/* Main Heading */
.elementor-heading-title {
  font-family: 'Aref Ruqaa', serif;
  font-size: clamp(60px, 8vw, 128px);
  font-weight: 600;
  color: #3498db;
  text-align: center;
  margin-top: 30vh;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Subheading */
.sayed2003 {
  font-family: 'Arial', 'Helvetica', sans-serif;
  font-size: clamp(24px, 3vw, 50px);
  font-weight: 100;
  color: aliceblue;
  text-align: center;
  margin-top: 20px;
  padding: 10px;
  line-height: 1;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.centered-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  height: auto;
  flex-direction: column;
  padding-bottom: 30px;
}

.elementor-link {
  text-align: center;
  text-decoration: none;
  color: aliceblue;
  font-size: 18px;
  font-weight: bold;
  background-color: #3498db;
  padding: 12px 24px;
  border: 2px solid #3498db;
  border-radius: 5px;
  transition: all 0.3s ease;
  margin-top: 10px;
  display: inline-block;
}

.elementor-link:hover {
  background-color: darkgreen;
  border-color: darkgreen;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Services Section */
.title {
  display: flex;
  justify-content: center;
  color: #020202;
  font-size: clamp(3em, 10vw, 10.2em);
  font-weight: 800;
  margin-bottom: 30px;
  text-align: center;
}

.content {
  display: flex;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  opacity: 1 !important;
  visibility: visible !important;
}

.card {
  background-color: aliceblue;
  width: min(100%, 340px);
  height: 400px;
  box-shadow: 0 5px 25px rgba(1, 1, 1, 0.15);
  border-radius: 30px;
  padding: 25px;
  border: 2px solid #3498db;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  opacity: 1 !important;
  transform: none !important;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(1, 1, 1, 0.2);
}

.icon {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.icon img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.card:hover .icon img {
  transform: scale(1.05);
}

.info {
  text-align: center;
  width: 100%;
}

.info h3 {
  color: blue;
  font-size: 2em;
  font-weight: 700;
  margin-bottom: 10px;
}

.info p {
  font-family: 'Arial', 'Helvetica', sans-serif;
  font-size: 1.1em;
  font-weight: 700;
  color: #333;
}

/* Gallery Sections */
.frame {
  border: 2px solid #333;
  padding: 20px;
  width: min(100%, 600px);
  height: auto;
  text-align: center;
  margin: 20px;
  border-radius: 50px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.frame:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.frame img {
  width: 100%;
  height: auto;
  max-width: 600px;
  max-height: 400px;
  border-radius: 10px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.frame:hover img {
  transform: scale(1.02);
}

.frame p {
  font-size: clamp(24px, 3vw, 50px);
  color: #555;
  line-height: 1.6;
}

.aaa, .zzz {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  background-color: aliceblue;
  padding: 20px;
  gap: 20px;
}

.sport, .sports {
  border: 2px solid #333;
  padding: 20px;
  width: min(100%, 300px);
  height: auto;
  text-align: center;
  margin: 10px;
  border-radius: 50px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.sport:hover, .sports:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.sport img, .sports img {
  width: 100%;
  height: auto;
  max-width: 300px;
  max-height: 200px;
  border-radius: 10px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.sport:hover img, .sports:hover img {
  transform: scale(1.05);
}

.sport p, .sports p {
  font-family: 'Arial', 'Helvetica', sans-serif;
  font-size: clamp(18px, 2vw, 30px);
  color: #555;
  line-height: 1.6;
}

/* Footer */
.footer {
  position: relative;
  width: 100%;
  background-color: #2c3e50;
  min-height: 100px;
  padding: 20px 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-radius: 30px 30px 0 0;
  margin-top: 50px;
}

.social-icon, .menu {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
  flex-wrap: wrap;
  gap: 15px;
}

.social-icon__item, .menu__item {
  list-style: none;
}

.social-icon__link {
  font-size: 1.5rem;
  color: #fff;
  margin: 0 5px;
  display: inline-block;
  transition: all 0.3s ease;
}

.social-icon__link:hover {
  transform: translateY(-10px);
  color: #3498db;
}

.menu__link {
  font-size: 1.2rem;
  color: #fff;
  margin: 0 10px;
  display: inline-block;
  transition: all 0.3s ease;
  text-decoration: none;
  opacity: 0.75;
  font-weight: 300;
  padding: 5px 10px;
}

.menu__link:hover {
  opacity: 1;
  color: #3498db;
}

.footer p {
  color: #fff;
  margin: 15px 0 10px 0;
  font-size: 1rem;
  font-weight: 300;
}
/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@media screen and (min-width: 250px) and (max-width: 768px) {
  .sayed2003 {
      font-size: 24px;
      margin-bottom: 15px;
  }
  
  nav {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      padding: 10px 5%;
      flex-wrap: nowrap;
  }
  
  nav ul {
      order: 3;
      width: auto;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      margin: 0;
      padding: 0;
      flex: 1;
  }
  
  nav ul li {
      margin: 0 5px;
      display: inline-block;
  }
  
  nav ul li a {
      font-size: 14px;
      padding: 8px 10px;
  }
  
  .ast-builder-html-element {
      order: 2;
      width: auto;
      flex: none;
      margin: 0 10px;
  }
  
  .ast-builder-html-element h2 {
      font-size: 18px;
      padding: 8px 12px;
  }
  
  nav img {
      order: 1;
      width: auto;
      flex: none;
      margin: 0;
      max-height: 60px;
  }
  
  .elementor-heading-title {
      font-size: 60px;
      margin-top: 25vh;
  }
  
  .elementor-link {
      font-size: 16px;
      padding: 10px 20px;
  }
  
  .centered-container {
      padding-bottom: 20px;
  }
  
  .card {
      width: calc(100% - 20px);
  }
  
  .frame {
      width: calc(100% - 20px);
  }
  
  .frame p {
      font-size: 30px;
  }
  
  .sport, .sports {
      width: calc(100% - 20px);
  }
  
  .sport p, .sports p {
      font-size: 20px;
  }
  .footer {
    padding: 20px 10px;
}
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
  .elementor-heading-title {
      font-size: 80px;
  }
  
  .card {
      width: calc(50% - 20px);
  }
  
  .sayed2003 {
      font-size: 30px;
      margin-bottom: 20px;
  }
  
  .elementor-link {
      font-size: 18px;
      padding: 12px 24px;
  }
}