/* ============================================
   HR MASTERS — Orange Theme, Modern UI v4
   ============================================ */

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

:root {
    --white: #FFFFFF;
    --off-white: #FAFAF9;
    --surface: #F5F5F4;
    --text-primary: #1C1917;
    --text-secondary: #57534E;
    --text-muted: #A8A29E;
    --accent: #EA580C;
    --accent-hover: #C2410C;
    --accent-light: #FFF7ED;
    --accent-glow: rgba(234, 88, 12, 0.12);
    --accent-gradient: linear-gradient(135deg, #EA580C 0%, #F97316 100%);
    --n50: #FAFAF9;
    --n100: #F5F5F4;
    --n200: #E7E5E4;
    --n300: #D6D3D1;
    --n400: #A8A29E;
    --n500: #78716C;
    --n600: #57534E;
    --n700: #44403C;
    --n800: #292524;
    --n900: #1C1917;
    --border: #E7E5E4;
    --success: #059669;
    --error: #DC2626;
    --glass-bg: rgba(255,255,255,0.72);
    --glass-border: rgba(255,255,255,0.3);
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 50px -8px rgba(0,0,0,0.1);
    --radius: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition: 0.3s var(--ease);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px; line-height: 1.6;
    color: var(--text-primary);
    background: var(--off-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
ul { list-style: none; }

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

/* --- Reveals --- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); will-change: opacity, transform; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.4s; }
.reveal-scale { opacity: 0; transform: scale(0.96); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); will-change: opacity, transform; }
.reveal-scale.revealed { opacity: 1; transform: scale(1); }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); will-change: opacity, transform; }
.reveal-left.revealed { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); will-change: opacity, transform; }
.reveal-right.revealed { opacity: 1; transform: translateX(0); }

/* ============================================
   NAVBAR — glass, orange accents
   ============================================ */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.navbar.scrolled {
    background: rgba(255,255,255,0.9);
    border-bottom-color: var(--border);
    box-shadow: 0 1px 16px rgba(0,0,0,0.05);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo { display: flex; align-items: center; gap: 10px; color: var(--text-primary); font-weight: 700; font-size: 1.1rem; text-decoration: none; transition: transform 0.3s var(--ease-spring); }
.nav-logo:hover { color: var(--text-primary); transform: scale(1.02); }
.nav-logo img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.nav-menu { display: flex; align-items: center; gap: 2px; }
.nav-link { padding: 7px 14px; color: var(--text-secondary); font-size: 0.9rem; font-weight: 500; border-radius: 8px; transition: color 0.25s var(--ease), background 0.25s var(--ease); text-decoration: none; }
.nav-link:hover { color: var(--text-primary); background: var(--n100); }
.nav-link.active { color: var(--accent); background: var(--accent-light); }
.nav-cta {
    padding: 8px 20px; background: var(--accent); color: var(--white) !important;
    font-size: 0.85rem; font-weight: 600; border-radius: 50px; text-decoration: none;
    transition: all 0.3s var(--ease); box-shadow: 0 2px 8px rgba(234,88,12,0.2);
}
.nav-cta:hover { background: var(--accent-hover); color: var(--white); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(234,88,12,0.3); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; z-index: 1001; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.nav-spacer { height: 64px; }

/* ============================================
   HERO — split, no overlay
   ============================================ */
.home-hero { padding: 32px 0 0; background: var(--off-white); }
.home-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; min-height: 460px; }
.home-hero-text { padding: 24px 0; }
.hero-label {
    display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px;
    background: var(--accent-light); border: 1px solid rgba(234,88,12,0.12);
    border-radius: 50px; color: var(--accent); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.3px; margin-bottom: 16px;
}
.hero-label::before { content: ''; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; animation: beep 1.5s ease-in-out infinite; }
@keyframes beep {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(234,88,12,0.5); }
    50% { opacity: 0.6; transform: scale(1.4); box-shadow: 0 0 0 6px rgba(234,88,12,0); }
}
.home-hero h1 { font-size: 3rem; font-weight: 800; line-height: 1.1; color: var(--text-primary); margin-bottom: 16px; letter-spacing: -0.8px; }
.home-hero h1 .accent-word { color: var(--accent); }
.home-hero p { font-size: 1.05rem; color: var(--text-secondary); margin-bottom: 28px; line-height: 1.7; max-width: 480px; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.home-hero-image { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-xl); aspect-ratio: 4/3; }
.home-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge { position: absolute; padding: 10px 16px; background: var(--glass-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--glass-border); border-radius: var(--radius); box-shadow: var(--shadow-lg); z-index: 2; }
.hero-badge-1 { bottom: 20px; left: 20px; }
.hero-badge-2 { top: 20px; right: 20px; }
.hero-badge strong { display: block; font-size: 1.15rem; font-weight: 700; color: var(--accent); }
.hero-badge span { font-size: 0.72rem; color: var(--text-secondary); font-weight: 500; }

/* ============================================
   COUNTER STRIP
   ============================================ */
.counter-strip { padding: 36px 0; background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.counter-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.counter-item { text-align: center; padding: 16px 12px; }
.counter-number { font-size: 2.5rem; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.counter-text { font-size: 0.8rem; color: var(--text-secondary); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }

/* ============================================
   BUTTONS
   ============================================ */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; font-size: 0.9rem; font-weight: 600; border-radius: 50px; border: 2px solid transparent; cursor: pointer; transition: all 0.3s var(--ease); text-decoration: none; font-family: inherit; }
.btn-primary { background: var(--accent); color: var(--white); border-color: var(--accent); box-shadow: 0 2px 8px rgba(234,88,12,0.2); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--white); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(234,88,12,0.3); }
.btn-secondary { background: var(--white); color: var(--text-primary); border-color: var(--n200); box-shadow: var(--shadow-xs); }
.btn-secondary:hover { border-color: var(--n300); color: var(--text-primary); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-arrow::after { content: '\2192'; transition: transform 0.3s var(--ease); }
.btn-arrow:hover::after { transform: translateX(4px); }
.btn-sm { padding: 8px 18px; font-size: 0.82rem; }

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 32px 0; }
.section-sm { padding: 36px 0; }
.section-white { background: var(--white); }
.section-surface { background: var(--off-white); }
.section-header { margin-bottom: 36px; }
.section-label { display: inline-flex; align-items: center; gap: 8px; font-size: 0.75rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 8px; }
.section-label::before { content: ''; width: 18px; height: 2px; background: var(--accent); border-radius: 1px; }
.section-header h2 { font-size: 2rem; font-weight: 800; color: var(--text-primary); letter-spacing: -0.4px; margin-bottom: 10px; line-height: 1.2; }
.section-header p { font-size: 1rem; color: var(--text-secondary); max-width: 520px; line-height: 1.65; }
.section-header.centered { text-align: center; }
.section-header.centered p { margin: 0 auto; }
.section-header.centered .section-label::before { display: none; }

/* ============================================
   PATHWAY CARDS — icon + heading inline
   ============================================ */
.pathway-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pathway-card { position: relative; padding: 28px 24px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: all 0.3s var(--ease); overflow: hidden; }
.pathway-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent-gradient); opacity: 0; transition: opacity 0.3s var(--ease); }
.pathway-card:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); border-color: transparent; }
.pathway-card:hover::before { opacity: 1; }
.pathway-card-header { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.pathway-icon { width: 42px; height: 42px; background: var(--n100); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.3s var(--ease); }
.pathway-card:hover .pathway-icon { background: var(--accent); transform: scale(1.05); }
.pathway-icon svg { width: 20px; height: 20px; stroke: var(--n500); fill: none; stroke-width: 2; transition: stroke 0.3s var(--ease); }
.pathway-card:hover .pathway-icon svg { stroke: var(--white); }
.pathway-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--text-primary); }
.pathway-card p { color: var(--text-secondary); margin-bottom: 14px; line-height: 1.6; font-size: 0.92rem; }
.pathway-link { font-weight: 600; font-size: 0.88rem; display: inline-flex; align-items: center; gap: 6px; }
.pathway-link::after { content: '\2192'; transition: transform 0.3s var(--ease); }
.pathway-link:hover::after { transform: translateX(6px); }

/* ============================================
   BENTO GRID
   ============================================ */
.bento-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.bento-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all 0.3s var(--ease); }
.bento-card:hover { transform: scale(1.02); box-shadow: var(--shadow-xl); border-color: transparent; }
.bento-card.featured { grid-column: span 1; }
.bento-card-img { width: 100%; overflow: hidden; }
.bento-card .bento-card-img { height: 180px; }
.bento-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.bento-card:hover .bento-card-img img { transform: scale(1.05); }
.bento-card-body { padding: 20px; }
.bento-card-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; color: var(--text-primary); transition: color 0.3s var(--ease); }
.bento-card:hover .bento-card-body h3 { color: var(--accent); }
.bento-card-body p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 12px; }
.card-link { font-size: 0.82rem; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.card-link::after { content: '\2192'; transition: transform 0.3s var(--ease); }
.card-link:hover::after { transform: translateX(4px); }

/* ============================================
   SPLIT LAYOUT — stretch for matching height
   ============================================ */
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split-section.stretch { align-items: stretch; }
.split-image { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); height: 300px; }
.split-section.stretch .split-image { height: auto; }
.split-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s var(--ease); }
.split-image:hover img { transform: scale(1.03); }

.why-us-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.why-us-grid .split-image { height: 310px; }
.why-us-grid .check-list { margin-top: 0; display: flex; flex-direction: column; gap: 4px; justify-content: center; }

.check-list { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; }
.check-item { display: flex; align-items: center; gap: 14px; font-size: 0.95rem; color: var(--text-primary); padding: 10px 16px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--border); transition: all 0.3s var(--ease); }
.check-item:hover { background: var(--accent-light); border-color: var(--accent); transform: translateX(4px); }
.check-icon { width: 22px; height: 22px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--accent-light); border-radius: 50%; }
.check-icon svg { width: 14px; height: 14px; stroke: var(--accent); stroke-width: 2.5; fill: none; }

/* ============================================
   INDUSTRIES — with SVG icons
   ============================================ */
.industries-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.industry-card { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 24px 16px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); text-align: center; transition: all 0.3s var(--ease); cursor: default; }
.industry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.industry-card .ind-icon { width: 44px; height: 44px; background: var(--n100); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; transition: all 0.3s var(--ease); }
.industry-card:hover .ind-icon { background: var(--accent); }
.industry-card .ind-icon svg { width: 22px; height: 22px; stroke: var(--n500); fill: none; stroke-width: 1.5; transition: stroke 0.3s var(--ease); }
.industry-card:hover .ind-icon svg { stroke: var(--white); }
.industry-card span { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); }

/* ============================================
   IMAGE MOSAIC — with hover overlay
   ============================================ */
.image-mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.image-mosaic-item { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: all 0.3s var(--ease); aspect-ratio: 4/3; }
.image-mosaic-item:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }
.image-mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.image-mosaic-item:hover img { transform: scale(1.05); }
/* Hover overlay with label */
.image-mosaic-item .mosaic-overlay { position: absolute; inset: 0; background: rgba(28,25,23,0.6); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.35s var(--ease); padding: 16px; }
.image-mosaic-item:hover .mosaic-overlay { opacity: 1; }
.mosaic-overlay span { color: var(--white); font-size: 0.95rem; font-weight: 700; text-align: center; line-height: 1.4; }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner { background: linear-gradient(135deg, var(--n800) 0%, var(--n900) 100%); padding: 56px 0; text-align: center; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle at 30% 50%, rgba(234,88,12,0.08) 0%, transparent 50%); pointer-events: none; }
.cta-banner h2 { font-size: 1.85rem; font-weight: 800; color: var(--white); margin-bottom: 8px; position: relative; }
.cta-banner p { font-size: 1rem; color: rgba(255,255,255,0.6); margin-bottom: 28px; position: relative; }
.cta-banner .btn { background: var(--accent); color: var(--white); border-color: var(--accent); position: relative; }
.cta-banner .btn:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(234,88,12,0.3); }

/* ============================================
   PAGE HEROES
   ============================================ */
.page-hero { position: relative; padding: 80px 0 48px; min-height: 280px; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,25,23,0.45) 0%, rgba(28,25,23,0.72) 100%); }
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { font-size: 2.25rem; font-weight: 800; color: var(--white); letter-spacing: -0.4px; }
.page-hero .hero-subtitle { font-size: 1rem; color: rgba(255,255,255,0.7); margin-top: 8px; max-width: 480px; }

/* ============================================
   ABOUT
   ============================================ */
.about-text { max-width: 680px; font-size: 1rem; color: var(--text-secondary); line-height: 1.75; }
.about-text p + p { margin-top: 16px; }
.highlight { color: var(--accent); font-weight: 600; }

.vision-mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vm-card { padding: 28px; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); transition: all 0.3s var(--ease); position: relative; overflow: hidden; }
.vm-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent-gradient); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.vm-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.vm-card:hover::before { transform: scaleX(1); }
/* Icon + heading on same line */
.vm-card-header { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.vm-card .vm-icon { width: 44px; height: 44px; background: var(--n100); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.3s var(--ease); }
.vm-card:hover .vm-icon { background: var(--accent); }
.vm-card .vm-icon svg { width: 22px; height: 22px; stroke: var(--n500); fill: none; transition: stroke 0.3s var(--ease); }
.vm-card:hover .vm-icon svg { stroke: var(--white); }
.vm-card h3 { font-size: 1.15rem; font-weight: 700; }
.vm-card p { color: var(--text-secondary); line-height: 1.65; font-size: 0.92rem; }

.director-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; padding: 40px 48px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl); max-width: 400px; transition: all 0.3s var(--ease); box-shadow: var(--shadow-md); }
.director-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-xl); }
.director-img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 4px solid var(--accent); box-shadow: 0 4px 20px rgba(234,88,12,0.15); }
.director-info h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; color: var(--text-primary); }
.director-info p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.5; }

/* ============================================
   SERVICES PAGE — uniform grid
   ============================================ */
.service-section { padding: 36px 0; }
.service-section:nth-child(even) { background: var(--off-white); }
.service-section:nth-child(odd) { background: var(--white); }

.service-block { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.service-block.reverse { direction: rtl; }
.service-block.reverse > * { direction: ltr; }

.service-block-img { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); position: relative; height: 280px; }
.service-block-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-block-img .img-overlay { position: absolute; inset: 0; background: rgba(28,25,23,0.6); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.35s var(--ease); padding: 16px; }
.service-block-img:hover .img-overlay { opacity: 1; }
.service-block-img .img-overlay span { color: var(--white); font-size: 0.95rem; font-weight: 700; text-align: center; line-height: 1.4; }

.service-block-content h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 12px; color: var(--text-primary); line-height: 1.3; }
.service-block-content > p { color: var(--text-secondary); margin-bottom: 18px; line-height: 1.65; font-size: 0.95rem; }
.service-list { display: flex; flex-direction: column; gap: 8px; }
.service-list li { display: flex; align-items: center; gap: 10px; color: var(--text-primary); font-size: 0.92rem; line-height: 1.6; }
.service-list li::before { content: ''; width: 7px; height: 7px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }

/* Service image gallery — uniform height */
.service-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 0; }
.service-gallery-item { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); height: 200px; transition: all 0.3s var(--ease); position: relative; }
.service-gallery-item:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }
.service-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.service-gallery-item:hover img { transform: scale(1.05); }
.service-gallery-item .img-overlay { position: absolute; inset: 0; background: rgba(28,25,23,0.6); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.35s var(--ease); padding: 16px; }
.service-gallery-item:hover .img-overlay { opacity: 1; }
.service-gallery-item .img-overlay span { color: var(--white); font-size: 0.95rem; font-weight: 700; text-align: center; line-height: 1.4; }

/* ============================================
   FORMS
   ============================================ */
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 32px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.form-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent-gradient); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { position: relative; display: flex; flex-direction: column; }
.form-group.full-width { grid-column: 1 / -1; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--n500); margin-bottom: 5px; transition: color 0.3s var(--ease); }
.form-group:focus-within label { color: var(--accent); }
.form-group input, .form-group select, .form-group textarea { padding: 11px 14px; border: 1.5px solid var(--n200); border-radius: var(--radius); font-family: inherit; font-size: 0.9rem; color: var(--text-primary); background: var(--white); transition: all 0.3s var(--ease); outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-glow); }
.form-group textarea { min-height: 110px; resize: vertical; }
.form-group input[type="file"] { padding: 9px; cursor: pointer; }
.form-note { font-size: 0.75rem; color: var(--text-muted); margin-top: 3px; }
.form-submit { margin-top: 20px; }

/* Smart Captcha */
.smart-captcha { margin-top: 12px; }
.captcha-label { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); margin-bottom: 6px; display: block; }
.captcha-box { display: flex; align-items: center; gap: 12px; background: var(--off-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 14px; }
.captcha-question { font-size: 0.95rem; font-weight: 700; color: var(--accent); white-space: nowrap; }
.captcha-box input[type="text"] { flex: 1; border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 12px; font-size: 0.9rem; max-width: 120px; }
.alert { padding: 14px 18px; border-radius: var(--radius); font-size: 0.9rem; margin-bottom: 20px; }
.alert-success { background: #ECFDF5; color: var(--success); border: 1px solid #A7F3D0; }
.alert-error { background: #FEF2F2; color: var(--error); border: 1px solid #FECACA; }

/* ============================================
   CONTACT
   ============================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: stretch; }
.contact-grid > .reveal-left, .contact-grid > .reveal-right { display: flex; flex-direction: column; height: 100%; }
.contact-grid > .reveal-right .form-card { flex: 1; display: flex; flex-direction: column; }
.contact-grid > .reveal-right .form-card form { flex: 1; display: flex; flex-direction: column; }
.contact-grid > .reveal-right .form-card .form-submit { margin-top: auto; }
.contact-info-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 32px; box-shadow: var(--shadow-lg); flex: 1; display: flex; flex-direction: column; gap: 8px; position: relative; overflow: hidden; }
.contact-info-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent-gradient); }
.contact-info-header { text-align: center; margin-bottom: 12px; }
.contact-info-header .section-label { margin-bottom: 6px; }
.contact-info-header h2 { font-size: 1.5rem; margin-bottom: 6px; }
.contact-info-header p { color: var(--text-secondary); font-size: 0.88rem; }
.contact-map-wrapper { border-radius: var(--radius-lg); overflow: hidden; margin-top: auto; }
.contact-info-list { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: var(--radius); transition: all 0.3s var(--ease); }
.contact-info-item:hover { background: var(--accent-light); }
.contact-info-item .icon-box { width: 42px; height: 42px; background: var(--n100); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.3s var(--ease); }
.contact-info-item:hover .icon-box { background: var(--accent); }
.contact-info-item .icon-box svg { width: 18px; height: 18px; stroke: var(--n500); fill: none; transition: stroke 0.3s var(--ease); }
.contact-info-item:hover .icon-box svg { stroke: var(--white); }
.contact-director-img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--accent-light); }
.contact-info-item h4 { font-size: 0.88rem; font-weight: 600; margin-bottom: 2px; }
.contact-info-item p, .contact-info-item a { color: var(--text-secondary); font-size: 0.88rem; }
.contact-reveal-btn { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; background: var(--n100); border: 1px solid var(--n200); border-radius: 6px; color: var(--n600); font-size: 0.82rem; font-weight: 500; cursor: pointer; font-family: inherit; transition: all 0.3s var(--ease); }
.contact-reveal-btn:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }
.contact-revealed { font-size: 0.9rem; color: var(--text-primary); font-weight: 500; }

/* ============================================
   CAREERS — Job Accordion (full width)
   ============================================ */
.job-board { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 100%; }
.job-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all 0.3s var(--ease); }
.job-item:hover { box-shadow: var(--shadow-md); }
.job-item.active { box-shadow: var(--shadow-lg); border-color: var(--accent); }
.job-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; cursor: pointer; transition: background 0.2s var(--ease); user-select: none; }
.job-header:hover { background: var(--n50); }
.job-header-left { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.job-header h3 { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); }
.job-summary { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; }
.job-meta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 2px; }
.job-meta span { font-size: 0.78rem; color: var(--text-secondary); background: var(--n50); padding: 3px 10px; border-radius: 20px; }
.job-toggle { width: 32px; height: 32px; background: var(--n100); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.3s var(--ease); }
.job-item.active .job-toggle { background: var(--accent); transform: rotate(180deg); }
.job-toggle svg { width: 16px; height: 16px; stroke: var(--n500); fill: none; stroke-width: 2; transition: stroke 0.3s var(--ease); }
.job-item.active .job-toggle svg { stroke: var(--white); }
.job-body { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.job-item.active .job-body { max-height: 1200px; }
.job-content { padding: 0 24px 24px; border-top: 1px solid var(--border); }
.job-content h4 { font-size: 0.92rem; font-weight: 700; color: var(--text-primary); margin: 20px 0 8px; }
.job-content h4:first-child { margin-top: 16px; }
.job-content p, .job-content li { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; }
.job-content ul { padding-left: 20px; list-style: disc; }
.job-content ul li { margin-bottom: 4px; }
.job-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.job-tag { padding: 4px 10px; background: var(--accent-light); border-radius: 50px; font-size: 0.75rem; font-weight: 500; color: var(--accent); }
.job-apply-section { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.job-apply-section h4 { margin-top: 0 !important; }
.job-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 12px; }

/* ============================================
   LEGAL
   ============================================ */
.legal-content { max-width: 740px; margin: 0 auto; }
.legal-content h2 { font-size: 1.35rem; font-weight: 700; margin: 32px 0 10px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--text-secondary); line-height: 1.75; margin-bottom: 14px; font-size: 0.95rem; }
.legal-content ul { margin: 10px 0 14px 20px; list-style: disc; }
.legal-content ul li { color: var(--text-secondary); margin-bottom: 4px; line-height: 1.65; }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: #1C1917; color: rgba(255,255,255,0.55); padding: 56px 0 0; position: relative; }
.footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(234,88,12,0.25), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-logo { width: 180px; margin-bottom: 14px; border-radius: 8px; opacity: 0.85; }
.footer-brand p { font-size: 0.82rem; line-height: 1.65; color: rgba(255,255,255,0.4); }
.footer h4 { color: var(--white); font-size: 0.88rem; font-weight: 600; margin-bottom: 16px; }
.footer-links ul { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: rgba(255,255,255,0.45); font-size: 0.85rem; display: inline-block; transition: color 0.3s var(--ease), transform 0.3s var(--ease); }
.footer-links a:hover { color: var(--white); transform: translateX(4px); }
.footer-contact ul { display: flex; flex-direction: column; gap: 12px; }
.footer-contact li { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; }
.footer-contact li svg { flex-shrink: 0; stroke: rgba(255,255,255,0.25); }
.footer-contact a, .footer-contact span { color: rgba(255,255,255,0.45); transition: color 0.3s var(--ease); }
.footer-contact a:hover { color: var(--white); }

.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; transition: all 0.3s var(--ease); }
.footer-social a:hover { background: var(--accent); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; stroke: rgba(255,255,255,0.5); fill: none; stroke-width: 1.5; transition: stroke 0.3s var(--ease); }
.footer-social a:hover svg { stroke: var(--white); }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font-size: 0.78rem; color: rgba(255,255,255,0.3); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: rgba(255,255,255,0.3); transition: color 0.3s var(--ease); }
.footer-legal a:hover { color: var(--white); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .home-hero h1 { font-size: 2.5rem; }
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-card.featured { grid-column: span 1; }
    .split-section, .service-block, .why-us-grid { grid-template-columns: 1fr; gap: 32px; }
    .service-block.reverse { direction: ltr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .counter-grid { grid-template-columns: repeat(2, 1fr); }
    .industries-grid { grid-template-columns: repeat(3, 1fr); }
    .service-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav-menu { position: fixed; top: 0; right: 0; bottom: 0; width: 260px; background: var(--glass-bg); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); flex-direction: column; align-items: stretch; padding: 72px 20px 20px; gap: 2px; transform: translateX(100%); transition: transform 0.35s var(--ease); z-index: 999; box-shadow: -8px 0 32px rgba(0,0,0,0.08); border-left: 1px solid var(--border); }
    .nav-menu.open { transform: translateX(0); }
    .nav-link { padding: 12px 14px; font-size: 0.95rem; }
    .nav-cta { display: none; }
    .nav-toggle { display: flex; }
    .home-hero-grid { grid-template-columns: 1fr; min-height: auto; }
    .home-hero h1 { font-size: 2rem; }
    .home-hero-image { aspect-ratio: 16/9; max-height: 280px; }
    .page-hero { min-height: 200px; padding: 64px 0 32px; }
    .page-hero h1 { font-size: 1.75rem; }
    .section { padding: 32px 0; }
    .section-sm { padding: 36px 0; }
    .section-header h2 { font-size: 1.6rem; }
    .pathway-grid, .bento-grid, .vision-mission-grid, .form-grid, .contact-grid, .job-form-grid { grid-template-columns: 1fr; }
    .bento-card.featured { grid-column: span 1; }
    .counter-grid { grid-template-columns: repeat(2, 1fr); }
    .industries-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
    .service-block-img { height: auto; }
    .image-mosaic, .service-gallery { grid-template-columns: 1fr 1fr; }
    .service-gallery-item { height: 180px; }
    .hero-badge { display: none; }
}
@media (max-width: 600px) {
    .counter-grid { grid-template-columns: repeat(2, 1fr); }
    .why-us-grid { grid-template-columns: 1fr; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-card.featured { grid-column: span 1; }
}
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .home-hero h1 { font-size: 1.7rem; }
    .hero-buttons { flex-direction: column; }
    .btn { justify-content: center; width: 100%; }
    .form-card { padding: 20px; }
    .image-mosaic, .service-gallery { grid-template-columns: 1fr; }
    .industries-grid { grid-template-columns: 1fr 1fr; }
    .job-header { padding: 14px 16px; }
    .job-content { padding: 0 16px 16px; }
    .footer-social { justify-content: center; }
}

/* ============================================
   ACCESSIBILITY — reduced motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal, .reveal-scale, .reveal-left, .reveal-right { opacity: 1; transform: none; }
}
