.elementor-3283 .elementor-element.elementor-element-819821f{--display:flex;}.elementor-3283 .elementor-element.elementor-element-ccb6c14 > .elementor-widget-container{margin:-30px 0px 0px 0px;}.elementor-3283 .elementor-element.elementor-element-84a13a6{--display:flex;}.elementor-3283 .elementor-element.elementor-element-6703244 > .elementor-widget-container{margin:-27px 0px 0px 0px;}.elementor-3283 .elementor-element.elementor-element-975260b{--display:flex;}.elementor-3283 .elementor-element.elementor-element-b94f146 > .elementor-widget-container{margin:-21px 0px 0px 0px;}.elementor-3283 .elementor-element.elementor-element-e5a77e9{--display:flex;}.elementor-3283 .elementor-element.elementor-element-81ffbcc > .elementor-widget-container{margin:-22px 0px 0px 0px;}.elementor-3283 .elementor-element.elementor-element-7885b9a{--display:flex;}:root{--page-title-display:none;}/* Start custom CSS for html, class: .elementor-element-ccb6c14 *//* --- STRUCTURAL CONDITIONS --- */
  .shiphold-services-hero-breakout {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    min-height: 80vh; /* Perfect height to introduce the page without overwhelming */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #061A35; /* Primary Navy fallback */
    color: #ffffff;
    overflow: hidden;
    padding: 6rem 1.5rem 3rem 1.5rem; /* Responsive padding */
    box-sizing: border-box;
    border-bottom: 1px solid rgba(0, 180, 216, 0.2);
  }

  @media (min-width: 768px) {
    .shiphold-services-hero-breakout {
      padding: 2rem;
    }
  }

  /* --- NEW BACKGROUND IMAGE & OVERLAY --- */
  .services-bg-image {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Cinematic maritime operations image */
    background-image: url('https://images.unsplash.com/photo-1671127105223-4ae332ca638c?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    z-index: 0;
    filter: grayscale(15%) contrast(1.1); /* Adds a slight dramatic, premium tone */
  }

  .services-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Luxe Navy Gradient to ensure white text pops */
    background: linear-gradient(135deg, rgba(6, 26, 53, 0.95) 0%, rgba(6, 26, 53, 0.7) 100%);
    z-index: 1;
  }

  .services-hero-container {
    position: relative;
    z-index: 10;
    max-width: 1000px;
    width: 100%;
    perspective: 2000px;
    display: flex;
    justify-content: center;
  }

  /* --- 3D INTERACTIVE CONTENT --- */
  .services-content-3d {
    text-align: center;
    padding: 1rem;
    width: 100%;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
  }

  @media (min-width: 768px) {
    .services-content-3d {
      padding: 3rem 1rem;
    }
  }

  .services-inner-depth {
    transform: translateZ(60px); /* Content floats forward */
    transform-style: preserve-3d;
  }

  /* --- TYPOGRAPHY --- */
  .services-kicker {
    font-size: clamp(0.8rem, 3vw, 1.1rem);
    text-transform: uppercase;
    letter-spacing: 5px;
    color: #00B4D8;
    font-weight: 800;
    display: block;
    margin-bottom: 1.5rem;
    transform: translateZ(20px);
  }

  .services-title {
    color: #ffffff;
    /* Responsive clamp */
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 1.5rem 0;
    transform: translateZ(50px);
  }

  .text-cyan { color: #00B4D8; }

  .services-subtitle {
    /* Responsive clamp */
    font-size: clamp(1rem, 4vw, 1.4rem);
    color: #B0C4DE;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 300;
    transform: translateZ(30px);
  }

  @media (min-width: 768px) {
    .services-title {
      line-height: 1.05;
      margin: 0 0 2rem 0;
    }
    .services-subtitle {
      line-height: 1.7;
    }
  }

  /* --- SCROLL INDICATOR --- */
  .scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    /* Horizontal centering is now handled via the custom animation to prevent jumping */
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
  }

  .scroll-indicator:hover {
    opacity: 1;
  }

  @media (min-width: 768px) {
    .scroll-indicator {
      bottom: 40px;
    }
  }

  .scroll-indicator span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #00B4D8;
    font-weight: 700;
    display: none; /* Hide text on very small screens to save space */
  }

  @media (min-width: 480px) {
    .scroll-indicator span {
      display: block;
    }
  }

  .mouse {
    width: 22px;
    height: 34px;
    border: 2px solid #00B4D8;
    border-radius: 15px;
    position: relative;
  }

  .mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 6px;
    background: #00B4D8;
    border-radius: 2px;
    animation: scrollAnim 1.5s infinite;
  }

  @keyframes scrollAnim {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
  }

  /* --- ANIMATIONS --- */
  .fade-up-element {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  }

  /* Specific animation for perfectly centering the indicator while fading up */
  .scroll-indicator.fade-up-element {
    transform: translate(-50%, 30px);
    animation: heroFadeUpCenter 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  }

  .delay-1 { animation-delay: 0.1s; }
  .delay-2 { animation-delay: 0.3s; }
  .delay-3 { animation-delay: 0.5s; }
  .delay-4 { animation-delay: 0.8s; }

  @keyframes heroFadeUp {
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes heroFadeUpCenter {
    to { opacity: 1; transform: translate(-50%, 0); }
  }

  /* Mobile Fixes & Disabling 3D to ensure touch/scroll is buttery smooth */
  @media (max-width: 1023px) {
    /* Disable fixed background to prevent iOS Safari bugs */
    .services-bg-image { 
      background-attachment: scroll; 
      background-position: center center; 
    } 
    /* Flatten 3D layers on mobile */
    .services-content-3d { transform: none !important; }
    .services-inner-depth { transform: none !important; }
    .services-title, .services-subtitle, .services-kicker { transform: none !important; }
  }/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-6703244 *//* --- STRUCTURAL CONDITIONS --- */
  .shiphold-matrix-breakout {
    width: 100vw;
    position: relative;
    left: 50%; right: 50%;
    margin-left: -50vw; margin-right: -50vw;
    background-color: #020A14; /* Deepest Navy Base */
    padding: 12vh 2rem;
    box-sizing: border-box;
    overflow: hidden;
    color: #ffffff;
    border-bottom: 1px solid rgba(0, 180, 216, 0.1);
  }

  .matrix-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }

  .matrix-kicker {
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #00B4D8;
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
  }

  .matrix-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 1.5rem 0;
    color: #ffffff;
  }

  .text-cyan { color: #00B4D8; }

  .matrix-desc {
    font-size: 1.15rem;
    color: #B0C4DE;
    line-height: 1.7;
    font-weight: 300;
  }

  /* --- INTERACTIVE ACCORDION (MATRIX) --- */
  .matrix-accordion {
    display: flex;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    height: 75vh;
    min-height: 600px;
    max-height: 800px;
    gap: 1.5rem;
  }

  .m-panel {
    flex: 1;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(0, 180, 216, 0.2);
    /* The magic flex transition that powers the accordion */
    transition: flex 0.7s cubic-bezier(0.25, 1, 0.3, 1), border-color 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  }

  .m-panel.active {
    flex: 5; /* Active panel takes up 5x the space of inactive ones */
    cursor: default;
    border-color: rgba(0, 180, 216, 0.6);
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), inset 0 0 30px rgba(0, 180, 216, 0.1);
  }

  /* Backgrounds & Overlays */
  .m-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease, filter 0.8s ease;
    filter: grayscale(70%) brightness(0.3); /* Dark & muted when inactive */
  }

  .m-panel.active .m-bg {
    filter: grayscale(20%) brightness(0.6); /* Brighter when active */
    transform: scale(1.05); /* Slight zoom in */
  }

  .m-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(2,10,20,0.95) 0%, rgba(2,10,20,0.4) 100%);
    transition: background 0.7s ease;
  }

  .m-panel.active .m-overlay {
    background: linear-gradient(to right, rgba(2,10,20,0.98) 0%, rgba(6,26,53,0.7) 100%);
  }

  /* --- INACTIVE PANEL STYLING (Vertical Text) --- */
  .m-head-inactive {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 3rem;
    transition: opacity 0.3s ease;
  }

  .m-panel.active .m-head-inactive {
    opacity: 0;
    pointer-events: none;
  }

  .m-num {
    font-size: 1.5rem;
    font-weight: 900;
    color: #00B4D8;
    margin-bottom: 1rem;
  }

  .m-title-sm {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    /* Forces text to run bottom-to-top vertically */
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    letter-spacing: 2px;
    text-transform: uppercase;
  }

  /* --- ACTIVE PANEL STYLING --- */
  .m-content {
    position: absolute; inset: 0;
    padding: 3rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease 0s, visibility 0s ease 0.4s;
  }

  .m-panel.active .m-content {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease 0.4s, visibility 0s ease 0s; /* Fades in AFTER panel expands */
  }

  .m-head-active { display: flex; align-items: center; gap: 10px; margin-bottom: 1.5rem; }

  .pulse-dot {
    width: 6px; height: 6px; background-color: #00B4D8; border-radius: 50%;
    box-shadow: 0 0 8px #00B4D8; animation: pingDot 2s infinite;
  }
  @keyframes pingDot { 0% { box-shadow: 0 0 0 0 rgba(0,180,216,0.7); } 70% { box-shadow: 0 0 0 8px rgba(0,180,216,0); } 100% { box-shadow: 0 0 0 0 rgba(0,180,216,0); } }

  .m-kicker { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 3px; color: #00B4D8; font-weight: 700; }
  
  .m-body {
    display: flex;
    flex-direction: row;
    gap: 4rem;
    align-items: center;
  }

  .m-text-col { flex: 1; max-width: 500px; }
  .m-title { font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 900; line-height: 1.1; margin: 0 0 1rem 0; color: #ffffff; }
  .m-desc { font-size: 1.1rem; color: #B0C4DE; line-height: 1.7; margin-bottom: 2rem; font-weight: 300; }
  
  .m-highlight {
    background: rgba(0, 180, 216, 0.08); border-left: 3px solid #00B4D8; border-radius: 0 8px 8px 0;
    padding: 1.2rem; color: #ffffff; font-size: 0.95rem; line-height: 1.6; margin-bottom: 2.5rem;
  }

  .m-feature-list { list-style: none; padding: 0; margin: 0 0 2.5rem 0; display: flex; flex-direction: column; gap: 1rem; }
  .m-feature-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 1rem; line-height: 1.5; color: #B0C4DE; }
  .m-feature-list li strong { color: #ffffff; }

  .m-grid-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 2.5rem; }
  .t-grid-item h4 { margin: 0 0 0.5rem 0; font-size: 1.1rem; font-weight: 700; color: #00B4D8; }
  .t-grid-item p { margin: 0; font-size: 0.95rem; color: #B0C4DE; line-height: 1.5; }

  .btn-m-action {
    background-color: transparent; color: #00B4D8; border: 1px solid #00B4D8;
    padding: 1rem 2rem; font-size: 1rem; border-radius: 4px; cursor: pointer;
    font-weight: 800; text-transform: uppercase; letter-spacing: 2px;
    display: inline-flex; align-items: center; gap: 12px; transition: all 0.4s ease;
    position: relative; overflow: hidden;
  }
  .btn-m-action::before {
    content: ''; position: absolute; inset: 0; background-color: #00B4D8;
    transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; z-index: -1;
  }
  .btn-m-action:hover { color: #061A35; box-shadow: 0 15px 30px rgba(0, 180, 216, 0.3); }
  .btn-m-action:hover::before { transform: scaleX(1); }

  /* --- 3D HOLOGRAPHIC VISUAL --- */
  .m-visual-col { flex: 0.8; display: flex; justify-content: center; align-items: center; }
  .tilt-physics-wrapper { width: 100%; display: flex; justify-content: center; align-items: center; transform-style: preserve-3d; will-change: transform; }

  .hologram-box {
    width: 220px; height: 220px;
    background: rgba(6, 26, 53, 0.6); 
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(0, 180, 216, 0.2);
    position: relative; border: 1px solid rgba(0, 180, 216, 0.4); transform: translateZ(50px);
  }

  .hologram-grid {
    position: absolute; inset: 0; border-radius: 50%;
    background-image: linear-gradient(rgba(0, 180, 216, 0.15) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 180, 216, 0.15) 1px, transparent 1px);
    background-size: 20px 20px; background-position: center; pointer-events: none; z-index: 0;
    animation: slowSpin 30s linear infinite;
  }
  @keyframes slowSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

  .hologram-icon {
    position: relative; z-index: 10; transform: translateZ(60px);
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
    width: 120px !important; height: 120px !important; display: block;
  }

  /* --- SCROLL REVEALS --- */
  .scroll-reveal-fade { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
  .scroll-reveal-up { opacity: 0; transform: translateY(50px); transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1); }
  .scroll-reveal-fade.active, .scroll-reveal-up.active { opacity: 1; transform: translateY(0); }

  /* --- MOBILE RESPONSIVENESS (Vertical Stack) --- */
  @media (max-width: 1023px) {
    .matrix-accordion { flex-direction: column; height: auto; min-height: auto; gap: 1rem; }
    
    .m-panel { flex: none; height: 100px; transition: height 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
    .m-panel.active { height: auto; min-height: 750px; padding-bottom: 2rem; } /* Expands to fit content on mobile */
    
    .m-head-inactive { flex-direction: row; justify-content: flex-start; padding: 0 2rem; align-items: center; gap: 15px; }
    .m-title-sm { writing-mode: horizontal-tb; transform: none; font-size: 1.1rem; }
    .m-num { margin-bottom: 0; }

    .m-body { flex-direction: column; gap: 2rem; padding-bottom: 2rem; }
    .m-content { padding: 2rem 1.5rem; justify-content: flex-start; overflow-y: auto; }
    
    .tilt-physics-wrapper { transform: none !important; }
    .hologram-box { width: 160px; height: 160px; transform: none !important; }
    .hologram-icon { width: 90px !important; height: 90px !important; transform: none !important; }
  }/* End custom CSS */