/* Skylyn Careers — Premium Recruitment & Placement */
:root {
  --primary-blue: #063B8C;
  --royal-blue: #087ED9;
  --cyan: #00AEEF;
  --gold: #F5B72B;
  --dark-navy: #061A3A;
  --white: #FFFFFF;
  --light-blue: #F3F8FF;
  --soft-blue: #E6F0FA;
  --text-dark: #0B1D3A;
  --text-body: #334260;
  --radius: 20px;
  --shadow-soft: 0 10px 40px rgba(6,59,140,0.08);
  --shadow-card: 0 4px 24px rgba(6,59,140,0.06);
  --font: "Segoe UI", "Inter", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); color: var(--text-body); background: var(--white); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }

.container { width: 92%; max-width: 1200px; margin: 0 auto; }

/* Typography */
h1,h2,h3,h4 { color: var(--text-dark); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: 1.25rem; }

.section-padding { padding: 6rem 0; }
.section-label { text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.8rem; font-weight: 700; color: var(--royal-blue); margin-bottom: 0.5rem; }

/* Header */
.header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,0.92); backdrop-filter: saturate(150%) blur(14px); -webkit-backdrop-filter: saturate(150%) blur(14px); border-bottom: 1px solid rgba(6,59,140,0.06); transition: box-shadow .3s; }
.header.scrolled { box-shadow: 0 4px 30px rgba(6,59,140,0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.35rem; color: var(--dark-navy); letter-spacing: -0.03em; }
.logo img { height: 46px; width: auto; }
.nav { display: flex; gap: 1.5rem; align-items: center; font-weight: 600; font-size: 0.9rem; color: var(--text-dark); }
.nav a { color: inherit; position: relative; }
.nav a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--gold); transition: width .3s; border-radius: 2px; }
.nav a:hover::after { width: 100%; }
.cta-btns { display: flex; gap: 0.6rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.65rem 1.3rem; border-radius: 50px; font-weight: 700; font-size: 0.85rem; transition: transform .15s, box-shadow .2s; border: none; cursor: pointer; }
.btn-primary { background: linear-gradient(135deg, var(--primary-blue), var(--royal-blue)); color: var(--white); box-shadow: 0 6px 20px rgba(6,59,140,0.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(6,59,140,0.35); color: var(--white); }
.btn-outline { background: transparent; color: var(--primary-blue); border: 2px solid var(--primary-blue); }
.btn-outline:hover { background: var(--primary-blue); color: var(--white); }
.btn-gold { background: linear-gradient(135deg, var(--gold), #f0c94a); color: var(--dark-navy); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(245,183,43,0.35); }

/* Mobile nav */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 26px; height: 2.5px; background: var(--dark-navy); margin: 5px 0; border-radius: 2px; transition: .3s; }
.mobile-nav { display: none; position: absolute; top: 88px; left: 0; right: 0; background: rgba(255,255,255,0.98); backdrop-filter: blur(16px); padding: 1.5rem 2rem; flex-direction: column; gap: 1rem; border-bottom: 2px solid var(--gold); box-shadow: 0 20px 40px rgba(6,59,140,0.1); }
.mobile-nav.open { display: flex; }

/* Hero */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; background: linear-gradient(160deg, #061A3A 0%, #063B8C 55%, #087ED9 100%); }
.hero::before { content: ''; position: absolute; inset: 0; background: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?q=80&w=2071&auto=format&fit=crop') center/cover; opacity: 0.15; mix-blend-mode: overlay; }
.hero-inner { position: relative; z-index: 2; color: var(--white); padding: 9rem 0 7rem; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); backdrop-filter: blur(8px); padding: 0.35rem 0.9rem; border-radius: 50px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 1.5rem; }
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.5} }
.hero h1 { color: var(--white); margin-bottom: 1.2rem; }
.hero h1 .highlight { background: linear-gradient(to right, var(--gold), #ffe066); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: 1.15rem; max-width: 580px; color: rgba(255,255,255,0.85); margin-bottom: 2rem; line-height: 1.55; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-visual { position: absolute; right: -5%; top: 50%; transform: translateY(-50%); width: 520px; height: 520px; z-index: 1; opacity: 0.35; pointer-events: none; }
.hero-visual img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 60px rgba(245,183,43,0.25)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-16px)} }

/* Quick services */
.quick-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.service-card { background: var(--white); border-radius: var(--radius); padding: 2.2rem 1.8rem; box-shadow: var(--shadow-card); border: 1px solid rgba(6,59,140,0.05); transition: transform .2s, box-shadow .2s; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary-blue), var(--gold)); border-radius: var(--radius) var(--radius) 0 0; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(6,59,140,0.12); }
.service-card h3 { margin-bottom: 0.6rem; font-size: 1.15rem; }
.service-card p { font-size: 0.92rem; color: var(--text-body); }
.service-icon { width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, var(--soft-blue), var(--light-blue)); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; color: var(--primary-blue); font-size: 1.4rem; }

/* Sections background */
.bg-light { background: linear-gradient(180deg, var(--light-blue) 0%, var(--white) 60%); }
.bg-dark { background: var(--dark-navy); color: var(--white); }
.bg-dark h2, .bg-dark h3 { color: var(--white); }
.bg-dark p { color: rgba(255,255,255,0.85); }

/* Training preview */
.training-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.training-card { background: var(--white); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-soft); border: 1px solid rgba(6,59,140,0.06); transition: transform .2s; }
.training-card:hover { transform: translateY(-4px); }
.training-card h3 { margin-bottom: 0.5rem; color: var(--primary-blue); }

/* Client marquee */
.marquee-section { padding: 4rem 0; background: var(--white); border-top: 1px solid rgba(6,59,140,0.06); border-bottom: 1px solid rgba(6,59,140,0.06); }
.marquee-track { display: flex; gap: 2rem; width: max-content; animation: scroll-left 35s linear infinite; padding: 0.5rem 0; }
@keyframes scroll-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-track:hover { animation-play-state: paused; }
.client-card { flex: 0 0 220px; height: 110px; background: var(--white); border: 1px solid rgba(6,59,140,0.08); border-radius: 14px; display: flex; align-items: center; justify-content: center; padding: 1rem; box-shadow: var(--shadow-card); transition: transform .2s, box-shadow .2s; }
.client-card:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 12px 30px rgba(6,59,140,0.12); }
.client-card img { max-height: 72px; max-width: 100%; object-fit: contain; filter: grayscale(100%) contrast(1.1); transition: filter .3s; }
.client-card:hover img { filter: grayscale(0%) contrast(1.1); }

/* Gallery */
.masonry { columns: 3; column-gap: 1rem; }
.masonry figure { break-inside: avoid; margin-bottom: 1rem; border-radius: 16px; overflow: hidden; position: relative; box-shadow: var(--shadow-soft); }
.masonry img { width: 100%; height: auto; display: block; transition: transform .4s; }
.masonry figure:hover img { transform: scale(1.05); }
.masonry figcaption { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.2rem 1rem; background: linear-gradient(transparent, rgba(6,59,140,0.9)); color: var(--white); font-weight: 600; font-size: 0.85rem; opacity: 0; transition: opacity .2s; pointer-events: none; }
.masonry figure:hover figcaption { opacity: 1; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(6,59,140,0.92); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s; }
.lightbox.active { opacity: 1; pointer-events: all; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,0.4); transform: scale(0.92); transition: transform .3s; }
.lightbox.active img { transform: scale(1); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.15); border: 1.5px solid rgba(255,255,255,0.3); color: var(--white); width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; cursor: pointer; transition: background .2s; }
.lb-nav:hover { background: rgba(255,255,255,0.3); }
.lb-prev { left: 1.5rem; }
.lb-next { right: 1.5rem; }
.lb-close { position: absolute; top: 1.5rem; right: 1.5rem; background: rgba(255,255,255,0.15); border: 1.5px solid rgba(255,255,255,0.3); color: var(--white); width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; cursor: pointer; transition: background .2s; }
.lb-close:hover { background: rgba(255,255,255,0.3); }

/* Stats bar */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-top: 3rem; }
.stat-card { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 1.5rem; text-align: center; }
.stat-card .num { font-size: 2.2rem; font-weight: 800; color: var(--gold); line-height: 1; }
.stat-card small { font-size: 0.8rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.08em; }

/* Footer */
.footer { background: linear-gradient(180deg, #061A3A 0%, #04152B 100%); color: rgba(255,255,255,0.85); padding: 4rem 0 2rem; border-top: 3px solid var(--gold); }
.footer-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2.5rem; }
.footer-brand .logo img { height: 50px; margin-bottom: 1rem; }
.footer-brand p { color: rgba(255,255,255,0.7); font-size: 0.9rem; line-height: 1.5; }
.footer-links h4 { color: var(--gold); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.footer-links a { display: block; color: rgba(255,255,255,0.75); padding: 0.25rem 0; font-size: 0.9rem; }
.footer-links a:hover { color: var(--gold); }
.socials { display: flex; gap: 0.6rem; margin-top: 1rem; }
.socials a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: var(--white); transition: background .2s; }
.socials a:hover { background: var(--gold); color: var(--dark-navy); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,0.08); margin-top: 3rem; padding-top: 1.5rem; font-size: 0.85rem; color: rgba(255,255,255,0.5); flex-wrap: wrap; gap: 1rem; }

/* Contact section */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-card { background: var(--light-blue); border-radius: var(--radius); padding: 2rem; border: 1px solid rgba(6,59,140,0.08); }
.contact-card h3 { margin-bottom: 1rem; }
.form-field { width: 100%; padding: 0.85rem 1rem; border: 1.5px solid rgba(6,59,140,0.15); border-radius: 12px; font-family: inherit; font-size: 0.95rem; margin-bottom: 1rem; background: var(--white); transition: border-color .2s, box-shadow .2s; }
.form-field:focus { outline: none; border-color: var(--royal-blue); box-shadow: 0 0 0 3px rgba(8,126,217,0.12); }

/* Responsive */
@media (max-width: 992px) {
  .masonry { columns: 2; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { width: 320px; height: 320px; right: -10%; opacity: 0.2; }
}
@media (max-width: 768px) {
  .nav, .cta-btns { display: none; }
  .menu-toggle { display: block; }
  .masonry { columns: 1; }
  .hero { min-height: auto; padding-top: 7rem; }
  .hero-inner { padding: 5rem 0 4rem; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 576px) {
  .quick-cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}

/* Utilities */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
