/* Homepage body styles extracted from index.html. */

/* Extracted from index.html body style block 1 */
/* -----------------------------------------------------------
       VERTICAL SIDEBAR NAVIGATION
       ----------------------------------------------------------- */

    :root {
      --rail-width: 64px;
      --sidebar-width: 280px;
      --sidebar-collapsed: 0px;
      --sidebar-ease: cubic-bezier(0.16, 1, 0.3, 1);
      --sidebar-bg: rgba(255, 255, 255, 0.55);
      --sidebar-blur: 40px;
    }

    /* Logo icon ? hidden by default (shown only on desktop rail) */
    .sidebar-logo-icon {
      display: none;
    }

    /* Hamburger Toggle Button ? always visible */
    .sidebar-toggle {
      position: fixed;
      top: 24px;
      left: 24px;
      z-index: 10001;
      width: 48px;
      height: 48px;
      border-radius: 14px;
      background: rgba(255, 255, 255, 0.5);
      backdrop-filter: blur(40px) saturate(180%);
      -webkit-backdrop-filter: blur(40px) saturate(180%);
      border: 1px solid rgba(255, 255, 255, 0.3);
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.4s var(--sidebar-ease);
    }

    .sidebar-toggle:hover {
      background: #0071e3;
      box-shadow: 0 8px 30px rgba(0, 113, 227, 0.3);
    }

    .sidebar-toggle:hover .hamburger-icon span {
      background: #fff;
    }

    .hamburger-icon {
      width: 20px;
      height: 14px;
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .hamburger-icon span {
      display: block;
      width: 100%;
      height: 2px;
      background: #333;
      border-radius: 2px;
      transition: all 0.4s var(--sidebar-ease);
      transform-origin: center;
    }

    .sidebar-toggle.active .hamburger-icon span:nth-child(1) {
      transform: translateY(6px) rotate(45deg);
    }

    .sidebar-toggle.active .hamburger-icon span:nth-child(2) {
      opacity: 0;
      transform: scaleX(0);
    }

    .sidebar-toggle.active .hamburger-icon span:nth-child(3) {
      transform: translateY(-6px) rotate(-45deg);
    }

    /* --- Floating Contact Button ? top-right --- */
    .floating-contact-btn {
      position: fixed;
      top: 24px;
      right: 24px;
      z-index: 10001;
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 12px 22px;
      background: #0071e3;
      color: #fff;
      border-radius: 980px;
      font-size: 0.875rem;
      font-weight: 600;
      text-decoration: none;
      box-shadow: 0 4px 20px rgba(0, 113, 227, 0.35);
      transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
      overflow: hidden;
      white-space: nowrap;
    }

    .floating-contact-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 30px rgba(0, 113, 227, 0.45);
      color: #fff;
      gap: 12px;
    }

    .floating-contact-btn .fc-arrow {
      font-size: 0.75rem;
      transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .floating-contact-btn:hover .fc-arrow {
      transform: translateX(4px);
    }

    /* Shrink to icon-only after scrolling */
    .floating-contact-btn.compact {
      padding: 12px 14px;
      border-radius: 14px;
    }

    .floating-contact-btn.compact .fc-text {
      display: none;
    }

    .floating-contact-btn.compact .fc-arrow {
      display: none;
    }

    .floating-contact-btn.compact::before {
      content: '\f0e0';
      font-family: 'Font Awesome 5 Free';
      font-weight: 900;
      font-size: 1rem;
    }

    @media (max-width: 768px) {
      .floating-contact-btn {
        top: 16px;
        right: 16px;
        padding: 10px 16px;
        font-size: 0.8rem;
      }

      .floating-contact-btn.compact {
        padding: 10px 12px;
        border-radius: 12px;
      }
    }

    /* --- Floating Search Bar ? top-center --- */
    .floating-search {
      position: fixed;
      top: 24px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 10001;
      width: 340px;
      transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .fs-bar {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 10px 16px;
      background: rgba(255, 255, 255, 0.5);
      backdrop-filter: blur(40px) saturate(180%);
      -webkit-backdrop-filter: blur(40px) saturate(180%);
      border: 1px solid rgba(255, 255, 255, 0.3);
      border-radius: 980px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
      transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
      cursor: text;
    }

    .fs-bar:hover,
    .floating-search.active .fs-bar {
      border-color: rgba(0, 113, 227, 0.25);
      box-shadow: 0 8px 32px rgba(0, 113, 227, 0.12);
    }

    .floating-search.active .fs-bar {
      border-radius: 16px 16px 0 0;
      background: rgba(255, 255, 255, 0.98);
    }

    .fs-icon {
      color: #999;
      font-size: 0.8rem;
      flex-shrink: 0;
      transition: color 0.3s ease;
    }

    .floating-search.active .fs-icon {
      color: #0071e3;
    }

    .fs-input {
      flex: 1;
      border: none;
      outline: none;
      background: transparent;
      font-size: 0.85rem;
      font-weight: 500;
      color: #333;
      font-family: inherit;
      min-width: 0;
    }

    .fs-input::placeholder {
      color: #aaa;
      font-weight: 400;
    }

    .fs-kbd {
      font-size: 0.6rem;
      padding: 2px 6px;
      background: rgba(0, 0, 0, 0.05);
      border-radius: 4px;
      color: #999;
      font-family: inherit;
      flex-shrink: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
    }

    .floating-search.active .fs-kbd {
      opacity: 0;
      width: 0;
      padding: 0;
      overflow: hidden;
    }

    .fs-clear {
      display: none;
      background: none;
      border: none;
      color: #999;
      font-size: 1.1rem;
      cursor: pointer;
      padding: 0 2px;
      line-height: 1;
      transition: color 0.2s ease;
    }

    .fs-clear:hover {
      color: #333;
    }

    .floating-search.has-value .fs-clear {
      display: block;
    }

    /* Results dropdown */
    .fs-dropdown {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: rgba(255, 255, 255, 0.98);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      border: 1px solid rgba(0, 113, 227, 0.12);
      border-top: none;
      border-radius: 0 0 16px 16px;
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
      max-height: 360px;
      overflow-y: auto;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-8px);
      transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
      scrollbar-width: thin;
      scrollbar-color: rgba(0, 113, 227, 0.15) transparent;
    }

    .floating-search.active .fs-dropdown {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    .fs-section {
      padding: 8px 0;
    }

    .fs-section + .fs-section {
      border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .fs-section-title {
      padding: 6px 18px;
      font-size: 0.65rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.6px;
      color: #999;
    }

    .fs-result {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 9px 18px;
      color: #444;
      text-decoration: none;
      font-size: 0.84rem;
      font-weight: 500;
      transition: all 0.25s ease;
    }

    .fs-result:hover,
    .fs-result.highlighted {
      background: rgba(0, 113, 227, 0.06);
      color: #0071e3;
    }

    .fs-result i {
      width: 16px;
      text-align: center;
      font-size: 0.75rem;
      color: #bbb;
      flex-shrink: 0;
      transition: color 0.25s ease;
    }

    .fs-result:hover i {
      color: #0071e3;
    }

    .fs-result.hidden {
      display: none;
    }

    .fs-no-results {
      padding: 20px 18px;
      text-align: center;
      color: #999;
      font-size: 0.84rem;
    }

    /* Compact on scroll ? icon only */
    .floating-search.compact .fs-bar {
      width: 44px;
      padding: 10px 12px;
      border-radius: 14px;
      cursor: pointer;
      margin: 0 auto;
    }

    .floating-search.compact .fs-input,
    .floating-search.compact .fs-kbd,
    .floating-search.compact .fs-clear {
      display: none;
      width: 0;
      padding: 0;
    }

    .floating-search.compact .fs-icon {
      font-size: 0.9rem;
      color: #555;
    }

    .floating-search.compact:hover .fs-bar {
      background: #0071e3;
      border-color: #0071e3;
      box-shadow: 0 4px 16px rgba(0, 113, 227, 0.3);
    }

    .floating-search.compact:hover .fs-icon {
      color: #fff;
    }

    /* When active, override compact */
    .floating-search.active.compact .fs-bar {
      width: 100%;
      padding: 10px 16px;
      border-radius: 16px 16px 0 0;
      background: rgba(255, 255, 255, 0.98);
      border-color: rgba(0, 113, 227, 0.25);
    }

    .floating-search.active.compact .fs-input,
    .floating-search.active.compact .fs-kbd {
      display: block;
      width: auto;
    }

    .floating-search.active.compact .fs-icon {
      color: #0071e3;
    }

    @media (max-width: 768px) {
      .floating-search {
        width: calc(100% - 160px);
        min-width: 180px;
        max-width: 280px;
        top: 18px;
      }

      .fs-bar {
        padding: 8px 12px;
      }

      .fs-input {
        font-size: 0.8rem;
      }

      .fs-kbd {
        display: none;
      }
    }

    @media (max-width: 420px) {
      .floating-search {
        width: auto;
        min-width: unset;
        max-width: unset;
        left: 50%;
        transform: translateX(-50%);
      }

      .floating-search:not(.active) .fs-bar {
        width: 44px;
        padding: 10px 12px;
        border-radius: 14px;
        cursor: pointer;
      }

      .floating-search:not(.active) .fs-input,
      .floating-search:not(.active) .fs-kbd {
        display: none;
      }
    }

    /* Overlay behind sidebar */
    .sidebar-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.4);
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
      z-index: 9998;
      opacity: 0;
      visibility: hidden;
      transition: all 0.4s var(--sidebar-ease);
    }

    .sidebar-overlay.active {
      opacity: 1;
      visibility: visible;
    }

    /* Sidebar Panel */
    .sidebar-nav {
      position: fixed;
      top: 0;
      left: 0;
      width: var(--sidebar-width);
      height: 100vh;
      background: var(--sidebar-bg);
      backdrop-filter: blur(var(--sidebar-blur));
      -webkit-backdrop-filter: blur(var(--sidebar-blur));
      border-right: none;
      z-index: 10000;
      transform: translateX(-100%);
      transition: transform 0.5s var(--sidebar-ease);
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    .sidebar-nav.open {
      transform: translateX(0);
      box-shadow: 20px 0 60px rgba(0, 0, 0, 0.1);
    }

    .sidebar-inner {
      flex: 1;
      display: flex;
      flex-direction: column;
      overflow-y: auto;
      overflow-x: hidden;
      padding: 0;
      scrollbar-width: thin;
      scrollbar-color: rgba(0, 113, 227, 0.2) transparent;
    }

    .sidebar-inner::-webkit-scrollbar {
      width: 4px;
    }

    .sidebar-inner::-webkit-scrollbar-track {
      background: transparent;
    }

    .sidebar-inner::-webkit-scrollbar-thumb {
      background: rgba(0, 113, 227, 0.2);
      border-radius: 4px;
    }

    /* Logo */
    .sidebar-logo {
      padding: 28px 24px 20px 80px;
      border-bottom: 1px solid rgba(0, 113, 227, 0.06);
    }

    .sidebar-logo img {
      height: 48px;
      width: auto;
      transition: all 0.4s var(--sidebar-ease);
      filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
    }

    .sidebar-logo a:hover img {
      transform: scale(1.04);
      filter: drop-shadow(0 4px 12px rgba(0, 113, 227, 0.15));
    }

    /* Search button in sidebar */
    .sidebar-search {
      padding: 16px 20px 8px;
    }

    .sidebar-search-btn {
      width: 100%;
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 14px;
      background: rgba(0, 113, 227, 0.06);
      border: 1px solid rgba(0, 113, 227, 0.1);
      border-radius: 10px;
      color: #6e6e73;
      font-size: 0.875rem;
      cursor: pointer;
      transition: all 0.3s var(--sidebar-ease);
    }

    .sidebar-search-btn:hover {
      background: rgba(0, 113, 227, 0.1);
      border-color: rgba(0, 113, 227, 0.2);
      color: #0071e3;
    }

    .sidebar-search-btn i {
      font-size: 0.8rem;
    }

    .sidebar-kbd {
      margin-left: auto;
      font-size: 0.65rem;
      padding: 2px 6px;
      background: rgba(0, 0, 0, 0.06);
      border-radius: 4px;
      font-family: inherit;
      color: #999;
    }

    /* Menu groups */
    .sidebar-menu {
      flex: 1;
      padding: 8px 0;
    }

    .sidebar-group {
      margin: 0;
    }

    .sidebar-group-toggle {
      width: 100%;
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 24px;
      background: none;
      border: none;
      color: #333;
      font-size: 0.9rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s var(--sidebar-ease);
      text-align: left;
      position: relative;
    }

    .sidebar-group-toggle:hover {
      background: rgba(0, 113, 227, 0.05);
      color: #0071e3;
    }

    .sidebar-group-toggle.active {
      color: #0071e3;
    }

    .sidebar-icon {
      width: 32px;
      height: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 8px;
      background: rgba(0, 113, 227, 0.08);
      color: #0071e3;
      font-size: 0.85rem;
      flex-shrink: 0;
      transition: all 0.3s var(--sidebar-ease);
    }

    .sidebar-group-toggle:hover .sidebar-icon,
    .sidebar-group-toggle.active .sidebar-icon {
      background: #0071e3;
      color: #fff;
      transform: scale(1.05);
    }

    .sidebar-arrow {
      margin-left: auto;
      font-size: 0.6rem;
      transition: transform 0.3s var(--sidebar-ease);
      color: #999;
    }

    .sidebar-group-toggle.active .sidebar-arrow {
      transform: rotate(180deg);
      color: #0071e3;
    }

    /* Submenu */
    .sidebar-submenu {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s var(--sidebar-ease);
    }

    .sidebar-submenu.open {
      max-height: 400px;
    }

    .sidebar-submenu a {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 9px 24px 9px 68px;
      color: #555;
      text-decoration: none;
      font-size: 0.85rem;
      font-weight: 500;
      transition: all 0.3s var(--sidebar-ease);
      position: relative;
    }

    .sidebar-submenu a::before {
      content: '';
      position: absolute;
      left: 44px;
      top: 50%;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: rgba(0, 113, 227, 0.2);
      transform: translateY(-50%);
      transition: all 0.3s var(--sidebar-ease);
    }

    .sidebar-submenu a:hover {
      color: #0071e3;
      background: rgba(0, 113, 227, 0.04);
    }

    .sidebar-submenu a:hover::before {
      background: #0071e3;
      transform: translateY(-50%) scale(1.4);
    }

    .sidebar-submenu a.active {
      color: #0071e3;
      font-weight: 600;
    }

    .sidebar-submenu a.active::before {
      background: #0071e3;
    }

    .sidebar-submenu a i {
      font-size: 0.75rem;
      width: 16px;
      text-align: center;
      color: inherit;
    }

    /* Sidebar Footer */
    .sidebar-footer {
      padding: 16px 20px 24px;
      border-top: 1px solid rgba(0, 113, 227, 0.06);
      margin-top: auto;
    }

    .sidebar-cta {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 12px 20px;
      background: #0071e3;
      color: #fff;
      border-radius: 12px;
      font-size: 0.9rem;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.4s var(--sidebar-ease);
      box-shadow: 0 4px 15px rgba(0, 113, 227, 0.3);
    }

    .sidebar-cta:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(0, 113, 227, 0.4);
      color: #fff;
    }

    .sidebar-social {
      display: flex;
      gap: 8px;
      justify-content: center;
      margin-top: 14px;
    }

    .sidebar-social a {
      width: 34px;
      height: 34px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 8px;
      background: rgba(0, 113, 227, 0.06);
      color: #666;
      font-size: 0.8rem;
      text-decoration: none;
      transition: all 0.3s var(--sidebar-ease);
    }

    .sidebar-social a:hover {
      background: #0071e3;
      color: #fff;
      transform: translateY(-2px);
    }

    /* Sidebar scroll progress (vertical bar on the right edge) */
    .sidebar-progress {
      position: absolute;
      top: 0;
      right: 0;
      width: 3px;
      height: 100%;
      background: rgba(0, 113, 227, 0.06);
    }

    .sidebar-progress-bar {
      width: 100%;
      background: #0071e3;
      height: 0%;
      transition: height 0.3s ease;
    }

    /* --- Responsive: smaller screens --- */
    @media (max-width: 768px) {
      .sidebar-toggle {
        top: 16px;
        left: 16px;
        width: 44px;
        height: 44px;
        border-radius: 12px;
      }

      .sidebar-nav {
        width: 85vw;
        max-width: 300px;
      }

      .sidebar-logo img {
        height: 40px;
      }
    }

    /* -----------------------------------------------------------
       Desktop: Icon Rail ? Linear/Figma style
       Always-visible 64px icon strip, expands to 280px on hover
       ----------------------------------------------------------- */

    @media (min-width: 993px) {

      /* Hide hamburger + overlay on desktop */
      .sidebar-toggle {
        display: none !important;
      }

      .sidebar-overlay {
        display: none !important;
      }

      /* --- Rail Base --- */
      .sidebar-nav {
        width: var(--rail-width);
        transform: translateX(0);
        transition: width 0.45s var(--sidebar-ease) 0.12s,
                    box-shadow 0.45s var(--sidebar-ease) 0.12s;
        border-right: none;
        background: rgba(255, 255, 255, 0.92);
        box-shadow: 1px 0 0 rgba(0, 0, 0, 0.04);
      }

      .sidebar-nav:hover {
        width: var(--sidebar-width);
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 20px 0 60px rgba(0, 0, 0, 0.06);
        transition: width 0.35s var(--sidebar-ease),
                    background 0.35s var(--sidebar-ease),
                    box-shadow 0.35s var(--sidebar-ease);
      }

      /* --- Logo: Icon ? Full swap --- */
      .sidebar-logo {
        padding: 24px 14px 18px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        overflow: hidden;
      }

      .sidebar-logo a {
        display: flex;
        align-items: center;
        text-decoration: none;
        overflow: hidden;
        gap: 0;
      }

      .sidebar-logo-icon {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        min-width: 36px;
        border-radius: 10px;
        background: #0071e3;
        color: #fff;
        font-weight: 700;
        font-size: 1.1rem;
        font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
        flex-shrink: 0;
        transition: opacity 0.2s ease, min-width 0.3s var(--sidebar-ease), width 0.3s var(--sidebar-ease);
      }

      .sidebar-nav:hover .sidebar-logo-icon {
        opacity: 0;
        min-width: 0;
        width: 0;
        overflow: hidden;
      }

      .sidebar-logo-full {
        opacity: 0;
        max-width: 0;
        overflow: hidden;
        transition: opacity 0.15s ease, max-width 0.3s var(--sidebar-ease);
      }

      .sidebar-nav:hover .sidebar-logo-full {
        opacity: 1;
        max-width: 160px;
        transition: opacity 0.3s ease 0.08s, max-width 0.4s var(--sidebar-ease);
      }

      /* --- Shared: collapse all text labels --- */
      .sidebar-nav .sidebar-label,
      .sidebar-nav .sidebar-kbd,
      .sidebar-nav .sidebar-arrow {
        opacity: 0;
        max-width: 0;
        overflow: hidden;
        white-space: nowrap;
        transition: opacity 0.12s ease, max-width 0.25s var(--sidebar-ease);
      }

      .sidebar-nav:hover .sidebar-label,
      .sidebar-nav:hover .sidebar-kbd,
      .sidebar-nav:hover .sidebar-arrow {
        opacity: 1;
        max-width: 200px;
        transition: opacity 0.3s ease 0.08s, max-width 0.4s var(--sidebar-ease);
      }

      /* --- Search Button: compact --- */
      .sidebar-search {
        padding: 12px 10px 4px;
      }

      .sidebar-search-btn {
        justify-content: center;
        padding: 10px;
        border-radius: 10px;
        gap: 0;
        transition: all 0.35s var(--sidebar-ease);
      }

      .sidebar-nav:hover .sidebar-search-btn {
        justify-content: flex-start;
        padding: 10px 14px;
        gap: 10px;
      }

      /* --- Group Toggles: icon-only when collapsed --- */
      .sidebar-group-toggle {
        padding: 12px 16px;
        justify-content: center;
        gap: 0;
        transition: all 0.35s var(--sidebar-ease);
      }

      .sidebar-nav:hover .sidebar-group-toggle {
        justify-content: flex-start;
        padding: 12px 24px;
        gap: 12px;
      }

      .sidebar-icon {
        flex-shrink: 0;
      }

      /* Active page indicator ? blue accent bar on left edge */
      .sidebar-group-toggle.active::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 3px;
        height: 24px;
        background: #0071e3;
        border-radius: 0 4px 4px 0;
        transition: height 0.3s var(--sidebar-ease);
      }

      .sidebar-group-toggle.active:hover::before {
        height: 32px;
      }

      /* --- Submenus: hidden in rail, visible on expand --- */
      .sidebar-submenu {
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.4s var(--sidebar-ease),
                    opacity 0.15s ease,
                    visibility 0s 0.15s;
      }

      .sidebar-nav:hover .sidebar-submenu {
        visibility: visible;
        transition: max-height 0.4s var(--sidebar-ease),
                    opacity 0.3s ease 0.06s,
                    visibility 0s;
      }

      .sidebar-nav:hover .sidebar-submenu.open {
        opacity: 1;
      }

      /* --- Footer: compact CTA --- */
      .sidebar-footer {
        padding: 12px 14px 20px;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
      }

      .sidebar-cta {
        width: 36px;
        height: 36px;
        padding: 0;
        border-radius: 10px;
        margin: 0 auto;
        overflow: hidden;
        font-size: 0;
        gap: 0;
        transition: all 0.35s var(--sidebar-ease);
      }

      .sidebar-cta i {
        font-size: 0.9rem;
        transition: font-size 0.2s ease;
      }

      .sidebar-nav:hover .sidebar-cta {
        width: 100%;
        height: auto;
        padding: 12px 20px;
        border-radius: 12px;
        margin: 0;
        font-size: 0.9rem;
        gap: 10px;
      }

      /* Social links: hidden in rail */
      .sidebar-social {
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transition: opacity 0.15s ease, max-height 0.25s var(--sidebar-ease);
      }

      .sidebar-nav:hover .sidebar-social {
        opacity: 1;
        max-height: 60px;
        transition: opacity 0.3s ease 0.12s, max-height 0.4s var(--sidebar-ease);
      }

      /* Progress bar ? thinner on rail */
      .sidebar-progress {
        width: 2px;
      }

      .sidebar-nav:hover .sidebar-progress {
        width: 3px;
      }

      /* --- Body offset for persistent rail --- */
      body {
        padding-left: var(--rail-width);
        transition: padding-left 0.35s var(--sidebar-ease);
      }

      /* --- Shift fixed floating elements --- */
      .whatsapp-toggle {
        left: calc(var(--rail-width) + 30px) !important;
      }
    }

/* Extracted from index.html body style block 1 */
.cookie-consent {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background: rgba(33, 37, 41, 0.95);
      color: white;
      padding: 1rem 0;
      z-index: 9999;
      transform: translateY(100%);
      transition: transform 0.3s ease;
    }

    .cookie-consent.show {
      transform: translateY(0);
    }

    .cookie-content {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
    }

    .cookie-content p {
      margin: 0;
      font-size: 0.9rem;
    }

    .cookie-buttons {
      display: flex;
      gap: 0.5rem;
      align-items: center;
    }

    .btn-light {
      background: white;
      border: none;
      padding: 0.5rem 1.5rem;
      border-radius: 50px;
      font-weight: 500;
      transition: all 0.3s ease;
    }

    .btn-light:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .btn-link {
      color: white;
      text-decoration: none;
      font-size: 0.9rem;
    }

    .btn-link:hover {
      color: rgba(255, 255, 255, 0.8);
    }

    @media (max-width: 767.98px) {
      .cookie-content {
        flex-direction: column;
        text-align: center;
      }

      .cookie-buttons {
        margin-top: 1rem;
      }
    }

    /* Toast Notification System */
    .toast-container {
      position: fixed;
      top: 20px;
      right: 20px;
      z-index: 10000;
      display: flex;
      flex-direction: column;
      gap: 10px;
      max-width: 400px;
    }

    .toast {
      background: white;
      border-radius: 12px;
      padding: 16px 20px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
      display: flex;
      align-items: center;
      gap: 12px;
      min-width: 300px;
      opacity: 0;
      transform: translateX(400px);
      transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
      border-left: 4px solid;
    }

    .toast.show {
      opacity: 1;
      transform: translateX(0);
    }

    .toast.success {
      border-left-color: #28a745;
    }

    .toast.error {
      border-left-color: #dc3545;
    }

    .toast.warning {
      border-left-color: #ffc107;
    }

    .toast.info {
      border-left-color: #0071e3;
    }

    .toast-icon {
      font-size: 20px;
      flex-shrink: 0;
    }

    .toast.success .toast-icon {
      color: #28a745;
    }

    .toast.error .toast-icon {
      color: #dc3545;
    }

    .toast.warning .toast-icon {
      color: #ffc107;
    }

    .toast.info .toast-icon {
      color: #0071e3;
    }

    .toast-content {
      flex: 1;
    }

    .toast-title {
      font-weight: 600;
      font-size: 14px;
      margin-bottom: 4px;
      color: #212529;
    }

    .toast-message {
      font-size: 13px;
      color: #6c757d;
      margin: 0;
    }

    .toast-close {
      background: none;
      border: none;
      font-size: 18px;
      color: #6c757d;
      cursor: pointer;
      padding: 0;
      width: 24px;
      height: 24px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      transition: all 0.2s ease;
    }

    .toast-close:hover {
      background: rgba(0, 0, 0, 0.05);
      color: #212529;
    }

    @media (max-width: 576px) {
      .toast-container {
        right: 10px;
        left: 10px;
        max-width: calc(100% - 20px);
      }

      .toast {
        min-width: auto;
        width: 100%;
      }
    }

    /* Newsletter Signup Form */
    .newsletter-section {
      background: #0071e3;
      padding: 60px 0;
      margin: 80px 0;
      position: relative;
      overflow: hidden;
    }

    .newsletter-section::before {
      content: '';
      position: absolute;
      top: -50%;
      right: -10%;
      width: 500px;
      height: 500px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      filter: blur(80px);
    }

    .newsletter-section::after {
      content: '';
      position: absolute;
      bottom: -30%;
      left: -5%;
      width: 400px;
      height: 400px;
      background: rgba(255, 255, 255, 0.08);
      border-radius: 50%;
      filter: blur(60px);
    }

    .newsletter-content {
      position: relative;
      z-index: 1;
      text-align: center;
      color: white;
    }

    .newsletter-content h3 {
      font-size: 2.5rem;
      font-weight: 700;
      margin-bottom: 1rem;
      color: white;
    }

    .newsletter-content p {
      font-size: 1.1rem;
      margin-bottom: 2rem;
      opacity: 0.95;
    }

    .newsletter-form {
      max-width: 600px;
      margin: 0 auto;
      display: flex;
      gap: 12px;
      background: rgba(255, 255, 255, 0.15);
      backdrop-filter: blur(10px);
      padding: 8px;
      border-radius: 50px;
      border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .newsletter-form input {
      flex: 1;
      border: none;
      background: white;
      padding: 16px 24px;
      border-radius: 50px;
      font-size: 16px;
      outline: none;
    }

    .newsletter-form input::placeholder {
      color: #6c757d;
    }

    .newsletter-form button {
      background: white;
      color: #0071e3;
      border: none;
      padding: 16px 32px;
      border-radius: 50px;
      font-weight: 600;
      font-size: 16px;
      cursor: pointer;
      transition: all 0.3s ease;
      white-space: nowrap;
    }

    .newsletter-form button:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }

    .newsletter-form button:active {
      transform: translateY(0);
    }

    @media (max-width: 768px) {
      .newsletter-form {
        flex-direction: column;
        border-radius: 20px;
        padding: 12px;
      }

      .newsletter-form input,
      .newsletter-form button {
        border-radius: 12px;
        width: 100%;
      }

      .newsletter-content h3 {
        font-size: 2rem;
      }
    }

    /* Social Sharing Buttons */
    .social-share {
      display: flex;
      gap: 12px;
      align-items: center;
      flex-wrap: wrap;
      margin: 20px 0;
    }

    .social-share-label {
      font-weight: 600;
      color: #6c757d;
      font-size: 14px;
      margin-right: 8px;
    }

    .share-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      border: 2px solid;
      text-decoration: none;
      transition: all 0.3s ease;
      font-size: 18px;
      position: relative;
      overflow: hidden;
    }

    .share-btn::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      width: 0;
      height: 0;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.3);
      transform: translate(-50%, -50%);
      transition: width 0.3s ease, height 0.3s ease;
    }

    .share-btn:hover::before {
      width: 100%;
      height: 100%;
    }

    .share-btn:hover {
      transform: translateY(-3px) scale(1.1);
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }

    .share-btn.facebook {
      color: #1877f2;
      border-color: #1877f2;
      background: rgba(24, 119, 242, 0.1);
    }

    .share-btn.facebook:hover {
      background: #1877f2;
      color: white;
    }

    .share-btn.twitter {
      color: #1da1f2;
      border-color: #1da1f2;
      background: rgba(29, 161, 242, 0.1);
    }

    .share-btn.twitter:hover {
      background: #1da1f2;
      color: white;
    }

    .share-btn.linkedin {
      color: #0077b5;
      border-color: #0077b5;
      background: rgba(0, 119, 181, 0.1);
    }

    .share-btn.linkedin:hover {
      background: #0077b5;
      color: white;
    }

    .share-btn.whatsapp {
      color: #25d366;
      border-color: #25d366;
      background: rgba(37, 211, 102, 0.1);
    }

    .share-btn.whatsapp:hover {
      background: #25d366;
      color: white;
    }

    .share-btn.email {
      color: #0071e3;
      border-color: #0071e3;
      background: rgba(0, 113, 227, 0.1);
    }

    .share-btn.email:hover {
      background: #0071e3;
      color: white;
    }

    .share-btn i {
      position: relative;
      z-index: 1;
    }

/* Extracted from index.html body style block 1 */
/* Modern Chat Widget Styles */
    .chat-widget {
      position: fixed;
      bottom: 100px;
      right: 30px;
      width: 450px;
      height: 650px;
      background: rgba(255, 255, 255, 0.98);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-radius: 24px;
      border: 1px solid rgba(255, 255, 255, 0.3);
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.1);
      display: none;
      flex-direction: column;
      overflow: hidden;
      transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
      z-index: 1000;
      transform: translateY(20px) scale(0.95);
      opacity: 0;
    }

    .chat-widget.open {
      display: flex;
      transform: translateY(0) scale(1);
      opacity: 1;
    }

    .chat-header {
      padding: 22px 24px;
      background: white;
      color: #1e293b;
      position: relative;
      overflow: hidden;
      border-bottom: 1px solid rgba(0, 0, 0, 0.08);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    }

    .chat-header::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: transparent;
      animation: none;
    }

    @keyframes headerShine {
      0% {
        left: -100%;
      }

      100% {
        left: 100%;
      }
    }

    .chat-header-content {
      display: flex;
      align-items: center;
      gap: 15px;
      position: relative;
      z-index: 2;
    }

    .chat-logo {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      background: #0071e3;
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.4rem;
      box-shadow: 0 4px 12px rgba(0, 113, 227, 0.25);
      animation: none;
    }

    @keyframes logoFloat {

      0%,
      100% {
        transform: translateY(0);
      }

      50% {
        transform: translateY(-3px);
      }
    }

    .chat-header-text h4 {
      margin: 0;
      font-size: 18px;
      font-weight: 700;
      letter-spacing: -0.3px;
      color: #1e293b;
    }

    .chat-status {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 12px;
      opacity: 0.8;
      margin-top: 4px;
      color: #64748b;
    }

    .status-dot {
      width: 10px;
      height: 10px;
      background: #4CAF50;
      border-radius: 50%;
      box-shadow: 0 0 8px rgba(76, 175, 80, 0.6);
      animation: none;
    }

    @keyframes statusPulse {

      0%,
      100% {
        transform: scale(1);
        opacity: 1;
      }

      50% {
        transform: scale(1.2);
        opacity: 0.8;
      }
    }

    .chat-close {
      position: absolute;
      top: 18px;
      right: 18px;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: rgba(0, 0, 0, 0.05);
      border: none;
      color: #64748b;
      font-size: 18px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
      z-index: 3;
    }

    .chat-close:hover {
      background: rgba(0, 0, 0, 0.1);
      color: #1e293b;
      transform: rotate(90deg) scale(1.1);
    }

    .chat-messages {
      flex: 1;
      padding: 24px;
      overflow-y: auto;
      background: rgba(248, 250, 252, 0.4);
      scroll-behavior: smooth;
    }

    .chat-messages::-webkit-scrollbar {
      width: 6px;
    }

    .chat-messages::-webkit-scrollbar-track {
      background: rgba(0, 0, 0, 0.05);
      border-radius: 10px;
    }

    .chat-messages::-webkit-scrollbar-thumb {
      background: rgba(0, 113, 227, 0.3);
      border-radius: 10px;
      transition: background 0.3s ease;
    }

    .chat-messages::-webkit-scrollbar-thumb:hover {
      background: rgba(0, 113, 227, 0.5);
    }

    .message {
      margin-bottom: 20px;
      display: flex;
      align-items: flex-start;
      gap: 12px;
      animation: messageSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    @keyframes messageSlideIn {
      from {
        opacity: 0;
        transform: translateY(10px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .message-avatar {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1rem;
      flex-shrink: 0;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .bot-avatar {
      background: #0071e3;
      color: white;
    }

    .message-content {
      flex: 1;
      position: relative;
    }

    .message-bubble {
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      padding: 14px 18px;
      border-radius: 18px 18px 18px 4px;
      border: 1px solid rgba(255, 255, 255, 0.3);
      box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
      max-width: 85%;
      word-wrap: break-word;
      line-height: 1.5;
      position: relative;
    }

    .quick-questions {
      display: flex;
      flex-direction: column;
      gap: 8px;
      margin-top: 12px;
    }

    .quick-question-btn {
      padding: 10px 14px;
      background: rgba(0, 113, 227, 0.08);
      border: 1px solid rgba(0, 113, 227, 0.2);
      border-radius: 10px;
      color: #0071e3;
      font-size: 13px;
      font-weight: 500;
      text-align: left;
      cursor: pointer;
      transition: all 0.3s ease;
      width: 100%;
    }

    .quick-question-btn:hover {
      background: rgba(0, 113, 227, 0.15);
      border-color: #0071e3;
      transform: translateX(4px);
      box-shadow: 0 2px 8px rgba(0, 113, 227, 0.2);
    }

    .quick-question-btn:active {
      transform: translateX(2px);
    }

    .user-message {
      flex-direction: row-reverse;
    }

    .user-message .message-bubble {
      background: #0071e3;
      color: white;
      border-radius: 18px 18px 4px 18px;
      border: none;
      box-shadow: 0 4px 16px rgba(0, 113, 227, 0.3);
    }

    .user-message .message-avatar {
      background: #1d1d1f;
      color: white;
    }

    .message-time {
      font-size: 0.7rem;
      color: #94a3b8;
      display: block;
      margin-top: 6px;
      font-weight: 500;
    }

    .user-message .message-time {
      text-align: right;
    }

    .quick-actions {
      padding: 20px 24px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      background: rgba(255, 255, 255, 0.6);
      border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .quick-actions-title {
      font-size: 13px;
      color: #64748b;
      margin-bottom: 4px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .contact-option {
      width: 100%;
      padding: 14px 18px;
      border: 2px solid #e2e8f0;
      border-radius: 14px;
      background: rgba(255, 255, 255, 0.9);
      color: #334155;
      font-size: 14px;
      font-weight: 500;
      display: flex;
      align-items: center;
      gap: 12px;
      cursor: pointer;
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      position: relative;
      overflow: hidden;
    }

    .contact-option::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      height: 100%;
      width: 0;
      background: rgba(0, 113, 227, 0.08);
      transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      z-index: 0;
    }

    .contact-option:hover {
      border-color: #0071e3;
      background: rgba(0, 113, 227, 0.05);
      transform: translateX(4px);
      box-shadow: 0 4px 16px rgba(0, 113, 227, 0.15);
    }

    .contact-option:hover::before {
      width: 100%;
    }

    .contact-option i {
      position: relative;
      z-index: 1;
      color: #0071e3;
      font-size: 1.1rem;
      transition: all 0.3s ease;
    }

    .contact-option:hover i {
      color: #0071e3;
      transform: scale(1.1);
    }

    .contact-option span {
      position: relative;
      z-index: 1;
      transition: color 0.3s ease;
      color: #334155;
    }

    .contact-option:hover span {
      color: #1e293b;
      font-weight: 600;
    }

    .chat-input {
      padding: 20px 24px;
      border-top: 1px solid rgba(0, 0, 0, 0.06);
      background: rgba(255, 255, 255, 0.8);
      backdrop-filter: blur(10px);
    }

    .input-wrapper {
      display: flex;
      gap: 12px;
      align-items: center;
    }

    .chat-input input {
      flex: 1;
      padding: 14px 20px;
      border: 2px solid #e2e8f0;
      border-radius: 25px;
      background: rgba(255, 255, 255, 0.95);
      font-size: 14px;
      transition: all 0.3s ease;
      outline: none;
    }

    .chat-input input:focus {
      border-color: #0071e3;
      box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
      background: white;
    }

    .chat-input input::placeholder {
      color: #94a3b8;
    }

    .chat-input button {
      width: 48px;
      height: 48px;
      border: none;
      border-radius: 50%;
      background: #0071e3;
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
      font-size: 1.1rem;
    }

    .chat-input button:hover {
      transform: scale(1.1) rotate(15deg);
      box-shadow: 0 6px 20px rgba(0, 113, 227, 0.4);
    }

    .chat-input button:active {
      transform: scale(0.95);
    }

    /* Modern Chat Toggle Button */
    .chat-toggle {
      position: fixed;
      bottom: 30px;
      right: 30px;
      width: 70px;
      height: 70px;
      border-radius: 35px;
      background: #0071e3;
      color: white;
      border: none;
      cursor: pointer;
      box-shadow: 0 8px 24px rgba(0, 113, 227, 0.35);
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      z-index: 1001;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.8rem;
    }

    .chat-toggle::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(255, 255, 255, 0.15);
      border-radius: 35px;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .chat-toggle:hover::before {
      opacity: 1;
    }

    .chat-toggle:hover {
      transform: scale(1.1) rotate(5deg);
      box-shadow: 0 12px 32px rgba(0, 113, 227, 0.45);
    }

    .chat-toggle:active {
      transform: scale(0.95);
    }

    .notification-badge {
      position: absolute;
      top: -6px;
      right: -6px;
      background: #0071e3;
      color: white;
      font-size: 11px;
      font-weight: 700;
      width: 24px;
      height: 24px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 2px 8px rgba(220, 53, 69, 0.4);
      border: 2px solid white;
      animation: none;
    }

    @keyframes badgePulse {

      0%,
      100% {
        transform: scale(1);
      }

      50% {
        transform: scale(1.1);
      }
    }

    @keyframes pulse {
      0% {
        box-shadow: 0 0 0 0 rgba(0, 113, 227, 0.5);
      }

      70% {
        box-shadow: 0 0 0 18px rgba(0, 113, 227, 0);
      }

      100% {
        box-shadow: 0 0 0 0 rgba(0, 113, 227, 0);
      }
    }

    .pulse {
      animation: pulse 2s infinite;
    }

    /* Typing Indicator */
    .typing-indicator {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 12px 16px;
    }

    .typing-dots {
      display: flex;
      gap: 4px;
    }

    .typing-dots span {
      width: 8px;
      height: 8px;
      background: #94a3b8;
      border-radius: 50%;
      animation: typingDot 1.4s infinite;
    }

    .typing-dots span:nth-child(2) {
      animation-delay: 0.2s;
    }

    .typing-dots span:nth-child(3) {
      animation-delay: 0.4s;
    }

    @keyframes typingDot {

      0%,
      60%,
      100% {
        transform: translateY(0);
        opacity: 0.7;
      }

      30% {
        transform: translateY(-10px);
        opacity: 1;
      }
    }

    /* Responsive adjustments for Chat Widget */
    @media (max-width: 768px) {
      .chat-widget {
        width: calc(100% - 40px);
        height: calc(100vh - 140px);
        max-height: 600px;
        right: 20px;
        bottom: 90px;
      }

      .chat-toggle {
        width: 65px;
        height: 65px;
        font-size: 1.6rem;
        bottom: 25px;
        right: 25px;
      }

      .chat-toggle::before {
        border-radius: 32.5px;
      }

      .chat-header {
        padding: 18px 20px;
      }

      .chat-messages {
        padding: 20px;
      }

      .chat-input {
        padding: 16px 20px;
      }
    }

    @media (max-width: 480px) {
      .chat-widget {
        width: calc(100% - 20px);
        height: calc(100vh - 120px);
        max-height: 550px;
        right: 10px;
        bottom: 80px;
        border-radius: 20px;
      }

      .chat-toggle {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
      }

      .chat-toggle::before {
        border-radius: 30px;
      }

      .chat-header {
        padding: 16px 18px;
      }

      .chat-header-text h4 {
        font-size: 16px;
      }

      .chat-logo {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
      }

      .chat-messages {
        padding: 16px;
      }

      .message-bubble {
        max-width: 90%;
        padding: 12px 16px;
        font-size: 13px;
      }

      .chat-input {
        padding: 14px 16px;
      }

      .chat-input input {
        padding: 12px 16px;
        font-size: 13px;
      }

      .chat-input button {
        width: 44px;
        height: 44px;
        font-size: 1rem;
      }

      .contact-option {
        padding: 12px 16px;
        font-size: 13px;
      }
    }

    /* WhatsApp Contact Button Styles */
    .whatsapp-toggle {
      position: fixed;
      bottom: 100px;
      left: 30px;
      width: 80px;
      height: 80px;
      border-radius: 40px;
      background: #25D366;
      color: white;
      border: none;
      cursor: pointer;
      box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
      transition: all 0.3s ease;
      z-index: 1001;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2.5rem;
    }

    .whatsapp-toggle::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(255, 255, 255, 0.15);
      border-radius: 40px;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .whatsapp-toggle:hover::before {
      opacity: 1;
    }

    .whatsapp-toggle:hover {
      transform: scale(1.1) rotate(5deg);
      box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
    }

    .whatsapp-toggle:active {
      transform: scale(0.95);
    }

    @keyframes whatsapp-pulse {
      0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
      }

      70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
      }

      100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
      }
    }

    .whatsapp-toggle.pulse {
      animation: none;
    }

    /* Responsive adjustments for WhatsApp button */
    @media (max-width: 768px) {
      .whatsapp-toggle {
        width: 70px;
        height: 70px;
        border-radius: 35px;
        font-size: 2rem;
        bottom: 90px;
        left: 20px;
      }

      .whatsapp-toggle::before {
        border-radius: 35px;
      }
    }

    @media (max-width: 480px) {
      .whatsapp-toggle {
        width: 65px;
        height: 65px;
        border-radius: 32.5px;
        font-size: 1.8rem;
        bottom: 80px;
        left: 15px;
      }

      .whatsapp-toggle::before {
        border-radius: 32.5px;
      }
    }

    /* WhatsApp Modal Styles */
    .whatsapp-modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.6);
      backdrop-filter: blur(5px);
      z-index: 1002;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .whatsapp-modal.active {
      display: flex;
      opacity: 1;
    }

    .whatsapp-modal-content {
      background: white;
      border-radius: 20px;
      width: 90%;
      max-width: 500px;
      max-height: 85vh;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
      transform: scale(0.9);
      transition: transform 0.3s ease;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }

    .whatsapp-modal.active .whatsapp-modal-content {
      transform: scale(1);
    }

    .whatsapp-modal-header {
      background: #25D366;
      color: white;
      padding: 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .whatsapp-modal-header h3 {
      margin: 0;
      font-size: 1.3rem;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .whatsapp-modal-header h3 i {
      font-size: 1.5rem;
    }

    .whatsapp-modal-close {
      background: rgba(255, 255, 255, 0.2);
      border: none;
      color: white;
      font-size: 28px;
      width: 35px;
      height: 35px;
      border-radius: 50%;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
      line-height: 1;
    }

    .whatsapp-modal-close:hover {
      background: rgba(255, 255, 255, 0.3);
      transform: rotate(90deg);
    }

    .whatsapp-modal-body {
      padding: 25px;
      overflow-y: auto;
      flex: 1;
    }

    .whatsapp-modal-subtitle {
      color: #666;
      margin-bottom: 20px;
      font-size: 0.95rem;
      text-align: center;
    }

    .whatsapp-questions {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .whatsapp-question-btn {
      background: #f8f9fa;
      border: 2px solid #e9ecef;
      border-radius: 12px;
      padding: 15px 18px;
      text-align: left;
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 0.95rem;
      color: #333;
      font-weight: 500;
    }

    .whatsapp-question-btn i {
      color: #25D366;
      font-size: 1.2rem;
      width: 24px;
      text-align: center;
    }

    .whatsapp-question-btn:hover {
      background: #e8f5e9;
      border-color: #25D366;
      transform: translateX(5px);
      box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
    }

    .whatsapp-question-btn:active {
      transform: translateX(2px);
    }

    .whatsapp-modal-footer {
      padding: 20px 25px;
      border-top: 1px solid #e9ecef;
      background: #f8f9fa;
    }

    .whatsapp-custom-btn {
      width: 100%;
      background: #25D366;
      color: white;
      border: none;
      border-radius: 12px;
      padding: 14px 20px;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
    }

    .whatsapp-custom-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    }

    .whatsapp-custom-btn:active {
      transform: translateY(0);
    }

    /* Responsive adjustments for WhatsApp modal */
    @media (max-width: 768px) {
      .whatsapp-modal-content {
        width: 95%;
        max-height: 90vh;
      }

      .whatsapp-modal-header {
        padding: 15px;
      }

      .whatsapp-modal-header h3 {
        font-size: 1.1rem;
      }

      .whatsapp-modal-body {
        padding: 20px;
      }

      .whatsapp-question-btn {
        padding: 12px 15px;
        font-size: 0.9rem;
      }
    }

    @media (max-width: 480px) {
      .whatsapp-modal-content {
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
      }

      .whatsapp-modal-body {
        padding: 15px;
      }
    }

/* Extracted from index.html body style block 1 */
/* Add styles for user messages */
    .message.user-message {
      display: flex;
      justify-content: flex-end;
      margin-bottom: 20px;
    }

    .user-message .message-bubble {
      background: #0071e3;
      color: white;
      border-radius: 12px 12px 0 12px;
    }

    .user-message .message-time {
      text-align: right;
      margin-top: 5px;
      font-size: 12px;
      color: #666;
    }

    /* Ensure chat messages are scrollable */
    .chat-messages {
      flex: 1;
      overflow-y: auto;
      padding: 20px;
    }
