    /* =========================================================
       BASE / TOKENS
       ========================================================= */
    html {
      scroll-behavior: smooth;
      overflow-x: hidden;
    }

    :root {
      --primary-blue: #0d3d75;
      --secondary-blue: #0066cc;
      --accent-blue: #0078d8;
      --light-blue: #e6f2ff;
      --lighter-blue: #154a8f;
      --white: #ffffff;
      --light-gray: #f5f7fa;
      --dark-gray: #333333;
      --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
      --transition: all 0.3s ease;
    }

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

    body {
      font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
      line-height: 1.6;
      color: var(--dark-gray);
      background-color: var(--white);
      overflow-x: hidden;
      padding-top: 80px;
    }

    h1,
    h2,
    h4 {
      font-weight: 700;
      line-height: 1.2;
      margin-bottom: 1rem;
      color: var(--primary-blue);
    }

    p {
      margin-bottom: 1.5rem;
    }

    .container {
      width: 90%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    .btn {
      display: inline-block;
      padding: 14px 32px;
      background: var(--primary-blue);
      color: var(--white);
      border: none;
      border-radius: 4px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1px;
      cursor: pointer;
      transition: var(--transition);
      text-decoration: none;
      font-size: 0.9rem;
    }

    .btn:hover {
      background: var(--accent-blue);
      transform: translateY(-3px);
      box-shadow: var(--shadow);
    }

    .btn-light {
      background: var(--white);
      color: var(--primary-blue);
    }

    /* =========================================================
       HEADER / NAVIGATION
       ========================================================= */

    header {
      background-color: rgba(255, 255, 255, 0.5);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      width: 100%;
      z-index: 1000;
      padding: 0.8rem 0;
      transition: all 0.3s ease;
    }

    .header-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 2rem;
    }

    /* Dropdown styles */

    .dropdown {
      position: relative;
      display: inline-block;
    }

    .dropdown-content {
      display: none;
      position: absolute;
      background-color: var(--white);
      min-width: 220px;
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
      border-radius: 4px;
      z-index: 1;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
      transform: translateY(10px);
    }

    .dropdown-content a {
      color: var(--dark-gray);
      padding: 12px 16px;
      text-decoration: none;
      display: block;
      text-align: left;
      transition: all 0.2s ease;
    }

    .dropdown-content a:hover {
      background-color: var(--light-blue);
      color: var(--primary-blue);
      padding-left: 20px;
    }

    .dropdown:hover .dropdown-content {
      display: block;
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    .dropdown .dropbtn i {
      margin-left: 5px;
      font-size: 0.8em;
      transition: transform 0.3s ease;
    }

    .dropdown:hover .dropbtn i {
      transform: rotate(180deg);
    }

    /* Mobile dropdown styles */
    @media (max-width: 768px) {
      .header-container {
        padding: 0 1.5rem;
      }

      .mobile-toggle {
        display: block;
        z-index: 1001;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--primary-blue);
      }

      nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        z-index: 1000;
      }

      nav.active {
        max-height: 500px;
        overflow-y: auto;
      }

      nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0;
        margin: 0;
      }

      nav li {
        padding: 0;
        border-bottom: 1px solid #f1f1f1;
        position: relative;
      }

      nav a {
        display: block;
        padding: 1rem 2rem;
        width: 100%;
        text-align: left;
        border: none;
        background: none;
        font-size: 1rem;
        color: #333;
        text-decoration: none;
      }

      nav a::after {
        display: none;
      }

      /* Improved Dropdown styles for mobile */
      .dropdown-content {
        position: static;
        box-shadow: none;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding-left: 0;
        background-color: #f8f9fa;
        border-top: 1px solid #e9ecef;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
      }

      .dropdown.active .dropdown-content {
        display: block;
        max-height: 300px;
      }

      .dropdown-content a {
        padding: 0.8rem 3rem;
        border-bottom: 1px solid #e9ecef;
        color: #666;
        font-size: 0.95rem;
      }

      .dropdown-content a:hover {
        background-color: #e9ecef;
        color: var(--primary-blue);
        padding-left: 3.5rem;
      }

      .dropdown .dropbtn {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
      }

      .dropdown .dropbtn i {
        transition: transform 0.3s ease;
        font-size: 0.8em;
        margin-left: 10px;
      }

      .dropdown.active .dropbtn i {
        transform: rotate(180deg);
      }

      /* Ensure dropdown links look different from main nav items */
      .dropdown-content a {
        background-color: #f8f9fa;
        font-weight: normal;
      }

      .dropdown-content a:last-child {
        border-bottom: none;
      }
    }

    /* Reduce header logo sizes */
    .header-container .logo img {
      height: 50px;
      /* Reduced from 50px */
      width: auto;
      transition: transform 0.3s ease;
    }

    /* Navigation Styles */

    nav ul {
      display: flex;
      gap: 1.8rem;
      list-style: none;
      margin: 0;
      padding: 0;
    }

    nav a {
      color: #333;
      text-decoration: none;
      font-weight: 500;
      font-size: 1.1rem;
      position: relative;
      padding: 0.5rem 0;
      transition: color 0.3s ease;
    }

    nav a:hover {
      color: #0066cc;
    }

    /* Animated underline effect */

    nav a::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background-color: #0066cc;
      transition: width 0.3s ease;
    }

    nav a:hover::after {
      width: 100%;
    }

    body.menu-open {
      overflow: hidden;
      /* Optional: prevents scrolling when menu is open */
    }

    /* Mobile Toggle */

    .mobile-toggle {
      display: none;
      cursor: pointer;
      font-size: 1.5rem;
    }

    /* Responsive Design */

    @media (max-width: 768px) {
      .header-container {
        padding: 0 1.5rem;
      }

      .mobile-toggle {
        display: block;
      }

      nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease;
      }

      nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
      }

      nav ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
      }

      nav li {
        padding: 0.8rem 2rem;
        border-bottom: 1px solid #f1f1f1;
      }

      nav a::after {
        display: none;
      }
    }

    /* Decorative Line in Hero Section Only */
    .hero .decorative-line {
      position: absolute;
      /* Changed from fixed to absolute */
      top: 10px;
      /* ADJUST: Distance from top of hero section */
      left: 50%;
      /* ADJUST: Horizontal position (50% = center) */
      transform: translateX(-50%);
      /* Centers the line */
      width: 75%;
      /* ADJUST: Length of line */
      height: 2px;
      /* ADJUST: Thickness of line */
      background: #001f3f;
      /* Same color as hero h1 */
      z-index: 2;
      /* Above Spline background, below content */
      pointer-events: none;
      opacity: 0;
      animation: fadeInLine 1s ease-in-out forwards;
      animation-delay: 0.5s;
    }

    /* Optional: Add glow effect */
    .hero .decorative-line::after {
      content: "";
      position: absolute;
      top: -2px;
      left: 0;
      width: 100%;
      height: 6px;
      background: rgba(0, 31, 63, 0.3);
      filter: blur(4px);
      animation: glowPulse 3s ease-in-out infinite;
      animation-delay: 1.5s;
    }

    @keyframes fadeInLine {
      to {
        opacity: 1;
      }
    }

    @keyframes glowPulse {

      0%,
      100% {
        opacity: 0.4;
      }

      50% {
        opacity: 0.8;
      }
    }

    /* Responsive adjustments */
    @media (max-width: 992px) {
      .hero .decorative-line {
        top: 90px;
        /* ADJUST: For tablet */
        width: 70%;
        /* ADJUST: Length on tablet */
      }
    }

    @media (max-width: 768px) {
      .hero .decorative-line {
        top: 80px;
        /* ADJUST: For mobile */
        width: 80%;
        /* ADJUST: Length on mobile */
        height: 1.5px;
        /* ADJUST: Thickness on mobile */
      }
    }

    @media (max-width: 576px) {
      .hero .decorative-line {
        top: 70px;
        /* ADJUST: For small mobile */
        width: 90%;
        /* ADJUST: Length on small mobile */
        height: 1px;
        /* ADJUST: Thickness on small mobile */
      }
    }

    /* Nested Dropdown Styles */
    .dropdown-nested {
      position: relative;
    }

    .dropdown-nested .has-submenu {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .dropdown-nested .has-submenu i {
      margin-left: 10px;
      font-size: 0.8em;
      transition: transform 0.3s ease;
    }

    .dropdown-submenu {
      display: none;
      position: absolute;
      left: 100%;
      top: 0;
      background-color: var(--white);
      min-width: 280px;
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
      border-radius: 4px;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
      transform: translateX(10px);
      z-index: 1001;
    }

    .dropdown-nested:hover .dropdown-submenu {
      display: block;
      opacity: 1;
      visibility: visible;
      transform: translateX(0);
    }

    .dropdown-submenu a {
      color: var(--dark-gray);
      padding: 12px 16px;
      text-decoration: none;
      display: block;
      text-align: left;
      transition: all 0.2s ease;
      font-size: 0.95rem;
      white-space: nowrap;
    }

    .dropdown-submenu a:hover {
      background-color: var(--light-blue);
      color: var(--primary-blue);
      padding-left: 20px;
    }

    /* Hover effect for parent item with submenu */
    .dropdown-nested:hover>.has-submenu {
      background-color: var(--light-blue);
      color: var(--primary-blue);
    }

    .dropdown-nested:hover .has-submenu i {
      transform: translateX(3px);
    }

    /* Mobile Nested Dropdown Styles */
    @media (max-width: 768px) {
      .dropdown-nested {
        position: relative;
      }

      .dropdown-nested .has-submenu {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 1rem 2rem;
        background: none;
        border: none;
        color: #333;
        text-align: left;
        cursor: pointer;
      }

      .dropdown-nested .has-submenu i {
        transition: transform 0.3s ease;
        margin-left: auto;
      }

      .dropdown-submenu {
        position: static;
        box-shadow: none;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: #f0f0f0;
        border-top: 1px solid #e0e0e0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding-left: 0;
      }

      .dropdown-nested.active .dropdown-submenu {
        display: block;
        max-height: 500px;
      }

      .dropdown-nested.active .has-submenu i {
        transform: rotate(90deg);
      }

      .dropdown-submenu a {
        padding: 0.8rem 3.5rem;
        border-bottom: 1px solid #e0e0e0;
        color: #555;
        font-size: 0.9rem;
        background-color: #f0f0f0;
      }

      .dropdown-submenu a:hover {
        background-color: #e0e0e0;
        color: var(--primary-blue);
        padding-left: 4rem;
      }

      .dropdown-submenu a:last-child {
        border-bottom: none;
      }

      /* Prevent desktop hover on mobile */
      .dropdown-nested:hover .dropdown-submenu {
        display: none;
      }

      .dropdown-nested.active:hover .dropdown-submenu {
        display: block;
      }
    }


    /* Triple Nested Dropdown (Level 3 - Liability Insurance sub-items) */
    .dropdown-triple-nested {
      position: relative;
    }

    .dropdown-triple-nested .has-submenu-triple {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .dropdown-triple-nested .has-submenu-triple i {
      margin-left: 10px;
      font-size: 0.8em;
      transition: transform 0.3s ease;
    }

    .dropdown-submenu-triple {
      display: none;
      position: absolute;
      left: 100%;
      top: 0;
      background-color: var(--white);
      min-width: 250px;
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
      border-radius: 4px;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
      transform: translateX(10px);
      z-index: 1003;
    }

    .dropdown-triple-nested:hover .dropdown-submenu-triple {
      display: block;
      opacity: 1;
      visibility: visible;
      transform: translateX(0);
    }

    .dropdown-submenu-triple a {
      color: #333;
      padding: 10px 16px;
      text-decoration: none;
      display: block;
      transition: all 0.2s ease;
      font-size: 0.9rem;
    }

    .dropdown-submenu-triple a:hover {
      background-color: var(--light-blue);
      color: var(--primary-blue);
      padding-left: 20px;
    }

    /* Hover effects */
    .dropdown-nested:hover>.has-submenu,
    .dropdown-triple-nested:hover>.has-submenu-triple {
      background-color: var(--light-blue);
      color: var(--primary-blue);
    }

    .dropdown-nested:hover .has-submenu i,
    .dropdown-triple-nested:hover .has-submenu-triple i {
      transform: translateX(3px);
    }

    /* Mobile Styles */
    @media (max-width: 768px) {
      .mobile-toggle {
        display: block;
        z-index: 1001;
      }

      nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        z-index: 1000;
      }

      nav.active {
        max-height: 80vh;
        overflow-y: auto;
      }

      nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0;
      }

      nav li {
        border-bottom: 1px solid #f1f1f1;
      }

      nav a {
        display: block;
        padding: 1rem 2rem;
      }

      .dropdown-content {
        position: static;
        box-shadow: none;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: #f8f9fa;
        border-top: 1px solid #e9ecef;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
      }

      .dropdown.active .dropdown-content {
        display: block;
        max-height: 500px;
      }

      .dropdown-content a {
        padding: 0.8rem 3rem;
        border-bottom: 1px solid #e9ecef;
        font-size: 0.95rem;
      }

      /* Mobile Level 2 (General Insurance submenu) */
      .dropdown-submenu {
        position: static;
        box-shadow: none;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: #f0f0f0;
        border-top: 1px solid #e0e0e0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
      }

      .dropdown-nested.active .dropdown-submenu {
        display: block;
        max-height: 600px;
      }

      .dropdown-submenu a {
        padding: 0.8rem 3.5rem;
        border-bottom: 1px solid #e0e0e0;
        color: #555;
        background-color: #f0f0f0;
      }

      /* Mobile Level 3 (Liability Insurance submenu) */
      .dropdown-submenu-triple {
        position: static;
        box-shadow: none;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: #e8e8e8;
        border-top: 1px solid #d0d0d0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
      }

      .dropdown-triple-nested.active .dropdown-submenu-triple {
        display: block;
        max-height: 400px;
      }

      .dropdown-submenu-triple a {
        padding: 0.7rem 4.5rem;
        border-bottom: 1px solid #d0d0d0;
        color: #444;
        background-color: #e8e8e8;
        font-size: 0.9rem;
      }

      .dropdown-nested .has-submenu,
      .dropdown-triple-nested .has-submenu-triple {
        display: flex;
        justify-content: space-between;
        width: 100%;
      }

      .dropdown-nested .has-submenu i,
      .dropdown-triple-nested .has-submenu-triple i {
        transition: transform 0.3s ease;
      }

      .dropdown-nested.active .has-submenu i,
      .dropdown-triple-nested.active .has-submenu-triple i {
        transform: rotate(90deg);
      }

      /* Prevent desktop hover on mobile */
      .dropdown-nested:hover .dropdown-submenu,
      .dropdown-triple-nested:hover .dropdown-submenu-triple {
        display: none;
      }

      .dropdown-nested.active:hover .dropdown-submenu,
      .dropdown-triple-nested.active:hover .dropdown-submenu-triple {
        display: block;
      }
    }

    /* Demo content */
    .content {
      max-width: 1200px;
      margin: 0 auto;
      padding: 40px 20px;
    }

    .content h1 {
      color: var(--primary-blue);
      margin-bottom: 20px;
    }

    .content p {
      line-height: 1.6;
      color: #333;
    }

    /* Hero Section */

    /* Hero Part 1 - Left Content - UPDATED WITH POSITIONING CONTROLS */
    .hero-part-1 {
      position: relative;
      min-height: 100vh;
      display: flex;
      align-items: center;
      z-index: 2;
      padding: 125px 0 100px;
      pointer-events: none;
      /* ADD THIS - makes container non-blocking */
    }

    .hero-part-1 .container {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      max-width: 1200px;
      width: 100%;
      padding: 0 2rem;
      pointer-events: none;
      /* Keep as none */
    }

    .hero-left {
      flex: 0 1 auto;
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      text-align: right;
      margin-right: 0;
      margin-left: auto;
      padding-right: clamp(8px, 1.5vw, 24px);
      position: relative;
      z-index: 3;
      pointer-events: auto;
      /* CHANGE FROM none TO auto */
      opacity: 0;
      transform: translateX(50px);
      transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      max-width: 640px;
      width: 100%;
    }

    .hero-left.reveal {
      opacity: 1;
      transform: translateX(0);
    }

    .hero-left h1 {
      font-size: 4.5rem;
      margin-bottom: 0.5rem;
      margin-top: -150px;
      color: #001f3f;
      font-weight: 490;
      text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
      line-height: 1.1;
      text-transform: uppercase;
      pointer-events: auto;
    }

    /* Hero Part 2 - Right Content - UPDATED WITH POSITIONING CONTROLS */
    .hero-part-2 {
      position: relative;
      min-height: 100vh;
      display: flex;
      align-items: center;
      z-index: 2;
      padding: 100px 0;
      pointer-events: none;
      /* ADD THIS - makes container non-blocking */
    }

    .hero-part-2 .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      max-width: 1200px;
      width: 100%;
      padding: 0 2rem;
      gap: clamp(24px, 4vw, 56px);
      pointer-events: none;
      /* Keep as none */
    }

    .hero-right {
      flex: 1 1 auto;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      text-align: left;
      margin: 0;
      position: relative;
      z-index: 3;
      pointer-events: auto;
      /* CHANGE FROM none TO auto */
      opacity: 0;
      transform: translateX(50px);
      transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      max-width: 520px;
    }

    .hero-right.reveal {
      opacity: 1;
      transform: translateX(0);
    }

    .hero-right h2,
    .hero-right h3 {
      pointer-events: auto;
    }

    .hero-right h2 {
      font-size: 4rem;
      color: #001f3f;
      font-weight: 490;
      margin-bottom: 1.5rem;
      line-height: 1.1;
      text-transform: uppercase;
      text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
      text-align: left;
    }

    .hero-right h3 {
      font-size: 2.2rem;
      /* SMALLER - reduced from 4.5rem */
      color: #001f3f;
      font-weight: 700;
      /* BOLDER - increased from 490 */
      margin-bottom: 2rem;
      line-height: 1.1;
      text-transform: uppercase;
      text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
      text-align: right;
      letter-spacing: 1px;
      /* Added for better subheading look */
    }

    .hero-buttons {
      display: flex;
      gap: 20px;
      margin-top: 30px;
      position: relative;
      z-index: 3;
      pointer-events: auto;
      justify-content: flex-end;
    }

    /* ============================================
   RESPONSIVE MEDIA QUERIES FOR HERO SECTIONS
   ============================================ */

    /* Large tablets and small desktops (992px - 1200px) */
    @media (max-width: 1200px) {
      .hero-left h1 {
        font-size: 3.8rem;
      }

      .hero-right h2 {
        font-size: 3.8rem;
      }

      .hero-right h3 {
        font-size: 1.9rem;
      }

      .hero-left,
      .hero-right {
        max-width: 650px;
        margin-right: 0;
      }
    }

    /* Tablets (768px - 992px) */
    @media (max-width: 992px) {

      .hero-part-1,
      .hero-part-2 {
        min-height: 80vh;
        padding: 100px 0 80px;
      }

      .hero-left h1 {
        font-size: 3.2rem;
      }

      .hero-right h2 {
        font-size: 3.2rem;
      }

      .hero-right h3 {
        font-size: 1.6rem;
      }

      .hero-left,
      .hero-right {
        max-width: 550px;
        margin-right: 0;
        margin-left: 0;
        align-items: center;
        text-align: center;
      }

      .hero-part-2 .container {
        justify-content: center;
      }

      .hero-buttons {
        justify-content: center;
      }
    }

    /* Small tablets and large phones (576px - 768px) */
    @media (max-width: 768px) {

      .hero-part-1,
      .hero-part-2 {
        min-height: 70vh;
        padding: 80px 0 60px;
      }

      .hero-left h1 {
        font-size: 2.5rem;
        line-height: 1.2;
      }

      .hero-right h2 {
        font-size: 2.5rem;
        line-height: 1.2;
      }

      .hero-right h3 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
      }

      .hero-left,
      .hero-right {
        max-width: 90%;
        padding: 0 20px;
      }

      .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
      }
    }

    /* Mobile phones (up to 576px) */
    @media (max-width: 576px) {

      .hero-part-1,
      .hero-part-2 {
        min-height: 60vh;
        padding: 60px 0 40px;
      }

      .hero-left h1 {
        font-size: 2rem;
      }

      .hero-right h2 {
        font-size: 2rem;
      }

      .hero-right h3 {
        font-size: 1.1rem;
      }

      .hero-left,
      .hero-right {
        max-width: 95%;
      }

      .hero-buttons {
        gap: 15px;
      }

      .hero-buttons .btn {
        width: 100%;
        padding: 12px 24px;
        font-size: 0.9rem;
      }
    }

    /* Extra small devices (up to 400px) */
    @media (max-width: 400px) {
      .hero-left h1 {
        font-size: 1.8rem;
      }

      .hero-right h2 {
        font-size: 1.8rem;
      }

      .hero-right h3 {
        font-size: 1rem;
      }

      .hero-part-1,
      .hero-part-2 {
        padding: 50px 0 30px;
      }
    }

    /* Landscape orientation for mobile */
    @media (max-height: 600px) and (orientation: landscape) {

      .hero-part-1,
      .hero-part-2 {
        min-height: 120vh;
        padding: 80px 0 60px;
      }

      .hero-left h1,
      .hero-right h2 {
        font-size: 2.2rem;
      }

      .hero-right h3 {
        font-size: 1.2rem;
      }
    }

    /* High-resolution displays */
    @media (min-width: 1400px) {
      .hero-left h1 {
        font-size: 5rem;
      }

      .hero-right h2 {
        font-size: 5rem;
      }

      .hero-right h3 {
        font-size: 2.5rem;
      }

      .hero-left,
      .hero-right {
        max-width: 900px;
      }
    }

    /* Print styles */
    @media print {

      .hero-part-1,
      .hero-part-2 {
        min-height: auto;
        padding: 50px 0;
      }

      .hero-left h1,
      .hero-right h2 {
        color: #000;
        text-shadow: none;
      }

      .hero-right h3 {
        color: #333;
      }
    }

    /* ============================================
       HERO CHALLENGE FORM SECTION
       ============================================ */

    .hero-part-3 {
      position: relative;
      min-height: 100vh;
      display: flex;
      align-items: center;
      z-index: 2;
      padding: 100px 0;
      pointer-events: none;
    }

    .hero-part-3 .container {
      pointer-events: auto;
      display: flex;
      justify-content: flex-end;
    }

    .hero-challenge-form {
      flex: 0 1 auto;
      max-width: 620px;
      width: 100%;
      background: linear-gradient(145deg,
          rgba(255, 255, 255, 0.95),
          rgba(248, 249, 250, 0.95));
      backdrop-filter: blur(15px);
      border-radius: 20px;
      padding: 20px 30px;
      box-shadow: 0 20px 60px rgba(0, 102, 204, 0.15),
        0 10px 30px rgba(0, 0, 0, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.8);
      position: relative;
      z-index: 3;
      pointer-events: auto;
      margin-right: 0;
      margin-left: auto;
      opacity: 0;
      transform: translateX(50px);
      transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }





    .hero-challenge-form.reveal {
      opacity: 1;
      transform: translateX(0);
    }

    /* Gradient border effect */
    .hero-challenge-form::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: linear-gradient(90deg, #0066cc, #00aaff, #0066cc);
      background-size: 200% 100%;
      animation: gradientShift 3s ease infinite;
      border-radius: 20px 20px 0 0;
    }

    .hero-challenge-form h3 {
      font-size: 1.6rem;
      font-weight: 700;
      color: var(--primary-blue);
      text-align: center;
      margin-bottom: 8px;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .challenge-subtitle {
      font-size: 1rem;
      color: #666;
      text-align: center;
      margin-bottom: 25px;
      font-weight: 400;
    }

    /* Challenge Options */
    .challenge-options {
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-bottom: 25px;
      max-height: 450px;
      overflow-y: auto;
      padding-right: 5px;
    }

    /* Scrollbar styling */
    .challenge-options::-webkit-scrollbar {
      width: 6px;
    }

    .challenge-options::-webkit-scrollbar-track {
      background: #f1f1f1;
      border-radius: 3px;
    }

    .challenge-options::-webkit-scrollbar-thumb {
      background: #c1c1c1;
      border-radius: 3px;
    }

    .challenge-options::-webkit-scrollbar-thumb:hover {
      background: #a8a8a8;
    }

    /* Challenge Option Card */
    .challenge-option-card {
      position: relative;
      display: flex;
      align-items: center;
      padding: 10px;
      background: white;
      border: 2px solid #e0e0e0;
      border-radius: 12px;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .challenge-option-card:hover {
      border-color: var(--primary-blue);
      box-shadow: 0 4px 15px rgba(0, 102, 204, 0.15);
      transform: translateX(3px);
    }

    .challenge-option-card input[type="checkbox"] {
      position: absolute;
      opacity: 0;
      cursor: pointer;
    }

    /* Square checkbox */
    .challenge-checkbox {
      position: absolute;
      top: 15px;
      left: 15px;
      width: 20px;
      height: 20px;
      border: 2px solid #d0d0d0;
      border-radius: 5px;
      /* CHANGED FROM 50% TO 5px FOR SQUARE */
      background: white;
      transition: all 0.3s ease;
    }

    .challenge-option-card input[type="checkbox"]:checked~.challenge-checkbox {
      background: #0d3d75;
      border-color: #0d3d75;
      animation: checkPulse 0.3s ease;
    }

    .challenge-option-card input[type="checkbox"]:checked {
      border-color: #0d3d75;
      background-color: rgba(13, 61, 117, 0.05);
    }

    /* Content styling */
    .challenge-content {
      display: flex;
      align-items: center;
      gap: 15px;
      margin-left: 35px;
      opacity: 0.7;
      transition: opacity 0.3s ease;
    }

    .challenge-option-card input[type="checkbox"]:checked~.challenge-content {
      opacity: 1;
    }

    .challenge-icon {
      width: 45px;
      height: 45px;
      min-width: 45px;
      background: linear-gradient(135deg,
          var(--primary-blue) 0%,
          var(--accent-blue) 100%);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.3s ease;
    }

    .challenge-option-card:hover .challenge-icon {
      transform: scale(1.05);
    }

    .challenge-option-card input[type="checkbox"]:checked~.challenge-content .challenge-icon {
      background: linear-gradient(135deg, #0d3d75 0%, #002244 100%);
    }

    .challenge-icon i {
      font-size: 1.2rem;
      color: white;
    }

    .challenge-text h4 {
      font-size: 1rem;
      font-weight: 700;
      color: var(--primary-blue);
      margin-bottom: 3px;
      line-height: 1.3;
    }

    .challenge-option-card input[type="checkbox"]:checked~.challenge-content .challenge-text h4 {
      color: #0d3d75;
      font-weight: 700;
    }

    .challenge-text p {
      font-size: 0.85rem;
      color: #666;
      line-height: 1.3;
      margin: 0;
    }

    .challenge-option-card input[type="checkbox"]:checked~.challenge-content .challenge-text p {
      color: #333;
      font-weight: 500;
    }

    /* Submit Button */
    .challenge-submit-btn {
      width: 100%;
      padding: 14px 32px;
      background: linear-gradient(135deg, #0066cc 0%, #0078d8 100%);
      color: white;
      border: none;
      border-radius: 50px;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      text-transform: uppercase;
      letter-spacing: 1px;
      box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
    }

    .challenge-submit-btn:hover {
      background: linear-gradient(135deg, #0078d8 0%, #00aaff 100%);
      color: white;
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
    }

    .challenge-submit-btn:active {
      transform: translateY(0);
    }

    /* ============================================
       CHALLENGE POPUP
       ============================================ */

    .challenge-popup {
      position: fixed;
      overflow: scroll;
      top: 0px;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 10002;
      display: none;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .challenge-popup.active {
      display: flex;
      opacity: 1;
    }

    .challenge-popup-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.7);
      backdrop-filter: blur(5px);
    }

    .challenge-popup-content {
      position: relative;
      width: 90%;
      max-width: 600px;
      background: white;
      border-radius: 20px;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
      z-index: 10003;
      transform: scale(0.9);
      transition: transform 0.3s ease;
      overflow: hidden;
    }

    .challenge-popup.active .challenge-popup-content {
      transform: scale(1);
    }

    .challenge-popup-close {
      position: absolute;
      top: 20px;
      right: 20px;
      width: 40px;
      height: 40px;
      background: rgba(255, 255, 255, 0.9);
      border: none;
      border-radius: 50%;
      cursor: pointer;
      transition: all 0.3s ease;
      z-index: 10;
      font-size: 1.5rem;
      color: #333;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .challenge-popup-close:hover {
      background: white;
      transform: rotate(90deg) scale(1.1);
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    .challenge-popup-header {
      padding: 50px 40px 30px;
      background: linear-gradient(135deg, #0d3d75 0%, #0066cc 100%);
      text-align: center;
      color: white;
    }

    .challenge-popup-icon {
      width: 80px;
      height: 80px;
      background: rgba(255, 255, 255, 0.2);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 20px;
      animation: iconPulse 2s ease-in-out infinite;
    }

    @keyframes iconPulse {

      0%,
      100% {
        transform: scale(1);
      }

      50% {
        transform: scale(1.05);
      }
    }

    .challenge-popup-icon i {
      font-size: 2.5rem;
      color: white;
    }

    .challenge-popup-header h2 {
      font-size: 2rem;
      margin: 0;
      color: white;
      font-weight: 700;
    }

    .challenge-popup-body {
      padding: 40px;
      text-align: center;
    }

    .challenge-popup-body p {
      font-size: 1rem;
      line-height: 1.4;
      color: #4a5568;
      margin-bottom: 20px;
    }

    .challenge-tagline {
      font-size: 1rem;
      color: #0066cc;
      font-weight: 600;
      font-style: italic;
    }

    .challenge-popup-actions {
      padding: 0 40px 40px;
      display: flex;
      gap: 15px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .challenge-popup-actions .btn {
      padding: 16px 35px;
      font-size: 1.05rem;
      border-radius: 50px;
      display: flex;
      align-items: center;
      gap: 12px;
      transition: all 0.3s ease;
      font-weight: 600;
      letter-spacing: 0.3px;
      border: none;
      cursor: pointer;
    }

    .challenge-popup-actions .btn-primary {
      background: linear-gradient(135deg, #0d3d75 0%, #0066cc 100%);
      color: white;
      box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
    }

    /* Fix for challenge popup button hover */
    .challenge-popup-actions .btn-primary:hover {
      background: linear-gradient(135deg, #0d3d75 0%, #0066cc 100%) !important;
      color: white !important;
    }

    .challenge-popup-actions .btn-secondary {
      background: white;
      color: #0066cc;
      border: 2px solid #0066cc;
    }

    .challenge-popup-actions .btn-secondary:hover {
      background: #f5f5f5;
      transform: translateY(-3px);
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    /* ============================================
       RESPONSIVE DESIGN
       ============================================ */

    @media (max-width: 1200px) {
      .hero-challenge-form {
        margin-right: 40px;
        max-width: 440px;
      }
    }

    @media (max-width: 992px) {
      .hero-part-3 {
        min-height: auto;
        padding: 60px 0;
      }

      .hero-part-3 .container {
        justify-content: center;
      }

      .hero-challenge-form {
        margin-right: 0;
        max-width: 500px;
      }
    }

    @media (max-width: 768px) {
      .hero-challenge-form {
        padding: 30px 20px;
        max-width: 100%;
      }

      .hero-challenge-form h3 {
        font-size: 1.4rem;
      }

      .challenge-options {
        max-height: 350px;
      }

      .challenge-option-card {
        padding: 12px;
      }

      .challenge-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
      }

      .challenge-text h4 {
        font-size: 0.95rem;
      }

      .challenge-text p {
        font-size: 0.8rem;
      }

      .challenge-popup-content {
        width: 95%;
      }

      .challenge-popup-header {
        padding: 40px 25px 25px;
      }

      .challenge-popup-header h2 {
        font-size: 1.6rem;
      }

      .challenge-popup-body {
        padding: 30px 25px;
      }

      .challenge-popup-body p {
        font-size: 1rem;
      }

      .challenge-popup-actions {
        padding: 0 25px 30px;
        flex-direction: column;
      }

      .challenge-popup-actions .btn {
        width: 100%;
        justify-content: center;
      }
    }

    @media (max-width: 576px) {
      .hero-challenge-form h3 {
        font-size: 1.2rem;
      }

      .challenge-subtitle {
        font-size: 0.9rem;
      }

      .challenge-popup-header h2 {
        font-size: 1.4rem;
      }

      .challenge-popup-icon {
        width: 60px;
        height: 60px;
      }

      .challenge-popup-icon i {
        font-size: 2rem;
      }
    }

    /* Extended Background Container for Spline */
    .hero-bg-container {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 150vh;
      z-index: 0;
      /* Keep at 0 - behind content */
      pointer-events: auto;
      /* ALREADY CORRECT - allows interaction */
    }

    .hero-bg-container spline-viewer {
      width: 100%;
      height: 100%;
      opacity: 0.35;
      /* KEY */
      pointer-events: none;
    }

    #heroSpline {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: auto;
      /* ALREADY CORRECT - allows interaction */
    }

    .hero {
      position: relative;
      /* Add this to contain the absolute positioned spline */
      min-height: 100vh;
      background: transparent;
      overflow: hidden;
      /* Prevent spillover */

    }

    /* Responsive Design Updates */
    @media (max-width: 992px) {

      .hero-left,
      .hero-right {
        flex: 1 1 100%;
        align-items: center;
        margin-left: 0;
        margin-right: 5%;
        margin-top: 0;
        /* Reset margin-top on tablet */
        text-align: center;
      }

      .hero-left h1,
      .hero-right h2,
      .hero-right h3 {
        font-size: 3rem;
        text-align: center;
      }

      .hero-buttons {
        justify-content: center;
      }

      .hero-part-1,
      .hero-part-2 {
        min-height: 70vh;
        z-index: 2;
      }
    }

    @media (max-width: 768px) {

      .hero-part-1,
      .hero-part-2 {
        padding: 120px 0 80px;
        min-height: 60vh;
      }

      .hero-left h1,
      .hero-right h2,
      .hero-right h3 {
        font-size: 2rem;
        text-align: center;
      }

      .hero-right {
        align-items: center;
        margin-right: 0;
        margin-left: 0;
        /* Reset on mobile */
      }

      .hero-buttons {
        flex-direction: column;
        width: 100%;
        justify-content: center;
      }

      .btn-primary,
      .btn-secondary {
        width: 100%;
      }
    }

    @media (max-width: 576px) {

      .hero-left h1,
      .hero-right h2,
      .hero-right h3 {
        font-size: 1.6rem;
      }
    }

    /* Turnover Form Section */
    .turnover-form {
      scroll-margin-top: 100px;
      padding: 40px 0;
      background: linear-gradient(to bottom,
          #f8f9fa 0%,
          #e6f2ff 50%,
          #e6f2ff 100%
          /* Changed to continue the blue gradient */
        );
      position: relative;
      overflow: hidden;
    }

    .turnover-form .container {
      max-width: 1000px;
      margin: 0 auto;
      padding: 0 40px;
    }

    .form-header {
      text-align: center;
      margin-bottom: 24px;
    }

    .form-header h2 {
      font-size: 2.2rem;
      font-weight: 600;
      color: var(--primary-blue);
      margin-bottom: 6px;
      letter-spacing: 1px;
    }

    .form-header p {
      font-size: 1rem;
      color: var(--dark-gray);
      line-height: 1.5;
    }

    .turnover-table {
      width: 100%;
      border-collapse: collapse;
      background: #ffffff;
      border-radius: 12px;
      box-shadow: var(--shadow);
      overflow: hidden;
      margin-bottom: 30px;
    }

    .turnover-table td {
      padding: 20px;
      border-bottom: 1px solid #e0e0e0;
      vertical-align: middle;
    }

    .label-cell {
      font-weight: 600;
      color: var(--primary-blue);
      background: var(--light-blue);
      width: 40%;
      font-size: 1.1rem;
    }

    .input-cell {
      width: 30%;
      text-align: center;
    }

    .input-cell label {
      display: block;
      font-size: 0.9rem;
      color: var(--dark-gray);
      margin-bottom: 8px;
      font-weight: 500;
    }

    .input-cell input {
      width: 100%;
      max-width: 200px;
      padding: 12px 16px;
      border: 1px solid #e0e0e0;
      border-radius: 6px;
      font-family: inherit;
      font-size: 1rem;
      transition: all 0.3s ease;
      background: #ffffff;
      color: var(--dark-gray);
    }

    .input-cell input:focus {
      outline: none;
      border-color: var(--primary-blue);
      box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    }

    .input-cell input:invalid {
      border-color: #ff6b6b;
    }

    .form-submit {
      text-align: center;
    }

    .form-submit .submit-btn {
      padding: 14px 40px;
      background: var(--primary-blue);
      color: var(--white);
      border: none;
      border-radius: 50px;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .form-submit .submit-btn:hover {
      background: var(--accent-blue);
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
    }

    /* Responsive Design */
    @media (max-width: 768px) {
      .turnover-table {
        font-size: 0.9rem;
      }

      .turnover-table td {
        padding: 15px 10px;
      }

      .label-cell {
        width: 100%;
        display: block;
        text-align: center;
        border-bottom: none;
        background: none;
        padding-bottom: 10px;
      }

      .input-cell {
        width: 50%;
        display: inline-block;
        text-align: left;
      }

      .input-cell input {
        max-width: 150px;
      }

      .form-header h2 {
        font-size: 2rem;
      }

      .form-header p {
        font-size: 1rem;
      }
    }

    @media (max-width: 576px) {
      .input-cell {
        width: 100%;
        display: block;
        margin-bottom: 15px;
      }

      .input-cell input {
        max-width: 100%;
      }
    }

    /* ============================================
   MOBILE FIXES FOR TURNOVER FORM
   ============================================ */

    @media (max-width: 768px) {
      .turnover-form {
        padding: 30px 0;
      }

      .form-header {
        margin-bottom: 20px;
      }

      .form-header h2 {
        font-size: 1.8rem;
      }

      .form-header p {
        font-size: 0.9rem;
      }

      /* Fix the main grid layout */
      .turnover-form-wrapper {
        grid-template-columns: 1fr !important;
        /* Stack columns vertically */
        gap: 20px;
        margin-bottom: 20px;
      }

      /* Assessment table fixes */
      .turnover-table {
        width: 100%;
        display: block;
        overflow-x: auto;
        /* Allow horizontal scrolling if needed */
        -webkit-overflow-scrolling: touch;
      }

      .turnover-table tbody {
        display: block;
      }

      .turnover-table tr {
        display: flex;
        flex-direction: column;
        margin-bottom: 15px;
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 15px;
      }

      .turnover-table tr:last-child {
        border-bottom: none;
        margin-bottom: 0;
      }

      .turnover-table td {
        display: flex;
        flex-direction: column;
        width: 100% !important;
        padding: 12px 15px;
        text-align: left !important;
        border: none;
      }

      /* Label cell styling */
      .label-cell {
        background: var(--light-blue);
        font-weight: 600;
        font-size: 1rem;
        margin-bottom: 10px;
        padding: 15px;
        border-radius: 8px;
        text-align: center;
        width: 100% !important;
      }

      /* Input cell styling */
      .input-cell {
        width: 100% !important;
        margin-bottom: 10px;
        padding: 0 15px;
      }

      .input-cell:last-child {
        margin-bottom: 0;
      }

      .input-cell label {
        font-size: 0.9rem;
        margin-bottom: 6px;
        text-align: left;
      }

      .input-cell input {
        max-width: 100% !important;
        width: 100%;
        padding: 12px 15px;
        font-size: 1rem;
      }

      /* Reasons section fixes */
      .reasons-section {
        padding: 20px;
        height: auto;
      }

      .reasons-title {
        font-size: 1.3rem;
      }

      .reasons-subtitle {
        font-size: 0.9rem;
        margin-bottom: 15px;
      }

      .reasons-checkboxes {
        max-height: none;
        overflow-y: visible;
      }

      .reason-checkbox-item {
        padding: 12px 15px;
      }

      .checkbox-custom {
        top: 12px;
        left: 15px;
      }

      .reason-content {
        margin-left: 40px;
      }

      .reason-icon-small {
        width: 40px;
        height: 40px;
        min-width: 40px;
      }

      .reason-text h4 {
        font-size: 0.95rem;
      }

      .reason-text p {
        font-size: 0.8rem;
      }

      /* Form submit button */
      .form-submit {
        margin-top: 15px;
        padding: 0 15px;
      }

      .form-submit .submit-btn {
        padding: 14px 30px;
        font-size: 0.95rem;
        width: 100%;
      }

      /* Assessment results popup on mobile */
      .results-container {
        width: 95%;
        max-height: 90vh;
        margin: 10px;
      }

      .results-header {
        padding: 30px 20px;
      }

      .results-header h2 {
        font-size: 1.5rem;
      }

      .results-content {
        padding: 20px;
      }
    }

    /* Extra small devices (phones, less than 480px) */
    @media (max-width: 480px) {
      .turnover-form-wrapper {
        gap: 15px;
      }

      .label-cell {
        font-size: 0.95rem;
        padding: 12px;
      }

      .input-cell {
        padding: 0 12px;
      }

      .input-cell input {
        padding: 10px 12px;
        font-size: 0.95rem;
      }

      .reasons-section {
        padding: 15px;
      }

      .reasons-title {
        font-size: 1.2rem;
      }

      .reason-checkbox-item {
        padding: 10px 12px;
      }

      .checkbox-custom {
        top: 10px;
        left: 12px;
        width: 18px;
        height: 18px;
      }

      .reason-content {
        margin-left: 35px;
        gap: 10px;
      }

      .reason-icon-small {
        width: 36px;
        height: 36px;
        min-width: 36px;
      }

      .reason-icon-small i {
        font-size: 1.1rem;
      }

      /* Make sure form is not too wide */
      .turnover-table {
        font-size: 0.9rem;
      }

      /* Fix horizontal scroll on very small screens */
      .container {
        width: 95%;
        padding: 0 10px;
      }
    }

    /* Reasons Section within Form */
    /* Adjust reasons section for side layout */
    .reasons-section {
      margin-top: 0 !important;
      padding: 25px 30px;
      background: linear-gradient(135deg, #f8f9fa 0%, #e6f2ff 100%);
      border-radius: 12px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
      height: 100%;
      display: flex;
      flex-direction: column;
    }

    .reasons-title {
      font-size: 1.8rem;
      /* INCREASED from 1.5rem */
      font-weight: 700;
      /* INCREASED from 600 */
      color: var(--primary-blue);
      text-align: center;
      margin-bottom: 10px;
      /* INCREASED from 8px */
      text-transform: uppercase;
      letter-spacing: 1.5px;
      /* INCREASED from 1px */
    }

    .reasons-subtitle {
      font-size: 1.05rem;
      /* INCREASED from 0.95rem */
      color: #333;
      /* CHANGED from #666 to darker color */
      text-align: center;
      margin-bottom: 20px;
      font-weight: 500;
      /* INCREASED from 400 */
    }

    /* Make checkbox item text more visible */
    .reason-text h4 {
      font-size: 1.05rem;
      /* INCREASED from 0.95rem */
      font-weight: 700;
      color: var(--primary-blue);
      margin-bottom: 5px;
      /* INCREASED from 3px */
      line-height: 1.3;
    }

    .reason-text p {
      font-size: 0.9rem;
      /* INCREASED from 0.8rem */
      color: #444;
      /* CHANGED from #666 to darker */
      line-height: 1.5;
      /* INCREASED from 1.4 */
      margin: 0;
      font-weight: 450;
      /* ADD weight for better visibility */
    }

    .reasons-checkboxes {
      display: grid;
      grid-template-columns: repeat(6,
          1fr);
      /* 6 columns for more precise control */
      gap: 20px;
      margin-bottom: 20px;
      max-width: 1000px;
      margin-left: auto;
      margin-right: auto;
    }

    /* First row - 3 boxes, each spanning 2 columns */
    .reason-checkbox-item:nth-child(1) {
      grid-column: 1 / 3;
    }

    .reason-checkbox-item:nth-child(2) {
      grid-column: 3 / 5;
    }

    .reason-checkbox-item:nth-child(3) {
      grid-column: 5 / 7;
    }

    /* Second row - 2 boxes centered between the gaps */
    .reason-checkbox-item:nth-child(4) {
      grid-column: 2 / 4;
      /* Positioned between box 1 and 2 */
    }

    .reason-checkbox-item:nth-child(5) {
      grid-column: 4 / 6;
      /* Positioned between box 2 and 3 */
    }

    .reason-checkbox-item {
      position: relative;
      display: flex;
      align-items: flex-start;
      padding: 20px;
      background: white;
      border: 2px solid #e0e0e0;
      border-radius: 12px;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .reason-checkbox-item:hover {
      border-color: var(--primary-blue);
      box-shadow: 0 4px 15px rgba(0, 102, 204, 0.15);
      transform: translateY(-2px);
    }

    .reason-checkbox-item input[type="checkbox"] {
      position: absolute;
      opacity: 0;
      cursor: pointer;
    }

    .checkbox-custom {
      position: absolute;
      top: 20px;
      /* Changed from 15px to 20px to match padding */
      left: 20px;
      /* Changed from 15px to 20px to match padding */
      width: 24px;
      height: 24px;
      border: 2px solid #d0d0d0;
      border-radius: 6px;
      background: white;
      transition: all 0.3s ease;
    }

    .reason-checkbox-item input[type="checkbox"]:checked~.checkbox-custom {
      background: var(--primary-blue);
      border-color: var(--primary-blue);
    }

    /* Remove the checkmark completely */
    .reason-checkbox-item input[type="checkbox"]:checked~.checkbox-custom {
      background: #0d3d75;
      /* Dark blue */
      border-color: #0d3d75;
    }

    .reason-checkbox-item input[type="checkbox"]:checked~.checkbox-custom::after {
      display: none;
      /* Remove the checkmark completely */
    }

    /* Make the entire card darker blue when selected */
    .reason-checkbox-item input[type="checkbox"]:checked~.reason-content {
      opacity: 1;
    }

    /* Optional: Make the entire card background slightly blue when selected */
    .reason-checkbox-item input[type="checkbox"]:checked {
      border-color: #0d3d75;
      background-color: rgba(13, 61, 117, 0.05);
      /* Very light blue background */
    }

    /* Make icon and text darker when selected */
    .reason-checkbox-item input[type="checkbox"]:checked~.reason-content .reason-icon-small {
      background: linear-gradient(135deg,
          #0d3d75 0%,
          #002244 100%);
      /* Darker blue gradient */
    }

    .reason-checkbox-item input[type="checkbox"]:checked~.reason-content .reason-text h4 {
      color: #0d3d75;
      /* Darker blue text */
      font-weight: 700;
    }

    .reason-checkbox-item input[type="checkbox"]:checked~.reason-content .reason-text p {
      color: #333;
      /* Darker text for better contrast */
      font-weight: 500;
    }

    /* Enhanced hover effect for selected items */
    .reason-checkbox-item input[type="checkbox"]:checked:hover {
      background-color: rgba(13, 61, 117, 0.08);
      transform: translateY(-2px);
      box-shadow: 0 4px 15px rgba(13, 61, 117, 0.25);
    }

    .reason-content {
      display: flex;
      align-items: flex-start;
      gap: 15px;
      margin-left: 50px;
      /* Increased from 45px to account for larger checkbox and padding */
      opacity: 0.7;
      transition: opacity 0.3s ease;
    }

    .reason-icon-small {
      width: 50px;
      height: 50px;
      min-width: 50px;
      background: linear-gradient(135deg,
          var(--primary-blue) 0%,
          var(--accent-blue) 100%);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.3s ease;
    }

    .reason-checkbox-item:hover .reason-icon-small {
      transform: scale(1.1);
    }

    .reason-icon-small i {
      font-size: 1.5rem;
      color: white;
    }

    .reason-text h4 {
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--primary-blue);
      margin-bottom: 5px;
      line-height: 1.3;
    }

    .reason-text p {
      font-size: 0.9rem;
      color: #666;
      line-height: 1.4;
      margin: 0;
    }

    .reasons-error {
      background: #fff3cd;
      border: 1px solid #ffc107;
      color: #856404;
      padding: 12px 20px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 0.95rem;
      animation: shake 0.5s;
    }

    .reasons-error i {
      font-size: 1.2rem;
    }

    @keyframes shake {

      0%,
      100% {
        transform: translateX(0);
      }

      25% {
        transform: translateX(-10px);
      }

      75% {
        transform: translateX(10px);
      }
    }

    /* Responsive Design for Reasons Section */
    @media (max-width: 968px) {
      .reasons-checkboxes {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
      }

      /* Reset to standard 2-column grid on tablets */
      .reason-checkbox-item:nth-child(1),
      .reason-checkbox-item:nth-child(2),
      .reason-checkbox-item:nth-child(3),
      .reason-checkbox-item:nth-child(4),
      .reason-checkbox-item:nth-child(5) {
        grid-column: auto;
      }
    }

    @media (max-width: 768px) {
      .reasons-section {
        padding: 30px 20px;
      }

      .reasons-title {
        font-size: 1.6rem;
      }

      .reasons-subtitle {
        font-size: 1rem;
      }

      .reasons-checkboxes {
        grid-template-columns: 1fr;
        gap: 15px;
      }

      .reason-checkbox-item {
        padding: 15px;
      }

      /* Single column on mobile - reset all positioning */
      .reason-checkbox-item:nth-child(1),
      .reason-checkbox-item:nth-child(2),
      .reason-checkbox-item:nth-child(3),
      .reason-checkbox-item:nth-child(4),
      .reason-checkbox-item:nth-child(5) {
        grid-column: auto;
      }

      .reason-content {
        margin-left: 35px;
      }

      .reason-icon-small {
        width: 45px;
        height: 45px;
        min-width: 45px;
      }

      .reason-icon-small i {
        font-size: 1.3rem;
      }

      .reason-text h4 {
        font-size: 1rem;
      }

      .reason-text p {
        font-size: 0.85rem;
      }
    }

    /* SMALLER CIRCULAR CHECKBOXES */
    .checkbox-custom {
      position: absolute;
      top: 20px;
      left: 20px;
      width: 20px;
      /* Smaller size */
      height: 20px;
      /* Smaller size */
      border: 2px solid #d0d0d0;
      border-radius: 50%;
      /* Makes it circular */
      background: white;
      transition: all 0.3s ease;
    }

    /* Dark blue circle when checked - NO TICK MARK */
    .reason-checkbox-item input[type="checkbox"]:checked~.checkbox-custom {
      background: #0d3d75;
      /* Dark blue */
      border-color: #0d3d75;
    }

    /* Remove any existing checkmark completely */
    .reason-checkbox-item input[type="checkbox"]:checked~.checkbox-custom::after {
      display: none;
    }

    /* Adjust content margin for smaller checkbox */
    .reason-content {
      display: flex;
      align-items: flex-start;
      gap: 15px;
      margin-left: 40px;
      /* Reduced from 50px */
      opacity: 0.7;
      transition: opacity 0.3s ease;
    }

    /* Optional: Add a subtle hover effect on the circle */
    .reason-checkbox-item:hover .checkbox-custom {
      border-color: var(--primary-blue);
      transform: scale(1.1);
    }

    /* Optional: Add a scale animation when checked */
    .reason-checkbox-item input[type="checkbox"]:checked~.checkbox-custom {
      animation: checkPulse 0.3s ease;
    }

    @keyframes checkPulse {
      0% {
        transform: scale(1);
      }

      50% {
        transform: scale(1.2);
      }

      100% {
        transform: scale(1);
      }
    }

    /* Wrapper for side-by-side layout */
    .turnover-form-wrapper {
      display: grid;
      grid-template-columns: minmax(520px, 1.05fr) minmax(420px, 0.95fr);
      gap: 80px;
      align-items: stretch;
      /* Make both boxes same height */
      margin-bottom: 24px;
      justify-content: center;
      /* ADD THIS - centers the grid */
      max-width: none;
      /* REMOVE max-width constraint */
      margin-left: auto;
      margin-right: auto;
    }

    /* Left column - Assessment table */
    .assessment-column {
      display: flex;
      flex-direction: column;
    }

    /* Make table take full height */
    .turnover-table {
      width: 100%;
      border-collapse: collapse;
      background: #ffffff;
      border-radius: 12px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
      overflow: hidden;
      height: 100%;
    }

    .turnover-table td {
      padding: 14px 16px;
      border-bottom: 1px solid #e0e0e0;
      vertical-align: middle;
    }

    .label-cell {
      font-weight: 600;
      color: var(--primary-blue);
      background: var(--light-blue);
      width: 40%;
      font-size: 0.95rem;
      padding: 18px 20px;
      line-height: 1.4;
    }

    .input-cell {
      width: 30%;
      text-align: center;
      padding: 18px 15px;
    }

    .input-cell label {
      display: block;
      font-size: 0.8rem;
      color: var(--dark-gray);
      margin-bottom: 4px;
      font-weight: 500;
    }

    .input-cell input {
      width: 100%;
      max-width: 180px;
      padding: 8px 12px;
      border: 1px solid #e0e0e0;
      border-radius: 6px;
      font-family: inherit;
      font-size: 0.9rem;
      transition: all 0.3s ease;
      background: #ffffff;
      color: var(--dark-gray);
    }

    /* Right column - Reasons section */
    .reasons-column {
      display: flex;
      flex-direction: column;
      height: 100%;
    }

    /* Adjust reasons section for side layout */
    .reasons-section {
      margin-top: 0 !important;
      padding: 0px 15px;
      background: linear-gradient(135deg, #f8f9fa 0%, #e6f2ff 100%);
      border-radius: 12px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
      height: 100%;
      display: flex;
      flex-direction: column;
      width: 100%;
    }

    .reasons-title {
      font-size: 1.1rem;
      font-weight: 650;
      color: var(--primary-blue);
      text-align: center;
      margin-bottom: 4px;
      margin-top: 2px;
      /* ADD THIS LINE */
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .reasons-subtitle {
      font-size: 0.9rem;
      color: #666;
      text-align: center;
      margin-bottom: 14px;
      font-weight: 400;
    }

    /* Adjust reasons checkboxes for vertical layout */
    .reasons-checkboxes {
      display: grid !important;
      /* Change to grid for better control */
      grid-template-columns: 1fr;
      /* Single column but wider */
      gap: 10px;
      /* Increased gap */
      margin-bottom: 0px;
      flex: none;
      overflow-y: auto;
      max-height: 400px;
      /* Slightly taller */
      padding-right: 10px;
      width: 100%;
    }

    /* Scrollbar styling for reasons */
    .reasons-checkboxes::-webkit-scrollbar {
      width: 6px;
    }

    .reasons-checkboxes::-webkit-scrollbar-track {
      background: #f1f1f1;
      border-radius: 3px;
    }

    .reasons-checkboxes::-webkit-scrollbar-thumb {
      background: #c1c1c1;
      border-radius: 3px;
    }

    .reasons-checkboxes::-webkit-scrollbar-thumb:hover {
      background: #a8a8a8;
    }

    /* Reset reason checkbox items to full width with compact design */
    .reason-checkbox-item {
      grid-column: auto !important;
      position: relative;
      display: flex;
      align-items: flex-start;
      padding: 10px 10px;
      background: white;
      border: 2px solid #e0e0e0;
      border-radius: 10px;
      cursor: pointer;
      transition: all 0.3s ease;
      width: 100%;
    }

    .reason-checkbox-item:hover {
      border-color: var(--primary-blue);
      box-shadow: 0 3px 12px rgba(0, 102, 204, 0.15);
      transform: translateY(-1px);
    }

    .checkbox-custom {
      position: absolute;
      top: 15px;
      left: 15px;
      width: 20px;
      height: 20px;
      border: 2px solid #d0d0d0;
      border-radius: 5px;
      background: white;
      transition: all 0.3s ease;
    }

    .reason-content {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      margin-left: 35px;
      opacity: 0.7;
      transition: opacity 0.3s ease;
    }

    .reason-checkbox-item input[type="checkbox"]:checked~.reason-content {
      opacity: 1;
    }

    .reason-icon-small {
      width: 34px;
      height: 34px;
      min-width: 40px;
      background: linear-gradient(135deg,
          var(--primary-blue) 0%,
          var(--accent-blue) 100%);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.3s ease;
    }

    .reason-checkbox-item:hover .reason-icon-small {
      transform: scale(1.05);
    }

    .reason-icon-small i {
      font-size: 1.2rem;
      color: white;
    }

    .reason-text h4 {
      font-size: 0.9rem;
      font-weight: 700;
      color: var(--primary-blue);
      margin-bottom: 2px;
      line-height: 1.3;
    }

    .reason-text p {
      font-size: 0.75rem;
      color: #666;
      line-height: 1.3;
      margin: 0;
    }

    /* Submit button below both sections */
    .form-submit {
      text-align: center;
      margin-top: -23px;
      padding: 0 20px;
    }

    .form-submit .submit-btn {
      padding: 12px 38px;
      background: var(--primary-blue);
      color: var(--white);
      border: none;
      border-radius: 50px;
      font-size: 0.95rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      text-transform: uppercase;
      letter-spacing: 1px;
      box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
    }

    .form-submit .submit-btn:hover {
      background: var(--accent-blue);
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
    }

    /* Responsive Design */
    @media (max-width: 1024px) {
      .turnover-form-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
      }

      .reasons-checkboxes {
        max-height: none;
      }
    }

    @media (max-width: 768px) {
      .turnover-table td {
        padding: 15px 10px;
      }

      .label-cell {
        font-size: 0.9rem;
      }

      .input-cell input {
        max-width: 140px;
        padding: 9px 12px;
        font-size: 0.9rem;
      }

      .reasons-section {
        padding: 20px;
      }

      .reasons-title {
        font-size: 1.3rem;
      }
    }


    /* ============================================
               ASSESSMENT RESULTS POPUP STYLES - 7 CATEGORIES
               Add this to the end of your index.css file
               ============================================ */

    .assessment-results {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 10002;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: opacity 0.3s ease;
      animation: fadeIn 0.3s ease forwards;
    }

    @keyframes fadeIn {
      to {
        opacity: 1;
      }
    }

    .results-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.7);
      backdrop-filter: blur(5px);
    }

    .results-container {
      position: relative;
      width: 90%;
      max-width: 1000px;
      max-height: 90vh;
      background: white;
      border-radius: 20px;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
      overflow-y: auto;
      z-index: 10003;
      transform: translateY(30px);
      opacity: 0;
      transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .results-close {
      position: absolute;
      top: 20px;
      right: 20px;
      width: 40px;
      height: 40px;
      background: rgba(255, 255, 255, 0.9);
      border: none;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.3s ease;
      z-index: 10;
      font-size: 1.5rem;
      color: #333;
    }

    .results-close:hover {
      background: white;
      transform: rotate(90deg) scale(1.1);
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    /* Header Gradients */
    .results-header {
      padding: 50px 40px 40px;
      text-align: center;
      position: relative;
      color: white;
    }

    .bg-green-gradient {
      background: linear-gradient(135deg, #2e7d32 0%, #4caf50 100%);
    }

    .bg-orange-gradient {
      background: linear-gradient(135deg, #e65100 0%, #ff9800 100%);
    }

    .bg-red-gradient {
      background: linear-gradient(135deg, #c62828 0%, #f44336 100%);
    }

    .bg-blue-gradient {
      background: linear-gradient(135deg, #1565c0 0%, #2196f3 100%);
    }

    .results-header h2 {
      font-size: 2.2rem;
      margin-bottom: 15px;
      color: white;
      font-weight: 700;
    }

    .outcome-message {
      font-size: 1.25rem;
      line-height: 1.7;
      margin: 20px auto;
      max-width: 800px;
      opacity: 0.95;
    }

    .priority-badge {
      display: inline-block;
      padding: 10px 25px;
      background: rgba(255, 255, 255, 0.25);
      border-radius: 50px;
      font-size: 0.95rem;
      font-weight: 600;
      letter-spacing: 0.5px;
      margin-top: 10px;
      border: 1px solid rgba(255, 255, 255, 0.4);
    }

    .results-content {
      padding: 40px;
    }

    .results-section {
      margin-bottom: 35px;
    }

    .results-section h3 {
      font-size: 1.5rem;
      margin-bottom: 20px;
      color: #2c3e50;
      display: flex;
      align-items: center;
      gap: 12px;
      font-weight: 700;
    }

    .results-section h3 i {
      color: #0066cc;
      font-size: 1.4rem;
    }

    /* Key Metrics Grid */
    .metrics-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 20px;
    }

    .metric-card {
      background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
      border-radius: 12px;
      padding: 20px;
      display: flex;
      align-items: center;
      gap: 15px;
      border-left: 4px solid #6c757d;
      transition: all 0.3s ease;
    }

    .metric-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }

    .metric-card.status-good {
      border-left-color: #4caf50;
      background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    }

    .metric-card.status-moderate {
      border-left-color: #ff9800;
      background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    }

    .metric-card.status-concern {
      border-left-color: #f44336;
      background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    }

    .metric-icon {
      width: 50px;
      height: 50px;
      min-width: 50px;
      background: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.3rem;
      color: #0066cc;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .metric-info {
      flex: 1;
    }

    .metric-label {
      font-size: 0.85rem;
      color: #666;
      font-weight: 500;
      margin-bottom: 5px;
    }

    .metric-value {
      font-size: 1.4rem;
      font-weight: 700;
      color: #2c3e50;
    }

    /* Insight Lists */
    .insight-list {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .insight-item {
      padding: 15px 20px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      gap: 15px;
      font-size: 1.2rem;
      line-height: 1.5;
      transition: all 0.3s ease;
    }

    .insight-item:hover {
      transform: translateX(5px);
    }

    .insight-item i {
      font-size: 1.3rem;
      min-width: 25px;
    }

    .strength-item {
      background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
      color: #2e7d32;
      border-left: 4px solid #4caf50;
    }

    .strength-item i {
      color: #4caf50;
    }

    .observation-item {
      background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
      color: #1565c0;
      border-left: 4px solid #2196f3;
    }

    .observation-item.warning {
      background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
      color: #e65100;
      border-left-color: #ff9800;
    }

    .observation-item.warning i {
      color: #ff9800;
    }

    .observation-item i {
      color: #2196f3;
    }

    /* Recommendations Grid */
    .recommendations-grid {
      display: grid;
      gap: 20px;
    }

    .recommendation-card {
      background: linear-gradient(135deg, #f0f7ff 0%, #e3f2fd 100%);
      border-radius: 12px;
      padding: 25px;
      display: flex;
      gap: 20px;
      border-left: 4px solid #2196f3;
      transition: all 0.3s ease;
    }

    .recommendation-card:hover {
      transform: translateX(5px);
      box-shadow: 0 8px 25px rgba(33, 150, 243, 0.15);
    }

    .rec-icon {
      width: 60px;
      height: 60px;
      min-width: 60px;
      background: linear-gradient(135deg, #2196f3 0%, #64b5f6 100%);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      color: white;
      box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
    }

    .rec-content h4 {
      font-size: 1.15rem;
      font-weight: 700;
      color: #1565c0;
      margin-bottom: 8px;
    }

    .rec-content p {
      font-size: 0.95rem;
      color: #555;
      line-height: 1.6;
      margin: 0;
    }

    /* Action Buttons */
    .results-actions {
      margin-top: 40px;
      display: flex;
      gap: 15px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .results-actions .btn {
      padding: 16px 35px;
      font-size: 1.05rem;
      border-radius: 50px;
      display: flex;
      align-items: center;
      gap: 12px;
      transition: all 0.3s ease;
      font-weight: 600;
      letter-spacing: 0.3px;
      border: none;
      cursor: pointer;
    }

    .results-actions .btn:disabled {
      opacity: 0.7;
      cursor: not-allowed;
      transform: none;
      box-shadow: none;
    }

    .results-actions .btn-primary {
      background: linear-gradient(135deg, #0d3d75 0%, #0066cc 100%);
      color: white;
      box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
    }

    .results-actions .btn-primary:hover,
    .results-actions .btn-primary:focus,
    .results-actions .btn-primary:active {
      background: linear-gradient(135deg, #0d3d75 0%, #0066cc 100%) !important;
      color: #ffffff !important;
      border-color: transparent !important;
      transform: translateY(-3px);
      box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
    }

    .results-actions .btn-primary i {
      color: inherit !important;
    }

    .results-actions .btn-secondary {
      background: white;
      color: #0066cc;
      border: 2px solid #0066cc;
    }

    .results-actions .btn-secondary:hover {
      background: #f5f5f5;
      transform: translateY(-3px);
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    /* Scrollbar styling */
    .results-container::-webkit-scrollbar {
      width: 10px;
    }

    .results-container::-webkit-scrollbar-track {
      background: #f1f1f1;
    }

    .results-container::-webkit-scrollbar-thumb {
      background: linear-gradient(135deg, #0066cc 0%, #0078d8 100%);
      border-radius: 5px;
    }

    .results-container::-webkit-scrollbar-thumb:hover {
      background: linear-gradient(135deg, #0078d8 0%, #00aaff 100%);
    }

    /* Responsive Design */
    @media (max-width: 768px) {
      .results-container {
        width: 95%;
        max-height: 95vh;
        border-radius: 15px;
      }

      .results-header {
        padding: 40px 25px 30px;
      }

      .results-header h2 {
        font-size: 1.6rem;
      }

      .outcome-message {
        font-size: 1rem;
      }

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

      .results-section h3 {
        font-size: 1.3rem;
      }

      .metrics-grid {
        grid-template-columns: 1fr;
        gap: 15px;
      }

      .metric-card {
        padding: 15px;
      }

      .recommendation-card {
        flex-direction: column;
        padding: 20px;
      }

      .rec-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 1.2rem;
      }

      .results-actions {
        flex-direction: column;
        width: 100%;
      }

      .results-actions .btn {
        width: 100%;
        justify-content: center;
      }

      .results-close {
        top: 15px;
        right: 15px;
        width: 36px;
        height: 36px;
        font-size: 1.3rem;
      }
    }

    @media (max-width: 480px) {
      .results-header h2 {
        font-size: 1.4rem;
      }

      .outcome-badge {
        font-size: 0.75rem;
        padding: 6px 15px;
      }

      .outcome-message {
        font-size: 0.95rem;
      }

      .priority-badge {
        font-size: 0.85rem;
        padding: 8px 20px;
      }

      .results-content {
        padding: 20px 15px;
      }

      .results-section h3 {
        font-size: 1.2rem;
      }

      .insight-item {
        font-size: 0.9rem;
        padding: 12px 15px;
      }

      .rec-content h4 {
        font-size: 1rem;
      }

      .rec-content p {
        font-size: 0.85rem;
      }
    }

    /* Trade Credit Insurance Feature Section */
    /* Updated TCI Feature Section with Half-Screen Spline */
    .tci-feature {
      padding: 30px 0;
      background: #ffffff;
      position: relative;
      min-height: 80vh;
      display: flex;
      align-items: center;
      overflow: hidden;
    }

    .tci-feature .fade-in-left,
.tci-feature .fade-in-right {
    opacity: 1 !important;
    transform: none !important;
}


    .tci-feature-grid {
      display: grid;
      grid-template-columns: 1fr 1.2fr;
      gap: 60px;
      align-items: center;
      max-width: 1400px;
      margin: 0 auto;
    }

    .tci-feature-content {
      padding: 40px 20px 40px 80px;
    }

    .tci-feature-content h2 {
      font-size: 3.9rem;
      font-weight: 400;
      color: #2c3e50;
      line-height: 1.1;
      margin-bottom: 40px;
      letter-spacing: -1px;
      max-width: 400px;
      /* Constrain width to force line break */
    }

    .tci-feature-content h2 br {
      display: none;
      /* Remove any existing line breaks */
    }

    .tci-feature-content p {
      font-size: 1.5rem;
      color: #4a5568;
      line-height: 1.8;
      margin-bottom: 40px;
      font-weight: 450;
      max-width: 600px;
    }

    .tci-arrow {
      display: inline-block;
      color: #2c3e50;
      transition: all 0.3s ease;
      cursor: pointer;
      margin-left: auto;
      /* This pushes the arrow to the right */
      display: block;
      /* Change to block for margin auto to work */
      width: fit-content;
      /* Ensures it only takes needed space */
    }

    .tci-arrow:hover {
      transform: translateX(10px);
      color: #0066cc;
    }

    .tci-arrow svg {
      width: 120px;
      height: 100px;
    }

    /* Half-Screen Spline Visual */
    .tci-feature-visual {
      position: relative;
      height: 850px;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      /* Align spline to the left */
      overflow: hidden;
    }

    .tci-spline-container {
      position: absolute;
      left: 0;
      top: 0;
      width: 200%;
      /* Double width to show only half */
      height: 100%;
    }

    /* Responsive Design */
    @media (max-width: 1024px) {
      .tci-feature-grid {
        gap: 60px;
      }

      .tci-feature-content h2 {
        font-size: 3.5rem;
      }

      .tci-feature-content p {
        font-size: 1.1rem;
      }

      .tci-feature-visual {
        height: 500px;
      }
    }

    @media (max-width: 768px) {
      .tci-feature {
        padding: 80px 0;
      }

      .tci-feature-grid {
        grid-template-columns: 1fr;
        gap: 40px;
      }

      .tci-feature-content {
        padding: 20px;
        text-align: center;
      }

      .tci-feature-content h2 {
        font-size: 2.5rem;
      }

      .tci-feature-content p {
        font-size: 1rem;
        margin-left: auto;
        margin-right: auto;
      }

      .tci-arrow {
        margin: 0 auto;
        display: block;
        width: 60px;
      }

      .tci-feature-visual {
        height: 400px;
        order: -1;
        /* Move visual above content on mobile */
      }

      .tci-spline-container {
        width: 100%;
        /* Full width on mobile */
      }
    }

    @media (max-width: 576px) {
      .tci-feature-content h2 {
        font-size: 2rem;
      }

      .tci-feature-visual {
        height: 300px;
      }
    }

    /* Services Section - Updated */
    .services {
      padding: 50px 0;
      background: radial-gradient(circle at center,
          #b8dcff 30%,
          #e4f2ff 80%,
          #ffffff 100%);
      position: relative;
    }

    .extended-bg-container {
      position: relative;
      background: #ffffff;
      padding-bottom: 0;
      /* Change to 0 */
      margin-bottom: 0;
      /* Add this to ensure no margin */
    }

    .section-title {
      text-align: center;
      margin-bottom: 60px;
    }

    .section-title h2 {
      color: #001f3f;
      font-size: 2.6rem;
      font-weight: 500;
      position: relative;
      display: inline-block;
      padding-bottom: 15px;
      text-transform: uppercase;
      letter-spacing: 2px;
    }

    .section-title h2::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 80px;
      height: 4px;
      background: linear-gradient(90deg, #0066cc, #00aaff, #0066cc);
    }

    /* Updated Services Grid */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 30px;
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 20px;
    }

    /* Updated Service Cards - New Design */
    .service-card {
      background: #ffffff;
      border: 1px solid #e0e0e0;
      border-radius: 16px;
      overflow: hidden;
      transition: all 0.3s ease;
      display: flex;
      flex-direction: column;
      height: 100%;
      min-height: 450px;
      position: relative;
      cursor: pointer;
      /* Make entire card clickable */
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .service-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 45px rgba(0, 102, 204, 0.3);
      border-color: #0066cc;
    }

    /* Larger image area - increased size */
    .service-icon {
      height: 330px;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      position: relative;
      padding: 0;
      border-bottom: 0px solid #e0e0e0;
    }

    .service-icon img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
    }

    .service-card:hover .service-icon img {
      transform: scale(1.08);
    }

    /* Content area with gradient - reduced spacing */
    .service-content {
      padding: 18px 20px 15px 20px;
      background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
      flex: 1;
      display: flex;
      flex-direction: column;
      text-align: left;
      position: relative;
    }

    .service-content h3 {
      color: #001f3f;
      font-size: 1.5rem;
      font-weight: 700;
      line-height: 1.2;
      margin-bottom: 12px;
      text-transform: uppercase;
      letter-spacing: 1px;
      padding-bottom: 12px;
      border-bottom: 2px solid #0066cc;
      position: relative;
      min-height: 60px;
      display: flex;
      align-items: center;
    }

    .service-content p {
      color: #555555;
      font-size: 1.1rem;
      font-weight: 450;
      line-height: 1.5;
      margin-bottom: 0px;
      margin-top: 12px;
      flex-grow: 1;
    }


    /* Arrow button - new minimal design with larger arrow */
    .service-content .btn {
      background: transparent;
      color: #0066cc;
      border: none;
      padding: 0;
      border-radius: 0;
      font-size: 2rem;
      font-weight: 600;
      text-transform: none;
      letter-spacing: normal;
      margin-top: 5px;
      align-self: flex-end;
      transition: all 0.3s ease;
      width: 60px;
      height: 60px;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
    }

    .service-content .btn:hover {
      background: transparent;
      color: #003d7a;
      transform: translateX(8px);
      box-shadow: none;
    }

    /* Arrow indicator - larger size */
    .service-content .btn::after {
      content: "→";
      font-size: 2.5rem;
      margin-left: 0;
      transition: transform 0.3s ease;
      display: inline-block;
    }

    .service-content .btn:hover::after {
      transform: translateX(6px);
    }

    /* Responsive Design */
    @media (max-width: 1200px) {
      .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
      }
    }

    @media (max-width: 768px) {
      .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
      }

      .service-card {
        min-height: 420px;
      }

      .service-icon {
        height: 250px;
      }

      .service-content h3 {
        font-size: 1.3rem;
      }
    }

    @media (max-width: 576px) {
      .section-title h2 {
        font-size: 2rem;
      }

      .service-icon {
        height: 220px;
      }

      .service-content h3 {
        font-size: 1.2rem;
      }

      .service-content p {
        font-size: 0.95rem;
      }
    }

    /* Committed to You Section CSS - Add this to your index.css file */

    .committed-section {
      padding: 10px 0;
      background: url("../media/backgrounds/commited-background.webp") no-repeat center center;
      background-size: cover;
      background-attachment: fixed;
      position: relative;
      overflow: hidden;
    }

    /* Add dark overlay for better text contrast */
    .committed-section::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(255, 255, 255, 0.1);
      /* White overlay with 70% opacity */
      z-index: 0;
    }

    .committed-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
      text-align: center;
      position: relative;
      z-index: 1;
      /* Ensure content stays above overlay */
    }

    .committed-icon {
      margin-bottom: -75px;
      animation: slideDown 1s ease-out;
    }

    .committed-icon img {
      width: 300px;
      /* Adjust size as needed */
      height: 300px;
      /* Adjust size as needed */
      object-fit: contain;
      border-radius: 1px;
      /* Optional: if you want rounded corners */
    }

    .committed-title {
      font-size: 4.5rem;
      font-weight: 500;
      color: #0055aa;
      text-transform: uppercase;
      letter-spacing: 3px;
      margin-bottom: 10px;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
      animation: fadeInUp 1s ease-out 0.2s both;
    }

    .committed-subtitle {
      font-size: 1.5rem;
      font-weight: 600;
      color: #001f3f;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 20px;
      line-height: 1.4;
      animation: fadeInUp 1s ease-out 0.4s both;
    }

    .committed-description {
      font-size: 1.3rem;
      color: #001f3f;
      line-height: 1.8;
      max-width: 900px;
      margin: 0 auto 40px;
      font-weight: 400;
      text-align: justify;
      animation: fadeInUp 1s ease-out 0.6s both;
    }

    .committed-btn {
      display: inline-block;
      padding: 16px 48px;
      background: #0055aa;
      color: white;
      text-decoration: none;
      border-radius: 50px;
      font-size: 1.1rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1px;
      transition: all 0.3s ease;
      box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
      animation: fadeInUp 1s ease-out 0.8s both;
      margin-bottom: 20px;
    }

    .committed-btn:hover {
      background: white;
      color: #0055aa;
      transform: translateY(-3px);
      box-shadow: 0 8px 25px rgba(0, 102, 204, 0.5);
    }

    /* Animations */
    @keyframes slideDown {
      from {
        opacity: 0;
        transform: translateY(-30px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Responsive Design */
    @media (max-width: 992px) {
      .committed-section {
        padding: 80px 0;
      }

      .committed-title {
        font-size: 3rem;
      }

      .committed-subtitle {
        font-size: 1.3rem;
      }

      .committed-description {
        font-size: 1.1rem;
        text-align: center;
      }
    }

    @media (max-width: 768px) {
      .committed-section {
        padding: 60px 0;
        background-attachment: scroll;
      }

      .committed-icon svg {
        width: 60px;
        height: 60px;
      }

      .committed-title {
        font-size: 2.2rem;
        letter-spacing: 2px;
      }

      .committed-subtitle {
        font-size: 1.1rem;
      }

      .committed-description {
        font-size: 1rem;
        text-align: center;
        padding: 0 10px;
      }

      .committed-btn {
        padding: 14px 36px;
        font-size: 1rem;
      }
    }

    @media (max-width: 576px) {
      .committed-title {
        font-size: 1.8rem;
      }

      .committed-subtitle {
        font-size: 1rem;
      }

      .committed-description {
        font-size: 0.95rem;
      }
    }

    /* About Container with Background */
    .about-container {
      background: url("../media/backgrounds/about-background.webp") no-repeat center center;
      background-size: cover;
      padding: 60px 0;
      margin: 0;
      width: 100%;
      position: relative;
      overflow: hidden;
    }

    /* Add overlay for better content visibility */
    .about-container::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(255, 255, 255, 0.85);
      /* Increased opacity for mobile readability */
      z-index: 0;
    }

    /* About Section */
    .about {
      position: relative;
      z-index: 1;
      /* Ensure content stays above overlay */
    }

    /* About Grid - Responsive */
    .about-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 40px;
      align-items: center;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: none;
      /* Remove blur for performance on mobile */
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 12px;
      padding: 30px 20px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
      margin: 0 auto;
      max-width: 1200px;
      transition: all 0.3s ease;
    }

    /* Desktop Layout */
    @media (min-width: 992px) {
      .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        padding: 40px;
        backdrop-filter: blur(10px);
        background: rgba(255, 255, 255, 0.9);
      }
    }

    /* Video Container - Responsive */
    .about-video {
      position: relative;
      border-radius: 12px;
      overflow: hidden;
      order: -1;
      /* Video first on mobile */
    }

    /* Desktop: Video on left */
    @media (min-width: 992px) {
      .about-video {
        order: 0;
        /* Reset order */
      }
    }

    .video-container {
      position: relative;
      padding-bottom: 56.25%;
      /* 16:9 aspect ratio */
      height: 0;
      overflow: hidden;
      border-radius: 12px;
    }

    .video-container iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border: none;
      border-radius: 12px;
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

    /* About Content - Responsive Typography */
    .about-content {
      padding: 0 10px;
      text-align: center;
      /* Center text on mobile */
    }

    @media (min-width: 992px) {
      .about-content {
        padding: 0 20px;
        text-align: left;
        /* Left align on desktop */
      }
    }

    .about-content h2 {
      font-size: 1.8rem;
      font-weight: 600;
      color: var(--primary-blue);
      margin-bottom: 20px;
      line-height: 1.3;
      letter-spacing: 0.5px;
    }

    @media (min-width: 768px) {
      .about-content h2 {
        font-size: 2.2rem;
      }
    }

    @media (min-width: 992px) {
      .about-content h2 {
        font-size: 2.8rem;
        font-weight: 500;
        letter-spacing: 1.1px;
        word-spacing: 2.4px;
        line-height: 1.3;
      }
    }

    .about-content p {
      color: var(--dark-gray) !important;
      font-size: 1rem;
      line-height: 1.7;
      margin-bottom: 25px;
      text-align: justify;
    }

    @media (min-width: 768px) {
      .about-content p {
        font-size: 1.1rem;
      }
    }

    @media (min-width: 992px) {
      .about-content p {
        font-size: 1.25rem;
        font-weight: 400;
        text-align: left;
      }
    }

    /* Button Styling */
    .about .btn {
      background: var(--primary-blue) !important;
      border: 1.5px solid var(--primary-blue) !important;
      color: var(--white) !important;
      padding: 14px 32px;
      font-size: 1rem;
      font-weight: 600;
      border-radius: 8px;
      text-transform: uppercase;
      letter-spacing: 1px;
      transition: all 0.3s ease;
      display: inline-block;
      text-decoration: none;
      box-shadow: 0 4px 12px rgba(13, 61, 117, 0.2);
    }

    .about .btn:hover {
      background: var(--accent-blue) !important;
      border: 1.5px solid var(--accent-blue) !important;
      color: var(--white) !important;
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
    }

    /* Mobile-Specific Optimizations */
    @media (max-width: 768px) {
      .about-container {
        padding: 40px 0;
      }

      .about-container::before {
        background: rgba(255, 255, 255, 0.9);
        /* Slightly darker on mobile for contrast */
      }

      .about-grid {
        padding: 25px 15px;
        margin: 0 15px;
        border-radius: 10px;
      }

      .about-content h2 {
        font-size: 1.6rem;
        margin-bottom: 15px;
      }

      .about-content p {
        font-size: 0.95rem;
        line-height: 1.6;
        text-align: left;
        /* Keep text left-aligned on mobile */
      }

      .about .btn {
        width: 100%;
        text-align: center;
        padding: 12px 24px;
        font-size: 0.95rem;
      }
    }

    /* Extra Small Devices */
    @media (max-width: 576px) {
      .about-container {
        padding: 30px 0;
      }

      .about-grid {
        padding: 20px 15px;
        margin: 0 10px;
      }

      .about-content h2 {
        font-size: 1.4rem;
      }

      .about-content p {
        font-size: 0.9rem;
        line-height: 1.5;
      }

      .video-container {
        border-radius: 8px;
      }
    }

    /* Tablet Optimizations */
    @media (min-width: 768px) and (max-width: 991px) {
      .about-grid {
        max-width: 90%;
        margin: 0 auto;
      }

      .about-content h2 {
        font-size: 2rem;
      }

      .about-content p {
        font-size: 1.1rem;
      }
    }

    /* Hover effects only on desktop */
    @media (min-width: 992px) {
      .about-grid:hover {
        background: rgba(255, 255, 255, 0.98);
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0, 102, 204, 0.2);
      }
    }

    /* Process Section Container - Separate Background */
    .process-bg-container {
      position: relative;
      background: white;
      padding: 0;
      margin: 0;
      width: 100%;
    }

    /* Process Section */

    /* Process Section Container - Separate Background */
    .process-bg-container {
      position: relative;
      background: white;
      padding: 0;
      margin: 0;
      width: 100%;
    }

    /* Process Section */
    .process-section {
      padding: 40px 0;
      background: transparent;
      position: relative;
      overflow: hidden;
    }

    .process-subtitle {
      font-size: 1.8rem;
      font-weight: 600;
      color: #2c3e50;
      text-align: center;
      margin-top: 10px;
      margin-bottom: 60px;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .process-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 30px;
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 20px;
    }

    /* Process Cards - Complete Styling */
    .process-card {
      background: #ffffff;
      border: 1px solid #e0e0e0;
      border-radius: 12px;
      overflow: hidden;
      transition: all 0.3s ease;
      display: flex;
      flex-direction: column;
      height: 100%;
      min-height: 420px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
      cursor: pointer;
    }

    .process-card:hover {
      transform: translateY(-8px) !important;
      box-shadow: 0 12px 40px rgba(0, 102, 204, 0.25),
        0 0 30px rgba(0, 170, 255, 0.15) !important;
      border-color: #0066cc !important;
    }

    .process-image {
      height: 280px;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      position: relative;
      background: #f0f0f0;
    }

    .process-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
    }

    .process-card:hover .process-image img {
      transform: scale(1.05) !important;
    }

    .process-section .section-title h2::after {
      display: none;
    }

    .process-subtitle {
      margin-top: -20px;
      /* Negative margin pulls it closer */
    }

    .process-content {
      padding: 25px 20px;
      background: #ffffff;
      flex: 1;
      display: flex;
      flex-direction: column;
      text-align: center;
      border-top: 3px solid #0066cc;
      transition: all 0.3s ease;
    }

    .process-card:hover .process-content {
      border-top-color: #00aaff;
    }

    .process-content h3 {
      color: #001f3f;
      font-size: 1.3rem;
      font-weight: 700;
      line-height: 1.3;
      margin-bottom: 15px;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .process-content p {
      color: #666666;
      font-size: 1rem;
      font-weight: 400;
      line-height: 1.6;
      margin-bottom: 0;
    }

    /* Responsive Design */
    @media (max-width: 1200px) {
      .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
      }
    }

    @media (max-width: 768px) {
      .process-section {
        padding: 80px 0;
      }

      .process-subtitle {
        font-size: 1.3rem;
      }

      .process-grid {
        grid-template-columns: 1fr;
        gap: 20px;
      }

      .process-card {
        min-height: 380px;
      }

      .process-image {
        height: 220px;
      }
    }

    @media (max-width: 576px) {
      .section-title h2 {
        font-size: 1.8rem;
      }

      .process-subtitle {
        font-size: 1.1rem;
      }

      .process-image {
        height: 200px;
      }

      .process-content h3 {
        font-size: 1.1rem;
      }

      .process-content p {
        font-size: 0.95rem;
      }
    }

    /* Contact Section */
    /* ============================================
             CONTACT SECTION 1 - CONTACT FORM
             ============================================ */

    /* Contact Section Layout - Now shows only business hours by default */
    .contact-section-1 {
      display: grid;
      grid-template-columns: 1fr;
      min-height: auto;
      background: linear-gradient(to right, #e8e8e8 50%, #ffffff 50%);
      padding: 5px 0;
      opacity: 1 !important;
      transform: translateY(0) !important;
    }

    .contact-left-content {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 5px;
      background: url("../media/backgrounds/contact-background.webp") center/cover;
      position: relative;
    }

    .contact-left-content::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(232, 232, 232, 0.5);
      z-index: 1;
    }

    .contact-left-inner {
      position: relative;
      z-index: 2;
    }

    .contact-logo {
      width: 180px;
      margin-bottom: 40px;
    }

    .contact-left-content h2 {
      font-size: 4rem;
      font-weight: 450;
      line-height: 1.2;
      color: #2c2c2c;
      margin: 0;
    }

    /* Popup Overlay */
    .contact-popup-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.7);
      backdrop-filter: blur(5px);
      z-index: 10000;
      display: none;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .contact-popup-overlay.active {
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 1;
    }

    /* Popup Container */
    .contact-right-content {
      position: relative;
      max-width: 700px;
      width: min(94vw, 700px);
      max-height: calc(100vh - 28px);
      overflow-y: hidden;
      background: #ffffff;
      border-radius: 18px;
      padding: 0;
      transform: scale(0.9);
      transition: transform 0.3s ease;
    }

    .contact-popup-overlay.active .contact-right-content {
      transform: scale(1);
    }

    /* Close Button */
    .popup-close {
      position: absolute;
      top: 15px;
      right: 15px;
      width: 40px;
      height: 40px;
      background: white;
      border: 2px solid #e0e0e0;
      border-radius: 50%;
      cursor: pointer;
      z-index: 10;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      color: #666;
      transition: all 0.3s ease;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .popup-close:hover {
      background: #ff4444;
      border-color: #ff4444;
      color: white;
      transform: rotate(90deg);
    }

    /* Contact Us Button - Place under business hours */
    .contact-trigger-btn {
      display: inline-block;
      padding: 18px 48px;
      background: linear-gradient(135deg, #0066cc 0%, #0078d8 100%);
      color: white;
      border: none;
      border-radius: 50px;
      font-size: 1.2rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      text-transform: uppercase;
      letter-spacing: 1.5px;
      box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
      margin-top: -30px;
    }

    .contact-trigger-btn:hover {
      background: linear-gradient(135deg, #0078d8 0%, #00aaff 100%);
      transform: translateY(-3px);
      box-shadow: 0 8px 30px rgba(0, 102, 204, 0.5);
    }

    .contact-trigger-btn:active {
      transform: translateY(-1px);
    }

    /* Fancy Box Styling */
    .contact-form-wrapper {
      width: 100%;
      background: linear-gradient(145deg, #ffffff, #f8f9fa);
      border-radius: 20px;
      padding: 34px 28px 18px 28px;
      box-shadow: 0 20px 60px rgba(0, 102, 204, 0.15),
        0 10px 30px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
      border: 1px solid rgba(255, 255, 255, 0.8);
      position: relative;
      overflow: hidden;
    }

    /* Gradient overlay at top */
    .contact-form-wrapper::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: linear-gradient(90deg, #0066cc, #00aaff, #0066cc);
      background-size: 200% 100%;
      animation: gradientShift 3s ease infinite;
    }

    @keyframes gradientShift {

      0%,
      100% {
        background-position: 0% 50%;
      }

      50% {
        background-position: 100% 50%;
      }
    }

    /* Enhanced form field styling */
    .form-field {
      margin-bottom: 5px;
      position: relative;
    }

    .form-field label {
      display: block;
      font-size: 0.95rem;
      color: #666;
      margin-bottom: 4px;
      font-weight: 500;
      transition: color 0.3s ease;
    }

    .form-field input:focus+label,
    .form-field textarea:focus+label,
    .form-field select:focus+label {
      color: #0066cc;
    }

    .form-field input,
    .form-field textarea,
    .form-field select {
      width: 100%;
      padding: 10px 14px;
      border: 2px solid #e0e0e0;
      border-radius: 10px;
      font-family: inherit;
      font-size: 0.95rem;
      transition: all 0.3s ease;
      background: #ffffff;
      color: #333;
    }

    .form-field textarea {
      min-height: 72px;
      resize: vertical;
    }

    .form-field input:focus,
    .form-field textarea:focus,
    .form-field select:focus {
      outline: none;
      border-color: #0066cc;
      box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
      transform: translateY(-1px);
    }

    .form-field.has-error label {
      color: #b42318;
    }

    .form-field .is-invalid {
      border-color: #d92d20 !important;
      box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.12) !important;
      background: #fffafa;
    }

    .field-error-msg {
      margin-top: 4px;
      color: #b42318;
      font-size: 0.8rem;
      line-height: 1.3;
      font-weight: 600;
    }

    /* Phone Field */
    .phone-wrapper {
      display: grid;
      grid-template-columns: 130px 1fr;
      gap: 8px;
    }

    .country-select {
      appearance: none;
      background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
      background-repeat: no-repeat;
      background-position: right 12px center;
      background-size: 16px;
      padding-right: 36px;
    }

    /* Enhanced submit button */
    .submit-btn {
      width: 100%;
      padding: 13px 28px;
      background: linear-gradient(135deg, #0066cc 0%, #0078d8 100%);
      color: white;
      border: none;
      border-radius: 50px;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      margin-top: 6px;
      text-transform: uppercase;
      letter-spacing: 1px;
      box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
    }

    .submit-btn:hover {
      background: linear-gradient(135deg, #0078d8 0%, #00aaff 100%);
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
    }

    .submit-btn:active {
      transform: translateY(0);
    }

    /* Privacy note styling */
    .privacy-note {
      text-align: center;
      font-size: 0.85rem;
      color: #999;
      margin-top: 8px;
      font-style: italic;
    }

    #answer {
      margin-top: 10px;
      margin-bottom: 10px;
      font-size: 0.88rem;
      line-height: 1.35;
      display: block;
      min-height: 24px;
    }

    #answer:empty {
      display: none;
      margin: 0;
      min-height: 0;
    }

    #answer .form-error {
      color: #b42318;
      background: linear-gradient(180deg, #fff5f4 0%, #fee4e2 100%);
      border: 1px solid #f8b4b4;
      border-left: 4px solid #d92d20;
      border-radius: 10px;
      padding: 8px 10px;
      box-shadow: 0 4px 10px rgba(217, 45, 32, 0.08);
    }

    #answer .msg-title {
      display: flex;
      align-items: center;
      gap: 6px;
      font-weight: 700;
      margin-bottom: 5px;
      font-size: 0.86rem;
    }

    #answer .msg-list {
      margin: 0;
      padding-left: 18px;
    }

    #answer .msg-list li {
      margin: 2px 0;
    }

    #answer .form-success {
      color: #067647;
      background: #ecfdf3;
      border: 1px solid #abefc6;
      border-left: 4px solid #067647;
      border-radius: 8px;
      padding: 8px 10px;
    }

    /* CAPTCHA fancy styling */
    .captcha-wrapper {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 6px;
    }

    #captchaCanvas {
      border: 2px solid #e0e0e0;
      border-radius: 10px;
      transition: border-color 0.3s ease;
      width: 160px;
      height: 44px;
    }

    .captcha-field:hover #captchaCanvas {
      border-color: #0066cc;
    }

    .refresh-captcha {
      width: 42px;
      height: 44px;
      border: 2px solid #e0e0e0;
      border-radius: 10px;
      background: #ffffff;
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #666;
    }

    .refresh-captcha:hover {
      background: linear-gradient(135deg, #0066cc 0%, #0078d8 100%);
      border-color: #0066cc;
      color: white;
      transform: rotate(180deg);
    }

    /* Scrollbar for popup */
    .contact-right-content::-webkit-scrollbar {
      width: 8px;
    }

    .contact-right-content::-webkit-scrollbar-track {
      background: #f1f1f1;
      border-radius: 10px;
    }

    .contact-right-content::-webkit-scrollbar-thumb {
      background: #0066cc;
      border-radius: 10px;
    }

    .contact-right-content::-webkit-scrollbar-thumb:hover {
      background: #0078d8;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
      .contact-form-wrapper {
        padding: 40px 20px 18px 20px;
        border-radius: 15px;
      }

      .contact-right-content {
        width: 95%;
        max-height: calc(100vh - 16px);
        overflow-y: auto;
      }

      .contact-trigger-btn {
        padding: 16px 40px;
        font-size: 1rem;
      }

      .phone-wrapper {
        grid-template-columns: 120px 1fr;
        gap: 10px;
      }
    }

    @media (max-width: 576px) {
      .contact-form-wrapper {
        padding: 38px 16px 16px 16px;
      }

      .popup-close {
        width: 36px;
        height: 36px;
        font-size: 20px;
      }

      .phone-wrapper {
        grid-template-columns: 1fr;
        gap: 12px;
      }
    }

    /* ============================================
             CONTACT SECTION 2 - BUSINESS HOURS & MAP
             ============================================ */

    .contact-section-2 {
      display: grid;
      grid-template-columns: 1fr 1fr;
      min-height: 100vh;
      opacity: 1 !important;
      transform: translateY(0) !important;
    }

    .business-hours-content {
      padding: 80px 60px;
      background: #f9f9f9;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .business-title {
      font-size: 2.5rem;
      font-weight: 400;
      color: #2c2c2c;
      margin-bottom: 20px;
    }

    .business-subtitle {
      font-size: 1.1rem;
      color: #666;
      margin-bottom: 30px;
      line-height: 1.6;
    }

    .business-note {
      font-size: 0.85rem;
      color: #999;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 40px;
    }

    .business-hours-list {
      margin-bottom: 60px;
    }

    .hours-item {
      display: flex;
      justify-content: space-between;
      padding: 16px 0;
      border-bottom: 1px solid #e0e0e0;
    }

    .hours-item .day {
      font-weight: 500;
      color: #333;
    }

    .hours-item .time {
      color: #666;
    }

    /* Location Info */
    .location-info {
      display: flex;
      align-items: flex-start;
      margin-bottom: 40px;
    }

    .location-icon {
      width: 50px;
      height: 50px;
      background: #e0e0e0;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: 20px;
      flex-shrink: 0;
    }

    .location-icon i {
      font-size: 1.3rem;
      color: #666;
    }

    .location-details h4 {
      font-size: 1.1rem;
      color: #333;
      margin-bottom: 8px;
      font-weight: 500;
    }

    .location-details p {
      font-size: 0.95rem;
      color: #666;
      line-height: 1.6;
      margin: 0;
    }

    /* ============================================
   ENHANCED CONTACT SECTION 2 CSS
   Add this to your index.css file (replace existing contact-section-2 styles)
   ============================================ */

    .contact-section-2 {
      scroll-margin-top: 90px;
      /* Adds extra space when scrolling to this section */
      display: grid;
      grid-template-columns: 1fr 1fr;
      min-height: 70vh;
      opacity: 1 !important;
      transform: translateY(0) !important;
    }

    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 50vh;
    opacity: 1 !important;
    transform: translateY(0) !important;
    }

    .business-hours-content {
      padding: 40px 60px;
      background: #f9f9f9;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .business-title {
      font-size: 2.5rem;
      font-weight: 400;
      color: #2c2c2c;
      margin-bottom: 20px;
    }

    .business-hours-list {
      margin-bottom: 40px;
    }

    .hours-item {
      display: flex;
      justify-content: space-between;
      padding: 16px 0;
      border-bottom: 1px solid #e0e0e0;
    }

    .hours-item .day {
      font-weight: 500;
      color: #333;
    }

    .hours-item .time {
      color: #666;
    }

    /* Office Tabs Styling */
    .office-tabs {
      display: flex;
      gap: 10px;
      margin-bottom: 30px;
      border-bottom: 2px solid #e0e0e0;
      padding-bottom: 5px;
    }

    .office-tab {
      flex: 1;
      padding: 14px 20px;
      background: transparent;
      border: none;
      border-bottom: 3px solid transparent;
      color: #666;
      font-size: 1rem;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      position: relative;
      bottom: -2px;
    }

    .office-tab i {
      font-size: 1.1rem;
    }

    .office-tab:hover {
      color: #0066cc;
      background: rgba(0, 102, 204, 0.05);
    }

    .office-tab.active {
      color: #0066cc;
      border-bottom-color: #0066cc;
      background: rgba(0, 102, 204, 0.08);
      font-weight: 600;
    }

    /* Offices Container */
    .offices-container {
      position: relative;
      min-height: 140px;
      margin-bottom: 5px;
    }

    .office-details {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      opacity: 0;
      visibility: hidden;
      transform: translateY(20px);
      transition: all 0.4s ease;
      pointer-events: none;
    }

    .office-details.active {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
      pointer-events: auto;
    }

    /* Location Info */
    .location-info {
      display: flex;
      align-items: flex-start;
    }

    .location-icon {
      width: 50px;
      height: 50px;
      background: linear-gradient(135deg, #0066cc 0%, #0078d8 100%);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: 20px;
      flex-shrink: 0;
      box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
    }

    .location-icon i {
      font-size: 1.3rem;
      color: white;
    }

    .location-details h4 {
      font-size: 1.2rem;
      color: #0066cc;
      margin-bottom: 10px;
      font-weight: 600;
    }

    .location-details p {
      font-size: 1rem;
      color: #666;
      line-height: 1.7;
      margin: 0;
    }

    /* Contact Button */
    .contact-trigger-btn {
      display: inline-block;
      padding: 18px 48px;
      background: linear-gradient(135deg, #0066cc 0%, #0078d8 100%);
      color: white;
      border: none;
      border-radius: 50px;
      font-size: 1.2rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      text-transform: uppercase;
      letter-spacing: 1.5px;
      box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
      margin-top: 20px;
    }

    .contact-trigger-btn:hover {
      background: linear-gradient(135deg, #0078d8 0%, #00aaff 100%);
      transform: translateY(-3px);
      box-shadow: 0 8px 30px rgba(0, 102, 204, 0.5);
    }

    .contact-trigger-btn:active {
      transform: translateY(-1px);
    }

    /* Map Section */
    .map-section {
      position: relative;
      background: #e0e0e0;
    }

    .map-container-new {
      width: 100%;
      height: 100%;
      position: relative;
    }

    .office-map {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border: none;
      display: block;
      filter: grayscale(20%);
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.5s ease, visibility 0.5s ease;
    }

    .office-map.active {
      opacity: 1;
      visibility: visible;
      z-index: 1;
    }

    /* ============================================
   RESPONSIVE DESIGN
   ============================================ */

    @media (max-width: 992px) {
      .contact-section-2 {
        grid-template-columns: 1fr;
      }

      .business-hours-content {
        padding: 50px 40px;
      }

      .business-title {
        font-size: 2rem;
      }

      .map-section {
        min-height: 500px;
      }

      .office-tabs {
        flex-wrap: wrap;
      }

      .office-tab {
        flex: 1 1 calc(50% - 5px);
        min-width: 140px;
      }
    }

    @media (max-width: 768px) {
      .business-hours-content {
        padding: 40px 30px;
      }

      .business-title {
        font-size: 1.8rem;
      }

      .office-tabs {
        gap: 8px;
      }

      .office-tab {
        padding: 12px 16px;
        font-size: 0.95rem;
      }

      .office-tab i {
        font-size: 1rem;
      }

      .location-info {
        flex-direction: column;
        align-items: flex-start;
      }

      .location-icon {
        margin-bottom: 15px;
        margin-right: 0;
      }

      .location-details h4 {
        font-size: 1.1rem;
      }

      .location-details p {
        font-size: 0.95rem;
      }

      .contact-trigger-btn {
        width: 100%;
        text-align: center;
      }
    }

    @media (max-width: 576px) {
      .business-hours-content {
        padding: 30px 20px;
      }

      .business-title {
        font-size: 1.5rem;
      }

      .office-tabs {
        flex-direction: column;
        gap: 10px;
      }

      .office-tab {
        width: 100%;
      }

      .hours-item {
        flex-direction: column;
        gap: 8px;
      }

      .offices-container {
        min-height: 160px;
      }

      .contact-trigger-btn {
        padding: 16px 40px;
        font-size: 1rem;
      }
    }

    /* Map Section */
    .map-section {
      position: relative;
      background: #e0e0e0;
    }

    .map-container-new {
      width: 100%;
      height: 100%;
      position: relative;
    }

    .map-container-new iframe {
      width: 100%;
      height: 100%;
      border: none;
      display: block;
      filter: grayscale(20%);
    }

    /* ============================================
       CONTACT SECTION 2 RAIL ALIGNMENT
       Keep this section within the same visual rails
       used by header/hero content.
       ============================================ */
    .contact-section-2 {
      max-width: 1200px;
      width: 100%;
      margin: 0 auto;
      padding: 0 2rem;
      box-sizing: border-box;
    }

    .business-hours-content {
      padding: 40px 40px 40px 24px;
    }

    .map-section {
      min-height: 100%;
    }

    @media (max-width: 992px) {
      .contact-section-2 {
        max-width: none;
        padding: 0;
      }

      .business-hours-content {
        padding: 50px 40px;
      }
    }

    /* Location Pins */
    .location-pin {
      position: absolute;
      width: 50px;
      height: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
      animation: pinPulse 2s ease-in-out infinite;
    }

    .pin-circle {
      width: 30px;
      height: 30px;
      background: #2c2c2c;
      border: 4px solid #ffffff;
      border-radius: 50%;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }

    .pin-circle::before {
      content: "";
      position: absolute;
      width: 12px;
      height: 12px;
      background: #ffffff;
      border-radius: 50%;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }

    /* Pin Positions */
    .pin-1 {
      top: 20%;
      left: 40%;
      animation-delay: 0s;
    }

    .pin-2 {
      top: 45%;
      right: 25%;
      animation-delay: 0.5s;
    }

    .pin-3 {
      bottom: 30%;
      left: 50%;
      animation-delay: 1s;
    }

    @keyframes pinPulse {

      0%,
      100% {
        transform: scale(1);
      }

      50% {
        transform: scale(1.1);
      }
    }

    /* ============================================
             RESPONSIVE DESIGN
             ============================================ */

    @media (max-width: 992px) {

      .contact-section-1,
      .contact-section-2 {
        grid-template-columns: 1fr;
      }

      .contact-left-content h2 {
        font-size: 2.5rem;
      }

      .business-title {
        font-size: 2rem;
      }

      .map-section {
        min-height: 500px;
      }
    }

    @media (max-width: 768px) {

      .contact-left-content,
      .contact-right-content,
      .business-hours-content {
        padding: 40px 30px;
      }

      .contact-left-content h2 {
        font-size: 2rem;
      }

      .contact-logo {
        width: 140px;
        margin-bottom: 30px;
      }

      .phone-wrapper {
        grid-template-columns: 120px 1fr;
        gap: 10px;
      }

      .business-title {
        font-size: 1.8rem;
      }

      .location-info {
        flex-direction: column;
      }

      .location-icon {
        margin-bottom: 15px;
      }
    }

    @media (max-width: 576px) {
      .contact-left-content h2 {
        font-size: 1.6rem;
      }

      .phone-wrapper {
        grid-template-columns: 1fr;
        gap: 12px;
      }

      .business-title {
        font-size: 1.5rem;
      }

      .hours-item {
        flex-direction: column;
        gap: 8px;
      }
    }

    /* Footer */
    footer {
      background: linear-gradient(rgba(0, 51, 102, 0.96)),
        url("../media/backgrounds/footer-background.webp") no-repeat center center;
      color: var(--primary-blue);
      background-size: cover;
      color: white;
      padding: 60px 0 30px;
      position: relative;
      z-index: 9999;
      /* Very high to ensure it's on top */
    }

    .footer-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 40px;
      margin-bottom: 50px;
    }

    .footer-logo {
      height: 40px;
      margin-bottom: 20px;
    }

    .footer-about p {
      opacity: 0.8;
      margin-bottom: 20px;
    }

    .social-links {
      display: flex;
      gap: 15px;
    }

    .social-links a {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      color: var(--white);
      transition: var(--transition);
    }

    .social-links a:hover {
      background: var(--accent-blue);
      transform: translateY(-5px);
    }

    .footer-links h3 {
      color: var(--white);
      margin-bottom: 25px;
      font-size: 1.3rem;
    }

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

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

    .footer-links a {
      color: rgba(255, 255, 255, 0.8);
      text-decoration: none;
      transition: var(--transition);
      white-space: nowrap;
    }

    .footer-links a:hover {
      color: var(--accent-blue);
      padding-left: 5px;
    }

    .copyright {
      text-align: center;
      padding-top: 30px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      opacity: 0.7;
    }

    /* Responsive Design */
    @media (max-width: 992px) {

      .about-grid,
      .contact-grid {
        grid-template-columns: 1fr;
      }

      .about-image {
        max-width: 600px;
        margin: 0 auto;
      }
    }

    @media (max-width: 576px) {
      .hero {
        padding: 140px 0 80px;
        background: radial-gradient(circle at center,
            #b8dcff 30%,
            /* light blue center */
            #e4f2ff 80%,
            /* softer blue */
            #ffffff 100%
            /* white edges */
          );
      }

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

      .hero p {
        font-size: 1.1rem;
      }

      .service-icon {
        height: 150px;
      }
    }

    /* =========================================================
       CHATBOT
       ========================================================= */
    .hidden {
      display: none !important;
    }

    #chatbot-toggle {
      position: fixed;
      bottom: 30px;
      right: 30px;
      background: linear-gradient(135deg, #0061ff 0%, #60efff 100%);
      color: white;
      font-size: 0;
      padding: 0;
      border-radius: 50%;
      cursor: pointer;
      z-index: 10001;
      /* CHANGED from 9999 to 10001 */
      box-shadow: 0 6px 15px rgba(0, 97, 255, 0.4);
      border: none;
      width: 100px;
      height: 100px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
      overflow: hidden;
    }

    #chatbot-toggle img {
      width: 100%;
      /* Makes image fill the button */
      height: 100%;
      object-fit: cover;
      /* Ensures image covers the area properly */
      border-radius: 50%;
      /* Makes image circular */
    }

    #chatbot-toggle:hover {
      transform: scale(1.1) rotate(10deg);
      box-shadow: 0 8px 20px rgba(0, 97, 255, 0.6);
    }

    /* Responsive sizing for mobile */
    @media (max-width: 768px) {
      #chatbot-toggle {
        width: 60px;
        /* Smaller on mobile */
        height: 60px;
        bottom: 20px;
        right: 20px;
      }
    }

    @media (max-width: 480px) {
      #chatbot-toggle {
        width: 50px;
        /* Even smaller on very small screens */
        height: 50px;
        bottom: 15px;
        right: 15px;
      }
    }

    #chatbot-overlay {
      position: fixed;
      top: 100px;
      right: 20px;
      bottom: 20px;
      width: 400px;
      background-color: white;
      border-radius: 20px;
      box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
      display: none;
      z-index: 10000;
      /* CHANGED from 9998 to 10000 */
      opacity: 0;
      transform: translateX(20px);
      transition: all 0.4s ease;
      padding: 20px;
      box-sizing: border-box;
      overflow: hidden;
      border: 1px solid #e0e0e0;
    }

    #chatbot-overlay.show {
      display: block;
      opacity: 1;
      transform: translateX(0);
    }

    .chatbot-close {
      position: absolute;
      top: 15px;
      right: 15px;
      background: white;
      border: none;
      border-radius: 50%;
      width: 36px;
      height: 36px;
      cursor: pointer;
      font-size: 22px;
      font-weight: bold;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 10000;
      color: #666;
      transition: all 0.2s ease;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .chatbot-close:hover {
      background: #f0f0f0;
      color: #000;
      transform: rotate(90deg);
    }

    .integrated-chatbot-container {
      height: 100%;
      display: flex;
      flex-direction: column;
      background: white;
      border-radius: 12px;
      overflow: hidden;
    }

    .chatbot-header {
      background: linear-gradient(135deg, #0d3d75 0%, #0066cc 100%);
      color: white;
      padding: 20px;
      text-align: center;
    }

    .chatbot-header h2 {
      font-size: 1.7em;
      margin-bottom: 5px;
      font-weight: 700;
      background: linear-gradient(90deg, #0066cc, #00aaff, #0066cc);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      background-size: 200% auto;
    }

    .chatbot-header p {
      font-size: 1.1em;
      opacity: 0.9;
      margin: 0;
    }

    .chat-messages {
      flex: 1;
      padding: 20px;
      overflow-y: auto;
      background: #f8f9fa;
      display: flex;
      flex-direction: column;
      gap: 15px;
    }

    .message {
      max-width: 85%;
      padding: 12px 16px;
      border-radius: 18px;
      font-size: 1.05em;
      line-height: 1.4;
      animation: slideIn 0.3s ease-out;
    }

    .bot-message {
      background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
      color: #1565c0;
      align-self: flex-start;
      border-bottom-left-radius: 4px;
    }

    .user-message {
      background: linear-gradient(135deg, #0d3d75 0%, #0066cc 100%);
      color: white;
      align-self: flex-end;
      border-bottom-right-radius: 4px;
    }

    .options-container {
      margin-top: 10px;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .option-btn {
      background: white;
      border: 2px solid #0066cc;
      color: #0066cc;
      padding: 10px 15px;
      border-radius: 25px;
      cursor: pointer;
      transition: all 0.3s ease;
      font-size: 0.9em;
      text-align: left;
      font-weight: 500;
    }

    .option-btn:hover {
      background: #0066cc;
      color: white;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
    }

    .typing-indicator {
      display: none;
      align-self: flex-start;
      background: #e9ecef;
      padding: 12px 16px;
      border-radius: 18px;
      border-bottom-left-radius: 4px;
    }

    .typing-dots {
      display: flex;
      gap: 4px;
    }

    .typing-dot {
      width: 8px;
      height: 8px;
      background: #6c757d;
      border-radius: 50%;
      animation: typing 1.4s infinite ease-in-out;
    }

    .typing-dot:nth-child(1) {
      animation-delay: -0.32s;
    }

    .typing-dot:nth-child(2) {
      animation-delay: -0.16s;
    }

    @keyframes typing {

      0%,
      80%,
      100% {
        transform: scale(0.8);
        opacity: 0.5;
      }

      40% {
        transform: scale(1);
        opacity: 1;
      }
    }

    @keyframes slideIn {
      from {
        opacity: 0;
        transform: translateY(20px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .chat-messages::-webkit-scrollbar {
      width: 6px;
    }

    .chat-messages::-webkit-scrollbar-track {
      background: #f1f1f1;
      border-radius: 3px;
    }

    .chat-messages::-webkit-scrollbar-thumb {
      background: #c1c1c1;
      border-radius: 3px;
    }

    .chat-messages::-webkit-scrollbar-thumb:hover {
      background: #a8a8a8;
    }

    /* =========================================================
       SCROLL ANIMATIONS
       ========================================================= */

    /* Initial hidden state for elements */
    .fade-in-element {
      opacity: 0;
      transform: translateY(40px);
      transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }

    /* Visible state when in viewport */
    .fade-in-element.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* Staggered animation delays for multiple elements */
    .fade-in-element.delay-1 {
      transition-delay: 0.1s;
    }

    .fade-in-element.delay-2 {
      transition-delay: 0.2s;
    }

    .fade-in-element.delay-3 {
      transition-delay: 0.3s;
    }

    .fade-in-element.delay-4 {
      transition-delay: 0.4s;
    }

    .fade-in-element.delay-5 {
      transition-delay: 0.5s;
    }

    .fade-in-element.delay-6 {
      transition-delay: 0.6s;
    }

    /* Fade in from left */
    .fade-in-left {
      opacity: 0;
      transform: translateX(-50px);
      transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }

    .fade-in-left.visible {
      opacity: 1;
      transform: translateX(0);
    }

    /* Fade in from right */
    .fade-in-right {
      opacity: 0;
      transform: translateX(50px);
      transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }

    .fade-in-right.visible {
      opacity: 1;
      transform: translateX(0);
    }

    /* Scale up animation */
    .scale-in {
      opacity: 0;
      transform: scale(0.9);
      transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }

    .scale-in.visible {
      opacity: 1;
      transform: scale(1);
    }

    /* Scroll to Top Button */
    #scrollToTop {
      position: fixed;
      bottom: 30px;
      left: 30px;
      background: linear-gradient(135deg, #0d3d75 0%, #0066cc 100%);
      color: white;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      border: none;
      cursor: pointer;
      display: none;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      z-index: 9997;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
      transition: all 0.3s ease;
    }

    #scrollToTop:hover {
      background: linear-gradient(135deg, #0066cc 0%, #0078d8 100%);
      transform: translateY(-5px);
      box-shadow: 0 6px 16px rgba(0, 102, 204, 0.5);
    }

    #scrollToTop.show {
      display: flex;
    }

    /* Responsive sizing for mobile */
    @media (max-width: 768px) {
      #scrollToTop {
        width: 45px;
        height: 45px;
        bottom: 20px;
        left: 20px;
        font-size: 20px;
      }
    }


    /* =====================================================
   CHALLENGE POPUP – INTERNAL SCROLL (FINAL & ISOLATED)
===================================================== */

    /* Prevent page from scrolling when popup is open */
    body.challenge-popup-open {
      overflow: hidden;
    }

    /* Popup overlay should NEVER scroll */
    .challenge-popup {
      overflow: hidden !important;
    }

    /* Popup container */
    .challenge-popup-content {
      max-height: 90vh;
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    /* Scrollable content area */
    .challenge-popup-body {
      flex: 1 1 auto;
      overflow-y: auto;
      max-height: calc(90vh - 160px);
      /* Header + footer reserved space */
      padding: 30px 40px;
    }

    /* Optional: smooth scrollbar */
    .challenge-popup-body::-webkit-scrollbar {
      width: 6px;
    }

    .challenge-popup-body::-webkit-scrollbar-thumb {
      background: #0d3d75;
      border-radius: 4px;
    }

    /* Lead Verification Modal */

    .modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.6);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 5000;
    }

    .modal-overlay.active {
      display: flex;
    }

    .modal-box {
      background: #fff;
      width: 95%;
      max-width: 420px;
      padding: 30px;
      border-radius: 8px;
      box-shadow: var(--shadow);
      position: relative;
    }

    .modal-box input {
      width: 100%;
      margin-bottom: 12px;
      padding: 12px;
    }

    .modal-close {
      position: absolute;
      top: 12px;
      right: 16px;
      background: #fff;
      border: none;
      font-size: 24px;
      cursor: pointer;
      z-index: 100000;
      pointer-events: auto;
    }

    .modal,
    .modal * {
      pointer-events: auto;
    }


    .otp-message {
      margin-top: 10px;
      font-size: 0.9rem;
      text-align: center;
    }

    /* =========================================================
       LEAD VERIFICATION MODAL
       ========================================================= */

    #leadVerificationModal .modal-box {
      padding: 32px;
    }

    #leadVerificationModal h3 {
      margin-bottom: 20px;
      color: #0d3d75;
    }

    #leadVerificationModal input {
      width: 100%;
      padding: 12px 14px;
      margin-bottom: 14px;
      border: 1px solid #ccc;
      border-radius: 6px;
      font-size: 15px;
    }

    #leadVerificationModal input:focus {
      border-color: #0066cc;
      outline: none;
      box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.15);
    }

    #leadVerificationModal .btn {
      margin-top: 10px;
      height: 46px;
      font-weight: 600;
    }

    #leadVerificationModal #otpMessage {
      margin-top: 10px;
      font-size: 14px;
      color: #d32f2f;
      text-align: center;
    }


    /* Lead verification button fix */

    #leadVerificationModal button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 48px;
      padding: 12px 24px;
      font-size: 15px;
      font-weight: 600;
      border-radius: 30px;
      cursor: pointer;
    }

    #sendOtpBtn,
    #verifyBothOtpBtn {
      background: linear-gradient(135deg, #0d3d75, #0066cc);
      color: #ffffff !important;
      border: none;
      width: 100%;
      margin-top: 16px;
    }

    #sendOtpBtn:hover,
    #verifyOtpBtn:hover {
      opacity: 0.95;
    }

    .dev-only {
      margin-top: 10px;
      color: #666;
      font-size: 13px;
    }

    .otp-verify-btn {
      display: block !important;
      width: 100%;
      margin-top: 15px;
      background: linear-gradient(135deg, #0d3d75, #0066cc);
      color: #fff;
      font-weight: 600;
      border-radius: 30px;
      padding: 14px;
      opacity: 1 !important;
      visibility: visible !important;
    }

    /* Lead verification modal close button */
    .lead-modal-close {
      position: absolute;
      top: 18px;
      right: 18px;

      width: 36px;
      height: 36px;

      border: none;
      background: #ffffff;
      color: #333;

      font-size: 26px;
      font-weight: 600;
      line-height: 1;

      border-radius: 50%;
      cursor: pointer;

      display: flex;
      align-items: center;
      justify-content: center;

      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      z-index: 10;
    }

    .lead-modal-close:hover {
      background: #f2f2f2;
    }

    #leadVerificationModal.active {
      display: flex !important;
      opacity: 1 !important;
      visibility: visible !important;
      z-index: 99999 !important;
    }

    /* =========================================================
       FIXES: HERO + SPLINE + CHALLENGE FORM VISIBILITY
       ========================================================= */

    /* Ensure hero acts as stacking context */
    .hero {
      position: relative;
      overflow: visible;
    }

    /* Spline background must stay behind content */
    .hero-bg-container,
    .hero-bg-container spline-viewer {
      position: absolute;
      inset: 0;
      z-index: 0;
      pointer-events: none;
    }

    /* Hero content always above spline */
    .hero-left,
    .hero-right,
    .hero-challenge-form {
      position: relative;
      z-index: 2;
    }

    /* Ensure challenge form is visible on desktop */
    .hero-challenge-form {
      display: block;
      opacity: 1;
      visibility: visible;
    }

    /* Prevent accidental clipping */
    .hero-part-1,
    .hero-part-2,
    .hero .container {
      overflow: visible;
    }

    /* Mobile safety */
    @media (max-width: 991px) {
      .hero {
        min-height: auto;
      }

      .hero-challenge-form {
        margin-top: 30px;
      }
    }

    /* =========================================================
       END FIXES
       ========================================================= */

    /* OTP section spacing */
    #otpSection {
      margin-top: 20px;
    }

    #otpSection input {
      margin-top: 12px;
    }

    #quickAssessmentSection {
      padding-top: 20px !important;
      display: none;
    }

    #quickAssessmentSection h1,
    #quickAssessmentSection h2 {
      margin-top: 0 !important;
    }

    .turnover-form.locked {
      pointer-events: none;
      opacity: 0.45;
      position: relative;
    }

.turnover-form.locked::after {
      content: "Please verify your details to continue";
      position: absolute;
      inset: 0;
      background: rgba(255, 255, 255, 0.85);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 600;
      font-size: 18px;
      color: #0d3d75;
      text-align: center;
    }

    /* =========================================================
       CONTACT US BUTTON CLICKABILITY FIX
       Keep button above overlapping layers in contact section.
       ========================================================= */
    #contact.contact-section-2 {
      position: relative;
      isolation: isolate;
    }

    #contact .business-hours-content {
      position: relative;
      z-index: 3;
    }

    #contact .map-section {
      position: relative;
      z-index: 1;
    }

    #contact #openContactPopup.contact-trigger-btn {
      position: relative;
      z-index: 20;
      pointer-events: auto !important;
      cursor: pointer !important;
      margin-top: 26px;
    }

