/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* ===== NAVBAR ===== */
.navbar {
  background: #004aad;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none; 
}

.logo {
  height: 50px;
}

.site-name {
  font-size: 1.5em;
  font-weight: bold;
  color: white; 
  text-decoration: none; 
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover, nav a.active {
  color: #ff8c00;
}

.menu-toggle {
  display: none;
  color: white;
  font-size: 1.8em;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav ul {
    display: none;
    flex-direction: column;
    background-color: #004aad;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    text-align: center;
    padding: 20px 0;
  }

  nav ul.show {
    display: flex;
  }
}

/* for mobile */
.menu-toggle {
  display: none;
  font-size: 1.8em;
  cursor: pointer;
  color: white;
}

.video-section {
  padding: 40px 20px;
}
.video-title {
  text-align: center;           
  font-size: 2.5em;            
  font-weight: 700;
  color:orange;              
  margin-bottom: 40px;
  
}

.video-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px; /* مسافة بين الصفوف */
}

.video-row a {
  text-decoration: none;
  color: #8a3ffc;
  text-align: center;
  flex: 1 1 220px; /* يسمح بالتقلص والتمدد */
  max-width: 300px;
}

.video-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
  transition: transform 0.3s ease;
}

.video-card img {
  width: 100%;
  display: block;
}

.video-card:hover {
  transform: scale(1.05);
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  opacity: 0.9;
  fill: #fff;
}

.video-row p {
  margin-top: 10px;
  font-weight: 700;
  font-size: 1em;
}

/* Responsive */
@media (max-width: 1024px) {
  .video-row a {
    flex: 1 1 45%; /* 2 فيديوهات لكل صف على التابلت */
  }
}

@media (max-width: 768px) {
  .video-row a {
    flex: 1 1 100%; /* فيديو واحد لكل صف على الموبايل */
  }
}



/* ================== FOOTER ================== */
footer {
  background: linear-gradient(90deg, #0056b3, #ff6600);
  color: white;
  padding: 40px 20px;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-logo img {
  height: 50px;
  margin-bottom: 10px;
}

.footer-logo h2 {
  font-size: 24px;
}


.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* يخلي الكل يبدأ من نفس الخط */
  gap: 8px; /* مسافة متساوية بين كل لينك */
}

.footer-links a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
  font-size: 16px;
  transition: color 0.3s;
  padding-left: 2px; /* يخليهم كلهم بنفس البداية */
}

.footer-links a i {
  margin-right: 8px;
  width: 20px; /* يضمن إن الأيقونات تاخد نفس العرض */
  text-align: center;
}


.footer-links a:hover {
  color: #ffd9b3;
}

.footer-social a {
  color: white;
  font-size: 24px;
  margin: 0 10px;
  transition: 0.3s;
}

.footer-social a:hover {
  color: #ffd9b3;
}

footer hr {
  margin: 20px 0;
  border: none;
  border-top: 1px solid #ffffff44;
}

/* ================== RESPONSIVE ================== */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav ul {
    display: none;
    flex-direction: column;
    background-color: #004aad;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    text-align: center;
    padding: 20px 0;
    gap: 20px;
  }

  nav ul.show {
    display: flex;
  }


  .about {
    flex-direction: column;
    padding: 40px 20px;
  }

 



  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
