/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f0f4f8, #d9e2ec);
    text-align: center;
    color: #333;
}

.navbar {
    display: flex;
    justify-content: center;     /* Center the content horizontally */
    align-items: center;         /* Center the content vertically */
    gap: 15px;                   /* Space between logo and text */
    padding: 10px 20px;
    background-color: #0077b6;   /* Adjust the color to your theme */
    color: white;
    font-size: 24px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.navbar .logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.navbar .title {
    display: inline-block;
}


/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    padding: 20px;
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin: 20px auto;
    width: 90%;
    color: #2b3a42;
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    width: 80%;
    margin: 30px auto;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    color: #2b3a42;
}
.hero h1 span {
    color: #ff9800;
}

.btn {
    background: linear-gradient(90deg, #ffcc80, #ffa726);
    color: white;
    padding: 12px 25px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    margin-top: 20px;
    border-radius: 50px;
    transition: 0.3s;
}
.btn:hover {
    background: linear-gradient(90deg, #ffa726, #ffcc80);
    transform: scale(1.05);
}

/* Custom Pop-up Styling */
.custom-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    width: 300px;
    z-index: 1000;
    animation: fadeIn 0.5s ease-in-out;
}

/* Pop-up Content */
.popup-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Warning Icon */
.popup-icon {
    font-size: 40px;
    margin-bottom: 10px;
    color: #ff4d4d;
}

/* Button */
.custom-popup button {
    background: #007bff;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
    margin-top: 10px;
}

.custom-popup button:hover {
    background: #0056b3;
}

/* Fade-in Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -55%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}

/* Dashboard Container */
.dashboard-container {
    margin-top: 50px;
    padding: 20px;
}

.dashboard-options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
    margin-top: 50px;
}

.option {
    width: 200px;
    height: 200px;
    text-align: center;
    padding: 20px;
    color: white;
    border-radius: 20px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.4s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.option img {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
    filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.3));
}

.option:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: skewX(-20deg);
    transition: 0.5s;
}

.option:hover:before {
    left: 100%;
}

.resume { background: linear-gradient(to right, #ff9a9e, #fad0c4); }
.interview { background: linear-gradient(to right, #a18cd1, #fbc2eb); }
.jobs { background: linear-gradient(to right, #70e1f5, #ffd194); }
.skills { background: linear-gradient(to right, #84fab0, #8fd3f4); }

.option:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.option {
    position: relative;
    width: 220px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.option img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.option h2 {
    margin-top: 15px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

/* Hover effect */
.option:hover {
    transform: scale(1.1) translateY(-10px);
    box-shadow: 0px 5px 15px rgba(255, 255, 255, 0.3);
}

.option:hover img {
    transform: scale(1.1);
}

/* Adding slight move forward animation */
@keyframes moveForward {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0px); }
}

.option {
    animation: moveForward 4s infinite ease-in-out;
}

/* Animations */
@keyframes slideIn {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes popUp {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.dashboard-container h2, .dashboard-container p {
    animation: slideIn 1s ease-out;
}

.option {
    animation: popUp 0.8s ease-out;
}

/* Responsive Design */

/* Tablets (≤ 992px) */
@media (max-width: 992px) {
    .hero {
        width: 90%;
        padding: 40px 15px;
    }

    .dashboard-options {
        gap: 20px;
        margin: 30px auto;
    }

    .option {
        width: 180px;
        height: 260px;
    }

    .option h2 {
        font-size: 16px;
    }

    .btn {
        font-size: 16px;
        padding: 10px 20px;
    }

    .navbar {
        flex-direction: column;
        gap: 10px;
        font-size: 22px;
    }

    .navbar .logo {
        width: 60px;
        height: 60px;
    }
}

/* Mobile Devices (≤ 768px) */
@media (max-width: 768px) {
    .hero {
        width: 95%;
        padding: 30px 10px;
    }

    .dashboard-options {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .option {
        width: 90%;
        max-width: 300px;
        height: auto;
        padding: 20px;
    }

    .option img {
        height: 160px;
    }

    .btn {
        font-size: 16px;
        padding: 10px 18px;
    }

    .navbar {
        flex-direction: column;
        gap: 10px;
        font-size: 20px;
        padding: 10px;
    }

    .navbar .logo {
        width: 50px;
        height: 50px;
    }

    .dashboard-container h2 {
        font-size: 22px;
    }

    .dashboard-container p {
        font-size: 16px;
    }
}

/* Small Mobile Devices (≤ 480px) */
@media (max-width: 480px) {
    .btn {
        width: 100%;
        font-size: 16px;
    }

    .option h2 {
        font-size: 15px;
    }

    .navbar {
        font-size: 18px;
    }

    .hero h1 {
        font-size: 24px;
    }

    .custom-popup {
        width: 90%;
        padding: 15px;
    }

    .popup-icon {
        font-size: 32px;
    }

    .custom-popup button {
        width: 100%;
        font-size: 16px;
    }
}
