/* Header */
header {
    background-color: var(--secondary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 70px; /* Adjust based on your logo size */
    width: auto;
    transition: transform 0.3s;
}

.logo img:hover {
    transform: scale(1.05);
}

/* Powered by Mr. Recruiter */
.powered-by {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    margin-left: auto;
    margin-right: 30px;
}

.powered-by-logo {
    height: 40px;
    width: auto;
    transition: transform 0.3s;
}

.powered-by:hover .powered-by-logo {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: all 0.3s;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 16px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background-color: rgba(252, 237, 32, 0.1);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.3s;
}

.mobile-menu-btn:hover {
    background-color: rgba(252, 237, 32, 0.1);
}

/* Footer */
footer {
    background-color: var(--secondary);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 20px;
}

.footer-section p, .footer-section a {
    color: #bbb;
    margin-bottom: 10px;
    display: block;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary);
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.social-icons a {
    color: var(--white);
    font-size: 20px;
    transition: all 0.3s;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
}

.social-icons a:hover {
    color: var(--secondary);
    background-color: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    color: #bbb;
    font-size: 14px;
}

/* Responsive Header/Footer */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 0;
        flex-wrap: wrap;
    }
    
    .logo img {
        height: 40px; /* Smaller logo on mobile */
    }
    
    .powered-by {
        display: none; /* Mobile pe hide kar dete hain */
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--secondary);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        border-top: 2px solid var(--primary);
    }
    
    .nav-links.show {
        display: flex;
    }
    
    .nav-links li {
        margin: 10px 0;
    }
    
    .nav-links a {
        display: block;
        padding: 12px 15px;
        font-size: 16px;
        text-align: center;
        border-radius: 5px;
        background-color: rgba(255, 255, 255, 0.05);
    }
    
    .nav-links a:hover,
    .nav-links a.active {
        background-color: rgba(252, 237, 32, 0.2);
        color: var(--primary);
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .footer-section h3 {
        font-size: 18px;
    }
    
    .footer-section p, .footer-section a {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 35px; /* Even smaller for very small screens */
    }
    
    .mobile-menu-btn {
        font-size: 20px;
        padding: 8px;
    }
    
    .nav-links a {
        padding: 10px 12px;
        font-size: 15px;
    }
}