* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;

}

/*--Header Design--*/
body {
    padding: 0%;
    margin: 0%;
}

section {
    width: 100%;
    min-height: 500px;
}

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    right: 0;
    border-radius: 0%;
    transition: 0.2s;
}

.sticky .text-box {
    padding-top: 102px;
}

.header:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 215px;
    background: url(images/wave.png);
    background-size: cover;
    background-repeat: no-repeat;
}

/**/

.header {
    position: relative;
    z-index: 5;
    min-height: 100vh;
    max-width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.5), rgba(4, 9, 30, 0.5)), url(images/stock3.jpg);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    padding: 15px 60px;
}

nav {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.639);
    display: flex;
    padding: .5% 5%;
    border-radius: 10px;
    background-color: white;
    justify-content: space-between;
    align-items: center;
}

nav img {
    width: 200px;
}

.nav-links {
    flex: 1;
    text-align: right;
}

.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a {
    color: rgb(70, 70, 70);
    text-decoration: none;
    font-size: 16px;
}

.nav-links ul li::after {
    content: '';
    width: 0%;
    height: 2px;
    background: rgb(32, 83, 138);
    display: block;
    margin: auto;
    transition: 0.2s;
}

.nav-links ul li:hover::after {
    width: 100%;
}

/*
.text-box {
    width: 90%;
    color: black;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
*/

.text-box {
    color: white;
    text-align: center;
    padding-top: 150px;
    font-size: 45px;
}

.header-learn {
    display: inline-block;
    text-decoration: none;
    color: white;
    border: 1px solid white;
    border-radius: 5px;
    padding: 10px 18px;
    font-size: 15px;
    background: transparent;
    position: relative;
    cursor: pointer;
}

nav .fa-solid {
    display: none;
}

/* RESPONSIVE HEADER */
@media only screen and (max-device-width: 1024px) {
    nav img {
        width: 300px;
    }

    .header {
        min-height: 50vh;
    }

    .header:before {
        height: 64%;
        background-size: 100%;
    }

    .text-box {
        padding-top: 20%;
        font-size: 50px;
        padding-bottom: 0%;
    }
}

@media only screen and (max-device-width: 912px) {
    nav img {
        width: 300px;
    }

    .header {
        min-height: 50vh;
    }

    .header:before {
        height: 64%;
        background-size: 100%;
    }

    .text-box h1 {
        font-size: 50px;
        padding-bottom: 73%;
    }

    .nav-links ul li a {
        color: rgb(255, 255, 255);
        font-size: 20px;
    }

    .nav-links ul li {
        display: block;
    }

    .nav-links {
        position: absolute;
        background: #000000e1;
        height: 100vh;
        width: 200px;
        top: 0%;
        right: 0%;
        text-align: left;
        z-index: 2;
        transition: 0.5s;
    }

    nav .fa-xmark {
        display: block;
        color: white;
        margin: 10px;
        font-size: 40px;
        cursor: pointer;
    }

    nav .fa-bars {
        display: block;
        color: black;
        margin: 10px;
        font-size: 40px;
        cursor: pointer;
    }

    .nav-links ul {
        padding: 10px;
    }
}

@media only screen and (max-device-width: 450px) {
    nav img {
        width: 200px;
    }

    .header {
        min-height: 45vh;
    }

    .header:before {
        height: 61%;
        background-size: 100%;
    }

    .text-box {
        font-size: 35px;
        padding-top: 80px;
        padding-bottom: 1%;
    }

    .nav-links ul li a {
        color: rgb(255, 255, 255);
        font-size: 20px;
    }

    .nav-links ul li {
        display: block;
    }

    .nav-links {
        position: absolute;
        background: #000000e1;
        height: 100vh;
        width: 200px;
        top: 0%;
        right: 0%;
        text-align: left;
        z-index: 2;
        transition: 0.5s;
    }

    nav .fa-xmark {
        display: block;
        color: white;
        margin: 10px;
        font-size: 25px;
        cursor: pointer;
    }

    nav .fa-bars {
        display: block;
        color: black;
        margin: 10px;
        font-size: 20px;
        cursor: pointer;
    }

    .nav-links ul {
        padding: 10px;
    }
}

/* 2nd section */
* {
    box-sizing: border-box;
}

.trust {
    text-align: center;
    color: rgb(37, 37, 37);
}

.grid-row {
    display: -ms-flexbox;
    /* IE10 */
    display: flex;
    -ms-flex-wrap: wrap;
    /* IE10 */
    flex-wrap: wrap;
    padding: 100px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    padding: 0 50px;
}

.row-2 {
  display: flex;
  align-items: stretch;
  justify-content: center;
  margin: 60px auto;
  max-width: 1200px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.column-1 { will-change: transform; transform: translateZ(0); backface-visibility: hidden; }


.column-1 {
        flex: 1;
        background-image: linear-gradient(rgba(4, 9, 30, 0.3), rgba(4, 9, 30, 0.3)), url('images/port.jpg');
        background-size: cover;
        background-position: center;
        min-height: 450px;
      }

/* Right Side - Ports List */
.column-2 {
  flex: 1;
  background: #04142b; /* matches footer/navy tone */
  color: #ffffff;
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.column-2 h1 {
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 25px;
  color: #ffffff;
  letter-spacing: 1px;
}

/* Ports List Styling */
.column-2 ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px 25px;
  padding: 0;
  margin: 0;
}

.column-2 ul li {
  list-style: none;
  font-size: 15px;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c9d8f0;
}

.column-2 ul li::before {
  content: "\f21a"; /* Font Awesome ship icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #4ea5ff;
  font-size: 15px;
}

/* Responsive layout */
@media (max-width: 900px) {
  .row-2 {
    flex-direction: column;
  }

  .column-1, .column-2 {
    flex: none;
    width: 100%;
  }

  .column-2 {
    padding: 40px 30px;
  }

  .column-2 ul {
    grid-template-columns: 1fr;
  }
}

/* RESPONSIVE 2ND SECTION */
@media only screen and (max-device-width: 900px) {
    .column-1 {
        height: 40vh;
        width: 100%;
    }

    .column-2 {
        height: 40vh;
        margin-bottom: 30px;
        padding-top: 50px;
        width: 100%;
    }

    .column-2 h1 {
        font-size: 45px;
    }

    .column-2 ul li {
        font-size: 25px;
    }

    .client-service {
        margin-left: 250px;
        margin-right: 30px;
    }

    .second h3 {
        font-size: 20px;
    }

    .trust {
        font-size: 35px;
    }
}

@media only screen and (max-device-width: 450px) {
    .column-1 {
        height: 50vh;
        width: 100%;
    }

    .column-2 {
        height: 50vh;
        margin-bottom: 30px;
        padding-top: 53px;
        width: 100%;
    }

    .column-2 h1 {
        font-size: 23px;
    }

    .client-service {
        margin-left: 50px;
        margin-right: 30px;
    }
}

/* FOOTER */

.footer-modern {
  background: #131313;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  padding: 60px 20px 0;
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  padding: 0;
}

.footer-logo {
  width: 200px;               /* your current size */
  height: auto;
  object-fit: contain;
  filter: none !important;    /* ensure no grayscale/brightness */
  background: #ffffff;        /* white badge behind the logo */
  border-radius: 16px;        /* soft corners */
  padding: 12px 18px;         /* breathing room around the mark */
  box-shadow: 0 8px 20px rgba(0,0,0,.18),
              0 0 0 1px rgba(255,255,255,.06) inset;
}

.footer-header h2 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #e3ecff;
  letter-spacing: 0.5px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 30px;
  flex-wrap: wrap;

  /* FIXES */
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}


.footer-nav a {
  color: hwb(0 100% 0%);
  text-decoration: none; /* removes underline */
  font-size: 0.95rem;
  transition: color 0.3s ease;
}


.footer-nav a:hover {
  color: #ffffff;
  transform: translateY(-2px);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.25);
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 20px;
}

.footer-socials a {
  color: #ffffff;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  color: #ffffff;
  transform: translateY(-3px);
}

/* Partner Logos Section */
.footer-logos {
  background: #131313;
  padding: 10px 0 10px;
}

.footer-logos h5 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 25px;
}

.partner-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 50px;
}

.partner-logos img {
  height: 72px;                /* 64–80px also looks good */
  background: #ffffff;         /* white pill behind each logo */
  border-radius: 14px;         /* soft corners */
  padding: 10px 16px;          /* space around each logo */
  box-shadow: 0 8px 20px rgba(0,0,0,.18), 0 0 0 1px rgba(255,255,255,.06) inset;
  filter: none !important;     /* remove grayscale/brightness */
  opacity: 1;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.partner-logos img:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0,0,0,.28), 0 0 0 1px rgba(255,255,255,.12) inset;
  filter: none;
}


/* Footer Bottom */
.footer-bottom {
  padding: 30px 0;
  font-size: 0.85rem;
  color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-nav {
    gap: 20px;
  }

  .partner-logos {
    gap: 25px;
  }

  .partner-logos img {
    height: 45px;
  }
}


/*                  AFTER FOOTER                       */

.clients-section {
  background: #f9fafb;
  padding: 100px 5%;
  text-align: center;
  position: relative;
}

.clients-section h3 {
  color: rgb(124, 124, 124);
  font-weight: 500;
}

.clients-section h1 {
  color: #0d2b49;
  font-weight: 600;
  margin-bottom: 40px;
}

/* Carousel core */
.carousel-container {
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 70px; /* space for buttons on each side */
}

.carousel-track {
  overflow: hidden;
  width: 100%;
}

.client-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  min-width: 160px;
  max-width: 160px;
  flex-shrink: 0;
}

.client-item img {
  width: 140px;              /* consistent logo width */
  height: 80px;              /* consistent logo height */
  object-fit: contain;       /* preserves proportions, fits inside box */
  object-position: center;   /* centers the image within the box */
  background-color: transparent;
  margin-bottom: 10px;
  filter: grayscale(0%);
  opacity: 0.9;
  transition: all 0.3s ease-in-out;
}

.client-item img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

.client-item p {
  font-size: 0.85rem;
  color: #1c1c1c;
  font-weight: 500;
  margin: 0;
  text-align: center;
  max-width: 160px;
  word-wrap: break-word;
}

/* Optional spacing control between client blocks */
.carousel-slide {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;  /* <-- important */
  gap: 50px;
  transition: transform 0.6s ease;
  will-change: transform;
}

.carousel-slide img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.08);
}

/* BUTTONS */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #2d4359;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.carousel-btn:hover {
  background: #1d86e3;
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
  left: 15px; /* sits outside padded area */
}

.carousel-btn.next {
  right: 15px;
}

/* LOGOS */

/* RESPONSIVE */
@media (max-width: 768px) {
  .carousel-container {
    padding: 0 50px;
  }

  .carousel-slide {
    gap: 40px;
  }

  .carousel-btn {
    width: 38px;
    height: 38px;
  }
}

/* --- Vessels of Service / Supplied --- */
.vessels-supplied{
  padding: 48px 0;
}

.vessels-grid{
  max-width: 1100px;                 /* overall width */
  margin: 0 auto;
  display: grid;
  grid-template-columns: 36% 64%;    /* smaller photo, bigger list */
  gap: 24px;
  align-items: stretch;
}

/* Photo column (kept intentionally small) */
.vessels-photo{
  height: 500px;                     /* tweak to 320/300 if you want smaller */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0,0,0,.22);
}

/* List column wrapper */
.vessels-list{
  background: #0b2744;               /* deep navy */
  color: #fff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 15px 40px rgba(0,0,0,.18);
  display: flex;
  flex-direction: column;
}

.vessels-list h2{
  margin: 0 0 18px 0;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .3px;
}

/* List itself (two columns on desktop) */
.vessel-items{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 14px 18px;
}

/* Each vessel "pill" */
.vessel-items li{
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  padding: 1px;
  line-height: 1.2;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.vessel-items li:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.18);
}

.vessel-items i{
  color: #3ea5ff;              
  font-size: 16px;
}

.vessel-items span{
  font-size: 15px;
  font-weight: 500;
  color: #e9f2ff;
}

/* Tablet */
@media (max-width: 1200px){
  .vessels-grid{
    max-width: 980px;
    grid-template-columns: 40% 60%;
  }
  .vessels-photo{ height: 320px; }
}

/* Mobile – stack columns */
@media (max-width: 900px){
  .vessels-grid{
    max-width: 720px;
    grid-template-columns: 1fr;
  }
  .vessels-photo{
    height: 260px;
  }
  .vessel-items{
    grid-template-columns: 1fr;      /* 1 column on mobile */
  }
}

/* ===== Simple Ops gallery ===== */
.ops-header{ text-align:center; margin:52px 0 18px; padding:0 16px; }
.ops-header h2{ color:#0d2b49; letter-spacing:.5px; font-weight:700; }

/* Smaller, consistent thumbs via CSS Grid */
.ops-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
  gap:14px;
  max-width:1100px;
  margin:0 auto 38px;
  padding:0 14px;
}
.ops-item{
  border-radius:14px;
  overflow:hidden;
  background:#0b1f36;
  box-shadow:0 8px 22px rgba(0,0,0,.12);
  cursor:pointer;
}
.ops-item img{
  width:100%;
  aspect-ratio:4/3;     /* keeps all thumbs same size */
  object-fit:cover;      /* neat crop */
  display:block;
}

/* Lightbox */
.ops-lightbox{
  position:fixed; inset:0; background:rgba(0,0,0,.85);
  display:none; align-items:center; justify-content:center; gap:10px;
  z-index:9999; padding:20px;
}
.ops-lightbox.is-open{ display:flex; }
.ops-lightbox img{ max-width:min(92vw,1100px); width:100%; height:auto; border-radius:10px; }
.ops-close{
  position:fixed; top:16px; right:18px; font-size:32px; color:#fff;
  background:transparent; border:0; cursor:pointer;
}
.ops-nav{
  background:rgba(255,255,255,.12); color:#fff; border:0; width:46px; height:46px;
  border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center;
  transition:.2s;
}
.ops-nav:hover{ background:rgba(255,255,255,.22); }
