/* Reset and Body Styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #0e0e0e;
  color: #fff;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background-color: #111;
}
.navbar .logo {
    margin-right: 880px;
  font-size: 28px; 
  font-weight: bold;
  color: #d94d4d;
  content: url(ahrar.png.jpg);
  width: 45px;
  height: 45px;
  border-image-width: 45px;
}
.navbar .nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}
.navbar .nav-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}
.navbar .nav-links li a:hover {
  color: #d94d4d;
}

.ahrar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 50px;
  flex-wrap: wrap;
}
.profile-img img {
  width: 300px;
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(255, 0, 0, 0.4);
}
.intro-text {
  max-width: 500px;
  margin-left: 50px;
}
.intro-text h1 {
  font-size: 40px;
  margin-bottom: 10px;
}
.intro-text .highlight {
  color: #d94d4d;
}


.typing {
  font-size: 28px;
  color: #d94d4d;
  border-right: 2px solid #fff;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  animation: typing 4s steps(20) forwards, blink 0.7s infinite;
  margin-bottom: 20px;
}

@keyframes typing {
  from {
     width: 0; 
}
  to { 
    width: 230px; 
}
}
@keyframes blink {
  0%, 100% { 
    border-color: transparent; 
}
  50% {
     border-color: white; 
}
}

/* Buttons */
.buttons {
  margin-top: 20px;
}
.btn, .btn-outline {
  text-decoration: none;
  padding: 10px 20px;
  margin-right: 15px;
  border-radius: 25px;
  font-weight: bold;
  transition: 0.3s ease;
}
.btn {
  background-color: #d94d4d;
  color: white;
}
.btn:hover {
  background-color: #a63636;
}
.btn-outline {
  border: 2px solid #d94d4d;
  color: #d94d4d;
}
.btn-outline:hover {
  background-color: #d94d4d;
  color: white;
}
