header {
    position: relative;
    z-index: 1000;
    height: 90px;
}
#header {
    transition: all 0.3s ease !important;
  }
nav ul li {
    position: relative;
}
/* Logo Size */
.logo {
    width: 120px; /* Adjust size as needed */
    height: auto;
}
/* Mobile Menu */
#menu-toggle {
    cursor: pointer;
}
/* Submenu - Dropdown Animation */
.menu-item {
    position: relative;
}
/* Add a top border color and roll-up animation to submenu */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 200px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease, opacity 0.4s ease;
    display: block; /* Change from none so animation can run */
    pointer-events: none; /* Prevent interaction when hidden */
    border-top: 3px solid #ff5e00; /* Add top border with color */
}

/* Submenu Link Styling */
.submenu a {
    display: block;
    padding: 10px;
    color: black;
    text-decoration: none;
    transition: background 0.3s;
}

.submenu a:hover {
    background: #f1f1f1;
}

/* Show submenu on hover with animation */
.menu-item:hover .submenu {
    opacity: 1;
    transform: scaleY(1);
    pointer-events: auto;
}
@media (max-width: 768px) {
    #menu {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: white;
        display: none;
    }

    #menu.show {
        display: block;
    }
}
.certificate-card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  @keyframes slideIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }

  .animate-fadeIn { animation: fadeIn 1.5s ease-out; }
  .animate-slideIn { animation: slideIn 1.5s ease-out; }

