
/* SKILLMARKET - PREMIUM DESIGN */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #ffffff;
    color: #19152b;
}

/* NAVIGATION BAR */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 7%;
    background: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.logo {
    font-size: 27px;
    font-weight: bold;
    color: #21183d;
}

.logo span,
footer span {
    color: #8957e5;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #55516a;
    font-size: 15px;
    transition: 0.3s;
}

nav a:hover {
    color: #8957e5;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.login-btn {
    color: #30234c;
    text-decoration: none;
}

.join-btn {
    background: #8957e5;
    color: white;
    padding: 12px 22px;
    border-radius: 8px;
    text-decoration: none;
}

/* HERO SECTION */

.hero {
    background: linear-gradient(120deg, #f5f0ff, #ffffff);
    padding: 110px 7%;
}

.hero-content {
    max-width: 750px;
}

.tagline {
    color: #8957e5;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 13px;
}

.hero h1 {
    font-size: 62px;
    line-height: 1.15;
    margin-top: 25px;
    color: #21183d;
}

.hero h1 span {
    color: #8957e5;
}

.hero p {
    font-size: 18px;
    line-height: 1.8;
    color: #777187;
    margin-top: 25px;
    max-width: 580px;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    margin-top: 35px;
}

.primary-btn,
.secondary-btn {
    padding: 16px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.primary-btn {
    background: #8957e5;
    color: white;
}

.secondary-btn {
    border: 1px solid #8957e5;
    color: #8957e5;
}

.primary-btn:hover {
    background: #6840bb;
    transform: translateY(-3px);
}

.secondary-btn:hover {
    background: #f0eaff;
}

/* SEARCH SECTION */

.search-section {
    text-align: center;
    padding: 60px 20px;
}

.search-section h2 {
    font-size: 30px;
    color: #21183d;
}

.search-box {
    display: flex;
    justify-content: center;
    margin: 30px auto 0;
    max-width: 650px;
}

.search-box input {
    flex: 1;
    min-width: 0;
    padding: 17px;
    border: 1px solid #ddd5ef;
    border-radius: 8px 0 0 8px;
    outline: none;
    font-size: 15px;
}

.search-box input:focus {
    border-color: #8957e5;
}

.search-box button {
    background: #8957e5;
    color: white;
    border: none;
    padding: 0 28px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
}

/* CATEGORIES */

.categories {
    padding: 65px 7%;
    background: #faf9ff;
}

.section-heading {
    text-align: center;
    margin-bottom: 45px;
}

.section-heading span {
    color: #8957e5;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
}

.section-heading h2 {
    font-size: 36px;
    margin-top: 12px;
}

.section-heading p {
    color: #777187;
    margin-top: 12px;
}

.category-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.category-card {
    background: white;
    padding: 35px 25px;
    border: 1px solid #eee9f8;
    border-radius: 14px;
    transition: 0.3s;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 30px rgba(92, 55, 160, 0.12);
    border-color: #c9b2f4;
}

.category-icon {
    font-size: 35px;
    margin-bottom: 20px;
}

.category-card h3 {
    font-size: 19px;
    margin-bottom: 12px;
}

.category-card p {
    color: #777187;
    font-size: 14px;
}

/* FOOTER */

footer {
    background: #21183d;
    color: white;
    padding: 45px 20px;
    text-align: center;
}

footer h2 {
    margin-bottom: 15px;
}

footer p {
    color: #c7bfd9;
    margin-top: 12px;
}

/* MOBILE RESPONSIVE */

@media (max-width: 768px) {

    .navbar {
        flex-wrap: wrap;
        gap: 20px;
        padding: 20px;
    }

    nav {
        flex-wrap: wrap;
        gap: 15px;
    }

    .hero {
        padding: 75px 20px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-buttons {
        flex-wrap: wrap;
    }

    .category-container {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 480px) {

    .category-container {
        grid-template-columns: 1fr;
    }

    .search-box {
        flex-direction: column;
        gap: 10px;
    }

    .search-box input,
    .search-box button {
        width: 100%;
        border-radius: 8px;
        padding: 15px;
    }

}
/* Featured Freelancers Section */

.freelancers {
    padding: 70px 8%;
    background: #f8f6ff;
}

.freelancer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 35px;
}

.freelancer-card {
    background: white;
    padding: 30px 20px;
    text-align: center;
    border-radius: 18px;
    box-shadow: 0 5px 20px rgba(40, 20, 80, 0.08);
    transition: 0.3s;
}

.freelancer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(40, 20, 80, 0.15);
}

.profile-icon {
    font-size: 55px;
    margin-bottom: 15px;
}

.freelancer-card h3 {
    color: #21183d;
    margin-bottom: 8px;
}

.freelancer-card p {
    color: #777;
    margin-bottom: 12px;
}

.freelancer-card span {
    color: #8957e5;
    font-weight: bold;
}

.freelancer-card h4 {
    margin: 18px 0;
    color: #21183d;
}

.freelancer-card button {
    background: #8957e5;
    color: white;
    border: none;
    padding: 11px 25px;
    border-radius: 8px;
    cursor: pointer;
}

.freelancer-card button:hover {
    background: #6f3dcc;
}

/* Mobile Responsive */

@media (max-width: 768px) {
    .freelancer-container {
        grid-template-columns: 1fr;
    }
}
/* How It Works Section */

.how-it-works {
    padding: 70px 8%;
    background: white;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.step-card {
    padding: 30px;
    background: #f8f6ff;
    border-radius: 18px;
    text-align: center;
    transition: 0.3s;
}

.step-card:hover {
    transform: translateY(-8px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: #8957e5;
    color: white;
    font-size: 22px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-card h3 {
    color: #21183d;
    margin-bottom: 12px;
}

.step-card p {
    color: #777;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .steps-container {
        grid-template-columns: 1fr;
    }
}
/* Post a Project Section */

.post-project {
    padding: 70px 8%;
    background: linear-gradient(135deg, #21183d, #8957e5);
    text-align: center;
    color: white;
}

.project-content {
    max-width: 700px;
    margin: auto;
}

.project-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.project-content p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.project-content button {
    background: white;
    color: #8957e5;
    border: none;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.project-content button:hover {
    background: #f0eaff;
}
/* Project Form Design */

.project-form-section {
    padding: 70px 8%;
    background: #f8f6ff;
}

.project-form {
    max-width: 650px;
    margin: 35px auto 0;
    padding: 35px;
    background: white;
    border-radius: 18px;
    box-shadow: 0 5px 20px rgba(40, 20, 80, 0.08);
}

.project-form label {
    display: block;
    margin: 18px 0 8px;
    color: #21183d;
    font-weight: bold;
}

.project-form input,
.project-form select,
.project-form textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
}

.project-form textarea {
    min-height: 120px;
    resize: vertical;
}

.project-form input:focus,
.project-form select:focus,
.project-form textarea:focus {
    border-color: #8957e5;
}

.project-form button {
    width: 100%;
    padding: 14px;
    margin-top: 25px;
    background: #8957e5;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}
/* LOGIN PAGE DESIGN */

.login-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 15px;
    background: linear-gradient(135deg, #21183d, #8957e5);
}

.login-box {
    width: 100%;
    max-width: 430px;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
}

.login-box h1 {
    text-align: center;
    color: #21183d;
    margin-bottom: 30px;
}

.login-box h1 span {
    color: #8957e5;
}

.login-box h2 {
    text-align: center;
    color: #21183d;
    margin-bottom: 10px;
}

.login-box > p {
    text-align: center;
    color: #777;
    margin-bottom: 25px;
}

.login-box label {
    display: block;
    margin: 15px 0 8px;
    color: #21183d;
    font-weight: bold;
}

.login-box input,
.login-box select {
    width: 100%;
    padding: 13px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
}

.login-box input:focus,
.login-box select:focus {
    border-color: #8957e5;
}

.login-box form button {
    width: 100%;
    padding: 14px;
    margin-top: 25px;
    background: #8957e5;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

.login-box form button:hover {
    background: #6f3dcc;
}

.login-box .register-link {
    margin-top: 25px;
    font-size: 14px;
}

.register-link a {
    color: #8957e5;
    font-weight: bold;
    text-decoration: none;
}

.back-home {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #8957e5;
    text-decoration: none;
}

/* FREELANCER PROFILE DESIGN */

.profile-section {
    min-height: 100vh;
    padding: 60px 15px;
    background: linear-gradient(135deg, #21183d, #8957e5);
}

.profile-card {
    max-width: 650px;
    margin: auto;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
}

.profile-avatar {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    background: #f3f0ff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 45px;
}

.profile-card h1 {
    text-align: center;
    color: #21183d;
}

.profile-card > p {
    text-align: center;
    color: #777;
    margin: 12px 0 25px;
}

.profile-card label {
    display: block;
    margin: 18px 0 8px;
    color: #21183d;
    font-weight: bold;
}

.profile-card input,
.profile-card select,
.profile-card textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
}

.profile-card textarea {
    min-height: 110px;
    resize: vertical;
}

.profile-card input:focus,
.profile-card select:focus,
.profile-card textarea:focus {
    border-color: #8957e5;
}

.profile-card button {
    width: 100%;
    padding: 14px;
    margin-top: 25px;
    background: #8957e5;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

.profile-card button:hover {
    background: #6f3dcc;
}

@media (max-width: 600px) {
    .profile-card {
        padding: 25px 20px;
    }
}

/* EXPLORE FREELANCERS PAGE */

.explore-section {
    min-height: 100vh;
    padding: 60px 8%;
    background: #f8f6ff;
    text-align: center;
}

.explore-section h1 {
    color: #21183d;
    font-size: 36px;
}

.explore-section > p {
    color: #777;
    margin: 15px 0 30px;
}

.explore-search {
    display: flex;
    gap: 10px;
    max-width: 650px;
    margin: 0 auto 40px;
}

.explore-search input {
    flex: 1;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.explore-search button {
    padding: 14px 25px;
    border: none;
    border-radius: 8px;
    background: #8957e5;
    color: white;
    cursor: pointer;
}

.explore-section .freelancer-card {
    min-width: 0;
}

/* MESSAGING PAGE DESIGN */

.messages-section {
    min-height: 100vh;
    padding: 50px 15px;
    background: linear-gradient(135deg, #21183d, #8957e5);
}

.messages-box {
    max-width: 750px;
    margin: auto;
    background: white;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
}

.messages-box h1 {
    text-align: center;
    color: #21183d;
}

.messages-box h1 span {
    color: #8957e5;
}

.messages-box h2 {
    text-align: center;
    color: #21183d;
    margin-top: 20px;
}

.messages-box > p {
    text-align: center;
    color: #777;
    margin: 10px 0 25px;
}

.chat-area {
    height: 350px;
    overflow-y: auto;
    padding: 20px;
    background: #f3f0ff;
    border-radius: 12px;
    margin-bottom: 20px;
}

.welcome-message {
    text-align: center;
    color: #777;
    margin-top: 130px;
}

.messages-box form {
    display: flex;
    gap: 10px;
}

.messages-box form input {
    flex: 1;
    min-width: 0;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.messages-box form button {
    padding: 14px 25px;
    background: #8957e5;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.messages-box > a {
    display: block;
    text-align: center;
    margin-top: 25px;
    color: #8957e5;
    text-decoration: none;
}

@media (max-width: 500px) {
    .messages-box {
        padding: 20px;
    }

    .messages-box form button {
        padding: 12px 16px;
    }
}

/* CUSTOMER DASHBOARD DESIGN */

.dashboard {
    min-height: 100vh;
    padding: 40px 8%;
    background: #f8f6ff;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 35px;
}

.dashboard-header h1 {
    color: #21183d;
}

.dashboard-header h1 span {
    color: #8957e5;
}

.dashboard-header p {
    color: #8957e5;
    font-weight: bold;
}

.welcome-card {
    padding: 35px;
    background: linear-gradient(135deg, #21183d, #8957e5);
    color: white;
    border-radius: 18px;
    margin-bottom: 35px;
}

.welcome-card h2 {
    margin-bottom: 12px;
}

.welcome-card p {
    line-height: 1.6;
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.dashboard-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(40, 20, 80, 0.08);
    transition: 0.3s;
}

.dashboard-card:hover {
    transform: translateY(-6px);
}

.dashboard-card h2 {
    font-size: 35px;
    margin-bottom: 15px;
}

.dashboard-card h3 {
    color: #21183d;
    margin-bottom: 10px;
}

.dashboard-card p {
    color: #777;
    margin-bottom: 20px;
}

.dashboard-card a {
    display: inline-block;
    padding: 10px 18px;
    background: #8957e5;
    color: white;
    border-radius: 7px;
    text-decoration: none;
}

.dashboard-card a:hover {
    background: #6f3dcc;
}

.dashboard .back-home {
    margin-top: 35px;
}

@media (max-width: 650px) {
    .dashboard-cards {
        grid-template-columns: 1fr;
    }

    .welcome-card {
        padding: 25px;
    }
}
/* Project Search and Filter Design */

.project-filters {
    display: flex;
    gap: 15px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.project-filters input,
.project-filters select {
    flex: 1;
    min-width: 200px;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    background: white;
}

.project-filters input:focus,
.project-filters select:focus {
    border-color: #8957e5;
    box-shadow: 0 0 5px rgba(137, 87, 229, 0.3);
}

.project-item {
    margin-bottom: 20px;
}

/* My Applications Page */

#applicationList {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

#applicationList .dashboard-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(33, 24, 61, 0.08);
    border-left: 5px solid #8957e5;
}

#applicationList .dashboard-card h3 {
    color: #21183d;
    margin-bottom: 15px;
}

#applicationList .dashboard-card p {
    color: #666;
    margin: 10px 0;
}

#applicationList .dashboard-card p:last-child {
    color: #8957e5;
    font-weight: bold;
}

/* Application Status Colors */

.application-status {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.application-status.pending {
    color: #9a6700;
    background: #fff3cd;
}

.application-status.accepted {
    color: #16803c;
    background: #d1fae5;
}

.application-status.rejected {
    color: #dc2626;
    background: #fee2e2;
}
.logo img {
    width: 180px;
    height: auto;
    display: block;
}
button[type="submit"] {
    background: #8957e5;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

button[type="submit"]:hover {
    background: #21183d;
}
.login-btn {
    background: #8957e5;
    color: white;
    padding: 10px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
}

.login-btn:hover {
    background: #21183d;
    color: white;
}