/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* BruntWork-inspired Base Colors */
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --text-main: #111827; /* Almost black */
    --text-muted: #4b5563; /* Dark gray */
    --border-color: #e5e7eb;
    
    /* A-Virtual Masters Brand Colors (from Logo) */
    --brand-purple: #8B5CF6;
    --brand-pink: #EC4899;
    --brand-teal: #14b8a6;
    --brand-dark: #1F2937;
    
    /* Primary Action Color (Professional Blue like BruntWork) */
    --primary-blue: #1e40af; 
    --primary-hover: #1e3a8a;

    /* Gradients for Accents */
    --gradient-brand: linear-gradient(135deg, var(--brand-purple) 0%, var(--brand-pink) 100%);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation (Clean & Sticky) */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 48px; /* Visible & Clear */
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: var(--brand-purple);
}

.nav-cta {
    background-color: var(--primary-blue);
    color: white !important;
    padding: 0.6rem 1.25rem;
    border-radius: 6px;
    font-weight: 600 !important;
    transition: transform 0.2s, background-color 0.2s;
}

.nav-cta:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    text-align: center;
    background-color: var(--bg-white);
    position: relative;
    overflow: hidden;
    min-height: auto; /* Ensure it doesn't take up full screen unnecessarily */
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--text-main); /* Enforce dark color */
}

.hero-highlight {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
    font-weight: 400;
}

/* Talent Spotlight Section */
.spotlight-section {
    padding: 6rem 0;
    background-color: var(--bg-light);
    overflow: hidden;
}

.spotlight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.spotlight-image-wrapper {
    position: relative;
    max-width: 450px; /* Constrain width */
    margin: 0 auto;
}

.spotlight-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: block;
}

.floating-card {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: var(--bg-white);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 3s ease-in-out infinite;
    max-width: 220px;
}

.floating-card .icon {
    font-size: 1.5rem;
}

.floating-card .text {
    display: flex;
    flex-direction: column;
}

.floating-card strong {
    color: var(--text-main);
    font-size: 0.9rem;
}

.floating-card small {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.section-label {
    text-transform: uppercase;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--brand-purple);
    margin-bottom: 1rem;
    display: block;
}

.spotlight-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.spotlight-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.check {
    background: rgba(139, 92, 246, 0.1);
    color: var(--brand-purple);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Services Grid (Minimal) */
.services-section {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: var(--brand-purple);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Process Section (Updated for Cards) */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: var(--brand-purple);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--brand-purple);
    opacity: 0.2;
    margin-bottom: 1rem;
    line-height: 1;
}

/* Blog Section */
.blog-section {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.blog-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brand-purple);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.blog-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-link {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.blog-link:hover {
    color: var(--primary-hover);
}

/* Scroll Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: white;
    padding: 4rem;
    border-radius: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.contact-content h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.contact-info {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.info-item strong {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.info-item a, .info-item span {
    font-size: 1.1rem;
    color: var(--text-main);
    font-weight: 500;
    text-decoration: none;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--brand-purple);
}

.submit-btn {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.submit-btn:hover {
    background-color: var(--primary-hover);
}

/* Footer */
.footer {
    background-color: var(--brand-dark);
    color: white;
    padding: 4rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1); /* Make logo white for footer */
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

/* Ensure all sections have proper spacing and background */
.spotlight-section,
.services-section,
.process-section,
.blog-section,
.contact-section {
    position: relative;
    z-index: 1; /* Ensure they sit above any background elements */
    background-color: var(--bg-white); /* Default to white */
    color: var(--text-main); /* Ensure text is dark */
}

/* Specific background for contrast */
.spotlight-section,
.blog-section {
    background-color: var(--bg-light); /* Light gray for contrast */
}

/* Ensure text visibility */
.section-header h2,
.step-card h3,
.blog-card h3 {
    color: var(--text-main);
}

.section-subtitle,
.step-card p,
.blog-card p {
    color: var(--text-muted);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .spotlight-grid, .contact-wrapper, .process-steps {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .nav-menu {
        display: none; /* Simple hide for now, JS toggles it */
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .contact-wrapper {
        padding: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}