*
{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.faf {
  display: inline-block;
  transform: scale(-1, 1);
  color: #ffbf00;
  padding: 20px;
  font-size: 2rem;
  right: 20px;
  margin-right: 58rem;
}
body
{

  font-family: 'Cairo', sans-serif;
  /* background-image:url('/images/background.jpg')  ; */
  background-repeat:no-repeat ;
  background-size:cover;
  
}
/* start navbar */
.logo{
  font-size: 2em;
  color: #073259;
  user-select: none;

}

.links a{
  position: relative;
  text-decoration: none;
  font-size: 1.1em;
  color: #073259;
  font-weight: 500;
  margin-left: 40px ;

}
.links a::after{
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100% ;
  height: 3px;
  background: #ffbf00;
  border-radius: 5px;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform .5s;
}
.links a:hover::after{
  transform-origin: left;
  transform: scaleX(1);
}
.icons .btnLogin
{
  width: 130px;
  height: 50px;
  background: transparent;
 
  outline: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1em;
  
  color: #ffbf00;
  border: 2px solid #ffbf00;
  font-weight: 500;
  margin-left: 40px ;
  transition: .5s;
}
.icons .btnLogin:hover{
  border: 2px solid #ffbf00;
  color: #073259;
  background: #ffbf00;
}
/* end nav bar */



h1
{

  
  text-align: center;
  
  padding: 20px;
  font-size: 50px;
  color:#ffbf00;
  
  

  

  }


.sc
{color:#073259;
    text-align: start;
    margin: 50px;
    
    font-weight: 700;
    padding: 10px;
    /* font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif ; */
    font-size: 300;
    width: fit-content;
    

}


.row
{
margin: 50px 0 50px 0;
  width: 100%;
/* padding: 10px;   */
  

} 


img
{
  width: 100%;
  height: 250px;
  border-radius: 10% !important; 
}
.card
{
  background: transparent;
  border: 2px solid rgba(255, 255, 255, .5);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  box-shadow: 0 0 30px rgba(0, 0, 0, .5);  width: 100%;
  padding: 5px;
  margin-bottom: 80px;
width: 100%;
/* height: 80%; */
}


.card-body.card-title
{
  font-size: 25px;
  text-align: right ;
}


.card-body
{
  text-align: center;
  /* color: #073259; */
}
button{
  
background-color: white;
  margin: 10px;
  padding: 5px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
  color: #ffbf00;
  border: 2px solid #ffbf00;
  font-weight: 500;
  /* margin-left: 30px ; */
  transition: .5s;
}
button:hover
{
  border: 2px solid #ffbf00;
  color: #073259;
  background: #ffbf00;
  
}
/* ================= FOOTER ================= */
.footer {
  background: #073259;
  color: #ffffff;
  padding: 50px 0 30px;
  font-family: 'Cairo', sans-serif;
}

.footer h4 {
  color: #ffbf00;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer p {
  color: #ffffffcc; /* شوية شفافية للأناقة */
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 10px;
}

.footer a.SignUp {
  display: inline-block;
  color: #ffbf00;
  border: 2px solid #ffbf00;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 8px;
  margin-top: 10px;
  transition: 0.3s;
  text-decoration: none;
}

.footer a.SignUp:hover {
  color: #073259;
  background: #ffbf00;
  border: 2px solid #ffbf00;
}

.footer .btn-social {
  margin: 0 5px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffbf00;
  font-weight: normal;
  border: 1px solid #ffbf00;
  border-radius: 50%;
  transition: 0.3s;
  cursor: pointer;
}

.footer .btn-social:hover {
  background: #ffbf00;
  color: #073259;
  transform: scale(1.1);
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer h4 {
    font-size: 20px;
  }
  
  .footer p {
    font-size: 14px;
  }
  
  .footer .btn-social {
    width: 35px;
    height: 35px;
  }
}
/* End footer */

/* ================= OVERLAY ================= */
.detailesCurrent {
  position: fixed;
  inset: 0;

  display: flex;
  justify-content: center;
  align-items: center;

  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);

  opacity: 0;
  visibility: hidden;
  transition: .35s ease;

  z-index: 9999;
}

/* عند الفتح */
.detailesCurrent.active {
  opacity: 1;
  visibility: visible;
}


/* ================= CARD ================= */
.detailsBox {
  position: relative;

  width: 350px;          
  max-width: 90%;

  padding: 30px 25px;

  background: white;
  border-radius: 18px;

  text-align: center;

  box-shadow: 0 25px 60px rgba(0,0,0,.3);

  transform: scale(.7);
  transition: .35s ease;
}

/* Animation */
.detailesCurrent.active .detailsBox {
  transform: scale(1);
}


/* ================= IMAGE ================= */
.detailsBox img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
}


/* ================= TITLE ================= */
.detailsBox h2 {
  font-size: 22px;
  color: #073259;
  margin-bottom: 10px;
}


/* ================= DESCRIPTION ================= */
.detailsBox p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
}


/* ================= CLOSE BUTTON ================= */
.closeDetile {
  position: absolute;
  top: 12px;
  right: 12px;

  width: 32px;
  height: 32px;

  border-radius: 50%;
  border: none;

  background: #073259;
  color: white;

  cursor: pointer;
  font-weight: bold;

  display: flex;
  justify-content: center;
  align-items: center;

  transition: .3s;
}

.closeDetile:hover {
  background: crimson;
  transform: rotate(90deg);
}

/* ================= POPPER OVERLAY ================= */
.popper {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;

  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);

  opacity: 0;
  visibility: hidden;
  transition: 0.4s ease;

  z-index: 9999;
}

/* عند الفتح */
.popper.open {
  opacity: 1;
  visibility: visible;
}


/* ================= CARD ================= */
.popper .cardpopper {

  width: 320px;
  padding: 30px 20px;

  text-align: center;
  color: #073259;

  background: rgba(255,255,255,0.15);
  border-radius: 20px;

  backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,0.3);

  box-shadow: 0 20px 40px rgba(0,0,0,0.3);

  transform: scale(0.7) translateY(40px);
  transition: 0.4s ease;
}

/* Animation عند الفتح */
.popper.open .cardpopper {
  transform: scale(1) translateY(0);
}


/* ================= IMAGE ================= */
.cardpopper img {
  width: 90px;
  margin-bottom: 10px;
}


/* ================= TITLE ================= */
.cardpopper h3 {
  font-size: 28px;
  font-weight: 700;
  margin-top: 10px;
}


/* ================= BUTTON ================= */
.cardpopper .btnclose {

  width: 70%;
  border-radius: 30px;
  border: none;

  padding: 12px;
  margin-top: 20px;

  color: white;
  font-weight: 600;

  background: linear-gradient(135deg,#198754,#20c997);

  transition: 0.3s;
}

.cardpopper .btnclose:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}