/* =========================================
   Emart Media Base Styles
   Stripe-inspired clean SaaS look
========================================= */

:root {
    --primary: #4f6ef7;
    --primary-dark: #3b55d1;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --bg-light: #f8fafc;
    --border-light: #e5e7eb;
}

/* Global */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-dark);
    background: #ffffff;
    line-height: 1.6;
}

h1, h2, h3, h4, h5 {
    font-weight: 600;
    color: var(--text-dark);
}

/* Navbar */
.navbar {
    padding: 0.8rem 0;
}

.navbar-brand img {
    height: 64px;
}

/* Buttons */
.navbar .btn {
    padding: 8px 16px;
    font-weight: 500;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-secondary {
    border-radius: 8px;
    padding: 10px 20px;
}

.btn-outline-primary{
    border-radius: 8px;
    padding: 10px 20px;
}

.btn-outline-warning{
    border-radius: 8px;
    padding: 10px 20px;
}

.btn-outline-danger {
    border-radius: 8px;
    padding: 10px 20px;
}

.btn-outline-success {
    border-radius: 8px;
    padding: 10px 20px;
}

.btn-outline-dark {
    border-radius: 8px;
    padding: 10px 20px;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
}

.hero p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* Cards */
.card {
    border: 1px solid var(--border-light);
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    transition: 0.2s ease;
}

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

.card img {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

/* Sections */
section {
    padding: 70px 0;
}

.bg-light {
    background-color: var(--bg-light) !important;
}

/* Footer */
footer {
    background: #ffffff;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Forms */
.form-control {
    border-radius: 8px;
    border: 1px solid var(--border-light);
    padding: 10px 12px;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 110, 247, 0.15);
}

/* Utility */
.text-muted {
    color: var(--text-muted) !important;
}

/* Feature Blocks */
.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(79, 110, 247, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 28px;
    color: var(--primary);
}

/* Pricing (future use) */
.pricing-card {
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 40px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.pricing-price {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
}


/* Hero image styling */
.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

/* Mobile hero adjustments */
@media (max-width: 768px) {
    .hero {
        padding: 50px 0;
        text-align: center;
    }

    .hero-image {
        margin-top: 25px;
        max-width: 90%;
    }
}

.hero-image-wide {
    max-width: 110%;
}

/* =========================================
   Services Layout
========================================= */

.service-card {
    background: #ffffff;
    padding: 24px;
    border-radius: 14px;
    border: 1px solid var(--border-light);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
    align-items: flex-start;
    gap: 18px;
    height: 100%;
    transition: 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
}

.service-icon {
    min-width: 70px;
    height: 70px;
    background: rgba(79, 110, 247, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 40px;
    height: auto;
}

.service-content h4 {
    margin-bottom: 6px;
    font-weight: 600;
}

.service-content p {
    margin-bottom: 0;
    color: var(--text-muted);
}

/* Mobile stacking */
@media (max-width: 768px) {
    .service-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .service-icon {
        margin-bottom: 10px;
    }
}

/* Service CTA buttons */
.service-cta {
    margin-top: 12px;
    padding: 6px 14px;
    font-size: 0.85rem;
    border-radius: 8px;
}

.capability-list {
    list-style: none;
    padding-left: 0;
}

.capability-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-muted);
}

/* =========================================
   Product Cards
========================================= */

.product-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
    transition: 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
}

/* Image container */
.product-image {
    width: 100%;
    max-height:600px;
    object-fit: contain;
    padding: 20px;
    background: #f8fafc;
}

/* Body */
.product-body {
    padding: 24px;
    flex-grow: 1;
}

.product-body h5 {
    margin-bottom: 10px;
    font-weight: 600;
}

.product-body p {
    color: var(--text-muted);
}

.product-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 2px dashed var(--border-light);
    min-height: 280px;
}

/* =========================================
   Cookie Banner
========================================= */

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 16px 20px;
    z-index: 9999;
    display: none;
}

.cookie-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.cookie-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 700px;
}

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

/* Mobile */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-actions {
        justify-content: center;
    }
}

/* =========================================
   Pricing
========================================= */

.pricing-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--border-light);
    text-align: center;
    box-shadow: 0 8px 22px rgba(0,0,0,0.04);
    height: 100%;
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.03);
}

.pricing-card h4 {
    margin-bottom: 10px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 20px 0;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.pricing-card ul li {
    padding: 6px 0;
    color: var(--text-muted);
}

/* =========================================
   Dashboard
========================================= */

.dashboard-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 24px;
    border: 1px solid var(--border-light);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
    height: 100%;
}

.index-icon {
    min-width: 140px;
    height: 140px;
    background: rgba(79, 110, 247, 0.08);
    border-radius: 14px;
    margin-bottom:10px;
}

.index-icon img {
    width: 140px;
    height: 140px;
    padding:20px;
}

.emart-hr {
color:#ccc;
height:1px;
margin:40px 0px 40px 0px;
}


/* =========================================
   Enterprise Mobile Agenda View
========================================= */

.agenda-view {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
}

.agenda-item {
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: transform 0.15s ease;
}

.agenda-item:hover {
    transform: translateY(-2px);
}

.agenda-date {
    font-size: 13px;
    font-weight: 600;
    color: #6c757d;
}

.agenda-title {
    font-size: 15px;
    font-weight: 600;
    margin-top: 2px;
}

.agenda-time {
    font-size: 13px;
    color: #495057;
    margin-top: 4px;
}


/* =========================================
   Calendar
========================================= */


.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border: 1px solid #dee2e6;
}

.calendar-header {
    background: #f8f9fa;
    font-weight: 600;
    padding: 8px;
    text-align: center;
    border-right: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

.calendar-cell {
    min-height: 120px;
    padding: 6px;
    border-right: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    position: relative;
    background: #fff;
}

.calendar-date {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.calendar-event {
    padding: 4px 6px;
    border-radius: 4px;
    font-size: 12px;
    color: #fff;
    cursor: pointer;
    margin-bottom: 4px;
}

/* ============================= */
/* ENTERPRISE WEEK VIEW GRID     */
/* ============================= */

.week-grid {
    display: grid;
    grid-template-columns: 80px repeat(7, 1fr);
    border: 1px solid #dee2e6;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

/* Header row (Sun-Sat) */
.week-header {
    display: contents;
}

.week-header div {
    background: #f8f9fa;
    font-weight: 600;
    text-align: center;
    padding: 8px 4px;
    border-bottom: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
}

/* Time column */
.time-col {
    background: #f8f9fa;
    padding: 6px;
    font-size: 13px;
    border-right: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

/* Each hour row */
.week-row {
    display: contents;
}

/* Day cells */
.week-cell {
    min-height: 60px;
    border-bottom: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    position: relative;
    transition: background 0.15s ease;
}

.week-cell:hover {
    background: #f9fbff;
}

/* Event styling inside week */
.week-cell .calendar-event {
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    font-size: 12px;
    padding: 4px 6px;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.week-cell .calendar-event:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* ===============================
   WEEK TIMELINE VIEW
================================= */

.week-timeline {
    position: relative;
}

.week-header-row {
    display: grid;
    grid-template-columns: 80px repeat(7, 1fr);
    border-bottom: 1px solid #dee2e6;
}

.week-time-col {
    background: #f8f9fa;
}

.week-day-header {
    text-align: center;
    padding: 8px 0;
    font-weight: 600;
}

.week-today {
    background: rgba(13,110,253,0.05);
}

.week-body {
    position: relative;
    height: 1440px;
}

.week-hour-row {
    display: grid;
    grid-template-columns: 80px repeat(7, 1fr);
    height: 60px;
    border-bottom: 1px solid #e9ecef;
}

.week-time-label {
    font-size: 12px;
    padding: 4px;
    color: #6c757d;
    background: #f8f9fa;
    border-right: 1px solid #dee2e6;
}

.week-hour-cell {
    border-right: 1px solid #f1f3f5;
}

.week-event {
    position: absolute;
    padding: 4px 6px;
    border-radius: 6px;
    font-size: 12px;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: transform 0.1s ease;
}

.week-event:hover {
    transform: scale(1.02);
}

/* Day View */
.day-grid {
    display: grid;
    grid-template-columns: 80px 1fr;
}

.day-header {
    grid-column: 1 / span 2;
    text-align: center;
    padding: 10px 0;
    font-weight: 600;
    border-bottom: 1px solid #dee2e6;
}

.day-row {
    display: contents;
}

.day-cell {
    min-height: 60px;
    border-bottom: 1px solid #dee2e6;
    position: relative;
}


.day-timeline {
    position: relative;
}

.day-title {
    text-align: center;
    font-weight: 600;
    padding: 10px 0;
}

.day-body {
    position: relative;
    height: 1440px; /* 24 hours * 60 minutes */
    border-left: 1px solid #dee2e6;
}

.timeline-hour {
    position: relative;
    height: 60px;
    border-bottom: 1px solid #e9ecef;
}

.timeline-time {
    position: absolute;
    left: -70px;
    top: 0;
    font-size: 12px;
    color: #6c757d;
}

.timeline-event {
    position: absolute;
    left: 5px;
    right: 5px;
    border-radius: 6px;
    padding: 4px 6px;
    font-size: 13px;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: transform 0.1s ease;
}

.timeline-event:hover {
    transform: scale(1.02);
}

/* Calendar hover + polish */

.calendar-event {
    transition: all 0.15s ease;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.calendar-event:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.calendar-cell:hover {
    background: #f8f9fa;
}

.view-btn {
    transition: all 0.2s ease;
}

.view-btn.btn-primary {
    box-shadow: 0 2px 6px rgba(13,110,253,0.3);
}

.fade-in {
    animation: fadeIn 0.25s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.calendar-shell { width: 100%; overflow-x: auto; }
.calendar-container { width: 100%; min-width: 900px; }

/* ========================= */
/* CURRENT DAY HIGHLIGHT     */
/* ========================= */

.is-today {
    background: #eef4ff !important;
}

.is-today-header {
    background: #e3ecff !important;
    font-weight: 600;
    border-bottom: 2px solid #4f6ef7 !important;
}
.timeline-hour {
    position: relative;
    height: 60px;
    border-top: 1px solid #eee;
}

.timeline-time {
    position: absolute;
    left: 0;
    top: 0;
    width: 70px;
    text-align: right;
    padding-right: 10px;
    font-size: 12px;
    color: #999;
}

.day-body {
    position: relative;
    margin-left: 80px;
}




/* =========================================
   Calendar Mobile Friendly 
============================================ */

@media (max-width: 768px) {

  /* Make the shell scroll nicely on phones */
  .calendar-shell {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px; /* room for scroll bar */
  }

  /* Reduce the “forced wide” minimum width so it doesn’t feel broken */
  .calendar-container {
    min-width: 720px; /* was 900px; keeps 7 cols usable */
  }

  /* -----------------------------------------
     Month view tightening
  ----------------------------------------- */
  .calendar-header {
    font-size: 12px;
    padding: 6px 2px;
    white-space: nowrap;
  }

  .calendar-cell {
    min-height: 90px;
    padding: 4px;
  }

  .calendar-date {
    font-size: 12px;
    margin-bottom: 3px;
  }

  .calendar-event {
    font-size: 11px;
    padding: 3px 5px;
    border-radius: 5px;
    line-height: 1.15;
  }

  /* -----------------------------------------
     Week timeline tightening
     (Shrinks time column + header + hour rows)
  ----------------------------------------- */
  .week-header-row {
    grid-template-columns: 52px repeat(7, 1fr); /* was 80px */
  }

  .week-hour-row {
    grid-template-columns: 52px repeat(7, 1fr); /* was 80px */
    height: 54px; /* was 60px */
  }

  .week-time-label {
    font-size: 11px;
    padding: 4px 2px;
    white-space: nowrap;
  }

  .week-day-header {
    font-size: 12px;
    padding: 6px 0;
    white-space: nowrap;
  }

  /* Events: slightly smaller + better tap */
  .week-event {
    font-size: 11px;
    padding: 4px 5px;
    border-radius: 6px;
  }

  /* -----------------------------------------
     Week grid (older style) tightening
  ----------------------------------------- */
  .week-grid {
    grid-template-columns: 52px repeat(7, 1fr); /* was 80px */
  }

  .time-col {
    font-size: 11px;
    padding: 5px 3px;
    white-space: nowrap;
  }

  /* -----------------------------------------
     Day view tightening
  ----------------------------------------- */
  .day-title {
    font-size: 14px;
    padding: 8px 0;
  }

  .day-body {
    margin-left: 52px; /* was 80px */
  }

  .timeline-time {
    width: 46px;
    left: -52px;
    padding-right: 6px;
    font-size: 11px;
    white-space: nowrap;
  }

  .timeline-event {
    font-size: 12px;
    padding: 4px 6px;
  }
}


@media (max-width:600px){

.mobile-day-panel{
    margin-top:12px;
    border-radius:12px;
    background:#fff;
    box-shadow:0 4px 16px rgba(0,0,0,0.08);
    padding:10px;
}

.mobile-day-header{
    font-weight:600;
    font-size:16px;
    padding-bottom:8px;
    border-bottom:1px solid #eee;
    margin-bottom:10px;
}

}

/* Extra-small phones */
@media (max-width: 420px) {

  /* Slightly smaller min width so you don’t feel “stuck” */
  .calendar-container {
    min-width: 680px;
  }

  .calendar-event {
    font-size: 10.5px;
  }

  .week-day-header {
    font-size: 11px;
  }

  .week-time-label {
    font-size: 10.5px;
  }
}


/* =========================================
   Tablet  Landscape Calendar Layer
   (iPad, iPhone landscape, small laptops)
========================================= */

@media (min-width: 769px) and (max-width: 1024px) {

  /* Allow controlled horizontal scroll but less aggressive */
  .calendar-shell {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Reduce forced width slightly */
  .calendar-container {
    min-width: 100%; /* between mobile (720) and desktop (900) */
  }

  /* -----------------------------------------
     Month View
  ----------------------------------------- */
  .calendar-cell {
    min-height: 105px; /* slightly tighter than desktop */
  }

  .calendar-date {
    font-size: 13px;
  }

  .calendar-event {
    font-size: 12px;
    padding: 4px 6px;
  }

  /* -----------------------------------------
     Week Timeline View
  ----------------------------------------- */

  /* Shrink time column a bit */
  .week-header-row {
    grid-template-columns: 65px repeat(7, 1fr); /* desktop 80px */
  }

  .week-hour-row {
    grid-template-columns: 65px repeat(7, 1fr);
    height: 58px; /* slightly tighter than desktop */
  }

  .week-time-label {
    font-size: 12px;
    padding: 4px;
  }

  .week-day-header {
    font-size: 13px;
    padding: 8px 0;
  }

  .week-event {
    font-size: 12px;
  }

  /* -----------------------------------------
     Week Grid (legacy layout)
  ----------------------------------------- */
  .week-grid {
    grid-template-columns: 65px repeat(7, 1fr);
  }

  .time-col {
    font-size: 12px;
  }

  /* -----------------------------------------
     Day View
  ----------------------------------------- */
  .day-body {
    margin-left: 65px; /* was 80 */
  }

  .timeline-time {
    width: 60px;
    left: -65px;
    font-size: 12px;
  }

  .timeline-event {
    font-size: 13px;
  }
}


/* =========================================
   News & Events
========================================= */
.news-card-image {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.news-article-hero {
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.news-article-body {
    font-size: 1.05rem;
}

.news-article-body h2,
.news-article-body h3,
.news-article-body h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.news-article-body p,
.news-article-body ul,
.news-article-body ol,
.news-article-body blockquote {
    margin-bottom: 1rem;
}

.news-article-body blockquote {
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--primary);
    background: #f8fbff;
    border-radius: 0 12px 12px 0;
}

.news-download-box {
    border: 1px solid var(--border-light);
    border-radius: 18px;
    padding: 1.25rem;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}


.news-featured-image {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.news-gallery-image,
.news-gallery-admin-image {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.news-gallery-item {
    display: block;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.news-gallery-item:hover {
    transform: translateY(-2px);
}

.news-nav-card {
    border: 1px solid var(--border-light);
    border-radius: 18px;
    padding: 1rem 1.1rem;
    text-decoration: none;
    color: inherit;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.news-nav-card:hover {
    border-color: #cfe0ff;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.07);
}

.news-article-body pre {
    background: #0f172a;
    color: #e2e8f0;
    padding: 1rem 1.2rem;
    border-radius: 16px;
    overflow-x: auto;
    margin-bottom: 1.25rem;
}

.news-article-body code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 0.92em;
}

.news-article-body :not(pre) > code {
    background: #f1f5f9;
    padding: 0.15rem 0.35rem;
    border-radius: 6px;
}


/* =========================================
   Home Page Enhancements
========================================= */

.hero-home {
    padding: 96px 0 86px;
}

.home-kicker,
.section-eyebrow {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
}

.home-hero-copy {
    color: var(--text-dark);
    max-width: 720px;
}

.hero-trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-trust-list span {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid var(--border-light);
    border-radius: 999px;
    background: #ffffff;
    color: var(--text-muted);
    font-size: 0.92rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.home-proof-strip {
    background: #f8fafc;
}

.proof-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 22px 18px;
    height: 100%;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
}

.proof-number {
    font-size: 1.9rem;
    line-height: 1.1;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.proof-label {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.home-service-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
    transition: 0.2s ease;
}

.home-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
}

.home-service-card p {
    color: var(--text-muted);
    margin-bottom: 0;
}

.home-feature-panel {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
}

.capability-list {
    padding-left: 1.2rem;
    margin-bottom: 0;
}

.capability-list li {
    margin-bottom: 0.55rem;
    color: var(--text-muted);
}

.solution-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 18px;
    padding: 28px 24px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: 0.2s ease;
    height: 100%;
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
}

.solution-card p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.solution-badge {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(79, 110, 247, 0.08);
    border-radius: 999px;
    padding: 7px 12px;
    margin-bottom: 16px;
}

.home-value-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 26px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
}

.home-value-card p {
    color: var(--text-muted);
}

.home-step-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
}

.step-badge {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(79, 110, 247, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 16px;
}

.home-news-section .news-card-image,
.home-news-card .news-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #f8fafc;
}

.home-news-card .card-body p {
    color: var(--text-muted);
}

/* =========================================
   Footer Enhancements
========================================= */

.site-footer {
    background: #ffffff;
}

.footer-logo {
    max-width: 220px;
    height: auto;
}

.footer-heading {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.footer-text {
    color: var(--text-muted);
    max-width: 420px;
    margin-bottom: 0;
}

.footer-contact div {
    margin-bottom: 0.35rem;
    color: var(--text-muted);
}

.footer-links li {
    margin-bottom: 0.55rem;
}

.footer-links a,
.footer-contact a,
.footer-social a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-social a:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-bottom {
    background: #fbfcfe;
}

@media (max-width: 768px) {
    .hero-home {
        padding: 60px 0 48px;
    }

    .hero-trust-list {
        justify-content: center;
    }

    .proof-number {
        font-size: 1.5rem;
    }

    .home-service-card,
    .home-feature-panel,
    .solution-card,
    .home-value-card,
    .home-step-card {
        padding: 22px 20px;
    }

    .footer-social {
        gap: 10px;
    }
}
/* =========================================
   About + Services Page Helpers
========================================= */

.service-cta {
    align-self: flex-start;
}

@media (max-width: 768px) {
    .service-card {
        flex-direction: column;
    }

    .service-icon {
        min-width: 64px;
        width: 64px;
        height: 64px;
    }
}
