/* Password Modal Styles */
.password-modal {
    display: none; /* Start with the modal hidden */
    position: fixed; /* Fixed position to ensure it stays in the same place on screen */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.99); /* 98% opacity black background */
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 2s ease-in-out; /* Apply fade-in effect on modal */
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.modal-content {
    position: absolute; /* Absolute positioning to center it */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Use transform to adjust position exactly in center */
    width: 400px; /* Set the width of the modal */
    background-color: #2a2a2a; /* Dark background for the modal */
    border-radius: 10px; /* Rounded corners for the modal */
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

/* Modal Form */
.modal-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    color: #fff;
    text-align: center;
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove padding inside the form */
}

.modal-form h2 {
    font-size: 26px;
    margin-bottom: 15px;
    font-weight: bold;
    color: #ffffff;
    animation: colorChange 3s infinite alternate; /* Apply the color-changing animation */
}

@keyframes colorChange {
    0% {
        color: gold; /* Gold color at the start */
    }
    100% {
        color: white; /* White color at the end */
    }
}

.modal-form .intro-text {
    font-size: 16px;
    margin-bottom: 30px;
    color: #ddd;
}

.modal-form input {
    padding: 12px;
    font-size: 18px;
    width: 100%;
    border: 2px solid #7c00f8;
    border-radius: 5px;
    margin-bottom: 20px;
    color: rgb(255, 255, 255);
    background-color: #333;
    transition: border-color 0.3s ease;
}

.modal-form input::placeholder {
    color: rgb(255, 255, 255);
}

.modal-form input:focus {
    border-color: #fff; /* Highlight border when focused */
    outline: none;
}

.modal-form button {
    padding: 12px 0;
    font-size: 16px;
    background-color: #7c00f8;
    color: #fff;
    width: 100%;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-form button:hover {
    background-color: #5f00d4; /* Darker hover effect */
}

.modal-form .error-message {
    margin-top: 15px;
    font-size: 14px;
    color: #ff4d4d;
    display: none; /* Hide error message by default */
}

.help-section {
    margin-top: 20px;
    font-size: 14px;
    color: #ddd;
}

.button-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns */
    gap: 10px;
    width: 100%;
}

.help-button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px;
    font-size: 16px;
    background-color: #7c00f8;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-align: center;
}

.help-button:hover {
    background-color: #5f00d4; /* Darker hover effect */
    transform: scale(1.05); /* Slightly scale up on hover */
}

/* Mobile Styles (for screens less than 768px) */
@media (max-width: 768px) {
    .modal-content {
        width: 90%; /* Take up 90% of the screen width */
        padding: 20px;
    }

    .modal-form {
        margin: 10px; /* Add a 10px margin around the form on mobile */
    }

    .modal-form h2 {
        font-size: 22px;
    }

    .modal-form .intro-text {
        font-size: 14px;
    }

    .modal-form input {
        font-size: 16px;
    }

    .modal-form button {
        font-size: 14px;
    }

    .help-section {
        font-size: 12px;
    }

    .button-container {
        grid-template-columns: 1fr; /* Stack buttons vertically on mobile */
    }
}
		/* Style for the tab buttons */
        .portfolio-tabs {
            display: flex;
            justify-content: center;
            gap: 10px; /* Space between buttons */
        }
        
        .tab-button {
            background-color: transparent; /* Flat background */
            color: #f2f2f2; /* Default text color */
            border: 2px solid transparent; /* No border visible by default */
            padding: 10px 20px; /* Space inside buttons */
            font-size: 16px;
            cursor: pointer; /* Pointer cursor on hover */
            text-transform: uppercase;
            transition: all 0.3s ease; /* Smooth transition for hover and active states */
        }
        
        .tab-button:hover {
            color: #fff; /* White text color on hover */
            background-color: #333; /* Dark background on hover */
            border-color: #333; /* Border color on hover */
        }
        
        .tab-button.active {
            color: #fff; /* White text color for the active button */
            background-color: #333; /* Dark background for active button */
            border-color: #333; /* Border color for active button */
        }
        
        