/* ===== GENERAL ===== */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #f9f9f9, #eef3f9);
  margin: 0;
  padding: 0;
  color: #333;
}

/* ===== HEADER ===== */
header {
  background: #fff;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ddd;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
header img { max-height: 55px; }
header h1 { font-size: 20px; margin: 0; color: #007BFF; }
.lang-switch button {
  padding: 6px 12px;
  margin-left: 8px;
  border: none;
  border-radius: 5px;
  background-color: #007BFF;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}
.lang-switch button:hover { background-color: #0056b3; }

/* ===== CONTACT ===== */
.contact {
  background-color: #007BFF;
  color: #fff;
  padding: 12px;
  text-align: center;
  font-size: 15px;
}
.contact a { color: #fff; text-decoration: underline; }

/* ===== HERO ===== */
.hero { text-align: center; padding: 50px 20px 20px 20px; }
.hero h2 { font-size: 32px; color: #007BFF; margin-bottom: 10px; }
.hero p { font-size: 18px; color: #555; max-width: 700px; margin: 0 auto; }

/* ===== TABS ===== */
.tabs-container {
  max-width: 1200px;
  margin: 40px auto;
}
.tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}
.tab-btn {
  padding: 10px 25px;
  background: #f1f5f9;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  color: #333;
  transition: 0.3s;
}
.tab-btn.active {
  background: #007BFF;
  color: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* ===== TAB CONTENT ===== */
.tab-content { display: none; animation: fadeIn 0.3s ease-in-out; }
.tab-content.active { display: block; }

/* ===== SEARCH BAR ===== */
.search-container {
  max-width: 800px;
  margin: 20px auto 40px auto;
  text-align: center;
}
.search-container input {
  width: 90%;
  max-width: 600px;
  padding: 14px 18px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 12px;
  outline: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* ===== GRID & CARDS ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}
.card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.card h3 { font-size: 17px; margin-bottom: 15px; text-align: center; color: #007BFF; }
.card iframe, .card video, .card img {
  width: 100%;
  height: 280px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
}
.btn {
  padding: 10px 20px;
  background-color: #007BFF;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: 0.3s;
}
.btn:hover { background-color: #0056b3; }

/* ===== FEATURED AUTOPLAY VIDEO ===== */
.featured-video {
  text-align: center;
  width: 100%;
  background: #f1f5f9;
  padding: 20px 0;
  margin-top: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.featured-video video {
  width: 90%;
  max-width: 1200px;
  height: auto;
  border-radius: 12px;
  border: 1px solid #ddd;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  display: block;
  margin: 0 auto;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn { from {opacity:0;} to {opacity:1;} }

/* ===== HEADER ===== */
header {
  background: #fff;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ddd;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Make logo + title horizontal */
.logo-container {
  display: flex;
  align-items: center;
  gap: 12px; /* space between logo and text */
}

.logo-container img {
  max-height: 50px;
}

.logo-container h1 {
  font-size: 20px;
  margin: 0;
  color: #007BFF;
}

