:root {
    --primary: #2563eb;
    --primary-foreground: #ffffff;
    --foreground: #111827;
    --muted-foreground: #6b7280;
    --background: #ffffff;
    --border: #e5e7eb;
}
/* Header section start */
.navbar {
    padding: 0.75rem 0; /* Vertical padding for consistent spacing */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    margin-right: 1rem; /* Space after the logo */
    font-weight: bold;
    font-size: 1.5rem;
}

.nav-link {
    transition: color 0.2s ease, background-color 0.2s ease;
    font-size: 14px;
}

.nav-link:hover {
    color: #2563eb !important;
    background-color: #f8f9fa;
}

.nav-link.active {
    background-color: #dbeafe;
    color: #1e40af !important;
}

.dropdown-menu {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.375rem;
}

.dropdown-item:hover {
    background-color: #eff6ff;
    color: #2563eb;
}

.btn-signin {
    background-color: #2563eb;
    color: white;
}

.btn-signin:hover {
    background-color: #1e40af;
    color: white;
}

.btn-signup {
    background-color: #f3f4f6;
    color: #374151;
}

.btn-signup:hover {
    background-color: #e5e7eb;
}

.mobile-categories {
    border-top: 1px solid #e5e7eb;
}

.category-header {
    font-size: 0.875rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    main {
        padding-top: 3rem; /* Smaller padding for mobile */
    }

    .navbar-brand {
        margin-right: 0.5rem; /* Reduced logo spacing for mobile */
    }
}

/* Footer section start */

footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
    color: #fff;
    padding: 4rem 0 2rem;
    font-family: "Segoe UI", Arial, sans-serif;
}
.footer-logo {
    max-width: 180px;
    height: auto;
    margin-bottom: 1.5rem;
}
.footer-section h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #f8f9fa;
    position: relative;
}
.footer-section h5::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: #0d6efd;
}
.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s, transform 0.3s;
}
.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}
.social-icons a {
    color: #fff;
    font-size: 1.8rem;
    margin: 0 0.75rem;
    transition: color 0.3s, transform 0.3s;
}
.social-icons a:hover {
    color: #0d6efd;
    transform: scale(1.2);
}
.contact-info p {
    margin-bottom: 0.5rem;
    color: #adb5bd;
}
.contact-info i {
    margin-right: 0.5rem;
    color: #0d6efd;
}
.newsletter input[type="email"] {
    background: #2c3e50;
    border: 1px solid #495057;
    color: #fff;
    padding: 0.5rem;
    border-radius: 5px 0 0 5px;
}
.newsletter button {
    background: #0d6efd;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0 5px 5px 0;
    transition: background 0.3s;
}
.newsletter button:hover {
    background: #0b5ed7;
}
.trending-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-600);
    font-size: 0.75rem;
}

/* Footer */
.footer-section {
    background-color: var(--gray-900);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-content p {
    color: #d1d5db;
    font-size: 0.875rem;
    margin: 0;
}

.footer-link {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

.footer-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #d1d5db;
    font-size: 0.875rem;
}

.footer-bottom {
    border-top: 1px solid #374151;
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.875rem;
    margin: 0;
}
