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

html, body {
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  color: #333333;
  scroll-behavior: smooth;
  min-height: 100vh;
}

:root {
  --primary-color: #ff6700;
  --background: #ffffff;
  --background-soft: #f2f2f2;
  --text: #333333;
  --text-light: #eeeeee;
  --gray-border: #cccccc;
}

.lang-ar {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: var(--primary-color);
  color: #fff;
  padding: 8px 14px;
  font-size: 14px;
  border-radius: 8px;
  text-decoration: none;
  z-index: 999;
  transition: background 0.3s ease;
}
.lang-ar:hover {
  background-color: #e65c00;
}

.toggle-theme {
  position: fixed;
  top: 20px;
  left: 20px;
  background: rgba(0,0,0,0.05);
  border: none;
  border-radius: 50%;
  padding: 12px;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 1001;
  color: var(--text);
  transition: background 0.3s ease, opacity 0.3s ease;
}
.toggle-theme:hover {
  background: rgba(0,0,0,0.1);
}

.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 90vh;
  text-align: center;
  padding: 60px 20px;
  background-color: var(--background-soft);
}
.hero-content {
  max-width: 800px;
  background-color: var(--background-soft);
  border: 1px solid var(--gray-border);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.hero-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 4px solid var(--primary-color);
  object-fit: cover;
  margin-bottom: 20px;
}

.gradient-text {
  font-size: 2.4rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--primary-color), #ffaa33);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card-section {
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}
.card-section:not(:last-child) {
  margin-bottom: 40px;
}
.card-section.center-text {
  text-align: center;
  gap: 20px;
}

.card {
  width: 100%;
  max-width: 800px;
  background-color: var(--background-soft);
  border: 1px solid var(--gray-border);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
}
.card h2 {
  color: var(--primary-color);
  margin-bottom: 10px;
}
.card h3 {
  color: #444;
  margin-top: 20px;
  margin-bottom: 10px;
}
.card p, .card li {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.6;
}
.card.center-text {
  text-align: center;
}

.map-img {
  width: 100%;
  border-radius: 12px;
  margin-top: 15px;
  border: 1px solid var(--gray-border);
}

.footer {
  background: var(--background-soft);
  border-top: 1px solid var(--gray-border);
  text-align: center;
  padding: 30px 10px;
  font-size: 0.9rem;
  color: var(--text);
}
.footer img {
  margin-top: 10px;
  margin-bottom: 10px;
}
.footer .socials {
  margin-top: 10px;
}
.footer .d-flex {
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer .socials a {
  margin: 0 8px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}
.footer .socials a:hover {
  color: #d94d00;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

body.dark {
  background: #1c1c1c;
  color: var(--text-light);
}
body.dark .card,
body.dark .hero,
body.dark .footer,
body.dark .hero-content {
  background-color: #2b2b2b;
  border-color: #444;
  color: var(--text-light);
}
body.dark .card p,
body.dark .card li,
body.dark .card h3,
body.dark .footer,
body.dark a {
  color: var(--text-light);
}
body.dark .btn-glass,
body.dark .btn-outline-primary,
body.dark .btn-outline-secondary,
body.dark .btn-outline-dark,
body.dark .btn-outline-danger {
  color: #fff;
  border-color: #888;
}
body.dark .btn-glass:hover,
body.dark .btn-outline-primary:hover,
body.dark .btn-outline-secondary:hover,
body.dark .btn-outline-dark:hover,
body.dark .btn-outline-danger:hover {
  background: var(--primary-color);
  color: #fff;
}
body.dark .toggle-theme {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
body.dark .lang-ar {
  background-color: var(--primary-color);
  color: #222;
}

.ad-img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.btn-orange {
  background-color: #ff6700;
  color: #1a1a1a;
  border: 1px solid #ff6700;
  padding: 10px 20px;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn-orange:hover,
.btn-orange:focus {
  background-color: #e65c00;
  border-color: #e65c00;
  color: #fff;
}
