/*!
 * Modern Enhanced Header & Footer CSS
 * Advanced styling with search autosuggest and login functionality
 * Version: 2.0.0
 */

/* ==========================================================================
   TOP BAR STYLES
   ========================================================================== */

.top-bar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 0;
    font-size: 13px;
}

.top-bar-left .top-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.top-bar-left .top-info i {
    color: #ffd700;
    font-size: 14px;
}

.top-bar-right {
    text-align: right;
}

.user-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

.login-btn, .register-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-btn:hover, .register-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

.register-btn {
    background: #28a745;
    border-color: #28a745;
}

.register-btn:hover {
    background: #218838;
    border-color: #218838;
}

/* ==========================================================================
   MODERN HEADER STYLES
   ========================================================================== */

.modern-header {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

/* Logo Section */
.header-logo .logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.header-logo .logo-img {
    width: 145px;
    height: auto;
    transition: transform 0.3s ease;
}

.header-logo .logo-link:hover .logo-img {
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1;
}

.brand-tagline {
    font-size: 11px;
    color: #6c757d;
    font-weight: 500;
    margin-top: 2px;
}

/* ==========================================================================
   ADVANCED SEARCH STYLES
   ========================================================================== */

.advanced-search-container {
    position: relative;
    max-width: 100%;
}

.search-wrapper {
    position: relative;
}

.search-input-container {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    padding: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.search-input-container:focus-within {
    border-color: #007bff;
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.15);
    background: white;
}

.search-icon {
    color: #6c757d;
    margin-left: 15px;
    margin-right: 10px;
    font-size: 16px;
}

.advanced-search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 0;
    font-size: 14px;
    color: #2c3e50;
    outline: none;
}

.advanced-search-input::placeholder {
    color: #6c757d;
    font-weight: 400;
}

.search-filters {
    display: flex;
    gap: 8px;
    margin-left: 10px;
}

.search-filter {
    border: none;
    background: white;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 12px;
    color: #495057;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.search-filter:focus {
    outline: none;
    box-shadow: 0 2px 10px rgba(0, 123, 255, 0.2);
}

.advanced-search-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.advanced-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

/* Search Suggestions */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    margin-top: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    max-height: 400px;
    overflow-y: auto;
}

.search-suggestions.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.suggestions-header {
    padding: 15px 20px 10px;
    border-bottom: 1px solid #f1f3f4;
    font-weight: 600;
    color: #495057;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.suggestions-list {
    padding: 10px 0;
}

.suggestion-item {
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 3px solid transparent;
}

.suggestion-item:hover {
    background: #f8f9fa;
    border-left-color: #007bff;
}

.suggestion-icon {
    color: #6c757d;
    font-size: 14px;
    width: 16px;
}

.suggestion-text {
    flex: 1;
    font-size: 14px;
    color: #2c3e50;
}

.suggestion-category {
    font-size: 11px;
    color: #6c757d;
    background: #e9ecef;
    padding: 2px 8px;
    border-radius: 10px;
}

.suggestions-footer {
    padding: 10px 20px 15px;
    border-top: 1px solid #f1f3f4;
    text-align: center;
}

.view-all-link {
    color: #007bff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.view-all-link:hover {
    text-decoration: underline;
}

/* ==========================================================================
   NAVIGATION STYLES
   ========================================================================== */

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.quick-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.quick-action {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: #f8f9fa;
    color: #495057;
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.quick-action:hover {
    background: #e9ecef;
    color: #007bff;
    text-decoration: none;
    transform: translateY(-1px);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #dc3545;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
}

.main-navigation .nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-item.has-dropdown {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 0;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.nav-link.dropdown-trigger {
    cursor: pointer;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #007bff;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #007bff;
    text-decoration: none;
}

.nav-link:hover::after {
    width: 100%;
}

.dropdown-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
    margin-left: 4px;
}

.nav-item:hover .dropdown-arrow,
.nav-item.active .dropdown-arrow {
    transform: rotate(180deg);
}

/* Mega Dropdown */
.mega-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 10px;
    pointer-events: none;
}

.nav-item:hover .mega-dropdown,
.nav-item.active .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* Keep dropdown open when hovering over it */
.mega-dropdown:hover {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.dropdown-content {
    padding: 20px;
}

.dropdown-grid {
    display: grid;
    gap: 8px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    color: #495057;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 14px;
    border-left: 3px solid transparent;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: #007bff;
    text-decoration: none;
    border-left-color: #007bff;
    transform: translateX(5px);
}

.item-icon {
    font-size: 10px;
    color: #007bff;
}

/* ==========================================================================
   MODERN FOOTER STYLES
   ========================================================================== */

/* Modern Newsletter Section */
.modern-newsletter-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.modern-newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.newsletter-wrapper {
    position: relative;
    z-index: 2;
}

.newsletter-content {
    color: white;
}

.newsletter-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: #ffd700;
}

.newsletter-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.newsletter-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.9;
}

.newsletter-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
}

.feature-item i {
    color: #28a745;
    font-size: 16px;
}

.newsletter-form-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.newsletter-form-wrapper {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 400px;
}

.form-title {
    color: #2c3e50;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.modern-newsletter-form .form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.modern-newsletter-form .form-group {
    flex: 1;
    margin-bottom: 15px;
}

.modern-newsletter-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

.modern-newsletter-form .form-control:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.modern-subscribe-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.modern-subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.modern-subscribe-btn:hover .btn-shine {
    left: 100%;
}

.form-note {
    text-align: center;
    font-size: 12px;
    color: #6c757d;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Modern Footer Area */
.modern-footer-area {
    background: #2c3e50;
    color: #ecf0f1;
    position: relative;
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-widget {
    margin-bottom: 30px;
}

/* Company Widget */
.company-widget .modern-company-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.company-widget .modern-company-logo img {
    width: 50px;
    height: auto;
}

.company-info .company-name {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1;
}

.company-info .company-tagline {
    font-size: 12px;
    color: #bdc3c7;
    font-weight: 500;
    margin-top: 3px;
}

.company-description {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 14px;
}

/* App Download Section */
.app-download-section {
    margin-top: 25px;
}

.download-title {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.app-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.app-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: #34495e;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid #4a5f7a;
}

.app-btn:hover {
    background: #4a5f7a;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.app-btn i {
    font-size: 20px;
}

.btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.btn-text .small {
    font-size: 10px;
    opacity: 0.8;
}

.btn-text .large {
    font-size: 12px;
    font-weight: 600;
}

/* Links Widget */
.links-widget .widget-title {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.links-widget .widget-title i {
    color: #007bff;
    font-size: 16px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links li a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
}

.footer-links li a::before {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 10px;
    color: #007bff;
    transition: transform 0.3s ease;
}

.footer-links li a:hover {
    color: #007bff;
    text-decoration: none;
    transform: translateX(5px);
}

.footer-links li a:hover::before {
    transform: translateX(3px);
}

/* Contact Widget */
.contact-widget .widget-title {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-widget .widget-title i {
    color: #007bff;
    font-size: 16px;
}

.contact-info {
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
}

.contact-item i {
    color: #007bff;
    width: 16px;
    text-align: center;
}

.contact-item a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #007bff;
    text-decoration: none;
}

/* Social Media */
.social-media-section {
    margin-top: 20px;
}

.social-title {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.social-link.facebook { background: #3b5998; }
.social-link.twitter { background: #1da1f2; }
.social-link.instagram { background: #e4405f; }
.social-link.youtube { background: #ff0000; }
.social-link.linkedin { background: #0077b5; }
.social-link.telegram { background: #0088cc; }

.social-link:hover {
    color: white;
    text-decoration: none;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Trust Section */
.trust-section {
    background: #1a252f;
    padding: 40px 0;
    border-top: 1px solid #34495e;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.trust-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.trust-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.trust-content {
    text-align: left;
}

.trust-number {
    font-size: 24px;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 5px;
    line-height: 1;
}

.trust-label {
    font-size: 12px;
    color: #bdc3c7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Footer Bottom */
.footer-bottom {
    background: #1a252f;
    padding: 20px 0;
    border-top: 1px solid #34495e;
}

.copyright-text p {
    color: #bdc3c7;
    margin: 0;
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #007bff;
    text-decoration: none;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    color: white;
    text-decoration: none;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

/* ==========================================================================
   MOBILE NAVIGATION
   ========================================================================== */

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: #f8f9fa;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    height: 100%;
    background: white;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-nav-overlay.active .mobile-nav-content {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-logo img {
    width: 30px;
    height: auto;
}

.mobile-logo span {
    font-weight: 700;
    color: #2c3e50;
}

.mobile-nav-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #6c757d;
    cursor: pointer;
    padding: 5px;
}

.mobile-search {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    gap: 10px;
}

.mobile-search-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #e9ecef;
    border-radius: 25px;
    font-size: 14px;
}

.mobile-search-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 25px;
    cursor: pointer;
}

.mobile-nav-menu {
    padding: 20px 0;
}

.mobile-nav-item {
    border-bottom: 1px solid #f1f3f4;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
}

.mobile-nav-link:hover {
    background: #f8f9fa;
    color: #007bff;
    text-decoration: none;
}

.mobile-submenu {
    background: #f8f9fa;
    display: none;
}

.mobile-nav-item.active .mobile-submenu {
    display: block;
}

.mobile-submenu-link {
    display: block;
    padding: 12px 40px;
    color: #495057;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #e9ecef;
}

.mobile-submenu-link:hover {
    background: white;
    color: #007bff;
    text-decoration: none;
}

.mobile-nav-footer {
    padding: 20px;
    border-top: 1px solid #e9ecef;
}

.mobile-user-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-login-btn, .mobile-register-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mobile-login-btn {
    background: #f8f9fa;
    color: #495057;
    border: 1px solid #e9ecef;
}

.mobile-register-btn {
    background: #007bff;
    color: white;
}

.mobile-login-btn:hover {
    background: #e9ecef;
    color: #007bff;
    text-decoration: none;
}

.mobile-register-btn:hover {
    background: #0056b3;
    color: white;
    text-decoration: none;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 991px) {
    .main-navigation {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .quick-actions .action-text {
        display: none;
    }
    
    .search-filters {
        display: none;
    }
    
    .advanced-search-btn span {
        display: none;
    }
    
    .trust-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }
    
    .trust-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .trust-content {
        text-align: center;
    }
    
    /* Ensure dropdowns don't show on mobile */
    .mega-dropdown {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .modern-header {
        padding: 10px 0;
    }
    
    .logo-text {
        display: none;
    }
    
    .header-logo .logo-img {
        width: 145px;
    }
    
    .advanced-search-container {
        order: 3;
        margin-top: 15px;
    }
    
    .search-input-container {
        padding: 6px;
    }
    
    .advanced-search-input {
        font-size: 13px;
        padding: 6px 0;
    }
    
    .advanced-search-btn {
        padding: 8px 15px;
        font-size: 13px;
    }
    
    .quick-actions {
        gap: 10px;
    }
    
    .quick-action {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .newsletter-title {
        font-size: 24px;
    }
    
    .newsletter-form-wrapper {
        padding: 20px;
    }
    
    .modern-newsletter-form .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .footer-main {
        padding: 40px 0 30px;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
    }
    
    .copyright-text {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .newsletter-features {
        display: none;
    }
    
    .newsletter-form-wrapper {
        margin: 0 15px;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .app-buttons {
        flex-direction: column;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
    }
}
