/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
  }
  
  .container {
    width: 90%;
    max-width: 75rem; /* 1200px / 16 = 75rem */
    margin: 0 auto;
  }
  
  /* Navigation Bar */
  .navbar {
    background-color: #08541a;
    padding: 1.25rem 0; /* 20px / 16 = 1.25rem */
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .navbar .logo img {
    height: 3.125rem; /* 50px / 16 = 3.125rem */
  }
  
  .nav-menu {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
  }
  
  .nav-menu li {
    margin-left: 1.25rem; /* 20px / 16 = 1.25rem */
  }
  
  .nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
  }
  
  .nav-menu a:hover {
    color: #ff9800;
  }
  
  /* Burger Menu */
  .burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1000;
  }
  
  .burger-menu .bar {
    width: 1.5625rem; /* 25px / 16 = 1.5625rem */
    height: 0.1875rem; /* 3px / 16 = 0.1875rem */
    background-color: white;
    margin: 0.25rem 0; /* 4px / 16 = 0.25rem */
    transition: 0.4s;
  }
  
  /* Responsive Styles for Navigation */
  @media (max-width: 48rem) { /* 768px / 16 = 48rem */
    .burger-menu {
      display: flex;
    }
  
    .nav-menu {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 4.375rem; /* 70px / 16 = 4.375rem */
      right: 0;
      background-color: #28a745;
      width: 100%;
      text-align: center;
      padding: 0.625rem 0; /* 10px / 16 = 0.625rem */
      z-index: 999;
    }
  
    .nav-menu.active {
      display: flex;
    }
  
    .nav-menu li {
      margin: 0.625rem 0; /* 10px / 16 = 0.625rem */
    }
  }
  
  /* Burger Menu Animation */
  .burger-menu.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-0.3125rem, 0.375rem); /* 5px / 16 = 0.3125rem, 6px / 16 = 0.375rem */
  }
  
  .burger-menu.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .burger-menu.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-0.3125rem, -0.375rem); /* 5px / 16 = 0.3125rem, 6px / 16 = 0.375rem */
  }
  
  /* Hero Section */
  .hero {
    position: relative;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
  }
  
  .hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
  }
  
  .hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .hero-overlay {
    background: rgba(0, 0, 0, 0.5);
    padding: 1.25rem; /* 20px / 16 = 1.25rem */
    border-radius: 0.625rem; /* 10px / 16 = 0.625rem */
    z-index: 1;
  }
  
  .hero h1 {
    font-size: 3rem;
    margin: 0;
  }
  
  .hero p {
    font-size: 1.5rem;
    margin: 0.625rem 0 1.25rem; /* 10px / 16 = 0.625rem, 20px / 16 = 1.25rem */
  }

  h1 {
    margin-top: 30px;
    color: #333;
  }
  .course-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 40px;
  }
  
  .course {
    background: white;
    border: 1px solid #ccc;
    border-radius: 10px;
    margin: 15px;
    width: 250px;
    height: 350px; /* Set fixed height for uniform size */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
  }
  
  .course:hover {
    transform: scale(1.05);
  }
  
  .course img {
    width: 100%;
    height: 180px; /* Set fixed height for images */
    object-fit: cover; /* Ensures images scale nicely without distortion */
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }
  
  .course-label {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    font-size: 18px;
    color: #555;
    text-align: center;
  }
  
  a {
    text-decoration: none;
  }

  /* Certificate Message Section */
.certificate-message {
    display: none;
    margin-top: 40px;
    padding: 20px;
    background-color: #e8f5e9; /* light green background */
    border: 1px solid #c8e6c9;
    border-radius: 10px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  
  .certificate-message p {
    font-size: 1.2rem;
    color: #2e7d32; /* deep green text */
    margin-bottom: 15px;
  }
  
  .certificate-message a {
    display: inline-block;
    padding: 12px 24px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }
  
  .certificate-message a:hover {
    background-color: #388e3c;
  }


  /* Footer */
  .footer {
    background-color: #057720;
    color: white;
    padding: 1.25rem 0; /* 20px in rem */
    text-align: center;
  }
  
  .social-icons {
    margin-top: 0.625rem; /* 10px in rem */
  }
  
  .social-icons a {
    color: white;
    margin: 0 0.625rem; /* 10px in rem */
    font-size: 1.2rem;
    transition: color 0.3s;
  }
  
  .social-icons a:hover {
    color: #28a745;
  }
  
  /* Responsive Adjustments */
  @media (max-width: 48rem) { /* 768px in rem */
    .hero h1 {
      font-size: 2rem;
    }
  
    .hero p {
      font-size: 1.2rem;
    }
  }