/* ========================================
   VARIABLES
======================================== */
:root {
    --violet-primary: #7c3aed;
    --violet-light: #f5f3ff;
    --violet-dark: #5b21b6;
    --violet-accent: #8b5cf6;
    --violet-foreground: #1e1b4b;
    --violet-muted: #6d6a8c;
    --violet-bg: #ffffff;
    --violet-card-bg: #ffffff;
    --violet-shadow: 0 4px 12px rgba(124, 58, 237, 0.1);
    --violet-shadow-hover: 0 8px 24px rgba(124, 58, 237, 0.15);
}

/* ========================================
   RESET & GENERAL
======================================== */
html,
body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background: var(--violet-bg);
    color: var(--violet-foreground);
    line-height: 1.6;
}

/* ========================================
   HERO SECTION
======================================== */
.hero-section {
    position: relative;
    display: flex;
    /* Fix alignment */
    flex-direction: column;
    justify-content: center;
    height: 100vh;
    overflow: hidden;
    padding: 4rem 1rem;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/img/logo/image1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* darkened for contrast */
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.text-accent {
    color: var(--violet-accent);
}

.btn-primary {
    background: white;
    color: var(--violet-primary);
    font-weight: 600;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* Center content */
    text-decoration: none;
    font-size: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: var(--violet-light);
    color: var(--violet-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* ========================================
   APPROACH SECTION
======================================== */
.section-approach {
    padding: 5rem 1rem;
    background-color: var(--violet-bg);
}

.approach-container {
    max-width: 72rem;
    margin: 0 auto;
}

.approach-header {
    text-align: center;
    margin-bottom: 4rem;
}

.approach-badge {
    color: var(--violet-primary);
    /* Harmonized */
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-block;
    margin-bottom: 1rem;
}

.approach-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--violet-foreground);
    margin-bottom: 1rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .approach-title {
        font-size: 2.5rem;
    }
}

.approach-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Mobile default */
    gap: 2rem;
}

@media (min-width: 768px) {
    .approach-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.approach-card {
    background-color: var(--violet-card-bg);
    padding: 2rem;
    text-align: center;
    border-radius: 1.5rem;
    /* Match home.css */
    box-shadow: var(--violet-shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--violet-light);
}

.approach-card:hover {
    box-shadow: var(--violet-shadow-hover);
    transform: translateY(-2px);
}

.approach-icon-wrapper {
    width: 4rem;
    height: 4rem;
    background-color: var(--violet-light);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.approach-icon {
    width: 2rem;
    height: 2rem;
    color: var(--violet-primary);
}

.approach-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--violet-foreground);
    margin-bottom: 1rem;
}

.approach-card-description {
    color: var(--violet-muted);
    line-height: 1.625;
}

/* ========================================
   POSITIONS SECTION
======================================== */
.section-positions {
    padding: 5rem 1rem;
    background-color: var(--violet-light);
}

.positions-container {
    max-width: 72rem;
    margin: 0 auto;
}

.positions-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .positions-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}

.positions-content {
    max-width: 100%;
}

.positions-badge {
    color: var(--violet-primary);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-block;
    margin-bottom: 1rem;
}

.positions-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--violet-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .positions-title {
        font-size: 2.5rem;
    }
}

.positions-description {
    color: var(--violet-muted);
    font-size: 1.125rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}

.positions-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 640px) {
    .positions-list {
        grid-template-columns: 1fr;
    }
}

.position-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.position-check {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--violet-primary);
    flex-shrink: 0;
}

.position-text {
    color: var(--violet-foreground);
    font-size: 0.875rem;
    font-weight: 500;
}

.positions-stats-card {
    background-color: var(--violet-card-bg);
    border-radius: 1.5rem;
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--violet-shadow);
    border: 1px solid #e9d5ff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.positions-stats-card:hover {
    box-shadow: var(--violet-shadow-hover);
    transform: translateY(-4px);
}

.stats-circle {
    width: 6rem;
    height: 6rem;
    background-color: var(--violet-primary);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.stats-number {
    font-family: 'Inter', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.stats-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--violet-foreground);
    margin-bottom: 0.5rem;
}

.stats-subtitle {
    color: var(--violet-muted);
    font-size: 1rem;
}

/* ========================================
   CTA SECTION
======================================== */
.section-cta {
    padding: 5rem 1rem;
    background-color: white;
}

.cta-container {
    max-width: 42rem;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-family: 'Inter', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--violet-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 2.5rem;
    }
}

.cta-description {
    color: var(--violet-muted);
    font-size: 1.125rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background-color: var(--violet-primary);
    color: white;
    font-weight: 500;
    font-size: 1.125rem;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

.cta-button:hover {
    background-color: var(--violet-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}

.cta-button:active {
    transform: translateY(0);
}

.cta-icon {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.3s ease;
}

.cta-button:hover .cta-icon {
    transform: translateX(4px);
}

/* ========================================
   UTILITY CLASSES
======================================== */
.container {
    width: 100%;
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.text-center {
    text-align: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.inline-flex {
    display: inline-flex;
}

.items-center {
    align-items: center;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.bg-white\/10 {
    background-color: rgba(255, 255, 255, 0.1);
}

.border {
    border-width: 1px;
}

.border-white\/20 {
    border-color: rgba(255, 255, 255, 0.2);
}

.rounded-full {
    border-radius: 9999px;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.text-sm {
    font-size: 0.875rem;
}

.font-medium {
    font-weight: 500;
}

.font-bold {
    font-weight: 700;
}

.leading-tight {
    line-height: 1.25;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-white\/90 {
    color: rgba(255, 255, 255, 0.9);
}

.leading-relaxed {
    line-height: 1.625;
}

.mb-10 {
    margin-bottom: 2.5rem;
}

.max-w-2xl {
    max-width: 42rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.absolute {
    position: absolute;
}

.top-10 {
    top: 2.5rem;
}

.left-10 {
    left: 2.5rem;
}

.w-20 {
    width: 5rem;
}

.h-20 {
    height: 5rem;
}

.border-4 {
    border-width: 4px;
}

.border-white\/20 {
    border-color: rgba(255, 255, 255, 0.2);
}

.rounded-full {
    border-radius: 9999px;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.bottom-10 {
    bottom: 2.5rem;
}

.right-10 {
    right: 2.5rem;
}

.w-32 {
    width: 8rem;
}

.h-32 {
    height: 8rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.transform {
    transform: var(--tw-transform);
}

.rotate-45 {
    transform: rotate(45deg);
}

.animate-float-delayed {
    animation: float-delayed 8s ease-in-out infinite;
}

.top-1\/2 {
    top: 50%;
}

.left-5 {
    left: 1.25rem;
}

.w-16 {
    width: 4rem;
}

.h-16 {
    height: 4rem;
}

.border-white\/10 {
    border-color: rgba(255, 255, 255, 0.1);
}

.bottom-20 {
    bottom: 5rem;
}

.left-1\/4 {
    left: 25%;
}

.w-12 {
    width: 3rem;
}

.h-12 {
    height: 3rem;
}

.rotate-12 {
    transform: rotate(12deg);
}

/* ========================================
   ANIMATIONS
======================================== */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes float-delayed {

    0%,
    100% {
        transform: translateY(0px) rotate(45deg);
    }

    50% {
        transform: translateY(-15px) rotate(45deg);
    }
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 768px) {
    .hero-section {
        min-height: 500px;
        padding: 4rem 1rem;
    }
}

@media (min-width: 768px) {
    .md\:text-5xl {
        font-size: 3rem;
    }

    .md\:text-6xl {
        font-size: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .lg\:text-6xl {
        font-size: 3.75rem;
    }
}

/* Dark mode overrides for recruitment page */
/* Dark Mode overrides */
[data-theme="dark"] {
    --violet-primary: #8b5cf6;
    --violet-light: #0f1724;
    --violet-dark: #4c1d95;
    --violet-accent: #7c3aed;
    --violet-foreground: #e6e1ff;
    --violet-muted: #bdb6d9;
    --violet-bg: #05060a;
    --violet-card-bg: #0b1220;
    --violet-shadow: 0 6px 20px rgba(11, 18, 32, 0.6);
    --violet-shadow-hover: 0 10px 30px rgba(11, 18, 32, 0.7);
}

[data-theme="dark"] .hero-overlay {
    background: rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .approach-card,
[data-theme="dark"] .position-card,
[data-theme="dark"] .positions-stats-card {
    border: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .btn-primary {
    background: linear-gradient(90deg, var(--violet-dark), var(--violet-primary));
    color: #fff;
    box-shadow: 0 8px 30px rgba(124, 33, 168, 0.22);
}

/* ========================================
   HERO RESPONSIVE
======================================== */
@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 1rem;
        text-align: center;
    }

    .hero-section .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Override Tailwind sizes for better mobile control if needed */
    .hero-section h1 {
        font-size: 2.5rem !important;
        line-height: 1.2;
    }

    .hero-section p {
        font-size: 1.125rem !important;
        margin-bottom: 2rem;
    }

    .btn-primary {
        width: 100%;
        justify-content: center;
    }
}