@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600;700&display=swap");

* {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  text-decoration: none;
  outline: none;
  border: none;
  text-transform: capitalize;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

html::-webkit-scrollbar {
  width: 1rem;
}

html::-webkit-scrollbar-track {
  background: #031057;
}

html::-webkit-scrollbar-thumb {
  background: #cba527;
  border-radius: 5rem;
}

body {
  position: relative;
  background: #E6EBEB; /* اللون الأساسي */
  padding-bottom: 6.5rem;
  overflow-x: hidden;
  z-index: 0;
}

/* تأثيرات الضوء الجانبية */
body::before,
body::after {
  content: "";
  position: fixed;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.45;
  z-index: -1;
}

/* ضوء ذهبي من اليسار */
body::before {
  background: radial-gradient(circle, rgba(203,165,39,0.8), transparent 70%);
  top: 0;
  left: -150px;
}

/* ضوء أخضر من اليمين */
body::after {
  background: radial-gradient(circle, rgba(0,150,136,0.7), transparent 70%);
  bottom: 0;
  right: -150px;
}


section {
  padding: 5rem 9%;
}

.heading {
  text-align: center;
  font-size: 6vw;
  color: #6E6E6E;
  margin-bottom: 3rem;
  text-transform: uppercase;
}

.heading span {
  text-transform: uppercase;
  color: #cba527;
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  border-radius: 5rem;
  background: #cba527;
  padding: .7rem;
  font-size: 1.7rem;
  color: #6E6E6E;
  padding-left: 2rem;
}

.btn i {
  height: 4rem;
  width: 4rem;
  line-height: 4rem;
  font-size: 1.7rem;
  text-align: center;
  background: #fff;
  color: #cba527;
  border-radius: 50%;
  margin-left: 1rem;
  -webkit-transition: .2s linear;
  transition: .2s linear;
}

.btn:hover i {
  margin-left: 2rem;
}

/* ====== البار السفلي المحسّن ====== */
.navbar {
  position: fixed;
  bottom: 15px; /* عائم قليلاً عن الحافة */
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  height: 70px;
  background: #009688;
  border-radius: 25px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 999;
  overflow: hidden;
  backdrop-filter: blur(6px);
}

/* الروابط */
.navbar a {
  flex: 1;
  text-align: center;
  color: #fff;
  font-size: 13px;
  text-decoration: none;
  position: relative;
  transition: 0.3s ease;
  z-index: 2;
}

.navbar a i {
  display: block;
  font-size: 22px;
  margin-bottom: 4px;
  transition: 0.3s ease;
}

/* ====== حركة hover ====== */
.navbar a:hover i {
  transform: translateY(-6px) scale(1.15);
  color: #ffe082;
}

.navbar a:hover span {
  color: #ffe082;
}

/* ====== شكل المؤشر (الذهبي المتحرك) ====== */
.indicator {
  position: absolute;
  bottom: 5px;
  height: 4px;
  width: 22%;
  background: #ffe082;
  border-radius: 10px;
  transition: 0.4s ease;
  z-index: 1;
}

/* ====== تحديد موضع المؤشر حسب العنصر النشط ====== */
.navbar a:nth-child(1).active ~ .indicator { left: 4%; }
.navbar a:nth-child(2).active ~ .indicator { left: 28%; }
.navbar a:nth-child(3).active ~ .indicator { left: 52%; }
.navbar a:nth-child(4).active ~ .indicator { left: 76%; }

/* ====== العنصر النشط ====== */
.navbar a.active i,
.navbar a.active span {
  color: #ffe082;
}

/* ====== دعم الجوال ====== */
@media (max-width: 600px) {
  .navbar {
    bottom: 10px;
    height: 65px;
    width: 95%;
  }
  .navbar a i {
    font-size: 20px;
  }
  .navbar a span {
    font-size: 11px;
  }
}


.navbar a:hover::after {
  transform: translateX(-50%) scaleX(1);
}


.home {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 4rem;
  min-height: calc(100vh - 6.5rem);
}

.home .image {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 42rem;
  flex: 1 1 42rem;
  text-align: center;
}

.home .image {
  flex: 1 1 42rem;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.home .image img {
  width: 45rem;
  height: 45rem;
  object-fit: cover;
  border-radius: 30%;
  border: 4px solid rgba(203,165,39,0.6); /* إطار ذهبي شفاف */
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  background: linear-gradient(145deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.4s ease;
  position: relative;
}

/* لمعة دائرية خلف الصورة */
.home .image::before {
  content: "";
  position: absolute;
  width: 40rem;
  height: 40rem;
  background: radial-gradient(circle, rgba(203,165,39,0.3), transparent 70%);
  border-radius: 50%;
  z-index: -1;
  animation: floatGlow 6s ease-in-out infinite alternate;
}

/* حركة خفيفة عند hover */
.home .image img:hover {
  transform: scale(1.05) rotate(-2deg);
  box-shadow: 0 15px 35px rgba(203,165,39,0.35);
}

/* حركة ضوء خلف الصورة */
@keyframes floatGlow {
  from { transform: translateY(0px) scale(1); opacity: 0.6; }
  to { transform: translateY(-15px) scale(1.1); opacity: 1; }
}


.home .content {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 42rem;
  flex: 1 1 42rem;
}

.home .content h3 {
  color: #6E6E6E;
  font-size: 4rem;
  padding-bottom: .5rem;
}

.home .content span {
  font-size: 3rem;
  color: #cba527;
  padding: .5rem 0;
  display: block;
}

.home .content p {
  font-size: 1.5rem;
  color: #aaa;
  padding: 1rem 0;
  line-height: 2;
}

.about .row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 2rem;
}

.about .row .info-container {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 42rem;
  flex: 1 1 42rem;
}

.about .row .info-container h1 {
  font-size: 3rem;
  color: #6E6E6E;
  text-transform: uppercase;
  padding-bottom: 1rem;
}

.about .row .info-container .box-container {
  padding: 1rem 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 2rem;
}

.about .row .info-container .box-container .box {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 20rem;
  flex: 1 1 20rem;
}

.about .row .info-container .box-container .box h3 {
  font-size: 1.7rem;
  color: #6E6E6E;
  padding: 1rem 0;
  font-weight: normal;
}

.about .row .info-container .box-container .box h3 span {
  color: #cba527;        /* ذهبي أنيق */
  font-weight: 500;      /* خفيف لكن أوضح من lighter */
}


.about .row .count-container {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 42rem;
  flex: 1 1 42rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 2rem;
}

.about .row .count-container .box {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 20rem;
  flex: 1 1 20rem;
  padding: 3rem 4rem;
  border-radius: .5rem;
  background: #009688;
  -webkit-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.7);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.7);
}

.about .row .count-container .box h3 {
  font-size: 5rem;
  color: #cba527;
}

.about .row .count-container .box p {
  font-size: 2rem;
  color: #4A4A4A;
}

.skills .box-container {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(16rem, 1fr))[auto-fit];
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.5rem;
}

.skills .box-container .box {
  padding: 2rem;
  text-align: center;
  -webkit-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.7);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.7);
  border-radius: .5rem;
  background: #009688;
}

.skills .box-container .box:hover {
  background: #fff;
}

.skills .box-container .box:hover h3 {
  color: #0d0d0d;
}

.skills .box-container .box img {
  height: 7rem;
  margin-bottom: 1rem;
}

.skills .box-container .box h3 {
  color: #fff;
  font-size: 1.7rem;
  font-weight: normal;
  text-transform: uppercase;
}
.education .box-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.education .box-container .box {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 40rem;
  flex: 1 1 40rem;
  margin-left: 2rem;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 3.5rem;
  padding-bottom: 3rem;
  border-left: 0.1rem solid #aaa;
  position: relative;
}

.education .box-container .box i {
  height: 4.5rem;
  width: 4.5rem;
  line-height: 4.5rem;
  font-size: 1.7rem;
  border-radius: 50%;
  background: #009688;
  color: #fff;
  text-align: center;
  position: absolute;
  top: -1rem;
  left: -2.5rem;
}

/* ✨ الحركة عند المرور بالماوس */
.education .box-container .box i:hover {
  animation: pulse 0.6s ease;
}

@keyframes pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}
.education .box-container .box span {
  font-size: 1.7rem;
  color: #fff;
  border-radius: 5rem;
  padding: .5rem 1.5rem;
  background: #6E6E6E;
}

.education .box-container .box h3 {
  font-size: 2rem;
  padding: 1rem 0;
  color: #cba527;
  padding-top: 3rem;
  font-weight: normal;
}

.education .box-container .box p {
  font-size: 1.5rem;
  color: #aaa;
  line-height: 2;
}

.portfolio {
  text-align: center;
}

.portfolio .box-container {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(31rem, 1fr))[auto-fit];
  grid-template-columns: repeat(auto-fit, minmax(31rem, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.portfolio .box-container .box {
  height: 30rem;
  overflow: hidden;
  position: relative;
}

.portfolio .box-container .box:hover .content {
  -webkit-transform: translateY(0%);
  transform: translateY(0%);
}

.portfolio .box-container .box img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.portfolio .box-container .box .content {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: #1a1a1a;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-flow: column;
  flex-flow: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 2rem;
  -webkit-transform: translateY(-100%);
  transform: translateY(-100%);
  -webkit-transition: .2s linear;
  transition: .2s linear;
}

.portfolio .box-container .box .content h3 {
  font-size: 2.5rem;
  color: #fff;
  text-transform: uppercase;
  font-weight: normal;
}

.portfolio .box-container .box .content p {
  padding: 1rem 0;
  font-size: 1.5rem;
  line-height: 2;
  color: #aaa;
}

.portfolio .box-container .box .content a {
  font-size: 2rem;
  color: #fff;
}

.portfolio .box-container .box .content a:hover {
  color: #fff;
}
.blogs .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(31rem, 1fr));
  gap: 1.5rem;
}

.blogs .box-container .box {
  text-align: center;
  padding: 2rem;
  border-radius: .5rem;
  background: #009688; /* أخضر أساسي بدل الأسود */
  color: #fff;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3);
  transition: 0.3s ease;
}

/* عند المرور على البوكس */
.blogs .box-container .box:hover {
  background: #00796B; /* أخضر داكن */
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 0.8rem 1.4rem rgba(0,0,0,0.4);
}

.blogs .box-container .box:hover .image img {
  transform: scale(1.2);
}

.blogs .box-container .box .image {
  height: 25rem;
  width: 100%;
  border-radius: .5rem;
  overflow: hidden;
}

.blogs .box-container .box .image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: 0.3s linear;
}

.blogs .box-container .box .content .icons {
  position: relative;
  top: -1rem;
  border-radius: .5rem;
  padding: 1.2rem 1.5rem;
  display: inline-block;
  background: #004D40; /* أخضر أغمق للأيقونات */
  box-shadow: 0 0.4rem 0.8rem rgba(0,0,0,0.2);
}

.blogs .box-container .box .content .icons a {
  font-size: 1.4rem;
  margin: 0 1rem;
  color: #fff;
  transition: 0.3s;
}

.blogs .box-container .box .content .icons a:hover {
  color: #FFC107; /* أصفر ذهبي عند hover */
}

.blogs .box-container .box .content .icons a i {
  padding-right: .5rem;
  color: #FFC107; /* الأيقونات ذهبية */
}

.blogs .box-container .box .content h3 {
  font-size: 2rem;
  color: #fff;
  font-weight: 600;
}

.blogs .box-container .box .content p {
  font-size: 1.5rem;
  color: #E0E0E0; /* رمادي فاتح */
  padding: 1rem 0;
  line-height: 2;
}

.contact .row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.contact .row .info-container {
  width: 40rem;
}

/* العنوان */
.contact .row .info-container h1 {
  font-size: 3rem;
  text-transform: uppercase;
  color: #009688; /* أخضر أساسي */
  padding-bottom: 1rem;
}

/* الوصف */
.contact .row .info-container p {
  font-size: 1.5rem;
  line-height: 2;
  color: #4A4A4A; /* رمادي فاتح */
  padding: 1rem 0;
}

/* الصناديق */
.contact .row .info-container .box-container {
  padding: 2rem 0;
}

.contact .row .info-container .box-container .box {
  display: flex;
  gap: 2rem;
  padding: 1rem 0;
}

.contact .row .info-container .box-container .box i {
  font-size: 3rem;
  color: #FFC107; /* أيقونات ذهبية */
}

.contact .row .info-container .box-container .box h3 {
  font-size: 2rem;
  color: #013863;
}

/* روابط التواصل الاجتماعي */
.contact .row .info-container .share a {
  font-size: 2rem;
  height: 4.5rem;
  width: 4.5rem;
  line-height: 4.5rem;
  border-radius: 50%;
  background: #009688; /* أخضر */
  color: #fff;
  text-align: center;
  margin-right: .3rem;
  transition: 0.3s;
}

.contact .row .info-container .share a:hover {
  background: #FFC107; /* ذهبي */
  color: #0d0d0d;
}

/* نموذج التواصل */
.contact .row form {
  flex: 1 1 42rem;
}

.contact .row form .inputBox {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.contact .row form .inputBox input {
  width: 49%;
}

.contact .row form .inputBox input,
.contact .row form textarea {
  border-radius: 5rem;
  padding: 1.2rem 1.8rem;
  font-size: 1.6rem;
  color: #fff;
  margin: .7rem 0;
  background: #00796B; /* أخضر داكن */
  border: none;
  outline: none;
}

.contact .row form textarea {
  width: 100%;
  border-radius: 1rem;
  resize: none;
  height: 25rem;
}

/* زر الإرسال */
.contact .row form .btn {
  padding: 1rem 3rem;
  cursor: pointer;
  background: #009688; /* أخضر أساسي */
  color: #fff;
  border-radius: 3rem;
  border: none;
  transition: 0.3s;
}

.contact .row form .btn:hover {
  background: #FFC107; /* ذهبي عند hover */
  color: #0d0d0d;
}


@media (max-width: 1200px) {
  html {
    font-size: 55%;
  }

  section {
    padding: 3rem 2rem;
  }
}

@media (max-width: 768px) {
  .heading {
    font-size: 12vw;
  }

  .navbar a i {
    padding: 0;
  }

  .navbar a span {
    display: none;
  }

  .navbar a:hover {
    padding-bottom: 2rem;
  }

  .home {
    text-align: center;
    gap: 2rem;
  }

  .home .image img {
    height: 35rem;
    width: 35rem;
  }

  .home .content h3 {
    font-size: 3rem;
  }

  .home .content span {
    font-size: 2.5rem;
  }

  .contact .row form .inputBox input {
    width: 100%;
    margin-bottom: 1rem;
  }
}

@media (max-width: 450px) {
  html {
    font-size: 50%;
  }
}
/* ====== Global Animations ====== */
h1, h2, h3, h4, h5, h6, p, span, .btn {
    opacity: 0;
}

/* Titles */
h1, h2, h3 {
    animation: slideDown 1s ease forwards;
    animation-delay: 0.2s;
}

/* Subtitles / Span */
span {
    animation: slideRight 1s ease forwards;
    animation-delay: 0.4s;
}

/* Paragraphs */
p {
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.6s;
}

/* Buttons */
.btn {
    animation: popUp 0.8s ease forwards;
    animation-delay: 0.8s;
}

/* Keyframes */
@keyframes slideDown {
    from { transform: translateY(-40px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}
@keyframes slideRight {
    from { transform: translateX(-50px); opacity: 0; }
    to   { transform: translateX(0); opacity: 1; }
}
@keyframes fadeInUp {
    from { transform: translateY(30px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}
@keyframes popUp {
    from { transform: scale(0.8); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}


/*# sourceMappingURL=style.css.map */