/**
* Template Name: Treatpatient — Premium Enterprise Redesign
*/

@charset "UTF-8";

/* ============================================================
   FONTS
============================================================ */
:root {
  --default-font: "Inter", "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --heading-font: "Plus Jakarta Sans", "Inter", sans-serif;
  --nav-font: "Inter", sans-serif;
}

/* ============================================================
   COLOR PALETTE
============================================================ */
:root {
  /* Brand */
  --primary:        #0F4C81;
  --secondary:      #00B8A9;
  --success:        #10B981;

  /* Surfaces */
  --background-color: #ffffff;
  --surface-color:    #FFFFFF;

  /* Text */
  --default-color:    #0F172A;
  --heading-color:    #0F172A;
  --muted-color:      #64748B;

  /* Borders */
  --border-color:     #E2E8F0;

  /* Legacy aliases (keep existing component styles working) */
  --accent-color:     #0F4C81;
  --contrast-color:   #FFFFFF;

  /* Nav */
  --nav-color:                    #334155;
  --nav-hover-color:              #0F4C81;
  --nav-mobile-background-color:  #FFFFFF;
  --nav-dropdown-background-color:#FFFFFF;
  --nav-dropdown-color:           #334155;
  --nav-dropdown-hover-color:     #0F4C81;

  /* Spacing scale */
  --section-padding: 80px;

  /* Radius */
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  22px;
  --radius-xl:  32px;

  /* Shadows */
  --shadow-xs:  0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-sm:  0 4px 12px rgba(15,23,42,0.07);
  --shadow-md:  0 8px 24px rgba(15,23,42,0.09);
  --shadow-lg:  0 20px 48px rgba(15,23,42,0.11);

}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

/* Color Presets */
.light-background {
  --background-color: #F1F5F9;
  --surface-color:    #FFFFFF;
}

.dark-background {
  --background-color: #0A1628;
  --default-color:    #F8FAFC;
  --heading-color:    #FFFFFF;
  --surface-color:    #0F2040;
  --contrast-color:   #FFFFFF;
  --muted-color:      #94A3B8;
}

/* ============================================================
   GLOBAL BASE
============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 20%);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p {
  color: var(--muted-color);
  line-height: 1.75;
}

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

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #FEE2E2;
  color: #DC2626;
  border: 1px solid #FECACA;
  border-radius: var(--radius-sm);
  text-align: left;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

.php-email-form .sent-message {
  display: none;
  color: #065F46;
  background: #D1FAE5;
  border: 1px solid #A7F3D0;
  border-radius: var(--radius-sm);
  text-align: center;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-weight: 500;
  font-size: 0.875rem;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 12px;
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--muted-color);
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  margin: 0 8px -5px 0;
  border: 2px solid var(--accent-color);
  border-top-color: transparent;
  animation: php-email-form-loading 0.8s linear infinite;
}

@keyframes php-email-form-loading {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background-color: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid var(--accent-color);
  border-top-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  text-align: center;
  padding: 120px 0 20px 0;
}

.page-title .breadcrumbs {
  margin-bottom: 1.5rem;
}

.page-title .breadcrumbs .breadcrumb {
  justify-content: center;
  margin: 0;
  padding: 0;
  background: none;
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item.active {
  color: var(--accent-color);
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item a:hover {
  color: var(--accent-color);
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item a i {
  font-size: 0.9rem;
  margin-right: 0.2rem;
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item+.breadcrumb-item::before {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.page-title .title-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem 0;
}

.page-title .title-wrapper h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--heading-color);
}

.page-title .title-wrapper p {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .page-title .title-wrapper h1 {
    font-size: 2rem;
  }

  .page-title .title-wrapper p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .page-title .title-wrapper h1 {
    font-size: 1.75rem;
  }
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: var(--section-padding) 0;
  scroll-margin-top: 100px;
}

@media (max-width: 1199px) {
  section,
  .section {
    scroll-margin-top: 66px;
    padding: 64px 0;
  }
}

@media (max-width: 768px) {
  section,
  .section {
    padding: 48px 0;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 40px;
  position: relative;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #00B8A9;
  background: rgba(0,184,169,0.10);
  border: 1px solid rgba(0,184,169,0.25);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 8px;
}

.dark-background .section-label {
  color: #5EEAD4;
  background: rgba(94,234,212,0.10);
  border-color: rgba(94,234,212,0.25);
}

.section-title h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.section-title h2:after {
  display: none;
}

.section-title p {
  font-size: 1rem;
  color: #64748B;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.tp-testimonials .section-title h2,
.call-to-action .section-title h2 {
  color: #ffffff;
}

.tp-testimonials .section-title p,
.call-to-action .section-title p {
  color: rgba(255,255,255,0.72);
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.about .content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.about .stats-container {
  margin: 2rem 0;
  padding: 2rem;
  background-color: var(--surface-color);
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.about .stat-item {
  text-align: center;
}

.about .stat-item .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.about .stat-item .stat-label {
  font-size: 1rem;
  color: var(--heading-color);
  font-weight: 500;
}

.about .cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.about .cta-buttons .btn-primary,
.about .cta-buttons .btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.about .cta-buttons .btn-primary {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.about .cta-buttons .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 15%);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

.about .cta-buttons .btn-secondary {
  background-color: transparent;
  color: var(--heading-color);
  border: 2px solid var(--accent-color);
}

.about .cta-buttons .btn-secondary:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

.about .image-section .main-image {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.about .image-section .main-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about .image-section .image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about .image-section .image-grid .grid-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.about .image-section .image-grid .grid-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.about .image-section .image-grid .grid-item:hover img {
  transform: scale(1.05);
}

.about .certifications-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.about .certifications-section .section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.about .certifications-section .section-header h3 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.about .certifications-section .section-header p {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.about .certifications-section .certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  align-items: center;
}

.about .certifications-section .certifications-grid .certification-item {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  background-color: var(--surface-color);
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.about .certifications-section .certifications-grid .certification-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.about .certifications-section .certifications-grid .certification-item img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(0.7);
  transition: filter 0.3s ease;
}

.about .certifications-section .certifications-grid .certification-item:hover img {
  filter: grayscale(0) opacity(1);
}

@media (max-width: 992px) {
  .about .content {
    margin-bottom: 3rem;
  }

  .about .content h2 {
    font-size: 2rem;
  }

  .about .cta-buttons {
    justify-content: center;
  }

  .about .image-section .main-image img {
    height: 300px;
  }

  .about .image-section .image-grid .grid-item img {
    height: 150px;
  }

  .about .stats-container {
    margin: 2rem 0;
  }
}

@media (max-width: 768px) {
  .about .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .about .cta-buttons .btn-primary,
  .about .cta-buttons .btn-secondary {
    width: 100%;
    justify-content: center;
    max-width: 280px;
  }

  .about .certifications-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
  }

  .about .certifications-grid .certification-item {
    padding: 1rem;
  }

  .about .certifications-grid .certification-item img {
    max-height: 45px;
  }
}

/*--------------------------------------------------------------
# Solutions Mega Menu (.tp-mega-*)
--------------------------------------------------------------*/

/* Toggle button */
.tp-mega-toggle {
  background: none;
  border: none;
  padding: 6px 12px;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: var(--nav-font);
  color: var(--nav-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
  line-height: 1;
}
.tp-mega-toggle i {
  font-size: 11px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.tp-mega-parent:hover .tp-mega-toggle,
.tp-mega-parent.tp-open .tp-mega-toggle,
.tp-mega-parent.tp-nav-active .tp-mega-toggle {
  color: var(--nav-hover-color);
  background: color-mix(in srgb, var(--primary), transparent 92%);
}
.tp-mega-parent.tp-open .tp-mega-toggle i {
  transform: rotate(180deg);
}

/* Desktop panel */
@media (min-width: 1200px) {
  .tp-mega-parent { position: static; }

  .tp-mega-menu {
    position: fixed;
    top: 72px;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    width: 640px;
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.14), 0 4px 16px rgba(15, 23, 42, 0.06);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.22s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.22s;
    z-index: 9999;
    overflow: hidden;
  }
  .tp-mega-parent:hover .tp-mega-menu,
  .tp-mega-parent.tp-open .tp-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
}

/* Two-column body */
.tp-mega-body {
  display: flex;
}

/* Left sidebar */
.tp-mega-sidebar {
  width: 210px;
  flex-shrink: 0;
  background: linear-gradient(160deg, #0a1e38 0%, #0F4C81 60%, #0a6e6e 100%);
  display: flex;
  align-items: stretch;
  border-radius: 20px 0 0 20px;
}
.tp-mega-sidebar-inner {
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tp-mega-label {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #00B8A9;
  background: rgba(0, 184, 169, 0.15);
  border: 1px solid rgba(0, 184, 169, 0.30);
  padding: 3px 10px;
  border-radius: 50px;
  width: fit-content;
}
.tp-mega-sidebar-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin: 0;
}
.tp-mega-sidebar-desc {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.60);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.tp-mega-sidebar-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.20);
  padding: 7px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
  width: fit-content;
  margin-top: auto;
}
.tp-mega-sidebar-cta:hover {
  background: rgba(255,255,255,0.20);
  border-color: rgba(255,255,255,0.35);
  color: #ffffff;
}
.tp-mega-sidebar-cta i { font-size: 0.7rem; }

/* Right list */
.tp-mega-list {
  list-style: none;
  padding: 8px;
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Each item */
.tp-mega-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 10px;
  border-radius: 12px;
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: background 0.18s ease, border-color 0.18s ease;
  position: relative;
}
.tp-mega-item:hover {
  background: color-mix(in srgb, var(--mi, #0F4C81), transparent 94%);
  border-left-color: var(--mi, #0F4C81);
}
.tp-mega-item.tp-mega-active {
  background: color-mix(in srgb, var(--mi, #0F4C81), transparent 92%);
  border-left-color: var(--mi, #0F4C81);
}

/* Icon */
.tp-mega-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--mi, #0F4C81), transparent 88%);
  color: var(--mi, #0F4C81);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.tp-mega-item:hover .tp-mega-icon,
.tp-mega-item.tp-mega-active .tp-mega-icon {
  background: var(--mi, #0F4C81);
  color: #ffffff;
  transform: scale(1.08) rotate(-4deg);
}

/* Text */
.tp-mega-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
  min-width: 0;
}
.tp-mega-text strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.3;
  transition: color 0.18s ease;
}
.tp-mega-item:hover .tp-mega-text strong,
.tp-mega-item.tp-mega-active .tp-mega-text strong {
  color: var(--mi, #0F4C81);
}
.tp-mega-text small {
  font-size: 0.68rem;
  color: #94A3B8;
  font-weight: 400;
  line-height: 1.4;
}

/* Arrow */
.tp-mega-arrow {
  font-size: 0.7rem;
  color: #CBD5E1;
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease, color 0.18s ease;
}
.tp-mega-item:hover .tp-mega-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--mi, #0F4C81);
}
.tp-mega-item.tp-mega-active .tp-mega-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--mi, #0F4C81);
}

/* Mobile */
@media (max-width: 1199px) {
  .tp-mega-menu {
    position: static;
    width: 100%;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    margin: 4px 0 4px 8px;
  }
  .tp-mega-parent.tp-open .tp-mega-menu { display: block; }
  .tp-mega-body { flex-direction: column; }
  .tp-mega-sidebar {
    width: 100%;
    border-radius: 10px 10px 0 0;
  }
  .tp-mega-sidebar-inner {
    padding: 14px 14px 12px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
  }
  .tp-mega-sidebar-title { font-size: 0.82rem; flex-basis: 100%; }
  .tp-mega-sidebar-desc { display: none; }
  .tp-mega-sidebar-cta { font-size: 0.7rem; padding: 5px 10px; }
  .tp-mega-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 11px 16px;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
  }
  .tp-mega-list { padding: 6px; gap: 1px; }
  .tp-mega-item { padding: 7px 8px; border-radius: 8px; border-left-width: 2px; }
  .tp-mega-icon { width: 28px; height: 28px; font-size: 0.8rem; }
  .tp-mega-text strong { font-size: 0.78rem; }
  .tp-mega-text small  { font-size: 0.65rem; }
  .tp-mega-arrow { opacity: 1; transform: none; }
}

/*--------------------------------------------------------------
# Solutions — Shared Header & Navbar (tp-header on solutions pages)
--------------------------------------------------------------*/
.tp-mega-parent.tp-nav-active .tp-mega-toggle {
  color: var(--nav-hover-color);
  background: color-mix(in srgb, var(--primary), transparent 92%);
}

/*--------------------------------------------------------------
# Solutions Placeholder Pages (.sol-*)
--------------------------------------------------------------*/

/* ── Hero ── */
.sol-hero {
  position: relative;
  overflow: hidden;
  padding: 180px 0 80px;
  background: linear-gradient(135deg, #0a1e38 0%, #0F4C81 55%, #0a6e6e 100%);
  margin-top: -74px;
}

.sol-hero-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* Breadcrumb */
.sol-breadcrumb {
  margin-bottom: 28px;
}

.sol-breadcrumb .breadcrumb {
  background: none;
  padding: 0;
  margin: 0;
  justify-content: center;
}

.sol-breadcrumb .breadcrumb-item,
.sol-breadcrumb .breadcrumb-item a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s ease;
}

.sol-breadcrumb .breadcrumb-item a:hover { color: #5EEAD4; }

.sol-breadcrumb .breadcrumb-item.active { color: rgba(255,255,255,0.85); }

.sol-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.30);
}

/* Hero icon */
.sol-hero-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: #5EEAD4;
  backdrop-filter: blur(8px);
}

.sol-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 10px 0 14px;
}

.sol-hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.70);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 28px;
}

.sol-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #0F4C81, #00B8A9);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(15,76,129,0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sol-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(15,76,129,0.45);
  color: #fff;
}

/* ── Placeholder / Coming Soon section ── */
.sol-placeholder {
  background: #F8FAFC;
  min-height: 360px;
  display: flex;
  align-items: center;
}

.sol-coming-soon {
  max-width: 560px;
  margin: 0 auto;
  padding: 48px 24px;
}

.sol-cs-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(15,76,129,0.08), rgba(0,184,169,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
  color: #0F4C81;
}

.sol-coming-soon h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.sol-coming-soon p {
  font-size: 1rem;
  color: #64748B;
  line-height: 1.7;
  margin-bottom: 28px;
}

.sol-cs-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.sol-cs-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: linear-gradient(135deg, #0F4C81, #00B8A9);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(15,76,129,0.22);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.sol-cs-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(15,76,129,0.32);
  color: #fff;
}

.sol-cs-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: transparent;
  color: #0F4C81;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 50px;
  border: 1.5px solid rgba(15,76,129,0.28);
  text-decoration: none;
  transition: all 0.22s ease;
}

.sol-cs-btn-ghost:hover {
  background: rgba(15,76,129,0.06);
  border-color: #0F4C81;
  color: #0F4C81;
  transform: translateY(-2px);
}

.col-lg-6 .sol-hero-sub,
.col-lg-5 .sol-hero-sub {
  margin: 0 0 28px;
}

@media (max-width: 992px) {
  .sol-hero { padding: 150px 0 70px; }
}

@media (max-width: 768px) {
  .sol-hero { padding: 130px 0 60px; }
  .sol-hero-title { font-size: clamp(1.7rem, 6vw, 2.4rem); }
  .sol-hero-sub { font-size: 0.95rem; }
}

@media (max-width: 576px) {
  .sol-hero { padding: 110px 0 56px; }
  .sol-cs-actions { flex-direction: column; align-items: stretch; }
  .sol-cs-btn-primary, .sol-cs-btn-ghost { justify-content: center; }
}

/*--------------------------------------------------------------
# Clients Slider
--------------------------------------------------------------*/
.tp-clients .client-item img {
  max-height: 100px;
  width: auto;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

/*--------------------------------------------------------------
# Main Features Section (.mf-*)
--------------------------------------------------------------*/
.mf-section { background: #F8FAFC; overflow: hidden; padding: 0; }

.mf-track-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 40px;
}

.mf-track {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.mf-inner {
  display: flex;
  gap: 14px;
  width: max-content;
}

/* Row 1 scrolls left */
.mf-track--left .mf-inner {
  animation: mf-scroll-left 28s linear infinite;
}

/* Row 2 scrolls right */
.mf-track--right .mf-inner {
  animation: mf-scroll-right 28s linear infinite;
}

@keyframes mf-scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes mf-scroll-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* Pause on hover */
.mf-track:hover .mf-inner { animation-play-state: paused; }

.mf-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(15,23,42,0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: default;
}

.mf-item:hover {
  border-color: rgba(15,76,129,0.25);
  box-shadow: 0 4px 16px rgba(15,76,129,0.10);
}

.mf-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(15,76,129,0.08), rgba(0,184,169,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #0F4C81;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.mf-item:hover .mf-icon {
  background: linear-gradient(135deg, #0F4C81, #00B8A9);
  color: #ffffff;
}

.mf-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
}

@media (max-width: 768px) {
  .mf-item { padding: 11px 16px; }
  .mf-icon { width: 30px; height: 30px; font-size: 0.85rem; }
  .mf-label { font-size: 0.82rem; }
}

/*--------------------------------------------------------------
# Our Services Carousel (.os-*)
--------------------------------------------------------------*/
.os-section {
  background: linear-gradient(135deg, #EFF6FF 0%, #F0FDFA 50%, #F8FAFC 100%);
  overflow: hidden;
  position: relative;
  padding: 48px 0;
}

.os-section-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(15,76,129,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* Header row */
.os-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.os-header h2 {
  color: #0F172A;
  margin-bottom: 8px;
}

.os-header p {
  color: #64748B;
  margin: 0;
  font-size: 0.95rem;
}

.os-header .section-label {
  color: #00B8A9;
  background: rgba(0,184,169,0.10);
  border-color: rgba(0,184,169,0.25);
}

.os-view-all {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0F4C81;
  background: rgba(15,76,129,0.07);
  border: 1px solid rgba(15,76,129,0.18);
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.os-view-all:hover {
  background: #0F4C81;
  color: #ffffff;
}

/* Track */
.os-track-wrap { padding-bottom: 32px; }

.os-track {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
}

.os-inner {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: os-scroll 40s linear infinite;
  padding: 8px 0 12px;
}

.os-track:hover .os-inner { animation-play-state: paused; }

@keyframes os-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Card */
.os-card {
  position: relative;
  width: 260px;
  height: 310px;
  flex-shrink: 0;
  border-radius: 20px;
  overflow: hidden;
  cursor: default;
  background: #ffffff;
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 12px rgba(15,23,42,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.os-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(15,76,129,0.12);
  border-color: rgba(15,76,129,0.20);
}

.os-img-wrap {
  width: 100%;
  height: 140px;
  overflow: hidden;
  flex-shrink: 0;
}

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

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

/* Content area below image */
.os-overlay {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 20px;
  background: transparent;
}

.os-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0F4C81, #00B8A9);
  color: #ffffff;
  font-size: 0.95rem;
  margin-bottom: 10px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.os-card:hover .os-icon-badge { transform: scale(1.1) rotate(-4deg); }

.os-overlay h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 576px) {
  .os-card { width: 210px; height: 260px; }
  .os-header { flex-direction: column; align-items: flex-start; }
}
