/*
Theme Name: Leadway Resource
Theme URI: https://leadway.in
Author: Leadway Resource LLP
Author URI: https://leadway.in
Description: Custom professional recruitment theme for Leadway Resource LLP
Version: 1.0.0
License: Private
Text Domain: leadway-resource
*/

/* ===== VARIABLES ===== */
:root {
  --navy: #0D1B2A;
  --navy-mid: #1B2E42;
  --navy-light: #253B52;
  --gold: #C8A96E;
  --gold-light: #E0C898;
  --gold-pale: #F5EDD8;
  --cream: #FAF7F2;
  --white: #FFFFFF;
  --text-dark: #1A1A2E;
  --text-mid: #4A5568;
  --text-light: #718096;
  --border: #E2D9C8;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; }

/* IMAGE UTILS */
.img-cover { width: 100%; height: 100%; object-fit: cover; display: block; }

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(8px);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  border-bottom: 1px solid rgba(200,169,110,0.2);
}

.logo { display: flex; flex-direction: column; line-height: 1.1; }
.logo-main { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: var(--white); letter-spacing: 0.02em; }
.logo-sub { font-size: 10px; font-weight: 300; color: var(--gold); letter-spacing: 0.18em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a { font-size: 13px; font-weight: 400; color: rgba(255,255,255,0.7); text-decoration: none; letter-spacing: 0.06em; text-transform: uppercase; transition: color 0.2s; }
.nav-links a:hover { color: var(--gold); }

.nav-cta { background: var(--gold); color: var(--navy) !important; padding: 9px 22px; border-radius: 2px; font-weight: 500 !important; }
.nav-cta:hover { background: var(--gold-light) !important; color: var(--navy) !important; }

/* HERO */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 5% 80px;
}

.hero-bg-img { position: absolute; inset: 0; z-index: 0; }
.hero-bg-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; opacity: 0.18; }

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(13,27,42,0.98) 45%, rgba(13,27,42,0.60) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(200,169,110,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(200,169,110,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 1;
}

.hero-content { position: relative; max-width: 680px; animation: fadeUp 0.9s ease both; z-index: 2; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,169,110,0.12);
  border: 1px solid rgba(200,169,110,0.3);
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 2px;
  margin-bottom: 32px;
}

.hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(42px, 6vw, 72px); font-weight: 700; color: var(--white); line-height: 1.12; margin-bottom: 24px; letter-spacing: -0.01em; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero p { font-size: 18px; font-weight: 300; color: rgba(255,255,255,0.65); max-width: 520px; margin-bottom: 44px; line-height: 1.75; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.btn-primary { background: var(--gold); color: var(--navy); padding: 15px 32px; font-size: 14px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; border-radius: 2px; transition: background 0.2s, transform 0.15s; display: inline-block; }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-outline { background: transparent; color: rgba(255,255,255,0.8); padding: 14px 32px; font-size: 14px; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; border: 1px solid rgba(255,255,255,0.25); border-radius: 2px; transition: border-color 0.2s, color 0.2s; display: inline-block; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.hero-stats { position: absolute; bottom: 60px; right: 5%; display: flex; gap: 48px; animation: fadeUp 0.9s 0.3s ease both; z-index: 2; }
.stat { text-align: right; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 38px; font-weight: 700; color: var(--gold); line-height: 1; }
.stat-label { font-size: 12px; color: rgba(255,255,255,0.45); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px; }

/* SECTION BASE */
section { padding: 100px 5%; }
.section-tag { display: inline-block; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 14px; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(30px, 4vw, 48px); font-weight: 700; color: var(--navy); line-height: 1.18; letter-spacing: -0.01em; }
.section-title em { font-style: italic; color: var(--gold); }
.section-sub { font-size: 17px; color: var(--text-mid); font-weight: 300; line-height: 1.75; max-width: 560px; margin-top: 16px; }

/* ABOUT */
.about { background: var(--white); display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-visual { position: relative; }
.about-photo-wrap { position: relative; border-radius: 4px; overflow: hidden; height: 320px; margin-bottom: 20px; }
.about-photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.about-photo-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,27,42,0.55) 0%, transparent 60%); }

.about-card { background: var(--navy); border-radius: 4px; padding: 48px; color: white; position: relative; overflow: hidden; }
.about-card::before { content: ''; position: absolute; top: 0; right: 0; width: 120px; height: 120px; background: rgba(200,169,110,0.08); border-radius: 50%; transform: translate(30px, -30px); }
.about-card-quote { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 400; font-style: italic; color: var(--gold-light); line-height: 1.5; margin-bottom: 24px; }
.about-card-author { font-size: 13px; color: rgba(255,255,255,0.5); letter-spacing: 0.08em; text-transform: uppercase; }

.about-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.pillar { background: var(--gold-pale); border: 1px solid var(--border); border-radius: 4px; padding: 20px; }
.pillar-icon { width: 36px; height: 36px; background: var(--navy); border-radius: 2px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.pillar-icon svg { width: 18px; height: 18px; }
.pillar h4 { font-size: 14px; font-weight: 500; color: var(--navy); margin-bottom: 4px; }
.pillar p { font-size: 13px; color: var(--text-mid); line-height: 1.5; }

/* SERVICES */
.services { background: var(--cream); }
.services-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; flex-wrap: wrap; gap: 24px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.service-card { background: var(--white); padding: 40px 36px; border: 1px solid var(--border); position: relative; overflow: hidden; transition: transform 0.25s, box-shadow 0.25s; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(13,27,42,0.10); z-index: 1; }
.service-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--gold); transform: scaleX(0); transition: transform 0.25s; transform-origin: left; }
.service-card:hover::after { transform: scaleX(1); }
.service-num { font-family: 'Playfair Display', serif; font-size: 48px; font-weight: 700; color: rgba(200,169,110,0.2); line-height: 1; margin-bottom: 20px; }
.service-title { font-size: 19px; font-weight: 500; color: var(--navy); margin-bottom: 12px; }
.service-desc { font-size: 15px; color: var(--text-mid); line-height: 1.7; margin-bottom: 24px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 11px; color: var(--navy-mid); background: var(--gold-pale); border: 1px solid var(--border); padding: 4px 10px; border-radius: 2px; letter-spacing: 0.04em; }

/* INDUSTRIES */
.industries { background: var(--navy); padding: 100px 5%; }
.industries .section-title { color: var(--white); }
.industries .section-sub { color: rgba(255,255,255,0.55); }
.industries-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 56px; }
.industry-item { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); padding: 32px 28px; cursor: pointer; transition: background 0.2s; }
.industry-item:hover { background: rgba(200,169,110,0.08); border-color: rgba(200,169,110,0.2); }
.industry-icon { font-size: 28px; margin-bottom: 14px; }
.industry-name { font-size: 15px; font-weight: 500; color: var(--white); margin-bottom: 6px; }
.industry-detail { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.5; }

/* PROCESS */
.process { background: var(--white); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 64px; position: relative; }
.process-steps::before { content: ''; position: absolute; top: 36px; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, var(--gold) 0%, var(--gold) 100%); opacity: 0.25; }
.process-step { padding: 0 24px; position: relative; }
.step-num { width: 72px; height: 72px; background: var(--navy); border-radius: 2px; display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; color: var(--gold); margin-bottom: 24px; position: relative; z-index: 1; }
.step-title { font-size: 17px; font-weight: 500; color: var(--navy); margin-bottom: 10px; }
.step-desc { font-size: 14px; color: var(--text-mid); line-height: 1.65; }

/* TESTIMONIALS */
.testimonials { background: var(--cream); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.testimonial-card { background: var(--white); border: 1px solid var(--border); border-radius: 4px; padding: 36px 32px; position: relative; }
.testimonial-quote { font-size: 56px; color: var(--gold); font-family: 'Playfair Display', serif; line-height: 0.8; margin-bottom: 16px; opacity: 0.4; }
.testimonial-text { font-size: 15px; color: var(--text-mid); line-height: 1.75; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar { width: 42px; height: 42px; background: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 500; color: var(--gold); flex-shrink: 0; }
.author-name { font-size: 14px; font-weight: 500; color: var(--navy); }
.author-role { font-size: 12px; color: var(--text-light); letter-spacing: 0.04em; }

/* CTA SPLIT */
.cta-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 480px; }
.cta-panel { padding: 80px 60px; display: flex; flex-direction: column; justify-content: center; }
.cta-panel.dark { background: var(--navy); position: relative; overflow: hidden; }
.cta-panel.dark .cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-panel.dark .cta-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.15; }
.cta-panel.dark > *:not(.cta-bg) { position: relative; z-index: 1; }
.cta-panel.light { background: var(--gold-pale); border: 1px solid var(--border); }
.cta-panel.dark .cta-title { font-family: 'Playfair Display', serif; font-size: clamp(26px, 3vw, 38px); font-weight: 700; color: var(--white); line-height: 1.2; margin-bottom: 16px; }
.cta-panel.light .cta-title { font-family: 'Playfair Display', serif; font-size: clamp(26px, 3vw, 38px); font-weight: 700; color: var(--navy); line-height: 1.2; margin-bottom: 16px; }
.cta-panel.dark .cta-desc { color: rgba(255,255,255,0.6); font-size: 16px; margin-bottom: 36px; line-height: 1.7; }
.cta-panel.light .cta-desc { color: var(--text-mid); font-size: 16px; margin-bottom: 36px; line-height: 1.7; }

.btn-gold { display: inline-block; background: var(--gold); color: var(--navy); padding: 14px 30px; font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; border-radius: 2px; transition: background 0.2s; align-self: flex-start; }
.btn-gold:hover { background: var(--gold-light); }
.btn-navy { display: inline-block; background: var(--navy); color: var(--white); padding: 14px 30px; font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; border-radius: 2px; transition: background 0.2s; align-self: flex-start; }
.btn-navy:hover { background: var(--navy-mid); }

/* CONTACT */
.contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; margin-top: 56px; align-items: start; }
.contact-item { display: flex; gap: 16px; margin-bottom: 28px; align-items: flex-start; }
.contact-icon { width: 40px; height: 40px; background: var(--gold-pale); border: 1px solid var(--border); border-radius: 2px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg { width: 18px; height: 18px; }
.contact-label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 3px; }
.contact-value { font-size: 15px; color: var(--navy); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-mid); font-weight: 500; margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; background: var(--cream); border: 1px solid var(--border); border-radius: 2px; font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--text-dark); outline: none; transition: border-color 0.2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-select-wrap { position: relative; }
.form-submit { width: 100%; background: var(--navy); color: var(--white); border: none; padding: 15px 32px; font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; border-radius: 2px; margin-top: 8px; transition: background 0.2s; }
.form-submit:hover { background: var(--navy-mid); }

/* IMAGE BANNER */
.img-banner { height: 420px; position: relative; overflow: hidden; }
.img-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
.img-banner-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,27,42,0.82) 0%, rgba(13,27,42,0.3) 100%); display: flex; align-items: center; padding: 0 5%; }
.img-banner-text { max-width: 560px; }
.img-banner-text h2 { font-family: 'Playfair Display', serif; font-size: clamp(28px, 4vw, 48px); font-weight: 700; color: var(--white); line-height: 1.15; margin-bottom: 16px; }
.img-banner-text h2 em { color: var(--gold); font-style: italic; }
.img-banner-text p { font-size: 17px; color: rgba(255,255,255,0.7); line-height: 1.7; margin-bottom: 32px; font-weight: 300; }

/* PHOTO STRIP */
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); height: 300px; gap: 3px; }
.photo-strip-item { position: relative; overflow: hidden; }
.photo-strip-item img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: transform 0.5s ease; }
.photo-strip-item:hover img { transform: scale(1.05); }
.photo-strip-item-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,27,42,0.7) 0%, transparent 50%); display: flex; align-items: flex-end; padding: 20px; opacity: 0; transition: opacity 0.3s; }
.photo-strip-item:hover .photo-strip-item-overlay { opacity: 1; }
.photo-strip-label { font-size: 14px; font-weight: 500; color: var(--white); letter-spacing: 0.04em; }

/* FOOTER */
footer { background: #080F18; color: rgba(255,255,255,0.5); padding: 60px 5% 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo-main { font-size: 18px; }
.footer-desc { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.35); margin-top: 16px; max-width: 260px; }
.footer-heading { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 16px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.footer-legal a { color: rgba(255,255,255,0.35); text-decoration: none; margin-left: 24px; transition: color 0.2s; }
.footer-legal a:hover { color: var(--gold); }

/* DIVIDER */
.gold-divider { width: 48px; height: 3px; background: var(--gold); margin: 20px 0 36px; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .about, .contact-grid { grid-template-columns: 1fr; }
  .services-grid, .industries-grid, .process-steps, .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .cta-split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { position: relative; bottom: auto; right: auto; margin-top: 56px; justify-content: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  nav .nav-links { display: none; }
}

@media (max-width: 600px) {
  .services-grid, .industries-grid, .process-steps, .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
