.brand-header p color: #2c3e50; margin-top: 0.5rem; font-weight: 500; font-size: 0.95rem; opacity: 0.8;
/* ----- DROPDOWN NAVIGATION (CORE) ----- */ .nav-menu background: #ffffff; border-radius: 3rem; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 2px 5px rgba(0,0,0,0.02); padding: 0.6rem 1.2rem; display: flex; justify-content: center; flex-wrap: wrap; position: relative; z-index: 100;
/* main link style */ .nav-link display: flex; align-items: center; gap: 0.4rem; padding: 0.8rem 1.4rem; font-weight: 600; font-size: 1rem; color: #1f2e3a; text-decoration: none; border-radius: 2.5rem; transition: all 0.25s ease; background: transparent; letter-spacing: -0.2px; html css dropdown menu codepen
/* dropdown arrow indicator (custom caret) */ .dropdown-arrow font-size: 0.7rem; transition: transform 0.25s ease; display: inline-block; margin-left: 0.2rem; font-weight: 700;
/* rotate arrow when parent hover (desktop) OR using active class for touch? we use pure css hover for dropdown */ .nav-item:hover .dropdown-arrow transform: rotate(180deg); .brand-header p color: #2c3e50
<!-- Resources dropdown (with multiple options) --> <li class="nav-item"> <a href="#" class="nav-link"> 📚 Resources <span class="dropdown-arrow">▼</span> </a> <ul class="dropdown-menu"> <li><a href="#"><span class="menu-icon">📖</span> Documentation</a></li> <li><a href="#"><span class="menu-icon">🎓</span> Tutorials</a></li> <li><a href="#"><span class="menu-icon">💡</span> Blog</a></li> <li><a href="#"><span class="menu-icon">🌍</span> Community</a></li> </ul> </li>
/* a subtle animation for demonstration */ @keyframes gentleFade 0% opacity: 0; transform: scale(0.98); 100% opacity: 1; transform: scale(1); box-shadow: 0 15px 35px rgba(0
/* optional icon inside dropdown */ .menu-icon font-size: 1.1rem; display: inline-block; width: 1.4rem; text-align: center;
.hero-content p color: #2c3e50; max-width: 550px; margin: 1rem auto 0; line-height: 1.5;
.dropdown-menu a display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 1.5rem; color: #1f2e3a; text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: all 0.2s; background: white; border-left: 3px solid transparent;