/* Reset and Base Styles */ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; color: #333; background-color: #f8f9fa; } .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; } /* Header */ .header { background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%); color: white; padding: 1rem 0; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); position: sticky; top: 0; z-index: 100; } .header .container { display: flex; justify-content: space-between; align-items: center; } .logo { font-size: 1.5rem; font-weight: bold; } .nav-toggle { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; } .nav-menu { display: flex; list-style: none; gap: 2rem; } .nav-menu a { color: white; text-decoration: none; font-weight: 500; transition: color 0.3s ease; } .nav-menu a:hover { color: #ecf0f1; text-shadow: 0 0 5px rgba(255, 255, 255, 0.3); } /* Hero Section */ .hero { text-align: center; padding: 3rem 0; background: white; border-radius: 10px; margin: 2rem 0; box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1); } .hero h2 { font-size: 2.5rem; margin-bottom: 1rem; color: #2c3e50; } .hero p { font-size: 1.2rem; color: #7f8c8d; max-width: 600px; margin: 0 auto; } /* Quick Links */ .quick-links { margin: 3rem 0; } .quick-links h3 { font-size: 2rem; margin-bottom: 2rem; text-align: center; color: #2c3e50; } .quick-links-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; } .quick-link-card { background: white; padding: 2rem; border-radius: 10px; text-decoration: none; color: inherit; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; text-align: center; } .quick-link-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); } .quick-link-card .icon { font-size: 3rem; margin-bottom: 1rem; } .quick-link-card h4 { font-size: 1.3rem; margin-bottom: 0.5rem; color: #2c3e50; } .quick-link-card p { color: #7f8c8d; font-size: 0.95rem; } /* Recently Updated */ .recently-updated { background: white; padding: 2rem; border-radius: 10px; margin: 2rem 0; box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1); } .recently-updated h3 { font-size: 1.5rem; margin-bottom: 1rem; color: #2c3e50; } .update-list { display: flex; flex-direction: column; gap: 0.5rem; } .update-item { padding: 0.5rem; background: #f8f9fa; border-left: 4px solid #3498db; border-radius: 4px; } .update-item .date { font-size: 0.85rem; color: #7f8c8d; } /* Search Section */ .search-section { background: white; padding: 2rem; border-radius: 10px; margin: 2rem 0; box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1); } .search-section h3 { font-size: 1.5rem; margin-bottom: 1rem; color: #2c3e50; } .search-bar { display: flex; gap: 0.5rem; margin-bottom: 1rem; } .search-bar input { flex: 1; padding: 0.75rem; border: 2px solid #ddd; border-radius: 5px; font-size: 1rem; } .search-bar input:focus { outline: none; border-color: #3498db; } .search-bar button { padding: 0.75rem 1.5rem; background: #3498db; color: white; border: none; border-radius: 5px; cursor: pointer; font-size: 1rem; transition: background 0.3s ease; } .search-bar button:hover { background: #2980b9; } .search-results { margin-top: 1rem; } .search-result-item { padding: 1rem; background: #f8f9fa; border-radius: 5px; margin-bottom: 0.5rem; border-left: 4px solid #3498db; } .search-result-item h4 { color: #2c3e50; margin-bottom: 0.5rem; } /* Data Sections */ .data-section { background: white; padding: 2rem; border-radius: 10px; margin: 2rem 0; box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1); } .data-section h3 { font-size: 1.8rem; margin-bottom: 1.5rem; color: #2c3e50; border-bottom: 3px solid #3498db; padding-bottom: 0.5rem; } .table-container { overflow-x: auto; } /* Table Styles with Wrapping */ table { width: 100%; border-collapse: collapse; margin-top: 1rem; table-layout: fixed; } th, td { padding: 0.75rem; text-align: left; border-bottom: 1px solid #ddd; vertical-align: top; white-space: normal; word-wrap: break-word; overflow-wrap: break-word; max-width: 300px; } th { background: #f8f9fa; font-weight: 600; color: #2c3e50; position: sticky; top: 0; } tr:hover { background: #f8f9fa; } /* FAQ */ .faq-item { margin-bottom: 1rem; border: 1px solid #ddd; border-radius: 5px; } .faq-question { background: #f8f9fa; padding: 1rem; cursor: pointer; font-weight: 600; display: flex; justify-content: space-between; align-items: center; } .faq-question:hover { background: #e9ecef; } .faq-answer { padding: 1rem; display: none; } .faq-answer.active { display: block; } .faq-toggle { font-size: 1.2rem; transition: transform 0.3s ease; } .faq-toggle.rotated { transform: rotate(180deg); } /* Loading States */ .loading { text-align: center; color: #7f8c8d; font-style: italic; padding: 2rem; } .loading-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); display: flex; flex-direction: column; justify-content: center; align-items: center; z-index: 1000; color: white; } .loading-overlay.hidden { display: none; } .spinner { border: 4px solid rgba(255, 255, 255, 0.3); border-left: 4px solid white; border-radius: 50%; width: 50px; height: 50px; animation: spin 1s linear infinite; margin-bottom: 1rem; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* Error States */ .error { background: #fee; color: #c44; padding: 1rem; border-radius: 5px; border-left: 4px solid #c44; margin: 1rem 0; } .success { background: #efe; color: #484; padding: 1rem; border-radius: 5px; border-left: 4px solid #484; margin: 1rem 0; } /* Footer */ .footer { background: #2c3e50; color: white; text-align: center; padding: 2rem 0; margin-top: 3rem; } .footer p { margin-bottom: 0.5rem; } /* Responsive Design */ @media (max-width: 768px) { .nav-toggle { display: block; } .nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #2c3e50; flex-direction: column; padding: 1rem; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); } .nav-menu.active { display: flex; } .hero h2 { font-size: 2rem; } .hero p { font-size: 1rem; } .quick-links-grid { grid-template-columns: 1fr; } .search-bar { flex-direction: column; } .search-bar input, .search-bar button { width: 100%; } th, td { padding: 0.5rem; font-size: 0.9rem; } .container { padding: 0 15px; } } @media (max-width: 480px) { .hero { padding: 2rem 1rem; } .data-section { padding: 1rem; } .quick-link-card { padding: 1.5rem; } th, td { padding: 0.25rem; font-size: 0.8rem; } } /* Utility Classes */ .hidden { display: none; } .text-center { text-align: center; } .mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }