body {
  background: #eef3f3;
}

html,
body,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Roboto", sans-serif;
}


.w3-content {
  padding: 0 20px;
}

.w3-row-padding {
  display: flex;
  align-items: stretch;
  gap: 28px;
}

.w3-third,
.w3-twothird {
  float: none !important;
}

.w3-third {
  width: 40%;
  /* border:#007bb5 solid 1px; */
  /* background-color: red; */
}

.w3-twothird {
  width: 60%;
  font-size: 18px;
  /* border:#df3e1a solid 1px; */
  /* background-color: green; */
}

/* اجعل الكروت الداخلية تتمدد مع العمود */
.w3-third>div,
.w3-twothird>div {
   transition:.3s;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
}
.w3-third > div:hover,
.w3-twothird > div:hover{
  transform:translateY(-5px);
  background-color: #dfc9c919 !important;
}

.w3-twothird h2 {
  font-size: 32px;
  font-weight: 600;
  color: #666;
}

.w3-twothird h5 {
  margin-top: 26px;
  color: #666;
}

.w3-twothird p {
  line-height: 1.65;
}
.name {
  text-align: center;
  padding: 20px;
}
.name-img {
  border-radius: 50%;
  object-fit: cover;
  display: block;
  align-items: center;
  justify-content: center;
  
}
.name h2 {
  margin-top: 30px;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 35px;
}
.name p {
  padding: 8px 12px;
  border-radius: 20px;
  text-align: center;
  font-size: 16px;
  color: #fff;
  margin-top: -10px;
}
.profile-img{
  width:140px;
  height:140px;
  border-radius:50%;
  object-fit:cover;
  display:block;
  margin:30px auto 15px;
  border:4px solid #009688;
  box-shadow:0 8px 20px rgba(0,0,0,.15);
}


.appbar {
  color: black;
  justify-content: space-between;
  background: linear-gradient(90deg, #00796b, #009688);
  width: 100%;
  height: 72px;
  display: inline-flex;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.appbar a {
  margin: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center !important;
  font-size: 18px;
  color: black !important;
  text-decoration: none;
  padding: 5px;
}

.appbar a:hover {
  scale: 0.9;
  font-style: italic;
  border-radius: 5px;
  background-color: transparent !important;
  transition: 0.50s;
}


.about {
  /* background-color: #bb0000 !important; */
  font-size: 18px;
  font-style: italic;
  text-align: center;
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 2px;
}

.about-info {

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #666666b2;
  gap: 18px;
  /* padding: 20px 35px; */
}
.about-info .fa {
  /* border: 1px solid #ccc; */
  padding: 1px 20px;
  font-size: 20px;
  width: 20px;
  height: 20px;
  text-align: center;
  text-decoration: none;
  border-radius: 50%;
}

.about-info p {
  font-size: 14px;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

#education {
  /* background-color: #bb0000; */
  font-size: 18px;
  font-style: italic;
  text-align: left;
  font-family: "Roboto", sans-serif;
  padding: 2px;
  margin: 20px;
  color: #666;
  font-weight: 600;
}

.address {
  /* background: red; */
  text-align: left;
  padding: 20px;
  line-height: 40px;
}

.address ul {
  padding-left: 22px;
}

.address li {
  margin-bottom: 8px;
}

.back-arrow-popup {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
  background-color: transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.back-arrow-popup i {
  font-size: 24px;
  color: #333;
}

.back-arrow-popup:hover {
  scale: 0.9;
  background-color: #f0f0f0;
  transition: 0.3s;
}

.footer {
  margin-top: 24px !important;
  padding: 18px 0 !important;
  background: linear-gradient(90deg, #00796b, #009688) !important;
}

.footer a {
  text-decoration: none;

}



.footer .fa {
  border: 1px solid #ccc;
  justify-content: center;
  padding: 10px;
  font-size: 20px;
  width: 40px;
  height: 40px;
  text-decoration: none;
  text-align: center;
  margin: 0 10px;
  border-radius: 50%;
}

.fa:hover {
  opacity: 0.7;
}

.fa-facebook {
  background: #3b5998;
  color: white;
}

.fa-twitter {
  background: #55acee;
  color: white;
}

.fa-google {
  background: #dd4b39;
  color: white;
}

.fa-linkedin {
  background: #007bb5;
  color: white;
}

.fa-youtube {
  background: #bb0000;
  color: white;
}

.fa-instagram {
  background: #125688;
  color: white;
}

@media (max-width: 768px) {
  .w3-row-padding {
    flex-direction: column;
  }

  .w3-third,
  .w3-twothird {
    width: 100% !important;
  }

  .w3-third>div,
  .w3-twothird>div {
    height: auto;
  }
}