:root {
  --bg-color: #0a0a0a;
  --bg-secondary-color: #1a1a1a;
  --bg-tertiary-color: #2a2a2a;
  --color-primary: #00d4aa;
  --color-accent: #6366f1;
  --color-lightGrey: #404040;
  --color-grey: #d0d0d0;
  --color-error: #d74747;
  --color-success: #28bd14;
  --font-color: #f0f0f0;
  --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 20px rgba(0, 212, 170, 0.1);
}

html {
  box-sizing: border-box;
  font-size: 62.5%;
  line-height: 1.15;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

*,
:after,
:before {
  box-sizing: inherit;
}

body {
  background-color: var(--bg-color);
  line-height: 1.7;
  font-size: var(--size-06);
  color: var(--font-color);
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  letter-spacing: -0.01em;
}

h3,
h5,
h6 {
  font-weight: bold;
  margin: 0.35em 0 0.8em;
  letter-spacing: -0.02em;
}

h3 {
  font-weight: bold;
  font-size: 2.2em;
  color: var(--color-primary);
  margin-bottom: 0.5em;
}

h5 {
  font-weight: bold;
  font-size: 1.1em;
  color: var(--color-grey);
}

h6 {
  font-weight: bold;
  font-size: 0.9em;
  color: var(--color-grey);
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover:not(.button) {
  color: var(--color-accent, var(--color-primary));
  text-decoration: underline;
}

p {
  margin-top: 0;
  margin-bottom: 1.2em;
  opacity: 0.9;
  font-size: 1.1em;
}

img {
  max-width: 100%;
  filter: drop-shadow(var(--shadow-light));
}

img:hover {
  transform: scale(1.05);
  filter: drop-shadow(var(--shadow-medium));
}

.container {
  max-width: 720px;
  margin: 2em auto 0;
  padding: 0 calc(var(--size-07) / 2);
}

.row {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  margin-left: calc(var(--size-07) / -2);
  margin-right: calc(var(--size-07) / -2);
}

.col {
  flex: 1;
  margin: 0 calc(var(--size-07) / 2) calc(var(--size-07) / 1.5);
}

.button {
  padding: 1.2rem 2.8rem;
  color: var(--font-color);
  background: var(--bg-secondary-color);
  border-radius: var(--size-04);
  border: 1px solid var(--color-lightGrey);
  font-size: var(--size-06);
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transform: translateY(0);
  display: inline-block;
  cursor: pointer;
  box-shadow: var(--shadow-light);
  position: relative;
  overflow: hidden;
}

.button.secondary {
  background: var(--bg-tertiary-color, var(--bg-secondary-color));
  color: var(--font-color);
  border-color: var(--color-lightGrey);
  box-shadow: var(--shadow-medium);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  border-color: var(--color-primary);
}

.button.secondary:hover {
  box-shadow: var(--shadow-glow, var(--shadow-medium));
  border-color: var(--color-primary);
}

.button.outline {
  background: transparent;
  border: 2px solid var(--color-lightGrey);
  backdrop-filter: blur(10px);
}

.button.outline.secondary {
  border-color: var(--color-lightGrey);
  color: var(--font-color);
  background: rgba(255, 255, 255, 0.05);
}

.button.outline.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-primary);
}

.button:active:not(:disabled),
[type='button']:active:not(:disabled),
[type='reset']:active:not(:disabled),
[type='submit']:active:not(:disabled),
button:active:not(:disabled) {
  transform: translateY(0) scale(0.98);
}

.nav {
  min-height: 6rem;
  align-items: stretch;
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--size-04);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav,
.nav .brand,
.nav a,
.nav-center {
  display: flex;
}

.nav-center {
  flex: 1;
  justify-content: center;
  gap: 1.5rem;
  padding: 1rem;
}

.nav .brand,
.nav a {
  text-decoration: none;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  color: var(--color-grey);
  border-radius: var(--size-04);
  position: relative;
  overflow: hidden;
  width: auto;
  height: auto;
}

.nav .brand:hover,
.nav a:hover {
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
  box-shadow: var(--shadow-light);
}

/* Social media icons specific styling */
.nav a .iconify-inline {
  width: 3.2rem;
  height: 3.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.nav .brand {
  font-size: 2em;
  padding: 1rem 1.5rem;
  font-weight: bold;
}

.tag {
  display: inline-block;
  border: 1px solid var(--color-primary);
  background: var(--color-primary);
  text-transform: uppercase;
  color: white;
  padding: 0.6rem 1rem;
  margin-right: 0.5em;
  line-height: 1;
  letter-spacing: 0.8px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.75em;
  box-shadow: var(--shadow-light);
}

.tag:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-medium);
}

.tag.is-small {
  padding: 0.4rem 0.8rem;
  font-size: 0.7em;
}

.bd-primary {
  border: 1px solid var(--color-primary) !important;
}

.text-grey {
  color: var(--color-grey) !important;
}

.text-center {
  text-align: center;
}

.is-center,
.is-vertical-align {
  display: flex;
  align-items: center;
}

.is-center {
  justify-content: center;
}

.iconify-inline {
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.top {
  flex-direction: column;
  padding: 2rem 0;
}

summary {
  margin: 0.8em 0 1em;
}

summary {
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  padding: 1rem;
  background: var(--bg-secondary-color);
  border-radius: var(--size-04);
  border: 1px solid var(--color-lightGrey);
  position: relative;
  overflow: hidden;
  list-style: none;
}

summary::marker {
  display: none;
}

summary:hover {
  background: var(--bg-tertiary-color, var(--bg-secondary-color));
  border-color: var(--color-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-light);
}

summary::before {
  color: var(--color-primary);
  margin-right: 0.5em;
}

summary::after {
  color: var(--color-primary);
  margin-left: 0.5em;
}

section details summary::before {
  content: '◀ ';
}

summary::after {
  content: ' ▶';
}

section details section details summary::before {
  content: '◀◀ ';
}

section details section details summary::after {
  content: ' ▶▶';
}

section details section details section details summary::before {
  content: '◀◀◀ ';
}

section details section details section details summary::after {
  content: ' ▶▶▶';
}

section details[open]>summary::before {
  content: '▼ ';
}

section details[open]>summary::after {
  content: ' ▼';
}

section details section details[open]>summary::before {
  content: '▼▼ ';
}

section details section details[open]>summary::after {
  content: ' ▼▼';
}

section details section details section details[open]>summary::before {
  content: '▼▼▼ ';
}

section details section details section details[open]>summary::after {
  content: ' ▼▼▼';
}

/*  */

section {
  background: var(--bg-secondary-color);
  border-radius: var(--size-04);
  border: 1px solid var(--color-lightGrey);
  padding: 1rem;
  margin: 0.8em 0 1.5rem;
}

section:hover {
  border-color: rgba(0, 212, 170, 0.3);
  box-shadow: var(--shadow-light);
}

.col.link {
  position: relative;
}

section details section details {
  padding-right: 2rem;
  margin-left: 1rem;
  border-radius: 0;
}

section details section details section details {
  padding-right: 3rem;
  margin-left: 2rem;
}

footer {
  margin: 3em 0 2em;
  padding: 2rem;
  background: var(--bg-secondary-color);
  border-radius: var(--size-04);
  border: 1px solid var(--color-lightGrey);
}

footer a {
  color: var(--color-primary);
}

footer a:hover {
  color: var(--color-accent, var(--color-primary));
  text-decoration: underline;
}