@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    background-color: #F8FAFC; /* Light Slate 50 - A neutral background */
    color: #374151; /* Tailwind gray-700 - Dark text for readability */
    min-height: 100vh; /* Ensure body takes full viewport height */
}
/* Custom scrollbar for better aesthetics */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #e2e8f0; /* Slate 200 */
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: #94a3b8; /* Slate 400 */
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #64748b; /* Slate 600 */
}

/* Button styling - Updated to match new theme */
.btn-primary {
    background-color: #7C3AED; /* A vibrant purple */
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 4px 8px rgba(124, 58, 237, 0.2); /* Shadow based on primary color */
}
.btn-primary:hover {
    background-color: #6D28D9; /* Darker purple on hover */
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(124, 58, 237, 0.3);
}
.btn-secondary {
    background-color: #DBEAFE; /* Light blue from the new palette */
    color: #2563EB; /* Darker blue for text */
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}
.btn-secondary:hover {
    background-color: #BFDBFE; /* Slightly darker light blue on hover */
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* Hero section specific styles - Updated to fill container */
.hero-section {
    background-color: #ffffff; /* Off-white background */
    color: #1a202c; /* Black text */
    padding: 2rem 0; /* Reduced padding to allow more space for content */
    text-align: left;
    min-height: 60vh; /* Ensure enough height for the section */
    display: flex; /* Make hero-section a flex container */
    align-items: center; /* Vertically center content within hero-section */
}
.hero-content {
    width: 100%; /* Use full width of container */
    max-width: 1200px; /* Keep max-width for content alignment */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    height: 100%; /* Ensure hero-content takes full height of hero-section */
}
@media (min-width: 768px) {
    .hero-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: stretch; /* Make items stretch vertically to fill height */
    }
    .hero-text-container {
        flex: 1;
        max-width: 50%;
        padding-right: 2rem;
        display: flex; /* Make text container a flex item */
        flex-direction: column; /* Stack text elements */
        justify-content: center; /* Center text vertically within its container */
    }
    .hero-image-container {
        flex: 1;
        max-width: 50%;
        height: auto; /* Let content dictate height, but image will fill */
        display: flex; /* Make image container a flex item */
        align-items: center; /* Center image vertically */
        justify-content: center; /* Center image horizontally */
        overflow: hidden; /* Ensure image corners are properly clipped */
    }
}
.hero-title {
    font-size: 2.8rem; /* text-6xl */
    font-weight: 800; /* font-extrabold */
    line-height: 1.1;
    margin-bottom: 1.5rem;
}
.hero-subtitle {
    font-size: 1.25rem; /* text-lg - Reduced from 1.5rem */
    font-weight: 700; /* font-light */
    margin-bottom: 3rem;
    max-width: 700px;
}
.hero-image {
    width: 100%;
    height: 100%; /* Make image fill 100% height of its container */
    object-fit: cover; /* Cover the container, cropping if necessary */
    border-radius: 0.75rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Features section (retained for original content, new sections added below) */
.features-section {
    padding: 4rem 0;
    background-color: #ffffff;
}
.feature-card {
    background-color: #f8fafc;
    padding: 2.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
}
.feature-icon {
    font-size: 3rem;
    color: #F97316; /* Orange accent color for icons */
    margin-bottom: 1.5rem;
}
.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c; /* gray-900 */
    margin-bottom: 0.75rem;
}
.feature-description {
    color: #4a5568; /* gray-700 */
}

/* Call to Action section - Updated background */
.cta-section {
    background-color: #f8f8fa; /* Blue accent color */
    color: black;
    padding: 4rem 0;
    text-align: center;
}
.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.cta-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
}

/* Styles for the new AI in Recruiting section */
.ai-recruiting-section {
    padding: 2.5rem 0; /* Reduced padding */
}
.ai-recruiting-section .section-title {
    font-size: 2rem; /* Smaller title */
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.75rem; /* Reduced margin */
    display: inline-block; /* Allow icon to sit next to it */
}
.ai-recruiting-section .section-subtitle {
    font-size: 1rem; /* Smaller subtitle */
    color: #4a5568;
    margin-bottom: 2rem; /* Reduced margin */
}

.ai-recruiting-section .feature-card {
    padding: 1.5rem; /* Reduced padding for cards */
}

.ai-recruiting-section .kpi-value {
    font-size: 2rem; /* Further smaller KPI value */
    font-weight: 900;
    color: #005f73;
    line-height: 1;
}
.ai-recruiting-section .feature-description {
    font-size: 0.875rem; /* text-sm for descriptions */
    color: #4a5568;
}
.ai-recruiting-section .feature-title {
    font-size: 1.25rem; /* text-xl for feature titles */
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.ai-recruiting-section .flowchart-item {
    background-color: #e9d8a6;
    color: #001219;
    padding: 0.4rem 0.6rem; /* Even smaller padding */
    border-radius: 0.4rem;
    font-weight: 500;
    text-align: center;
    flex-grow: 1;
    min-width: 100px; /* Even smaller min-width */
    font-size: 0.75rem; /* text-xs */
}
.ai-recruiting-section .flowchart-arrow {
    font-size: 1.2rem; /* Even smaller arrow */
    color: #005f73;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(90deg);
}
@media (min-width: 1024px) {
    .ai-recruiting-section .flowchart-arrow {
        transform: rotate(0deg);
    }
}
.ai-recruiting-section .chart-container {
    position: relative;
    margin: auto;
    height: 150px; /* Further reduced height for charts */
    width: 100%;
    max-width: 300px; /* Further reduced max-width for charts */
}
@media (min-width: 768px) {
    .ai-recruiting-section .chart-container {
        height: 180px; /* Adjusted height for larger screens */
    }
}
/* Modal styles from AI help in Recruitment.html */
.modal {
    position: fixed;
    z-index: 50;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
}
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    max-width: 80%;
    max-height: 90%;
    overflow-y: auto;
    color: #001219;
}
.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.close-button:hover,
.close-button:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
.text-xxs {
    font-size: 0.6rem; /* or a specific pixel value like 10px */
}

/* New Text Colors */
.text-primary-custom {
    color: #974ace; /* Darker Purple */
}
.text-secondary-custom {
    color: #3f3737; /* Darker Red */
}
.text-accent-custom {
    color: #006400; /* Darker Green */
}
.text-sky-blue-custom {
    color: #007FFF; /* Sky Blue */
}
.text-white-custom {
    color: #FFFFFF; /* White - Note: might not be visible on light backgrounds */
}


/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-span {
    display: inline-block; /* Required for transform to work */
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0; /* Start hidden */
}
