/* =========================================
   Top Bar Design
   ========================================= */
.top-bar { background: #0a192f; color: #ffffff; padding: 10px 5%; display: flex; justify-content: space-between; align-items: center; font-size: 14px; border-bottom: 2px solid #ffc107; }
.top-bar .social-icons a { color: #ffc107; margin-right: 15px; font-size: 16px; transition: 0.3s; }
.top-bar .social-icons a:hover { color: #ffffff; }

/* =========================================
   Desktop Header & Navigation
   ========================================= */
.main-header { background: #ffffff; padding: 15px 5%; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 4px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; }
.logo { font-size: 26px; font-weight: 700; color: #0a192f; }
.logo span { color: #ffc107; }

.desktop-nav { display: block; }
.nav-links { list-style: none; display: flex; gap: 20px; align-items: center; margin: 0; }
.nav-links li { position: relative; }
.nav-links li a { text-decoration: none; color: #0a192f; font-weight: 600; font-size: 15px; transition: 0.3s; padding: 10px 0; display: block; }
.nav-links li a:hover { color: #007bff; }

.nav-contact-btn { background: #ffc107; padding: 8px 20px !important; border-radius: 5px; color: #0a192f !important; transition: 0.3s; }
.nav-contact-btn:hover { background: #0a192f; color: #ffc107 !important; }

/* Desktop Dropdown */
.dropdown-content { display: none; position: absolute; background-color: #ffffff; min-width: 230px; box-shadow: 0 8px 16px rgba(0,0,0,0.1); border-top: 3px solid #ffc107; top: 100%; left: 0; z-index: 100; border-radius: 0 0 5px 5px; }
.dropdown-content a { padding: 12px 20px !important; font-weight: 500; border-bottom: 1px solid #eee; }
.dropdown-content a:hover { background-color: #f4f7f6; color: #007bff; padding-left: 25px !important; }
.dropdown:hover .dropdown-content { display: block; }

/* =========================================
   Mobile Sidebar Menu (Premium Dark Theme)
   ========================================= */
.mobile-menu-btn { display: none; font-size: 28px; color: #0a192f; cursor: pointer; }

.mobile-sidebar { position: fixed; top: 0; right: -320px; width: 300px; height: 100vh; background: #0a192f; z-index: 2000; transition: 0.4s ease-in-out; box-shadow: -5px 0 15px rgba(0,0,0,0.5); overflow-y: auto; }
.mobile-sidebar.active { right: 0; }

.sidebar-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0,0,0,0.6); z-index: 1999; display: none; }
.sidebar-overlay.active { display: block; }

/* Sidebar Header */
.sidebar-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); background: #071222; }
.sidebar-header .logo { color: #ffffff; }
.close-btn { font-size: 24px; color: #ff3333; cursor: pointer; transition: 0.3s; }
.close-btn:hover { color: #ffc107; transform: rotate(90deg); }

/* Sidebar Links (White & Yellow Text) */
.sidebar-links { list-style: none; padding: 20px; }
.sidebar-links li { margin-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.sidebar-links li a { text-decoration: none; color: #dddddd; font-weight: 500; font-size: 16px; display: flex; justify-content: space-between; align-items: center; padding: 10px 0; transition: 0.3s; }
.sidebar-links li a:hover { color: #ffc107; padding-left: 8px; }

/* Mobile Dropdown Styling */
.mobile-dropdown-menu { display: none; list-style: none; padding-left: 15px; margin-top: 5px; border-left: 2px solid #ffc107; margin-bottom: 10px; }
.mobile-dropdown.open .mobile-dropdown-menu { display: block; }
.mobile-dropdown-menu li { border-bottom: none; margin-bottom: 5px; }
.mobile-dropdown-menu li a { font-size: 14px; color: #aaaaaa; padding: 5px 0; }
.mobile-dropdown-menu li a:hover { color: #ffffff; }
.btn-contact-mobile { background: #ffc107 !important; color: #0a192f !important; padding: 12px !important; text-align: center !important; border-radius: 5px !important; font-weight: 700 !important; margin-top: 20px !important; justify-content: center !important; display: flex !important;}

/* Mobile View Adjustments */
@media screen and (max-width: 991px) {
    .top-bar { flex-direction: column; text-align: center; justify-content: center; padding: 10px 5%; gap: 8px; }
    .hide-mobile { display: none; }
    .top-bar .social-icons { margin: 0 auto; }
    
    .main-header { display: flex; justify-content: space-between; align-items: center; padding: 15px 5%; }
    .logo { flex: 1; text-align: left; }
    
    .desktop-nav { display: none; }
    .mobile-menu-btn { display: block; margin-left: auto; }
}
