/*
Theme Name:  HMSRVC
Theme URI:   https://hmsrvc.com
Author:      HMSRVC
Author URI:  https://hmsrvc.com
Description: Premium Home Services Platform Theme
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hmsrvc
*/

/* ═══════════════════════════════════════
   CSS VARIABLES
═══════════════════════════════════════ */
:root {
  --blue:        #2563eb;
  --blue-light:  #3b82f6;
  --blue-dark:   #1d4ed8;
  --grad-start:  #124A9A;
  --grad-end:    #3865E0;
  --dark:        #0a0f1e;
  --dark2:       #111827;
  --text-dark:   #0F172A;
  --text-body:   #334155;
  --text-muted:  #9ca3af;
  --border:      rgba(203, 213, 225, 0.5);
  --section-bg:  #f8faff;
  --card-bg:     #ffffff;
  --blue-border: rgba(37, 99, 235, 0.2);
  --glass:       rgba(255, 255, 255, 0.06);
  --glass-border:rgba(255, 255, 255, 0.12);
}

/* ═══════════════════════════════════════
   BASE
═══════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Lato', sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
  background: #fff;
}


/* ═══════════════════════════════════════
   NAVBAR
═══════════════════════════════════════ */
.navbar {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--dark2) !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.navbar-nav {
  margin-right: 20px !important;
}

.nav-link {
  color: #334155 !important;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 14px !important;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue) !important;
}


/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../../existingdata/html/images/Image-back.png') center / cover no-repeat;
  filter: brightness(0.35);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f172ad9 0%, #0f172a00 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Rating badge */
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 0.78rem;
  color: #e5e7eb;
  margin-bottom: 24px;
}

.rating-badge i {
  color: #facc15;
  font-size: 0.8rem;
}

/* Hero title */
.hero-title {
  font-family: 'Lato', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 8px;
}

.hero-title .accent {
  background: linear-gradient(to bottom, var(--grad-start), var(--grad-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

/* Hero description */
.hero-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 400px;
  margin-bottom: 32px;
}

/* Hero CTA buttons */
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  border: 2px solid transparent;
  background: linear-gradient(var(--grad-start), var(--grad-end)) padding-box,
              linear-gradient(180deg, var(--grad-start), var(--grad-end)) border-box;
  transition: all 0.25s;
}

.btn-hero-primary:hover {
  background: var(--grad-start);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  padding: 13px 26px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  transition: all 0.25s;
}

.btn-hero-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* Hero stats row */
.stats-row {
  display: flex;
  gap: 36px;
  margin-top: 40px;
  position: relative;
  z-index: 2;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stat-icon {
  width: 32px;
  height: 32px;
  border-radius: 12%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
}

.stat-icon img {
  height: 18px;
}

.stat-value {
  font-family: 'Lato', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.b-stat-label {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Hero feature cards */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
  border-radius: 18px;
  padding: 22px 20px;
  transition: all 0.3s;
  animation: fadeUp 0.6s ease both;
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }

/* Staggered card heights for visual offset */
.f-card-l { height: 160px; margin-top: auto; }
.f-card-r { height: 135px; margin-top: auto; }

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  background: linear-gradient(var(--grad-start), var(--grad-end)) padding-box,
              linear-gradient(180deg, var(--grad-start), var(--grad-end)) border-box;
}

.feature-icon img {
  height: 18px;
}

.feature-card h6 {
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #f9fafb;
  margin-bottom: 5px;
}

.feature-card p {
  font-size: 0.77rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Scroll arrow */
.scroll-arrow {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.4rem;
  animation: bounce 2s infinite;
  cursor: pointer;
}

/* Animations */
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

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

.hero-left  { animation: fadeUp 0.7s ease both; }
.hero-right { animation: fadeUp 0.7s ease 0.2s both; }


/* ═══════════════════════════════════════
   ABOUT SECTION
═══════════════════════════════════════ */
.about-section {
  background: #fff;
  padding: 80px 0;
}

.section-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.1);
  color: var(--grad-end);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 50px;
  padding: 5px 14px;
  margin-bottom: 20px;
}

.about-heading {
  font-family: 'Lato', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.about-body {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 20px;
}

/* Checklist */
.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
  margin-top: 20px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.83rem;
  color: #374151;
  font-weight: 500;
}

.check-item img {
  height: 18px;
  flex-shrink: 0;
}

/* Image grid */
.img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 10px;
}

.img-grid .img-top {
  grid-column: 1 / -1;
}

.img-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.img-grid img:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.img-top img   { height: 200px; }
.img-bottom img { height: 150px; }

/* Stats counter strip */
.stats-strip {
  background: #fff;
  border: 1px solid rgba(37, 99, 235, 0.21);
  border-radius: 24px;
  margin: 60px 0 0;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.stats-inner {
  display: flex;
  align-items: stretch;
}

.stat-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 25px 20px;
  text-align: center;
  position: relative;
  transition: background 0.25s;
}

.stat-block:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border);
}

.stat-block:hover {
  background: #f8faff;
}

.stat-number {
  font-family: 'Lato', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  background: linear-gradient(to bottom, var(--grad-start), var(--grad-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-body);
  font-weight: 500;
}


/* ═══════════════════════════════════════
   APP DOWNLOAD CTA SECTION
═══════════════════════════════════════ */
.app-cta-section {
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  padding: 64px 0;
}

.app-cta-title {
  font-family: 'Lato', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.app-cta-sub {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 460px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* App store buttons */
.store-btns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  border-radius: 10px;
  padding: 10px 20px;
  text-decoration: none;
  transition: all 0.2s;
  min-width: 150px;
}

.btn-store:hover {
  background: #1a1a1a;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.btn-store i {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.store-label {
  display: block;
  font-size: 0.6rem;
  line-height: 1;
  opacity: 0.85;
}

.store-name {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
}

.btn-gplay i {
  color: #34a853;
}


/* ═══════════════════════════════════════
   SERVICES SECTION
═══════════════════════════════════════ */
.services-section {
  padding: 70px 0 80px;
  background: linear-gradient(to right, rgba(37, 99, 235, 0.05), rgba(20, 184, 166, 0.05));
}

.section-heading {
  font-family: 'Lato', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.section-sub {
  font-size: 0.9rem;
  color: var(--text-body);
}

/* Service card */
.service-card {
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.card-img-wrap {
  position: relative;
  height: 190px;
  overflow: hidden;
}

.card-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent);
  z-index: 1;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

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

.card-icon {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 10px;
  z-index: 2;
}

.card-body-custom {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  border: 1px solid rgba(203, 213, 225, 0.2);
  background: #fff;
}

.card-title-custom {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.card-desc {
  font-size: 0.82rem;
  color: var(--text-body);
  margin: 0;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--grad-end);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 6px;
  transition: gap 0.2s;
}

.card-link:hover {
  color: var(--grad-start);
  gap: 9px;
}

.services-grid .row {
  --bs-gutter-x: 20px;
  --bs-gutter-y: 20px;
}


/* ═══════════════════════════════════════
   HOW IT WORKS SECTION
═══════════════════════════════════════ */
.hiw-section {
  padding: 72px 0 80px;
  background: var(--section-bg);
}

/* Step card */
.step-card {
  overflow: hidden;
  display: flex;
  align-items: stretch;
  min-height: 185px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  padding: 40px;
}

.step-card-c {
  background: linear-gradient(to right, rgba(37, 99, 235, 0.05), rgba(20, 184, 166, 0.05));
}

.stepfirst-card {
  border-radius: 18px 18px 0 0;
}

/* Image side */
.step-img-wrap {
  position: relative;
  flex: 0 0 42%;
  max-width: 42%;
  border-radius: 24px;
}

.step-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 24px;
}

/* Step number badge */
.step-num {
  position: absolute;
  bottom: 14px;
  left: 14px;
  width: 32px;
  height: 32px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--grad-end);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.step-num-right {
  left: auto;
  right: 14px;
}

/* Content side */
.step-content {
  flex: 1;
  padding: 26px 56px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Step icon */
.step-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  background: linear-gradient(var(--grad-start), var(--grad-end)) padding-box,
              linear-gradient(180deg, var(--grad-start), var(--grad-end)) border-box;
  border: 1px solid var(--blue-border);
}

.step-icon img {
  height: 16px;
}

/* Step label */
.step-label {
  position: relative;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.step-label::before {
  content: '';
  position: absolute;
  left: 50px;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 1px;
  background: rgba(203, 213, 225, 0.3);
}

.step-title {
  font-family: 'Lato', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.82rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 14px;
}

.step-checks {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.step-check {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  color: #374151;
  font-weight: 500;
}

.step-check img {
  height: 18px;
  flex-shrink: 0;
}

/* Reversed card: image right */
.step-card.reversed {
  flex-direction: row-reverse;
}

/* Connection circle between left image and content */
.step-i-w-l {
  position: relative;
}

.step-i-w-l::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -30px;
  width: 64px;
  height: 64px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.step-i-w-r {
  position: relative;
}

.step-i-w-r::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -30px;
  width: 64px;
  height: 64px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

/* Step row spacing */
.step-row {
  margin-bottom: 20px;
}

.step-row:last-child {
  margin-bottom: 0;
}


/* ═══════════════════════════════════════
   FEATURED PROFESSIONALS
═══════════════════════════════════════ */
.professionals-section {
  background: linear-gradient(to right, rgba(37, 99, 235, 0.05), rgba(20, 184, 166, 0.05));
  padding: 70px 0 60px;
}

.pro-slider-outer {
  position: relative;
  overflow: hidden;
  margin-top: 36px;
}

.pro-slider-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 20px;
}

.pro-slide {
  display: flex;
  gap: 20px;
  flex: 0 0 100%;
  min-width: 100%;
}

.pro-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 24px 52px;
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.pro-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid #e5e7eb;
}

.pro-info { flex: 1; }

.pro-name {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.pro-stars {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 8px;
}

.pro-stars i { color: #f59e0b; font-size: 0.85rem; }

.pro-rating-text {
  font-size: 0.78rem;
  color: var(--text-body);
  margin-left: 4px;
}

.pro-desc {
  font-size: 0.82rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* Slider dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 24px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, width 0.3s;
}

.dot.active {
  background: var(--grad-start);
  width: 22px;
  border-radius: 4px;
}

/* Slider arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  color: var(--dark);
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
}

.slider-arrow:hover {
  background: var(--grad-start);
  color: #fff;
  border-color: var(--grad-start);
}

.arrow-prev { left: 0; }
.arrow-next { right: 0; }


/* ═══════════════════════════════════════
   BOTTOM CTA SECTION
═══════════════════════════════════════ */
.cta-section {
  background: #0F172A;
  padding: 72px 0;
}

.cta-sparkle {
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}

.cta-title {
  font-family: 'Lato', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.cta-sub {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 440px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* Trust badges row */
.cta-trust {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.cta-trust span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

.cta-trust i {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}


/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.site-footer {
  background: #fff;
  border-top: 1px solid #e5e7eb;
  padding: 56px 0 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-tagline {
  font-size: 0.82rem;
  color: var(--text-body);
  line-height: 1.6;
  max-width: 200px;
  margin-bottom: 18px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 32px;
  height: 32px;
  background: #e5e7eb;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #374151;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s;
}

.social-icon:hover {
  background: linear-gradient(var(--grad-start), var(--grad-end)) padding-box,
              linear-gradient(180deg, var(--grad-start), var(--grad-end)) border-box;
  color: #fff;
}

.footer-col-title {
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  font-size: 0.83rem;
  color: var(--text-body);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--grad-start);
}

.footer-divider {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 36px 0 20px;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-body);
  text-align: center;
}


/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */

/* About */
@media (max-width: 991px) {
  .img-grid { margin-top: 40px; }
}

@media (max-width: 575px) {
  .check-list { grid-template-columns: 1fr; }
  .stats-inner { flex-wrap: wrap; }
  .stat-block { flex: 0 0 50%; }
  .stat-block:not(:last-child)::after { display: none; }
  .stat-block:nth-child(1),
  .stat-block:nth-child(2) { border-bottom: 1px solid var(--border); }
  .stat-block:nth-child(odd) { border-right: 1px solid var(--border); }
}

/* Services */
@media (max-width: 576px) {
  .card-img-wrap { height: 160px; }
}

/* How It Works */
@media (max-width: 767px) {
  .step-card,
  .step-card.reversed { flex-direction: column; }
  .step-img-wrap { flex: 0 0 auto; max-width: 100%; height: 180px; }
  .step-num { bottom: 12px; left: 12px; }
  .step-num-right { left: 12px; right: auto; }
  .step-content { padding: 20px 18px 22px; }
}

@media (max-width: 480px) {
  .step-img-wrap { height: 150px; }
}

/* Professionals */
@media (max-width: 767px) {
  .pro-slide { flex-direction: column; }
  .arrow-prev { left: 0; }
  .arrow-next { right: 0; }
}

/* Hero */
@media (max-width: 768px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .hero-right { margin-top: 40px; }
  .stats-row { gap: 20px; flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .feature-grid { grid-template-columns: 1fr; }
  .f-card-l, .f-card-r { height: auto; }
}

/* CTA + store buttons */
@media (max-width: 575px) {
  .store-btns { flex-direction: column; align-items: center; }
  .cta-trust { gap: 14px; }
}


/* ═══════════════════════════════════════
   PAGE HERO  (shared: About, HIW, Learning, Contact)
═══════════════════════════════════════ */
.page-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 90px 0 70px;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.28);
  z-index: 0;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.72) 0%, rgba(15,23,42,0.55) 100%);
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #e5e7eb;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.page-hero-title {
  font-family: 'Lato', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  max-width: 760px;
  margin: 0 auto 20px;
}

.page-hero-sub {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Three images row — About page hero */
.page-hero-images {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 52px;
  position: relative;
  z-index: 2;
}

.page-hero-images img {
  width: 220px;
  height: 138px;
  object-fit: cover;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  display: block;
}

@media (max-width: 767px) {
  .page-hero { padding: 70px 0 56px; }
  .page-hero-images { gap: 8px; }
  .page-hero-images img { width: 140px; height: 90px; border-radius: 10px; }
}

@media (max-width: 480px) {
  .page-hero-images { flex-wrap: wrap; justify-content: center; }
  .page-hero-images img { width: 42vw; height: 80px; }
}


/* ═══════════════════════════════════════
   MISSION & VISION  (About page)
═══════════════════════════════════════ */
.mv-section {
  background: var(--section-bg);
  padding: 72px 0;
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.mv-card {
  background: #fff;
  border: 1px solid rgba(203, 213, 225, 0.6);
  border-radius: 20px;
  padding: 36px 32px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.mv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07);
}

/* Blue left-border accent on Mission card */
.mv-card-mission {
  border-left: 3px solid var(--blue);
}

.mv-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.mv-icon-blue { background: rgba(37, 99, 235, 0.1); color: var(--blue); }
.mv-icon-teal { background: rgba(20, 184, 166, 0.1); color: #14B8A6; }

.mv-title {
  font-family: 'Lato', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.mv-body {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.8;
  margin: 0;
}

@media (max-width: 767px) {
  .mv-grid { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════
   OUR VALUES  (About page)
═══════════════════════════════════════ */
.values-section {
  background: #fff;
  padding: 72px 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.value-card {
  text-align: center;
  padding: 32px 20px 28px;
  border-radius: 16px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07);
}

.value-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 20px;
}

.vi-blue   { background: rgba(37, 99, 235, 0.1);  color: #2563eb; }
.vi-teal   { background: rgba(20, 184, 166, 0.1); color: #14B8A6; }
.vi-orange { background: rgba(249, 115, 22, 0.1); color: #f97316; }
.vi-purple { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }

.value-title {
  font-family: 'Lato', sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.value-desc {
  font-size: 0.82rem;
  color: var(--text-body);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 991px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════
   OUR STORY  (About page)
═══════════════════════════════════════ */
.story-section {
  background: var(--section-bg);
  padding: 72px 0 80px;
}

.mb-story { margin-bottom: 52px; }

/* Heading with blue underline accent */
.section-heading-underline {
  display: inline-block;
  padding-bottom: 14px;
  position: relative;
}

.section-heading-underline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--grad-start), var(--grad-end));
}

.story-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
}

/* Left: timeline cards */
.story-timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.story-item {
  background: #fff;
  border: 1px solid rgba(203, 213, 225, 0.5);
  border-radius: 16px;
  padding: 24px 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: transform 0.3s, box-shadow 0.3s;
}

.story-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
}

.story-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  margin-top: 2px;
}

.sn-blue   { background: #2563eb; }
.sn-teal   { background: #14B8A6; }
.sn-orange { background: #f97316; }

.story-item-title {
  font-family: 'Lato', sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.story-item-body {
  font-size: 0.83rem;
  color: var(--text-body);
  line-height: 1.7;
  margin: 0;
}

/* Right: image + stats */
.story-right { display: flex; flex-direction: column; gap: 12px; }

.story-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.story-img-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

.story-rating-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 58px;
  height: 58px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.45);
}

.story-rating-val {
  font-family: 'Lato', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
}

.story-rating-lbl {
  font-size: 0.52rem;
  opacity: 0.85;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-top: 2px;
}

.story-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.story-stat {
  background: #fff;
  border: 1px solid rgba(203, 213, 225, 0.5);
  border-radius: 14px;
  padding: 18px 20px;
  text-align: center;
}

.story-stat-val {
  font-family: 'Lato', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(to bottom, var(--grad-start), var(--grad-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 5px;
}

.story-stat-lbl {
  font-size: 0.78rem;
  color: var(--text-body);
  font-weight: 500;
}

@media (max-width: 991px) {
  .story-layout { grid-template-columns: 1fr; gap: 36px; }
  .story-img-wrap img { height: 300px; }
}

@media (max-width: 480px) {
  .story-img-wrap img { height: 220px; }
}


/* ═══════════════════════════════════════
   HIW PAGE — 4 STEPS
═══════════════════════════════════════ */
.hiw-steps-section {
  background: #fff;
  padding: 72px 0 80px;
}

.hiw-step-row {
  margin-bottom: 20px;
}

.hiw-step-row:last-child {
  margin-bottom: 0;
}

/* Step card */
.hiw-step-card {
  display: flex;
  align-items: stretch;
  border-radius: 20px;
  overflow: hidden;
  min-height: 300px;
}

.hiw-step-card-alt {
  background: rgba(37, 99, 235, 0.04);
}

.hiw-step-reversed {
  flex-direction: row-reverse;
}

/* Image side */
.hiw-step-img-wrap {
  flex: 0 0 48%;
  max-width: 48%;
  position: relative;
  overflow: hidden;
}

.hiw-step-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Content side */
.hiw-step-content {
  flex: 1;
  padding: 44px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Coloured step number badge */
.hiw-step-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lato', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.hsb-blue   { background: #2563eb; }
.hsb-teal   { background: #14B8A6; }
.hsb-purple { background: #8b5cf6; }
.hsb-orange { background: #f97316; }

.hiw-step-title {
  font-family: 'Lato', sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.65rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.hiw-step-desc {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.78;
  margin-bottom: 22px;
}

/* Check items */
.hiw-checks {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.hiw-check {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.83rem;
  color: #374151;
  font-weight: 500;
}

.hiw-check i {
  color: #14B8A6;
  font-size: 1rem;
  flex-shrink: 0;
}

/* Image UI overlays */
.img-ui {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: #fff;
  border-radius: 10px;
  padding: 11px 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-dark);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.14);
}

.img-ui > i {
  color: var(--text-body);
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* Rating overlay — two sides */
.img-ui-rating {
  justify-content: space-between;
}

.ui-rating-val {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
}

.ui-rating-val i { color: #f59e0b; }

.ui-verified {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #14B8A6;
  font-size: 0.78rem;
  font-weight: 600;
}

.ui-verified i { font-size: 0.9rem; }

/* Status overlay */
.ui-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
}

/* Responsive — steps */
@media (max-width: 767px) {
  .hiw-step-card,
  .hiw-step-reversed {
    flex-direction: column;
  }

  .hiw-step-img-wrap {
    flex: 0 0 auto;
    max-width: 100%;
    height: 220px;
  }

  .hiw-step-content {
    padding: 28px 24px 32px;
  }
}

@media (max-width: 480px) {
  .hiw-step-img-wrap { height: 180px; }
}


/* ═══════════════════════════════════════
   WHY CHOOSE FIXFLOW?  (HIW page)
═══════════════════════════════════════ */
.why-choose-section {
  background: var(--section-bg);
  padding: 72px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.why-card {
  background: #fff;
  border: 1px solid rgba(203, 213, 225, 0.55);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

/* Reuse .value-icon and .vi-* colour classes from About page */
.why-card .value-icon {
  margin: 0 auto 20px;
}

.why-card-title {
  font-family: 'Lato', sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.why-card-desc {
  font-size: 0.82rem;
  color: var(--text-body);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 991px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════
   MORE WAYS WE HELP  (HIW page)
═══════════════════════════════════════ */
.more-ways-section {
  background: #fff;
  padding: 72px 0 80px;
}

.more-ways-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.more-ways-card {
  background: var(--section-bg);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.more-ways-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07);
}

/* Reuse .value-icon and .vi-* */
.more-ways-card .value-icon {
  margin: 0 auto 20px;
}

.more-ways-title {
  font-family: 'Lato', sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.more-ways-desc {
  font-size: 0.82rem;
  color: var(--text-body);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 767px) {
  .more-ways-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}


/* ═══════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════ */

/* ── Contact Method Cards ── */
.contact-methods-section {
  padding: 80px 0 40px;
  background: var(--section-bg);
}

.contact-methods-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.contact-method-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: box-shadow 0.25s, transform 0.25s;
}

.contact-method-card:hover {
  box-shadow: 0 12px 40px rgba(37,99,235,0.1);
  transform: translateY(-4px);
}

.contact-method-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px;
}

.cmi-blue   { background: rgba(37,99,235,0.1);  color: var(--blue); }
.cmi-teal   { background: rgba(13,148,136,0.1); color: #0d9488; }
.cmi-purple { background: rgba(124,58,237,0.1); color: #7c3aed; }
.cmi-orange { background: rgba(234,88,12,0.1);  color: #ea580c; }

.contact-method-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.contact-method-desc {
  font-size: 0.82rem;
  color: var(--text-body);
  margin-bottom: 12px;
}

.contact-method-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-method-link:hover {
  color: var(--blue-dark);
}

@media (max-width: 991px) {
  .contact-methods-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .contact-methods-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
}


/* ── Contact Form + Sidebar ── */
.contact-section {
  padding: 60px 0 80px;
  background: #fff;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}

/* Form Card */
.contact-form-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37,99,235,0.08);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.contact-form-title {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.contact-form-sub {
  font-size: 0.9rem;
  color: var(--text-body);
  margin-bottom: 28px;
}

.contact-fields {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 24px;
}

.contact-field-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-field-full {
  grid-column: 1 / -1;
}

.contact-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
}

.req {
  color: #ef4444;
}

.contact-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
}

.contact-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.contact-input::placeholder {
  color: #94a3b8;
}

.contact-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.contact-textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-send {
  width: 100%;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-send:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}


/* Sidebar */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Office Hours Card */
.office-hours-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.office-hours-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.oh-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(37,99,235,0.1);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.office-hours-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.office-hours-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.office-hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: var(--section-bg);
  border-radius: 8px;
  gap: 8px;
}

.oh-day {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
}

.oh-time {
  font-size: 0.78rem;
  color: var(--text-body);
  text-align: right;
}


/* Support Image Card */
.support-img-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 180px;
}

.support-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.support-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,15,30,0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.support-img-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.support-img-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
}


/* Help Center Card */
.help-center-card {
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  border-radius: 16px;
  padding: 28px;
  text-align: center;
}

.help-center-icon {
  font-size: 1.8rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 10px;
}

.help-center-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.help-center-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 16px;
}

.btn-help-center {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border: 1.5px solid rgba(255,255,255,0.7);
  border-radius: 8px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-help-center:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}


/* Responsive: stacked layout on tablet/mobile */
@media (max-width: 991px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .office-hours-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575px) {
  .contact-form-card {
    padding: 28px 20px;
  }

  .contact-field-group {
    grid-template-columns: 1fr;
  }

  .contact-sidebar {
    grid-template-columns: 1fr;
  }

  .office-hours-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
}


/* ── FAQ ── */
.faq-section {
  padding: 80px 0;
  background: var(--section-bg);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.faq-card {
  background: var(--card-bg);
  border-radius: 14px;
  padding: 24px;
  border: 1px solid var(--border);
  display: flex;
  gap: 14px;
  transition: box-shadow 0.25s;
}

.faq-card:hover {
  box-shadow: 0 8px 30px rgba(37,99,235,0.08);
}

.faq-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(37,99,235,0.08);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.faq-question {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.faq-answer {
  font-size: 0.82rem;
  color: var(--text-body);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 767px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}


/* ═══════════════════════════════════════
   LEARNING CENTER PAGE
═══════════════════════════════════════ */

/* ── Filter Tabs ── */
.lc-filter-section {
  padding: 28px 0 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.lc-filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-bottom: 0;
}

.lc-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  background: transparent;
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  margin-bottom: 16px;
}

.lc-tab:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.lc-tab.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}


/* ── Section headers ── */
.lc-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
}

.lc-section-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.lc-section-sub {
  font-size: 0.88rem;
  color: var(--text-body);
  margin: 0;
}

.lc-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: transparent;
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-body);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.lc-filter-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}


/* ── Cards Grid ── */
.lc-featured-section {
  padding: 56px 0 40px;
  background: #fff;
}

.lc-all-section {
  padding: 56px 0 80px;
  background: var(--section-bg);
}

.lc-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.lc-card {
  background: var(--card-bg);
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s;
}

.lc-card:hover {
  box-shadow: 0 12px 40px rgba(37,99,235,0.1);
  transform: translateY(-4px);
}

.lc-card-img-wrap {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.lc-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s;
}

.lc-card:hover .lc-card-img-wrap img {
  transform: scale(1.04);
}

/* Type badges (Guide / Video) on image */
.lc-type-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
}

.ltb-guide {
  background: rgba(255,255,255,0.92);
  color: var(--blue);
}

.ltb-video {
  background: rgba(234,88,12,0.92);
  color: #fff;
}

.lc-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Category badges */
.lc-cat-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
}

.lcb-safety      { background: rgba(37,99,235,0.08);  color: var(--blue); }
.lcb-maintenance { background: rgba(13,148,136,0.08); color: #0d9488; }
.lcb-diy         { background: rgba(234,88,12,0.08);  color: #ea580c; }
.lcb-seasonal    { background: rgba(124,58,237,0.08); color: #7c3aed; }

.lc-card-title {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin: 0;
}

.lc-card-desc {
  font-size: 0.81rem;
  color: var(--text-body);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.lc-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.lc-meta-time {
  font-size: 0.75rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Difficulty badges */
.lc-diff-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 50px;
}

.ldb-beginner    { background: rgba(22,163,74,0.1);  color: #16a34a; }
.ldb-intermediate{ background: rgba(234,88,12,0.1);  color: #ea580c; }
.ldb-advanced    { background: rgba(220,38,38,0.1);  color: #dc2626; }

.lc-read-link {
  margin-left: auto;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.lc-read-link:hover {
  gap: 8px;
  color: var(--blue-dark);
}


/* ── Pagination ── */
.lc-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 44px;
}

.lc-page-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-body);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.lc-page-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.lc-page-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.lc-page-ellipsis {
  font-size: 0.85rem;
  color: var(--text-body);
  padding: 0 4px;
}


/* ── Load More ── */
.btn-load-more {
  padding: 12px 36px;
  border: 1.5px solid var(--blue);
  border-radius: 10px;
  background: transparent;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-load-more:hover {
  background: var(--blue);
  color: #fff;
}


/* ── Responsive ── */
@media (max-width: 991px) {
  .lc-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .lc-cards-grid {
    grid-template-columns: 1fr;
  }

  .lc-filter-tabs {
    gap: 6px;
  }

  .lc-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}


/* ═══════════════════════════════════════
   LEARNING DETAIL PAGE
═══════════════════════════════════════ */

/* ── Detail Navbar ── */
.ld-navbar {
  border-bottom: 1px solid var(--border);
}

.ld-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.ld-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  transition: gap 0.2s;
}

.ld-back-link:hover {
  gap: 10px;
  color: var(--blue-dark);
}


/* ── Narrow container for article readability ── */
.ld-container {
  max-width: 780px;
}


/* ── Article Header ── */
.ld-header-section {
  padding: 48px 0 32px;
  background: #fff;
}

.ld-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-body);
  margin-bottom: 18px;
}

.ld-breadcrumb a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 700;
}

.ld-breadcrumb a:hover {
  text-decoration: underline;
}

.ld-breadcrumb .bi-chevron-right {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.ld-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(13,148,136,0.1);
  color: #0d9488;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.ld-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 18px;
}

.ld-meta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.ld-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  color: var(--text-body);
}

.ld-actions {
  display: flex;
  gap: 10px;
}

.ld-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: transparent;
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-body);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.ld-action-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}


/* ── Article Body ── */
.ld-body-section {
  padding: 0 0 60px;
  background: #fff;
}

.ld-hero-img {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 32px;
  height: 380px;
}

.ld-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ld-intro {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 32px;
}


/* Quick Facts */
.ld-quick-facts {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 36px;
}

.ld-qf-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 18px;
}

.ld-qf-header .bi-lightbulb-fill {
  color: #f59e0b;
  font-size: 1.1rem;
}

.ld-qf-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.ld-qf-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}

.ld-qf-item:nth-last-child(-n+2) {
  border-bottom: none;
}

.ld-qf-label {
  font-size: 0.82rem;
  color: var(--text-body);
}

.ld-qf-value {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
}


/* Article Sections */
.ld-section {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}

.ld-section-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.lsi-blue {
  background: rgba(37,99,235,0.1);
  color: var(--blue);
}

.ld-section-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.ld-section-body {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.8;
  margin: 0;
}


/* Pro Tips Box */
.ld-pro-tips {
  background: linear-gradient(135deg, #0f2b6e 0%, var(--grad-end) 100%);
  border-radius: 16px;
  padding: 28px 32px;
  margin-bottom: 28px;
}

.ld-pro-tips-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
}

.ld-pro-tips-header .bi-patch-check-fill {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
}

.ld-pro-tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ld-pro-tips-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
}

.ld-pro-tips-list .bi-check-circle-fill {
  color: #34d399;
  flex-shrink: 0;
  font-size: 1rem;
  margin-top: 2px;
}


/* Professional CTA Box */
.ld-pro-cta {
  background: linear-gradient(135deg, #0d9488, #0891b2);
  border-radius: 16px;
  padding: 36px;
  text-align: center;
  margin-bottom: 20px;
}

.ld-pro-cta-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
}

.ld-pro-cta-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.ld-pro-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: #fff;
  color: #0d9488;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s, gap 0.2s;
}

.ld-pro-cta-btn:hover {
  opacity: 0.92;
  gap: 12px;
  color: #0d9488;
}


/* ── Related Articles ── */
.ld-related-section {
  padding: 56px 0 80px;
  background: var(--section-bg);
}

.ld-related-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.ld-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ld-related-card {
  background: var(--card-bg);
  border-radius: 14px;
  padding: 22px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
}

.ld-related-card:hover {
  box-shadow: 0 8px 28px rgba(37,99,235,0.1);
  transform: translateY(-3px);
}

.ld-related-cat {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blue);
}

.ld-related-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.4;
}

.ld-related-time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--text-body);
  margin-top: auto;
}


/* ── Responsive ── */
@media (max-width: 767px) {
  .ld-title {
    font-size: 1.5rem;
  }

  .ld-hero-img {
    height: 240px;
  }

  .ld-qf-grid {
    grid-template-columns: 1fr;
  }

  .ld-qf-item:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--border);
  }

  .ld-qf-item:last-child {
    border-bottom: none;
  }

  .ld-pro-tips {
    padding: 22px 20px;
  }

  .ld-related-grid {
    grid-template-columns: 1fr;
  }

  .ld-meta-row {
    gap: 12px;
  }
}
