/* =============================================================
   Lifestyle Media Group – v2 Stylesheet
   Font: Rubik | Bootstrap 5.3
   ============================================================= */

/* ---- Variables ---- */
:root {
  --lmg-navy:       #1e2d5a;
  --lmg-blue:       #0d7a5f;   /* teal accent (was blue #0d7a5f) */
  --lmg-light-blue: #4fcaa6;   /* bright teal accent (was cyan #4fcaa6) */
  --lmg-red:        #e03030;
  --lmg-dark:       #1a1a2e;
  --lmg-grey-bg:    #eef4f1;   /* neutral (was blue-tinted #f4f6fb) */
  --lmg-text:       #363940;
  --lmg-muted:      #6b7280;
  --lmg-white:      #ffffff;
  --transition:     0.25s ease;
  --radius:         8px;
  --shadow:         0 4px 24px rgba(30,45,90,0.10);
  --shadow-lg:      0 8px 40px rgba(30,45,90,0.15);
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: 'Rubik', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--lmg-text);
  background: var(--lmg-white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  color: var(--lmg-navy);
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.25rem; }

p { color: var(--lmg-muted); }

a { color: var(--lmg-blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--lmg-navy); }

img { max-width: 100%; height: auto; }

/* ---- Buttons ---- */
.btn-lmg-primary {
  background: var(--lmg-blue);
  color: var(--lmg-white);
  border: 2px solid var(--lmg-blue);
  border-radius: var(--radius);
  padding: 0.6rem 1.6rem;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: all var(--transition);
}
.btn-lmg-primary:hover {
  background: var(--lmg-navy);
  border-color: var(--lmg-navy);
  color: var(--lmg-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-lmg-outline {
  background: transparent;
  color: var(--lmg-blue);
  border: 2px solid var(--lmg-blue);
  border-radius: var(--radius);
  padding: 0.6rem 1.6rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
}
.btn-lmg-outline:hover {
  background: var(--lmg-blue);
  color: var(--lmg-white);
}

.btn-lmg-white {
  background: var(--lmg-white);
  color: var(--lmg-navy);
  border: 2px solid var(--lmg-white);
  border-radius: var(--radius);
  padding: 0.65rem 1.8rem;
  font-weight: 700;
  transition: all var(--transition);
}
.btn-lmg-white:hover {
  background: transparent;
  color: var(--lmg-white);
}

/* ---- Navbar ---- */
.lmg-navbar {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(30,45,90,0.08);
  padding: 0.85rem 0;
  transition: box-shadow var(--transition), padding var(--transition);
}
.lmg-navbar.scrolled {
  box-shadow: var(--shadow);
  padding: 0.5rem 0;
}

.lmg-navbar .nav-link {
  color: var(--lmg-navy) !important;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.5rem 0.9rem !important;
  transition: color var(--transition);
}
.lmg-navbar .nav-link:hover,
.lmg-navbar .nav-link.active { color: var(--lmg-blue) !important; }

.lmg-navbar .dropdown-menu {
  border: none;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  padding: 0.5rem 0;
  min-width: 210px;
}
.lmg-navbar .dropdown-item {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--lmg-text);
  padding: 0.5rem 1.25rem;
  transition: all var(--transition);
}
.lmg-navbar .dropdown-item:hover {
  background: var(--lmg-grey-bg);
  color: var(--lmg-blue);
  padding-left: 1.5rem;
}

/* ---- Hero ---- */
.hero {
  min-height: calc(100vh - 132px); /* leaves the stats bar visible within the first screen */
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--lmg-navy) 0%, #2a4a9e 60%, var(--lmg-blue) 100%);
  position: relative;
  overflow: hidden;
  padding-top: 90px;
  padding-bottom: 1.5rem;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 1; }
.hero h1 { color: var(--lmg-white); font-weight: 800; font-size: clamp(1.75rem, 4vw, 2.6rem); }
.hero .lead { color: rgba(255,255,255,0.80); font-size: 1.15rem; font-weight: 400; }
.hero-badge {
  display: inline-block;
  background: rgba(79,202,166,0.2);
  color: var(--lmg-light-blue);
  border: 1px solid rgba(79,202,166,0.35);
  border-radius: 50px;
  padding: 0.3rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

/* ---- Hero service panel ---- */
.hero-panel {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px;
  padding: 1.5rem;
  backdrop-filter: blur(6px);
}
.hero-panel-label {
  color: var(--lmg-light-blue);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.hero-service-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0.5rem;
  border-radius: 10px;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background var(--transition);
}
.hero-service-row:last-child { border-bottom: 0; }
.hero-service-row:hover { background: rgba(255,255,255,0.10); color: #fff; }
.hero-service-ico {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 10px;
  background: rgba(79,202,166,0.16);
  color: var(--lmg-light-blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
}
.hero-service-txt { display: flex; flex-direction: column; flex-grow: 1; line-height: 1.3; }
.hero-service-name { font-weight: 700; font-size: 0.95rem; }
.hero-service-sub  { font-size: 0.8rem; color: rgba(255,255,255,0.6); }
.hero-service-arrow { color: rgba(255,255,255,0.5); transition: transform var(--transition), color var(--transition); }
.hero-service-row:hover .hero-service-arrow { transform: translateX(3px); color: var(--lmg-light-blue); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 1.75rem; align-items: center; }
.hero-proof .num { font-size: 1.6rem; font-weight: 800; color: #fff; line-height: 1; }
.hero-proof .lbl { font-size: 0.78rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.05em; }

/* ---- Stats Bar ---- */
.stats-bar {
  background: var(--lmg-blue);
  padding: 2.5rem 0;
}
.stat-item { text-align: center; }
.stat-number {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--lmg-white);
  line-height: 1;
}
.stats-bar-home .stat-number { font-size: clamp(1.5rem, 3vw, 2rem); }
.stat-label {
  color: rgba(255,255,255,0.9);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.3rem;
}
.stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.2);
  margin: 0 auto;
}

/* ---- Section Utilities ---- */
.section-pad { padding: 5rem 0; }
.section-pad-sm { padding: 3rem 0; }
.section-grey { background: var(--lmg-grey-bg); }
.section-navy { background: var(--lmg-navy); }
.section-dark { background: var(--lmg-dark); }

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--lmg-blue);
  margin-bottom: 0.5rem;
}
.section-label-white { color: var(--lmg-light-blue); }

.divider-line {
  width: 50px;
  height: 3px;
  background: var(--lmg-blue);
  border-radius: 3px;
  margin: 1rem 0 1.5rem;
}
.divider-line-white { background: var(--lmg-light-blue); }
.divider-line-center { margin-left: auto; margin-right: auto; }

/* ---- Service Cards ---- */
.service-card {
  background: var(--lmg-white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow);
  height: 100%;
  transition: all var(--transition);
  border: 1px solid rgba(30,45,90,0.06);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(13,122,95,0.15);
}
.service-icon {
  width: 56px;
  height: 56px;
  background: var(--lmg-grey-bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
  color: var(--lmg-blue);
  transition: all var(--transition);
}
.service-card:hover .service-icon {
  background: var(--lmg-blue);
  color: var(--lmg-white);
}
.service-card h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.service-card p { font-size: 0.9rem; flex-grow: 1; }
.service-card .card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--lmg-blue);
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.service-card .card-link:hover { gap: 8px; }

/* ---- Feature Row (alternating) ---- */
.feature-section { padding: 4rem 0; }
.feature-section + .feature-section { border-top: 1px solid rgba(30,45,90,0.06); }
.feature-img {
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
}
.feature-check-list { list-style: none; padding: 0; margin: 1rem 0 1.5rem; }
.feature-check-list li {
  padding: 0.3rem 0 0.3rem 1.75rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--lmg-text);
}
.feature-check-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--lmg-blue);
  font-weight: 700;
}

/* ---- Testimonials ---- */
.testimonial-card {
  background: var(--lmg-white);
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(30,45,90,0.06);
}
.testimonial-card .quote-text {
  font-size: 0.95rem;
  color: var(--lmg-text);
  font-style: italic;
  flex-grow: 1;
  line-height: 1.65;
}
.testimonial-card .quote-text::before { content: '\201C'; }
.testimonial-card .quote-text::after  { content: '\201D'; }
.testimonial-author {
  margin-top: 1.25rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--lmg-navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.testimonial-company {
  font-size: 0.8rem;
  color: var(--lmg-muted);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

/* ---- Clients / Logo Strip ---- */
.clients-strip { padding: 3rem 0; border-top: 1px solid rgba(30,45,90,0.07); border-bottom: 1px solid rgba(30,45,90,0.07); }
.client-logo {
  filter: grayscale(100%) opacity(0.45);
  transition: filter var(--transition);
  max-height: 40px;
}
.client-logo:hover { filter: grayscale(0%) opacity(1); }

/* ---- CTA Band ---- */
.cta-band {
  background: linear-gradient(135deg, var(--lmg-navy) 0%, var(--lmg-blue) 100%);
  padding: 4rem 0;
}
.cta-band h2 { color: var(--lmg-white); }
.cta-band p  { color: rgba(255,255,255,0.75); }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--lmg-navy) 0%, #2a4a9e 100%);
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { color: var(--lmg-white); font-size: clamp(1.8rem, 4vw, 3rem); }
.page-hero .lead { color: rgba(255,255,255,0.78); }
.page-hero-badge {
  display: inline-block;
  background: rgba(79,202,166,0.18);
  color: var(--lmg-light-blue);
  border: 1px solid rgba(79,202,166,0.3);
  border-radius: 50px;
  padding: 0.25rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* ---- Breadcrumb ---- */
.lmg-breadcrumb { font-size: 0.82rem; margin-bottom: 0.75rem; }
.lmg-breadcrumb a { color: rgba(255,255,255,0.6); }
.lmg-breadcrumb a:hover { color: var(--lmg-white); }
.lmg-breadcrumb .bc-sep { color: rgba(255,255,255,0.35); margin: 0 0.4rem; }
.lmg-breadcrumb .bc-current { color: rgba(255,255,255,0.9); }

/* ---- Benefit / Icon Blocks ---- */
.benefit-block { padding: 1.5rem; text-align: center; }
.benefit-block .benefit-icon {
  font-size: 2.2rem;
  color: var(--lmg-blue);
  margin-bottom: 0.75rem;
}
.benefit-block h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.benefit-block p  { font-size: 0.88rem; margin: 0; }

/* ---- Accreditation Badges ---- */
.accred-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--lmg-grey-bg);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--lmg-navy);
  margin: 0.25rem;
}
.accred-badge i { color: var(--lmg-blue); }

/* ---- Contact Form ---- */
.contact-form-wrap {
  background: var(--lmg-white);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}
.form-label { font-size: 0.88rem; font-weight: 600; color: var(--lmg-navy); }
.form-control, .form-select {
  border: 1px solid rgba(30,45,90,0.18);
  border-radius: var(--radius);
  padding: 0.65rem 1rem;
  font-size: 0.92rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--lmg-blue);
  box-shadow: 0 0 0 3px rgba(13,122,95,0.12);
}

/* ---- Keyboard focus visibility (a11y) ---- */
a:focus-visible,
button:focus-visible,
.btn-lmg-primary:focus-visible,
.btn-lmg-outline:focus-visible,
.btn-lmg-white:focus-visible,
.card-link:focus-visible,
.footer-link:focus-visible,
.footer-list li a:focus-visible,
.footer-bottom-link:focus-visible,
.navbar-brand:focus-visible,
.lmg-navbar .nav-link:focus-visible,
.lmg-navbar .dropdown-item:focus-visible {
  outline: 3px solid var(--lmg-blue);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Skip-to-content link (shown on keyboard focus) */
.skip-link:focus {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 2000;
  background: var(--lmg-blue);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
}

/* ---- Footer ---- */
.lmg-footer { background: var(--lmg-dark); }

.footer-cta {
  background: linear-gradient(135deg, var(--lmg-blue) 0%, var(--lmg-navy) 100%);
  padding: 3.5rem 0;
}
.footer-cta h2 { color: var(--lmg-white); font-size: 1.8rem; }
.footer-cta p  { color: rgba(255,255,255,0.75); }

.footer-main { padding: 4rem 0 2rem; }

.footer-logo { filter: brightness(0) invert(1) opacity(0.85); height: 40px; width: auto; }

.footer-text { color: rgba(255,255,255,0.55); font-size: 0.88rem; line-height: 1.7; }
.footer-link { color: rgba(255,255,255,0.65); transition: color var(--transition); }
.footer-link:hover { color: var(--lmg-light-blue); }

.footer-heading {
  color: var(--lmg-white);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 0.5rem; }
.footer-list li a,
.footer-list li {
  color: rgba(255,255,255,0.5);
  font-size: 0.87rem;
  transition: color var(--transition);
}
.footer-list li a:hover { color: var(--lmg-light-blue); padding-left: 3px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.5rem 0;
}
.footer-bottom p { color: rgba(255,255,255,0.6); }
.footer-bottom-link { color: rgba(255,255,255,0.65); font-size: 0.82rem; transition: color var(--transition); }
.footer-bottom-link:hover { color: var(--lmg-light-blue); }

/* ---- Utilities ---- */
.text-lmg-blue  { color: var(--lmg-blue) !important; }
.text-lmg-navy  { color: var(--lmg-navy) !important; }
.text-lmg-light { color: var(--lmg-light-blue) !important; }
.bg-lmg-navy    { background-color: var(--lmg-navy) !important; }
.bg-lmg-blue    { background-color: var(--lmg-blue) !important; }
.bg-lmg-grey    { background-color: var(--lmg-grey-bg) !important; }

.rounded-lg { border-radius: 12px !important; }
.shadow-lmg { box-shadow: var(--shadow) !important; }
.shadow-lmg-lg { box-shadow: var(--shadow-lg) !important; }

/* ---- Responsive tweaks ---- */
@media (max-width: 991px) {
  .lmg-navbar { padding: 0.75rem 0; }
  .hero { min-height: auto; padding: 8rem 0 5rem; }
  .stats-bar .stat-divider { display: none; }
  .section-pad { padding: 3.5rem 0; }
}
@media (max-width: 575px) {
  .footer-cta { text-align: center; }
  .footer-cta .col-lg-4 { text-align: center !important; margin-top: 1rem; }
  .contact-form-wrap { padding: 1.5rem; }
}
