body {
  font-family: "Cairo", sans-serif;
  background: #f8f9fa;
  color: #1a1a2e;
  scroll-behavior: smooth;
}

/* navbar */

.navbar {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar a {
  color: #1a1a2e !important;
}

.navbar-toggler {
  border-color: #1a1a2e !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2826, 26, 46, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* hero */

.hero {
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.hero img {
  width: 200px;
  border-radius: 50%;
  border: 5px solid white;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease-out;
}

.hero h1 {
  font-size: 40px;
  font-weight: bold;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  animation: fadeInUp 1s ease-out 0.4s both;
}

/* sections */

.section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  color: #1a1a2e;
}

/* cards */

.card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 15px;
  color: #1a1a2e;
  transition: 0.3s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.card:hover {
  transform: translateY(-7px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* skills */

.skill {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 10px 18px;
  border-radius: 20px;
  display: inline-block;
  margin: 6px;
  animation: fadeIn 0.5s ease-out both;
}

.skill:nth-child(1) {
  animation-delay: 0.1s;
}
.skill:nth-child(2) {
  animation-delay: 0.2s;
}
.skill:nth-child(3) {
  animation-delay: 0.3s;
}
.skill:nth-child(4) {
  animation-delay: 0.4s;
}
.skill:nth-child(5) {
  animation-delay: 0.5s;
}

/* portfolio */

.portfolio img {
  border-radius: 10px;
  height: 250px;
  object-fit: cover;
  width: 100%;
  transition: 0.3s;
}

.portfolio img:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* contact */

.contact {
  background: #ffffff;
}
.footer {
  background: #1a1a2e;
  color: #fff;
  padding: 50px 0;
}

.footer-title {
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  text-decoration: none;
  color: #b0b0b0;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #667eea;
}

.social-icons a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background: #2d2d4a;
  color: #fff;
  border-radius: 50%;
  margin: 5px;
  transition: 0.3s;
}

.social-icons a:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transform: translateY(-3px);
}

.copyright {
  color: #888;
}

/* whatsapp */

.whatsapp {
  position: fixed;
  bottom: 25px;
  left: 25px;
  background: #25d366;
  color: white;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Animations */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.section {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}