/* Large desktops (≥1440px) */
@media (max-width: 1440px) {
  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
  }


  p {
    font-size: 16px;
  }

  .hero-ship img {
    width: 340px;
  }

  h1 {
    font-size: 48px;
    line-height: 1.1;
  }

  .hero-content span {
    font-size: 48px;
  }

  .story-content {
    max-width: 1025px;
  }

  .story-left h2 {
    font-size: 48px;
    line-height: 96%;
  }

  .story-label {
    font-size: 29px;
  }
}

@media (max-width: 992px) {


  .hero-ship img {
    width: 320px;
  }

  .clearance-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .main-title {
    font-size: 36px;
  }

  .port-wrapper {
    flex-direction: column;
  }

  .port-image {
    order: -1;
  }

  .stats_grid {
    grid-template-columns: 1fr;
  }

  .stats_cards {
    grid-template-columns: 1fr 1fr;
  }

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

  .about_title {
    font-size: 36px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .container {
    width: 100%;
    max-width: 95%;
    margin: 0 auto;
  }

  .ftr_nav {
    flex: unset;
    min-width: 80px;
    gap: 14px;
  }

  .ftr_left {
    flex: 1;
    min-width: 30%;
  }

  footer .container {
    gap: 45px;
    padding: 0 20px;
    flex-wrap: wrap;
  }

  .ftr_left p {
    width: 100%;
  }

  .get_in_left h2 {
    font-size: 50px;
  }

  .grid-card {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    align-items: center;
  }

  .story-section {
    padding: 2rem 0;
  }

  .story-bg {
    position: absolute;
    top: -120px;
    right: -90px;
    width: 848px;
    height: 740px;
    pointer-events: none;
    z-index: 0;
  }

  .story-content {
    align-items: baseline;
  }
}

/* Tablets portrait (≥768px) */
@media (max-width: 768px) {
  * {
    touch-action: manipulation !important;
  }

  .lg-none {
    display: block;
  }

  .sm-none {
    display: none;
  }

  .container {
    width: 100%;
    max-width: 95%;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
  }

  p {
    font-size: 17px;
  }

  .footer .container {
    flex-direction: column;
    gap: 30px;
  }

  .ftr_nav {
    order: 3;
  }

  .ftr_contact {
    order: 2;
  }

  .ftr_left {
    order: 1;
  }

  .ftr_desc {
    max-width: 100%;
  }

  .nav-overlay ul {
    padding-top: 8rem;
  }

  .nav-overlay {
    flex-direction: column;
    align-items: self-start;
    justify-content: flex-start;
  }

  .nav-overlay ul li a {
    padding: 14px 30px;
    color: #fff;
    font-size: 32px;
    font-weight: 400;
    opacity: 1;
    border: none !important;
  }

  .hero {
    height: 90vh;
  }

  .hero-content {
    left: 30px;
    max-width: 90%;
  }

  .hero-content h1 {
    font-size: 31px;
  }

  .hero-ship img {
    width: 245px;
  }

  .hero-header {
    left: 20px;
    right: 20px;
    top: 20px;
    align-items: baseline;
  }

  .services .services-header {
    padding-top: 0;
  }

  .nav-close {
    right: 20px;
  }

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

  .get_in_pattern2 {
    display: none;
  }

  .services .swiper-wrapper {
    padding-left: 5px;
  }

  .get_in_pattern1 {
    left: 0;
    bottom: 80px;
    width: 100%;
  }

  .hero-content span {
    font-size: 31px;
  }

  .hero-ship-wrapper {
    top: 75%;
  }

  .story-content {
    max-width: 100%;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 2rem;
  }

  .story-right p {
    width: 100%;
  }

  .story-right {
    text-align: center;
  }

  .story-left {
    flex: unset;
    width: 100%;
  }

  .story-bg {
    display: none;
  }

  .story-section {
    padding: 2rem 0px;
  }

  .story-right {
    padding-top: 0;
  }

  .story-left h2 {
    font-size: 30px;
    text-align: center;
    line-height: 33px;
    width: 70%;
    margin: 0 auto;
  }

  span.story-label {
    text-align: center;
    font-size: 25px;
    margin-bottom: 5px;
  }

  .services-header a {
    display: none;
  }

  .services {
    padding-left: 10px;
  }

  .services-header {
    padding-top: 3rem;
    padding-bottom: 20px;
  }

  .service-card {
    height: 230px;
  }

  .why-section {
    padding: 0rem 0 3rem 0;
  }

  .about_story::before {
    background-size: contain;
  }

  .why-bg {
    display: none;
  }

  .why_card {
    min-height: 300px;
  }

  .get_in_left.get_in_reveal {
    text-align: center;
  }

  .get_in_left h2 {
    font-size: 38px;
    width: 100%;
    text-align: center;
  }

  .get_in_eyebrow {
    font-size: 29px;
  }

  .get_in_btns {
    justify-content: center;
  }

  .get_in_submit {
    padding: 20px;
    font-size: 16px;
    line-height: 1;
    width: 100%;
  }

  section.section_getin {
    position: relative;
    padding: 3rem 0 6rem 0;
  }

  .ftr_pattern {
    width: 270px;
    height: 354px;
  }

  .ftr_left p {
    width: 100%;
  }

  .ftr_footer {
    padding: 2rem 0;
  }

  footer .container {
    gap: 30px;
    padding: 0 5px;
    flex-wrap: wrap;
  }

  .ftr_copy {
    padding-top: 25px;
    flex-wrap: wrap;
  }

  .grid-card {
    grid-template-columns: 1fr;
  }

  .why_image {
    order: -1;
  }

  .why-section h2 {
    font-size: 30px;
  }

  .services-header h2 {
    font-size: 30px;
  }

  .get_in_card {
    padding: 20px 15px;
  }

  .about_hero {
    background-image: var(--mobile-bg);
  }

  .service_hero {
    background-image: var(--mobile-bg);
  }

  h1 {
    font-size: 40px;
    line-height: 1.1;
  }

  .about_content_bg span {
    font-size: 42px;
  }

  .about_row {
    grid-template-columns: unset;
  }

  .nav-left {
    display: none;
  }

  .nav-right {
    width: 100%;
    align-items: start;
  }

  span.sub_tittle {
    text-align: center;
  }

  .about_content h2 {
    font-size: 42px;
    width: 100%;
    text-align: center;
  }

  .about_image.lg-none {
    order: 2;
    padding-top: 25px;
  }

  .about_content {
    display: flex;
    flex-direction: column;
  }

  .order-1 {
    order: 1;
  }

  .order-2 {
    order: 3;
  }

  .about_image.lg-none {
    order: 2;
    padding-top: 25px;
  }

  .stats_intro {
    padding: 50px 30px 100px;
  }

  .stat_card {
    display: flex;
    flex-direction: row;
    align-items: end;
    align-items: baseline;
    justify-content: space-between;
    padding: 15px 30px;
    min-height: 140px;
  }

  .port-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .clearance-left {
    flex: unset;
    width: 100%;
  }

  .stat_card .stat_number {
    text-align: left;
  }

  .stat_card.item_right {
    display: flex;
    flex-direction: row;
    align-items: baseline;
  }

  section.about_srvice.in-view .services-header {
    padding-top: 0;
  }

  .gallery-header {
    padding-top: 2rem;
  }

  .about_srvice::after {
    display: none;
  }

  .gallery-header h2 {
    font-size: 30px;
  }

  .gallerySwiper {
    padding-left: 1rem;
  }

  .stat_card.item_right .stat_number {
    text-align: left;
  }

  .stat_contents {
    width: 50%;
  }

  section.service_list ul {
    flex-direction: column;
  }

  section.service_list ul li {
    width: 100%;
  }

  .service-overlay .service_content p {
    text-align: left;
  }

  .gallery_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .gallery_page_heading {
    font-size: 28px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .opening_item {
    gap: 3px;
  }

  section.opening_section h2 {
    font-size: 30px;
    line-height: 100%;
    margin: 0;
    padding: 0 0 15px 0;
  }

  .opening_apply_btn {
    margin-top: 10px;
    width: fit-content;
  }

  .gallerySwiper img {
    height: 260px;
  }

  .stats_cards {
    grid-template-columns: 1fr;
  }

  .stats_intro h2 {
    font-size: 32px;
  }

  .port-content h2 {
    font-size: 42px;
    line-height: 50px;
    text-align: center;
  }

  section.service_list {
    padding: 6rem 0 3rem 0;
  }

  .cta-box h3 {
    text-align: left;
    width: 90%;
  }

  .cta-box::after {
    bottom: -20px;
    width: 89px;
  }

  .clearance-left h2 {
    font-weight: 500;
    font-size: 32px;
    line-height: 39px;
    padding-bottom: 0px;
    text-align: center;
  }

  .clearance-wrapper {
    flex-direction: column;
    gap: 15px;
  }

  div#gallery {
    padding-top: 2rem;
  }

  .service-overlay .service_content {
    display: block;
  }

  .service-overlay span {
    padding-bottom: 14px;
  }

  .carrer_section {
    padding: 6rem 0 3rem 0;
  }

  .carrer_image_wrap {
    padding: 0 0 0 0;
    margin-top: 25px;
  }

  .job-section {
    padding: 6rem 0 3rem 0;
  }

  .services-header h1 {
    font-size: 35px;
  }

  section.job-section h2 {
    font-size: 30px;
  }

  section.career-form h2 {
    font-size: 30px;
    padding-bottom: 10px;
  }

  .form-group {
    display: flex;
    flex-direction: column;
    padding-bottom: 0px;
    padding-top: 0px;
  }

  .full {
    margin-top: 30px;
  }

  .gallery_page_section {
    padding: 6rem 0 3rem 0;
  }

  .ftr_item img {
    margin-top: 0;
  }

  .stat_contents p {
    text-align: left;
  }

  .hero {
    height: 100vh;
    background: url('../images/Banner.webp') center / cover no-repeat;
    position: relative;
    overflow: hidden;
    color: #fff;
  }

  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../images/Banner-mob.png') center / cover no-repeat;
    transform: translateZ(0);
    /* GPU */
    will-change: transform;
    z-index: -1;
  }

  .stat_icon {
    font-size: 22px;
    color: #4b4fa3;
    width: 100px;
    text-align: left;
  }

  span.stat_icon img {
    width: 45px;
  }
}

@media (max-width: 480px) {
  .gallery_grid {
    grid-template-columns: 1fr;
  }
}