
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;900&display=swap');

body{
    font-family: "Cairo", sans-serif;
}
*/{
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}
.logo-header{
  direction: rtl;
}
.navbar{
    background: black;
    display: flex;
    justify-content: space-between;
    padding: 10px;
    
}
/* menu icon */
.menu-icon{
    display: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
}
.navbar a{
    text-decoration: none;
    color: white;
    font-size: 20px;
    font-weight: bold;
}
.navbar a:hover{
    font-size: 25px;
    font-weight: bold;
    color: red;
    font-style: italic;
}
.navbar ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navbar .logo img{
    width: 70px;
    height: 70px;
}

  /* Hero Section */
    .hero {
        text-align: center;
        /* padding: 100px 20px; */
        padding-top: 100px;
        background-color: #fff;
    }
    .hero h1 {
        font-size: 40px;
        /* margin-bottom: 10px; */
        box-shadow: 0 5px 10px #C8102E;
        
    }
   .hero h2{
    text-align: center;
    font-size: 70px;
    font-weight: bold;
    font-style: italic;
   color: #C8102E;
    /* margin: 20px 0;
     */
   }

   
   /* section cards */
   .cards{
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 80px;
   }
   .cards .card{
    width: 300px;
    height: 350px;
    border: 5px solid #C8102E;
    border-radius:10px;
    box-shadow: 0 5px 10px #C8102E;
    transition: 0.4s;

   }
   .card-title{
    width: fit-content;
    margin: 15px auto;
    padding: 8px 20px;
    border: 2px solid #C8102E;
    border-radius: 30px;
    font-size: 22px;
    font-weight: bold;
    color: #C8102E;
    background: #fff;
    transition: 0.3s;
}

/* تأثير عند المرور */
.card:hover .card-title{
    background:#C8102E;
    color:#fff;
}
   .cards .card:hover{
    transform: translateY(-5px);
   }
   .cards .card img{
    width: 100%;
    height: 60%;
   }
   .cards .card h3{
    text-align: center;
    font-size: 18px;
   
    color: #C8102E;
    
   }
   .cards a{
    text-decoration: none;
   }
       /* Features Section */
    .features {
        background-color: #1C1C1C;
        color: #fff;
        text-align: center;
        padding: 5px ;
        margin-top: 40px;
    }
    .features h2 {
        color: #C8102E;
        margin-bottom: 15px;
        font-size:40px;
    }
    .features p {
        font-size:21px;
    }
    footer {
        background-color: #000;
        color: #fff;
        text-align: center;
        padding: 20px;
        
    }

    /* Mobile Responsive */
@media (max-width:768px){

/* navbar */
.navbar{
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

/* اظهار ايقونة القائمة */
.menu-icon{
    display: block;
    margin-left: 40px;
}
/* اخفاء القائمة */
.nav-items{
    display: none;
    width: 100%;
}

/* اظهار القائمة لما نضغط */
.nav-items.active{
    display: block;
}
/* ترتيب العناصر */
.nav-items ul{
    flex-direction: column;
    background: black;
    width: 100%;
    text-align: center;
    margin-top: 10px;
}

.nav-items ul li{
    padding: 10px;
}

.menu-icon{
    display: block;
}

/* القائمة
.nav-items{
    display: none;
    width: 100%;
    position: relative;
} */

/* عند فتح القائمة */
.nav-items.active{
    display: block;
}

/* الايقونة لما تتحول لاكس */
.menu-icon.close{
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
}

/* القائمة */
.nav-items ul{
    flex-direction: column;
    background: black;
    width: 100%;
    text-align: center;
    margin-top: 40px;
}

/* --------------------------- */

  .navbar {
    padding: 12px 20px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    
  }

  .menu-icon { display: block; }

  .nav-items {
    display: none;
    width: 100%;
    position: absolute;
    top: 84px;
    left: 0; right: 0;
  }

  .nav-items.active { display: block; }

  .nav-items ul {
    flex-direction: column-reverse;
    background: black;
    width: 100%;
    text-align: center;
    margin-top: 10px;
    gap: 0;
    align-items: center;
    direction: ltr;
  }

  .nav-items ul li a {
    direction: rtl;
    display: block;
  }

  .nav-items ul li { width: 100%; padding: 10px; }

  .navbar a { display: block; padding: 10px 20px; font-size: 16px; color: white; }
  
  .navbar a:hover { color: red; background: transparent; border-color: transparent; }

/* ------------------------------- */


/* hero */
.hero h1{
    font-size: 24px;
    padding: 0 10px;
}

.hero h2{
    font-size: 40px;
}

/* cards */
.cards{
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
}

.cards .card{
    width: 90%;
    height: auto;
}

.cards .card h3{
    font-size: 18px;
    padding: 10px;
}

/* features */
.features h2{
    font-size: 28px;
}

.features p{
    font-size: 18px;
}

}