* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

.fixed-image{
    position: fixed;
    top: 10px;
    left: 20px;
    width: 180px;
    height: auto;
    z-index: 1;
    border-radius: 10px;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: url('bg.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    color: #fff;
}

.wrapper {
    margin:auto;
    text-align: left;
    width: 100%;
    max-width: 900px;
    background: rgba(20, 30, 50, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.3);
}
.wrapper1{
    margin:auto;
    text-align: left;
    width: 100%;
    max-width: 1135px;
    background: rgba(20, 30, 50, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 70px;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.3);
}

.page-title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

.page {
    display: none;
    width: 100%;
}

.page.active {
    display: block;
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-box {
    position: relative;
    margin: 15px 0;
}

.input-box label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #b0c4de;
}

.input-box input,
.input-box select {
    width: 100%;
    height: 45px;
    background: rgba(40, 50, 70, 0.9); /* Changed to semi-transparent dark blue for select */
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 16px;
    color: #fff;
    padding: 10px 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

.input-box input::placeholder {
    color: #b0c4de;
}

.input-box i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #b0c4de;
}

.input-box select option {
    background: rgba(60, 70, 90, 0.9); /* Lighter semi-transparent background for options */
    color: #fff; /* White text for contrast */
    padding: 5px 10px;
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin: 10px 0;
}

.remember-forgot label input {
    accent-color: #007bff;
    margin-right: 5px;
}

.remember-forgot a,
.register-link p a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.remember-forgot a:hover,
.register-link p a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.btn {
    width: 100%;
    height: 45px;
    background: #007bff;
    border: none;
    outline: none;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.3);
    cursor: pointer;
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.register-link {
    font-size: 14px;
    text-align: center;
    margin: 15px 0;
}

.profile-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
}

.card-stack {
    position: relative;
    width: 50%;
}

.card {
    background: rgba(30, 40, 60, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
    padding: 20px;
    width: 100%;
    max-width: 398px;
    transition: transform 0.5s ease, opacity 0.5s ease;
    color: #fff;
}

#my-profile {
    width: 50%;
    max-width: 400px;
    position: sticky;
    top: 20px;
    background: rgba(30, 40, 60, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

.card h3,
.card h2 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #007bff;
}

.card p {
    font-size: 14px;
    margin: 5px 0;
    color: #b0c4de;
}

.card.swiped-left {
    transform: translateX(-100%) rotate(-20deg);
    opacity: 0;
}

.card.swiped-right {
    transform: translateX(100%) rotate(20deg);
    opacity: 0;
}

.profile-pic {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-bottom: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.buttons {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.swipe-left, .swipe-right {
    flex: 1;
    height: 40px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.swipe-left {
    background: #ff4d4d;
    color: #fff;
}

.swipe-right {
    background: #4caf50;
    color: #fff;
}

.swipe-left:hover {
    background: #e60000;
    transform: translateY(-2px);
}

.swipe-right:hover {
    background: #3d8b40;
    transform: translateY(-2px);
}

/* Skills Page Specific Styles */
.form-section {
    margin-bottom: 20px;
}

.form-section h3 {
    font-size: 20px;
    color: #007bff;
    margin-bottom: 15px;
    text-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

.dob-group {
    display: flex;
    gap: 10px;
}

.dob-selects select {
    flex: 1;
}

.help-text {
    display: block;
    font-size: 12px;
    color: #b0c4de;
    margin-top: 5px;
    opacity: 0.8;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-bottom: 20px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: #007bff;
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Team Hub Specific Styles */
.team-hub-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.team-profile, .chat-container, .project-management, .feedback {
    max-width: 100%;
}

.chat-messages {
    height: 200px;
    overflow-y: auto;
    background: rgba(40, 50, 70, 0.9);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
    color: #fff;
}

.chat-message {
    margin: 5px 0;
    padding: 8px;
    background: rgba(0, 123, 255, 0.2);
    border-radius: 5px;
}

.chat-input {
    display: flex;
    gap: 10px;
}

.chat-input input {
    flex: 1;
    height: 40px;
    padding: 10px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #fff;
}

.task-list {
    margin: 10px 0;
    background: rgba(40, 50, 70, 0.9);
    border-radius: 8px;
    padding: 10px;
    color: #fff;
}

.task-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.task-item button {
    background: #ff4d4d;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
    color: #fff;
    transition: background 0.3s ease;
}

.task-item button:hover {
    background: #e60000;
}

.task-input {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.task-input input {
    flex: 1;
    height: 40px;
    padding: 10px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #fff;
}

.feedback textarea {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #fff;
    resize: vertical;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wrapper {
        max-width: 90%;
        padding: 20px;
    }

    .profile-container, .team-hub-container {
        flex-direction: column;
        align-items: center;
    }

    #my-profile, .card-stack, .team-profile, .chat-container, .project-management, .feedback {
        width: 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }
}

.input-box input[type="file"] {
    width: 100%;
    height: 45px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 16px;
    color: #fff;
    padding: 10px 15px;
    cursor: pointer;
}

.input-box input[type="file"]::file-selector-button {
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 5px 15px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

.input-box input[type="file"]::file-selector-button:hover {
    background: #0056b3;
}