/* ============================================
   AIML Staffing - Professional Design System
   Modern, Premium, Stunning Design
   ============================================ */

:root {
    /* Primary Colors - Vibrant & Professional */
    --primary-blue: #1E90FF;
    --primary-teal: #00C49F;
    --accent-gold: #FFBB28;
    --accent-orange: #FF8042;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1E90FF 0%, #00C49F 100%);
    --gradient-secondary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-warm: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-hero: linear-gradient(135deg, rgba(30, 144, 255, 0.1) 0%, rgba(0, 196, 159, 0.1) 100%);

    /* Neutrals */
    --white: #FFFFFF;
    --black: #000000;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;

    /* Dark Mode */
    --dark-bg: #0f172a;
    --dark-surface: #1e293b;
    --dark-border: #334155;

    /* Shadows - Multi-layered for depth */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 20px rgba(30, 144, 255, 0.3);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Oswald', sans-serif;
}

/* ============================================
   BASE STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1.125rem;
}

/* ============================================
   HEADER - Fixed Navigation
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    /* Glassmorphism base */
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0.75rem 0;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 0;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

.logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent-gold);
}

.logo:hover {
    transform: scale(1.02);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin-left: auto;
}

.nav-link-a {
    position: relative;
    font-weight: 500;
    font-size: 0.875rem;
    color: #4a5568;
    text-decoration: none !important;
    transition: all 0.2s ease;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
}

.nav-link-a:hover {
    color: var(--primary-blue);
    background: rgba(30, 144, 255, 0.05);
}

.nav-link-a.active {
    color: var(--primary-blue);
    font-weight: 600;
    background: rgba(30, 144, 255, 0.08);
}

.nav-link-a.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 15%;
    width: 70%;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 10px;
    opacity: 0.6;
}

/* ============================================
   HERO SECTION - Stunning First Impression
   ============================================ */

/* Main Content - Account for fixed header */
.main-content {
    margin-top: 80px;
}

.hero {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    padding: 3rem 0 2rem;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(30, 144, 255, 0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 196, 159, 0.1) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.hero-text {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero .lead {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-cta {
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   BUTTONS - Premium Interactive Elements
   ============================================ */

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline-primary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-warning {
    background: linear-gradient(135deg, #FFBB28 0%, #FF8042 100%);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* Dropdown Refinements */
.dropdown-menu {
    padding: 0.75rem;
    border: none !important;
    border-radius: 12px !important;
    animation: dropdownFade 0.3s ease;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.15) !important;
    transform-origin: top;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.dropdown-item {
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(30, 144, 255, 0.08);
    color: var(--primary-blue);
    transform: translateX(5px);
}

.btn-gradient {
    background: var(--gradient-primary);
    color: var(--white) !important;
    border: none;
    box-shadow: 0 4px 12px rgba(30, 144, 255, 0.2);
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 144, 255, 0.3);
}

/* Auth Buttons */
.btn-auth-student {
    background: transparent;
    border: 1.5px solid var(--primary-blue);
    color: var(--primary-blue) !important;
    padding: 0.5rem 1.25rem !important;
    font-size: 0.85rem !important;
    border-radius: 10px !important;
}

.btn-auth-student:hover {
    background: var(--primary-blue);
    color: var(--white) !important;
    box-shadow: 0 4px 12px rgba(30, 144, 255, 0.2);
}

.btn-auth-company {
    background: var(--gradient-primary);
    color: var(--white) !important;
    padding: 0.5rem 1.25rem !important;
    font-size: 0.85rem !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 12px rgba(30, 144, 255, 0.15);
}

.btn-auth-company:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(30, 144, 255, 0.25);
}

/* ============================================
   CARDS - Glassmorphism & Modern Effects
   ============================================ */

.service-card,
.testimonial-card,
.blog-card,
.faq-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before,
.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.service-card:hover,
.testimonial-card:hover,
.blog-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-2xl);
}

.service-card:hover::before,
.testimonial-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

/* ============================================
   SECTIONS - Spacing & Layout
   ============================================ */

section {
    padding: 5rem 0;
    position: relative;
}

.services {
    background: var(--gray-50);
}

.how-it-works {
    background: var(--white);
}

.global {
    background: var(--gradient-hero);
}

.insights {
    background: var(--gray-50);
}

.testimonials {
    background: var(--white);
}

/* ============================================
   STEP INDICATORS - How It Works
   ============================================ */

.step {
    text-align: center;
    padding: 2rem;
    transition: all var(--transition-base);
}

.step-number {
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
}

.step:hover .step-number {
    transform: scale(1.2) rotate(360deg);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

/* ============================================
   CHARTS & DATA VISUALIZATION
   ============================================ */

.chart-wrapper {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.chart-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--gray-900);
}

/* ============================================
   TESTIMONIALS - Client Reviews
   ============================================ */

.testimonial-text {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-weight: 700;
    color: var(--white);
    box-shadow: var(--shadow-md);
}

/* ============================================
   FAQ - Accordion Style
   ============================================ */

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    background: var(--white);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.faq-question:hover {
    background: var(--gray-50);
    color: var(--primary-blue);
}

.faq-answer {
    display: none;
    padding: 1.5rem;
    color: var(--gray-600);
    line-height: 1.8;
}

/* ============================================
   CTA BANNER - Call to Action
   ============================================ */

.cta-banner {
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.05) 10px,
            rgba(255, 255, 255, 0.05) 20px);
    animation: slide 20s linear infinite;
}

@keyframes slide {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

.cta-banner h2 {
    color: var(--white);
    position: relative;
    z-index: 1;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 3rem 0 1rem;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer a:hover {
    color: var(--primary-blue);
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
}

/* ============================================
   SIDEBAR
   ============================================ */

.sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-2xl);
    padding: 2rem;
    overflow-y: auto;
    transition: right var(--transition-base);
    z-index: 9999;
}

.sidebar.active {
    right: 0;
}

.sidebar-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.sidebar-close:hover {
    background: var(--gray-200);
    transform: rotate(90deg);
}

/* ============================================
   MOBILE NAVIGATION
   ============================================ */

.mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-toggle {
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.menu-toggle:hover {
    transform: scale(1.1);
    color: var(--primary-blue);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .hero {
        padding: 6rem 0 3rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .lead {
        font-size: 1.125rem;
    }

    section {
        padding: 3rem 0;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 2rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 2rem;
}

.w-100 {
    width: 100%;
}

.d-flex {
    display: flex;
}

.gap-3 {
    gap: 1rem;
}

.gap-4 {
    gap: 1.5rem;
}

.align-items-center {
    align-items: center;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-between {
    justify-content: space-between;
}

/* ============================================
   LOADING & ANIMATIONS
   ============================================ */

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Added Utilities for Redesign */
.hover-lift { transition: transform var(--transition-base), box-shadow var(--transition-base); }
.hover-lift:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.hover-scale { transition: transform var(--transition-base); }
.hover-scale:hover { transform: scale(1.05); }

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

.text-shadow { text-shadow: 0 2px 4px rgba(0,0,0,0.3); }

.bg-gradient-to-r { background: linear-gradient(to right, var(--tw-gradient-stops)); }
.from-dark { --tw-gradient-from: #000; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(0, 0, 0, 0)); }
.to-transparent { --tw-gradient-to: transparent; }

.opacity-10 { opacity: 0.1; }
.opacity-25 { opacity: 0.25; }
.opacity-75 { opacity: 0.75; }

.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }

.object-fit-cover { object-fit: cover; }

.process-card .step-badge { box-shadow: 0 4px 6px rgba(0,0,0,0.1); }

