/**
 * LM Training and Development - Enhanced Design System
 * Theme: Kubio / LM Training Custom
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --lm-primary: #0d274c;
  --lm-primary-dark: #07162c;
  --lm-primary-light: #1a3d6d;
  --lm-secondary: #c98a2c;
  --lm-secondary-hover: #b07520;
  --lm-accent-teal: #0d9488;
  --lm-accent-teal-light: #e6fffa;
  --lm-accent-gold-light: #fef3c7;
  --lm-text-main: #1e293b;
  --lm-text-muted: #64748b;
  --lm-text-light: #94a3b8;
  --lm-bg-light: #f8fafc;
  --lm-bg-white: #ffffff;
  --lm-bg-alt: #f1f5f9;
  --lm-border: #e2e8f0;
  --lm-border-hover: #cbd5e1;
  --lm-shadow-sm: 0 2px 4px rgba(13, 39, 76, 0.04), 0 1px 2px rgba(13, 39, 76, 0.06);
  --lm-shadow-md: 0 4px 6px -1px rgba(13, 39, 76, 0.08), 0 2px 4px -2px rgba(13, 39, 76, 0.05);
  --lm-shadow-lg: 0 10px 25px -3px rgba(13, 39, 76, 0.1), 0 4px 10px -4px rgba(13, 39, 76, 0.06);
  --lm-shadow-xl: 0 20px 35px -5px rgba(13, 39, 76, 0.12), 0 8px 16px -6px rgba(13, 39, 76, 0.08);
  --lm-radius-sm: 8px;
  --lm-radius-md: 12px;
  --lm-radius-lg: 20px;
  --lm-radius-full: 9999px;
  --lm-font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --lm-font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --lm-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Typography & Reset inside LM Containers */
.lm-page-wrapper {
  font-family: var(--lm-font-body);
  color: var(--lm-text-main);
  background-color: var(--lm-bg-light);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.lm-page-wrapper h1,
.lm-page-wrapper h2,
.lm-page-wrapper h3,
.lm-page-wrapper h4,
.lm-page-wrapper h5,
.lm-page-wrapper h6 {
  font-family: var(--lm-font-heading);
  color: var(--lm-primary);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.lm-container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

/* ==========================================================================
   Hero Banners
   ========================================================================== */
.lm-hero-section {
  position: relative;
  background: linear-gradient(135deg, #07162c 0%, #0d274c 50%, #173b6c 100%);
  color: #ffffff;
  padding: 100px 0 80px;
  overflow: hidden;
}

.lm-hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(201, 138, 44, 0.15) 0%, transparent 50%),
                    radial-gradient(circle at 80% 80%, rgba(13, 148, 136, 0.18) 0%, transparent 50%);
  pointer-events: none;
}

.lm-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.lm-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(201, 138, 44, 0.18);
  border: 1px solid rgba(201, 138, 44, 0.4);
  color: #fbbf24;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--lm-radius-full);
  margin-bottom: 20px;
}

.lm-hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff !important;
  margin-bottom: 20px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .lm-hero-title {
    font-size: 2.25rem;
  }
}

.lm-hero-subtitle {
  font-size: 1.18rem;
  color: #e2e8f0;
  margin-bottom: 32px;
  font-weight: 400;
  line-height: 1.6;
}

.lm-hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.lm-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f1f5f9;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--lm-radius-full);
}

.lm-pill-badge svg {
  width: 16px;
  height: 16px;
  fill: #38bdf8;
}

/* ==========================================================================
   Buttons & CTAs
   ========================================================================== */
.lm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--lm-font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--lm-radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: var(--lm-transition);
  border: none;
  outline: none;
}

.lm-btn-primary {
  background: linear-gradient(135deg, var(--lm-secondary) 0%, #eab308 100%);
  color: #07162c !important;
  box-shadow: 0 4px 15px rgba(201, 138, 44, 0.35);
}

.lm-btn-primary:hover {
  background: linear-gradient(135deg, #eab308 0%, var(--lm-secondary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 138, 44, 0.5);
  color: #07162c !important;
}

.lm-btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
}

.lm-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #ffffff;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.lm-btn-navy {
  background: var(--lm-primary);
  color: #ffffff !important;
}

.lm-btn-navy:hover {
  background: var(--lm-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--lm-shadow-md);
  color: #ffffff !important;
}

.lm-btn-teal {
  background: var(--lm-accent-teal);
  color: #ffffff !important;
}

.lm-btn-teal:hover {
  background: #0f766e;
  transform: translateY(-2px);
  color: #ffffff !important;
}

/* ==========================================================================
   Section Headers & Badges
   ========================================================================== */
.lm-section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.lm-section-tag {
  display: inline-block;
  font-family: var(--lm-font-heading);
  color: var(--lm-secondary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.lm-section-title {
  font-size: 2.25rem;
  color: var(--lm-primary);
  margin-bottom: 14px;
}

.lm-section-subtitle {
  font-size: 1.05rem;
  color: var(--lm-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Stats Banner
   ========================================================================== */
.lm-stats-section {
  background: #ffffff;
  padding: 40px 0;
  border-bottom: 1px solid var(--lm-border);
  box-shadow: var(--lm-shadow-sm);
}

.lm-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  text-align: center;
}

.lm-stat-card {
  padding: 20px;
  border-radius: var(--lm-radius-md);
  background: var(--lm-bg-light);
  border: 1px solid var(--lm-border);
  transition: var(--lm-transition);
}

.lm-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--lm-shadow-md);
  border-color: var(--lm-secondary);
}

.lm-stat-number {
  font-family: var(--lm-font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--lm-primary);
  line-height: 1;
  margin-bottom: 6px;
  background: linear-gradient(135deg, var(--lm-primary) 0%, var(--lm-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lm-stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--lm-text-muted);
}

/* ==========================================================================
   Services Grid & Cards
   ========================================================================== */
.lm-services-section {
  padding: 70px 0 90px;
}

.lm-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

@media (max-width: 640px) {
  .lm-services-grid {
    grid-template-columns: 1fr;
  }
}

.lm-service-card {
  background: var(--lm-bg-white);
  border-radius: var(--lm-radius-lg);
  border: 1px solid var(--lm-border);
  overflow: hidden;
  box-shadow: var(--lm-shadow-sm);
  transition: var(--lm-transition);
  display: flex;
  flex-direction: column;
}

.lm-service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--lm-shadow-xl);
  border-color: rgba(201, 138, 44, 0.4);
}

.lm-service-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: #0f172a;
}

.lm-service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.lm-service-card:hover .lm-service-img-wrap img {
  transform: scale(1.06);
}

.lm-service-category-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(13, 39, 76, 0.85);
  backdrop-filter: blur(6px);
  color: #f1f5f9;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--lm-radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.lm-service-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.lm-service-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--lm-radius-md);
  background: var(--lm-accent-teal-light);
  color: var(--lm-accent-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.lm-service-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--lm-primary);
  margin-bottom: 10px;
}

.lm-service-desc {
  font-size: 0.95rem;
  color: var(--lm-text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.lm-service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 22px 0;
}

.lm-service-features li {
  position: relative;
  padding-left: 22px;
  font-size: 0.88rem;
  color: var(--lm-text-main);
  margin-bottom: 8px;
  font-weight: 500;
}

.lm-service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--lm-accent-teal);
  font-weight: 800;
}

.lm-service-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--lm-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   Methodology (4 Pillars)
   ========================================================================== */
.lm-methodology-section {
  background: linear-gradient(180deg, #ffffff 0%, var(--lm-bg-alt) 100%);
  padding: 80px 0;
  border-top: 1px solid var(--lm-border);
}

.lm-method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.lm-method-card {
  background: #ffffff;
  padding: 30px;
  border-radius: var(--lm-radius-lg);
  border: 1px solid var(--lm-border);
  box-shadow: var(--lm-shadow-sm);
  position: relative;
  transition: var(--lm-transition);
}

.lm-method-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--lm-shadow-lg);
  border-color: var(--lm-secondary);
}

.lm-method-step {
  font-size: 2.25rem;
  font-family: var(--lm-font-heading);
  font-weight: 900;
  color: rgba(201, 138, 44, 0.25);
  line-height: 1;
  margin-bottom: 12px;
}

.lm-method-title {
  font-size: 1.15rem;
  color: var(--lm-primary);
  margin-bottom: 10px;
}

.lm-method-desc {
  font-size: 0.9rem;
  color: var(--lm-text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   Accreditation & Partners Carousel / Grid
   ========================================================================== */
.lm-accreditations-section {
  padding: 70px 0;
  background: #ffffff;
  border-top: 1px solid var(--lm-border);
  border-bottom: 1px solid var(--lm-border);
}

.lm-logos-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.lm-logo-item {
  height: 65px;
  padding: 10px 20px;
  background: var(--lm-bg-light);
  border: 1px solid var(--lm-border);
  border-radius: var(--lm-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--lm-transition);
}

.lm-logo-item:hover {
  background: #ffffff;
  box-shadow: var(--lm-shadow-md);
  border-color: var(--lm-secondary);
  transform: translateY(-2px);
}

.lm-logo-item img {
  max-height: 44px;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(20%);
  transition: var(--lm-transition);
}

.lm-logo-item:hover img {
  filter: grayscale(0%);
}

/* ==========================================================================
   Kids Skills Centre Special Banner
   ========================================================================== */
.lm-kids-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #07162c 0%, #0d274c 100%);
  color: #ffffff;
  border-radius: 0;
  position: relative;
  overflow: hidden;
}

.lm-kids-section::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.lm-kids-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (max-width: 900px) {
  .lm-kids-grid {
    grid-template-columns: 1fr;
  }
}

.lm-kids-title {
  color: #ffffff !important;
  font-size: 2.25rem;
  margin-bottom: 16px;
}

.lm-kids-desc {
  color: #e2e8f0;
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.lm-tier-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

@media (max-width: 500px) {
  .lm-tier-cards {
    grid-template-columns: 1fr;
  }
}

.lm-tier-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 16px;
  border-radius: var(--lm-radius-md);
  backdrop-filter: blur(6px);
}

.lm-tier-price {
  font-family: var(--lm-font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fbbf24;
  margin-bottom: 4px;
}

.lm-tier-title {
  font-size: 0.82rem;
  color: #ffffff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.lm-tier-desc {
  font-size: 0.8rem;
  color: #cbd5e1;
  line-height: 1.4;
}

.lm-kids-gallery-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.lm-kids-gallery-preview img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--lm-radius-md);
  border: 2px solid rgba(255, 255, 255, 0.15);
  transition: var(--lm-transition);
}

.lm-kids-gallery-preview img:hover {
  transform: scale(1.03);
  border-color: #fbbf24;
}

/* ==========================================================================
   Gallery Page Styles (Filter Tabs, Grid, Lightbox)
   ========================================================================== */
.lm-gallery-section {
  padding: 60px 0 90px;
}

.lm-filter-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.lm-filter-btn {
  padding: 9px 20px;
  border-radius: var(--lm-radius-full);
  border: 1px solid var(--lm-border);
  background: #ffffff;
  color: var(--lm-text-main);
  font-family: var(--lm-font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--lm-transition);
  outline: none;
}

.lm-filter-btn:hover {
  background: var(--lm-bg-alt);
  border-color: var(--lm-secondary);
  color: var(--lm-primary);
}

.lm-filter-btn.active {
  background: var(--lm-primary);
  color: #ffffff;
  border-color: var(--lm-primary);
  box-shadow: 0 4px 12px rgba(13, 39, 76, 0.25);
}

.lm-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

@media (max-width: 600px) {
  .lm-gallery-grid {
    grid-template-columns: 1fr;
  }
}

.lm-gallery-item {
  position: relative;
  background: #ffffff;
  border-radius: var(--lm-radius-lg);
  overflow: hidden;
  border: 1px solid var(--lm-border);
  box-shadow: var(--lm-shadow-sm);
  cursor: pointer;
  transition: var(--lm-transition);
  display: flex;
  flex-direction: column;
}

.lm-gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--lm-shadow-xl);
  border-color: var(--lm-secondary);
}

.lm-gallery-thumb {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #0f172a;
}

.lm-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.lm-gallery-item:hover .lm-gallery-thumb img {
  transform: scale(1.08);
}

.lm-gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 22, 44, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: var(--lm-transition);
}

.lm-gallery-item:hover .lm-gallery-overlay {
  opacity: 1;
}

.lm-gallery-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(201, 138, 44, 0.9);
  padding: 6px 14px;
  border-radius: var(--lm-radius-full);
}

.lm-gallery-info {
  padding: 18px 20px;
}

.lm-gallery-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--lm-accent-teal);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.lm-gallery-title {
  font-size: 1.1rem;
  color: var(--lm-primary);
  margin-bottom: 6px;
  font-weight: 700;
}

.lm-gallery-caption {
  font-size: 0.85rem;
  color: var(--lm-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   Lightbox Modal
   ========================================================================== */
.lm-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 22, 44, 0.92);
  backdrop-filter: blur(10px);
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lm-lightbox.active {
  display: flex;
  opacity: 1;
}

.lm-lightbox-box {
  background: #ffffff;
  max-width: 880px;
  width: 100%;
  border-radius: var(--lm-radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  animation: lmModalZoom 0.3s ease;
}

@keyframes lmModalZoom {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lm-lightbox-img-wrap {
  position: relative;
  background: #07162c;
  max-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lm-lightbox-img-wrap img {
  max-height: 520px;
  max-width: 100%;
  object-fit: contain;
}

.lm-lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--lm-transition);
  z-index: 10;
}

.lm-lightbox-close:hover {
  background: var(--lm-secondary);
  color: #07162c;
}

.lm-lightbox-details {
  padding: 24px 28px;
  background: #ffffff;
}

.lm-lightbox-category {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--lm-secondary);
  margin-bottom: 4px;
}

.lm-lightbox-title {
  font-size: 1.4rem;
  color: var(--lm-primary);
  margin-bottom: 8px;
}

.lm-lightbox-desc {
  font-size: 0.95rem;
  color: var(--lm-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   Consultation & Contact Banner
   ========================================================================== */
.lm-cta-section {
  padding: 70px 0;
  background: linear-gradient(135deg, var(--lm-primary) 0%, var(--lm-primary-dark) 100%);
  color: #ffffff;
  text-align: center;
}

.lm-cta-content {
  max-width: 760px;
  margin: 0 auto;
}

.lm-cta-title {
  color: #ffffff !important;
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.lm-cta-desc {
  color: #cbd5e1;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.lm-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* Contact Info Quick Bar */
.lm-contact-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin-top: 36px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.lm-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f1f5f9;
  font-size: 0.95rem;
}

.lm-contact-item a {
  color: #fbbf24;
  text-decoration: none;
}

.lm-contact-item a:hover {
  text-decoration: underline;
}

/* Form Styles */
.lm-form-card {
  background: #ffffff;
  border-radius: var(--lm-radius-lg);
  padding: 36px;
  box-shadow: var(--lm-shadow-lg);
  border: 1px solid var(--lm-border);
}

.lm-form-group {
  margin-bottom: 20px;
  text-align: left;
}

.lm-form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--lm-primary);
  margin-bottom: 6px;
}

.lm-form-input,
.lm-form-select,
.lm-form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--lm-border);
  border-radius: var(--lm-radius-md);
  font-family: var(--lm-font-body);
  font-size: 0.95rem;
  color: var(--lm-text-main);
  background-color: var(--lm-bg-light);
  box-sizing: border-box;
  transition: var(--lm-transition);
}

.lm-form-input:focus,
.lm-form-select:focus,
.lm-form-textarea:focus {
  outline: none;
  border-color: var(--lm-secondary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(201, 138, 44, 0.2);
}

/* ==========================================================================
   Home Page Specific Styles
   ========================================================================== */
.lm-home-hero {
  padding: 120px 0 90px;
}

.lm-home-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.lm-home-hero-visual {
  position: relative;
}

.lm-hero-img-card-main {
  position: relative;
  border-radius: 24px;
}

.lm-hero-main-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 24px;
  border: 4px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  display: block;
}

.lm-hero-floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  color: var(--lm-primary);
  padding: 12px 18px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--lm-shadow-xl);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  z-index: 5;
  transition: var(--lm-transition);
}

.lm-hero-floating-badge:hover {
  transform: translateY(-4px);
}

.lm-hero-floating-badge.top-right {
  top: -20px;
  right: -20px;
}

.lm-hero-floating-badge.bottom-left {
  bottom: -20px;
  left: -20px;
}

.lm-hero-floating-badge .lm-badge-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.lm-hero-floating-badge .lm-badge-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--lm-primary);
}

.lm-hero-floating-badge .lm-badge-text span {
  display: block;
  font-size: 0.78rem;
  color: var(--lm-text-muted);
  font-weight: 600;
}

.lm-partner-card {
  transition: var(--lm-transition);
}

.lm-partner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--lm-shadow-md) !important;
  border-color: var(--lm-secondary) !important;
}

/* Form layout rows */
.lm-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Responsive Breakpoints for Home Page */
@media (max-width: 992px) {
  .lm-home-hero {
    padding: 80px 0 60px;
  }

  .lm-home-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .lm-home-hero-text h1,
  .lm-home-hero-text p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .lm-home-hero-text .lm-hero-actions,
  .lm-home-hero-text .lm-hero-badges {
    justify-content: center !important;
  }

  .lm-hero-main-img {
    height: 340px;
  }

  .lm-about-grid,
  .lm-impact-split,
  .lm-leadership-card-main {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .lm-consultation-card > div {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
}

@media (max-width: 600px) {
  .lm-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .lm-hero-floating-badge.top-right {
    top: -10px;
    right: -10px;
    padding: 8px 12px;
  }

  .lm-hero-floating-badge.bottom-left {
    bottom: -10px;
    left: -10px;
    padding: 8px 12px;
  }

  .lm-hero-floating-badge .lm-badge-icon {
    font-size: 1.3rem;
  }

  .lm-hero-floating-badge .lm-badge-text strong {
    font-size: 0.82rem;
  }

  .lm-consultation-card {
    padding: 24px 18px !important;
  }
}
