* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: linear-gradient(180deg, #0f3d2e 35%, #f5f5f5 35%);
  text-align: center;
}

/* Container */
.container {
  padding: 20px;
}
/* Updated Text Box Styles */
/* Positioned higher up and split to sides */
.text-box {
  display: flex;
  justify-content: space-between; /* Pushes EN to left, KU to right */
  align-items: flex-start;
  gap: 20px;
  margin-top: -5px;      /* Negative margin pulls it closer to the "AI Tech" title */
  padding: 0 40px;       /* Horizontal padding so text isn't touching the screen edges */
  width: 100%;
}

/* English (Left side) */
.en {
  flex: 1;
  text-align: left;      /* Aligns text to the left */
  direction: ltr;
  color: white;
  font-size: 14px;
  line-height: 1.5;
}

/* Kurdish (Right side) */
.ku {
  flex: 1;
  text-align: right;     /* Aligns text to the right */
  direction: rtl;
  color: white;
  font-size: 14px;
  line-height: 1.5;
}
.ku {
  font-family: 'Noto Sans Arabic', sans-serif; /* This replaces your old font */
  direction: rtl;
  text-align: right;
  color: white;
  font-size: 14px;
}
/* Make sure the H1 doesn't have too much bottom margin */
h1 {
  color: white;
  margin-top: 10px;
  margin-bottom: 5px;    /* Reduced space below the title */
  font-size: 26px;
}
/* LOGO */
.logo {
  width: 140px;
  height: 140px;
  margin: 25px auto 10px;
  border-radius: 50%;
  background: black;   /* 🔥 changed to black */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.logo img {
  width: 140px;
  height: auto;
}

/* TEXT */
h1 {
  color: white;
  margin-top: 10px;
  font-size: 26px;
}

.subtitle {
  color: #ddd;
  margin-top: 5px;
  font-weight: bold;
}

.address, .desc {
  color: #eee;
  font-size: 14px;
  margin-top: 5px;
}

/* GRID */
.grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 20px;
  gap: 15px;
  padding: 10px;
}

/* CARD */
.card {
  background: white;
  border-radius: 18px;
  padding: 9px 9px;   /* 🔥 smaller height */
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: 0.2s;
  text-align: center;
}

.card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  background: #f8f8f8;
}

/* Click effect */
.card:active {
  transform: scale(0.97);
}

.card img {
  width: 60px;
  height: auto;
  margin-bottom: 8px;
}

.card p {
  font-size: 13px;
  font-weight: bold;
  color: #333;
}

/* SPECIAL BIG IMAGES */
.img {
  width: 110px !important;
}

/* LINKS */
a {
  text-decoration: none;
}

/* MOBILE */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .logo {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 480px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .logo {
    width: 100px;
    height: 100px;
  }
}
@media (max-width: 768px) {
  .text-box {
    flex-direction: column;
    text-align: center;
  }

  .en, .ku {
    text-align: center;
  }
}
@font-face {
  font-family: "KurdishFont";
  src: url("fonts/kurdish-font.ttf");
}
.ku {
  font-family: "KurdishFont";
  direction: rtl;
  text-align: center;
  color: white;
}