/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url(/assets/fonts/fa-regular-400.woff2) format("woff2"), url(/assets/fonts/fa-regular-400.ttf) format("truetype")
}

@font-face {
  font-family: "Font Awesome 6 Brands";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url(/assets/fonts/fa-brands-400.woff2) format("woff2"), url(/assets/fonts/fa-brands-400.ttf) format("truetype")
}

@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url(/assets/fonts/fa-solid-900.woff2) format("woff2"), url(/assets/fonts/fa-solid-900.ttf) format("truetype")
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f9ff;
  color: #333;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Navbar */
.navbar {
  background-color: #DCD7FE;
  padding: 1rem 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #6D29D8;
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links li a {
  color: #6D29D8;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #4C1D95;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: #6D29D8;
  cursor: pointer;
}

.fa-bars:before {
  content: "\f0c9"
}

/* Hero Section */
.hero {
  padding: 4rem 0;
  text-align: center;
  color: #6D29D8;
  background-color: #f2f1fc;
  background-image:
    linear-gradient(to right, #DCD7FE 1px, transparent 1px),
    linear-gradient(to bottom, #DCD7FE 1px, transparent 1px);
  background-size: 20px 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.5rem;
  font-weight: 500;
}

.custom-button {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 30px;
  max-width: max-content;
  align-self: center;
  background-color: #6D29D8;
  color: white;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(26, 115, 232, 0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.custom-button:hover {
  background-color: #4C1D95;
  transform: translateY(-2px);
}


/* Categories */
.categories {
  margin: 20px;
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  margin: 25px;
  gap: 40px;
  justify-content: center;
}

.category-list video {
  width: 150px;
  height: 150px;
}

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.category-card {
  background-color: #efe6ff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(26, 115, 232, 0.1);
  padding: 6rem 0.5rem;
  font-size: 1.2rem;
  max-height: -webkit-fill-available;
  width: 200px;
  height: 150px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
  color: #6D29D8;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(26, 115, 232, 0.2);
}

.unit-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(26, 115, 232, 0.1);
  padding: 15px 10px;
  width: 250px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
  color: #1a3d7c;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 150px;
}

.unit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(26, 115, 232, 0.2);
}

/* Footer */
.footer {
  background-color: #DCD7FE;
  padding: 1.5rem 0;
  text-align: center;
  color: #6D29D8;
  font-size: 0.9rem;
  margin-top: 3rem;
}

.footer .footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.social-icons a {
  display: inline-block;
  margin: 0 10px;
  font-size: 30px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.fa-solid,
.fas,
.far {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.fab {
  font-family: "Font Awesome 6 Brands";
  font-weight: 400;
}

.fa-book-open-reader:before {
    content: "\f5da"
}
.fa-file-pdf:before {
    content: "\f1c1"
}

.fa-solid,
.fab,
.fas,
.fa {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: var(--fa-display, inline-block);
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto
}

.fa-facebook-f:before {
  content: "\f39e";
  color: #3b5998;
}

.fa-instagram:before {
  content: "\f16d";
  color: #e1306c;
}

.fa-linkedin-in:before {
  content: "\f0e1";
  color: #0077b5;
}

.fa-youtube:before {
  content: "\f167";
  color: #ff0000;
}

.social-icons a:hover {
  transform: scale(1.4);
}


.privacy-policy {
  color: #6D29D8;
  text-decoration: none;
  font-weight: 600;
}

.privacy-policy:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #efe6ff;
    position: absolute;
    padding: 15px 15px;
    top: 60px;
    right: 0;
    width: 200px;
    border-radius: 0 0 0 8px;
    box-shadow: 0 4px 8px rgba(26, 115, 232, 0.2);
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .category-list {
    flex-direction: column;
    align-items: center;
  }
}