/* Global Styles */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f0f4f9;
  color: #333;
}

.container {
  display: flex;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  color: white;
  background-color: #00509e;
  border: none;
  border-radius: 25px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: #ffeb3b;
  transform: scale(1.1);
}

/* Menu Toggle Button for Mobile */
.menu-toggle {
  display: none;
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 10px 20px;
  background-color: #00509e;
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  background-color: #003366;
}

/* Sidebar Menu */
.sidebar {
  width: 250px;
  background: linear-gradient(180deg, #003366, #00509e);
  color: white;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  position: fixed;
  height: 100vh;
  transition: transform 0.3s ease;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
}

.sidebar.hidden {
  transform: translateX(-100%);
}

.sidebar h2 {
  margin-bottom: 2rem;
  text-align: center;
  font-size: 1.5rem;
  color: #ffeb3b;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar li {
  margin-bottom: 1.5rem;
}

.menu-btn {
  width: 100%;
  padding: 0.8rem 1rem;
  background-color: #00509e;
  color: white;
  font-size: 1rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  transition: all 0.3s ease;
}

.menu-btn:hover,
.menu-btn.active {
  background-color: #ffeb3b;
  color: #003366;
  transform: scale(1.05);
}

/* Main Content */
.content {
  flex-grow: 1;
  margin-left: 250px;
  padding: 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
  overflow-y: auto;
  transition: margin-left 0.3s ease;
}

.content-section {
  display: none;
  width: 100%;
  max-width: 900px;
  animation: fadeIn 0.5s ease-in-out;
}

.content-section.active {
  display: block;
}

/* Card Styles */
.card {
  background-color: white;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  color: #00509e;
}

.card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

.card button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  color: white;
  background-color: #00509e;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.card button:hover {
  background-color: #ff9900;
  transform: scale(1.1);
}

/* YouTube iframe Styles */
iframe {
  width: 100%;
  height: 350px;
  border-radius: 10px;
  border: 2px solid #00509e;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .sidebar {
    transform: translateX(-100%);
    z-index: 999;
  }

  .sidebar.visible {
    transform: translateX(0);
  }

  .content {
    margin-left: 0;
    padding: 1rem;
    gap: 1rem;
  }
}
