/**/
    body {
      font-family: system-ui, sans-serif;
      background: #f6f7f9;
      color: var(--text);
      line-height: 1.3;
      padding: 5px;
    } 
    
    main {
      max-width: 100%;
      margin: 0 auto;
      background: #fff;
      padding: 28px;
      border-radius: 12px;
      box-shadow: var(--shadow);
    }

    .ehsbde{
      font-size: larger;
      font-weight: bolder;
    }
    .ehsbde:hover{
      color: #007bff;
    }

    .main-sections {
      display: flex;
      flex-direction: row-reverse; 
      gap: 10px;
      padding: 1px;
      flex-wrap: wrap;
    }

    .section {
      text-align: center;
      flex: 1;
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 8px;
      background-color: #f9f9f9;
      min-width: 200px;
      box-sizing: border-box;
    }
    .section p{
        font-size: 20px;
    }

    .image-scroll {
      display: flex;
      flex-direction: row; 
      overflow-x: auto; 
      overflow-y: hidden; 
      gap: 10px;
      max-width: 100%;
      padding-bottom: 10px;
      height: 100%;

    }

    .image-scroll img {
      width: 40%;
      object-fit: cover;
      border-radius: 8px;
      flex-shrink: 0; 
    }


    .social-icons a {
      margin-left: 10px;
      color: #444;
      text-decoration: none;
    }

    .social-icons a:hover {
      color: #007bff;
    }

    .section-left input {
      width: 100%;
      padding: 8px;
      margin: 8px 0;
      box-sizing: border-box;
      text-align: center;
    }

    .section-left button {
      padding: 10px 15px;
      background-color: #007bff;
      color: white;
      border: none;
      border-radius: 5px;
      cursor: pointer;
    }

    .section-left button:hover {
      background-color: #111827;
    }


  .section-left input::-webkit-outer-spin-button,
  .section-left input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

/**/

.floating-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  color: #111827;
  padding: 20px 24px;
  border-radius: 12px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
  z-index: 10000;
  max-width: 320px;
  width: 90%;
  text-align: center;
  font-size: 16px;
}

.close-btn {
  position: absolute;
  top: 8px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #6b7280;
  transition: color 0.3s;
}

.close-btn:hover {
  color: #ef4444;
}

.floating-box .cta-link {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 16px;
  background-color: #1d4ed8;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s;
}

.floating-box .cta-link:hover {
  background-color: #2563eb;
}


/**/
.Profile {
  width: 100%;
  max-height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
  box-sizing: border-box;
  text-align: center;
}

.content-wrapper {
  background-color: #fff;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: center; 
  width: 100%;
  border-radius: 8px;
  box-sizing: border-box;
  gap: 10px; 
}

.logo {
  height: 120px;
  margin-right: 400px;
  object-fit: contain;
  border-radius: 20px;
}

.description {
  flex: 1;
  text-align: right;
  font-size: 18px;
  color: #333;
  line-height: 1.4;
}
.description .lo{
  font-size: larger;
  font-weight: bolder;
  margin-bottom: 0px;
}
.description .texxtprof{
  font-size: 16px;
  font-weight: bold;
  margin-top: 10px;
}

@media (max-width: 600px) {
  .Profile {
    max-height: none;
    padding: 15px 10px;
  }

  .content-wrapper {
    flex-direction: column;
    padding: 20px 15px;
    width: 100%;
    max-width: 100%;
    gap: 10px;
  }

  .logo {
    border-radius: 20px;
    margin-left: 400px;
    margin-bottom: 10px; 
    height: 200px;
    align-self: center;
  }

  .description {
    text-align: center;
    font-size: 16px;
  }
}

/**/
.services-section {
      background-color: #fff;
      padding: 5px 5px;
    }

    .services-title {
      text-align: center;
      font-size: 28px;
      margin-bottom: 20px;
      color: #333;
    }

    .services-container {
      display: flex;
      gap: 20px;
      overflow-x: auto;
      padding-bottom: 10px;
      scrollbar-width: thin;
      scrollbar-color: #ccc transparent;
    }

    .service-item {
      min-width: 180px;
      background-color: #f9f9f9;
      border-radius: 10px;
      padding: 20px;
      text-align: center;
      flex-shrink: 0;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease;
    }

    .service-item:hover {
      transform: scale(1.05);
    }

    .service-icon {
      font-size: 40px;
      color: #3498db;
      margin-bottom: 10px;
    }

    .service-title {
      font-size: 18px;
      color: #333;
    }

    @media (min-width: 768px) {
      .services-container {
        overflow-x: hidden;
        flex-wrap: wrap;
        justify-content: space-between;
      }

      .service-item {
        flex: 1 1 calc(33.33% - 40px);
        min-width: auto;
      }
    }
    /**/

  .Price {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px 0px;
    width: 100%;
    min-height: 100vh;
    box-sizing: border-box;
    gap: 30px;
    margin-top: 10px;
  }

  .Price .section {
    width: 100%;
    max-width: 100%;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 12px;
    box-sizing: border-box;
  }

  .Price h2 {
    color: #444;
    margin: 0 0 20px 0;
  }

  .Price label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
  }

  .Price select, 
  .Price input, 
  .Price textarea {
    width: 50%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 6px;
    border: 1px solid #ccc;
    box-sizing: border-box;
  }

  #serviceDetails {
    margin-top: 15px;
    padding: 10px;
    background: #e9f5e9;
    border: 1px solid #8fd88f;
    border-radius: 8px;
    color: #2f6627;
  }

  .Price button {
    margin-top: 20px;
    padding: 12px;
    width: 50%;
    background: #2d89ef;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
  }

  .Price button:hover {
    background: #1b5fbf;
  }
@media (max-width: 768px) {
  .Price select,
  .Price input,
  .Price textarea,
  .Price button {
    width: 100%;  
  }
}





/* 🔘 الزر */
.dark-mode-toggle {
  position: fixed;
  top: 90px;
  left: 40px;
  background-color: #f0f0f0;
  border: none;
  color: #333;
  font-size: 1.5rem;
  border-radius: 50%;
  padding: 9px 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10000;
}

.dark-mode-toggle:hover {
  background-color: #ddd;
  transform: rotate(15deg);
}
body.dark-mode {
  background: #2a2a2a;
  color: #f1f5f9;
}

body.dark-mode .dark-mode-toggle {
  background-color: #333;
  color: #ffd700;
}

body.dark-mode main,
body.dark-mode .section,
body.dark-mode .Price .section,
body.dark-mode .Profile .content-wrapper,
body.dark-mode .services-section,
body.dark-mode .floating-box {
  background-color: #1e1e1e;
  color: #f5f5f5;
  border-color: #333;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

body.dark-mode .image-scroll img {
  filter: brightness(0.8);
}

body.dark-mode p,
body.dark-mode label,
body.dark-mode h2,
body.dark-mode .service-title {
  color: #f0f0f0;
}



body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea {
  background-color: #2a2a2a;
  color: #fff;
  border: 1px solid #555;
}

body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder {
  color: #bbb;
}

body.dark-mode .service-item {
  background-color: #2a2a2a;
  color: #fff;
  box-shadow: none;
}

body.dark-mode a {
  color: #ffffff;
}

body.dark-mode a:hover {
  color: #aaaaaa;
}

body.dark-mode i {
  color: #f5f5f5;
}

body.dark-mode .footer {
background: #2a2a2a;
color: #fff;
padding: 10px 10px 10px;
margin-top: 20px;
border-radius: 10px 10px 0 0;
text-align: center;
}

body.dark-mode #serviceDetails {
  margin-top: 15px;
  padding: 10px;
  background: #212121;
  border: 1px solid #aaaaaa;
  border-radius: 8px;
  color: #111111;
  font-size: larger;
  font-weight: bolder;
} 
body.dark-mode #serviceDetails P{
  color: yellow;
}