/* ============================
   Aartiq Talent Search — Main Stylesheet
   Teal (#0891b2) + White (#ffffff) + Deep Blue (#1e3a5f)
   ============================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', sans-serif;
    background: #ffffff;
    color: #2d2d3a;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Playfair Display', serif; color: #1e3a5f; line-height: 1.2; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}
.btn-primary {
    background: linear-gradient(135deg, #0891b2, #06b6d4);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(8, 145, 178, 0.3);
}
.btn-primary:hover {
    background: linear-gradient(135deg, #0e7490, #0891b2);
    box-shadow: 0 6px 25px rgba(8, 145, 178, 0.4);
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    color: #1e3a5f;
    border: 2px solid #1e3a5f;
}
.btn-outline:hover { background: #1e3a5f; color: #fff; }
.btn-sm { padding: 10px 24px; font-size: 0.85rem; }
.btn-full { width: 100%; }

/* ============================
   NAVBAR
   ============================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(20, 20, 20, 0.97);
    backdrop-filter: blur(20px);
    z-index: 100;
    transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 1px 30px rgba(0, 0, 0, 0.2); }
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.nav-logo { display: flex; align-items: center; }
.nav-logo-img { height: 60px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 36px; }
.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    position: relative;
    transition: color 0.3s;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0891b2, #06b6d4);
    transition: width 0.3s;
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-cta { margin-left: 8px; }
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================
   HERO
   ============================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    text-align: center;
    background: linear-gradient(160deg, #1e3a5f 0%, #0e4d6e 40%, #0891b2 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-content { max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }
.hero-headline {
    font-size: 3.8rem;
    margin-bottom: 24px;
    color: #ffffff;
    text-shadow: 0 2px 40px rgba(0,0,0,0.1);
}
.hero-sub {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.8;
}
.hero .btn-primary {
    background: linear-gradient(135deg, #06b6d4, #22d3ee);
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.4);
}
.hero .btn-primary:hover {
    background: linear-gradient(135deg, #22d3ee, #67e8f9);
    box-shadow: 0 6px 30px rgba(6, 182, 212, 0.5);
}
.hero .btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}
.hero .btn-outline:hover { background: rgba(255, 255, 255, 0.15); border-color: #fff; }
.hero-ctas { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 64px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.stat { text-align: center; flex: 1; max-width: 200px; }
.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #22d3ee;
}
.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

/* ============================
   SECTIONS (shared)
   ============================ */
.section { padding: 100px 0; }
.section:nth-child(even) { background: #f7fbfc; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-title { font-size: 2.5rem; margin-bottom: 16px; }
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0891b2, #06b6d4);
    margin: 16px auto 0;
    border-radius: 2px;
}
.section-subtitle { font-size: 1.05rem; color: #666; max-width: 560px; margin: 0 auto; }

/* ============================
   ABOUT
   ============================ */
.about-content {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
    line-height: 1.8;
    font-size: 1.05rem;
    color: #4a5568;
}
.highlights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.highlight-card {
    background: #fff;
    padding: 40px 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 30px rgba(30, 58, 95, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(8, 145, 178, 0.08);
}
.highlight-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(8, 145, 178, 0.12);
}
.highlight-icon {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.12), rgba(6, 182, 212, 0.06));
    border-radius: 16px;
    margin-left: auto;
    margin-right: auto;
    color: #0891b2;
}
.highlight-icon svg { width: 32px; height: 32px; }
.highlight-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.highlight-card p { font-size: 0.95rem; color: #64748b; line-height: 1.6; }

/* ============================
   SERVICES
   ============================ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
/* Permanent Staffing */
.section.perm-staffing { background: #1e3a5f; color: #fff; }
.perm-staffing h2, .perm-staffing h3 { color: #fff; }
.perm-staffing, .perm-staffing p, .perm-staffing li, .perm-staffing span { color: #fff; }
.perm-staffing-inner { display: grid; grid-template-columns: 1fr 340px; gap: 60px; align-items: center; }
.perm-staffing-title { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 700; margin-bottom: 20px; }
.perm-staffing-content p { font-size: 1.05rem; line-height: 1.8; margin-bottom: 28px; }
.perm-staffing-list { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-direction: column; gap: 14px; }
.perm-staffing-list li { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; }
.perm-staffing-list svg { color: #06b6d4; flex-shrink: 0; }
.perm-staffing .btn-primary { background: #0891b2; border-color: #0891b2; color: #fff; }
.perm-staffing .btn-primary:hover { background: #06b6d4; border-color: #06b6d4; }
.perm-staffing-visual { display: flex; flex-direction: column; gap: 20px; }
.perm-staffing-stat { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); border-radius: 14px; padding: 24px 28px; text-align: center; }
.stat-number { display: block; font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: #06b6d4; margin-bottom: 4px; }
.stat-label { font-size: 0.85rem; color: #cbd5e1; text-transform: uppercase; letter-spacing: 0.5px; }

.industries-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.industry-card {
    background: #fff;
    padding: 28px 32px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    color: #1e3a5f;
    box-shadow: 0 2px 20px rgba(30, 58, 95, 0.05);
    border-bottom: 3px solid transparent;
    background-image: linear-gradient(#fff, #fff), linear-gradient(135deg, #0891b2, #06b6d4);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.industry-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(8, 145, 178, 0.12); }
.industry-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.12), rgba(6, 182, 212, 0.06));
    border-radius: 12px;
    color: #0891b2;
}
.industry-icon svg { width: 24px; height: 24px; }
.industry-card:hover .industry-icon { background: linear-gradient(135deg, #0891b2, #06b6d4); color: #fff; }
.industry-desc { font-size: 0.78rem; font-weight: 400; color: #718096; line-height: 1.4; }
.service-card {
    background: #fff;
    padding: 36px;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(30, 58, 95, 0.06);
    border-left: 4px solid #0891b2;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(8, 145, 178, 0.08);
    border-left: 4px solid #0891b2;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(8, 145, 178, 0.12);
}
.service-icon {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.12), rgba(6, 182, 212, 0.06));
    border-radius: 12px;
    color: #0891b2;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { font-size: 0.9rem; color: #64748b; line-height: 1.6; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    color: #0891b2;
    font-weight: 500;
}

/* ============================
   PROCESS
   ============================ */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.process-step {
    text-align: center;
    padding: 40px 20px;
    position: relative;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(30, 58, 95, 0.05);
    transition: transform 0.3s;
}
.process-step:hover { transform: translateY(-4px); }
.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0891b2, #06b6d4);
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}
.process-step h3 { font-size: 1.15rem; margin-bottom: 10px; }
.process-step p { font-size: 0.9rem; color: #64748b; line-height: 1.6; }

/* ============================
   CAREERS
   ============================ */
.positions-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.position-card {
    background: #fff;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(30, 58, 95, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(8, 145, 178, 0.06);
}
.position-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(8, 145, 178, 0.1); }
.position-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; gap: 12px; }
.position-header h3 { font-size: 1.15rem; }
.position-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 0.85rem; color: #64748b; margin-bottom: 12px; }
.position-desc { color: #64748b; font-size: 0.9rem; margin-bottom: 20px; line-height: 1.6; }
.badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}
.badge-type { background: linear-gradient(135deg, #0891b2, #06b6d4); color: #fff; }

/* Careers page hero */
.careers-hero {
    background: linear-gradient(160deg, #1e3a5f 0%, #0e4d6e 40%, #0891b2 100%);
    color: #fff;
    padding: 140px 0 80px;
    text-align: center;
}
.careers-hero h1 { font-size: 2.5rem; color: #fff; margin-bottom: 16px; }
.careers-hero p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }
.careers-hero + .section { padding-top: 40px; }
.position-detail-card { background: #fff; padding: 48px; border-radius: 16px; box-shadow: 0 4px 30px rgba(30, 58, 95, 0.08); }
.position-body h2 { color: #1e3a5f; font-size: 1.35rem; margin-bottom: 12px; }

.no-positions { text-align: center; padding: 48px 24px; color: #64748b; }
.no-positions p { margin-bottom: 20px; font-size: 1.05rem; }

/* ============================
   MODAL
   ============================ */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
}
.modal.active { display: flex; }
.modal-overlay { position: absolute; inset: 0; background: rgba(30, 58, 95, 0.6); backdrop-filter: blur(4px); }
.modal-content {
    background: #fff;
    max-width: 560px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.modal-header h3 { font-size: 1.3rem; }
.modal-close { background: none; border: none; font-size: 1.8rem; cursor: pointer; color: #94a3b8; line-height: 1; }
.modal-close:hover { color: #1e3a5f; }

/* ============================
   TESTIMONIALS
   ============================ */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.testimonial-card {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(30, 58, 95, 0.06);
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 16px;
    left: 24px;
    font-size: 5rem;
    color: #0891b2;
    opacity: 0.35;
    font-family: 'Playfair Display', serif;
    line-height: 1;
}
.testimonial-card::after {
    content: '\201D';
    position: absolute;
    bottom: 60px;
    right: 24px;
    font-size: 5rem;
    color: #0891b2;
    opacity: 0.35;
    font-family: 'Playfair Display', serif;
    line-height: 1;
}
.testimonial-quote {
    font-style: italic;
    font-size: 1rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 24px;
}
.testimonial-author { display: flex; gap: 12px; align-items: center; }
.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0891b2, #06b6d4);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-avatar .initials { color: #fff; font-size: 0.85rem; font-weight: 600; }
.testimonial-author strong { display: block; font-size: 0.95rem; color: #1e3a5f; }
.testimonial-author span { font-size: 0.8rem; color: #94a3b8; }

/* ============================
   NEWSLETTER
   ============================ */
.newsletter-section {
    background: linear-gradient(160deg, #1e3a5f, #0e4d6e);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(8, 145, 178, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}
.newsletter-section h2 { font-family: 'Playfair Display', serif; font-size: 2rem; color: #fff; margin-bottom: 12px; position: relative; }
.newsletter-section > .container > .newsletter-content > p { color: rgba(255,255,255,0.75); margin-bottom: 0; position: relative; }
.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 12px;
    max-width: 480px;
    margin: 32px auto 16px;
    flex-wrap: wrap;
    position: relative;
}
.newsletter-form input[type="email"] {
    flex: 1;
    padding: 14px 20px;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    font-family: 'DM Sans', sans-serif;
    min-width: 240px;
}
.newsletter-form input[type="email"]:focus { outline: 2px solid #06b6d4; }
.newsletter-section small { color: rgba(255,255,255,0.4); font-size: 0.8rem; position: relative; }

/* ============================
   CONTACT
   ============================ */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: start; }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: #4a5568;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    color: #2d2d3a;
    background: #fff;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #0891b2;
    outline: none;
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
}
.form-group textarea { resize: vertical; }
.form-group input[type="file"] { padding: 10px; }

.contact-info {
    padding: 32px;
    background: #f7fbfc;
    border-radius: 16px;
}
.info-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 28px; }
.info-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.1), rgba(6, 182, 212, 0.05));
    border-radius: 12px;
}
.info-item strong { display: block; margin-bottom: 2px; color: #1e3a5f; }
.info-item a { color: #0891b2; font-weight: 500; }
.info-item p { color: #64748b; margin: 0; }
.contact-social { display: flex; gap: 12px; margin-top: 32px; }
.contact-social a {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0891b2, #06b6d4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    transition: transform 0.3s, box-shadow 0.3s;
}
.contact-social a:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(8, 145, 178, 0.3); }

/* ============================
   FOOTER
   ============================ */
.footer {
    background: #1e3a5f;
    color: rgba(255,255,255,0.7);
    padding: 40px 0;
}
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: rgba(255,255,255,0.7); transition: color 0.3s; }
.footer-links a:hover { color: #22d3ee; }

/* ============================
   TOAST
   ============================ */
#toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 16px 24px;
    border-radius: 12px;
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s ease;
    max-width: 400px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
#toast.show { transform: translateY(0); opacity: 1; }
#toast.success { background: linear-gradient(135deg, #059669, #10b981); }
#toast.error { background: linear-gradient(135deg, #dc2626, #ef4444); }

/* ============================
   ANIMATIONS & SCROLL REVEAL
   ============================ */

/* Hero entrance animations */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes statCountUp {
    from { opacity: 0; transform: translateY(20px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-headline {
    opacity: 0;
    animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}
.hero-sub {
    opacity: 0;
    animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}
.hero-ctas {
    opacity: 0;
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}
.hero-stats {
    opacity: 0;
    animation: heroFadeIn 1s ease 1.1s forwards;
}
.hero-stats .stat {
    opacity: 0;
    animation: statCountUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-stats .stat:nth-child(1) { animation-delay: 1.2s; }
.hero-stats .stat:nth-child(2) { animation-delay: 1.4s; }
.hero-stats .stat:nth-child(3) { animation-delay: 1.6s; }
.hero-stats .stat:nth-child(4) { animation-delay: 1.8s; }

/* Scroll reveal base */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Staggered card animations */
.reveal-stagger { opacity: 0; transform: translateY(30px); transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-stagger.visible { opacity: 1; transform: translateY(0); }
.reveal-stagger:nth-child(1) { transition-delay: 0s; }
.reveal-stagger:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger:nth-child(5) { transition-delay: 0.4s; }
.reveal-stagger:nth-child(6) { transition-delay: 0.5s; }

/* Scale-in variant for cards */
.reveal-scale {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.visible { opacity: 1; transform: scale(1) translateY(0); }

/* Fade-in from left/right */
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Section header reveal */
.section-header .section-title { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease 0.1s, transform 0.6s ease 0.1s; }
.section-header .section-subtitle { opacity: 0; transform: translateY(15px); transition: opacity 0.6s ease 0.25s, transform 0.6s ease 0.25s; }
.section.visible .section-header .section-title,
.section.visible .section-header .section-subtitle { opacity: 1; transform: translateY(0); }

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .hero-headline, .hero-sub, .hero-ctas, .hero-stats, .hero-stats .stat { opacity: 1; animation: none; }
    .reveal, .reveal-stagger, .reveal-scale, .reveal-left, .reveal-right { opacity: 1; transform: none; transition: none; }
    .section-header .section-title, .section-header .section-subtitle { opacity: 1; transform: none; transition: none; }
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .industries-grid { grid-template-columns: repeat(2, 1fr); }
    .perm-staffing-inner { grid-template-columns: 1fr 280px; gap: 40px; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(20, 20, 20, 0.97);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    }
    .nav-menu.active { display: flex; }
    .nav-cta { margin-left: 0; width: 100%; text-align: center; }

    .hero { padding: 100px 0 60px; }
    .hero-headline { font-size: 2.4rem; }
    .hero-sub { font-size: 1rem; }
    .hero-stats { gap: 24px; flex-wrap: wrap; }
    .stat-number { font-size: 2rem; }

    .section { padding: 64px 0; }
    .section-title { font-size: 2rem; }
    .section-header { margin-bottom: 40px; }

    .highlights-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .industries-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .positions-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }

    .perm-staffing-inner { grid-template-columns: 1fr; gap: 32px; }
    .perm-staffing-visual { flex-direction: row; flex-wrap: wrap; }
    .perm-staffing-stat { flex: 1; min-width: 140px; }
    .perm-staffing-title { font-size: 1.8rem; }

    .footer-content { flex-direction: column; text-align: center; }
    .modal-content { padding: 24px; }
    .careers-hero h1 { font-size: 2rem; }
}

@media (max-width: 480px) {
    .hero { padding: 88px 0 48px; min-height: auto; }
    .hero-headline { font-size: 1.9rem; }
    .btn { padding: 12px 24px; font-size: 0.9rem; }
    .hero-stats { gap: 16px; }
    .stat-number { font-size: 1.8rem; }
    .process-grid { grid-template-columns: 1fr; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form input[type="email"] { min-width: auto; }
    .nav-logo-img { height: 48px; }
}

/* ========== Privacy Policy Page ========== */
.privacy-hero {
    padding: 140px 0 60px;
    background: linear-gradient(160deg, #1e3a5f 0%, #0e4d6e 50%, #0891b2 100%);
    color: #fff;
    text-align: center;
}
.privacy-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}
.privacy-hero > .container > p {
    font-size: 1.15rem;
    opacity: 0.85;
    max-width: 540px;
    margin: 0 auto 24px;
}
.privacy-meta {
    display: flex;
    justify-content: center;
    gap: 32px;
    font-size: 0.9rem;
    opacity: 0.75;
}
.privacy-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.privacy-content {
    padding-top: 48px;
    padding-bottom: 80px;
}

/* Table of Contents */
.privacy-toc {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px 36px;
    margin-bottom: 48px;
}
.privacy-toc h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    margin-bottom: 16px;
}
.privacy-toc ol {
    columns: 2;
    column-gap: 32px;
    padding-left: 20px;
    margin: 0;
}
.privacy-toc li {
    padding: 4px 0;
    font-size: 0.95rem;
    break-inside: avoid;
}
.privacy-toc a {
    color: #1e3a5f;
    text-decoration: none;
    transition: color 0.2s;
}
.privacy-toc a:hover { color: #0891b2; }

/* Privacy Sections */
.privacy-section {
    position: relative;
    padding: 40px 0;
    border-bottom: 1px solid #e2e8f0;
}
.privacy-section:last-child { border-bottom: none; }
.privacy-section-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #0891b2;
    opacity: 0.12;
    position: absolute;
    top: 28px;
    right: 0;
}
.privacy-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #1e3a5f;
    margin-bottom: 16px;
}
.privacy-section h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e3a5f;
    margin: 24px 0 12px;
}
.privacy-section p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 12px;
}
.privacy-section ul {
    color: #475569;
    line-height: 1.8;
    padding-left: 20px;
    margin-bottom: 16px;
}
.privacy-section li { margin-bottom: 8px; }

/* Info cards grid */
.privacy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 20px 0;
}
.privacy-info-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.privacy-info-card:hover {
    border-color: #0891b2;
    box-shadow: 0 4px 16px rgba(8, 145, 178, 0.08);
}
.privacy-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.1), rgba(30, 58, 95, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0891b2;
    margin-bottom: 12px;
}
.privacy-info-card h5 {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e3a5f;
    margin-bottom: 6px;
}
.privacy-info-card p {
    font-size: 0.88rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* Use list */
.privacy-use-list { margin: 16px 0; }
.privacy-use-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    align-items: flex-start;
}
.privacy-use-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(8, 145, 178, 0.1);
    color: #0891b2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}
.privacy-use-item span:last-child {
    color: #475569;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Security grid */
.privacy-security-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 20px 0;
}
.privacy-security-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.privacy-security-item > svg {
    flex-shrink: 0;
    color: #0891b2;
    margin-top: 2px;
}
.privacy-security-item strong {
    display: block;
    font-size: 0.9rem;
    color: #1e3a5f;
    margin-bottom: 4px;
}
.privacy-security-item p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* Tables */
.privacy-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    margin: 20px 0;
    font-size: 0.9rem;
}
.privacy-table thead {
    background: #f1f5f9;
}
.privacy-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #1e3a5f;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.privacy-table td {
    padding: 14px 16px;
    border-top: 1px solid #e2e8f0;
    color: #475569;
    line-height: 1.5;
}
.privacy-table code {
    background: #e2e8f0;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.82rem;
    color: #1e3a5f;
}
.privacy-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}
.privacy-badge-essential {
    background: rgba(8, 145, 178, 0.1);
    color: #0891b2;
}
.privacy-badge-analytics {
    background: rgba(234, 179, 8, 0.1);
    color: #b45309;
}

/* Callout box */
.privacy-callout {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: linear-gradient(135deg, #f0fdfa, #f0f9ff);
    border-left: 3px solid #0891b2;
    border-radius: 0 12px 12px 0;
    padding: 20px 24px;
    margin: 20px 0;
}
.privacy-callout > svg {
    flex-shrink: 0;
    color: #0891b2;
    margin-top: 2px;
}
.privacy-callout p {
    margin: 0;
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.7;
}

/* Rights grid */
.privacy-rights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 20px 0;
}
.privacy-right-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
}
.privacy-right-card h5 {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e3a5f;
    margin-bottom: 6px;
}
.privacy-right-card p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* Contact card */
.privacy-contact-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px 32px;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.privacy-contact-item {
    display: flex;
    gap: 14px;
    align-items: center;
}
.privacy-contact-item > svg {
    flex-shrink: 0;
    color: #0891b2;
}
.privacy-contact-item strong {
    display: block;
    font-size: 0.85rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}
.privacy-contact-item a,
.privacy-contact-item p {
    color: #1e3a5f;
    font-weight: 500;
    text-decoration: none;
    margin: 0;
    font-size: 0.95rem;
}
.privacy-contact-item a:hover { color: #0891b2; }
.privacy-grievance {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
    padding: 16px 20px;
    margin-top: 16px;
    font-size: 0.9rem;
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.1);
    animation: cookieSlideUp 0.4s ease;
}
@keyframes cookieSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.cookie-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.cookie-text {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.cookie-text > svg {
    flex-shrink: 0;
    color: #0891b2;
    margin-top: 2px;
}
.cookie-text p {
    margin: 0;
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.6;
}
.cookie-text p:first-child {
    font-size: 0.95rem;
    color: #1e3a5f;
    margin-bottom: 2px;
}
.cookie-text a {
    color: #0e7490;
    text-decoration: underline;
}
.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

/* Privacy page responsive */
@media (max-width: 768px) {
    .privacy-hero h1 { font-size: 2.2rem; }
    .privacy-meta { flex-direction: column; gap: 8px; align-items: center; }
    .privacy-toc ol { columns: 1; }
    .privacy-grid { grid-template-columns: 1fr; }
    .privacy-security-grid { grid-template-columns: 1fr; }
    .privacy-rights-grid { grid-template-columns: 1fr; }
    .privacy-section-number { display: none; }
    .cookie-content { flex-direction: column; text-align: center; }
    .cookie-text { flex-direction: column; align-items: center; }
    .cookie-actions { justify-content: center; }
}
@media (max-width: 480px) {
    .privacy-hero { padding: 110px 0 40px; }
    .privacy-hero h1 { font-size: 1.8rem; }
    .privacy-toc { padding: 20px 24px; }
    .privacy-contact-card { padding: 20px; }
}
