
.linksCol ul
{
    list-style-type: none;
}

.linksCol ul li
{
    display: inline-block;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 17px;
    color: var(--light);
}

.linksCol ul li:first-child
{
    padding-left: 0 !important;
}

.linksCol ul li:last-child
{
    padding-right: 0 !important;
}

.btnCol a.base-btn
{
    margin-left: 20px;
    width: 170px;
    background-color: var(--base-color);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    text-decoration: none;
    color: var(--light);
    font-size: 17px;
}

.btnCol a.simple-btn
{
    text-decoration:none;
    color: var(--light);
    margin-right: 10px;
    font-size: 17px;
}

nav .rightCol, nav .leftCol
{
    width: 500px;
}

nav .leftCol
{
    padding: 15px !important;
}

nav .leftCol img[alt="Logo"] {
    width: 130px !important;
}

nav
{
    background-color: var(--card-background);
}

.mainLogo
{
    background-color: var(--dark-btn);
    width: 150px;
}

.mainLogo img
{
    width: 150px;
}

.linksCol ul li a
{
    text-decoration: none !important;
    color: var(--light) !important;
    border-bottom: none !important;
}

/* Dark Mode Switcher Styles */
.dark-mode-switcher {
    position: relative;
    width: 80px;
    height: 35px;
    background: var(--card-background);
    border: 2px solid var(--base-color);
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 15px;
    overflow: hidden;
}

.dark-mode-switcher:hover {
    border-color: var(--hover-color);
    box-shadow: 0 0 20px var(--base-color-light);
}

.dark-mode-switcher::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 25px;
    height: 25px;
    background: var(--base-color);
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 2;
}

.dark-mode-switcher::after {
    content: '🌙';
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    font-size: 16px;
    opacity: 0.8;
    transition: all 0.3s ease;
    z-index: 1;
}

.dark-mode-switcher.light-mode::before {
    left: calc(100% - 30px);
    background: var(--yellow);
}

.dark-mode-switcher.light-mode::after {
    content: '☀️';
    right: auto;
    left: 10px;
    opacity: 1;
}

.dark-mode-switcher .switch-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--card-background) 0%, var(--base-background) 100%);
    border-radius: 40px;
    transition: all 0.3s ease;
}

.dark-mode-switcher.light-mode .switch-track {
    background: linear-gradient(90deg, var(--yellow) 0%, var(--orange) 100%);
}

/* Animation for the switch */
@keyframes switchGlow {
    0%, 100% { box-shadow: 0 0 8px var(--base-color-light); }
    50% { box-shadow: 0 0 25px var(--base-color); }
}

.dark-mode-switcher:hover {
    animation: switchGlow 2s infinite;
}

/* Profile Dropdown Styles */
.profile-dropdown-container {
    position: relative;
    display: inline-block;
}

.profile-trigger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--light);
    font-size: 16px;
    font-weight: 500;
}

.profile-trigger:hover {
    background-color: var(--hover-bg);
    transform: translateY(-2px);
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(176, 160, 254, 0.3);
    border: 2px solid var(--base-color);
    background: var(--card-background);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.user-avatar-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--base-color), var(--hover-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
}

.user-name {
    font-weight: 600;
    color: var(--light);
    font-family: var(--font-primary);
}

.profile-trigger i {
    transition: transform 0.3s ease;
    color: var(--base-color);
}

.profile-dropdown-container:hover .profile-trigger i {
    transform: rotate(180deg);
}

/* Profile Dropdown - Using same styling as user-header.css */
.profile-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 250px;
    background: var(--card-background);
    border: 1px solid var(--lighter-light);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 10px;
}

.profile-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--light);
    text-decoration: none;
    transition: background-color 0.2s ease;
    font-size: 14px;
}

.profile-menu-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--light);
    text-decoration: none;
    border-bottom-left-radius: 6px !important;
    border-bottom-right-radius: 6px !important;
}

.profile-menu-item i {
    width: 16px;
    text-align: center;
    color: var(--greyish);
}

.profile-menu-divider {
    height: 1px;
    background-color: var(--lighter-light);
}

.logout-menu-item {
    color: var(--light) !important;
}

.logout-menu-item:hover {
    background-color: var(--red) !important;
    color: var(--light) !important;
}

.logout-menu-item:hover i {
    color: var(--light) !important;
}

/* Hamburger Menu Styles */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 15px;
    transition: all 0.3s ease;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: var(--light);
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

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

/* Mobile Sidebar Styles */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: var(--card-background);
    border-left: 1px solid var(--lighter-light);
    z-index: 10000;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
}

.mobile-sidebar.open {
    right: 0;
}

.mobile-sidebar-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-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--lighter-light);
    background: var(--base-background);
}

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

.close-mobile-menu {
    background: none;
    border: none;
    color: var(--light);
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.close-mobile-menu:hover {
    background-color: var(--hover-bg);
}

.mobile-sidebar-content {
    padding: 20px;
}

.mobile-theme-section,
.mobile-language-section,
.mobile-nav-section,
.mobile-user-section {
    margin-bottom: 30px;
}

.mobile-theme-section h4,
.mobile-language-section h4,
.mobile-nav-section h4,
.mobile-user-section h4 {
    color: var(--light);
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--lighter-light);
}

/* Mobile Dark Mode Switcher Styles */
.mobile-theme-switcher {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.mobile-dark-mode-switcher {
    position: relative;
    width: 200px;
    height: 50px;
    background: var(--card-background);
    border: 2px solid var(--base-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-dark-mode-switcher:hover {
    border-color: var(--hover-color);
    box-shadow: 0 0 20px var(--base-color-light);
}

.mobile-switch-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--card-background) 0%, var(--base-background) 100%);
    border-radius: 25px;
    transition: all 0.3s ease;
    z-index: 1;
}

.mobile-switch-label {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--light);
    font-weight: 500;
    font-size: 14px;
}

.mobile-dark-mode-switcher.light-mode .mobile-switch-track {
    background: linear-gradient(90deg, var(--yellow) 0%, var(--orange) 100%);
}

.mobile-dark-mode-switcher.light-mode .theme-icon {
    content: '☀️';
}

.mobile-dark-mode-switcher .theme-icon {
    font-size: 16px;
    transition: all 0.3s ease;
}

.mobile-language-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-language-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    color: var(--light);
}

.mobile-language-option:hover {
    background-color: var(--hover-bg);
}

.mobile-language-option.active {
    background-color: var(--base-color);
    color: var(--light);
}

.mobile-language-option i {
    margin-left: auto;
    color: var(--base-color);
}

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

.mobile-nav-links li {
    margin-bottom: 5px;
}

.mobile-nav-links a {
    display: block;
    padding: 12px 15px;
    color: var(--light);
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    font-size: 16px;
}

.mobile-nav-links a:hover {
    background-color: var(--hover-bg);
    color: var(--light);
    text-decoration: none;
}

.mobile-user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--base-background);
    border-radius: 8px;
    margin-bottom: 15px;
}

.mobile-user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(176, 160, 254, 0.3);
    border: 2px solid var(--base-color);
    background: var(--card-background);
}

.mobile-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.mobile-user-avatar-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--base-color), var(--hover-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 18px;
    text-transform: uppercase;
}

.mobile-user-details {
    flex: 1;
}

.mobile-user-name {
    font-weight: 600;
    color: var(--light);
    font-size: 16px;
    margin-bottom: 4px;
}

.mobile-user-email {
    color: var(--greyish);
    font-size: 14px;
}

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

.mobile-user-links li {
    margin-bottom: 5px;
}

.mobile-user-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--light);
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    font-size: 15px;
}

.mobile-user-links a:hover {
    background-color: var(--hover-bg);
    color: var(--light);
    text-decoration: none;
}

.mobile-user-links a i {
    width: 16px;
    text-align: center;
    color: var(--greyish);
}

.mobile-logout {
    color: var(--light) !important;
}

.mobile-logout:hover {
    background-color: var(--red) !important;
    color: var(--light) !important;
}

.mobile-logout:hover i {
    color: var(--light) !important;
}

.mobile-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-login-btn,
.mobile-signup-btn {
    display: block;
    padding: 12px 20px;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-login-btn {
    background: transparent;
    color: var(--light);
    border: 1px solid var(--lighter-light);
}

.mobile-login-btn:hover {
    background: var(--hover-bg);
    color: var(--light);
    text-decoration: none;
}

.mobile-signup-btn {
    background: var(--base-color);
    color: var(--light);
    border: 1px solid var(--base-color);
}

.mobile-signup-btn:hover {
    background: var(--hover-color);
    border-color: var(--hover-color);
    color: var(--light);
    text-decoration: none;
}

.aboutDoubleCol .rightCol {
    overflow: hidden;
}

/* Body scroll lock when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
}

@media(max-width:1760px){
    nav .rightCol, nav .leftCol {
        width: 330px;
    }
    .normal-navbar .btnCol a.base-btn
    {
        margin-left: 0 !important;
    }
}

@media(max-width:1350px){
    .normal-navbar .linksCol ul li
    {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

@media(max-width:1300px){
    .mainLogo img, .mainLogo {
        width: 130px !important;
    }
}

@media(max-width:1240px){
    .normal-navbar .rightCol.btnCol {
        width: 320px !important;
    }
    .normal-navbar .btnCol a.base-btn
    {
        width: 125px !important;
    }
    .linksCol ul li
    {
        padding-left: 15px !important;
        padding-right: 15px !important;
        font-size: 16px !important;
    }
    .dark-mode-switcher
    {
        margin-right: 10px !important;
    }
    nav .leftCol {
        width: 310px !important;
    }
    nav .rightCol.btnCol {
        width: 225px !important;
    }
    .aboutDoubleCol .row.align-center.gap-90 {
        gap: 50px !important;
    }
}

@media(max-width:1180px){
    .normal-navbar .linksCol ul li
    {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}
@media(max-width:1100px){
    .linksCol ul li
    {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    .normal-navbar .dark-mode-switcher
    {
        width: 70px !important;
    }
    .normal-navbar .language-switcher-container {
        margin-left: 25px !important;
    }
    .normal-navbar .leftCol {
        padding-left: 0 !important;
    }
}

@media(max-width:1095px){
    .normal-navbar .linksCol ul li
    {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
    .normal-navbar .btnCol a.base-btn {
        width: 105px !important;
    }
    .normal-navbar .mainLogo img, .normal-navbar .mainLogo {
        width: 120px !important;
    }
    .normal-navbar .leftCol
    {
        width: 280px !important;
    }
}

@media(max-width:1040px){
    .normal-navbar .rightCol.btnCol {
        width: 290px !important;
    }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .desktop-nav {
        display: none;
    }
    nav .leftCol
    {
        padding-left: 0 !important;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    .profile-dropdown-container {
        display: none;
    }
    
    .language-switcher-container {
        display: none;
    }
    
    .btnCol a.base-btn,
    .btnCol a.simple-btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .mobile-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .dark-mode-switcher
    {
        margin-right: 0 !important;
    }
    .rightCol.btnCol {
        width: 145px !important;
    }
    .mobile-sidebar.open {
        right: 0;
    }
    .desktop-switcher-nav.dark-mode-switcher
    {
        display: none !important;
    }
    .profile-dropdown {
        right: -20px;
        width: 250px;
    }
    
    .profile-trigger {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .user-name {
        display: none;
    }
    
    .profile-info {
        gap: 4px;
    }
    
    .user-avatar {
        width: 28px;
        height: 28px;
    }
    
    .user-avatar img {
        width: 100%;
        height: 100%;
    }
    
    .user-avatar-fallback {
        width: 100%;
        height: 100%;
        font-size: 12px;
    }
}

/* Show mobile dark mode switcher only on screens 767px and below */
@media (max-width: 767px) {
    .mobile-theme-section {
        display: block;
    }
}

@media (min-width: 767px) {
    .mobile-theme-section {
        display: none;
    }
}