body {
  font-family: 'Cairo', Arial, sans-serif;
  margin: 0; padding: 0;
  background: #f9fcff;
  color: #222;
  direction: rtl;
  animation: fadeInBody 1s ease-in-out;
}

/* Header */
header {
  background: #00BFFF;
  color: #fff;
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  animation: slideDown 0.8s ease-in-out;
}

.logo { margin-right: 20px; }
nav a {
  color: #fff;
  margin: 0 12px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  position: relative;
}
nav a::after {
  content: '';
  position: absolute;
  width: 0; height: 2px;
  bottom: -4px; left: 0;
  background-color: #fff;
  transition: width 0.3s;
}
nav a:hover::after { width: 100%; }

.lang-switch {
  background: #fff; color: #00BFFF;
  border: none; border-radius: 6px; padding: 6px 14px;
  margin-left: 24px; cursor: pointer;
  font-weight: bold;
  transition: transform 0.3s, background 0.3s;
}
.lang-switch:hover {
  background: #0074c8;
  color: #fff;
  transform: scale(1.05);
}

/* Main */
main { padding: 30px 10px; max-width: 900px; margin: auto; }
section { margin-bottom: 32px; }

/* Hero */
.hero {
  text-align: center;
  padding: 48px 0 12px 0;
  animation: fadeUp 1.2s ease-in-out;
}
.hero img { width: 110px; margin-bottom: 10px; animation: floatImg 3s infinite ease-in-out; }
.hero h1 { font-size: 2.1em; margin-bottom: 6px; }

/* Brands */
.brands-list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 30px;
}
.brand-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px #d7eaff66;
  width: 180px;
  padding: 18px 10px;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}
.brand-card:nth-child(1) { animation-delay: 0.2s; }
.brand-card:nth-child(2) { animation-delay: 0.4s; }
.brand-card:nth-child(3) { animation-delay: 0.6s; }
.brand-card:nth-child(4) { animation-delay: 0.8s; }

.brand-card:hover {
  transform: translateY(-7px) scale(1.05);
  box-shadow: 0 8px 20px #00bfff33;
}
.brand-card img {
  width: 90px; height: 90px; object-fit: contain;
  margin-bottom: 8px;
  transition: transform 0.3s ease;
}
.brand-card:hover img { transform: rotate(-3deg) scale(1.1); }
.brand-card .brand-title { font-size: 1.15em; font-weight: bold; color: #00BFFF; }
.brand-card .brand-desc { font-size: .98em; color: #555; margin: 8px 0; }
.brand-card a { color: #0074c8; font-size: .97em; text-decoration: underline; }

/* Contact form */
.contact-form {
  max-width: 380px; margin: auto;
  background: #fff; padding: 20px 22px 16px 22px;
  border-radius: 10px;
  box-shadow: 0 1px 6px #b2e7fa22;
  animation: fadeUp 1s ease-in-out;
}
.contact-form label { display: block; margin-top: 10px; font-weight: bold; }
.contact-form input, .contact-form textarea {
  width: 100%; margin-top: 4px; margin-bottom: 10px;
  padding: 7px; border: 1px solid #c7e6fa;
  border-radius: 5px; background: #f4fbff;
}
.contact-form button {
  background: #00BFFF; color: #fff; border: none;
  border-radius: 6px; padding: 9px 24px; font-size: 1.05em; font-weight: bold;
  cursor: pointer; margin-top: 7px; transition: background .2s, transform .3s;
}
.contact-form button:hover {
  background: #0099bb;
  transform: scale(1.05);
}

/* Footer */
footer {
  background: #e3f3fa; color: #20232a;
  padding: 24px 0 7px 0; margin-top: 40px;
  text-align: center;
  font-size: .95em;
  animation: fadeInBody 1s ease-in-out;
}
footer .socials { margin: 6px 0 10px 0; }
footer .socials a { margin: 0 5px; color: #00BFFF; text-decoration: none; font-size: 1.2em; }
footer .socials a:hover { color: #0074c8; }

/* Responsive */
@media (max-width: 680px) {
  .brands-list { flex-direction: column; align-items: center; }
  .brand-card { width: 92vw; max-width: 320px;}
  header { flex-direction: column; gap: 8px; }
}

/* Clickable Cards */
.brand-card.clickable { cursor: pointer; }
.brand-card.clickable:hover { box-shadow: 0 4px 20px #00bfff22; border: 1.5px solid #00BFFF; }

/* Animations */
@keyframes fadeInBody {
  from {opacity: 0;} to {opacity: 1;}
}
@keyframes slideDown {
  from {transform: translateY(-100%);} to {transform: translateY(0);}
}
@keyframes fadeUp {
  from {opacity: 0; transform: translateY(30px);} to {opacity: 1; transform: translateY(0);}
}
@keyframes floatImg {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
