html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #fff;
    border-bottom: 1px solid rgba(221, 221, 221, 0.5);
    transition: background-color 0.3s ease;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header.scrolled {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
}

.auth button {
    margin-left: 10px;
    padding: 5px 10px;
    color: #000;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
}

.auth button:hover {
    background-color: #007bff;
    color: #fff;
}

.auth a {
    color: inherit;
    text-decoration: none;
}

.nav-icon, .profile-icon, .filter-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section Styles */
.hero {
    text-align: center;
    padding: 50px 20px;
    background-image: url(team.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 500px;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    z-index: 1;
    text-shadow: 1px 3px 4px rgb(126, 125, 128);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hero p {
    font-size: 18px;
    color: #cdc5c5;
    position: relative;
    z-index: 1;
}

/* Search Container Styles */
.search-container {
    margin-top: 20vh;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
    box-shadow: 1px 2px 2px 3px rgb(183, 178, 178);
}

.search-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    align-items: center;
}

.form-group {
    position: relative;
    height: 50px;
}

.form-group1 {
    position: relative;
    height: 50px;
    border-radius: 10px;
}

.search-container input, .search-container select {
    width: 100%;
    height: 100%;
    padding: 5px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
    box-shadow: 1px 2px 2px 3px rgb(183, 178, 178);
}

.search-container input:focus, .search-container select:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.search-container button {
    width: 100%;
    height: 100%;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 1px 2px 2px 3px rgb(183, 178, 178);
    transition: background-color 0.3s ease;
}

.search-container button:hover {
    background-color: #0056b3;
}

.search-container button a {
    color: white;
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
    line-height: 50px;
}

/* Search Suggestions */
#searchSuggestions {
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    max-height: 150px;
    overflow-y: auto;
    width: 100%;
    z-index: 1000;
    display: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#searchSuggestions div {
    padding: 10px 15px;
    cursor: pointer;
}

#searchSuggestions div:hover {
    background-color: #f1f1f1;
}

/* Profile Section */
#profile {
    display: none;
    position: fixed;
    top: 80px;
    right: 20px;
    width: 300px;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    overflow-y: auto;
}

#profile h1 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.profile-detail {
    margin: 10px 0;
    font-size: 14px;
    color: #555;
}

.profile-detail label {
    font-weight: bold;
    color: #333;
}

.social-links {
    display: inline-block;
    flex-direction: column;
    margin: 10px 0;
}

.social-links a {
    color: #333;
    font-size: 24px;
    text-decoration: none;
    margin: 10px 0;
    margin-right: 10px;
}

.social-links a:hover {
    color: #0077b5;
}

/* Main Content Area */
.main-content {
    display: flex;
    min-height: calc(100vh - 500px);
}

/* Filter Sidebar Styles */
.filter-sidebar {
    width: 250px;
    background-color: #F2F2F2;
    padding: 20px;
    border-right: 3px solid #928787;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 20px;
}

.clear-all {
    cursor: pointer;
    text-decoration: none;
    align-self: center;
    margin-left: auto;
    color: #6c757d;
}

.filter-section {
    margin-top: 20px;
}

.filter-section h6 {
    font-weight: bold;
    margin-bottom: 10px;
}

.filter-section input,
.filter-section select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Job Listings Styles */
.job-listings {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.card {
    background-color: #fff;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #007bff;
    box-shadow: 6px 6px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(0) scale(1.02);
}

.header {
    display: flex;
    align-items: center;
}

.header img {
    border-radius: 30%;
    margin-right: 15px;
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.header-text h2 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 5px;
}

.header-text .sub-text {
    color: #888;
    font-size: 0.9rem;
}

.details p {
    display: inline-block;
    color: #3c3c3c;
    font-size: 0.9rem;
    padding: 5px 10px;
    margin-top: 15px;
    margin-right: 5px;
}

.tags span {
    display: inline-block;
    background-color: #eef1f5;
    color: #555;
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 20px;
    margin-right: 5px;
    margin-bottom: 5px;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.footer .enrolled {
    font-size: 0.9rem;
    color: #555;
}

.footer .deadline {
    font-size: 0.9rem;
    color: #f44336;
}

.footer button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.footer button:hover {
    background-color: #0056b3;
}

/* Footer Styles */
.footer-part {
    background-color: rgb(11, 11, 11);
    padding: 40px 0;
    color: white;
}

.footer-part h4 {
    color: white;
    font-size: 25px;
    margin-left: 50px;
    margin-top: 40px;
}

.footer-part h2 {
    color: rgb(255, 255, 255);
    font-size: 30px;
    margin-left: 50px;
    margin-top: 0px;
}

.footer-part ul {
    display: flex;
    flex-wrap: wrap;
    margin-left: 50px;
    margin-top: 20px;
    list-style-type: none;
    transition: all 5s;
    transition: color 0.5s ease, transform 0.5s ease;
    animation-direction: alternate;
    animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-part li {
    margin-right: 20px;
    margin-top: 20px;
    color: rgb(255, 255, 255);
    font-size: 20px;
    width: 200px;
}

.footer-part a {
    color: rgb(255, 255, 255);
    text-decoration: none;
}

.footer-part h6 {
    color: rgb(255, 255, 255);
    font-size: 15px;
    margin-top: 6px;
    margin-right: 30px;
}

.footer-part i {
    margin-right: 10px;
}

.line {
    width: 50%;
    height: 1px;
    background-color: rgb(255, 255, 255);
    margin: 30px auto;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: aliceblue;
    margin-top: 20px;
}

.logo {
    margin: 0;
}

.copyright {
    font-size: 20px;
    margin-top: 10px;
    text-align: center;
}

.scroll {
    color: rgb(237, 10, 10);
    font-size: 17px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    padding: 10px 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-icon, .profile-icon, .filter-icon {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: rgba(248, 249, 250, 0.9);
        border-bottom: 1px solid #ddd;
        z-index: 1001;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
        text-align: center;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .search-container {
        margin-top: 10vh;
        padding: 15px;
    }

    .search-section {
        grid-template-columns: 1fr;
    }

    #profile {
        width: 100%;
        height: auto;
        top: 60px;
        right: 0;
        border-radius: 0;
    }

    .auth {
        display: none;
    }

    .main-content {
        flex-direction: column;
    }

    .filter-sidebar {
        display: none;
        width: 100%;
        border-right: none;
        border-bottom: 3px solid #928787;
    }

    .filter-sidebar.active {
        display: block;
    }

    .footer-part {
        padding: 20px 10px;
    }

    .footer-part h4, .footer-part h2 {
        margin-left: 10px;
        font-size: 20px;
    }

    .footer-part2 li{
        display:inline-block ;
    }

    .line {
        width: 90%;
    }

    .footer-bottom {
        height: auto;
        margin-top: 10px;
    }

    .copyright {
        font-size: 14px;
    }

    .scroll {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .search-container {
        margin-top: 5vh;
        padding: 10px;
    }

    .form-group {
        height: 40px;
    }

    .search-container input, .search-container select {
        font-size: 0.8rem;
    }
}
#mainsech{
   
}