
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Hide scrollbar when sidebar is open */
body.sidebar-open {
    overflow: hidden;
}

/* ============================================
   TOP BLUE ANNOUNCEMENT BAR
   ============================================ */
.top-blue-line {
    background-color: #0046d5;
    height: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 60px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.top-blue-line.hidden {
    display: none;
}

.toggle-text {
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.top-links {
    display: flex;
    gap: 20px;
}

.top-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.top-links a:hover {
    opacity: 0.8;
}

/* Top Support Dropdown */
.top-support-dropdown {
    position: relative;
}

.top-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-dropdown-arrow {
    font-size: 0.6em;
    margin-left: 2px;
}

.top-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    min-width: 180px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
    z-index: 1100;
}

.top-support-dropdown.active .top-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.top-dropdown-menu .dropdown-item {
    display: block;
    padding: 8px 14px;
    color: #1f2937;
    font-size: 13px;
    text-decoration: none;
}

.top-dropdown-menu .dropdown-item:hover {
    background: #f3f4f6;
}

/* ============================================
   DESKTOP NAVIGATION BAR
   ============================================ */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 3rem;
    background-color: #ffffff;
    position: fixed;
    top: 30px;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.logo img {
    height: 35px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #333;
    font-weight: 500;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #0069ff;
}

/* Desktop Dropdown Styles */
.dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    color: #333;
    font-weight: 500;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    font-size: 18px;
}

.dropdown-arrow {
    font-size: 0.7em;
    margin-left: 2px;
    transition: transform 0.3s ease;
}

.dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

/* Desktop Dropdown Menus */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 10px;
}

.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Full-screen dropdown styles */
.fullscreen-dropdown {
    position: fixed;
    top: 90px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 0;
    padding: 0;
    z-index: 1010;
    display: flex;
    flex-direction: column;
}

.dropdown-main-content {
    flex: 1;
    overflow-y: auto;
}

.dropdown-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 30px 20px;
}

.dropdown-section {
    display: flex;
    flex-direction: column;
}

.dropdown-section-title {
    font-size: 1rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.dropdown-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dropdown-item {
    display: flex;
    align-items: flex-start;
    padding: 10px;
    border-radius: 5px;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.dropdown-item:hover {
    background-color: #f5f8ff;
    transform: translateX(3px);
}

.dropdown-icon {
    font-size: 1.5rem;
    margin-right: 10px;
    color: #0069ff;
    flex-shrink: 0;
}

.dropdown-text h4 {
    margin: 0 0 5px 0;
    font-size: 0.9rem;
    color: #333;
}

.dropdown-text p {
    margin: 0;
    font-size: 0.8rem;
    color: #666;
    font-weight: normal;
}

/* Explore Dropdown Specific */
.explore-dropdown .dropdown-container {
    grid-template-columns: 1fr 1fr;
    max-width: 700px;
    padding: 20px 30px;
}

.explore-sec {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.explore-image img {
    width: 100%;
    max-width: 320px;
    border-radius: 12px;
    margin-bottom: 10px;
}

.explore-content {
    text-align: left;
}

.explore-link {
    font-weight: 600;
    color: #000;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 4px;
}

.explore-link i {
    font-size: 12px;
}

/* Dropdown Footer */
.dropdown-footer {
    border-top: 1px solid #e6e9ef;
    padding: 10px 0;
    background: #f8f9fa;
}

.dropdown-footer-container {
    max-width: 850px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0 20px;
}

.dropdown-footer-section {
    display: flex;
    flex-direction: column;
}

.dropdown-footer-section h3 {
    font-size: 1rem;
    color: #0046d5;
    margin-bottom: 5px;
    font-weight: 600;
}

.dropdown-footer-section p {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 10px;
}

.dropdown-footer-button {
    display: inline-block;
    background-color: #0069ff;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.8rem;
    text-decoration: none;
    align-self: flex-start;
    transition: background-color 0.2s ease;
}

.dropdown-footer-button:hover {
    background-color: #0050d0;
}

.dropdown-footer-section.branding {
    align-items: flex-start;
}

.footer-logo {
    height: 25px;
    margin-bottom: 8px;
}

/* Desktop Auth Buttons */
.auth-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.login {
    color: #333;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.login:hover {
    color: #0069ff;
}

.signup {
    background-color: #0069ff;
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.signup:hover {
    background-color: #0050d0;
}

/* ============================================
   MOBILE NAVIGATION BAR
   ============================================ */
.mobile-navbar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 60px;
}

.mobile-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    height: 100%;
}

/* Mobile Hamburger Menu */
.mobile-hamburger {
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    padding: 0;
}

.mobile-hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(9px);
}

.mobile-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.mobile-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-9px);
}

/* Mobile Logo */
.mobile-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.mobile-logo img {
    height: 32px;
    width: auto;
}

/* Mobile Profile Icon */
.mobile-profile {
    display: flex;
    align-items: center;
}

.profile-icon-link {
    text-decoration: none;
}

.profile-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    border: 2px solid #e1e5eb;
}

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: white;
    z-index: 1001;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.mobile-sidebar.active {
    left: 0;
}

/* Sidebar Header */
.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #eaeaea;
    min-height: 60px;
}

.sidebar-logo img {
    height: 28px;
}

.sidebar-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.sidebar-close:hover {
    background-color: #f0f0f0;
}

/* Sidebar Content */
.sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 20px;
}

/* Mobile Auth Section */
.mobile-auth-section {
    display: flex;
    gap: 10px;
    padding: 16px;
    border-bottom: 1px solid #eaeaea;
}

.mobile-login-btn,
.mobile-signup-btn {
    flex: 1;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.mobile-login-btn {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}

.mobile-signup-btn {
    background: #0069ff;
    color: white;
    border: 1px solid #0069ff;
}

.mobile-login-btn:hover,
.mobile-signup-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Mobile Navigation Links */
.mobile-nav-links {
    padding: 16px 0;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.mobile-nav-link:hover {
    background-color: #f8f9fa;
}

.mobile-nav-link i {
    width: 24px;
    text-align: center;
    color: #0069ff;
}

/* Mobile Dropdown */
.mobile-dropdown {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
    color: #333;
    transition: background-color 0.2s ease;
}

.mobile-dropdown-header:hover {
    background-color: #f8f9fa;
}

.mobile-dropdown-header i:first-child {
    width: 24px;
    text-align: center;
    color: #0069ff;
}

.mobile-dropdown-arrow {
    margin-left: auto;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.mobile-dropdown.active .mobile-dropdown-arrow {
    transform: rotate(90deg);
}

.mobile-dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #fafbfd;
}

.mobile-dropdown.active .mobile-dropdown-content {
    max-height: 1000px;
}

.mobile-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px 12px 52px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-dropdown-item:last-child {
    border-bottom: none;
}

.mobile-dropdown-item:hover {
    background-color: #f5f8ff;
}

.mobile-dropdown-item i {
    width: 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

.mobile-dropdown-item div {
    flex: 1;
}

.mobile-dropdown-item h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
    color: #333;
}

.mobile-dropdown-item p {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

/* Mobile Contact Support */
.mobile-contact-support {
    padding: 16px;
    margin: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    color: white;
}

.mobile-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 10px;
}

.mobile-contact-info {
    font-size: 13px;
}

.mobile-contact-info p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

/* Mobile Sidebar Footer */
.mobile-sidebar-footer {
    padding: 16px;
    text-align: center;
    font-size: 12px;
    color: #666;
    border-top: 1px solid #eaeaea;
}

.mobile-sidebar-footer p {
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 10px 0;
}

.footer-links a {
    color: #0069ff;
    text-decoration: none;
    font-size: 12px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.copyright {
    font-size: 11px;
    color: #999;
    margin-top: 10px;
}

/* Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

/*.sidebar-overlay.active {*/
/*    opacity: 1;*/
/*    visibility: visible;*/
/*}*/

/* Main Content Area */
/* .main-content {
    padding-top: 120px;
    min-height: 100vh;
} */

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Hide desktop navbar on mobile */
@media (max-width: 930px) {
    .top-blue-line {
        display: none !important;
    }
    
    .navbar {
        display: none !important;
    }
    
    .mobile-navbar {
        display: block !important;
    }
    
    /* .main-content {
        padding-top: 60px;
    } */
}

/* Show desktop navbar on larger screens */
@media (min-width: 931px) {
    .mobile-navbar {
        display: none !important;
    }
    
    .navbar {
        display: flex !important;
    }
}

/* Tablet adjustments */
@media (max-width: 1024px) {
    .navbar {
        padding: 0.8rem 2rem;
    }
    
    .dropdown-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 20px;
    }
    
    .nav-links {
        gap: 1.5rem;
        margin-left: 50px;
    }
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .mobile-navbar-inner {
        padding: 0 12px;
    }
    
    .mobile-logo img {
        height: 28px;
    }
    
    .profile-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .sidebar-header {
        padding: 12px;
    }
    
    .mobile-sidebar {
        width: 90%;
    }
    
    .mobile-auth-section {
        flex-direction: column;
    }
    
    .mobile-login-btn,
    .mobile-signup-btn {
        width: 100%;
    }
}

/* Desktop dropdown optimizations */
@media (min-width: 931px) {
    .explore-dropdown .fullscreen-dropdown {
        position: fixed;
        top: 96px;
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
        width: min(600px, 88vw);
        height: auto;
        max-height: 80vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(230, 233, 239, 0.8);
        box-shadow: 0 10px 30px rgba(2, 18, 64, 0.12), 0 2px 8px rgba(2, 18, 64, 0.06);
        border-radius: 10px;
    }

    .products-dropdown .fullscreen-dropdown,
    .services-dropdown .fullscreen-dropdown {
        position: fixed;
        top: 96px;
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
        width: min(1020px, 88vw);
        max-height: 80vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(230, 233, 239, 0.8);
        box-shadow: 0 10px 30px rgba(2, 18, 64, 0.12), 0 2px 8px rgba(2, 18, 64, 0.06);
        border-radius: 10px;
        padding: 20px 18px;
    }
}