/* =================================
   Common Styles (Navbar, Menu, Footer)
   ================================= */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
html { scroll-behavior: smooth; }
body { background-color: #0d1b2a; color: #f0f0f0; overflow-x: hidden; }
#dna-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.15; }

.navbar { background: rgba(20, 20, 40, 0.65); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); height: 60px; width: 90%; max-width: 1400px; position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 100; display: flex; align-items: center; border-radius: 30px; border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3); transition: all 0.3s ease; }
.navbar.scrolled { top: 10px; background: rgba(25, 25, 45, 0.75); backdrop-filter: blur(20px); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35); border: 1px solid rgba(255, 255, 255, 0.18); }
.nav-left, .nav-right { display: flex; align-items: center; width: 50%; }
.nav-left { justify-content: flex-end; padding-right: 150px; }
.nav-right { justify-content: flex-start; padding-left: 150px; }
.nav-item { padding: 0 25px; font-size: 16px; font-weight: 500; cursor: pointer; color: #e0e0e0; text-decoration: none; height: 60px; display: flex; align-items: center; transition: color 0.3s; }
.nav-item.active, .nav-item:hover, .dropdown:hover .nav-item > button { color: #00d65b; }
.dropdown { position: relative; display: inline-block; }
.dropdown .nav-item { padding: 0; }
.dropdown > .nav-item > button { background: none; border: none; color: inherit; font-size: inherit; font-family: inherit; font-weight: inherit; padding: 0 25px; height: 60px; cursor: pointer; }
.dropdown-content { display: none; position: absolute; background-color: rgba(30, 35, 60, 0.9); backdrop-filter: blur(15px); min-width: 200px; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.3); z-index: 1; border-radius: 10px; margin-top: 5px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); }
.dropdown-content a { color: #e0e0e0; padding: 12px 16px; text-decoration: none; display: block; font-size: 15px; transition: background-color 0.3s, color 0.3s; }
.dropdown-content a:hover { background-color: rgba(255, 255, 255, 0.08); color: #00d65b; }
.dropdown:hover .dropdown-content { display: block; }
.logo-container { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 101; }
.logo-image { width: 200px; max-height: 55px; height: auto; object-fit: contain; }

.mobile-menu-button { display: none; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); background: transparent; border: none; color: #e0e0e0; font-size: 24px; cursor: pointer; z-index: 102; }
.mobile-menu { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: rgba(30, 30, 50, 0.9); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); z-index: 99; padding-top: 70px; transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); box-shadow: -5px 0 20px rgba(0, 0, 0, 0.25); border-left: 1px solid rgba(255, 255, 255, 0.12); }
.mobile-menu.active { right: 0; }
.menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); z-index: 98; opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s; }
.menu-overlay.active { opacity: 1; visibility: visible; }
.mobile-menu-item, .mobile-menu-title { display: block; padding: 15px 30px; font-size: 18px; font-weight: 500; color: #e0e0e0; text-decoration: none; transition: background-color 0.3s, color 0.3s; }
.mobile-menu-title { font-weight: 600; color: #00d65b; padding-bottom: 5px; }
.mobile-menu-item.sub-item { padding-left: 45px; font-size: 16px; color: #c0c0d0; }
.mobile-menu-item.active, .mobile-menu-item:hover { background-color: rgba(255, 255, 255, 0.1); color: #00d65b; }

footer { background-color: #050510; padding: 60px 5% 30px; margin-top: 60px; border-top: 1px solid rgba(0, 214, 91, 0.2); }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; margin-bottom: 40px; }
.footer-section { flex: 1; min-width: 200px; }
.footer-section h4 { color: #00d65b; margin-bottom: 25px; font-size: 18px; font-weight: 600; }
.footer-section ul { list-style-type: none; padding: 0; }
.footer-section li { margin-bottom: 12px; }
.footer-section a { color: #b0b0c0; text-decoration: none; transition: color 0.3s, padding-left 0.3s; }
.footer-section a:hover { color: #00d65b; padding-left: 5px; }
.copyright { text-align: center; margin-top: 50px; padding-top: 25px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 14px; color: rgba(255, 255, 255, 0.6); }

/* =================================
   Form Page-Specific Styles
   ================================= */
main { padding: 120px 20px 40px; }
.form-wrapper { max-width: 800px; margin: 0 auto; background-color: rgba(13, 27, 42, 0.75); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 40px 50px; border-radius: 20px; border: 1px solid rgba(0, 214, 91, 0.15); }
.form-header { text-align: center; margin-bottom: 40px; }
.form-header h1 { font-size: 42px; font-weight: 700; color: #00d65b; margin-bottom: 15px; }
.form-header p { font-size: 18px; color: #c0c0d0; max-width: 600px; margin: 0 auto; line-height: 1.6; }
.required-notice { text-align: right; font-size: 14px; color: #a0a0b0; margin-bottom: 20px; }
.form-group { margin-bottom: 25px; }
.form-group label { display: block; margin-bottom: 10px; font-size: 16px; font-weight: 500; color: #c0c0d0; }
.form-group label span { color: #00d65b; }
.form-input, .form-textarea, .form-select { width: 100%; padding: 15px; background-color: #101d35; border: 2px solid #2a3a5e; border-radius: 8px; color: #f0f0f0; font-size: 16px; transition: border-color 0.3s, box-shadow 0.3s; }
.form-textarea { min-height: 120px; resize: vertical; }
.form-select { -webkit-appearance: none; -moz-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2300d65b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 1.2em; padding-right: 3rem; }
.form-select option { background: #101d35; color: #f0f0f0; }
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: #00d65b; box-shadow: 0 0 10px rgba(0, 214, 91, 0.2); }
.radio-group { display: flex; gap: 20px; }
.radio-label { display: flex; align-items: center; cursor: pointer; }
.radio-label input { display: none; }
.radio-custom { width: 20px; height: 20px; border: 2px solid #4ddcff; border-radius: 50%; margin-right: 10px; display: flex; align-items: center; justify-content: center; transition: border-color 0.3s; }
.radio-custom::after { content: ''; width: 10px; height: 10px; background-color: #00d65b; border-radius: 50%; transform: scale(0); transition: transform 0.2s; }
.radio-label input:checked + .radio-custom { border-color: #00d65b; }
.radio-label input:checked + .radio-custom::after { transform: scale(1); }
.checkbox-label { display: flex; align-items: center; font-size: 14px; color: #b0b0c0; cursor: pointer; }
.checkbox-label input { display: none; }
.checkbox-custom { width: 20px; height: 20px; border: 2px solid #4ddcff; border-radius: 4px; margin-right: 15px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: border-color 0.3s, background-color 0.3s; }
.checkbox-custom svg { width: 14px; height: 14px; stroke: #0d1b2a; stroke-width: 3; transform: scale(0); transition: transform 0.2s; }
.checkbox-label input:checked + .checkbox-custom { background-color: #00d65b; border-color: #00d65b; }
.checkbox-label input:checked + .checkbox-custom svg { transform: scale(1); }
.submit-btn { width: 100%; padding: 16px; border: none; border-radius: 8px; background-color: #00d65b; color: #0d1b2a; font-size: 18px; font-weight: 700; cursor: pointer; transition: all 0.3s ease; }
.submit-btn:hover { background-color: #00b84e; transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0, 214, 91, 0.25); }

/* Media Queries */
@media (max-width: 768px) { .mobile-menu-button { display: block; } .nav-left, .nav-right { display: none; } .logo-container { left: 20px; transform: translate(0, -50%); } .form-wrapper { padding: 30px 25px; } }
@media (max-width: 576px) { main { padding-top: 80px; padding-left: 10px; padding-right: 10px;} .navbar { width: 90%; top: 10px; border-radius: 25px; } .footer-section { min-width: 100%; text-align: center; } .form-wrapper { padding: 25px 15px; } }
