    /* ============================================
       STICKY HEADER & SUB-HEADER FIXED
       ============================================ */

    /* Remove any default body margin/padding */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      margin: 0;
      padding: 0;
    }

    /* FIX: Bootstrap's .row is display:flex, and flex items default to
       min-width:auto, meaning a column can't shrink below the natural
       content width of what's inside it. input[type="date"] has a fairly
       wide native minimum width on mobile/iOS (date segments + calendar
       icon), so on narrow screens it was forcing its column -- and the
       whole row -- wider than the viewport, pushing the page into
       horizontal scroll. min-width: 0 lets the column actually shrink to
       fit, so width: 100% on the input works as intended.
       NOTE: an earlier version of this fix also added overflow-x: hidden
       on html/body as a safety net, but that breaks position: sticky
       (the sub-header) -- setting overflow-x without overflow-y makes
       the browser implicitly treat overflow-y as "auto" too, turning
       body into its own scroll container instead of the real viewport,
       which sticky elements need to track correctly. Removed. */
    .quote-container .row > * {
      min-width: 0;
    }

    /* Top Sub-header - Sticky at very top of page */
    .top-subheader {
      position: sticky;
      top: 0;
      z-index: 1031;
      background-color: #0a1a3a;
      color: #ffffff;
      padding: 8px 0;
      font-size: 14px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      width: 100%;
    }

    /* Carrier Portal Button - matching Client Portal style */
    .top-subheader .btn-portal.carrier {
      background-color: transparent;
      color: #f9f9f9;
      text-decoration: none;
      padding: 6px 15px;
      border-radius: 4px;
      font-weight: 500;
      font-size: 13px;
      transition: all 0.3s ease;
      display: inline-flex;
      align-items: center;
    }

    .top-subheader .btn-portal.carrier:hover {
      background-color: #ff5f13;
      color: #ffffff;
    }

    .top-subheader .btn-portal {
      background-color: transparent;
      color: #f9f9f9;
      text-decoration: none;
      padding: 6px 15px;
      border-radius: 4px;
      font-weight: 500;
      font-size: 13px;
      transition: all 0.3s ease;
      display: inline-flex;
      align-items: center;
    }

    .top-subheader .btn-portal:hover {
      background-color: #ff5f13;
      color: #ffffff;
    }

    /* Optional: subtle separator between portal buttons */
    .top-subheader .portal-separator {
      color: rgba(255, 255, 255, 0.2);
      margin: 0 8px;
    }

    /* Main Header - Below sub-header, transparent background */
    .header {
      position: fixed;
      top: 41px; /* Height of top sub-header */
      left: 0;
      width: 100%;
      z-index: 1030;
      background-color: transparent;
      padding: 20px 0;
      transition: all 0.3s ease-in-out;
    }

    /* When scrolled - header becomes sticky at top with solid background */
    .header.scrolled {
      top: 0;
      background-color: #0a1a3a !important;
      padding: 10px 0;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    /* Logo transition */
    .header .logo img {
      max-height: 66px;
      transition: all 0.3s ease;
    }

    .header.scrolled .logo img {
      max-height: 50px;
    }

    /* Nav link colors */
    .header .navmenu a {
      color: rgba(255, 255, 255, 0.8);
    }

    .header.scrolled .navmenu a {
      color: rgba(255, 255, 255, 0.9);
    }

    .header .navmenu a:hover,
    .header .navmenu .active {
      color: #ff5f13 !important;
    }

    /* Mobile adjustments */
    @media (max-width: 768px) {
      .top-subheader {
        position: sticky;
        top: 0;
      }
      
      .header {
        top: 80px;
        padding: 12px 0;
      }
      
      .header.scrolled {
        top: 0;
        padding: 8px 0;
      }
    }

    @media (max-width: 480px) {
      .top-subheader {
        position: sticky;
        top: 0;
      }
      
      .header {
        top: 105px;
      }
      
      .header.scrolled {
        top: 0;
      }
    }

    /* Page Title padding adjustment to account for fixed header */
    .page-title {
      padding: 180px 0 100px 0 !important;
      min-height: auto !important;
    }

    /* Mobile responsive adjustments for portal buttons */
    @media (max-width: 768px) {
      .top-subheader .btn-portal,
      .top-subheader .btn-portal.carrier {
        padding: 4px 10px;
        font-size: 11px;
      }
      
      .top-subheader .portal-separator {
        margin: 0 4px;
      }
    }

    @media (max-width: 576px) {
      .top-subheader .language-portal {
        gap: 6px;
      }
      
      .top-subheader .btn-portal span,
      .top-subheader .btn-portal.carrier span {
        display: none;
      }
      
      .top-subheader .btn-portal i,
      .top-subheader .btn-portal.carrier i {
        margin-right: 0;
        font-size: 14px;
      }
      
      .top-subheader .btn-portal,
      .top-subheader .btn-portal.carrier {
        padding: 6px 8px;
      }
    }

    /* FIX: Dropdown menu text colors when header is scrolled */
    .header.scrolled .navmenu .dropdown ul {
      background: white !important;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .header.scrolled .navmenu .dropdown ul li a {
      color: #0e1d34 !important;
      background: transparent !important;
    }

    .header.scrolled .navmenu .dropdown ul li a:hover {
      color: #ff5f13 !important;
      background: rgba(255, 95, 19, 0.05) !important;
      padding-left: 20px !important;
    }

    /* Also fix the parent dropdown arrow color when scrolled */
    .header.scrolled .navmenu a {
      color: rgba(255, 255, 255, 0.9);
    }

    .header.scrolled .navmenu .dropdown > a {
      color: rgba(255, 255, 255, 0.9);
    }

    /* Ensure dropdown toggle icon is visible */
    .header.scrolled .navmenu .dropdown .toggle-dropdown {
      color: rgba(255, 255, 255, 0.7);
    }

    /* Fix for mobile menu when scrolled */
    @media (max-width: 1199px) {
      .header.scrolled .navmenu ul {
        background: white !important;
      }
      
      .header.scrolled .navmenu ul li a {
        color: #0e1d34 !important;
      }
      
      .header.scrolled .navmenu ul li a:hover {
        color: #ff5f13 !important;
      }
    }

    /* Custom Quote Page Styles - Matching your existing pages */
    :root {
      --accent-orange: #ff5f13;
      --accent-blue: #0e1d34;
    }
    
    /* Hero Section with Image Background */
    .page-title {
      position: relative;
      overflow: hidden;
      background-image: url('assets/img/quote-hero-bg.jpg');
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      min-height: 50vh;
    }
    
    .page-title::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, #0e1d34 0%, #1a2f4e 100%);
      opacity: 0.85;
      z-index: 1;
    }
    
    .page-title::after {
      content: '';
      position: absolute;
      top: -50%;
      right: -10%;
      width: 600px;
      height: 600px;
      background: radial-gradient(circle, rgba(255,95,19,0.15) 0%, rgba(255,95,19,0) 70%);
      border-radius: 50%;
      z-index: 2;
    }
    
    .page-title .container {
      position: relative;
      z-index: 10;
    }
    
    /* Floating icons */
    .floating-icon {
      position: absolute;
      opacity: 0.1;
      pointer-events: none;
      z-index: 3;
      color: #ff5f13;
      filter: drop-shadow(0 0 20px rgba(255, 95, 19, 0.3));
      animation: floatIcon 15s ease-in-out infinite;
    }
    
    .floating-icon i {
      font-size: 80px;
    }
    
    .floating-icon.large i {
      font-size: 120px;
    }
    
    .floating-icon-1 {
      top: 10%;
      left: 3%;
      animation: floatIcon 18s ease-in-out infinite;
    }
    
    .floating-icon-2 {
      top: 20%;
      right: 2%;
      animation: floatIcon 22s ease-in-out infinite reverse;
    }
    
    .floating-icon-3 {
      bottom: 15%;
      left: 5%;
      animation: floatIcon 20s ease-in-out infinite 2s;
    }
    
    .floating-icon-4 {
      bottom: 25%;
      right: 5%;
      animation: floatIcon 25s ease-in-out infinite 1s;
    }
    
    @keyframes floatIcon {
      0%, 100% { transform: translate(0, 0) rotate(0deg); }
      25% { transform: translate(20px, -15px) rotate(5deg); }
      50% { transform: translate(-15px, -25px) rotate(10deg); }
      75% { transform: translate(-25px, -10px) rotate(5deg); }
    }
    
    /* Badge styling */
    .badge-quote {
      background: rgba(255,95,19,0.15);
      color: #fff;
      padding: 8px 20px;
      border-radius: 50px;
      font-size: 14px;
      font-weight: 600;
      display: inline-block;
      backdrop-filter: blur(5px);
      border: 1px solid rgba(255,95,19,0.3);
      margin-bottom: 20px;
    }
    
    /* Section Title */
    .section-title {
      text-align: center;
      padding: 30px 0;
      margin-bottom: 30px;
      position: relative;
    }
    
    .section-title h2 {
      font-size: 32px;
      font-weight: 700;
      text-transform: uppercase;
      margin-bottom: 20px;
      padding-bottom: 0;
      position: relative;
      z-index: 2;
    }
    
    .section-title span {
      position: absolute;
      top: 4px;
      color: color-mix(in srgb, var(--heading-color), transparent 95%);
      left: 0;
      right: 0;
      z-index: 1;
      font-weight: 700;
      font-size: 52px;
      text-transform: uppercase;
      line-height: 1;
    }
    
    .section-title p {
      margin-bottom: 0;
      position: relative;
      z-index: 2;
    }
    
    /* Quote Form Container */
    .quote-container {
      background: #fff;
      border-radius: 20px;
      box-shadow: 0 20px 40px rgba(0,0,0,0.08);
      padding: 40px;
      margin-top: -80px;
      position: relative;
      z-index: 20;
      border: 1px solid rgba(0,0,0,0.03);
    }
    
    /* Form Elements */
    .input-form {
      margin-bottom: 20px;
    }
    
    .input-form input, .input-form textarea {
      width: 100%;
      max-width: 100%;
      min-width: 0;
      padding: 12px 18px;
      border: 1px solid #e9ecef;
      border-radius: 10px;
      font-size: 16px;
      color: #0e1d34;
      transition: all 0.3s ease;
      background: #f8f9fc;
    }

    /* iOS renders date inputs with its own native chrome (segments +
       calendar icon) that doesn't always respect width: 100% the same
       way text inputs do. Resetting appearance and forcing box-sizing
       here keeps it contained within the same box as every other field. */
    .input-form input[type="date"] {
      -webkit-appearance: none;
      appearance: none;
      box-sizing: border-box;
    }
    
    .input-form input:focus, .input-form textarea:focus {
      outline: none;
      border-color: #ff5f13;
      box-shadow: 0 0 0 3px rgba(255,95,19,0.1);
      background: #fff;
    }
    
    .input-form input::placeholder, .input-form textarea::placeholder {
      color: #adb5bd;
      font-size: 14px;
    }
    
    .input-form textarea {
      min-height: 100px;
      resize: vertical;
    }
    
    .select-items {
      margin-bottom: 20px;
    }
    
    .select-items select {
      width: 100%;
      max-width: 100%;
      min-width: 0;
      padding: 12px 18px;
      border: 1px solid #e9ecef;
      border-radius: 10px;
      font-size: 16px;
      color: #0e1d34;
      background: #f8f9fc;
      transition: all 0.3s ease;
      cursor: pointer;
      appearance: none;
      -webkit-appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%230e1d34' viewBox='0 0 16 16'%3E%3Cpath d='M8 11.5l-5-5h10l-5 5z'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 18px center;
    }
    
    .select-items select:focus {
      outline: none;
      border-color: #ff5f13;
      box-shadow: 0 0 0 3px rgba(255,95,19,0.1);
      background: #fff;
    }
    
    /* Honeypot Field */
    .honeypot-field {
      display: none !important;
      position: absolute !important;
      left: -9999px !important;
      opacity: 0 !important;
      pointer-events: none !important;
    }
    
    /* Turnstile Container */
    .cf-turnstile {
      display: flex;
      justify-content: center;
      margin: 20px 0 15px;
    }
    
    /* Submit Button */
    .submit-btn {
      width: 100%;
      padding: 14px 20px;
      background: #ff5f13;
      color: #fff;
      border: none;
      border-radius: 50px;
      font-size: 18px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      border: 2px solid transparent;
      margin-top: 10px;
    }
    
    .submit-btn:hover {
      background: transparent;
      border-color: #ff5f13;
      color: #ff5f13;
    }
    
    /* Form Sections */
    .form-section-title {
      font-size: 20px;
      font-weight: 700;
      color: #0e1d34;
      margin: 25px 0 20px;
      padding-bottom: 10px;
      border-bottom: 2px solid rgba(255,95,19,0.2);
    }
    
    .form-section-title i {
      color: #ff5f13;
      margin-right: 10px;
      font-size: 22px;
    }
    
    .form-section-title:first-of-type {
      margin-top: 0;
    }
    
    /* Form Helper Text */
    .form-helper {
      text-align: center;
      margin-top: 15px;
      font-size: 13px;
      color: #6c757d;
    }
    
    .form-helper i {
      color: #ff5f13;
      margin-right: 4px;
    }
    
    .form-helper span {
      margin: 0 12px;
    }
    
    /* Info Box - Sticky Sidebar */
    .info-box {
      background: #f8f9fc;
      border-radius: 20px;
      padding: 30px;
      border-left: 4px solid #ff5f13;
      position: sticky;
      top: 120px;
    }
    
    .info-box h3 {
      font-size: 22px;
      font-weight: 700;
      color: #0e1d34;
      margin-bottom: 20px;
    }
    
    .info-box h3 i {
      color: #ff5f13;
      margin-right: 10px;
    }
    
    .info-list {
      list-style: none;
      padding: 0;
      margin: 20px 0;
    }
    
    .info-list li {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      margin-bottom: 18px;
      color: #6c757d;
    }
    
    .info-list li i {
      color: #ff5f13;
      font-size: 18px;
      margin-top: 2px;
    }
    
    .info-list li strong {
      color: #0e1d34;
    }
    
    .contact-details {
      margin-top: 30px;
      padding-top: 20px;
      border-top: 1px solid rgba(0,0,0,0.05);
    }
    
    .contact-details p {
      margin-bottom: 10px;
      color: #6c757d;
    }
    
    .contact-details i {
      color: #ff5f13;
      width: 25px;
      font-size: 18px;
    }
    
    .contact-details a {
      color: #0e1d34;
      text-decoration: none;
      transition: 0.3s;
    }
    
    .contact-details a:hover {
      color: #ff5f13;
    }
    
    /* Responsive */
    @media (max-width: 992px) {
      .section-title span {
        font-size: 42px;
      }
      
      .quote-container {
        padding: 25px;
        margin-top: -40px;
      }
      
      .info-box {
        position: relative;
        top: 0;
        margin-top: 30px;
      }
    }
    
    @media (max-width: 768px) {
      .page-title h1 {
        font-size: 36px;
      }
      
      .section-title span {
        font-size: 32px;
      }
      
      .section-title h2 {
        font-size: 28px;
      }
      
      .quote-container {
        padding: 20px;
      }
      
      .floating-icon i {
        font-size: 50px;
      }
      
      .form-helper span {
        display: block;
        margin: 5px 0;
      }
    }
  
