/* ===================================
   CSS Variables / Design Tokens
   =================================== */
:root {
  --primary: #fc5130;
  --primary-rgb: 252, 81, 48;
  --primary-hover: #e04426;
  --dark: #2f323a;
  --gray: #6f6f6f;
  --gray-light: #8e8e8e;
  --bg-light: #f5f5f5;
  --bg-lighter: #eeeeee;
  --bg-mid: #e1e1e1;
  --white: #ffffff;
  --black: #000000;
  --header-bg: #ffffff;
  --footer-bg: #212121;
  --font: 'Poppins', sans-serif;
  --radius: 2px;
  --shadow: 0 0 15px rgba(0,0,0,0.05);
  --shadow-hover: 0 10px 25px rgba(0,0,0,0.1);
}

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

html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font);
  background-color: var(--bg-lighter);
  color: var(--gray);
  margin: 0;
  padding: 0;
  padding-top: 85px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--dark);
  font-weight: 600;
  margin-top: 0;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}
a:hover {
  color: var(--primary);
}

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

/* ===================================
   Utilities
   =================================== */
.text-primary { color: var(--primary) !important; }
.bg-primary   { background-color: var(--primary) !important; }
.badge.bg-primary { background-color: var(--primary) !important; }
.text-gray    { color: var(--gray) !important; }

/* ===================================
   Header / Navbar
   =================================== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--header-bg);
  box-shadow: 0 1px 10px rgba(0,0,0,0.06);
}

.navbar {
  padding: 15px 0;
  background: transparent !important;
}

.navbar-brand {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark) !important;
}

.navbar-toggler {
  border: none !important;
  box-shadow: none !important;
  padding: 4px 8px;
  font-size: 22px;
  color: var(--dark);
}
.navbar-toggler:focus {
  outline: none;
  box-shadow: none !important;
}

.navbar-nav .nav-link {
  font-size: 15px;
  font-weight: 400;
  padding: 10px 16px !important;
  color: var(--gray) !important;
  transition: color 0.3s;
}
.navbar-nav .nav-link:hover {
  color: var(--primary) !important;
}
.navbar-nav .nav-link.active {
  color: var(--primary) !important;
}

@media (min-width: 992px) {
  .navbar-offcanvas .offcanvas-body {
    align-items: center;
    display: flex;
    overflow: visible;
    padding: 0;
  }
  .nav-menu-icon {
    display: none;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-nav-action {
  background: transparent;
  color: var(--primary) !important;
  border: 1px solid var(--primary);
  padding: 8px 20px !important;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: all 0.3s;
}
.btn-nav-action:hover {
  background: var(--primary);
  color: var(--white) !important;
}
.btn-nav-action-primary {
  background: var(--primary);
  color: var(--white) !important;
  border-color: var(--primary);
}
.btn-nav-action-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: var(--white) !important;
}

/* ===================================
   Hero
   =================================== */
.hero-section {
  padding-top: 160px;
  padding-bottom: 120px;
  background-color: var(--bg-light);
  overflow: hidden;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 650px;
}

.text-shadow-premium {
  text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* ===================================
   Shared Button
   =================================== */
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  padding: 14px 34px;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius);
  color: var(--white);
  letter-spacing: 0.5px;
  transition: all 0.3s;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  color: var(--white);
}

/* ===================================
   Sections (shared)
   =================================== */
.section {
  padding: 120px 0;
  overflow: hidden;
}
.bg-eeeeee { background-color: var(--bg-lighter); }
.bg-e1e1e1 { background-color: var(--bg-mid); }
.bg-f5f5f5 { background-color: var(--bg-light); }

.line-deco {
  width: 40px;
  height: 4px;
  background: var(--primary);
  margin-bottom: 20px;
}

.section-title {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--dark);
}

.section-subtitle {
  font-size: 17px;
  line-height: 1.7;
  color: var(--gray);
  max-width: 600px;
}

/* ===================================
   Service Cards
   =================================== */
.service-card {
  background: var(--white);
  padding: 0;
  border-radius: var(--radius);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
  position: relative;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.service-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}
.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.service-card:hover .service-img-wrap img {
  transform: scale(1.08);
}

.service-number {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  z-index: 10;
  transition: all 0.3s;
}

.service-card:hover .service-number {
  background: var(--primary);
  color: var(--white);
}

.service-content {
  padding: 35px 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-card-list .service-content {
  text-align: left;
}

.card-deco-tl::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  width: 80px;
  height: 80px;
  border-top: 4px solid var(--primary);
  border-left: 4px solid var(--primary);
  pointer-events: none;
}
.card-deco-br::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 80px;
  height: 80px;
  border-bottom: 4px solid var(--primary);
  border-right: 4px solid var(--primary);
  pointer-events: none;
}

.service-icon {
  font-size: 44px;
  color: var(--primary);
  margin-bottom: 20px;
  display: block;
}
.service-card h4 {
  font-size: 22px;
  margin-bottom: 12px;
}
.service-card p {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 28px;
  line-height: 1.6;
}

.service-rich-text {
  color: var(--gray);
  overflow-wrap: anywhere;
}

.service-rich-text > :first-child {
  margin-top: 0;
}

.service-rich-text > :last-child {
  margin-bottom: 0;
}

.service-rich-text .ql-align-center {
  text-align: center;
}

.service-rich-text .ql-align-right {
  text-align: right;
}

.service-rich-text .ql-align-justify {
  text-align: justify;
}

.service-rich-text .ql-indent-1 { padding-left: 2em; }
.service-rich-text .ql-indent-2 { padding-left: 4em; }
.service-rich-text .ql-indent-3 { padding-left: 6em; }
.service-rich-text .ql-indent-4 { padding-left: 8em; }

.service-title-rich {
  color: var(--dark);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 12px;
}

.service-title-rich p {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  margin: 0;
}

.service-title-rich h1,
.service-title-rich h2,
.service-title-rich h3 {
  color: inherit;
  font-weight: inherit;
  line-height: 1.25;
  margin: 0;
}

.service-title-rich h1 { font-size: 1.28em; }
.service-title-rich h2 { font-size: 1.14em; }
.service-title-rich h3 { font-size: 1em; }

.service-title-rich ul,
.service-title-rich ol {
  color: var(--gray);
  font-size: 0.86em;
  font-weight: 400;
  margin: 6px 0 0;
  padding-left: 20px;
}

.service-title-rich li {
  line-height: 1.45;
}

.service-feature-rich {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 28px;
  text-align: left;
}

.service-feature-rich p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 10px;
}

.service-feature-rich h1,
.service-feature-rich h2,
.service-feature-rich h3 {
  color: var(--dark);
  font-weight: 700;
  line-height: 1.35;
  margin: 14px 0 8px;
}

.service-feature-rich h1 { font-size: 1.35em; }
.service-feature-rich h2 { font-size: 1.2em; }
.service-feature-rich h3 { font-size: 1.05em; }

.service-feature-rich ul,
.service-feature-rich ol {
  margin: 0 0 12px;
  padding-left: 21px;
}

.service-feature-rich li {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 6px;
}

.service-feature-rich ul li::marker {
  color: var(--primary);
}

.service-feature-rich ol li::marker {
  color: var(--primary);
  font-weight: 600;
}

.service-feature-rich strong {
  color: var(--dark);
  font-weight: 700;
}

.service-feature-rich blockquote {
  background: rgba(var(--primary-rgb), 0.04);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--gray);
  font-style: italic;
  margin: 12px 0;
  padding: 10px 14px;
}

.service-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.service-feature-list li {
  position: relative;
  padding-left: 22px;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.55;
}

.service-feature-list li::before {
  content: '';
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.08);
  transform: translateY(-50%);
}

.service-card-price {
  margin-top: auto;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
}


/* ===================================
   Feature Items
   =================================== */
.feature-icon {
  font-size: 34px;
  color: var(--primary);
  flex-shrink: 0;
}
.feature-content h4 {
  font-size: 18px;
  margin-bottom: 8px;
}
.feature-content p {
  color: var(--gray);
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.6;
}

/* ===================================
   Image Decoration
   =================================== */
.image-shadow {
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  border-radius: var(--radius);
}

.deco-tl-img-wrapper {
  overflow: visible;
}
.deco-tl-img-wrapper::before {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  width: 120px;
  height: 120px;
  border-top: 5px solid var(--primary);
  border-left: 5px solid var(--primary);
  z-index: 0;
  pointer-events: none;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  border: 3px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 22px;
  background: rgba(255,255,255,0.85);
  transition: all 0.3s;
  z-index: 2;
}
.play-btn:hover {
  background: var(--primary);
  color: var(--white);
}
.play-btn.solid {
  background: var(--primary);
  color: var(--white);
  border: none;
}
.play-btn.solid:hover {
  background: var(--primary-hover);
}

/* ===================================
   Testimonials
   =================================== */
.testimonial-card {
  background: var(--bg-light);
  padding: 40px 30px;
  border-radius: var(--radius);
  position: relative;
  height: 100%;
}
.quote-icon {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 26px;
  color: #ddd;
}
.role-pill {
  font-size: 11px;
  letter-spacing: 0.5px;
  border: 1px solid #ddd;
  padding: 4px 14px;
  border-radius: 20px;
  color: var(--gray);
  display: inline-block;
  margin-top: 6px;
}

/* ===================================
   Inner Hero (Sub Pages)
   =================================== */
.inner-hero {
  padding-top: 180px;
  padding-bottom: 80px;
  background-color: var(--bg-light);
}
.inner-hero h1 {
  font-size: 50px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 15px;
}
.inner-hero p {
  font-size: 18px;
  color: var(--gray);
  max-width: 600px;
}
.inner-hero-center {
  text-align: center;
}
.inner-hero-center p {
  margin-left: auto;
  margin-right: auto;
}

.service-detail-hero h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 22px;
}

.service-detail-title-rich {
  color: var(--primary);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 22px;
  max-width: 900px;
}

.service-detail-title-rich p {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  margin: 0;
}

.service-detail-title-rich h1,
.service-detail-title-rich h2,
.service-detail-title-rich h3 {
  color: inherit;
  font-weight: inherit;
  line-height: inherit;
  margin: 0;
}

.service-detail-title-rich h1 { font-size: 1em; }
.service-detail-title-rich h2 { font-size: 0.86em; }
.service-detail-title-rich h3 { font-size: 0.74em; }

.service-detail-summary {
  max-width: 700px;
  margin-bottom: 0;
}

.service-detail-summary li {
  font-size: 15px;
  line-height: 1.7;
}

.service-detail-summary-rich {
  max-width: 700px;
  margin-bottom: 0;
}

.service-detail-body {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.9;
}

.service-detail-body p {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.9;
  margin: 0 0 16px;
}

.service-detail-body h1,
.service-detail-body h2,
.service-detail-body h3 {
  color: var(--dark);
  font-weight: 700;
  line-height: 1.35;
  margin: 28px 0 12px;
}

.service-detail-body h1 { font-size: 30px; }
.service-detail-body h2 { font-size: 25px; }
.service-detail-body h3 { font-size: 20px; }

.service-detail-body ul,
.service-detail-body ol {
  margin: 0 0 18px;
  padding-left: 24px;
}

.service-detail-body li {
  margin-bottom: 8px;
}

.service-detail-body ul li::marker {
  color: var(--primary);
}

.service-detail-body ol li::marker {
  color: var(--primary);
  font-weight: 600;
}

.service-detail-body blockquote {
  background: rgba(var(--primary-rgb), 0.04);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--gray);
  font-style: italic;
  margin: 18px 0;
  padding: 14px 18px;
}

.partner-detail-sector-badge {
  border: 1px solid rgba(var(--primary-rgb), 0.22);
  color: var(--primary);
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.4;
  margin-bottom: 18px;
  padding: 7px 12px;
  text-transform: uppercase;
}

.partner-detail-summary {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.75;
  max-width: 760px;
}

.partner-detail-summary p {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 10px;
}

.partner-detail-image {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 40px;
  overflow: hidden;
}

.partner-detail-image img {
  max-height: 420px;
  object-fit: cover;
  width: 100%;
}

/* Inner Hero Responsive */
@media (max-width: 991px) {
  .inner-hero {
    padding-top: 140px;
    padding-bottom: 60px;
  }
  .inner-hero h1 {
    font-size: 42px;
  }
  .service-detail-hero h1 {
    font-size: 36px;
  }
  .service-detail-title-rich {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  .inner-hero {
    padding-top: 120px;
    padding-bottom: 50px;
  }
  .inner-hero h1 {
    font-size: 34px;
    margin-bottom: 12px;
  }
  .inner-hero p {
    font-size: 16px;
  }
  .service-detail-hero h1 {
    font-size: 30px;
  }
  .service-detail-title-rich {
    font-size: 30px;
  }
  .service-detail-summary li {
    font-size: 14px;
  }
  .inner-hero-center {
    text-align: left !important;
  }
  .inner-hero-center p {
    margin-left: 0;
    margin-right: 0;
  }
}
/* ===================================
   Newsletter
   =================================== */
.newsletter-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-form .form-control {
  flex: 1;
  min-width: 200px;
  padding: 14px 18px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-size: 15px;
}
.newsletter-form .form-control:focus {
  border-color: var(--primary);
  box-shadow: none;
}
.newsletter-form .btn {
  padding: 14px 35px;
  flex-shrink: 0;
}

/* ===================================
   Contact Steps
   =================================== */
.step-progress {
  align-items: center;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #eee;
  color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  border: 2px solid #ddd;
}
.step-circle.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.step-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
  white-space: nowrap;
}
.step-line {
  flex-grow: 1;
  height: 2px;
  background: #ddd;
  margin: 0 12px;
  margin-bottom: 25px;
}

/* Contact Form */
.contact-form .form-control {
  padding: 14px 18px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-size: 15px;
  background: var(--white);
}
.contact-form .form-control:focus {
  border-color: var(--primary);
  box-shadow: none;
}

/* ===================================
   Footer
   =================================== */
footer {
  background-color: var(--footer-bg);
  color: var(--gray-light);
  overflow: hidden;
}
.footer-top {
  padding: 80px 0;
}
.footer-brand {
  font-size: 32px;
  color: var(--primary);
  font-weight: 900;
}
.footer-text {
  font-size: 15px;
  line-height: 1.7;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: var(--radius);
  font-size: 16px;
  transition: all 0.3s;
}
.social-icons a:hover {
  background: var(--primary);
  color: var(--white);
}

.footer-title {
  font-size: 18px;
  color: var(--white);
  font-weight: 600;
}
.footer-contact li {
  font-size: 15px;
  display: flex;
  align-items: center;
}
.footer-contact i {
  color: var(--gray-light);
  font-size: 16px;
}
.footer-links a {
  font-size: 15px;
  color: var(--gray-light);
  transition: color 0.3s;
}
.footer-links a:hover {
  color: var(--primary);
}
.tag-btn {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid #444;
  color: var(--gray-light);
  border-radius: var(--radius);
  font-size: 13px;
  transition: all 0.3s;
}
.tag-btn:hover {
  border-color: var(--primary);
  color: var(--white);
}
.footer-bottom {
  background: var(--black);
  padding: 18px 0;
  font-size: 14px;
}

/* ===================================
   Responsive – Tablet (≤991px)
   =================================== */
@media (max-width: 991px) {
  .hero-section {
    padding-top: 120px;
    padding-bottom: 60px;
  }
  .hero-title {
    font-size: 52px;
  }
  .hero-content {
    text-align: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
    font-size: 16px !important;
  }
  .section {
    padding: 80px 0;
  }
  .section-title {
    font-size: 34px;
  }
  .section-subtitle {
    font-size: 15px;
  }

  /* Right offcanvas menu on mobile */
  .navbar-offcanvas {
    background: var(--header-bg);
    --bs-offcanvas-width: min(88vw, 360px);
  }
  .navbar-offcanvas .offcanvas-header {
    border-bottom: 1px solid rgba(47, 50, 58, 0.08);
  }
  .navbar-offcanvas .offcanvas-body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 24px 24px;
  }
  .navbar-offcanvas .navbar-nav .nav-link {
    align-items: center;
    border-bottom: 1px solid rgba(47, 50, 58, 0.08);
    display: flex;
    padding: 14px 0 !important;
  }
  .nav-menu-icon {
    color: var(--primary);
    text-align: center;
    width: 20px;
  }
  .header-actions {
    flex-direction: column;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
    align-items: stretch;
    justify-content: flex-start;
  }
  .header-actions .btn {
    width: 100%;
  }

  .card-deco-tl::before,
  .card-deco-br::after {
    display: none;
  }
  .deco-tl-img-wrapper::before {
    display: none;
  }
  .footer-top {
    padding: 50px 0;
  }
}

/* ===================================
   Responsive – Phone (≤576px)
   =================================== */
@media (max-width: 576px) {
  .hero-section {
    min-height: 100vh !important;
    padding-top: 80px !important;
  }
  .hero-title {
    font-size: 32px !important;
    line-height: 1.2 !important;
  }
  .hero-subtitle {
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin-bottom: 30px !important;
    padding: 0 15px;
  }
  .btn {
    padding: 14px 20px !important;
    font-size: 14px !important;
  }
  .section {
    padding: 60px 0;
  }
  .section-title {
    font-size: 28px;
  }
  .btn-primary {
    padding: 14px 24px;
    font-size: 14px;
  }

  .service-content {
    padding: 25px 20px;
  }

  .newsletter-form {
    flex-direction: column;
  }
  .newsletter-form .form-control {
    min-width: auto;
  }

  .step-progress {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0;
  }
  .step-line {
    width: 2px;
    height: 25px;
    margin: 4px 0 4px 18px;
    flex-grow: 0;
  }
  .step {
    flex-direction: row;
    gap: 12px;
  }
  .step-circle {
    margin-bottom: 0;
  }
  .step-label {
    font-size: 12px;
  }

  .testimonial-card {
    padding: 30px 20px;
  }
  .quote-icon {
    top: 20px;
    right: 20px;
    font-size: 20px;
  }

  .footer-bottom {
    text-align: center;
  }
  .footer-bottom .d-flex {
    flex-direction: column;
    gap: 6px;
  }
}

/* ===================================
   Floating Contact Buttons (Premium)
   =================================== */
.floating-contact {
  position: fixed;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Mobile (Default): Floating Bottom Right */
.floating-contact {
  bottom: 25px;
  right: 25px;
}

.float-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.float-btn:hover {
  transform: translateY(-5px);
  color: var(--white);
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

.whatsapp-btn {
  background: linear-gradient(135deg, #25D366, #128C7E);
  animation: float-pulse 2s infinite;
}

.phone-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
}

/* Hover Tooltip */
.float-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%) translateX(15px);
  background: var(--dark);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.float-btn:hover .float-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* WhatsApp Pulse Animation */
@keyframes float-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Desktop: Middle Right Edge, attached */
@media (min-width: 992px) {
  .floating-contact {
    bottom: auto;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    gap: 1px;
  }
  
  .float-btn {
    width: 60px;
    height: 60px;
    font-size: 24px;
    border-radius: 0;
    margin-bottom: 0;
  }
  
  /* Unified pill shape on the left */
  .floating-contact .float-btn:first-child {
    border-top-left-radius: 8px;
  }
  
  .floating-contact .float-btn:last-child {
    border-bottom-left-radius: 8px;
  }
  
  .float-btn:hover {
    transform: translateX(-6px);
  }
  
  .float-tooltip {
    right: 75px;
  }
}

/* ===================================
   References Marquee
   =================================== */
.marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 20px 0;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee {
  display: flex;
  width: 100%;
  overflow: hidden;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 40px;
  animation: scroll 30s linear infinite;
  padding-left: 40px; /* match gap */
}

.marquee-content:hover {
  animation-play-state: paused;
}

.reference-item {
  flex-shrink: 0;
  background: var(--white);
  padding: 20px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 110px;
  transition: transform 0.3s;
}

.reference-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.reference-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%) opacity(70%);
  transition: all 0.3s;
}

.reference-item:hover .reference-logo {
  filter: grayscale(0%) opacity(100%);
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50%)); }
}

@media (max-width: 768px) {
  .marquee-content {
    gap: 20px;
    padding-left: 20px;
  }
  .reference-item {
    width: 160px;
    height: 90px;
    padding: 15px;
  }
}

/* ===================================
   Partner Cards
   =================================== */
.partner-grid {
  align-items: stretch;
}

.partner-filter-wrap {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: -40px auto 46px;
  max-width: 980px;
}

.partner-filter-btn {
  background: var(--white);
  border: 1px solid rgba(47, 50, 58, 0.1);
  border-radius: var(--radius);
  color: var(--gray);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  line-height: 1.2;
  padding: 12px 18px;
  text-transform: uppercase;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.partner-filter-btn:hover,
.partner-filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 10px 22px rgba(var(--primary-rgb), 0.16);
  color: var(--white);
  transform: translateY(-2px);
}

.partner-card {
  background: var(--white);
  border: 1px solid rgba(47, 50, 58, 0.12);
  border-radius: var(--radius);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  position: relative;
  transition: none;
}

.partner-logo-wrap {
  align-items: center;
  background: var(--white);
  border-bottom: 1px solid rgba(47, 50, 58, 0.08);
  display: flex;
  height: 230px;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 100%;
}

.partner-logo-wrap::after {
  display: none;
}

.partner-logo-wrap img {
  filter: none;
  height: 100%;
  max-height: none;
  max-width: none;
  object-fit: contain;
  position: relative;
  transition: none;
  width: 100%;
  z-index: 1;
}

.partner-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 24px 26px;
  text-align: left;
}

.partner-title {
  color: var(--dark);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  order: 2;
  overflow-wrap: anywhere;
}

.partner-title p {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  margin: 0;
}

.partner-title h1,
.partner-title h2,
.partner-title h3 {
  color: inherit;
  font-weight: inherit;
  line-height: 1.25;
  margin: 0;
}

.partner-title h1 { font-size: 1.18em; }
.partner-title h2 { font-size: 1.08em; }
.partner-title h3 { font-size: 1em; }

.partner-title ul,
.partner-title ol {
  color: var(--gray);
  font-size: 0.82em;
  font-weight: 400;
  margin: 6px 0 0;
  padding-left: 20px;
}

.partner-title strong {
  font-weight: 800;
}

.partner-sector,
.partner-category-label {
  align-self: flex-start;
  border: 1px solid rgba(var(--primary-rgb), 0.18);
  color: var(--primary);
  display: inline-flex;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1.4;
  margin-bottom: 13px;
  max-width: 100%;
  order: 1;
  overflow-wrap: anywhere;
  padding: 6px 10px;
  text-transform: uppercase;
}

.partner-sector p,
.partner-category-label p {
  color: inherit;
  display: inline;
  font-size: inherit;
  line-height: inherit;
  margin: 0;
}

.partner-sector h1,
.partner-sector h2,
.partner-sector h3,
.partner-category-label h1,
.partner-category-label h2,
.partner-category-label h3 {
  color: inherit;
  display: inline;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  margin: 0;
}

.partner-sector ul,
.partner-sector ol,
.partner-category-label ul,
.partner-category-label ol {
  margin: 0;
  padding-left: 16px;
  text-align: left;
}

.partner-sector li,
.partner-category-label li {
  color: inherit;
  font-size: inherit;
  line-height: 1.4;
}

.partner-description {
  border-top: none;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.75;
  margin-top: 14px;
  order: 3;
  overflow-wrap: anywhere;
  padding-top: 0;
  text-align: left;
}

.partner-description > :first-child {
  margin-top: 0;
}

.partner-description > :last-child {
  margin-bottom: 0;
}

.partner-description p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.75;
  margin: 0 0 10px;
}

.partner-description h1,
.partner-description h2,
.partner-description h3 {
  color: var(--dark);
  font-weight: 700;
  line-height: 1.35;
  margin: 16px 0 8px;
}

.partner-description h1 { font-size: 1.28em; }
.partner-description h2 { font-size: 1.16em; }
.partner-description h3 { font-size: 1.04em; }

.partner-description ul,
.partner-description ol {
  margin: 0 0 12px;
  padding-left: 20px;
}

.partner-description li {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 5px;
}

.partner-description ul li::marker,
.partner-description ol li::marker {
  color: var(--primary);
}

.partner-description strong {
  color: var(--dark);
  font-weight: 700;
}

.partner-description em {
  font-style: italic;
}

.partner-description blockquote {
  background: rgba(var(--primary-rgb), 0.04);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--gray);
  font-style: italic;
  margin: 12px 0;
  padding: 11px 14px;
}

.partner-title .ql-align-center,
.partner-description .ql-align-center {
  text-align: center;
}

.partner-title .ql-align-right,
.partner-description .ql-align-right {
  text-align: right;
}

.partner-title .ql-align-justify,
.partner-description .ql-align-justify {
  text-align: justify;
}

@media (max-width: 991px) {
  .partner-logo-wrap {
    height: 210px;
    padding: 0;
  }

  .partner-content {
    padding: 24px 22px 28px;
  }
}

@media (max-width: 576px) {
  .partner-logo-wrap {
    height: 190px;
    padding: 0;
  }

  .partner-content {
    padding: 22px 20px 26px;
  }

  .partner-title {
    font-size: 19px;
  }

  .partner-description,
  .partner-description p,
  .partner-description li {
    font-size: 13px;
  }

  .partner-filter-wrap {
    justify-content: flex-start;
    margin-top: -24px;
  }

  .partner-filter-btn {
    flex: 1 1 auto;
    padding: 11px 13px;
  }
}

/* ===================================
   Reference Cards (References Page)
   =================================== */
.ref-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.ref-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.ref-card-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  padding: 24px 28px;
  background: linear-gradient(135deg, #fafafa 0%, #f2f2f2 100%);
  border-bottom: 1px solid #eee;
}
.ref-card-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(65%);
  transition: all 0.4s ease;
}
.ref-card:hover .ref-card-logo img {
  filter: grayscale(0%) opacity(100%);
  transform: scale(1.05);
}

.ref-card-name {
  padding: 16px 14px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Reference Card Responsive */
@media (max-width: 991px) {
  .ref-card-logo {
    height: 120px;
    padding: 20px 22px;
  }
  .ref-card-name {
    padding: 14px 12px;
    font-size: 13px;
  }
}
@media (max-width: 576px) {
  .ref-card-logo {
    height: 100px;
    padding: 16px 18px;
  }
  .ref-card-name {
    padding: 12px 10px;
    font-size: 12px;
  }
}
