body {
    font-family: 'Open Sans', 'sans-serif';
}

/* Navigation Bar Styles */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1rem;
}

/* Logo Styles */
.nav-logo .logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #2c3e50;
}

.logo-img {
    height: 60px;
    width: auto;
    margin-right: 0.5rem;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: bold;
    color: #3882f1;
    font-family: 'Arial', sans-serif;
}

/* Navigation Menu Styles */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-item {
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #27ae60;
    background-color: #f8f9fa;
}

/* Sign Up Button Special Styling */
.btn-signup {
    background-color: #3882f1;
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
}

.btn-signup:hover {
    background-color: #219a52;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Mobile Responsive Styles */
@media screen and (max-width: 1024px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .nav-list {
        gap: 1.5rem;
    }
    
    .nav-link {
        font-size: 0.95rem;
        padding: 0.4rem 0.8rem;
    }
    
    .btn-signup {
        padding: 0.6rem 1.2rem;
    }
}

@media screen and (max-width: 768px) {
    .nav-container {
        padding: 1rem;
        position: relative;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 35px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        height: calc(100vh - 35px);
        text-align: center;
        transition: left 0.3s ease-in-out;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        padding: 1.5rem 0;
        z-index: 1000;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 2rem;
        height: 100%;
        justify-content: flex-start;
        padding-top: 2rem;
    }
    
    .nav-item {
        margin: 0;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }
    
    .nav-menu.active .nav-item {
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-menu.active .nav-item:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active .nav-item:nth-child(2) { transition-delay: 0.2s; }
    .nav-menu.active .nav-item:nth-child(3) { transition-delay: 0.3s; }
    
    .nav-link {
        padding: 1.5rem 2rem;
        display: block;
        width: 100%;
        font-size: 1.1rem;
        border-radius: 10px;
        margin: 0 2rem;
    }
    
    .btn-signup {
        margin: 1rem 2rem;
        padding: 1rem 2rem;
        border-radius: 50px;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .logo-img {
        height: 35px;
    }
    
    /* Add backdrop blur when menu is open */
    .nav-menu.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.3);
        z-index: -1;
    }
}

@media screen and (max-width: 480px) {
    .nav-container {
        padding: 0.8rem;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .logo-img {
        height: 30px;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 1.2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .btn-signup {
        margin: 1rem;
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .nav-menu {
        top: 30px;
        height: calc(100vh - 30px);
        padding: 1.5rem 0;
    }
}

@media screen and (max-width: 360px) {
    .nav-container {
        padding: 0.6rem;
    }
    
    .logo-text {
        font-size: 1rem;
        display: none; /* Hide text on very small screens */
    }
    
    .logo-img {
        height: 28px;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 1rem;
        margin: 0 0.5rem;
    }
}

/* Active menu toggle animation */
.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Add some top margin to body to account for fixed navbar */
/* body {
    margin-top: 80px;
} */
