/* ============================================================
   ARDENT LABOUR GROUP — Main Stylesheet
   Labour Law & Industrial Relations Specialists
   Brand: ALG Crimson Red + Charcoal
   ============================================================ */

/* --- Variables & Reset --- */
:root {
  --red:        #C41230;
  --red-dark:   #9B0E25;
  --red-light:  #E8284A;
  --red-pale:   #fdf0f2;
  --charcoal:   #1C2434;
  --charcoal-2: #2C3A4F;
  --charcoal-3: #3D4F66;
  --white:      #ffffff;
  --off-white:  #f8f9fb;
  --gray-light: #eef1f6;
  --gray:       #9aa3b2;
  --text:       #1e2b3c;
  --text-light: #5a6a7e;
  --success:    #198754;
  --warning:    #f59e0b;
  --info:       #2563eb;
  --radius:     8px;
  --radius-lg:  16px;
  --shadow:     0 4px 24px rgba(28,36,52,0.10);
  --shadow-lg:  0 8px 40px rgba(28,36,52,0.18);
  --transition: all 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* --- Typography --- */
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 700; line-height: 1.25; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { color: var(--text-light); }

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.6rem;
  background: var(--red-pale);
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
}

/* --- Utilities --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-dark { background: var(--charcoal); color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.68); }
.section-light { background: var(--off-white); }
.text-center { text-align: center; }
.text-red { color: var(--red); }
.text-white { color: var(--white) !important; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196,18,48,0.35);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-outline:hover {
  background: var(--red);
  color: var(--white);
}
.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0.75rem 0;
  background: rgba(28,36,52,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
  transition: var(--transition);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.logo { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; flex-shrink: 0; }
.logo-img { height: 120px; width: auto; border-radius: 6px; }
.logo-text { line-height: 1.2; }
.logo-name { font-size: 0.95rem; font-weight: 800; color: var(--white); letter-spacing: 0.01em; white-space: nowrap; }
.logo-sub { font-size: 0.62rem; color: rgba(255,255,255,0.65); font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 0; }
.nav-links a {
  padding: 0.45rem 0.6rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,0.08); }
.nav-cta { display: flex; align-items: center; gap: 0.5rem; }
.btn-portal {
  background: var(--red);
  color: var(--white) !important;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.8rem;
  transition: var(--transition);
  border: 2px solid var(--red);
  white-space: nowrap;
}
.btn-portal:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-1px); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.4rem;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; }

/* --- Hero --- */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-2) 60%, #2a3a54 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 7rem 0 4rem;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 60%; height: 140%;
  background: radial-gradient(ellipse, rgba(196,18,48,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(196,18,48,0.12);
  border: 1px solid rgba(196,18,48,0.3);
  border-radius: 100px;
  padding: 0.35rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #ff6b82;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 span { color: var(--red-light); }
.hero-desc { font-size: 1.05rem; color: rgba(255,255,255,0.72); max-width: 500px; margin-bottom: 2rem; line-height: 1.7; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats {
  display: flex;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.stat-item { text-align: left; }
.stat-num { font-size: 1.8rem; font-weight: 800; color: var(--red-light); line-height: 1; margin-bottom: 0.2rem; }
.stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.05em; }

/* Hero Visual */
.hero-visual { position: relative; }
.hero-card-main {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
}
.hero-card-main::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--red-light));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.portal-preview-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.portal-preview-header h4 { color: var(--white); font-size: 0.95rem; }
.status-dot { width: 8px; height: 8px; background: #34d399; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1}50%{opacity:0.4} }
.portal-stats-mini { display: grid; grid-template-columns: repeat(3,1fr); gap: 0.75rem; margin-bottom: 1.25rem; }
.stat-mini { background: rgba(255,255,255,0.05); border-radius: var(--radius); padding: 0.75rem; text-align: center; }
.stat-mini-num { font-size: 1.4rem; font-weight: 800; color: var(--red-light); line-height: 1; }
.stat-mini-label { font-size: 0.68rem; color: rgba(255,255,255,0.5); margin-top: 0.2rem; }
.portal-recent-title { font-size: 0.72rem; font-weight: 600; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem; }
.recent-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.recent-item:last-child { border-bottom: none; }
.recent-icon { width: 32px; height: 32px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; flex-shrink: 0; }
.recent-icon.green { background: rgba(52,211,153,0.15); }
.recent-icon.blue { background: rgba(96,165,250,0.15); }
.recent-icon.red { background: rgba(196,18,48,0.2); }
.recent-info { flex: 1; min-width: 0; }
.recent-name { font-size: 0.82rem; color: var(--white); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.recent-date { font-size: 0.7rem; color: rgba(255,255,255,0.4); }
.recent-badge { font-size: 0.68rem; padding: 0.2rem 0.6rem; border-radius: 100px; font-weight: 600; }
.badge-green { background: rgba(52,211,153,0.15); color: #34d399; }
.badge-blue { background: rgba(96,165,250,0.15); color: #60a5fa; }
.badge-red { background: rgba(196,18,48,0.2); color: #ff6b82; }
.hero-float-1 {
  position: absolute; bottom: -1.5rem; left: -1.5rem;
  background: var(--white); border-radius: var(--radius); padding: 0.9rem 1.1rem;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 0.75rem; min-width: 180px;
}
.hero-float-2 {
  position: absolute; top: -1rem; right: -1rem;
  background: var(--charcoal-2); border: 1px solid rgba(196,18,48,0.3);
  border-radius: var(--radius); padding: 0.7rem 1rem; box-shadow: var(--shadow);
}
.float-icon { width: 36px; height: 36px; background: var(--red-pale); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.float-text .label { font-size: 0.68rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.05em; }
.float-text .value { font-size: 0.9rem; font-weight: 700; color: var(--text); }
.float-2-label { font-size: 0.7rem; color: rgba(255,255,255,0.5); }
.float-2-value { font-size: 0.95rem; font-weight: 700; color: #ff6b82; }

/* --- Services --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--red-light)); opacity: 0; transition: var(--transition);
}
.service-card:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-card:hover::before { opacity: 1; }
.service-icon { width: 52px; height: 52px; background: var(--red-pale); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.25rem; }
.service-card h3 { color: var(--text); margin-bottom: 0.6rem; }
.service-card p { font-size: 0.88rem; line-height: 1.65; }
.service-link { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; font-weight: 600; color: var(--red); margin-top: 1.1rem; transition: var(--transition); }
.service-link:hover { color: var(--red-dark); gap: 0.7rem; }

/* --- Why Choose Us --- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.why-features { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.why-feature { display: flex; gap: 1rem; align-items: flex-start; }
.why-feature-icon { width: 44px; height: 44px; background: rgba(196,18,48,0.12); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.why-feature h4 { color: var(--white); margin-bottom: 0.3rem; }
.why-feature p { font-size: 0.88rem; }
.why-visual { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-lg); padding: 1.5rem; }
.win-rate-display { text-align: center; padding: 2rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 1.5rem; }
.win-rate-num { font-size: 4rem; font-weight: 900; color: var(--red-light); line-height: 1; }
.win-rate-label { color: rgba(255,255,255,0.55); font-size: 0.85rem; margin-top: 0.5rem; }
.outcome-bars { display: flex; flex-direction: column; gap: 1rem; }
.outcome-bar-label { display: flex; justify-content: space-between; font-size: 0.82rem; margin-bottom: 0.4rem; }
.outcome-bar-label span:first-child { color: rgba(255,255,255,0.65); }
.outcome-bar-label span:last-child { color: var(--red-light); font-weight: 600; }
.outcome-bar-track { height: 6px; background: rgba(255,255,255,0.08); border-radius: 100px; overflow: hidden; }
.outcome-bar-fill { height: 100%; background: linear-gradient(90deg, var(--red), var(--red-light)); border-radius: 100px; }

/* --- Process --- */
.process-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; margin-top: 3rem; position: relative; }
.process-steps::before { content: ''; position: absolute; top: 28px; left: 12.5%; right: 12.5%; height: 2px; background: linear-gradient(90deg, var(--red), var(--red-light), var(--red)); opacity: 0.3; }
.process-step { text-align: center; position: relative; }
.step-number { width: 56px; height: 56px; background: var(--red-pale); border: 2px solid var(--red); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 800; color: var(--red); margin: 0 auto 1.25rem; position: relative; z-index: 1; }
.process-step h3 { color: var(--text); margin-bottom: 0.5rem; font-size: 1rem; }

/* --- Testimonials --- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 1.5rem; margin-top: 3rem; }
.testimonial-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-lg); padding: 1.75rem; }
.testimonial-stars { color: #fbbf24; margin-bottom: 1rem; font-size: 1rem; }
.testimonial-text { font-size: 0.92rem; line-height: 1.7; color: rgba(255,255,255,0.72); margin-bottom: 1.25rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--red), var(--red-dark)); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--white); font-size: 0.9rem; }
.author-name { font-size: 0.9rem; font-weight: 600; color: var(--white); }
.author-company { font-size: 0.75rem; color: rgba(255,255,255,0.4); }

/* --- Portal CTA --- */
.portal-cta { background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%); padding: 4rem 0; }
.portal-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.portal-cta h2 { color: var(--white); }
.portal-cta p { color: rgba(255,255,255,0.75); max-width: 500px; }
.btn-portal-cta { background: var(--white); color: var(--red); padding: 0.9rem 2rem; border-radius: var(--radius); font-weight: 700; font-size: 1rem; display: inline-flex; align-items: center; gap: 0.5rem; transition: var(--transition); white-space: nowrap; }
.btn-portal-cta:hover { background: var(--off-white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

/* --- Contact --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 1.5rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item-icon { width: 44px; height: 44px; background: var(--red-pale); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.contact-item-label { font-size: 0.72rem; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: 0.05em; }
.contact-item-value { font-size: 0.92rem; font-weight: 500; color: var(--text); margin-top: 0.2rem; }
.contact-form { background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text); margin-bottom: 0.4rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.7rem 0.9rem; border: 1.5px solid var(--gray-light); border-radius: var(--radius); font-size: 0.9rem; color: var(--text); background: var(--white); transition: var(--transition); outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(196,18,48,0.08); }
.form-group textarea { resize: vertical; min-height: 100px; }

/* --- Footer --- */
.footer { background: #0e1420; color: rgba(255,255,255,0.65); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.06); margin-bottom: 2rem; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-top: 1rem; max-width: 280px; }
.footer-col h5 { font-size: 0.78rem; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul li a { font-size: 0.88rem; color: rgba(255,255,255,0.5); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--red-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.82rem; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 0.82rem; color: rgba(255,255,255,0.35); transition: var(--transition); }
.footer-legal a:hover { color: var(--red-light); }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2,1fr); }
  .process-steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--charcoal); align-items: center; justify-content: center; gap: 1rem; z-index: 999; }
  .nav-links.open a { font-size: 1.2rem; padding: 0.75rem 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .portal-cta-inner { flex-direction: column; text-align: center; }
  .process-steps { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 1rem; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  /* Reduce vertical breathing room on phones */
  section, .section { padding: 2.5rem 0; }
  .hero { padding: 5rem 0 3rem; }
  .why-grid { gap: 2rem; }
  /* Footer brand no longer constrained on narrow screens */
  .footer-brand { max-width: 100%; }
  .footer-brand p { max-width: 100%; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  .hero-stat-number { font-size: 1.6rem; }
  .hero-stats { gap: 0.75rem; }
  .hero-stat { min-width: 120px; }
  .section-label { font-size: 0.65rem; }
}
@keyframes fadeInUp { from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)} }
.animate-in { animation: fadeInUp 0.6s ease forwards; }
