/* CSS Variables for Modern Theming */
:root {
    --primary-color: #5E5DF0; /* Vibrant Blue/Purple */
    --primary-color-darker: #4a4acc;
    --secondary-color: #242254; /* Deep Indigo for text and accents */
    --accent-color: #f7c04a; /* Warm Yellow/Gold Accent */
    --background-color: #f4f6f9; /* Light, clean background */
    --card-background: #ffffff;
    --text-color: #333;
    --text-color-light: #5f6c7b;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    --border-radius-sm: 8px;
    --border-radius-md: 15px;
    --border-radius-lg: 30px;
    --font-family: 'Poppins', sans-serif;
    --transition-speed: 0.3s;
    --primary-color-rgb: 94, 93, 240; /* Fallback, will be set by JS */
}

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family);
}
html {
    scroll-behavior: smooth;
}
body {
    background: var(--background-color);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header/Nav */
header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.2rem 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: fadeInDown 0.8s ease-out;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.hamburger { display: none; background: transparent; border: 0; cursor: pointer; padding: 0.25rem; margin-right: 0.25rem; }
.hamburger-bar { display: block; width: 22px; height: 2px; background: var(--secondary-color); margin: 5px 0; border-radius: 2px; transition: transform var(--transition-speed) ease, opacity var(--transition-speed) ease; }
.mobile-menu { background: #fff; border-top: 1px solid #eee; box-shadow: 0 8px 20px rgba(0,0,0,0.06); }
.mobile-menu ul { list-style: none; padding: 0.75rem 1rem 1rem; display: grid; gap: 0.5rem; }
.mobile-menu a { display: block; padding: 0.75rem 0.5rem; text-decoration: none; color: var(--secondary-color); border-radius: 10px; }
.mobile-menu a.btn-nav { display: inline-block; }
.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -0.5px;
}
nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
nav ul li a {
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    position: relative;
    transition: color var(--transition-speed) ease;
    border-radius: var(--border-radius-sm);
}
nav ul li a:hover {
    color: var(--primary-color);
    background-color: rgba(var(--primary-color-rgb), 0.08);
}
.nav-link-secondary {
    color: var(--text-color-light);
    font-weight: 400;
}
.btn-nav {
    background: var(--primary-color);
    color: #fff !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: var(--border-radius-lg) !important;
    transition: background-color var(--transition-speed) ease, transform var(--transition-speed) ease;
}
.btn-nav:hover {
    background: var(--primary-color-darker);
    transform: scale(1.05);
}

/* --- Hero Sections --- */
.hero {
    text-align: center;
    padding: 6rem 2rem 7rem;
    color: #fff;
    animation: fadeIn 1.2s ease-out;
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-bottom-left-radius: 50% 30px;
    border-bottom-right-radius: 50% 30px;
}
.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -1px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-applicant h1 {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-applicant p {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.btn-cta {
    background: var(--accent-color);
    color: var(--secondary-color);
    padding: 0.9rem 2.8rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: var(--border-radius-lg);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease, background-color var(--transition-speed) ease;
    box-shadow: 0 5px 20px rgba(247, 192, 74, 0.4);
    border: none;
    cursor: pointer;
}
.btn-cta:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 8px 25px rgba(247, 192, 74, 0.5);
    background-color: #f5b73a;
}

/* Applicant Hero */
.hero-search-form {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    gap: 1rem;
    background: #fff;
    padding: 1rem;
    border-radius: var(--border-radius-md);
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}
.hero-search-form input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    color: var(--text-color);
}
.hero-search-form button {
    width: 100%;
    font-size: 1rem;
    padding: 0.8rem 1rem;
}

/* HR Admin Hero */
.hero-social-proof {
    margin-top: 3rem;
}
.hero-social-proof span {
    display: block;
    margin-bottom: 1rem;
    font-size: 1rem;
    opacity: 0.8;
}
.client-logos-inline {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    /*filter: brightness(0) invert(1);*/
    opacity: 1.0;
}
.client-logos-inline img {
    height: 24px;
}


/* Shared Section Styles */
.jobs-section, .featured-companies-section, .value-prop-section, .social-proof-section, .features-section, .integrations-section, .demo-request-section, .job-alert-section, .about-section {
    padding: 5rem 0;
}
.value-prop-section {
    margin-top: -4rem; /* Overlap with hero */
    position: relative;
    z-index: 10;
}
.jobs-section h2, .featured-companies-section h2, .features-section h2, .integrations-section h2, .social-proof-section h2, .demo-request-section h2, .job-alert-section h3 {
    text-align: center;
    margin-bottom: 3.5rem;
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--secondary-color);
}
.integrations-section p, .demo-request-section p, .job-alert-section p {
    text-align: center;
    max-width: 600px;
    margin: -2rem auto 2.5rem auto;
    color: var(--text-color-light);
}

/* Value Prop Section (Applicant Page) */
.value-prop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.value-prop-item {
    background: var(--card-background);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--card-shadow);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
}
.value-prop-item svg {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.value-prop-item h3 {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}
.value-prop-item p {
    color: var(--text-color-light);
    font-size: 0.95rem;
}

/* Features Section (HR Page) */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.feature-card { text-align: center; padding: 2rem; }
.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem auto;
    background: rgba(var(--primary-color-rgb), 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.feature-icon svg { width: 32px; height: 32px; }
.feature-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; color: var(--secondary-color); }
.feature-card p { color: var(--text-color-light); font-size: 0.95rem; }

/* Grid Container for Cards */
.job-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 2.5rem;
}
.job-card {
    background: var(--card-background);
    padding: 1.8rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0,0,0,0.05);
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.7s forwards;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    display: flex;
    flex-direction: column; 
}
.job-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}
.job-container .job-card:nth-child(1) { animation-delay: 0.1s; }
.job-container .job-card:nth-child(2) { animation-delay: 0.2s; }
.job-container .job-card:nth-child(3) { animation-delay: 0.3s; }
.job-card-header { display: flex; align-items: center; margin-bottom: 0.8rem; }
.job-card h3 { font-size: 1.3rem; color: var(--secondary-color); font-weight: 600; }
.job-card .company { font-weight: 500; margin-bottom: 1.2rem; color: var(--primary-color); }
.job-card .info { font-size: 0.9rem; margin-bottom: 1.5rem; color: var(--text-color-light); display: flex; flex-wrap: wrap; gap: 0.8rem; }
.job-card .info-item { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.3rem 0.7rem; background-color: rgba(var(--primary-color-rgb), 0.1); border-radius: var(--border-radius-sm); font-size: 0.85rem; color: var(--primary-color); }
.job-card .info-item svg { width: 14px; height: 14px; fill: currentColor; }
.job-card .apply-btn { display: inline-block; padding: 0.7rem 1.5rem; background: var(--primary-color); color: #fff; border-radius: var(--border-radius-lg); text-decoration: none; font-weight: 500; transition: background-color var(--transition-speed) ease, transform var(--transition-speed) ease; text-align: center; margin-top: auto; }
.job-card .apply-btn:hover { background-color: var(--primary-color-darker); transform: translateY(-2px); }
.job-card.closed { opacity: 0.7; filter: grayscale(50%); }
.job-card.closed .apply-btn { background: #adb5bd; color: #495057; cursor: not-allowed; box-shadow: none; }

/* Social Proof / Testimonials */
.social-proof-section { background: var(--secondary-color); color: #fff; }
.social-proof-section.hr-proof { background: #fff; color: var(--text-color);}
.social-proof-section h2 { color: #fff; }
.social-proof-section.hr-proof h2 { color: var(--secondary-color); }
.testimonial-container { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.testimonial-card { background: rgba(255,255,255,0.1); padding: 2rem; border-radius: var(--border-radius-md); }
.social-proof-section.hr-proof .testimonial-card { background: var(--background-color); }
.testimonial-card p { font-size: 1.05rem; font-style: italic; margin-bottom: 1.5rem; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-author img { width: 50px; height: 50px; border-radius: 50%; }
.testimonial-author span { font-size: 0.95rem; }
.testimonial-author span strong { display: block; font-weight: 600; }
.testimonial-company-logo { margin-bottom: 1rem; }
.testimonial-company-logo img { height: 30px; max-width: 150px; filter: grayscale(1) brightness(0.5); }

/* Integrations Section */
.integrations-section { background: var(--background-color); }
.integration-logos { display: flex; justify-content: center; align-items: center; gap: 4rem; flex-wrap: wrap; }
.integration-logos img { height: 40px; filter: grayscale(1); opacity: 0.6; transition: all var(--transition-speed) ease; }
.integration-logos img:hover { filter: none; opacity: 1; }

/* Forms (Job Alert & Demo Request) */
.job-alert-section { background: var(--background-color); text-align: center; }
.job-alert-form { display: flex; justify-content: center; gap: 1rem; max-width: 600px; margin: 0 auto; }
.job-alert-form input { flex-grow: 1; padding: 0.8rem 1rem; border: 1px solid #ddd; border-radius: var(--border-radius-sm); font-size: 1rem; }
.job-alert-form button { padding: 0.8rem 1.5rem; }

/* Wave Separator */
.wave-separator { 
    position: relative; 
    margin-top: -1px;
    margin-bottom: -50px;
}
.wave-separator svg { 
    width: 100%; 
    height: auto; 
    display: block; 
}

/* About Section Redesign */
.about-section { 
    background: linear-gradient(135deg, #fafbfc 0%, #f8f9fb 100%); 
    padding: 3rem 0 6rem; 
    scroll-margin-top: 100px; 
    position: relative;
    overflow: hidden;
}

.about-background-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.03;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    top: 10%;
    right: -5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--accent-color);
    bottom: 15%;
    left: -3%;
    animation-delay: -10s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--secondary-color);
    top: 60%;
    right: 20%;
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(10px) rotate(240deg); }
}

.about-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
    position: relative;
    z-index: 2;
}

.about-header .eyebrow { 
    display: inline-block; 
    font-size: 0.9rem; 
    letter-spacing: 0.08em; 
    text-transform: uppercase; 
    color: var(--primary-color); 
    margin-bottom: 1.2rem; 
    font-weight: 600;
    position: relative;
}

.eyebrow {
    color: var(--primary-color);
}

.about-header .eyebrow::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.about-highlights { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 0.8rem; 
    margin: 1.5rem 0 2rem; 
    justify-content: center;
}

.chip { 
    display: inline-flex; 
    align-items: center; 
    gap: 0.5rem; 
    padding: 0.6rem 1rem; 
    font-size: 0.85rem; 
    font-weight: 500;
    border-radius: 25px; 
    transition: all var(--transition-speed) ease;
    cursor: default;
}

.chip svg {
    width: 16px;
    height: 16px;
}

.chip-primary { 
    background: rgba(var(--primary-color-rgb), 0.1); 
    color: var(--primary-color); 
    border: 2px solid rgba(var(--primary-color-rgb), 0.2); 
}

.chip-secondary { 
    background: rgba(94, 93, 240, 0.08); 
    color: #4c46d4; 
    border: 2px solid rgba(94, 93, 240, 0.15); 
}

.chip-accent { 
    background: rgba(247, 192, 74, 0.1); 
    color: #e6a934; 
    border: 2px solid rgba(247, 192, 74, 0.25); 
}

.chip-success { 
    background: rgba(34, 197, 94, 0.1); 
    color: #16a34a; 
    border: 2px solid rgba(34, 197, 94, 0.2); 
}

.chip-info { 
    background: rgba(59, 130, 246, 0.1); 
    color: #2563eb; 
    border: 2px solid rgba(59, 130, 246, 0.2); 
}

.chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.about-header h2 { 
    font-size: 2.8rem; 
    line-height: 1.15; 
    margin-bottom: 1.5rem; 
    color: var(--secondary-color);
    font-weight: 700;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.yellow-text {
    color: var(--accent-color);
}

.hero-applicant .hero-description { 
    font-size: 1.2rem; 
    color: rgba(255, 255, 255, 0.9); 
    margin-bottom: 0; 
    max-width: 70ch; 
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-description { 
    font-size: 1.2rem; 
    color: var(--text-color-light); 
    margin-bottom: 0; 
    max-width: 70ch; 
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.about-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 4rem; 
    align-items: start;
    position: relative;
    z-index: 2;
}

/* Feature Items */
.about-features {
    display: grid;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-speed) ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    background: rgba(255, 255, 255, 0.9);
}

.feature-icon-wrapper {
    position: relative;
    min-width: 56px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--card-background);
    box-shadow: 0 8px 25px rgba(var(--primary-color-rgb), 0.15);
}

.feature-icon-bg {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.1), rgba(var(--primary-color-rgb), 0.05));
}

.feature-icon-wrapper svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.feature-content h3 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-content p {
    font-size: 0.95rem;
    color: var(--text-color-light);
    line-height: 1.5;
}

/* Visual Section */
.about-visual {
    position: relative;
}

.visual-container {
    position: relative;
}

.main-visual-card {
    background: var(--card-background);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0,0,0,0.05);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.card-icon {
    width: 40px;
    height: 40px;
    background: rgba(var(--primary-color-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon svg {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
}

.card-header h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.progress-bars {
    display: grid;
    gap: 1rem;
}

.progress-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.progress-item span {
    font-size: 0.9rem;
    color: var(--text-color-light);
    font-weight: 500;
}

.progress-bar {
    height: 8px;
    background: rgba(var(--primary-color-rgb), 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 4px;
    transition: width 2s ease-out;
}

.stats-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Feature Highlights */
.feature-highlights {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius-md);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-speed) ease;
}

.highlight-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.highlight-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.highlight-icon svg {
    width: 24px;
    height: 24px;
}

.highlight-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 0 0 0.25rem 0;
}

.highlight-content p {
    font-size: 0.9rem;
    color: var(--text-color-light);
    margin: 0;
    line-height: 1.4;
}

.stat-card {
    background: var(--card-background);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform var(--transition-speed) ease;
}

.stat-card:hover {
    transform: translateY(-3px);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-color-light);
    font-weight: 500;
}

/* CTA Section */
.about-cta-section {
    margin-top: 4rem;
    text-align: center;
    padding: 3rem 2rem;
    background: var(--card-background);
    border-radius: var(--border-radius-md);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    position: relative;
    z-index: 2;
}

.cta-content h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.cta-content p {
    color: var(--text-color-light);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.8rem 2.5rem;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    animation: slideUp 0.3s ease-out;
}

.mobile-sticky-cta .btn-cta {
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.hidden {
    display: none !important;
}

/* Enhanced Index.html Styles */

/* Hero Section Enhancements */
.hero-applicant {
    position: relative;
    overflow: hidden;
    padding: 6rem 0 4rem;
}

.hero-applicant::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(94, 93, 240, 0.1), rgba(36, 34, 84, 0.2));
    z-index: 1;
    pointer-events: none;
}

.hero-background-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.hero-applicant .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    color: var(--primary-color);
    font-weight: 600;
}

.badge-icon {
    font-size: 1rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.25rem;
}

.hero-applicant .stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.hero-search-container {
    position: relative;
    z-index: 2;
    width: 100%;
    display: block;
}

.search-form-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.search-form-header h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.hero-applicant .search-form-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.hero-search-form.enhanced {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 1.6rem 1.6rem 1rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 10px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    overflow: visible;
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: minmax(220px, 1.4fr) minmax(180px, 1fr) auto;
    column-gap: 1rem;
    row-gap: 0;
    align-items: center;
}

.search-input-group { display: contents; }

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-color-light);
    pointer-events: none;
}

.input-wrapper input {
    width: 100%;
    height: 58px;
    padding: 0 1.2rem 0 2.6rem;
    border: 2px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    font-size: 1rem;
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    transition: all var(--transition-speed) ease;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(var(--primary-color-rgb), 0.15), 0 8px 25px rgba(var(--primary-color-rgb), 0.1);
    background: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
}

.search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: auto;
    height: 58px; /* match inputs */
    padding: 0 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff;
    border: none;
    border-radius: 16px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 8px 25px rgba(var(--primary-color-rgb), 0.3);
}

.search-btn svg {
    width: 22px;
    height: 22px;
    transition: transform var(--transition-speed) ease;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(var(--primary-color-rgb), 0.4);
}

.search-btn:hover svg {
    transform: translateX(3px);
}

.search-btn:active {
    transform: translateY(0);
}

.search-suggestions {
    display: flex !important;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.2rem;
    margin-bottom: 0;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.75rem 0 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    width: 100%;
    position: relative;
    z-index: 15;
    background: transparent;
    grid-column: 1 / -1; /* span full width of form grid */
}

.search-suggestions span {
    font-size: 0.9rem;
    color: var(--text-color) !important;
    font-weight: 500;
    margin-right: 0.5rem;
    display: inline-block;
}

.suggestion-tag {
    background: rgba(var(--primary-color-rgb), 0.12) !important;
    color: var(--primary-color) !important;
    border: 1px solid rgba(var(--primary-color-rgb), 0.25) !important;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    font-family: inherit;
    font-weight: 500;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.suggestion-tag:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-1px);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header .eyebrow {
    display: inline-block;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.section-header h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-weight: 700;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-color-light);
    max-width: 60ch;
    margin: 0 auto;
}

/* Enhanced Value Proposition */
.value-prop-section.modern {
    background: #fff;
    padding: 3rem 0 5rem;
}

.value-prop-grid.enhanced {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.value-prop-item.modern {
    background: var(--card-background);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-speed) ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.value-prop-item.modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-highlight {
    margin-top: 1rem;
}

.highlight-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff;
    padding: 0.35rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Enhanced Companies Section */
.featured-companies-section.modern {
    background: var(--background-color);
    padding: 5rem 0;
}

.job-container.enhanced {
    position: relative;
}

.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(var(--primary-color-rgb), 0.2);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

.loading-state p {
    color: var(--text-color-light);
    font-size: 1.1rem;
}

/* Enhanced Testimonials */
.social-proof-section.modern {
    background: var(--secondary-color);
    color: #fff;
    padding: 5rem 0;
}

.social-proof-section.modern .section-header .eyebrow,
.social-proof-section.modern .section-header h2,
.social-proof-section.modern .section-header p {
    color: #fff;
}

.testimonial-container.enhanced {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.testimonial-card.modern {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    transition: all var(--transition-speed) ease;
}

.testimonial-card.modern:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.quote-icon {
    width: 40px;
    height: 40px;
    color: var(--accent-color);
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    color: var(--accent-color);
    font-size: 1rem;
}

.rating-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-role {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Enhanced Job Alert Section */
.job-alert-section.modern {
    background: linear-gradient(135deg, #fafbfc 0%, #f8f9fb 100%);
    padding: 5rem 0;
}

.alert-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 4rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
/* Ensure comfortable spacing between headline and subheading inside job alert */
.job-alert-section.modern .alert-text p {
    margin: 0.75rem auto 0; /* override older negative margin rule */
}

.alert-visual {
    flex-shrink: 0;
}

.notification-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 10px 30px rgba(var(--primary-color-rgb), 0.3);
}

.notification-icon svg {
    width: 36px;
    height: 36px;
}

.alert-text h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
}

.alert-text p {
    font-size: 1.1rem;
    color: var(--text-color-light);
}

.job-alert-form.enhanced {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
}

.job-alert-form.enhanced .form-group {
    display: flex;
    gap: 1rem; /* slightly tighter to reduce visual blank space */
    margin-bottom: 1.25rem;
    align-items: center; /* vertically align input and button */
}

.job-alert-form.enhanced .input-wrapper {
    flex: 1 1 460px; /* make email field naturally wider */
    min-width: 360px;
}

/* Precise alignment for email icon inside the input */
.job-alert-form.enhanced .input-wrapper .input-icon {
    width: 18px;
    height: 18px;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
}

/* Input sizing tuned to match button height perfectly */
.job-alert-form.enhanced .input-wrapper input {
    height: 56px;
    padding-left: 2.6rem; /* balance with icon size/offset */
    border-radius: 14px;
}

/* Keep button size fixed so input takes the flexible width */
.job-alert-form.enhanced .btn-cta.enhanced {
    flex: 0 0 auto;
}

.btn-cta.enhanced {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    height: 56px;
    padding: 0 1.5rem; /* keep consistent height, reduce perceived blank space */
    border-radius: 14px;
}

.btn-cta.enhanced svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-speed) ease;
}

.btn-cta.enhanced:hover svg {
    transform: translateX(2px);
}

.form-note {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-color-light);
    margin: 0.5rem 0 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* Force the note to sit below the form and be centered on all browsers */
.job-alert-section.modern .form-note {
    display: block;
    width: 100%;
    margin-top: 0.75rem !important; /* override earlier generic .job-alert-section p rule */
}

.demo-request-form { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.demo-request-form .form-group { display: flex; gap: 1rem; }
.demo-request-form input { width: 100%; padding: 0.9rem 1.2rem; border: 1px solid #ccc; border-radius: var(--border-radius-sm); font-size: 1rem; }
.demo-request-form button { padding: 1rem; font-size: 1.1rem; }

/* Footer */
footer { text-align: center; padding: 3rem 1rem; background: #1a183c; color: rgba(255,255,255,0.7); margin-top: 4rem; }
.footer-content { display: flex; justify-content: space-between; align-items: center; }
footer a { color: var(--accent-color); text-decoration: none; font-weight: 500; transition: text-decoration 0.2s; }
footer a:hover { text-decoration: underline; }
.footer-links { display: flex; gap: 1.5rem; }

/* Animations & Status Dot */
@keyframes fadeInUp { 0% { opacity: 0; transform: translateY(50px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { 0% { opacity: 0; transform: translateY(-30px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.status-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 10px; }
.status-dot.green { background-color: #28a745; }
.col-span-full { grid-column: 1 / -1; }
.text-center { text-align: center; }
.text-slate-500 { color: #64748b; }
.text-red-500 { color: #ef4444; }

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hamburger { display: inline-block; }
    nav ul { display: none; }
    .hero h1 { font-size: 2.8rem; }
    .hero p { font-size: 1.15rem; }
    .hero-search-form { grid-template-columns: 1fr; }
    .value-prop-grid, .feature-grid { grid-template-columns: 1fr; }
    .testimonial-container { grid-template-columns: 1fr; }
    .demo-request-form .form-group { flex-direction: column; }
    
    /* About section tablet adjustments */
    .about-section { padding: 4rem 0 5rem; }
    .about-header h2 { font-size: 2.4rem; }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-highlights { justify-content: flex-start; }
    .stats-cards { grid-template-columns: 1fr 1fr; }
    .main-visual-card { margin-bottom: 2rem; }
    
    /* Index.html tablet adjustments */
    .hero-stats { gap: 1.5rem; }
    .search-input-group { grid-template-columns: 1fr; gap: 0.75rem; }
    .value-prop-grid.enhanced { grid-template-columns: 1fr; gap: 2rem; }
    .testimonial-container.enhanced { grid-template-columns: 1fr; gap: 2rem; }
    .section-header h2 { font-size: 2.2rem; }
    .alert-content { flex-direction: column; gap: 1.5rem; text-align: center; }
    .hero-search-form.enhanced { max-width: 100%; }
}

@media (max-width: 768px) {
    .container { padding: 0 1.5rem; }
    nav ul {
        display: none; /* Hidden on mobile, replaced with hamburger */
    }
    .hero { padding: 4rem 1.5rem 5rem; }
    .footer-content { flex-direction: column; gap: 1.5rem; }
    
    /* Mobile About section improvements */
    .about-section { 
        padding: 3rem 0 4rem; 
        background: linear-gradient(135deg, #fafbfc 0%, #f8f9fb 100%);
    }
    
    .about-header { margin-bottom: 3rem; }
    .about-header h2 { 
        font-size: 2rem; 
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-description { 
        font-size: 1.1rem; 
        padding: 0 1rem;
    }
    
    .about-highlights { 
        gap: 0.6rem; 
        margin: 1rem 0 1.5rem;
        justify-content: center;
    }
    
    .chip { 
        padding: 0.5rem 0.8rem; 
        font-size: 0.8rem;
        gap: 0.4rem;
    }
    
    .chip svg {
        width: 14px;
        height: 14px;
    }
    
    .about-grid { 
        grid-template-columns: 1fr; 
        gap: 2.5rem; 
    }
    
    .feature-item {
        padding: 1.2rem;
        gap: 1rem;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .feature-icon-wrapper {
        margin-bottom: 0.5rem;
    }
    
    .main-visual-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .stats-cards { 
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-highlights {
        margin-top: 2rem;
        gap: 1rem;
    }
    
    .highlight-card {
        padding: 1rem;
        gap: 0.8rem;
    }
    
    .highlight-icon {
        width: 40px;
        height: 40px;
    }
    
    .highlight-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .stat-number { font-size: 1.8rem; }
    
    .about-cta-section {
        margin-top: 3rem;
        padding: 2rem 1.5rem;
    }
    
    .cta-content h3 { font-size: 1.5rem; }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .btn-cta {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    /* Floating shapes adjustment for mobile */
    .floating-shape {
        opacity: 0.02;
    }
    
    .shape-1 { width: 200px; height: 200px; }
    .shape-2 { width: 150px; height: 150px; }
    .shape-3 { width: 100px; height: 100px; }
    
    /* Index.html mobile improvements */
    .hero-badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-item {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
        margin-bottom: 0;
    }
    
    .search-form-header h3 {
        font-size: 1.3rem;
    }
    
    .hero-search-form.enhanced {
        padding: 1.2rem;
        margin: 0 1rem;
        max-width: calc(100% - 2rem);
    }
    
    .search-suggestions {
        justify-content: center;
        margin-top: 1rem;
        padding: 0.75rem 1rem 0;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }
    
    .suggestion-tag {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .value-prop-item.modern {
        padding: 1.5rem;
    }
    
    .notification-icon {
        width: 60px;
        height: 60px;
    }
    
    .notification-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .alert-text h3 {
        font-size: 1.5rem;
    }
    
    .alert-text p {
        font-size: 1rem;
    }
    
    .job-alert-form.enhanced .form-group {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-cta.enhanced {
        width: 100%;
        justify-content: center;
    }
    
    .testimonial-card.modern {
        padding: 1.5rem;
    }
    
    .quote-icon {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    .about-section { padding: 2.5rem 0 3rem; }
    .about-header h2 { font-size: 1.8rem; }
    .hero-description { font-size: 1rem; }
    
    .feature-item { padding: 1rem; }
    .main-visual-card { padding: 1.2rem; }
    .about-cta-section { padding: 1.5rem 1rem; }
    
    .progress-item span { font-size: 0.8rem; }
    .stat-number { font-size: 1.6rem; }
    .stat-label { font-size: 0.8rem; }
}
/* --- NEW STYLES FOR SEARCH.HTML --- */

.search-header-bar {
    padding: 2rem 0;
    background-color: var(--card-background);
    border-radius: var(--border-radius-md);
    margin-bottom: 2rem;
    box-shadow: var(--card-shadow);
}
.search-header-bar .hero-search-form {
    max-width: 100%;
    box-shadow: none;
    padding: 0 1.5rem;
}

#search-page-layout {
    display: grid;
    grid-template-columns: 280px 1fr; /* Sidebar width and main content */
    gap: 2.5rem;
    align-items: flex-start;
}

#filter-sidebar {
    background-color: var(--card-background);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--card-shadow);
    position: sticky; /* Make it stick on scroll */
    top: 120px; /* Adjust based on your header height */
}

#filter-sidebar h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #eee;
}

.filter-group {
    border: none;
    padding: 0;
    margin-bottom: 1.5rem;
}
.filter-group legend {
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}
.filter-group div {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}
.filter-group label {
    margin-left: 0.5rem;
    cursor: pointer;
    color: var(--text-color-light);
}
.filter-group input[type="checkbox"] {
    cursor: pointer;
    width: 16px;
    height: 16px;
}

#job-listings-section .results-summary h2 {
    font-size: 1.8rem;
    text-align: left;
    margin-bottom: 2rem;
}
#job-listings-section .job-container {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}


/* Responsive adjustments for search page */
@media (max-width: 992px) {
    #search-page-layout {
        grid-template-columns: 1fr; /* Stack sidebar on top of results */
    }
    #filter-sidebar {
        position: static; /* Remove sticky positioning on mobile */
        margin-bottom: 2rem;
    }
}