@import url('https://fonts.googleapis.com/css2?family=Vend+Sans:ital,wght@0,300..700;1,300..700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== BODY ===== */
body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  text-align: center;
  padding-top: 90px; /* space for fixed navbar */
  transition: all 0.3s ease;
  color: #000;
  opacity: 1;
  visibility: visible;
}

/* ===== NAVBAR ===== */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 25px;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
}

.logo img {
  width: 70px;
  height: auto;
}

/* ===== NAV LINKS ===== */
.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #ff9800;
}

#txt-en{
  text-align: center;
}

#txt-ar{
  font-size: 17px;
  transform: translate(0px, -8px);
  text-align: center;
}

/* ===== TRANSLATE BUTTON ===== */
.translate-btn {
  background: none;
  color: white;
  border: none;
  padding: 6px 12px;
  cursor: pointer;
  font-weight: bold;
  margin-left: 10px;
  transition: background-color 0.3s;
}

/* ===== BURGER MENU ===== */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  margin-left: 10px;
  z-index: 200;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 4px;
  transition: all 0.3s ease;
}

/* ===== RIGHT SLIDE MENU (MOBILE) ===== */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -250px; /* hidden off-screen to the right */
    width: 250px;
    height: 100%;
    background-color: white;
    text-align: left;
    padding: 80px 30px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    transition: right 0.4s ease;
    z-index: 99;
  }

  .nav-links.active {
    right: 0; /* slide in from right */
  }

  .burger {
    display: flex;
  }

  .burger.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .burger.toggle .line2 {
    opacity: 0;
  }

  .burger.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
  }
}

/* ========== ABOUT SECTION ========== */
.about-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 10%;
  background-color: #f4f4f4;
  gap: 40px;
  flex-wrap: wrap;
}

.about-section img {
  max-width: 100%;
  width: 350px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.about-text {
  flex: 1;
  min-width: 300px;
  text-align: left;
  line-height: 1.7;
}

.about-text h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #111;
}

.about-text p {
  font-size: 18px;
  color: #333;
}

/* Responsive About Section */
@media (max-width: 768px) {
  .about-section {
    flex-direction: column;
    text-align: center;
    padding: 40px 6%;
  }

  .about-section img {
    width: 80%;
    margin-bottom: 20px;
  }

  .about-text {
    text-align: center;
  }
}

/* ========== FOUNDERS SECTION ========== */
.founders-section {
  background-color: #fff;
  padding: 60px 10%;
  line-height: 1.8;
}

.founders-section h2 {
  text-align: center;
  font-size: 30px;
  margin-bottom: 30px;
  color: #111;
}

.founders-section p {
  font-size: 18px;
  margin-bottom: 20px;
  text-align: justify;
}

.founders-list {
  list-style-type: none;
  padding: 0;
  margin-top: 10px;
}

.founders-list li {
  background: #f7f7f7;
  border-left: 5px solid #333;
  padding: 15px 20px;
  margin: 10px 0;
  border-radius: 6px;
  font-size: 17px;
}

.founders-list li span {
  font-weight: bold;
  color: #000;
}

/* Responsive Founders Section */
@media (max-width: 768px) {
  .founders-section {
    padding: 40px 6%;
  }

  .founders-section h2 {
    font-size: 26px;
  }

  .founders-section p {
    font-size: 17px;
  }
}

/* ========== SOCIAL SECTION ========== */
.social-section {
  background-color: #333;
  padding: 50px 0;
  text-align: center;
}

.social-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.social-btn {
  width: 60px;
  height: 60px;
  border: 1px solid #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  background: transparent;
  font-size: 26px;
  text-decoration: none;
  transition: transform 0.4s ease, background 0.4s ease;
}

.social-btn i{
  color: #fff;
  background: none;
}

.social-btn:hover {
  transform: scale(1.1);
  background: #ff9800;
  border-color: #ff9800;
  color: #fff;
  box-shadow: 0px 0px 20px #ff9800;
}

@media (max-width: 480px) {
  .social-btn {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }
}

/* ========== FADE-IN ANIMATION ========== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Ensure visible by default if JS doesn't load */
.no-js .fade-in {
  opacity: 1;
  transform: none;
}