    @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: 'Inter', 'Poppins', sans-serif;
      background: #ffffff;
      color: #1f2937;
      overflow-x: hidden;
    }

    .main-site-wrapper {
      position: relative;
      width: 100%;
      min-height: 100vh;
      background: #f8fafc;
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    .grid-lines {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-image:
        linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
      background-size: 40px 40px;
      pointer-events: none;
      z-index: 1;
    }

    .navbar {
      background: transparent !important;
      box-shadow: none;
      z-index: 1000;
      padding: 8px 0;
      transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .navbar.scrolled {
      background: rgba(255, 255, 255, 0.95) !important;
      backdrop-filter: blur(10px);
      box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
      padding: 12px 0;
    }

    .offcanvas {
      background: #fff;
    }

    .offcanvas-header {
      padding: 20px 24px;
    }

    .offcanvas-body {
      padding: 20px 24px;
    }

    .nav-link {
      color: #4b5563 !important;
      font-size: 15px;
      font-weight: 500;
      padding: 8px 16px !important;
      transition: color 0.2s;
    }

    @media (max-width: 991px) {
      .nav-link {
        font-size: 16px;
        padding: 14px 0 !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
      }
    }

    .nav-link:hover {
      color: #2563eb !important;
    }

    .btn-demo {
      background: #2563eb;
      color: #fff;
      font-size: 14px;
      font-weight: 600;
      padding: 12px 24px;
      border-radius: 6px;
      text-decoration: none;
      transition: background 0.2s, box-shadow 0.2s;
      border: none;
    }

    .btn-demo:hover {
      background: #1d4ed8;
      box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
      color: #fff;
    }

    /* Desktop bar: keep link and button labels on one line */
    @media (min-width: 992px) {

      .navbar .nav-link,
      .navbar .btn-demo {
        white-space: nowrap;
      }
    }

    /* 992-1199px: the 960px container cannot fit logo, links and button at full spacing */
    @media (min-width: 992px) and (max-width: 1199.98px) {
      .navbar .navbar-nav {
        gap: 4px !important;
      }

      .navbar .nav-link {
        padding: 8px 12px !important;
      }

      .navbar .btn-demo {
        padding: 12px 18px;
      }
    }

    /* Menu buttons: 44px tap area and a visible keyboard focus ring
       (.shadow-none in the markup removes Bootstrap's default ring) */
    .navbar-toggler {
      min-height: 44px;
    }

    .navbar-toggler:focus-visible,
    .offcanvas .btn-close:focus-visible {
      outline: 2px solid #2563eb;
      outline-offset: 2px;
    }

    /* --- HERO SECTION --- */
    .hero-container {
      position: relative;
      margin: 0 auto;
      padding: 140px 64px 100px;
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      align-items: center;
      gap: 48px;
      z-index: 10;
    }

    .hero-content {
      padding-top: 45px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .hero-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: #eff6ff;
      border-radius: 999px;
      padding: 6px 16px;
      font-size: 12px;
      font-weight: 600;
      color: #2563eb;
      margin-bottom: 24px;
      width: fit-content;
    }

    .eyebrow-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: #2563eb;
    }

    .hero-title {
      font-size: 54px;
      font-weight: 700;
      color: #111827;
      line-height: 1.1;
      margin-bottom: 20px;
      letter-spacing: -1px;
    }

    .hero-title .accent {
      color: #2563eb;
    }

    .hero-sub {
      font-size: 17px;
      color: #64748b;
      margin-bottom: 36px;
      line-height: 1.6;
      max-width: 580px;
    }

    .hero-actions {
      display: flex;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
      margin-bottom: 48px;
    }

    .btn-primary-custom {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: #2563eb;
      color: #fff;
      font-size: 15px;
      font-weight: 600;
      padding: 14px 28px;
      border-radius: 6px;
      text-decoration: none;
      transition: all 0.2s;
    }

    .btn-primary-custom:hover {
      background: #1d4ed8;
      color: #fff;
      box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    }

    .btn-secondary-custom {
      background: #ffffff;
      color: #2563eb;
      font-size: 15px;
      font-weight: 600;
      padding: 13px 26px;
      border-radius: 6px;
      text-decoration: none;
      border: 1px solid #bfdbfe;
      transition: all 0.2s;
    }

    .btn-secondary-custom:hover {
      border-color: #2563eb;
      background: #eff6ff;
      color: #1d4ed8;
    }

    .hero-stats {
      display: flex;
      gap: 40px;
      flex-wrap: wrap;
    }

    .stat-box {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .stat-num {
      font-size: 24px;
      font-weight: 600;
      color: #2563eb;
      line-height: 1;
    }

    .stat-label {
      font-size: 12px;
      color: #94a3b8;
    }

    .hero-image-wrapper {
      position: relative;
      border: 5px solid #fff;
      width: 100%;
      border-radius: 16px;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
      overflow: hidden;
    }

    .hero-image-wrapper img {
      width: 100%;
      height: auto;
      display: block;
    }

    .floating-badge-top {
      position: absolute;
      top: -20px;
      right: -20px;
      background: #fff;
      padding: 12px 20px;
      border-radius: 12px;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
      z-index: 20;
    }

    .floating-pipeline {
      position: absolute;
      bottom: -20px;
      left: -30px;
      background: #fff;
      padding: 18px 24px;
      border-radius: 12px;
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
      z-index: 20;
    }

    @media(max-width: 1024px) {
      .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 120px 24px 80px;
      }

      .hero-title {
        font-size: 35px;
      }

      .hero-actions {
        margin-bottom: 40px;
      }

      .hero-stats {
        gap: 24px;
      }

      .floating-badge-top {
        right: 10px;
        top: -10px;
      }

      .floating-pipeline {
        left: 10px;
        bottom: -15px;
        padding: 14px 20px;
      }
    }

    /* Four stats wrap 3 + 1 on phones; lay them out 2 x 2 instead */
    @media(max-width: 400px) {
      .hero-stats {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 24px;
      }
    }

    /* Below 360px the 35px headline breaks its three lines into six */
    @media(max-width: 359.98px) {
      .hero-title {
        font-size: clamp(28px, 8.6vw, 35px);
      }
    }

    .custom-dropdown {
      border: none;
      box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
      border-radius: 12px;
      padding: 16px 0;
      width: 360px;
      margin-top: 10px;
    }

    .custom-dropdown-header {
      color: #3b82f6;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      padding: 8px 24px 12px;
    }

    .custom-dropdown-item {
      padding: 14px 24px;
      white-space: normal;
      transition: background 0.2s;
    }

    .custom-dropdown-item:hover {
      background-color: #f8fafc;
    }

    .custom-dropdown-item .item-title {
      display: block;
      font-weight: 600;
      color: #1f2937;
      font-size: 15px;
      margin-bottom: 4px;
    }

    .custom-dropdown-item .item-desc {
      display: block;
      color: #6b7280;
      font-size: 13px;
      line-height: 1.5;
    }

    @media (min-width: 992px) {
      .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
      }
    }

    @media (max-width: 991px) {
      .custom-dropdown {
        box-shadow: none;
        width: 100%;
        background: transparent;
        padding: 0;
        margin-top: 0;
      }

      .dropdown-menu.custom-dropdown.show {
        display: block !important;
        position: static !important;
        float: none;
        background-color: #f8fafc;
      }

      .custom-dropdown-item {
        padding: 12px 10px;
        transition: all 0.3s ease;
      }

      .custom-dropdown-header {
        padding: 12px 10px 8px;
      }
    }

    .custom-dropdown li {
      border-bottom: 1px solid #eff6ff;
    }

    .custom-dropdown li:last-child {
      border-bottom: none;
    }

    .custom-dropdown-item:hover {
      background-color: #f4f8ff !important;
      padding-left: 26px !important;
    }

    .top-header {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 42px;
      background-color: #1e3160;
      color: #f8fafc;
      font-size: 13px;
      font-weight: 500;
      z-index: 1031;
    }

    .top-header a {
      color: #f8fafc;
      text-decoration: none;
      transition: opacity 0.2s;
    }

    .top-header a:hover {
      opacity: 0.8;
    }

    .navbar.fixed-top {
      top: 42px;
      transition: top 0.3s ease, background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
    }

    .navbar.fixed-top.scrolled {
      top: 0 !important;
    }

    @media (max-width: 991px) {
      .navbar.fixed-top {
        top: 0;
      }

      /* Smaller logo keeps the fixed header compact on phones and tablets */
      .navbar-brand img {
        height: 52px;
        width: auto;
      }

      .hero-container {
        padding-top: 100px;
      }
    }

    /* Phones in landscape have very little height to spare */
    @media (max-width: 991px) and (max-height: 480px) {
      .navbar-brand img {
        height: 40px;
      }
    }

    @media (min-width: 1200px) {
      .container {
        max-width: 1200px !important;
        padding-left: 24px;
        padding-right: 24px;
      }
    }

    /* Footer Style  */

    .pineave-footer {
      background: linear-gradient(135deg, #2446a6 0%, #1783e2 100%);
      color: #ffffff;
      padding-top: 80px;
      font-family: 'Inter', 'Poppins', sans-serif;
    }

    .logo-icon-box {
      width: 40px;
      height: 40px;
      background: rgba(255, 255, 255, 0.15);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .footer-desc {
      font-size: 14.5px;
      color: #e2e8f0;
      line-height: 1.6;
    }

    .footer-heading {
      font-size: 12px;
      font-weight: 600;
      color: #93c5fd;
      letter-spacing: 1px;
      margin-bottom: 24px;
    }

    .footer-links {
      list-style: none;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .footer-links a {
      color: #e2e8f0;
      text-decoration: none;
      font-size: 14.5px;
      transition: color 0.2s;
    }

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

    .social-links a {
      width: 36px;
      height: 36px;
      border: 1px solid rgba(255, 255, 255, 0.3);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #ffffff;
      text-decoration: none;
      font-size: 14px;
      transition: all 0.2s;
    }

    .social-links a:hover {
      background: rgba(255, 255, 255, 0.15);
    }

    .newsletter-input {
      background: rgba(255, 255, 255, 0.15);
      border: 1px solid rgba(255, 255, 255, 0.2);
      color: #ffffff;
      border-radius: 8px;
      padding: 12px 16px;
    }

    .newsletter-input::placeholder {
      color: rgba(255, 255, 255, 0.6);
    }

    .newsletter-input:focus {
      background: rgba(255, 255, 255, 0.2);
      border-color: #ffffff;
      color: #ffffff;
      box-shadow: none;
    }

    .newsletter-btn {
      background: #ffffff;
      color: #1d4ed8;
      border: none;
      border-radius: 8px;
      width: 48px;
      height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      transition: background 0.2s;
    }

    .newsletter-btn:hover {
      background: #f1f5f9;
    }

    /* Bootstrap's ring for an unstyled .btn resolves to nothing */
    .newsletter-btn:focus-visible {
      outline: 2px solid #ffffff;
      outline-offset: 2px;
    }

    .contact-info-list li {
      font-size: 13.5px;
      color: #e2e8f0;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .contact-icon {
      font-size: 14px;
    }

    .footer-bottom-text {
      font-size: 13px;
      color: #93c5fd;
    }

    .footer-legal {
      display: flex;
      gap: 20px;
      justify-content: flex-end;
    }

    .footer-legal a {
      font-size: 13px;
      color: #93c5fd;
      text-decoration: none;
      transition: color 0.2s;
    }

    .footer-legal a:hover {
      color: #ffffff;
    }

    /* 767.98px matches Bootstrap's col-md-6: at exactly 768px the links sit beside the copyright line */
    @media(max-width: 767.98px) {
      .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 10px;
      }
    }

    /* Page Banner */
    .page-banner-wrapper {
      position: relative;
      width: 100%;
      padding-top: 152px;
      background-color: #f8fafc;
      overflow: hidden;
    }

    .banner-grid-lines {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-size: 40px 40px;
      pointer-events: none;
      z-index: 1;
    }

    .banner-card {
      position: relative;
      background-image:
        linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
      z-index: 2;
      background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
      border: 1px solid #dbeafe;
      border-radius: 24px;
      padding: 80px 64px;
      overflow: hidden;
      box-shadow: 0 10px 40px rgba(37, 99, 235, 0.04);
    }

    .banner-card::before {
      content: '';
      position: absolute;
      top: -50%;
      right: -10%;
      width: 800px;
      height: 800px;
      background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(224, 231, 255, 0.6) 40%, transparent 70%);
      border-radius: 50%;
      pointer-events: none;
      z-index: 0;
    }

    .banner-card::after {
      content: '';
      position: absolute;
      top: -20%;
      right: -20%;
      width: 600px;
      height: 600px;
      border: 1px solid rgba(255, 255, 255, 0.8);
      border-radius: 50%;
      pointer-events: none;
      z-index: 0;
      box-shadow: inset 0 0 100px rgba(255, 255, 255, 0.5);
    }

    .banner-content {
      position: relative;
      z-index: 2;
      /*max-width: 1000px;*/
      text-align: left;
    }

    .page-banner-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: #e0e7ff;
      border-radius: 999px;
      padding: 6px 16px;
      font-size: 11px;
      font-weight: 700;
      color: #2563eb;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      margin-bottom: 24px;
      border: 1px solid #c7d2fe;
    }

    .page-banner-badge-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: #2563eb;
    }

    .page-banner-title {
      font-size: 48px;
      font-weight: 500;
      color: #1e293b;
      margin-bottom: 20px;
      letter-spacing: -1px;
      line-height: 1.2;
    }

    .page-banner-sub {
      font-size: 18px;
      color: #475569;
      /*margin-bottom: 36px;*/
      line-height: 1.6;
    }

    .banner-actions {
      display: flex;
      gap: 16px;
      align-items: center;
    }

    .btn-solid-blue {
      background: #2563eb;
      color: #fff;
      font-size: 15px;
      font-weight: 600;
      padding: 12px 28px;
      border-radius: 8px;
      text-decoration: none;
      transition: background 0.2s;
      border: none;
    }

    .btn-solid-blue:hover {
      background: #1d4ed8;
      color: #fff;
    }

    .btn-outline-blue {
      background: #ffffff;
      color: #2563eb;
      font-size: 15px;
      font-weight: 600;
      padding: 12px 28px;
      border-radius: 8px;
      text-decoration: none;
      border: 1px solid #bfdbfe;
      transition: all 0.2s;
    }

    .btn-outline-blue:hover {
      border-color: #2563eb;
      background: #f0f7ff;
      color: #1d4ed8;
    }

    @media(max-width: 768px) {
      .banner-card {
        padding: 40px 24px;
      }

      .page-banner-title {
        font-size: 36px;
      }

      .banner-actions {
        flex-direction: column;
        align-items: stretch;
      }

      .banner-actions a {
        text-align: center;
      }
    }

    /* Below 992px the 42px top bar is hidden and the logo is smaller, so the banner needs less clearance */
    @media(max-width: 991px) {
      .page-banner-wrapper {
        padding-top: 96px;
      }
    }

    /* Below 360px a long word in the 36px title ("Troubleshooting") is wider than the card and gets cut off */
    @media(max-width: 359.98px) {
      .page-banner-title {
        font-size: clamp(28px, 8.6vw, 36px);
        overflow-wrap: break-word;
      }
    }

    /* Contact us Section Style  */
    .contact-section {
      padding: 100px 24px;
      background-color: #ffffff;
      position: relative;
      z-index: 10;
    }

    .contact-card {
      border-radius: 16px;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
      display: flex;
      overflow: hidden;
      border: 1px solid #e2e8f0;
      max-width: 1100px;
      margin: 0 auto;
    }

    .contact-info-col {
      background: linear-gradient(135deg, #1e40af 0%, #0ea5e9 100%);
      color: #ffffff;
      padding: 56px 48px;
      width: 45%;
      display: flex;
      flex-direction: column;
    }

    .contact-badge {
      display: inline-block;
      border: 1px solid rgba(255, 255, 255, 0.3);
      border-radius: 50px;
      padding: 6px 16px;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.5px;
      margin-bottom: 32px;
      width: fit-content;
    }

    .contact-title {
      font-size: 32px;
      font-weight: 700;
      line-height: 1.2;
      margin-bottom: 24px;
    }

    .contact-title .text-light-blue {
      color: #7dd3fc;
    }

    .contact-desc {
      font-size: 14px;
      color: #e0f2fe;
      line-height: 1.6;
      margin-bottom: 40px;
    }

    .contact-list {
      list-style: none;
      padding: 0;
      margin: 0 0 40px;
    }

    .contact-list li {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 20px;
      font-size: 13px;
      color: #ffffff;
      font-weight: 500;
    }

    .contact-list li:last-child {
      margin-bottom: 0;
    }

    .contact-icon-box {
      width: 32px;
      height: 32px;
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .contact-social {
      display: flex;
      gap: 12px;
      margin-top: auto;
    }

    .contact-social a {
      width: 36px;
      height: 36px;
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #ffffff;
      text-decoration: none;
      font-size: 14px;
      transition: all 0.2s;
    }

    .contact-social a:hover {
      background: rgba(255, 255, 255, 0.25);
    }

    /* Right Side: Form Column */
    .contact-form-col {
      background: #ffffff;
      padding: 56px 48px;
      width: 55%;
    }

    .form-heading {
      font-size: 18px;
      font-weight: 700;
      color: #0f172a;
      margin-bottom: 32px;
    }

    .form-label-custom {
      display: block;
      font-size: 10px;
      font-weight: 700;
      color: #94a3b8;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 8px;
    }

    .form-control-custom {
      width: 100%;
      border: 1px solid #cbd5e1;
      border-radius: 8px;
      padding: 12px 16px;
      font-size: 14px;
      color: #0f172a;
      background: #ffffff;
      transition: all 0.2s;
    }

    .form-control-custom:focus {
      outline: none;
      border-color: #2563eb;
      box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    }

    .form-control-custom::placeholder {
      color: #94a3b8;
    }

    textarea.form-control-custom {
      resize: none;
      height: 100px;
    }

    .btn-submit-custom {
      background: #2563eb;
      color: #ffffff;
      border: none;
      border-radius: 8px;
      padding: 14px 24px;
      font-size: 15px;
      font-weight: 600;
      width: 100%;
      cursor: pointer;
      transition: all 0.2s;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 8px;
    }

    .btn-submit-custom:hover {
      background: #1d4ed8;
      box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    }

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

      .contact-info-col,
      .contact-form-col {
        width: 100%;
        padding: 40px 24px;
      }

      /* iOS Safari zooms the page when a focused field's text is smaller than 16px */
      .form-control-custom,
      .newsletter-input.form-control-sm {
        font-size: 16px;
      }
    }

    /* 320px phones: the e-mail address is one unbreakable word and overflowed its row by 3px */
    @media(max-width: 360px) {

      .contact-info-col,
      .contact-form-col {
        padding-left: 20px;
        padding-right: 20px;
      }

      .contact-list li {
        gap: 12px;
        overflow-wrap: anywhere;
      }
    }


    /* Blog Style  */
    .blog-section {
      padding: 100px 24px;
      background-color: #f4f8fb;
      position: relative;
      z-index: 10;
    }

    .blog-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: #ffffff;
      border-radius: 999px;
      padding: 6px 16px;
      font-size: 10px;
      font-weight: 700;
      color: #2563eb;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      margin-bottom: 20px;
      border: 1px solid #dbeafe;
    }

    .blog-badge-dot {
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background: #2563eb;
    }

    .blog-title {
      font-size: 38px;
      font-weight: 700;
      color: #0f172a;
      margin: 0;
      letter-spacing: -0.5px;
    }

    .blog-btn-outline {
      display: inline-block;
      border: 1px solid #bfdbfe;
      color: #2563eb;
      background: #ffffff;
      padding: 10px 20px;
      border-radius: 8px;
      font-size: 14px;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.2s;
    }

    .blog-btn-outline:hover {
      background: #eff6ff;
      border-color: #2563eb;
      color: #1d4ed8;
    }

    .blog-card {
      background: #ffffff;
      border-radius: 16px;
      border: 1px solid #e2e8f0;
      overflow: hidden;
      height: 100%;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      display: flex;
      flex-direction: column;
      text-decoration: none;
      cursor: pointer;
    }

    .blog-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
    }

    .blog-page {
      height: 230px !important;
    }

    .blog-card-img {
      height: 180px;
      background: #eff6ff;
      overflow: hidden;
    }

    .blog-card-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }

    .blog-card:hover .blog-card-img img {
      transform: scale(1.05);
    }

    .blog-card-body {
      padding: 24px;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
    }

    .blog-meta {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 16px;
    }

    .blog-tag {
      background: #eff6ff;
      color: #2563eb;
      font-size: 11px;
      font-weight: 700;
      padding: 4px 10px;
      border-radius: 999px;
    }

    .blog-time {
      font-family: monospace;
      font-size: 11px;
      color: #94a3b8;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .blog-card-title {
      font-size: 15px;
      font-weight: 500;
      color: #0f172a;
      margin-bottom: 12px;
      line-height: 1.4;
      transition: color 0.2s;
    }

    .blog-card:hover .blog-card-title {
      color: #2563eb;
    }

    .blog-card-excerpt {
      font-size: 13.5px;
      color: #64748b;
      line-height: 1.6;
      margin-bottom: 24px;
      flex-grow: 1;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .blog-date {
      font-family: monospace;
      font-size: 12px;
      color: #94a3b8;
      margin: 0;
    }

    /* Only while the menu is an off-canvas panel (below Bootstrap's lg breakpoint).
       At 992-1024px the nav is an inline bar, and this min-height stretched the fixed navbar over the whole screen. */
    @media (max-width: 991.98px) {
      .offcanvas {
        height: 100%;
        min-height: 100dvh;
      }
    }

    @media(max-width: 768px) {
      .blog-header-wrapper {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 20px;
      }

      .blog-title {
        font-size: 32px;
      }

      footer.pineave-footer {
        padding-left: 8px;
        padding-right: 8px;
      }

      section:has(.container) {
        padding-left: 8px;
        padding-right: 8px;
      }

      /* 100px above and below every section leaves 200px blank bands on phones.
         The element selector outranks the per-section inline <style> rules. */
      section.app-categories-section,
      section.core-app-section,
      section.why-matters-section,
      section.about-architects-section,
      section.case-study-section,
      section.blog-section,
      section.contact-section {
        padding-top: 64px;
        padding-bottom: 64px;
      }
    }

    /* Home "About" photo: the inline rule stacks the four stats in one column below 992px,
       which hides about 70% of the photo. Keep the 2 x 2 grid instead. */
    @media(max-width: 991px) {
      .aa-image-container .aa-stats-overlay {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media(max-width: 575px) {
      .aa-image-container .aa-stats-overlay {
        left: 12px;
        right: 12px;
        bottom: 12px;
        gap: 8px;
      }

      .aa-image-container .aa-stat-box {
        padding: 12px;
      }
    }

    /* Single post */
    /* Imported posts hold their text in layout tables. A long <pre> line set the table's minimum
       width (677px), so the text was cut off on phones and ran over the sidebar at 992-1200px. */
    .content-body {
      overflow-wrap: break-word;
    }

    .content-body table {
      table-layout: fixed;
      width: 100%;
      max-width: 100%;
    }

    .content-body pre {
      max-width: 100%;
      overflow-x: auto;
    }

    /* The related-articles card is a direct child of .row, so it spanned the row's negative gutters
       and touched both screen edges on phones. Inset it to line up with the cards above. */
    .single-post-wrapper .row > .related-articles-section {
      width: calc(100% - var(--bs-gutter-x));
      margin-left: calc(var(--bs-gutter-x) * 0.5);
      margin-right: calc(var(--bs-gutter-x) * 0.5);
    }

    /* Single case study */
    /* Card grids in the post content use an inline minmax(280px, 1fr), wider than the 266px column
       on a 320px phone. min() keeps 280px wherever it fits; inline styles need !important to override. */
    .case-body-content [style*="minmax(280px"] {
      grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)) !important;
    }

    /* About page cards (styled inline in the template): 40px padding leaves under 200px for text at 320px */
    @media(max-width: 575px) {

      .disciplines-white-section .discipline-main-card,
      .disciplines-white-section .discipline-blue-card {
        padding: 28px 20px;
      }

      .disciplines-white-section .discipline-small-card {
        padding: 24px 20px;
      }
    }

    /* Single Applications css  */
  
  .page-content-wrapper {
    /*padding: 60px 0 100px;*/
    background-color: #f8fafc; 
  }
  .sa-app-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    padding: 32px 24px;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 1;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .sa-app-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  }
  .sa-gradient-blob {
    position: absolute;
    top: -60px; right: -60px;
    width: 220px; height: 220px;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.35;
    z-index: -1;
  }
  .sa-icon-box {
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px; margin-bottom: 20px; font-size: 16px;
    background: #f8fafc; border: 1px solid #e2e8f0;
  }
  .sa-card-title { font-size: 20px; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
  .sa-card-subtitle { font-size: 11px; font-weight: 700; margin-bottom: 16px; letter-spacing: 0.5px; }
  .sa-card-desc { font-size: 13.5px; color: #475569; line-height: 1.6; margin-bottom: 24px; flex-grow: 1; }
  .sa-tags-wrapper { display: flex; flex-wrap: wrap; gap: 8px; }
  .sa-tag {
    font-size: 11px; font-weight: 600; color: #3b82f6;
    border: 1px solid #bfdbfe; background: #ffffff;
    border-radius: 50px; padding: 4px 12px;
  }
  .sa-process-card {
    background: #ffffff;
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    padding: 40px;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
  }
  .sa-eyebrow {
    font-size: 11px; font-weight: 700; color: #3b82f6;
    text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; display: block;
  }
  .sa-process-title {
    font-size: 32px; font-weight: 700; color: #0f172a; margin-bottom: 32px; letter-spacing: -0.5px;
  }
  .sa-step-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    height: 100%;
  }
  .sa-step-num { font-size: 12px; font-weight: 700; color: #60a5fa; margin-bottom: 8px; font-family: monospace; }
  .sa-step-title { font-size: 16px; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
  .sa-step-desc { font-size: 13px; color: #64748b; line-height: 1.5; margin: 0; }
  .sa-cta-card {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    border-radius: 16px;
    padding: 40px;
    color: #ffffff;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(37,99,235,0.15);
  }
  .sa-cta-eyebrow {
    font-size: 11px; font-weight: 600; color: #93c5fd;
    text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px; display: block;
  }
  .sa-cta-title { font-size: 30px; font-weight: 700; line-height: 1.2; margin-bottom: 16px; letter-spacing: -0.5px; }
  .sa-cta-desc { font-size: 14px; color: #e0f2fe; line-height: 1.6; margin-bottom: 24px; }
  .sa-btn-white {
    background: #ffffff; color: #2563eb; font-size: 15px; font-weight: 600;
    padding: 14px; border-radius: 8px; text-decoration: none; text-align: center;
    display: block; transition: all 0.2s; margin-bottom: 32px; border: none;
  }
  .sa-btn-white:hover { background: #f1f5f9; transform: translateY(-2px); }
  .sa-contact-info { font-size: 12px; color: #bfdbfe; line-height: 1.8; margin-top: auto; }

  /* Phones: 40px card padding leaves about 215px for a 32px heading at 320px */
  @media (max-width: 575px) {
    .sa-process-card,
    .sa-cta-card { padding: 28px 20px; }
    .sa-process-title { font-size: 26px; margin-bottom: 24px; }
    .sa-cta-title { font-size: 26px; }
    .sa-step-box { padding: 20px; }
    /* The quote card's 45px padding is an inline style, so only !important can reduce it */
    .page-content-wrapper .row > .col-12 > div[style*="padding: 45px"] { padding: 28px 22px !important; }
  }

  /*  contact form*/
  span.wpcf7-not-valid-tip {
    font-size: 14px;
    color: red;
}

.screen-reader-response {
    display: none;
}

.wpcf7-response-output {
    color: red;
}

.hero-image-wrapper {
  animation: smoothFloat 4s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes smoothFloat {
  from {
    transform: translateY(-10px);
  }
  to {
    transform: translateY(10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image-wrapper {
    animation: none;
    will-change: auto;
  }
}
