/*
 * General Styles
 * Sets the basic font, colors, and layout for the entire page.
 */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

body {
    background-color: #0d1117;
    color: #e5e7eb;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/*
 * Typography
 * Ensures all headings use the Poppins font and a consistent weight.
 */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/*
 * Navigation Bar
 * Styles for the top navigation menu.
 */
.navbar {
    background: #000 !important;
    padding: 15px 0;
}
.navbar .nav-link {
    color: #a0aec0 !important;
    transition: color 0.3s ease;
}
.navbar .nav-link:hover {
    color: #22c55e !important;
}

/*
 * Buttons and Interactive Elements
 * Ensures buttons are consistent and have smooth hover effects.
 */
.btn-success {
    background-color: #22c55e;
    border: none;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}
.btn-success:hover {
    background-color: #16a34a;
}
.btn-outline-light {
    border: 1px solid #e5e7eb;
    color: #e5e7eb;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.btn-outline-light:hover {
    background-color: #22c55e;
    border-color: #22c55e;
    color: #fff;
}

/*
 * Card Styles
 * Enhances the card-like containers with consistent padding, spacing, and an interactive hover effect.
 */
.card {
    background-color: #161b22;
    border: none;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8);
}

/*
 * Global Text Color Overrides for better contrast.
 * This is the key change to improve readability on all pages.
 */
.card h1,
.card h2,
.card h3,
.card h4,
.card h5,
.card h6,
.card p,
.card label,
.card a {
    color: #e5e7eb !important;
}

/*
 * Added a rule to target text in the step indicators
 */
.d-flex.justify-content-between.mt-2.text-muted.small span {
    color: #e5e7eb !important;
}


/*
 * Progress Bar Styles
 * Added a rule for .progress to provide a clear background.
 */
.progress {
    background-color: #343a40; /* A darker gray for the background of the progress bar */
}

/*
 * Responsive Design
 * Media queries to adjust the layout for smaller screens.
 */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    .navbar-collapse {
        background-color: #000;
        padding: 10px;
        position: absolute;
        width: 100%;
        left: 0;
        top: 60px;
    }
    .navbar-nav .nav-item {
        margin-left: 0;
        text-align: center;
    }
    .navbar-nav .nav-link {
        padding: 10px 0;
    }
    .hero-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .hero-content {
        margin-bottom: 20px;
    }
    .card-container {
        flex-direction: column;
    }
}
@media (max-width: 480px) {
    .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* Animated Background for specific pages (like login/register) */
.animated-bg {
    animation: gradient-animation 15s ease infinite;
    background: linear-gradient(-45deg, #0d1117, #161b22, #22c55e);
    background-size: 400% 400%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

@keyframes gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Active Bookings & Offers */

#jobsArea .alert-info,
#jobsArea .alert-info p,
#jobsArea .alert-info h5,
#jobsArea .alert-info strong {
    color: #0d1117 !important; /* A dark color for good contrast */
}