@font-face {
  font-family: "Rabar";
  src: url("../fonts/Rabar_021.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  color: #152238;
  background: #ffffff;
  line-height: 1.6;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 8%;
  border-bottom: 1px solid #e8eef5;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  color: #123c69;
}

.logo span {
  color: #f4a261;
  margin-left: 4px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  text-decoration: none;
  color: #152238;
  font-weight: 600;
  transition: 0.3s;
}

.nav a:hover {
  color: #f4a261;
}

.lang-btn {
  background: #123c69;
  color: white !important;
  padding: 9px 14px;
  border-radius: 20px;
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
}

.hero {
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 80px 8%;
  background:
    radial-gradient(circle at top left, #dff3ff, transparent 35%),
    linear-gradient(135deg, #f8fbff, #ffffff);
}

.badge {
  display: inline-block;
  background: #e8f3ff;
  color: #123c69;
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: bold;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 58px;
  line-height: 1.1;
  margin-bottom: 22px;
  color: #123c69;
  animation: slideUp 0.9s ease forwards;
}

.hero-description {
  font-size: 20px;
  color: #4b5b70;
  margin-bottom: 30px;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.primary {
  background: #123c69;
  color: white;
}

.primary:hover {
  background: #0c2d50;
  transform: translateY(-3px);
}

.secondary {
  background: white;
  color: #123c69;
  border: 1px solid #d8e3ee;
}

.secondary:hover {
  transform: translateY(-3px);
}

.hero-image {
  position: relative;
  animation: fadeIn 1.2s ease forwards;
}

.hero-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 30px 70px rgba(18, 60, 105, 0.25);
}

.floating-card {
  position: absolute;
  background: white;
  padding: 16px 22px;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  font-weight: bold;
  animation: float 3s ease-in-out infinite;
}

.card-one {
  top: 40px;
  left: -25px;
}

.card-two {
  bottom: 50px;
  right: -25px;
  animation-delay: 1s;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  padding: 40px 8%;
  background: #123c69;
  color: white;
  text-align: center;
}

.stats h2 {
  font-size: 42px;
  color: #f4a261;
}

.section {
  padding: 85px 8%;
  text-align: center;
}

.section-label {
  color: #f4a261;
  font-weight: bold;
  margin-bottom: 8px;
}

.section h2 {
  font-size: 40px;
  margin-bottom: 45px;
  color: #123c69;
}

.light {
  background: #f5f8fb;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.card {
  background: white;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(18, 60, 105, 0.1);
  text-align: left;
  transition: 0.35s;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(18, 60, 105, 0.18);
}

.card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.card h3 {
  padding: 22px 22px 8px;
  color: #123c69;
}

.card p {
  padding: 0 22px 25px;
  color: #4b5b70;
}

.search-box {
  max-width: 500px;
  margin: 0 auto 35px;
}

.search-box input {
  width: 100%;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid #d8e3ee;
  font-size: 16px;
  outline: none;
}

.search-box input:focus {
  border-color: #123c69;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.article-card {
  background: white;
  padding: 28px;
  border-radius: 20px;
  text-align: left;
  box-shadow: 0 15px 40px rgba(18, 60, 105, 0.08);
  transition: 0.3s;
}

.article-card:hover {
  transform: translateY(-8px);
}

.article-card span {
  display: inline-block;
  color: #f4a261;
  font-weight: bold;
  margin-bottom: 12px;
}

.article-card h3 {
  color: #123c69;
  margin-bottom: 10px;
}

.article-card p {
  color: #4b5b70;
  margin-bottom: 18px;
}

.article-card a {
  color: #123c69;
  text-decoration: none;
  font-weight: bold;
}

.cta {
  margin: 80px 8%;
  padding: 70px 30px;
  text-align: center;
  background: linear-gradient(135deg, #123c69, #1f6f8b);
  border-radius: 30px;
  color: white;
}

.cta h2 {
  font-size: 42px;
  margin-bottom: 15px;
}

.cta p {
  margin-bottom: 28px;
  font-size: 18px;
}

.cta .primary {
  background: white;
  color: #123c69;
}

.footer {
  padding: 28px;
  text-align: center;
  background: #0c2d50;
  color: white;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Kurdish / Sorani version */
.kurdish-page {
  direction: rtl;
  text-align: right;
  font-family: "Rabar", Arial, sans-serif;
}

.kurdish-page * {
  font-family: "Rabar", Arial, sans-serif;
}

.kurdish-page .header {
  direction: ltr;
}

.kurdish-page .logo {
  direction: ltr;
}

.kurdish-page .nav {
  direction: rtl;
}

.kurdish-page .nav a {
  text-align: right;
}

.kurdish-page .hero {
  direction: rtl;
}

.kurdish-page .hero-text {
  text-align: right;
}

.kurdish-page .hero h1 {
  font-size: 52px;
  line-height: 1.35;
}

.kurdish-page .hero-description {
  line-height: 2;
}

.kurdish-page .hero-buttons {
  justify-content: flex-start;
}

.kurdish-page .cards,
.kurdish-page .article-grid,
.kurdish-page .stats {
  direction: rtl;
}

.kurdish-page .card,
.kurdish-page .article-card {
  text-align: right;
}

.kurdish-page .card h3,
.kurdish-page .card p {
  text-align: right;
}

.kurdish-page .article-card h3,
.kurdish-page .article-card p,
.kurdish-page .article-card a {
  text-align: right;
}

.kurdish-page .search-box input {
  text-align: right;
  direction: rtl;
}

.kurdish-page .card-one {
  left: auto;
  right: -25px;
}

.kurdish-page .card-two {
  right: auto;
  left: -25px;
}

@media (max-width: 900px) {
  .kurdish-page .header {
    direction: ltr;
  }

  .kurdish-page .nav {
    right: auto;
    left: 8%;
    direction: rtl;
  }

  .kurdish-page .hero h1 {
    font-size: 36px;
    line-height: 1.45;
  }

  .kurdish-page .hero-description {
    font-size: 18px;
  }
}