:root {
    --primary-color: rgb(47, 42, 255);
    --primary-gradient: linear-gradient(to left, rgb(47, 42, 255), rgb(0, 0, 128));
    --accent-color: #FFD699;
    --text-color: #000000;
    --body-bg: #fdfaf6;
}

/* ================== GLOBAL ================== */
* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--body-bg);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.text-primary{
    color: var(--primary-color) !important;
}

.btn-primary, .bg-primary{
    background-color: var(--primary-color) !important;
}

/* ================== NAVBAR ================== */
.navbar-custom {
    background: var(--primary-gradient);
    padding: 1rem 3rem;
    flex-shrink: 0;
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--accent-color) !important;
    border-bottom: 2px solid var(--accent-color);
    letter-spacing: 0.5px;
}

.navbar-subtext {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 0.4rem;
}

.nav-link {
    color: #ffffff;
    font-size: 0.95rem;
    margin-left: 2rem;
    position: relative;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease-in-out;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

/* ================== HERO SECTIONS ================== */
.hero-section,
.employer-hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 5rem 2rem;
    background-color: var(--body-bg);
}

.hero-title,
.employer-hero h1 {
    font-size: 4rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    letter-spacing: 0.5px;
    color: rgba(12, 12, 255, 1);
}

.hero-subtitle,
.employer-hero h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.employer-hero p {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-custom {
    background-color: rgba(47, 42, 255, 0.1);
    border: 1px solid rgba(47, 42, 255, 0.25);
    color: var(--text-color);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.btn-custom:hover {
    background-color: var(--primary-color);
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.25);
}

/* Employer List */
.employer-list {
    text-align: left;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.employer-list li {
    list-style: none;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.employer-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ================== PRICING SECTION ================== */
.header-section {
    padding: 60px 0;
    margin-bottom: 50px;
    text-align: center;
}

.pricing-card {
    border: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    overflow: hidden;
    background-color: #fff;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-header {
    background-color: var(--primary-color);
    color: white;
    padding: 25px 20px;
    text-align: center;
    height: 150px;
}

.card-body {
    padding: 30px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 20px 0;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.feature-list li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ================== FOOTER ================== */
footer {
    background: var(--primary-gradient);
    color: white;
    padding: 40px 0;
}

.footer {
    background-color: rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--accent-color);
}

/* ================== RESPONSIVE ================== */
@media (max-width: 992px) {
    .hero-title, .employer-hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle, .employer-hero h2 {
        font-size: 1.3rem;
    }

    .employer-hero p {
        font-size: 1rem;
    }

    .btn-custom {
        padding: 0.7rem 1.5rem;
        font-size: 0.95rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    /*.hero-title, .employer-hero h1 {*/
    /*    font-size: 2rem;*/
    /*}*/

    /*.hero-subtitle, .employer-hero h2 {*/
    /*    font-size: 1rem;*/
    /*}*/

    .hero-section, .employer-hero {
        padding: 3rem 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ===========================================
   GLOBAL FORM & FIELD STYLES (Theme Consistent)
=========================================== */

/* Input & Select Fields */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="file"],
input[type="password"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #ccc;
    border-radius: 10px;
    background-color: #fff;
    font-size: 1rem;
    color: var(--text-color);
    transition: all 0.25s ease;
    outline: none;
}

/* Remove Bootstrap's default blue focus ring */
.form-control:focus {
    box-shadow: none !important;
    border-color: var(--primary-color) !important;
    outline: none !important;
}

input:focus, input:active,
select:focus, select:active,
textarea:focus, textarea:active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(47, 42, 255, 0.15); /* Updated to use primary color */
}

/* Placeholder styling */
::placeholder {
    color: #aaa;
}

/* Labels */
.form-label {
    font-weight: 600;
    margin-bottom: 8px; /* Slightly increased for better spacing */
    color: var(--text-color);
    display: block; /* Ensure proper block display */
}

/* ===========================================
   FORM GROUP CONSISTENCY
=========================================== */
.form-group {
    margin-bottom: 1.5rem;
    text-align: left; /* Ensure consistent text alignment */
}

/* Textarea specific styling */
textarea {
    resize: vertical;
    min-height: 100px;
}

/* Select dropdown arrow consistency */
select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23333333'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 2.5rem;
}

/* ===========================================
   FOCUS STATES ACCESSIBILITY
=========================================== */
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.form-check-input:focus-visible + .form-check-label {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ===========================================
   RESPONSIVE ADJUSTMENTS
=========================================== */
@media (max-width: 576px) {
    .form-check-label {
        min-width: 120px;
        padding: 10px 18px;
        font-size: 0.95rem;
    }

    .step-buttons {
        padding: 0.8rem 1rem;
    }

    /* Better spacing on mobile */
    .form-group {
        margin-bottom: 1.25rem;
    }
}
