/* ==========================================
   SHIPYARD SPECIFIC STYLES
   ========================================== */

/* Ensure background image is properly displayed */
.bannerpage.banner-service.bannerScroll[style*="background-image"] {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* Our Capabilities Section */
.shipyard-capabilities {
  position: relative;
  background: #ffffff;
  padding: 100px 0 0;
  overflow: visible;
  margin-bottom: -1px;
}

.shipyard-capabilities::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 10;
  pointer-events: none;
}

/* Background Assets */
.shipyard-capabilities .bg-asset-bottom-left {
  position: absolute;
  bottom: -50px;
  left: -20px;
  width: 500px;
  height: auto;
  z-index: 1;
  opacity: 0.4;
}

.shipyard-capabilities .bg-asset-bottom-left img {
  height: auto;
  display: block;
}

.shipyard-capabilities .bg-asset-top-right {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 600px;
  height: auto;
  z-index: 1;
  opacity: 0.35;
}

.shipyard-capabilities .bg-asset-top-right img {
  height: auto;
  display: block;
}

.shipyard-capabilities .bg-gradient {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90%;
  z-index: 0;
  opacity: 0.25;
  pointer-events: none;
}

.shipyard-capabilities .bg-gradient img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Content Container */
.shipyard-capabilities .wrapper {
  position: relative;
  z-index: 5;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 120px;
}

/* Header Section */
.shipyard-capabilities .capabilities-header {
  text-align: center;
  margin-bottom: 60px;
}

.shipyard-capabilities .capabilities-header h2 {
  font-size: 48px;
  font-weight: 700;
  background: linear-gradient(to right, #240a66, #4c318f44);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin-bottom: 30px;
  line-height: 1.2;
}

/* Content Section */
.shipyard-capabilities .capabilities-content {
  max-width: 1000px;
  margin: 0 auto;
}

.shipyard-capabilities .capabilities-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #333333;
  text-align: center;
  margin-bottom: 20px;
}

.shipyard-capabilities .capabilities-content p:last-child {
  margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 1366px) {
  .shipyard-capabilities {
    padding: 80px 0 0;
  }

  .shipyard-capabilities::after {
    bottom: -120px;
    height: 180px;
  }

  .shipyard-capabilities .wrapper {
    padding: 0 40px 100px;
  }

  .shipyard-capabilities .bg-asset-bottom-left {
    width: 450px;
    opacity: 0.35;
  }

  .shipyard-capabilities .bg-asset-top-right {
    width: 500px;
    opacity: 0.3;
  }

  .shipyard-capabilities .capabilities-header h2 {
    font-size: 42px;
  }
}

@media (max-width: 1200px) {
  .shipyard-capabilities {
    padding: 70px 0 0;
  }

  .shipyard-capabilities::after {
    bottom: -100px;
    height: 150px;
  }

  .shipyard-capabilities .wrapper {
    padding: 0 30px 90px;
  }

  .shipyard-capabilities .bg-asset-bottom-left {
    width: 380px;
    opacity: 0.3;
  }

  .shipyard-capabilities .bg-asset-top-right {
    width: 420px;
    opacity: 0.28;
  }

  .shipyard-capabilities .capabilities-header h2 {
    font-size: 38px;
  }

  .shipyard-capabilities .capabilities-content p {
    font-size: 15px;
  }
}

@media (max-width: 1023px) {
  .shipyard-capabilities {
    padding: 60px 0 0;
  }

  .shipyard-capabilities::after {
    bottom: -80px;
    height: 120px;
  }

  .shipyard-capabilities .wrapper {
    padding: 0 30px 80px;
  }

  .shipyard-capabilities .bg-asset-bottom-left {
    width: 320px;
    opacity: 0.25;
  }

  .shipyard-capabilities .bg-asset-top-right {
    width: 350px;
    opacity: 0.22;
  }

  .shipyard-capabilities .capabilities-header h2 {
    font-size: 34px;
    margin-bottom: 25px;
  }
}

@media (max-width: 767px) {
  .shipyard-capabilities {
    padding: 50px 0 0;
  }

  .shipyard-capabilities::after {
    bottom: -60px;
    height: 100px;
  }

  .shipyard-capabilities .wrapper {
    padding: 0 20px 70px;
  }

  .shipyard-capabilities .bg-asset-bottom-left {
    width: 250px;
    opacity: 0.2;
  }

  .shipyard-capabilities .bg-asset-top-right {
    width: 280px;
    opacity: 0.18;
  }

  .shipyard-capabilities .capabilities-header {
    margin-bottom: 40px;
  }

  .shipyard-capabilities .capabilities-header h2 {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .shipyard-capabilities .capabilities-content p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
  }
}

@media (max-width: 576px) {
  .shipyard-capabilities {
    padding: 40px 0 0;
  }

  .shipyard-capabilities::after {
    bottom: -50px;
    height: 80px;
  }

  .shipyard-capabilities .wrapper {
    padding: 0 20px 60px;
  }

  .shipyard-capabilities .bg-asset-bottom-left {
    width: 200px;
    opacity: 0.18;
  }

  .shipyard-capabilities .bg-asset-top-right {
    width: 220px;
    opacity: 0.15;
  }

  .shipyard-capabilities .capabilities-header h2 {
    font-size: 24px;
  }

  .shipyard-capabilities .capabilities-content p {
    font-size: 13px;
  }
}

/* Middle Section Adjustment for Smooth Transition */
.shipyard-capabilities + .middle {
  position: relative;
  padding-top: 150px;
  margin-top: -100px;
}

@media (max-width: 1366px) {
  .shipyard-capabilities + .middle {
    padding-top: 120px;
    margin-top: -80px;
  }
}

@media (max-width: 1023px) {
  .shipyard-capabilities + .middle {
    padding-top: 100px;
    margin-top: -60px;
  }
}

@media (max-width: 767px) {
  .shipyard-capabilities + .middle {
    padding-top: 80px;
    margin-top: -50px;
  }
}

/* ==========================================
   OUR DOCKS SECTION - REDESIGN
   ========================================== */

/* Services Container - Shared Background for 4 Sections */
.shipyard-services-container {
  position: relative;
  background: linear-gradient(180deg, #061557 0%, #051238 50%, #020b28 100%);
  overflow: hidden;
  z-index: 0;
}

/* Main Background Image - Full Blue Tint (Behind all sections) */
.shipyard-services-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/cfind/source/images/shipyard/main-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
  filter: saturate(0) brightness(0.6) sepia(100%) hue-rotate(200deg) saturate(5);
  mix-blend-mode: soft-light;
}

.shipyard-docks {
  position: relative;
  background: linear-gradient(135deg, #2a3f6b 0%, #1a2845 100%);
  padding: 0;
  overflow: hidden;
  min-height: 600px;
}

/* Overlay for better contrast */
.shipyard-docks::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 40, 69, 0.4);
  z-index: 1;
  pointer-events: none;
}

/* Header Section */
.shipyard-docks .docks-header {
  position: absolute;
  top: 15%;
  left: 15%;
  z-index: 10;
}

.shipyard-docks .docks-header h2 {
  font-size: 56px;
  font-weight: 700;
  background: linear-gradient(to right, #ffff, #95baffbd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin: 0;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

/* Image Container - Full Width */
.shipyard-docks .figimg {
  position: relative;
  width: 100%;
  height: 600px;
  z-index: 2;
}

.shipyard-docks .figimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.85;
}

/* Pin Container */
.shipyard-docks .dockpin {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
}

/* Pin Styling - Modern Redesign */
.shipyard-docks .dockpin .pin {
  position: absolute !important;
  cursor: pointer;
  z-index: 6;
}

.shipyard-docks .dockpin .pin .circle {
  width: 24px !important;
  height: 24px !important;
  background: rgba(255, 255, 255, 0.95) !important;
  border-radius: 50% !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 4px 15px rgba(91, 76, 145, 0.4) !important;
}

.shipyard-docks .dockpin .pin .circle::after {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 8px !important;
  height: 8px !important;
  background: #ffffff !important;
  border-radius: 50% !important;
  transition: all 0.3s ease !important;
}

/* Tooltip - Modern Design */
.shipyard-docks .dockpin .pin .tooltip {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.98);
  color: #1a2845;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  z-index: 100;
}

.shipyard-docks .dockpin .pin .tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(255, 255, 255, 0.98);
}

/* Hover States */
.shipyard-docks .dockpin .pin:hover .circle {
  width: 31px !important;
  height: 31px !important;
  background: #5b4c91 !important;
  box-shadow: 0 6px 25px rgba(91, 76, 145, 0.6) !important;
}

.shipyard-docks .dockpin .pin:hover .circle::after {
  background: #ffffff !important;
  width: 10px !important;
  height: 10px !important;
}

.shipyard-docks .dockpin .pin:hover .tooltip {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Pin Positions - Based on Design */
.shipyard-docks .dockpin .pin:nth-child(1) {
  top: 62%;
  left: 22%;
}

.shipyard-docks .dockpin .pin:nth-child(2) {
  top: 56%;
  left: 29%;
}

.shipyard-docks .dockpin .pin:nth-child(3) {
  top: 74%;
  left: 38%;
}

.shipyard-docks .dockpin .pin:nth-child(4) {
  top: 60%;
  left: 48%;
}

.shipyard-docks .dockpin .pin:nth-child(5) {
  top: 58%;
  left: 58%;
}

.shipyard-docks .dockpin .pin:nth-child(6) {
  top: 38%;
  left: 72%;
}

/* Responsive Design */
@media (max-width: 1366px) {
  .shipyard-docks {
    min-height: 550px;
  }

  .shipyard-docks .figimg {
    height: 550px;
  }

  .shipyard-docks .docks-header {
    top: 15%;
    left: 15%;
  }

  .shipyard-docks .docks-header h2 {
    font-size: 48px;
  }
}

@media (max-width: 1200px) {
  .shipyard-docks {
    min-height: 500px;
  }

  .shipyard-docks .figimg {
    height: 500px;
  }

  .shipyard-docks .docks-header {
    top: 50px;
    left: 50px;
  }

  .shipyard-docks .docks-header h2 {
    font-size: 42px;
  }

  .shipyard-docks .dockpin .pin .circle {
    width: 20px;
    height: 20px;
  }

  .shipyard-docks .dockpin .pin .tooltip {
    font-size: 13px;
    padding: 8px 14px;
  }
}

@media (max-width: 1023px) {
  .shipyard-docks {
    min-height: 450px;
  }

  .shipyard-docks .figimg {
    height: 450px;
  }

  .shipyard-docks .docks-header {
    top: 40px;
    left: 40px;
  }

  .shipyard-docks .docks-header h2 {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  .shipyard-docks {
    min-height: 400px;
  }

  .shipyard-docks .figimg {
    height: 400px;
  }

  .shipyard-docks .docks-header {
    top: 30px;
    left: 30px;
  }

  .shipyard-docks .docks-header h2 {
    font-size: 32px;
  }

  .shipyard-docks .dockpin .pin .circle {
    width: 18px;
    height: 18px;
    border-width: 2px;
  }

  .shipyard-docks .dockpin .pin .circle::after {
    width: 6px;
    height: 6px;
  }

  .shipyard-docks .dockpin .pin .tooltip {
    font-size: 12px;
    padding: 6px 12px;
    bottom: calc(100% + 12px);
  }
}

@media (max-width: 576px) {
  .shipyard-docks {
    min-height: 350px;
  }

  .shipyard-docks .figimg {
    height: 350px;
  }

  .shipyard-docks .docks-header {
    top: 20px;
    left: 20px;
  }

  .shipyard-docks .docks-header h2 {
    font-size: 28px;
  }
}

/* ==========================================
   MACHINING SERVICES SECTION
   ========================================== */

.shipyard-machining {
  position: relative;
  background: transparent;
  overflow: hidden;
  z-index: 2;
}

/* Remove individual overlay - using shared container background */
.shipyard-machining::before {
  display: none;
}

.shipyard-machining .wrapper {
  position: relative;
  z-index: 2;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

.shipyard-machining .machining-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  width: 100%;
  position: relative;
}

/* Text Side - Left */
.shipyard-machining .text-side {
  flex: 0 0 55%;
  width: 55%;
  max-width: 750px;
  padding: 100px 100px 100px 60px;
  position: relative;
  z-index: 2;
  margin-left: 200px;
}

.shipyard-machining .text-side h2 {
  font-size: 56px;
  font-weight: 700;
  background: linear-gradient(to right, #ffff, #95baffbd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
  margin-bottom: 40px;
}

.shipyard-machining .description {
  color: #ffffff;
}

.shipyard-machining .description p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

.shipyard-machining .services-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.shipyard-machining .services-list li {
  position: relative;
  padding-left: 30px;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 12px;
}

.shipyard-machining .services-list li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

/* Style regular ul/li from CKEditor */
.shipyard-machining .description ul {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.shipyard-machining .description ul li {
  position: relative;
  padding-left: 30px;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 12px;
}

.shipyard-machining .description ul li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

/* Image Side - Right */
.shipyard-machining .image-side {
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 1;
}

/* Blue Overlay on Image - Full Blue Tint */
.shipyard-machining .image-side::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}

.shipyard-machining .image-side img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  position: relative;
}

/* Responsive Design */
@media (max-width: 1366px) {
  .shipyard-machining .text-side {
    padding: 100px 60px 100px 80px;
    margin-left: 0;
  }

  .shipyard-machining .text-side h2 {
    font-size: 48px;
    margin-bottom: 35px;
  }

  .shipyard-machining .description p,
  .shipyard-machining .services-list li {
    font-size: 15px;
  }
}

@media (max-width: 1200px) {
  .shipyard-machining {
    padding: 90px 0;
  }

  .shipyard-machining .text-side {
    padding: 0 50px 0 60px;
  }

  .shipyard-machining .text-side h2 {
    font-size: 42px;
    margin-bottom: 30px;
  }
}

@media (max-width: 1023px) {
  .shipyard-machining {
    padding: 80px 0;
  }

  .shipyard-machining .machining-content {
    flex-direction: column;
    gap: 50px;
  }

  .shipyard-machining .text-side {
    width: 100%;
    max-width: 100%;
    padding: 0 40px;
    text-align: center;
  }

  .shipyard-machining .text-side h2 {
    font-size: 38px;
  }

  .shipyard-machining .services-list {
    text-align: left;
    max-width: 600px;
    margin: 30px auto;
  }

  .shipyard-machining .image-side {
    width: 100%;
    padding: 0;
  }
}

@media (max-width: 767px) {
  .shipyard-machining {
    padding: 60px 0;
  }

  .shipyard-machining .text-side {
    padding: 0 30px;
  }

  .shipyard-machining .machining-content {
    gap: 40px;
  }

  .shipyard-machining .text-side h2 {
    font-size: 32px;
    margin-bottom: 25px;
  }

  .shipyard-machining .description p,
  .shipyard-machining .services-list li {
    font-size: 14px;
  }

  .shipyard-machining .services-list li {
    margin-bottom: 10px;
  }
}

@media (max-width: 576px) {
  .shipyard-machining {
    padding: 50px 0;
  }

  .shipyard-machining .text-side {
    padding: 0 20px;
  }

  .shipyard-machining .text-side h2 {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .shipyard-machining .description p,
  .shipyard-machining .services-list li {
    font-size: 13px;
  }

  .shipyard-machining .image-side img {
    border-radius: 0;
  }
}

/* ==========================================
   MECHANICAL SERVICES SECTION
   ========================================== */

.shipyard-mechanical {
  position: relative;
  background: #05103b;
  padding: 0;
  overflow: hidden;
  z-index: 2;
}

/* Remove individual overlay - using shared container background */
.shipyard-mechanical::before {
  display: none;
}

.shipyard-mechanical .wrapper {
  position: relative;
  z-index: 2;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

.shipyard-mechanical .mechanical-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  width: 100%;
}

/* Image Side - Left (Reversed) - Absolute Positioned */
.shipyard-mechanical .image-side {
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  z-index: 1;
}

/* Blue Overlay on Image - Full Blue Tint */
.shipyard-mechanical .image-side::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}

.shipyard-mechanical .image-side img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  position: relative;
}

/* Text Side - Right */
.shipyard-mechanical .text-side {
  flex: 0 0 55%;
  width: 55%;
  max-width: 750px;
  padding: 100px 100px 100px 60px;
  z-index: 2;
  position: relative;
  margin-left: 50%;
}

.shipyard-mechanical .text-side h2 {
  font-size: 56px;
  font-weight: 700;
  background: linear-gradient(to right, #ffff, #95baffbd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
  margin-bottom: 40px;
}

.shipyard-mechanical .description {
  color: #ffffff;
}

.shipyard-mechanical .description p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

.shipyard-mechanical .services-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.shipyard-mechanical .services-list li {
  position: relative;
  padding-left: 30px;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 12px;
}

.shipyard-mechanical .services-list li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

/* Style regular ul/li from CKEditor */
.shipyard-mechanical .description ul {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.shipyard-mechanical .description ul li {
  position: relative;
  padding-left: 30px;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 12px;
}

.shipyard-mechanical .description ul li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1366px) {
  .shipyard-mechanical .text-side {
    padding: 100px 80px 100px 60px;
  }

  .shipyard-mechanical .text-side h2 {
    font-size: 48px;
    margin-bottom: 35px;
  }

  .shipyard-mechanical .description p,
  .shipyard-mechanical .services-list li {
    font-size: 15px;
  }
}

@media (max-width: 1200px) {
  .shipyard-mechanical {
    padding: 90px 0;
  }

  .shipyard-mechanical .text-side {
    padding: 0 60px 0 50px;
  }

  .shipyard-mechanical .text-side h2 {
    font-size: 42px;
    margin-bottom: 30px;
  }
}

@media (max-width: 1023px) {
  .shipyard-mechanical {
    padding: 80px 0;
  }

  .shipyard-mechanical .mechanical-content {
    flex-direction: column;
    gap: 50px;
  }

  .shipyard-mechanical .text-side {
    width: 100%;
    max-width: 100%;
    padding: 0 40px;
    text-align: center;
  }

  .shipyard-mechanical .text-side h2 {
    font-size: 38px;
  }

  .shipyard-mechanical .services-list {
    text-align: left;
    max-width: 600px;
    margin: 30px auto;
  }

  .shipyard-mechanical .image-side {
    width: 100%;
    padding: 0;
  }
}

@media (max-width: 767px) {
  .shipyard-mechanical {
    padding: 60px 0;
  }

  .shipyard-mechanical .text-side {
    padding: 0 30px;
  }

  .shipyard-mechanical .mechanical-content {
    gap: 40px;
  }

  .shipyard-mechanical .text-side h2 {
    font-size: 32px;
    margin-bottom: 25px;
  }

  .shipyard-mechanical .description p,
  .shipyard-mechanical .services-list li {
    font-size: 14px;
  }

  .shipyard-mechanical .services-list li {
    margin-bottom: 10px;
  }
}

@media (max-width: 576px) {
  .shipyard-mechanical {
    padding: 50px 0;
  }

  .shipyard-mechanical .text-side {
    padding: 0 20px;
  }

  .shipyard-mechanical .text-side h2 {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .shipyard-mechanical .description p,
  .shipyard-mechanical .services-list li {
    font-size: 13px;
  }

  .shipyard-mechanical .image-side img {
    border-radius: 0;
  }
}

/* ==========================================
   BLASTING PAINTING SECTION
   ========================================== */

.shipyard-blasting {
  position: relative;
  background: #040f35;
  padding: 0;
  overflow: hidden;
  z-index: 2;
}

/* Remove individual overlay - using shared container background */
.shipyard-blasting::before {
  display: none;
}

.shipyard-blasting .wrapper {
  position: relative;
  z-index: 2;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

.shipyard-blasting .blasting-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  width: 100%;
  position: relative;
}

/* Text Side - Left */
.shipyard-blasting .text-side {
  flex: 0 0 55%;
  width: 55%;
  max-width: 750px;
  padding: 100px 60px 100px 100px;
  position: relative;
  z-index: 2;
  margin-left: 200px;
}

.shipyard-blasting .text-side h2 {
  font-size: 56px;
  font-weight: 700;
  background: linear-gradient(to right, #ffff, #95baffbd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
  margin-bottom: 40px;
}

.shipyard-blasting .description {
  color: #ffffff;
}

.shipyard-blasting .description p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

.shipyard-blasting .description p:last-child {
  margin-bottom: 0;
}

/* Style regular ul/li from CKEditor */
.shipyard-blasting .description ul {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.shipyard-blasting .description ul li {
  position: relative;
  padding-left: 30px;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 12px;
}

.shipyard-blasting .description ul li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

/* Image Side - Right */
.shipyard-blasting .image-side {
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 1;
}

/* Blue Overlay on Image - Full Blue Tint */
.shipyard-blasting .image-side::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}

.shipyard-blasting .image-side img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  position: relative;
}

/* Responsive Design */
@media (max-width: 1366px) {
  .shipyard-blasting .text-side {
    padding: 100px 60px 100px 80px;
    margin-left: 0;
  }

  .shipyard-blasting .text-side h2 {
    font-size: 48px;
    margin-bottom: 35px;
  }

  .shipyard-blasting .description p {
    font-size: 15px;
  }
}

@media (max-width: 1200px) {
  .shipyard-blasting {
    padding: 90px 0;
  }

  .shipyard-blasting .text-side {
    padding: 0 50px 0 60px;
  }

  .shipyard-blasting .text-side h2 {
    font-size: 42px;
    margin-bottom: 30px;
  }
}

@media (max-width: 1023px) {
  .shipyard-blasting {
    padding: 80px 0;
  }

  .shipyard-blasting .blasting-content {
    flex-direction: column;
    gap: 50px;
  }

  .shipyard-blasting .text-side {
    width: 100%;
    max-width: 100%;
    padding: 0 40px;
    text-align: center;
  }

  .shipyard-blasting .text-side h2 {
    font-size: 38px;
  }

  .shipyard-blasting .image-side {
    width: 100%;
    padding: 0;
  }
}

@media (max-width: 767px) {
  .shipyard-blasting {
    padding: 60px 0;
  }

  .shipyard-blasting .text-side {
    padding: 0 30px;
  }

  .shipyard-blasting .blasting-content {
    gap: 40px;
  }

  .shipyard-blasting .text-side h2 {
    font-size: 32px;
    margin-bottom: 25px;
  }

  .shipyard-blasting .description p {
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .shipyard-blasting {
    padding: 50px 0;
  }

  .shipyard-blasting .text-side {
    padding: 0 20px;
  }

  .shipyard-blasting .text-side h2 {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .shipyard-blasting .description p {
    font-size: 13px;
  }

  .shipyard-blasting .image-side img {
    border-radius: 0;
  }
}

/* ==========================================
   LIFTING EQUIPMENT SECTION
   ========================================== */

.shipyard-lifting {
  position: relative;
  background: #020b2c;
  padding: 0;
  overflow: hidden;
  z-index: 2;
}

/* Remove individual overlay - using shared container background */
.shipyard-lifting::before {
  display: none;
}

.shipyard-lifting .wrapper {
  position: relative;
  z-index: 2;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

.shipyard-lifting .lifting-content {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  width: 100%;
  position: relative;
}

/* Image Side - Left (Reversed) */
.shipyard-lifting .image-side {
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 1;
}

/* Blue Overlay on Image - Full Blue Tint */
.shipyard-lifting .image-side::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}

.shipyard-lifting .image-side img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  position: relative;
}

/* Text Side - Right */
.shipyard-lifting .text-side {
  flex: 0 0 55%;
  width: 55%;
  max-width: 750px;
  padding: 100px 100px 100px 60px;
  position: relative;
  z-index: 2;
  margin-right: 200px;
}

.shipyard-lifting .text-side h2 {
  font-size: 56px;
  font-weight: 700;
  background: linear-gradient(to right, #ffff, #95baffbd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
  margin-bottom: 40px;
}

.shipyard-lifting .description {
  color: #ffffff;
}

.shipyard-lifting .description p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

.shipyard-lifting .services-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.shipyard-lifting .services-list li {
  position: relative;
  padding-left: 30px;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 12px;
}

.shipyard-lifting .services-list li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

/* Style regular ul/li from CKEditor */
.shipyard-lifting .description ul {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.shipyard-lifting .description ul li {
  position: relative;
  padding-left: 30px;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 12px;
}

.shipyard-lifting .description ul li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1600px) {
  .shipyard-machining .text-side {
      margin-left: 30px;
  }  

  .shipyard-blasting .text-side {
      margin-left: 30px;
  }  

  .shipyard-lifting .text-side {
      margin-right: 30px;
  }  
}

@media (max-width: 1366px) {
  .shipyard-lifting .text-side {
    padding: 100px 80px 100px 60px;
    margin-right: 0;
  }

  .shipyard-lifting .text-side h2 {
    font-size: 48px;
    margin-bottom: 35px;
  }

  .shipyard-lifting .description p,
  .shipyard-lifting .services-list li {
    font-size: 15px;
  }
}

@media (max-width: 1200px) {
  .shipyard-lifting .text-side {
    padding: 0 60px 0 50px;
  }

  .shipyard-lifting .text-side h2 {
    font-size: 42px;
    margin-bottom: 30px;
  }
}

@media (max-width: 1023px) {
  .shipyard-lifting .lifting-content {
    flex-direction: column;
    gap: 50px;
  }

  .shipyard-lifting .text-side {
    width: 100%;
    max-width: 100%;
    padding: 0 40px;
    text-align: center;
  }

  .shipyard-lifting .text-side h2 {
    font-size: 38px;
  }

  .shipyard-lifting .services-list {
    text-align: left;
    max-width: 600px;
    margin: 30px auto;
  }

  .shipyard-lifting .image-side {
    width: 100%;
    padding: 0;
  }
}

@media (max-width: 767px) {
  .shipyard-lifting {
    padding: 60px 0;
  }

  .shipyard-lifting .text-side {
    padding: 0 30px;
  }

  .shipyard-lifting .lifting-content {
    gap: 40px;
  }

  .shipyard-lifting .text-side h2 {
    font-size: 32px;
    margin-bottom: 25px;
  }

  .shipyard-lifting .description p,
  .shipyard-lifting .services-list li {
    font-size: 14px;
  }

  .shipyard-lifting .services-list li {
    margin-bottom: 10px;
  }
}

@media (max-width: 576px) {
  .shipyard-lifting {
    padding: 50px 0;
  }

  .shipyard-lifting .text-side {
    padding: 0 20px;
  }

  .shipyard-lifting .text-side h2 {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .shipyard-lifting .description p,
  .shipyard-lifting .services-list li {
    font-size: 13px;
  }

  .shipyard-lifting .image-side img {
    border-radius: 0;
  }
}

/* ==========================================
   SECTION BACKGROUND VECTORS
   ========================================== */

.machining-vector,
.mechanical-vector,
.blasting-vector,
.lifting-vector {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 800px;
  height: 800px;
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 1;
  opacity: 0.50;
}

.machining-vector {
  left: -100px;
  width: 300px;
  background-position: left center;
  background-image: url("/cfind/source/thumb/images/home/shipyard-vector.png");
}

.mechanical-vector {
  right: -100px;
  width: 600px;
  background-position: right center;
  background-image: url("/cfind/source/thumb/images/home/shipping-vector.png");
}

.blasting-vector {
  left: -100px;
  width: 250px;
  background-position: left center;
  background-image: url("/cfind/source/thumb/images/home/shipyard-vector.png");
}

.lifting-vector {
  right: -20px;
  width: 300px;
  transform: translateY(-42%) scaleY(-1);
  background-position: right center;
  background-image: url("/cfind/source/thumb/images/home/ship-management-vector.png");
}

@media (max-width: 1366px) {
  .machining-vector,
  .mechanical-vector,
  .blasting-vector,
  .lifting-vector {
    width: 600px;
    height: 600px;
  }
}

@media (max-width: 1023px) {
  .machining-vector,
  .mechanical-vector,
  .blasting-vector,
  .lifting-vector {
    display: none;
  }
}

/* ==========================================
   DOCKYARD POPUP MODAL REDESIGN
   ========================================== */

/* Popup Container */
.popup.popyard {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.popup.popyard.show {
  display: flex;
}

/* Close Button - Fixed Position */
.popup.popyard .close-popup {
  position: fixed;
  top: 40px;
  right: 40px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  cursor: pointer;
  z-index: 10001;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup.popyard .close-popup::before,
.popup.popyard .close-popup::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  background: #ffffff;
  top: 50%;
  left: 50%;
}

.popup.popyard .close-popup::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.popup.popyard .close-popup::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.popup.popyard .close-popup:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: rotate(90deg);
}

/* Inner Popup */
.popup.popyard .inner-popup {
  position: relative;
  width: 90%;
  max-width: 1400px;
  max-height: 90vh;
  overflow: hidden;
  z-index: 10000;
}

/* Content Popup - Split Layout */
.popup.popyard .content-popup {
  position: relative !important;
  background: #ffffff !important;
  border-radius: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: auto !important;
  height: auto !important;
}

/* Dockyard Detail Slider */
.popup.popyard .dockyard-detail-slider {
  width: 100% !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  height: auto !important;
}

.popup.popyard .dockyard-detail-slider .slider {
  width: 100% !important;
  height: auto !important;
  display: flex !important;
  flex-direction: column !important;
}

.popup.popyard .dockyard-detail-slider .list {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  height: auto !important;
  min-height: auto !important;
  align-items: stretch !important;
}

/* Image Section - Top Half */
.popup.popyard .dockyard-detail-slider .list figure {
  position: relative !important;
  width: 100% !important;
  height: 400px !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
  order: 1 !important;
  top: auto !important;
  left: auto !important;
  background: transparent !important;
}

.popup.popyard .dockyard-detail-slider .list figure img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

/* Remove Overlay on Image */
.popup.popyard .dockyard-detail-slider .list figure::after {
  content: none !important;
  display: none !important;
}

/* Content Section - Bottom Half (White Background) */
.popup.popyard .dockyard-detail-slider .list figcaption {
  position: relative !important;
  width: 100% !important;
  padding: 70px 100px !important;
  background: #ffffff !important;
  display: flex !important;
  flex-direction: row !important;
  gap: 120px !important;
  align-items: flex-start !important;
  order: 2 !important;
  max-width: none !important;
  box-sizing: border-box !important;
  min-height: 300px !important;
}

/* Left Column - Dock Title */
.popup.popyard .dockyard-detail-slider .list figcaption .dock-title {
  flex: 0 0 220px !important;
  min-width: 220px !important;
  max-width: 220px !important;
}

.popup.popyard .dockyard-detail-slider .list figcaption .dock-title h2,
.popup.popyard .dockyard-detail-slider .list figcaption h2 {
  font-size: 52px !important;
  font-weight: 700 !important;
  color: #5b4c91 !important;
  line-height: 1.15 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-shadow: none !important;
  background: transparent !important;
  white-space: nowrap !important;
}

/* Right Column - Dock Content (Horizontal Layout) */
.popup.popyard .dockyard-detail-slider .list figcaption .dock-content {
  flex: 1 !important;
  color: #555555 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
}

.popup.popyard .dockyard-detail-slider .list figcaption .dock-content > * {
  width: 100% !important;
}

.popup.popyard .dockyard-detail-slider .list figcaption .dock-content h3 {
  font-size: 17px !important;
  font-weight: 600 !important;
  color: #333333 !important;
  margin: 0 0 15px 0 !important;
  padding: 0 !important;
}

.popup.popyard .dockyard-detail-slider .list figcaption .dock-content p {
  font-size: 15px !important;
  line-height: 1.8 !important;
  color: #666666 !important;
  margin: 0 0 8px 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.popup.popyard .dockyard-detail-slider .list figcaption .dock-content ul {
  padding-left: 0 !important;
  list-style: none !important;
  margin: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 8px 30px !important;
}

.popup.popyard .dockyard-detail-slider .list figcaption .dock-content li {
  font-size: 15px !important;
  line-height: 1.8 !important;
  color: #666666 !important;
  padding-left: 20px !important;
  position: relative !important;
  margin: 0 !important;
}

.popup.popyard
  .dockyard-detail-slider
  .list
  figcaption
  .dock-content
  li::before {
  content: "•" !important;
  position: absolute !important;
  left: 0 !important;
  color: #5b4c91 !important;
  font-weight: bold !important;
}

.popup.popyard .dockyard-detail-slider .list figcaption .dock-content strong {
  color: #333333 !important;
  font-weight: 600 !important;
  margin-right: 8px !important;
}

/* Override any old styles */
.popup.popyard .dockyard-detail-slider .list figcaption p,
.popup.popyard .dockyard-detail-slider .list figcaption ul,
.popup.popyard .dockyard-detail-slider .list figcaption .row {
  font-size: 15px !important;
  line-height: 1.8 !important;
  color: #666666 !important;
}

.popup.popyard .dockyard-detail-slider .list figcaption strong {
  color: #333333 !important;
  font-weight: 600 !important;
}

/* Specification Rows - Legacy Support */
.popup.popyard .dockyard-detail-slider .list figcaption .row {
  display: flex !important;
  gap: 10px;
  margin-bottom: 12px;
  align-items: flex-start;
}

.popup.popyard .dockyard-detail-slider .list figcaption .row .column {
  color: #666666 !important;
}

.popup.popyard
  .dockyard-detail-slider
  .list
  figcaption
  .row
  .column:first-child {
  flex: 0 0 auto;
  min-width: 200px;
  font-weight: 500;
}

.popup.popyard .dockyard-detail-slider .list figcaption .row .column.dot {
  flex: 0 0 20px;
}

.popup.popyard
  .dockyard-detail-slider
  .list
  figcaption
  .row
  .column:last-child {
  flex: 1;
}

/* Empty State */
.popup.popyard .center {
  padding: 100px 40px;
  text-align: center;
  color: #666;
}

/* Responsive Design */
@media (max-width: 1366px) {
  .popup.popyard .inner-popup {
    max-width: 1200px;
  }

  .popup.popyard .dockyard-detail-slider .list figure {
    height: 380px !important;
  }

  .popup.popyard .dockyard-detail-slider .list figcaption {
    padding: 60px 80px !important;
    gap: 100px !important;
  }

  .popup.popyard .dockyard-detail-slider .list figcaption .dock-title {
    flex: 0 0 200px !important;
    min-width: 200px !important;
    max-width: 200px !important;
  }

  .popup.popyard .dockyard-detail-slider .list figcaption .dock-title h2,
  .popup.popyard .dockyard-detail-slider .list figcaption h2 {
    font-size: 46px !important;
  }

  .popup.popyard .dockyard-detail-slider .list figcaption .dock-content p {
    font-size: 14px !important;
  }

  .popup.popyard .dockyard-detail-slider .list figcaption .dock-content li {
    font-size: 14px !important;
  }
}

@media (max-width: 1200px) {
  .popup.popyard .dockyard-detail-slider .list figcaption {
    padding: 50px 70px !important;
    gap: 80px !important;
  }

  .popup.popyard .dockyard-detail-slider .list figcaption .dock-title {
    flex: 0 0 180px !important;
    min-width: 180px !important;
    max-width: 180px !important;
  }

  .popup.popyard .dockyard-detail-slider .list figcaption .dock-title h2,
  .popup.popyard .dockyard-detail-slider .list figcaption h2 {
    font-size: 42px !important;
  }
}

@media (max-width: 1023px) {
  .popup.popyard .close-popup {
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
  }

  .popup.popyard .inner-popup {
    width: 95%;
  }

  .popup.popyard .content-popup {
    min-height: auto !important;
  }

  .popup.popyard .dockyard-detail-slider .list figure {
    height: 320px !important;
  }

  .popup.popyard .dockyard-detail-slider .list figcaption {
    padding: 40px 50px !important;
    gap: 50px !important;
    flex-direction: column !important;
  }

  .popup.popyard .dockyard-detail-slider .list figcaption .dock-title {
    flex: none !important;
    min-width: auto !important;
    max-width: none !important;
  }

  .popup.popyard .dockyard-detail-slider .list figcaption .dock-title h2,
  .popup.popyard .dockyard-detail-slider .list figcaption h2 {
    font-size: 40px !important;
    margin-bottom: 20px !important;
    white-space: normal !important;
  }

  .popup.popyard .dockyard-detail-slider .list figcaption .dock-content ul {
    grid-template-columns: 1fr !important;
  }

  .popup.popyard .dockyard-detail-slider .list figcaption .dock-content p,
  .popup.popyard .dockyard-detail-slider .list figcaption .dock-content li {
    font-size: 14px !important;
  }
}

@media (max-width: 767px) {
  .popup.popyard .close-popup {
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
  }

  .popup.popyard .dockyard-detail-slider .list figure {
    height: 280px !important;
  }

  .popup.popyard .dockyard-detail-slider .list figcaption {
    padding: 30px 40px !important;
    gap: 30px !important;
  }

  .popup.popyard .dockyard-detail-slider .list figcaption .dock-title h2,
  .popup.popyard .dockyard-detail-slider .list figcaption h2 {
    font-size: 36px !important;
  }

  .popup.popyard .dockyard-detail-slider .list figcaption .dock-content p,
  .popup.popyard .dockyard-detail-slider .list figcaption .dock-content li {
    font-size: 13px !important;
  }

  .popup.popyard
    .dockyard-detail-slider
    .list
    figcaption
    .row
    .column:first-child {
    min-width: 100px;
  }
}

.popup.popyard .dockyard-detail-slider .list figcaption .dock-title h2,
.popup.popyard .dockyard-detail-slider .list figcaption h2 {
  font-size: 36px !important;
}

.popup.popyard .dockyard-detail-slider .list figcaption .dock-content p,
.popup.popyard .dockyard-detail-slider .list figcaption .dock-content ul,
.popup.popyard .dockyard-detail-slider .list figcaption .dock-content li {
  font-size: 13px !important;
}

.popup.popyard
  .dockyard-detail-slider
  .list
  figcaption
  .row
  .column:first-child {
  min-width: 120px;
}
