*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Roboto" , sans-serif;
}

body{
  height: 100%;
}
::selection{
  background-color: #51cde3;
  color: white;
}

.container{
    margin: 0 20px;
}
@media (min-width:760px){
    .container{
    margin: 0 85px;
    }
}

h2{
  text-align: center;
  margin: 35px 0px 18px 0px;
}

h3{
  margin-top: 20px;
  margin-bottom: 10px;
}



/* header */
header{
    background-color: rgba(31, 108, 223, 0.54);
    background-image: linear-gradient(to top, #00000085 70% ,#000000  ), url(https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTI-1iZ_nHUt9BVziEP_9k0CQe6WxGrfmA5rlHh40PuCEPA2Lwp4UjJTfXquV5HpHRxuKE&usqp=CAU);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-attachment: fixed;
    position: sticky;
    top: -326px;
}



/* navbor */
nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    padding: 30px 0 10px 0;
    font-size: 18px;
    position: sticky;
    top: 0;
    background-image: linear-gradient(to top , #00000000 , #080808 99%) , url();
}

nav .logo{
    display: flex;
    align-items: center;
    font-size: 19px;
    font-weight: bold;
    color: white;
}

nav .logo img{
    width: 45px;
    margin-right: 10px;
}

nav ul{
    display: flex;
    list-style-type: none;
    gap: 25px;
  }

  nav ul li a{
    font-weight:100;
    cursor: pointer;
    color: white;
  }
  
a{
  text-decoration: none;
}
nav ul li a:hover{
  color: #4191E1;
}

.nav-top{
   position: sticky;
    top: -175px;
    margin-bottom:50px ;
}



/* section */
section{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
    height: 309px;
}

h1{
  color: white;
  font-weight: bolder;
  font-size: 80px;
  margin-bottom: 40px;
  text-align: center;
}
.titlePag{
  padding: 12px;
}

section button{
  padding: 10px 30px;
  border-radius: 15px;
  background-color: #6F00FF;
  color: white;
  font-size: 20px;
  border: none;
  transition: .5s;
}

section button:hover{
  background-color: #4191E1;
  box-shadow: 0px 0px 15px 7px #4191E1;
  cursor: pointer;
}



/* table */
.table {
  width: 100%;
  border-spacing: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: 15px;
  overflow: hidden;
  transition:0.3s ease-in-out;
}

.table:hover {
  cursor: pointer;
  box-shadow: 0 4px 12px #1b83eb66;
}


.table thead th {
  background-color: #4191E1;
  color: white;
  font-size: 16px;
  padding: 20px;
  border-right: 1px solid #f9fafa;
}

.table thead th:last-child {
  border-right: none;
}

.table tbody td {
  padding: 16px;
  text-align: center;
  font-size: 14px;
  border-right: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.table tbody tr:nth-child(odd) {
  background-color: #ffffff; 
}

.table tbody tr:nth-child(even) {
  background-color: #e6f4fa; /
}



/* paragraph & image */
.paragraph{
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 100px;
}

.paragraph img{
  width: 300px;
}



/* the footer */
footer{
  background-color: #212222;
  color: white;
  padding: 20px;
  position: relative;
  bottom: 0;
  margin-top: 40px;
}

footer p{
  text-align: center;
  font-size: 16px;
}

.test{
  height: 100vh;
}



/* --------------- */
.sushal{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 15px;
  margin: 20px 0;
  flex: 4;
}
.card{
  display: flex;
  flex-direction: column;
  align-items: center;
  
  gap: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: 15px;
  padding: 15px 20px;
  background: #fff;
  transition: box-shadow 0.3s;
}

.sosh{
  min-width: 180px;
  max-width: 260px;
}
.card:hover{
  cursor: pointer;
  box-shadow: 0 4px 12px #6f00ff6d;

}
.imgapp{
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: slateblue;
  margin-bottom: 8px;
}

form{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  width: 100%;

}
form input[type="text"]
,form input[type="email"]{
  width: 49.5%;
  padding: 5px;
}
form textarea{
  width: 100%;
  padding: 5px;

}
form input[type="submit"],
form input[type="reset"]{
  background-color: #6F00FF;
  color: white;
  padding: 8px 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

form input[type="reset"]{
  background-color: #f44336;
}
.show-details {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s;
}

.show-details:hover {
    background-color: #0056b3;
}

/* تحسين عرض عناصر وسائل التواصل */
.sushal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

/* تحسين استجابة الصفحة */
@media (max-width: 600px) {
  .container {
    margin: 0 5px;
  }
  .sushal {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .sosh {
    min-width: 90vw;
    max-width: 98vw;
    padding: 10px 8px;
  }
  nav ul {
    flex-direction: column;
    gap: 10px;
  }
  h1 {
    font-size: 2.2rem;
  }
  section {
    height: auto;
    padding: 30px 0;
  }
}

@media (min-width: 601px) and (max-width: 900px) {
  .container {
    margin: 0 15px;
  }
  .sushal {
    gap: 15px;
  }
  .card {
    min-width: 160px;
    max-width: 220px;
    padding: 12px 10px;
  }
  h1 {
    font-size: 3rem;
  }
}
.app-thumbnail {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #4191E1;
}

.app-details-container {
  display: flex;
  gap: 20px;
  padding: 20px;
  align-items: flex-start;
  background: #f8f9fa;
  border-radius: 10px;
}

.app-image-large {
  flex: 0 0 200px;
}

.large-app-image {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.app-info {
  flex: 1;
}

.app-info h3 {
  color: #4191E1;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.app-info p {
  margin-bottom: 10px;
  line-height: 1.6;
}

.app-info strong {
  color: #333;
}

.visit-btn {
  display: inline-block;
  background-color: #6F00FF;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 15px;
  transition: background-color 0.3s;
}

.visit-btn:hover {
  background-color: #4191E1;
}

@media (max-width: 768px) {
  .app-details-container {
    flex-direction: column;
    text-align: center;
  }
  
  .app-image-large {
    flex: 0 0 auto;
    margin: 0 auto;
  }
  
  .large-app-image {
    max-width: 150px;
  }
}

.image-upload {
  width: 100%;
  margin-bottom: 15px;
}

.image-upload label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #333;
}

.image-upload input[type="file"] {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #f9f9f9;
}

.image-preview {
  margin-top: 10px;
  text-align: center;
}

.image-preview img {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border: 2px solid #4191E1;
}

.imgapp img{
  width: 100%;
  border-radius: 50%;
}  
button a{
  color: white;
  font-size: 30px;
  font-weight: bold;
}