* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Cairo", sans-serif;
  background-color: #ffffff;
  color: #111111;
  line-height: 1.8;
  min-height: 100vh;
}

.topbar {
  background-color: #161a30;
  color: #e5e7eb;
  padding: 20px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.topbar__name {
  font-size: 1.35rem;
  font-weight: 700;
}

.topbar__name-en {
  font-size: 0.85rem;
  font-weight: 400;
}

.layout {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  min-height: calc(100vh - 96px);
}

.content {
  padding: 40px 32px;
}

.sidepanel {
  background-color: #b5b8bf;
  padding: 40px 28px;
}

.section {
  margin-bottom: 40px;
}

.section h1,
.section h2 {
  font-weight: 700;
  margin-bottom: 14px;
}

.section h1 {
  font-size: 1.8rem;
}

.section h2 {
  font-size: 1.4rem;
}

.section p {
  font-size: 1rem;
}

.welcome__name {
  font-weight: 600;
  font-size: 1.1rem !important;
}

.welcome__name-en {
  direction: ltr;
  text-align: right;
}

.skills ul {
  list-style: none;
}

.skills li {
  background-color: #ffffff;
  color: #111111;
  padding: 8px 14px;
  border-radius: 6px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.skills li:hover,
.skills li:active {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  background-color: #161a30;
  color: #e5e7eb;
}

.contact__phone {
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .content,
  .sidepanel {
    padding: 28px 20px;
  }

  .topbar {
    padding: 18px 16px;
  }

  .topbar__name {
    font-size: 1.15rem;
  }

  .section {
    margin-bottom: 30px;
  }

  .section h1 {
    font-size: 1.5rem;
  }
}
