@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes bounce {

    0%,
    20%,
    53%,
    80%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    40%,
    43% {
        transform: translate3d(0, -10px, 0);
    }

    70% {
        transform: translate3d(0, -5px, 0);
    }

    90% {
        transform: translate3d(0, -2px, 0);
    }
}

.text-balance {
    text-wrap: balance;
}

/* New hero gradient using Mountenna colors */
.hero-gradient-new {
  background: linear-gradient(90deg, rgba(29, 65, 135, 0.85) 0%, rgb(230 0 122 / 18%) 100%);
}

.glass {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Category Cards */
.category-card {
    position: relative;
    border: 0;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.category-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(-8px);
}

/* Job Cards */
.job-card {
    position: relative;
    border: 0;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.job-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(-12px);
}

.job-card:nth-child(even):hover {
    transform: translateY(-12px) rotate(-0.5deg);
}

.job-card:nth-child(odd):hover {
    transform: translateY(-12px) rotate(0.5deg);
}

/* Job Tags - CORRECTED */
.job-tag {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border: 1px solid rgba(230, 0, 122, 0.3);
    color: #e6007a;
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.job-tag:hover {
    background-color: #e6007a;
    color: white;
}

/* Apply Button - CORRECTED */
.apply-btn {
    width: 100%;
    background: linear-gradient(to right, #e6007a, #b60e67);
    color: white;
    font-weight: 600;
    padding: 0.75rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.apply-btn:hover {
    background: linear-gradient(to right, #f94fad, #e62493);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: scale(1.05);
}

/* View All Button - CORRECTED */
.view-all-btn {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border: 2px solid #e6007a;
    color: #e6007a;
    background: transparent;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.view-all-btn:hover {
    background-color: #e6007a;
    color: white;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Benefits Section - CORRECTED */
.benefits-bg {
    background-image:
        radial-gradient(circle at 25% 25%, rgba(230, 0, 122, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0, 68, 148, 0.1) 0%, transparent 50%);
}

.benefit-card:hover {
    transform: translateY(-8px);
}

/* Applicant Features Section - CORRECTED */
.employer-bg-elements {
    position: absolute;
    inset: 0;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    animation: pulse 3s infinite;
}

.floating-element-1 {
    top: 5rem;
    left: 2.5rem;
    width: 8rem;
    height: 8rem;
    background-color: rgba(230, 0, 122, 0.1);
}

.floating-element-2 {
    bottom: 8rem;
    right: 4rem;
    width: 12rem;
    height: 12rem;
    background-color: rgba(0, 68, 148, 0.05);
}

.floating-element-3 {
    top: 50%;
    left: 33.333333%;
    width: 6rem;
    height: 6rem;
    background-color: rgba(255, 255, 255, 0.05);
    filter: blur(16px);
    animation-delay: 0.5s;
}

.employer-gradient-text {
    background: linear-gradient(to right, #f94fad, #f3a44a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.employer-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    border-radius: 0.75rem;
}

.employer-cta-btn {
    background: linear-gradient(to right, #e6007a, #b60e67);
    color: white;
    font-weight: 700;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.employer-cta-btn:hover {
    background: linear-gradient(to right, #f94fad, #e62493);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    transform: scale(1.05);
}

.employer-dashboard {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(4px);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-floating-1 {
    position: absolute;
    top: -1rem;
    right: -1rem;
    width: 2rem;
    height: 2rem;
    background-color: rgba(230, 0, 122, 0.3);
    border-radius: 50%;
    filter: blur(2px);
    animation: bounce 1s infinite;
}

.dashboard-floating-2 {
    position: absolute;
    bottom: -1rem;
    left: -1rem;
    width: 1.5rem;
    height: 1.5rem;
    background-color: rgba(0, 68, 148, 0.4);
    border-radius: 50%;
    filter: blur(2px);
    animation: bounce 1s infinite 0.3s;
}

/* How It Works */
.how-it-works-step:hover .w-20 {
    transform: scale(1.1);
}

/* Testimonials */
.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Call-to-Action Section */
.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.05"%3E%3Ccircle cx="30" cy="30" r="2"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    animation: pulse 3s infinite;
}

.cta-gradient-text {
    background: linear-gradient(to right, rgb(253, 224, 71), white);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cta-primary-btn {
    background-color: white;
    color: #e6007a;
    font-weight: 700;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    min-width: 200px;
}

.cta-primary-btn:hover {
    background-color: rgb(243, 244, 246);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    transform: scale(1.05);
}

.cta-secondary-btn {
    background: transparent;
    border: 2px solid white;
    color: white;
    font-weight: 700;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 200px;
}

.cta-secondary-btn:hover {
    background-color: white;
    color: #e6007a;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    transform: scale(1.05);
}

/* Footer - CORRECTED */
.footer-social-link {
    color: rgb(156, 163, 175);
    transition: color 0.3s ease;
}

.footer-social-link:hover {
    color: #e6007a;
}

.footer-link {
    color: rgb(209, 213, 219);
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #f94fad;
}

.newsletter-input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    background-color: #172b54;
    border: 1px solid #204da9;
    color: white;
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

.newsletter-input::placeholder {
    color: rgb(156, 163, 175);
}

.newsletter-input:focus {
    outline: none;
    border-color: #e6007a;
}

.newsletter-btn {
    background-color: #e6007a;
    color: white;
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-btn:hover {
    background-color: #b60e67;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .category-card {
        padding: 1.5rem;
    }

    .job-card {
        padding: 1.5rem;
    }

    .benefit-card {
        padding: 1.5rem;
    }

    .employer-dashboard {
        padding: 1.5rem;
    }

    .cta-primary-btn,
    .cta-secondary-btn {
        min-width: 160px;
        padding: 0.875rem 1.5rem;
    }
}

/* Additional utility classes for enhanced effects */
.backdrop-blur-md {
    backdrop-filter: blur(12px);
}

.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility - CORRECTED */
button:focus,
input:focus,
select:focus {
    outline: 2px solid #e6007a;
    outline-offset: 2px;
}

/* Loading states */
.loading {
    animation: pulse 2s infinite;
}

/* Print styles */
@media print {

    .hero-slide,
    .floating-element,
    .cta-bg {
        display: none !important;
    }
}

/* Find and replace this rule in style.css */


/* Apply custom fonts */
h1, h2, h3, h4, h5, h6 {
    font-family: "Libertinus Sans", sans-serif;
}
