/* ==========================================================================
   Madneshwar Logistics - Modern Master Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  /* Brand Color Tokens */
  --brand-navy: #0a192f;
  --brand-navy-light: #172a45;
  --brand-navy-dark: #060d17;
  --brand-teal: #008080;
  --brand-teal-light: #00a8a8;
  --brand-teal-glow: rgba(0, 128, 128, 0.25);
  --brand-cyan: #0ea5e9;
  --brand-emerald: #10b981;
  --brand-amber: #f59e0b;
  --brand-red: #ef4444;

  /* Neutral Surface Tokens */
  --bg-main: #f8fafc;
  --bg-alt: #f1f5f9;
  --bg-card: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-light: rgba(226, 232, 240, 0.8);
  --border-glass: rgba(255, 255, 255, 0.4);

  /* Shadows & Elevation */
  --shadow-sm: 0 2px 8px rgba(10, 25, 47, 0.04);
  --shadow-md: 0 8px 24px rgba(10, 25, 47, 0.07);
  --shadow-lg: 0 16px 40px rgba(10, 25, 47, 0.1);
  --shadow-glow: 0 10px 30px rgba(0, 128, 128, 0.2);

  /* Transitions */
  --trans-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--trans-fast);
}

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

/* ==========================================================================
   HEADER & CUSTOM CAPSULE NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  box-shadow: 0 4px 25px rgba(10, 25, 47, 0.04);
  transition: var(--trans-smooth);
  height: 72px;
  overflow: visible;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.788);
  box-shadow: 0 8px 30px rgba(10, 25, 47, 0.08);
}

.header-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 72px;
}

/* 1. Left: Brand Logo with overflow: hidden */
.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 1001;
  text-decoration: none;
  overflow: hidden;
  height: 100%;
}

.brand-logo img {
  height: 120px;
  width: auto;
  object-fit: cover;
  display: block;
  transform: translateY(0);
  transition: transform var(--trans-fast);
}

.brand-logo:hover img {
  transform: scale(1.05);
}

/* 2. Center: Rounded Capsule Navigation */
.nav-capsule-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-capsule {
  display: flex;
  align-items: center;
  list-style: none;
  background: rgba(10, 25, 47, 0.04);
  border: 1px solid rgba(10, 25, 47, 0.08);
  padding: 6px 8px;
  border-radius: 999px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.02);
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-navy);
  transition: var(--trans-fast);
  cursor: pointer;
  white-space: nowrap;
}

.nav-link i.fa-chevron-down {
  font-size: 0.72rem;
  transition: transform var(--trans-fast);
  pointer-events: auto;
}

.nav-link:hover {
  background: rgba(0, 128, 128, 0.1);
  color: var(--brand-teal);
}

.nav-item.active .nav-link {
  background: var(--brand-teal);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--brand-teal-glow);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #ffffff;
  min-width: 260px;
  border-radius: 18px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(10, 25, 47, 0.08);
  padding: 10px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-top: 1px solid rgba(10, 25, 47, 0.08);
  border-left: 1px solid rgba(10, 25, 47, 0.08);
}

.nav-item:hover .dropdown-menu,
.nav-item.dropdown-open .dropdown-menu,
.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-item:hover .nav-link i.fa-chevron-down,
.nav-item.dropdown-open .nav-link i.fa-chevron-down {
  transform: rotate(180deg);
}

.dropdown-menu li {
  margin-bottom: 4px;
}

.dropdown-menu li:last-child {
  margin-bottom: 0;
}

.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--brand-navy);
  transition: var(--trans-fast);
}

.dropdown-menu li a .dropdown-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(0, 128, 128, 0.08);
  color: var(--brand-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--trans-fast);
}

.dropdown-menu li a:hover {
  background: rgba(0, 128, 128, 0.08);
  color: var(--brand-teal);
  transform: translateX(4px);
}

.dropdown-menu li a:hover .dropdown-icon {
  background: var(--brand-teal);
  color: #ffffff;
}

/* 3. Right: Admin Portal Button & Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.admin-portal-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-navy);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 15px rgba(10, 25, 47, 0.18);
  transition: var(--trans-fast);
}

.admin-portal-btn i {
  color: var(--brand-teal-light);
  font-size: 1rem;
  transition: transform var(--trans-fast);
}

.admin-portal-btn:hover {
  background: var(--brand-teal);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  border-color: var(--brand-teal-light);
}

.admin-portal-btn:hover i {
  color: #ffffff;
  transform: scale(1.15);
}

.track-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--brand-teal);
  border: 2px solid var(--brand-teal);
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  transition: var(--trans-fast);
}

.track-cta-btn:hover {
  background: var(--brand-teal);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

/* Mobile Hamburger */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.4rem;
  color: var(--brand-navy);
  cursor: pointer;
  padding: 6px 10px;
}

.mobile-drawer-footer {
  display: none;
}

/* ==========================================================================
   BUTTONS & COMMON UI UTILITIES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--trans-fast);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-teal) 0%, #006666 100%);
  color: #ffffff;
  box-shadow: 0 8px 24px var(--brand-teal-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--brand-teal-light) 0%, var(--brand-teal) 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 128, 128, 0.35);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--brand-navy);
  border-color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-dark {
  background: var(--brand-navy);
  color: #ffffff;
}

.btn-dark:hover {
  background: var(--brand-teal);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(0, 128, 128, 0.1);
  color: var(--brand-teal);
}

.badge-pill-light {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
}

/* ==========================================================================
   PREMIUM 3D COLORFUL ICON BADGES
   ========================================================================== */
.icon-badge-3d {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  color: #ffffff;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.icon-badge-3d:hover {
  transform: translateY(-4px) scale(1.08) rotate(3deg);
}

.icon-grad-emerald {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.35);
}

.icon-grad-indigo {
  background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
  box-shadow: 0 10px 24px rgba(99, 102, 241, 0.35);
}

.icon-grad-amber {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.35);
}

.icon-grad-cyan {
  background: linear-gradient(135deg, #00d2d3 0%, #008080 100%);
  box-shadow: 0 10px 24px rgba(0, 210, 211, 0.35);
}

.icon-grad-pink {
  background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
  box-shadow: 0 10px 24px rgba(236, 72, 153, 0.35);
}

.icon-grad-blue {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  box-shadow: 0 10px 24px rgba(14, 165, 233, 0.35);
}

.icon-grad-purple {
  background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%);
  box-shadow: 0 10px 24px rgba(168, 85, 247, 0.35);
}

/* ==========================================================================
   PREMIUM 4-COLUMN CORE SERVICES GRID
   ========================================================================== */
.service-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.core-service-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 36px 24px 32px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 6px 25px rgba(10, 25, 47, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.core-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(10, 25, 47, 0.08);
}

.service-png-wrap {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.service-png-icon {
  height: 130px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(10, 25, 47, 0.1));
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.core-service-card:hover .service-png-icon {
  transform: translateY(-5px) scale(1.05);
}

.core-service-card .service-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--brand-teal);
  background: rgba(0, 128, 128, 0.08);
  padding: 4px 12px;
  border-radius: 999px;
  margin: 6px 0 10px;
}

.core-service-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin: 10px 0 12px;
}

.core-service-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.65;
  margin-bottom: 24px;
  flex-grow: 1;
}

.core-service-card .service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--brand-teal);
  transition: all var(--trans-fast);
}

.core-service-card:hover .service-link {
  gap: 12px;
  color: var(--brand-navy);
}

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

@media (max-width: 640px) {
  .service-grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   MOVING FULL-WIDTH EDGE-TO-EDGE BLACK MARQUEE BANNER
   ========================================================================== */
.marquee-rect-section {
  width: 100%;
  padding: 0;
  margin: 15px 0 50px;
  overflow: hidden;
  position: relative;
  background: #000000;
}

.marquee-rect-container {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
}

.marquee-rect-box {
  background: #000000;
  border-radius: 0;
  padding: 22px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
  border-left: none;
  border-right: none;
  position: relative;
  overflow: hidden;
  display: flex;
  width: 100%;
}

.marquee-rect-box::before,
.marquee-rect-box::after {
  content: '';
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.marquee-rect-box::before {
  left: 0;
  background: linear-gradient(90deg, #000000 0%, transparent 100%);
}

.marquee-rect-box::after {
  right: 0;
  background: linear-gradient(270deg, #000000 0%, transparent 100%);
}

.marquee-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: marqueeMove 22s linear infinite;
  will-change: transform;
}

.marquee-rect-box:hover .marquee-track {
  animation-play-state: paused;
}

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

.marquee-item {
  display: inline-flex;
  align-items: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  font-family: var(--font-heading);
}

.marquee-item .sep-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #ffffff;
  border-radius: 50%;
  margin: 0 45px;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .marquee-item {
    font-size: 1.05rem;
  }
  .marquee-item .sep-dot {
    margin: 0 25px;
  }
  .marquee-rect-box {
    padding: 16px 0;
  }
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 36px 30px 32px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 8px 30px rgba(10, 25, 47, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(10, 25, 47, 0.09);
  border-color: rgba(0, 128, 128, 0.25);
}

.testimonial-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.testimonial-quote-icon {
  font-size: 1.8rem;
  color: var(--brand-teal);
  opacity: 0.85;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  color: #f59e0b;
  font-size: 0.92rem;
}

.testimonial-text {
  font-size: 1.02rem;
  color: var(--brand-navy);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid #edf2f7;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 6px;
  color: var(--brand-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(10, 25, 47, 0.05);
  flex-shrink: 0;
}

.author-avatar img,
.author-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.partner-logo-img {
  height: 24px;
  width: auto;
  max-width: 80px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

.author-info h4 {
  font-size: 1rem;
  color: var(--brand-navy);
  margin-bottom: 2px;
  font-weight: 700;
}

.author-info span {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

@media (max-width: 1080px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 650px;
    margin: 0 auto;
  }
}

/* Partner Companies Marquee */
.partner-marquee-wrap {
  margin-top: 55px;
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 10px 0;
}

.partner-marquee-wrap::before,
.partner-marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.partner-marquee-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-alt, #f8fafc) 0%, transparent 100%);
}

.partner-marquee-wrap::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg-alt, #f8fafc) 0%, transparent 100%);
}

.partner-marquee-track {
  display: flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
  animation: partnerScroll 5s linear infinite;
  will-change: transform;
}

.partner-marquee-wrap:hover .partner-marquee-track {
  animation-play-state: paused;
}

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

.partner-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 4px 18px rgba(10, 25, 47, 0.04);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-navy);
  font-family: var(--font-heading);
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.partner-pill i {
  color: var(--brand-teal);
  font-size: 0.95rem;
}

.partner-pill:hover {
  transform: translateY(-3px);
  border-color: var(--brand-teal);
  box-shadow: 0 8px 25px rgba(0, 128, 128, 0.15);
  color: var(--brand-teal);
}

/* ==========================================================================
   B2C INTEGRATION & CAPABILITY MOVABLE MARQUEES
   ========================================================================== */
.b2c-marquee-section {
  padding: 60px 0 70px;
  background: var(--bg-alt, #f8fafc);
  position: relative;
  overflow: hidden;
}

.b2c-marquee-wrap {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 12px 0;
}

.b2c-marquee-wrap::before,
.b2c-marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.b2c-marquee-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-alt, #f8fafc) 0%, transparent 100%);
}

.b2c-marquee-wrap::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg-alt, #f8fafc) 0%, transparent 100%);
}

.b2c-marquee-track {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
  animation: b2cScrollLeft 24s linear infinite;
  will-change: transform;
}

.b2c-marquee-track.reverse {
  animation: b2cScrollRight 28s linear infinite;
}

.b2c-marquee-wrap:hover .b2c-marquee-track {
  animation-play-state: paused;
}

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

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

.b2c-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 4px 16px rgba(10, 25, 47, 0.04);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-navy);
  font-family: var(--font-heading);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.b2c-pill i {
  font-size: 1.25rem;
}

.b2c-pill:hover {
  transform: translateY(-3px) scale(1.03);
  border-color: var(--brand-teal);
  box-shadow: 0 10px 25px rgba(0, 128, 128, 0.18);
  color: var(--brand-teal);
}

.b2c-pill.dark-pill {
  background: #0f254d;
  color: #ffffff;
  border-color: #1e3a8a;
}

.b2c-pill.dark-pill:hover {
  background: #008080;
  border-color: #00d2d3;
  color: #ffffff;
}

/* ==========================================================================
   VIBRANT BRAND TEAL FULL-WIDTH CTA SECTION
   ========================================================================== */
.minimal-cta-section {
  width: 100%;
  background: linear-gradient(135deg, #008080 0%, #006666 45%, #0a2540 100%);
  padding: 65px 0;
  margin: 30px 0 60px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 10px 30px rgba(10, 25, 47, 0.05);
}

.minimal-cta-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.minimal-cta-content h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.minimal-cta-content p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 650px;
  margin: 0;
  font-weight: 500;
}

.minimal-cta-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.minimal-cta-actions .btn-white-cta {
  background: #ffffff;
  color: #0a192f;
  padding: 15px 30px;
  font-size: 1.02rem;
  font-weight: 700;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid #ffffff;
}

.minimal-cta-actions .btn-white-cta:hover {
  background: #f8fafc;
  color: #008080;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

.minimal-cta-actions .btn-glass-cta {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 14px 26px;
  font-size: 1.02rem;
  font-weight: 600;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.minimal-cta-actions .btn-glass-cta:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-3px);
}

@media (max-width: 900px) {
  .minimal-cta-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }

  .minimal-cta-actions {
    flex-wrap: wrap;
    width: 100%;
  }

  .minimal-cta-actions a {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   PAGE HERO BANNERS (SUBPAGES)
   ========================================================================== */
.subpage-hero {
  position: relative;
  padding: 90px 5% 70px;
  background: linear-gradient(135deg, rgba(10, 25, 47, 0.92) 0%, rgba(0, 128, 128, 0.75) 100%),
              url('home-hero.jpg') center/cover no-repeat;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

.subpage-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(to top, var(--bg-main), transparent);
}

.subpage-hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.subpage-hero h1 {
  font-size: 3rem;
  color: #ffffff;
  margin-bottom: 1rem;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.subpage-hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 650px;
  margin: 0 auto 1.5rem;
}

.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumbs a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.breadcrumbs span {
  color: var(--brand-teal-light);
  font-weight: 700;
}

/* ==========================================================================
   SECTIONS & GRIDS
   ========================================================================== */
.section {
  padding: 80px 5%;
}

.section-alt {
  background-color: var(--bg-alt);
}

.section-title-wrap {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-title-wrap h2 {
  font-size: 2.4rem;
  margin-top: 10px;
  margin-bottom: 12px;
}

.section-title-wrap p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Cards & Glass Panels */
.card-modern {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--trans-smooth);
  position: relative;
  overflow: hidden;
}

.card-modern:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 128, 128, 0.3);
}

.card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 128, 128, 0.12) 0%, rgba(14, 165, 233, 0.1) 100%);
  color: var(--brand-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  transition: var(--trans-fast);
}

.card-modern:hover .card-icon {
  background: var(--brand-teal);
  color: #ffffff;
  transform: scale(1.08) rotate(3deg);
  box-shadow: var(--shadow-glow);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--brand-navy);
  color: #ffffff;
  padding: 80px 5% 30px;
  position: relative;
}

.footer-top {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 32px;
  height: 3px;
  background: var(--brand-teal);
  border-radius: 2px;
}

.footer-about p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.footer-logo {
  height: 80px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  margin-bottom: 22px;
  display: block;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-light);
  font-size: 0.95rem;
  transition: var(--trans-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--brand-teal-light);
  transform: translateX(5px);
}

.footer-contact-list,
.footer-contact-info {
  list-style: none;
}

.footer-contact-list li,
.footer-contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--text-light);
  font-size: 0.95rem;
}

.footer-contact-list i,
.footer-contact-info i {
  color: var(--brand-teal-light);
  margin-top: 4px;
}

.social-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.15rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-link:hover {
  background: var(--brand-teal);
  border-color: var(--brand-teal-light);
  color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 128, 128, 0.4);
}

.footer-bottom {
  max-width: 1300px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.8rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  z-index: 999;
  transition: var(--trans-fast);
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

/* ==========================================================================
   SERVICE PROCESS FLOW (5 STEPS)
   ========================================================================== */
.process-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  position: relative;
  margin-top: 40px;
}

.process-step-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 34px 22px 30px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 24px rgba(10, 25, 47, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-step-card:hover {
  transform: translateY(-8px);
  border-color: var(--brand-teal);
  box-shadow: 0 16px 36px rgba(0, 128, 128, 0.14);
}

.process-step-badge {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-teal) 100%);
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(0, 128, 128, 0.25);
  transition: var(--trans-fast);
}

.process-step-card:hover .process-step-badge {
  transform: scale(1.1);
  background: linear-gradient(135deg, var(--brand-teal) 0%, #00a8a8 100%);
  box-shadow: 0 10px 25px rgba(0, 128, 128, 0.4);
}

.process-step-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 12px;
}

.process-step-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
}

@media (max-width: 1200px) {
  .process-grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .process-grid-5 {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 520px) {
  .process-grid-5 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   RESPONSIVENESS (TABLET & MOBILE - RIGHT TO LEFT DRAWER)
   ========================================================================== */
@media (max-width: 1080px) {
  .site-header {
    background: #ffffff;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .header-container {
    min-height: 72px;
    padding: 0.4rem 1.2rem;
  }

  /* Full-Screen Right-to-Left Off-Canvas Drawer (Crystal Clear White, No Blur) */
  .nav-capsule-wrapper {
    position: fixed;
    top: 0;
    right: -100vw;
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    background: #ffffff;
    box-shadow: none;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    flex-direction: column;
    padding: 95px 6% 40px;
    align-items: stretch;
    justify-content: flex-start;
    overflow-y: auto;
    transition: right 0.38s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1001;
    display: flex;
  }

  .nav-capsule-wrapper.mobile-active {
    right: 0;
  }

  /* Disable backdrop blur */
  .nav-backdrop {
    display: none;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(10, 25, 47, 0.05);
    border-radius: 12px;
    z-index: 1002;
    cursor: pointer;
  }

  .nav-capsule-wrapper .nav-capsule {
    flex-direction: column;
    background: transparent;
    border: none;
    box-shadow: none;
    width: 100%;
    gap: 12px;
    padding: 0;
  }

  .nav-capsule-wrapper .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 15px 20px;
    font-size: 1.08rem;
    font-weight: 700;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #edf2f7;
  }

  .nav-capsule-wrapper .nav-link:hover,
  .nav-capsule-wrapper .nav-item.active .nav-link {
    background: var(--brand-teal);
    color: #ffffff;
  }

  .nav-capsule-wrapper .dropdown-chevron-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(10, 25, 47, 0.08);
    margin-left: auto;
    cursor: pointer;
    transition: all 0.25s ease;
  }

  .nav-capsule-wrapper .nav-item.active .dropdown-chevron-btn,
  .nav-capsule-wrapper .nav-link:hover .dropdown-chevron-btn {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
  }

  .nav-capsule-wrapper .nav-item.dropdown-open .dropdown-chevron-btn i,
  .nav-capsule-wrapper .nav-item.dropdown-open .nav-link i.fa-chevron-down {
    transform: rotate(180deg);
  }

  .nav-capsule-wrapper .dropdown-menu {
    position: static;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f1f5f9;
    margin: 8px 0 12px;
    padding: 10px;
    display: none;
  }

  .nav-capsule-wrapper .dropdown-menu.show {
    display: block;
    animation: fadeInDropdown 0.25s ease;
  }

  @keyframes fadeInDropdown {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .nav-capsule-wrapper .dropdown-menu::before {
    display: none;
  }

  .nav-capsule-wrapper .dropdown-menu li a {
    padding: 13px 18px;
    background: #ffffff;
    border-radius: 10px;
    margin-bottom: 8px;
    font-size: 1rem;
  }

  /* Hide Admin Portal button from top header on responsive screen */
  .header-actions .admin-portal-btn {
    display: none !important;
  }

  /* Show Admin Portal button inside the slide-in mobile navbar drawer */
  .mobile-drawer-footer {
    display: block !important;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #edf2f7;
    width: 100%;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .mobile-admin-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: var(--brand-navy);
    color: #ffffff !important;
    padding: 16px 20px;
    border-radius: 14px;
    font-size: 1.05rem;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(10, 25, 47, 0.16);
    transition: var(--trans-fast);
    text-decoration: none;
  }

  .mobile-admin-btn:hover,
  .mobile-admin-btn:active {
    background: var(--brand-teal);
    color: #ffffff !important;
  }

  .mobile-admin-btn i {
    color: var(--brand-teal-light);
    font-size: 1.15rem;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .header-container {
    padding: 0 1rem;
    height: 68px;
    gap: 8px;
  }

  .brand-logo {
    overflow: hidden;
    height: 100%;
  }

  .brand-logo img {
    height: 105px;
    width: auto;
    object-fit: cover;
  }

  .admin-portal-btn {
    padding: 8px 14px;
    font-size: 0.85rem;
    gap: 6px;
  }

  .admin-portal-btn span {
    display: inline-block;
  }

  .track-cta-btn {
    display: none;
  }

  .subpage-hero {
    padding: 70px 5% 50px;
  }

  .subpage-hero h1 {
    font-size: 2.2rem;
  }

  .subpage-hero p {
    font-size: 1rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
