/*for both mobile and tablet size*/
/*any class under this query, 0-1024px*/
@media (max-width: 1024px) {
  .checkbtn {
    display: block;
  }
  .hamburger {
    display: block;
  }
  .MessageSentIcon {
    width: 70px;
  }

  .hero-container,
  .homepage-contact-container,
  .subsea-video-container,
  .subsea-downloadpdf-container {
    gap: 20px;
  }

  .PDPA-pointer,
  .Terms-pointer {
    gap: 15px;
  }
  .contact-title,
  .plant-title,
  .plant2-title,
  .plant-title-inverse,
  .notes-title,
  .notes2-title,
  .howtoapply-number,
  .whistleblow-title,
  .resource-title,
  .PDPA-title,
  .Terms-title,
  .individual-specs-header,
  .bentogrid-header {
    font-size: 22px;
  }
  .dwdm-content,
  .notes-content,
  .whistleblow-content,
  .plantmap-content,
  .NCE-content {
    flex-direction: column;
  }

  .map-content {
    flex-direction: column;
    gap: 30px;
  }

  .service-cards {
    flex-direction: column;
  }
  .service-card {
    width: 100%;
    gap: 20px;
  }
  .nav-items {
    display: block;
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: #0047bb;
    top: 92px;
    left: 100%;
    text-align: center;
    transition: all 0.5s;
    z-index: -1;
    opacity: 0;
    backdrop-filter: blur(5px);
  }
  .nav-items li {
    display: block;
    margin: 80px 20px;
  }

  #check:checked ~ .nav-items {
    left: 0%;
    opacity: 1;
  }
  .nav-items li a {
    color: #e6fdff;
    padding: 2px;
    font-size: 22px;
  }
  .nav-items li a:link,
  .nav-items li a:visited {
    border-bottom: 2px solid #fff0;
    transition: border-bottom 0.3s;
  }
  .nav-items li a:hover,
  a:active {
    border-bottom: 2px solid #e6fdff;
  }
  .nav-items li a.clicked,
  .nav-promo-clicked {
    text-decoration: none;
    border-bottom: 2px solid #e6fdff;
  }

  .form-links {
    display: grid;
  }
  .textbreak {
    display: table;
  }
  a:focus,
  a:active {
    border-bottom: none;
    outline: none;
  }

  .map-description-text {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 40px; /* row gap, column gap */
    padding: 0;
    margin: 0;
    justify-content: center;
  }

  .promo-cards {
    flex-direction: column;
  }

  /*this section is specifically targeted towards the huge LCP in the site*/

  .hero-section {
    /* Swap to the lightweight, optimized mobile asset */
    background-image:
      linear-gradient(rgba(0, 71, 187, 0.3), rgba(0, 71, 187, 0.9)), url(../img/HomepageBG.webp);
  }

  .subsea-hero-overlay {
    background-image:
      linear-gradient(rgba(0, 71, 187, 0.3), rgba(0, 71, 187, 0.6)), url(../img/subseaBG.webp);
  }

  .about-hero-overlay {
    background-image:
      linear-gradient(rgba(0, 71, 187, 0.3), rgba(0, 71, 187, 0.6)), url(../img/AboutBG.webp);
  }

  .contact-hero-overlay {
    background-image:
      linear-gradient(rgba(0, 71, 187, 0.3), rgba(0, 71, 187, 0.6)),
      url(../img/ContactBG_Mobile.webp);
  }

  .plant-hero-overlay {
    background-image:
      linear-gradient(rgba(0, 71, 187, 0.3), rgba(0, 71, 187, 0.6)), url(../img/PlantBG_Mobile.webp);
  }

  .expertise-section {
    background-image:
      linear-gradient(rgba(0, 71, 187, 0.8), rgba(0, 71, 187, 0.8)),
      url("../img/ExpertiseBG_Mobile.webp");
  }

  .stability-section {
    background-image:
      linear-gradient(rgba(0, 71, 187, 0.8), rgba(0, 71, 187, 0.8)),
      url(../img/StabilityBG_Mobile.webp);
  }

  .subsea-context-img {
    object-fit: cover; /* This prevents the "squash" */
    object-position: center;
    height: 400px;
  }

  .subsea-video,
  .subsea-flowchart,
  .subsea-legend {
    width: 100%;
  }

  .legend-mobile {
    display: block;
    width: 80%;
  }

  .legend-desktop {
    display: none;
  }

  .anniversary-badge {
    width: 225px;
  }

  .promo-card {
    width: 100%;
    gap: 20px;
  }

  .promo-content-title {
    margin-bottom: 70px;
  }

  .dwdm-image {
    width: 85%;
  }

  .grid-container {
    grid-template-areas:
      "box-1 box-2"
      "box-1 box-3"
      "box-4 box-4"
      "box-5 box-6";
  }

  .box div {
    margin-bottom: 60px;
  }
}
/*for mobile size only*/
/*any class under this query, 0-467px*/
@media (max-width: 467px) {
  .logo {
    width: 60px;
  }

  .anniversary-badge {
    width: 200px;
  }

  #backToTop {
    width: 40px;
    height: 40px;
    left: 25px;
    bottom: 20px;
  }

  #wa-widget {
    right: 25px;
    bottom: 20px;
    height: 40px;
  }

  .fa-whatsapp {
    font-size: 20px;
  }

  .wa-widget {
    padding: 15px;
  }

  .wa-widget p {
    font-size: 14px;
  }

  .backToTop {
    font-size: 18px;
  }
  .chatbot-toggler {
    width: 40px;
    height: 40px;
    bottom: 25px;
    right: 25px;
  }
  .chatbot-toggler i {
    font-size: 18px;
  }
  .doc-icon {
    width: 25px;
    height: 25px;
  }
  .dwdm-image {
    width: 100%;
  }
  .vision-card,
  .mission-card {
    width: 100%;
  }
  .nav-items {
    top: 82px;
  }
  .nav-items li a {
    font-size: 20px;
  }
  .header-content {
    width: 90%;
  }
  .hero-container,
  .homepage-contact-container,
  .subsea-video-container,
  .subsea-downloadpdf-container {
    width: 100%;
  }
  .contact-form,
  .upload-form,
  .subsea-form {
    gap: 18px;
  }
  .PDPA-item,
  .Terms-item {
    gap: 30px;
  }
  .Thankyou-content {
    gap: 15px;
  }
  .document-cards {
    flex-direction: column;
  }
  .document-card {
    width: 100%;
  }
  .service-title,
  .infrastructure-details {
    margin-bottom: 50px;
  }
  .expertise-header {
    margin-bottom: 50px;
  }
  .expertise-card,
  .stability-content,
  .connectivity-content,
  .howtoapply-cards,
  .plant-item,
  .homepage-content,
  .homepage-content2 {
    gap: 20px;
  }

  .hero-section {
    height: 92vh;
  }

  .resource-item {
    gap: 20px;
    margin: 30px 0;
  }
  .notes-content,
  .whistleblow-content {
    gap: 40px;
    padding: 40px;
  }
  .plantmap-content,
  .NCE-content {
    gap: 30px;
  }
  .PPNCE-buttons {
    width: 100%;
    gap: 20px;
  }
  /*subpages section padding*/
  .service-section,
  .dwdm-section,
  .plant-purchase-section,
  .plant-purchase2-section,
  .notes-section,
  .contact-section,
  .resource-section,
  .PDPA-section,
  .Terms-section,
  .Thankyou-section,
  .upload-section {
    padding: 50px 30px;
  }
  /*important pages section padding*/
  .vision-mission-section,
  .expertise-section,
  .flexibility-section,
  .stability-section,
  .subsea-specs-section {
    padding: 55px 30px;
  }
  /*homepage section padding*/
  .connectivity-section,
  .homepage-section,
  .highcapacity-section,
  .homepage-infrastructure-section {
    padding: 60px 30px;
  }

  .company-overview-section {
    width: 100%;
    padding: 55px 30px;
    text-align: left;
    gap: 30px;
  }

  .homepage-contact-section {
    padding: 90px 30px;
  }

  .contact-header {
    gap: 15px;
  }
  .form-section {
    padding: 38px 35px;
    width: 100%;
  }
  .upload-container {
    padding: 38px 35px;
  }
  .notes-badge,
  .whistleblow-badge {
    width: 120px;
    height: 120px;
  }
  .container {
    padding: 0 24px;
  }
  .connectivity-image,
  .flexibility-image,
  .homepage-image {
    width: 100%;
  }
  .howtoapply-card-icon {
    height: 70px;
  }
  .vision-text,
  .mission-text,
  .expertise-description,
  .expertise-card-text,
  .flexibility-item-text,
  .stability-description,
  .connectivity-description,
  .contact-details,
  .plant-details,
  .notes-details,
  .service-card-text,
  .dwdm-description,
  .infrastructure-details,
  .infrastructure-conclusion,
  .whistleblow-details,
  .resource-details,
  .document-title,
  .PDPA-details,
  .Terms-details,
  .Thankyou-details,
  .individual-specs-text,
  .map-description-text,
  .homepage-para-description,
  .homepage-contact-microcopy,
  .overview-text,
  .subsea-video-microcopy,
  .promo-card-text,
  .box div,
  .subsea-downloadpdf-microcopy,
  .subsea-enquiry-description {
    font-size: 16px;
  }
  .howtoapply-card-text {
    font-size: 16px;
    text-align: center;
  }
  .expertise-content,
  .stability-content,
  .connectivity-content,
  .flexbility-content,
  .service-content,
  .dwdm-content,
  .plant-content,
  .PDPA-item,
  .Terms-item,
  .Thankyou-section,
  .upload-section,
  .homepage-content,
  .homepage-content2,
  .promo-content {
    width: 100%;
  }
  .contact-icon {
    width: 20px;
  }
  .form-input {
    padding: 8px 0;
  }
  .service-text-header,
  .resource-text-header {
    font-size: 18px;
  }
  .flexibility-item-title {
    font-size: 18px;
  }

  .hero-microcopy {
    font-size: 16px;
    text-align: left;
  }

  .hero-text {
    font-size: 26px;
    text-align: left;
  }

  .subsea-cta {
    width: 100%;
    padding: 14px 20px;
  }

  .explore-btns {
    padding: 14px 20px;
  }

  .footer-nav {
    gap: 5px;
  }
  .footer-links {
    flex-direction: row;
    gap: 20px;
    font-size: 12px;
  }
  .footer-copyright {
    font-size: 12px;
  }
  .footer-content {
    max-width: 90%;
  }
  .vision-title,
  .mission-title,
  .expertise-title,
  .flexibility-title,
  .stability-title,
  .connectivity-title,
  .contact-hero-title,
  .plant-hero-title,
  .service-hero-title,
  .resource-hero-title,
  .PDPA-hero-title,
  .Term-hero-title,
  .Thankyou-header,
  .service-title,
  .service-title2,
  .dwdm-title,
  .homepage-para-title,
  .about-hero-title,
  .overview-title,
  .subsea-hero-title,
  .subsea-enquiry-title,
  .homepage-contact-text,
  .subsea-video-text,
  .subsea-downloadpdf-text {
    font-size: 26px;
  }

  .promo-content-title,
  .subsea-contact-title {
    font-size: 26px;
    margin-bottom: 50px;
  }

  .vision-card,
  .mission-card {
    gap: 16px;
  }
  .vision-icon,
  .mission-icon {
    width: 70px;
  }
  .expertise-card-icon,
  .service-card-icon,
  .promo-card-icon {
    height: 75px;
  }
  .flexibility-item-icon {
    height: 28px;
    aspect-ratio: 1;
  }

  .purchase-badge,
  .NCE-badge,
  .upload-badge {
    width: 100px;
    height: auto;
  }
  .contact-hero-title,
  .plant-hero-title,
  .service-hero-title,
  .resource-hero-title,
  .PDPA-hero-title,
  .Term-hero-title,
  .about-hero-title,
  .subsea-hero-title {
    width: 100%;
    text-align: center;
  }
  .contact-content,
  .contact-info,
  .subsea-contact-content,
  .subsea-enquiry-info {
    flex-direction: column;
    gap: 40px;
    width: 100%;
  }
  .form-title {
    margin-bottom: 20px;
    font-size: 22px;
    text-align: left;
  }
  .howtoapply-card {
    gap: 20px;
    flex-direction: column;
  }
  .plant-title-inverse {
    margin-bottom: 30px;
  }
  .submit-btn,
  .return-btn,
  .upload-btn,
  .contact-item,
  .subsea-enquiry-btn,
  .explore-services {
    width: 100%;
  }
  .dz-message {
    font-size: 14px;
  }
  .upload-filesize,
  .upload-format,
  .counter {
    font-size: 12px;
  }

  .individual-specs-container {
    padding: 0px;
    gap: 30px;
  }

  .individual-specs-icon {
    height: 25px;
  }

  .spec-description {
    gap: 20px;
  }

  .sgmap {
    width: 100%;
  }

  .contact-hero-content,
  .plant-hero-content,
  .service-hero-content,
  .resource-hero-content,
  .PDPA-hero-content,
  .Term-hero-content,
  .about-hero-content,
  .subsea-hero-content {
    width: 100%;
  }

  .subsea-pdf {
    align-self: center;
  }

  .subsea-hero-text {
    font-size: 16px;
    text-align: center;
  }

  .subsea-content-divider {
    margin: 55px auto;
    width: 100%;
  }

  .subsea-vertical-divider {
    height: 100px;
  }

  .legend-mobile {
    width: 100%;
  }

  .bentogrid-img {
    height: 35px;
  }

  .grid-container {
    grid-template-areas:
      "box-1"
      "box-2"
      "box-3"
      "box-4"
      "box-5"
      "box-6";
  }

  .box div {
    margin-bottom: 50px;
  }

  .subsea-enquiry-content {
    flex-direction: column;
    gap: 40px;
    width: 100%;
  }
}
/*for sizes that are bigger than mobile*/
/*any class under this query, 468px~*/
@media (min-width: 468px) {
  .contact-header,
  .Thankyou-content {
    gap: 15px;
  }
  #backToTop {
    width: 45px;
    height: 45px;
    left: 35px;
    bottom: 25px;
  }

  .hero-section {
    height: 94vh;
  }

  .subsea-content-divider {
    margin: 80px auto;
  }

  .subsea-vertical-divider {
    height: 100px;
  }

  .hero-container,
  .homepage-contact-container,
  .subsea-video-container,
  .subsea-downloadpdf-container {
    gap: 20px;
  }

  #wa-widget {
    right: 35px;
    bottom: 25px;
    height: 45px;
  }

  .fa-whatsapp {
    font-size: 22px;
  }

  .backToTop {
    font-size: 20px;
  }
  .chatbot-toggler i {
    font-size: 20px;
  }
  .chatbot-toggler {
    height: 45px;
    width: 45px;
  }
  .doc-icon {
    width: 20px;
    height: 20px;
  }
  .logo {
    width: 70px;
  }
  .header-content {
    width: 80%;
  }
  .expertise-card {
    gap: 35px;
  }
  .PDPA-item,
  .Terms-item {
    gap: 40px;
  }
  .service-section,
  .dwdm-section,
  .plant-purchase-section,
  .plant-purchase2-section,
  .notes-section,
  .contact-section,
  .resource-section,
  .PDPA-section,
  .Terms-section,
  .Thankyou-section,
  .upload-section {
    padding: 70px 16px;
  }
  .vision-mission-section,
  .company-overview-section,
  .expertise-section,
  .flexibility-section,
  .stability-section,
  .subsea-specs-section {
    padding: 80px 16px;
  }
  .connectivity-section,
  .homepage-section,
  .highcapacity-section,
  .homepage-infrastructure-section,
  .homepage-contact-section {
    padding: 90px 16px;
  }
  .document-cards {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .document-card {
    align-items: center;
    gap: 35px;
    text-align: center;
    width: 45%;
  }
  .stability-content,
  .connectivity-content,
  .howtoapply-cards,
  .homepage-content,
  .homepage-content2 {
    gap: 40px;
  }
  .purchase-badge,
  .NCE-badge,
  .upload-badge {
    width: 100px;
    height: auto;
  }
  .plant-item {
    gap: 30px;
    width: 80%;
  }
  .resource-item {
    gap: 30px;
    margin: 50px 0;
  }
  .contact-form,
  .upload-form,
  .subsea-form {
    gap: 20px;
  }
  .whistleblow-text-content {
    width: 100%;
  }
  .plantmap-content,
  .NCE-content {
    gap: 30px;
  }
  .PPNCE-buttons {
    align-self: flex-start;
    gap: 20px;
  }
  .expertise-header {
    margin-bottom: 60px;
  }
  .service-title,
  .infrastructure-details {
    margin-bottom: 50px;
  }

  .expertise-content,
  .stability-content,
  .connectivity-content,
  .flexibility-content,
  .service-content,
  .dwdm-content,
  .contact-content,
  .plant-content,
  .resource-content,
  .Thankyou-section,
  .upload-section,
  .homepage-content,
  .homepage-content2,
  .promo-content,
  .subsea-contact-content {
    width: 80%;
  }

  .subsea-enquiry-content {
    flex-direction: column;
    width: 80%;
    gap: 60px;
  }

  .form-section,
  .upload-container {
    padding: 38px 45px;
  }
  .notes-badge,
  .whistleblow-badge {
    width: 130px;
    height: 130px;
  }
  .container {
    padding: 0 24px;
  }
  .connectivity-image,
  .flexibility-image,
  .homepage-image {
    width: 100%;
  }
  .howtoapply-card-icon {
    height: 50px;
  }
  .vision-text,
  .mission-text,
  .expertise-description,
  .expertise-card-text,
  .flexibility-item-text,
  .stability-description,
  .connectivity-description,
  .contact-details,
  .plant-details,
  .notes-details,
  .service-card-text,
  .dwdm-description,
  .infrastructure-details,
  .infrastructure-conclusion,
  .whistleblow-details,
  .resource-details,
  .document-title,
  .PDPA-details,
  .Terms-details,
  .Thankyou-details,
  .individual-specs-text,
  .map-description-text,
  .homepage-para-description,
  .homepage-contact-microcopy,
  .overview-text,
  .subsea-video-microcopy,
  .promo-card-text,
  .box div,
  .subsea-downloadpdf-microcopy,
  .subsea-enquiry-description {
    font-size: 16px;
  }
  .howtoapply-card-text {
    font-size: 16px;
    text-align: justify;
  }
  .contact-icon {
    width: 24px;
  }
  .form-input {
    padding: 8px 0;
  }
  .service-text-header,
  .resource-text-header,
  .flexibility-item-title {
    font-size: 20px;
  }

  .hero-microcopy {
    font-size: 16px;
  }

  .footer-nav {
    gap: 5px;
  }
  .footer-links {
    flex-direction: row;
    gap: 20px;
  }
  .footer {
    padding: 30px 16px 25px;
  }
  .footer-content {
    gap: 20px;
  }
  .vision-title,
  .mission-title,
  .expertise-title,
  .flexibility-title,
  .stability-title,
  .connectivity-title,
  .contact-hero-title,
  .plant-hero-title,
  .service-hero-title,
  .resource-hero-title,
  .PDPA-hero-title,
  .Term-hero-title,
  .Thankyou-header,
  .service-title,
  .service-title2,
  .dwdm-title,
  .homepage-para-title,
  .hero-text,
  .homepage-contact-text,
  .about-hero-title,
  .overview-title,
  .subsea-hero-title,
  .subsea-video-text,
  .promo-content-title,
  .subsea-downloadpdf-text,
  .subsea-contact-title,
  .subsea-enquiry-title {
    font-size: 30px;
  }
  .vision-card,
  .mission-card {
    gap: 16px;
  }
  .vision-icon,
  .mission-icon {
    width: 90px;
  }
  .expertise-card-icon,
  .service-card-icon,
  .promo-card-icon {
    height: 90px;
  }
  .flexibility-item-icon {
    height: 30px;
    aspect-ratio: 1;
  }

  .contact-hero-title,
  .plant-hero-title,
  .service-hero-title,
  .resource-hero-title,
  .PDPA-hero-title,
  .Term-hero-title,
  .about-hero-title,
  .subsea-hero-title {
    width: 100%;
    text-align: center;
  }

  .contact-content,
  .subsea-contact-content {
    flex-direction: column;
    gap: 60px;
  }

  .contact-info,
  .subsea-enquiry-info {
    width: 100%;
    gap: 40px;
  }
  .contact-item,
  .form-section {
    width: 100%;
  }
  .form-title {
    margin-bottom: 20px;
    font-size: 22px;
    text-align: left;
  }
  .howtoapply-card {
    gap: 20px;
    flex-direction: row;
  }
  .plant-title-inverse {
    margin-bottom: 50px;
  }
  .notes-content,
  .whistleblow-content {
    gap: 40px;
    padding: 50px;
  }
  .dwdm-content {
    gap: 30px;
  }
  .map-content {
    gap: 30px;
  }
  .dz-message {
    font-size: 14px;
  }
  .upload-filesize,
  .upload-format,
  .counter {
    font-size: 12px;
  }

  .individual-specs-container {
    padding: 0px;
  }

  .individual-specs-icon {
    height: 25px;
  }

  .spec-description {
    gap: 20px;
  }

  .subsea-hero-text {
    font-size: 16px;
    text-align: center;
  }

  .subsea-pdf {
    align-self: center;
  }

  .bentogrid-img {
    height: 40px;
  }
}
/*mostly for tablet sizes*/
/*any class under this query, 767px~*/
@media (min-width: 767px) {
  .MessageSentIcon {
    width: 75px;
  }

  .subsea-pdf {
    align-self: flex-start;
  }

  .subsea-hero-text {
    width: 80%;
    text-align: left;
  }

  .hero-microcopy {
    font-size: 20px;
  }

  .hero-container,
  .homepage-contact-container,
  .subsea-video-container,
  .subsea-downloadpdf-container {
    gap: 30px;
  }

  .hero-text {
    font-size: 36px;
  }

  .homepage-contact-text,
  .subsea-video-text {
    font-size: 24px;
  }
  .PDPA-pointer,
  .Terms-pointer {
    gap: 20px;
  }
  .resource-item {
    margin: 60px 0;
  }
  .whistleblow-badge,
  .notes-badge {
    width: 150px;
    height: 150px;
  }
  .contact-title,
  .plant-title,
  .plant2-title,
  .plant-title-inverse,
  .notes-title,
  .notes2-title,
  .howtoapply-number,
  .whistleblow-title,
  .resource-title,
  .PDPA-title,
  .Terms-title,
  .individual-specs-header,
  .bentogrid-header {
    font-size: 24px;
  }
  .vision-title,
  .mission-title,
  .expertise-title,
  .flexibility-title,
  .stability-title,
  .connectivity-title,
  .contact-hero-title,
  .plant-hero-title,
  .service-hero-title,
  .resource-hero-title,
  .PDPA-hero-title,
  .Term-hero-title,
  .Thankyou-header,
  .service-title,
  .service-title2,
  .dwdm-title,
  .homepage-para-title,
  .homepage-contact-text,
  .about-hero-title,
  .overview-title,
  .subsea-hero-title,
  .subsea-video-text,
  .promo-content-title,
  .subsea-downloadpdf-text,
  .subsea-contact-title,
  .subsea-enquiry-title {
    font-size: 32px;
  }
  .contact-hero-title,
  .plant-hero-title,
  .service-hero-title,
  .resource-hero-title,
  .PDPA-hero-title,
  .Term-hero-title,
  .about-hero-title,
  .subsea-hero-title {
    width: 80%;
    text-align: left;
  }

  .contact-info,
  .subsea-enquiry-info {
    width: 100%;
    flex-direction: row;
    gap: 40px;
  }
  .form-section {
    width: 100%;
  }
  .form-title {
    margin-bottom: 20px;
    font-size: 24px;
    text-align: left;
  }
  .howtoapply-card {
    gap: 20px;
  }
  .service-card {
    gap: 25px;
  }

  .promo-card {
    gap: 25px;
  }
}
/*mostly for small laptops*/
/*any class under this query, 1025px~*/
@media (min-width: 1025px) {
  .container {
    padding: 0 32px;
  }

  .subsea-context-img {
    width: 40% !important;
  }

  .subsea-flowchart {
    width: 80%;
    height: auto;
  }

  .subsea-video {
    width: 75%;
  }

  .subsea-legend {
    width: 80%;
    height: auto;
  }

  .document-cards {
    justify-content: space-between;
  }
  .document-card {
    align-items: center;
    gap: 35px;
    text-align: center;
    width: 30%;
  }
  .purchase-badge,
  .NCE-badge,
  .upload-badge {
    width: 110px;
    height: auto;
  }
  .plantmap-content,
  .NCE-content {
    flex-direction: row;
    gap: 60px;
  }
  .PPNCE-buttons {
    align-self: end;
    gap: 30px;
  }
  .nav-items li a {
    font-size: 16px;
  }

  /*special classes given to promo buttons on nav bar*/

  .nav-promo {
    background-color: #501c68;
    border-bottom: none !important;
    color: #edf7ff !important;
    padding: 12px 24px;
    border-radius: 50px;
  }

  .nav-promo:hover {
    border-bottom: 0px !important;
    background-color: #e6fdff;
    color: #501c68 !important;
    outline: 2px solid #501c68;
  }

  .nav-promo-clicked {
    border-bottom: none !important;
    background-color: #e6fdff;
    color: #501c68 !important;
    outline: 2px solid #501c68;
    outline-offset: -2px;
    border-radius: 50px;
    padding: 12px 24px;
    cursor: default;
    pointer-events: none;
  }

  /*special classes for promo button end*/

  .nav-items {
    gap: 25px;
  }

  .nav-items .checkbtn {
    display: none;
  }
  .resource-item {
    margin: 70px 0;
  }
  .service-cards {
    flex-direction: row;
  }

  .service-card {
    gap: 30px;
  }

  .form-links {
    display: block;
  }
  .whistleblow-text-content {
    width: 80%;
  }
  .service-card {
    width: 35%;
  }

  .notes-content,
  .whistleblow-content {
    flex-direction: row;
  }
  .form-title {
    font-size: 24px;
    text-align: left;
  }
  .contact-content,
  .subsea-contact-content {
    flex-direction: row;
    gap: 80px;
  }

  .contact-info {
    flex-direction: column;
    width: 40%;
    gap: 45px;
  }

  .subsea-enquiry-info {
    flex-direction: column;
    width: 40%;
    gap: 45px;
  }

  .form-section {
    width: 55%;
    padding: 38px 45px;
  }
  .upload-container {
    padding: 38px 50px;
  }
  .hamburger {
    display: none;
  }

  .expertise-cards {
    flex-direction: row;
    gap: 60px;
  }
  .expertise-card,
  .stability-text-content {
    flex: 1;
  }
  .flexibility-content {
    flex-direction: row;
    gap: 90px;
    align-items: center;
  }
  .flexibility-image,
  .connectivity-image,
  .homepage-image {
    width: 45%;
  }
  .stability-content {
    flex-direction: row;
    gap: 100px;
    align-items: center;
  }
  .dwdm-content {
    flex-direction: column;
    align-items: center;
  }
  .map-content {
    flex-direction: row;
    align-items: center;
  }
  .connectivity-content,
  .homepage-content,
  .homepage-content2 {
    flex-direction: row;
    gap: 90px;
    align-items: center;
  }

  .footer-main {
    flex-direction: row;
    justify-content: space-between;
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  .service-text-header,
  .resource-text-header {
    font-size: 20px;
  }
  .vision-card,
  .mission-card {
    gap: 18px;
    width: 70%;
  }
  .main-content {
    padding: 0 32px;
  }
  .contact-hero-content,
  .plant-hero-content {
    align-items: flex-start;
  }
  .contact-hero-title,
  .resource-hero-title,
  .service-hero-title,
  .PDPA-hero-title,
  .Term-hero-title,
  .plant-hero-title,
  .about-hero-title,
  .subsea-hero-title {
    width: 60%;
  }
  .form-input {
    font-size: 16px;
  }

  .individual-specs-container {
    padding: 30px;
  }

  .spec-description {
    gap: 30px;
  }

  .sgmap {
    width: 65%;
  }

  .company-overview-section {
    width: 75%;
  }

  .subsea-hero-text {
    width: 60%;
  }

  .promo-cards {
    gap: 40px;
    flex-direction: row;
  }

  .promo-card {
    width: 35%;
    gap: 30px;
  }
  .subsea-enquiry-content {
    flex-direction: row;
    gap: 90px;
  }

  .hero-section {
    height: 85vh;
  }
}

@media (min-width: 1100px) {
  .nav-items {
    gap: 35px;
  }
}

/*this is a special media query class to deal with the nav promo button padding and gaps*/
/*any class under this query, 1250px~*/
@media (min-width: 1250px) {
  .nav-items {
    gap: 40px;
  }

  .nav-items li a {
    font-size: 18px;
  }

  .subsea-flowchart {
    width: 60%;
    height: auto;
  }

  .subsea-video {
    width: 50%;
  }

  .subsea-legend {
    width: 60%;
    height: auto;
  }
}
/*for big laptops and desktops*/
/*any class under this query, 1524px~*/
@media (min-width: 1524px) {
  .contact-hero-title,
  .resource-hero-title,
  .service-hero-title,
  .plant-hero-title,
  .PDPA-hero-title,
  .Term-hero-title,
  .about-hero-title,
  .subsea-hero-title {
    width: 45%;
  }

  .nav-promo,
  .nav-promo-clicked {
    padding: 14px 28px;
  }

  .expertise-cards {
    gap: 80px;
  }
  .dwdm-content {
    gap: 40px;
  }
  .map-content {
    gap: 100px;
  }
  .expertise-header {
    margin-bottom: 90px;
    padding: 0 60px;
  }

  .service-title,
  .infrastructure-details {
    margin-bottom: 60px;
  }
  .doc-icon {
    width: 25px;
    height: 25px;
  }
  .PDPA-hero-overlay,
  .Term-hero-overlay,
  .resource-hero-overlay,
  .contact-hero-overlay,
  .plant-hero-overlay,
  .service-hero-overlay,
  .about-hero-overlay,
  .subsea-hero-overlay {
    padding: 100px 16px;
  }
  #backToTop {
    width: 50px;
    height: 50px;
    left: 40px;
    bottom: 30px;
  }

  #wa-widget {
    right: 40px;
    bottom: 30px;
    height: 50px;
  }

  .fa-whatsapp {
    font-size: 24px;
  }

  .chatbot-toggler {
    width: 50px;
    height: 50px;
  }

  .backToTop {
    font-size: 24px;
  }
  .chatbot-toggler i {
    font-size: 24px;
  }

  .plant-title-inverse {
    margin-bottom: 60px;
  }
  .purchase-badge,
  .NCE-badge,
  .upload-badge {
    width: 130px;
    height: auto;
  }
  .doc-type {
    font-size: 16px;
  }
  .contact-info,
  .subsea-enquiry-info {
    gap: 60px;
  }
  .PDPA-item,
  .Terms-item {
    gap: 60px;
  }
  .MessageSentIcon {
    width: 85px;
  }
  /*to note, section padding will be seperated into 3 categories: homepage, important page and subpage. Homepage will have 120px padding, important page will have 110px and subpage will have 90px*/
  .service-section,
  .dwdm-section,
  .plant-purchase-section,
  .plant-purchase2-section,
  .notes-section,
  .contact-section,
  .resource-section,
  .PDPA-section,
  .Terms-section,
  .Thankyou-section {
    padding: 90px 16px;
  }

  .vision-mission-section,
  .company-overview-section,
  .expertise-section,
  .flexibility-section,
  .stability-section,
  .subsea-specs-section {
    padding: 110px 16px;
  }

  .connectivity-section,
  .homepage-section,
  .highcapacity-section,
  .homepage-infrastructure-section,
  .homepage-contact-section {
    padding: 120px 16px;
  }

  .company-overview-section {
    width: 60%;
  }

  .logo {
    width: 80px;
  }
  .footer-nav a {
    font-size: 18px;
  }
  .footer-content {
    gap: 25px;
  }
  .footer {
    padding: 35px 16px 30px;
  }
  .hero-section {
    height: 90vh;
  }

  .vision-title,
  .mission-title,
  .expertise-title,
  .stability-title,
  .flexibility-title,
  .contact-hero-title,
  .plant-hero-title,
  .service-hero-title,
  .connectivity-title,
  .resource-hero-title,
  .PDPA-hero-title,
  .Term-hero-title,
  .Thankyou-header,
  .service-title,
  .service-title2,
  .dwdm-title,
  .homepage-para-title,
  .hero-text,
  .homepage-contact-text,
  .about-hero-title,
  .overview-title,
  .subsea-hero-title,
  .subsea-video-text,
  .promo-content-title,
  .subsea-downloadpdf-text,
  .subsea-contact-title,
  .subsea-enquiry-title {
    font-size: 42px;
  }

  .vision-text,
  .mission-text,
  .expertise-description,
  .connectivity-description,
  .expertise-card-text,
  .flexibility-item-text,
  .stability-description,
  .contact-details,
  .plant-details,
  .howtoapply-card-text,
  .notes-details,
  .service-card-text,
  .dwdm-description,
  .infrastructure-details,
  .infrastructure-conclusion,
  .whistleblow-details,
  .resource-details,
  .document-title,
  .PDPA-details,
  .Terms-details,
  .Thankyou-details,
  .anniversary-text,
  .individual-specs-text,
  .map-description-text,
  .homepage-para-description,
  .homepage-contact-microcopy,
  .overview-text,
  .subsea-video-microcopy,
  .promo-card-text,
  .box div,
  .subsea-downloadpdf-microcopy,
  .subsea-enquiry-description {
    font-size: 18px;
  }
  .contact-title,
  .form-title,
  .plant-title,
  .plant2-title,
  .plant-title-inverse,
  .notes-title,
  .notes2-title,
  .howtoapply-number,
  .whistleblow-title,
  .resource-title,
  .PDPA-title,
  .Terms-title,
  .individual-specs-header,
  .bentogrid-header {
    font-size: 32px;
  }

  .anniversary-number {
    font-size: 100px;
  }
  .vision-icon,
  .mission-icon {
    width: 115px;
  }
  .expertise-card-icon,
  .service-card-icon,
  .promo-card-icon {
    height: 110px;
  }
  .vision-card,
  .mission-card {
    gap: 22px;
  }
  .flexibility-item-icon {
    height: 34px;
  }
  .stability-content {
    gap: 150px;
  }
  .service-text-header,
  .resource-text-header,
  .flexibility-item-title,
  .hero-microcopy,
  .nav-items li a {
    font-size: 22px;
  }

  .nav-items {
    gap: 55px;
  }

  .contact-header {
    gap: 22px;
  }
  .contact-icon {
    width: 30px;
  }
  .form-input {
    font-size: 18px;
    padding: 10px 0;
  }
  .form-textarea,
  .upload-textarea {
    font-size: 18px;
  }
  .submit-btn,
  .return-btn,
  .upload-btn,
  .quote-btn,
  .subsea-enquiry-btn,
  .explore-services,
  .subsea-cta,
  .explore-btns {
    font-size: 18px;
  }
  .form-title {
    margin-bottom: 36px;
  }
  .howtoapply-card-icon {
    height: 70px;
  }

  .individual-specs-icon {
    height: 30px;
  }

  .form-section {
    padding: 38px 50px;
  }

  .subsea-hero-text {
    width: 45%;
    font-size: 18px;
  }

  .subsea-content-divider {
    margin: 110px auto;
  }

  .subsea-vertical-divider {
    height: 150px;
  }

  .bentogrid-img {
    height: 45px;
  }

  .subsea-enquiry-content {
    gap: 120px;
  }
}
