/* =========================================================
   UTILITY CLASSES
========================================================= */

/* Common Two-Column Grid Layout */
.content-grid {
  width: min(1140px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  align-items: center;
}

/* Common Section Container */
.section-container {
  width: 100%;
  margin: 0;
  padding: 35px 0 40px;
  background: #ffffff;
}

/* Common Content Styling */
.content-heading {
  margin: 0 0 18px;
  color: #1738e8;
  font-family: "Roboto", sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
}

.content-text {
  margin: 0;
  color: #111111;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.8;
  text-align: left;
}

/* Common Image Styling */
.section-image {
  width: 100%;
}

.section-image img {
  display: block;
  width: 100%;
  max-width: 550px;
  height: 345px;
  margin: 0 auto;
  object-fit: cover;
  object-position: center;
  border: 4px solid #333333;
  border-radius: 15px;
}

/* Common Button Group */
.button-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 32px;
}

.action-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 170px;
  height: 40px;
  background: #1738e8;
  color: #ffffff;
  text-decoration: none;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 700;
  border-radius: 3px;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.action-button:hover {
  background: #0b25c8;
  transform: translateY(-1px);
}

/* Responsive Utilities */
@media (max-width: 900px) {
  .content-grid {
    gap: 25px;
  }

  .section-image img {
    height: 320px;
  }

  .content-heading {
    font-size: 31px;
  }

  .content-text {
    font-size: 13px;
  }

  .button-group {
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .section-container {
    padding: 30px 0;
  }

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

  .section-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .content-heading {
    font-size: 29px;
  }

  .content-text {
    font-size: 13px;
    line-height: 1.7;
    text-align: center;
  }

  .button-group {
    justify-content: center;
    flex-wrap: wrap;
  }

  .action-button {
    width: 145px;
  }
}

@media (max-width: 480px) {
  .content-heading {
    font-size: 22px;
  }

  .content-text {
    font-size: 12px;
  }

  .button-group {
    flex-direction: column;
    gap: 12px;
  }

  .action-button {
    width: 170px;
    max-width: 180px;
    height: 38px;
    font-size: 13px;
  }

  .section-image img {
    border-width: 3px;
    border-radius: 12px;
  }

  /* Additional spacing improvements */
  .section-container {
    padding: 20px 0 25px;
  }

  .content-grid {
    gap: 20px;
  }
}

/* =========================================================
   ABOUT HERO SLIDER
========================================================= */

.about-hero {
  position: relative;

  width: 100%;
  height: 650px;

  margin: 0;
  padding: 0;

  overflow: hidden;
}

/* =========================================================
   SLIDER
========================================================= */

.about-hero-slider {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;
}

/* =========================================================
   EACH SLIDE
========================================================= */

.about-hero-slide {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  opacity: 0;

  visibility: hidden;

  transition: opacity 1s ease-in-out;

  z-index: 1;
}

.about-hero-slide.active {
  opacity: 1;

  visibility: visible;

  z-index: 2;
}

/* =========================================================
   IMAGE
========================================================= */

.about-hero-slide img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}

/* =========================================================
   OVERLAY
========================================================= */

.about-hero-overlay {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  background: rgba(0, 0, 0, 0.15);

  z-index: 3;

  pointer-events: none;
}

/* =========================================================
   TITLE
========================================================= */

.about-hero-content {
  position: absolute;

  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  width: 100%;

  padding: 0 20px;

  text-align: center;

  z-index: 4;
}

.about-hero-content h1 {
  display: inline-block;

  margin: 0;
  padding: 8px 18px;

  background: rgba(0, 0, 0, 0.55);

  color: #ffffff;

  font-family: "Roboto", sans-serif;

  font-size: 38px;
  font-weight: 700;

  line-height: 1.25;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {
  .about-hero {
    height: 450px;
  }

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

@media (max-width: 480px) {
  .about-hero {
    height: 350px;
  }

  .about-hero-content h1 {
    font-size: 21px;
    padding: 6px 10px;
  }
}

/* =========================================================
   TITLE
========================================================= */

.about-hero-content {
  position: absolute;

  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  width: 100%;

  padding: 0 20px;

  text-align: center;

  z-index: 4;
}

.about-hero-content h1 {
  display: inline-block;

  margin: 0;
  padding: 8px 18px;

  background: rgba(0, 0, 0, 0.55);

  color: #ffffff;

  font-family: "Roboto", sans-serif;

  font-size: 38px;
  font-weight: 700;

  line-height: 1.25;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {
  .about-hero {
    height: 550px;
  }

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

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {
  .about-hero {
    height: 450px;
  }

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

/* =========================================================
   SMALL PHONE
========================================================= */

@media (max-width: 480px) {
  .about-hero {
    height: 350px;
  }

  .about-hero-content h1 {
    font-size: 21px;

    padding: 6px 10px;
  }
}

/* =========================================================
   OUR MISSION
========================================================= */

.mission-section {
  width: 100%;

  margin: 0;
  padding: 12px 20px 60px;

  background: #d3d3d3;
}

.mission-container {
  width: min(840px, 92%);

  margin: 0 auto;

  text-align: center;
}

.mission-container h2 {
  margin: 0;

  padding-bottom: 4px;

  color: #111111;

  font-family: "Roboto", sans-serif;

  font-size: 20px;
  font-weight: 700;

  line-height: 1.2;

  border-bottom: 1px solid #111111;
}

.mission-container p {
  margin: 6px 0 0;

  color: #111111;

  font-family: "Roboto", sans-serif;

  font-size: 18px;
  font-weight: 500;

  line-height: 1.4;
}

/* =========================================================
   FUTURE CTA
========================================================= */

.future-section {
  position: relative;

  width: 100%;
  height: 385px;

  overflow: hidden;
}

.future-background {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
  object-position: center;
}

.future-overlay {
  position: absolute;

  inset: 0;

  background: rgba(255, 255, 255, 0.18);

  z-index: 1;
}

.future-content {
  position: absolute;

  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  width: min(900px, 90%);

  text-align: center;

  z-index: 2;
}

.future-content h2 {
  margin: 0 0 5px;

  color: #1c04f7;

  font-family: "Roboto", sans-serif;

  font-size: 25px;
  font-weight: 700;

  line-height: 1.2;
}

.future-content p {
  margin: 0 auto;

  color: #000000;

  font-family: "Roboto", sans-serif;

  font-size: 16px;
  font-weight: 500;

  line-height: 1.5;

  max-width: 900px;
}

.apply-button {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  width: 100px;
  height: 40px;

  margin-top: 28px;

  background: #1456df;
  color: #ffffff;

  text-decoration: none;

  font-family: "Roboto", sans-serif;

  font-size: 14px;
  font-weight: 600;
}

.apply-button:hover {
  background: #0d46c4;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {
  .future-section {
    height: 340px;
  }

  .future-content h2 {
    font-size: 23px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {
  .mission-section {
    padding: 15px 20px 25px;
  }

  .mission-container h2 {
    font-size: 18px;
  }

  .mission-container p {
    font-size: 13px;
    line-height: 1.5;
  }

  .future-section {
    height: 280px;
  }

  .future-content {
    width: 92%;
  }

  .future-content h2 {
    font-size: 22px;
  }

  .future-content p {
    font-size: 13px;
    line-height: 1.4;
  }

  .apply-button {
    margin-top: 20px;
  }
}

/* =========================================================
   SMALL PHONE
========================================================= */

@media (max-width: 480px) {
  .future-section {
    height: 240px;
  }

  .future-content h2 {
    font-size: 18px;
  }

  .future-content p {
    font-size: 11px;
    line-height: 1.3;
  }

  .apply-button {
    width: 90px;
    height: 32px;
    font-size: 12px;
  }
}
/* =========================================================
   ABOUT INTRO SECTION
========================================================= */

.about-intro-section {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #ffffff;
}

/* =========================================================
   TOP HEADING STRIP
========================================================= */

.about-intro-heading {
  width: 100%;

  min-height: 138px;

  padding: 18px 20px 25px;

  background: #eee6d7;

  text-align: center;
}

.about-intro-heading h1 {
  margin: 0;

  color: #ed0b67;

  font-family: "Roboto", sans-serif;

  font-size: 31px;
  font-weight: 700;

  line-height: 1.2;
}

.about-intro-heading p {
  margin: 10px auto 0;

  max-width: 1100px;

  color: #18343b;

  font-family: "Roboto", sans-serif;

  font-size: 20px;
  font-weight: 700;

  line-height: 1.35;
}

/* =========================================================
   MAIN TWO-COLUMN AREA
========================================================= */

.about-intro-container {
  width: min(1140px, 92%);

  margin: 0 auto;

  padding: 12px 0 20px;

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 48px;

  align-items: center;
}

/* =========================================================
   IMAGE
========================================================= */

.about-intro-image {
  width: 100%;
}

.about-intro-image img {
  display: block;

  width: 100%;
  height: 345px;

  object-fit: cover;
  object-position: center;

  border: 4px solid #444444;
  border-radius: 17px;
}

/* =========================================================
   CONTENT
========================================================= */

.about-intro-content {
  width: 100%;

  padding: 0 10px;
}

.about-intro-content h2 {
  margin: 0 0 20px;

  color: #1124e7;

  font-family: "Roboto", sans-serif;

  font-size: 36px;
  font-weight: 700;

  line-height: 0.98;

  text-align: center;
}

.about-intro-content p {
  margin: 0;

  color: #111111;

  font-family: "Roboto", sans-serif;

  font-size: 14px;
  font-weight: 600;

  line-height: 1.8;
}

/* =========================================================
   BUTTONS
========================================================= */

.about-intro-buttons {
  margin-top: 30px;
}

.about-intro-buttons .action-button {
  background: #172ee5;
}

.about-intro-buttons .action-button:hover {
  background: #0c20c3;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {
  .about-intro-heading {
    min-height: 125px;
  }

  .about-intro-heading h1 {
    font-size: 28px;
  }

  .about-intro-heading p {
    font-size: 17px;
  }

  .about-intro-image img {
    height: 320px;
  }

  .about-intro-content h2 {
    font-size: 31px;
  }

  .about-intro-content p {
    font-size: 13px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {
  .about-intro-heading {
    min-height: auto;
    padding: 20px 15px 25px;
  }

  .about-intro-heading h1 {
    font-size: 25px;
  }

  .about-intro-heading p {
    font-size: 15px;
  }

  .about-intro-container {
    grid-template-columns: 1fr;
    row-gap: 25px;
  }

  .about-intro-image {
    order: 1;
  }

  .about-intro-content {
    order: 2;
  }

  .about-intro-image img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .about-intro-content h2 {
    font-size: 28px;

    line-height: 1.05;
  }

  .about-intro-content p {
    text-align: center;

    font-size: 13px;
  }

  /* Improved mobile spacing for action buttons */
  .about-intro-buttons {
    margin-top: 25px;
  }

  .about-intro-buttons .button-group {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .about-intro-buttons .action-button {
    width: 100%;
    max-width: 200px;
  }
}

/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 480px) {
  .about-intro-heading h1 {
    font-size: 22px;
  }

  .about-intro-heading p {
    font-size: 13px;
  }

  .about-intro-content h2 {
    font-size: 22px;
  }

  .about-intro-content p {
    font-size: 12px;
  }

  .about-intro-buttons .action-button {
    max-width: 180px;
    height: 38px;
    font-size: 13px;
  }
}

/* =========================================================
   WHO CAN APPLY
========================================================= */

.who-can-apply-section {
  width: 100%;
  margin: 0;
  padding: 25px 0 40px;
  background: #ffffff;
}

.who-can-apply-container {
  width: min(1140px, 92%);
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 45px;

  align-items: start;
}

/* =========================================================
   LEFT CONTENT
========================================================= */

.who-can-apply-content {
  padding-top: 10px;
}

.who-can-apply-content h2 {
  margin: 0 0 15px;

  color: #1738e8;

  font-family: "Roboto", sans-serif;

  font-size: 36px;
  font-weight: 700;

  line-height: 1.15;

  text-align: center;
}

.who-can-apply-content p {
  margin: 0;

  color: #111111;

  font-family: "Roboto", sans-serif;

  font-size: 14px;
  font-weight: 600;

  line-height: 1.8;

  text-align: left;
}

/* =========================================================
   BUTTONS
========================================================= */

.who-can-apply-buttons .action-button {
  background: #1260e8;
}

.who-can-apply-buttons .action-button:hover {
  background: #084fca;
}

/* =========================================================
   IMAGE
========================================================= */

.who-can-apply-image {
  width: 100%;
}

.who-can-apply-image img {
  display: block;

  width: 100%;
  max-width: 550px;
  height: 385px;

  object-fit: cover;
  object-position: center;

  border: 4px solid #333333;
  border-radius: 15px;

  margin-left: auto;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {
  .who-can-apply-content h2 {
    font-size: 31px;
  }

  .who-can-apply-content p {
    font-size: 13px;
  }

  .who-can-apply-image img {
    height: 330px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {
  .who-can-apply-container {
    grid-template-columns: 1fr;
    row-gap: 25px;
  }

  .who-can-apply-image {
    order: 1;
  }

  .who-can-apply-content {
    order: 2;
  }

  .who-can-apply-image img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .who-can-apply-content h2 {
    font-size: 29px;
  }

  .who-can-apply-content p {
    font-size: 13px;
    line-height: 1.7;
    text-align: center;
  }

  /* Improved mobile spacing for action buttons */
  .who-can-apply-buttons {
    margin-top: 25px;
  }

  .who-can-apply-buttons .button-group {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .who-can-apply-buttons .action-button {
    width: 100%;
    max-width: 200px;
  }

  /* Ports section mobile */
  .ports-content p {
    font-size: 12px;
    line-height: 1.6;
  }

  .ports-image img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  /* Salary benefits section mobile */
  .salary-benefits-image img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  /* Training certification section mobile */
  .training-certification-image img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  /* Career opportunities section mobile */
  .career-opportunities-image img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  /* General section improvements for mobile */
  .section-container {
    padding: 25px 0 30px;
  }

  .content-grid {
    gap: 25px;
  }

  /* Hero section mobile improvements */
  .about-hero {
    height: 400px;
  }

  .about-hero-content h1 {
    font-size: 24px;
    padding: 6px 12px;
  }

  /* All button groups mobile optimization */
  .button-group {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
  }

  .action-button {
    width: 100%;
    max-width: 200px;
  }
}

/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 480px) {
  .who-can-apply-content h2 {
    font-size: 22px;
  }

  .who-can-apply-content p {
    font-size: 12px;
  }

  .who-can-apply-buttons .action-button {
    max-width: 180px;
    height: 38px;
    font-size: 13px;
  }
}

/* =========================================================
   CAREER OPPORTUNITIES
========================================================= */

.career-opportunities-section {
  padding: 35px 0 40px;
}

.career-opportunities-content p {
  color: #333333;
  font-size: 16px;
  font-weight: 500;
}

.career-opportunities-image img {
  height: 370px;
}

/* =========================================================
   SALARY AND BENEFITS
========================================================= */

.salary-benefits-section {
  padding: 35px 0 40px;
}

.salary-benefits-content p {
  color: #222222;
}

.salary-benefits-image img {
  height: 365px;
}

/* =========================================================
   TRAINING AND CERTIFICATION
========================================================= */

.training-certification-section {
  padding: 40px 0 45px;
  position: relative;
  overflow: hidden;
}

.training-certification-content {
  padding: 0 5px;
}

.training-certification-image img {
  height: 370px;
}
/* =========================================================
   DOMESTIC AND INTERNATIONAL PORTS
========================================================= */

.ports-section {
  padding: 35px 0 40px;
}

.ports-content p {
  margin-bottom: 20px;
}

.ports-content strong {
  font-weight: 700;
}

/* =========================================================
   WHY CHOOSE US
========================================================= */

.why-choose-section {
  padding: 50px 0 35px;
}

.why-choose-container {
  align-items: start;
}

.why-choose-content {
  padding: 0 10px;
}

.why-choose-content h2 {
  margin-bottom: 20px;
}

.why-choose-content p {
  color: #222222;
}

.why-choose-buttons {
  margin-top: 42px;
}

.why-choose-buttons .action-button {
  width: 160px;
}

.why-choose-image img {
  height: 415px;
}

/* =========================================================
   BOTTOM NAVIGATION
========================================================= */

.why-choose-navigation {
  width: min(1140px, 92%);
  margin: 18px auto 0;
  padding-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.why-choose-navigation a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  height: 43px;
  padding: 0 15px;
  background: #0867e8;
  color: #ffffff;
  border: 2px solid #000000;
  border-radius: 10px;
  text-decoration: none;
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  font-weight: 700;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.why-choose-navigation a:hover {
  background: #0756c7;
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .why-choose-image img {
    height: 350px;
  }

  .why-choose-buttons .action-button {
    width: 145px;
  }
}

@media (max-width: 768px) {
  .why-choose-section {
    padding: 30px 0;
  }

  .why-choose-container {
    row-gap: 30px;
  }

  .why-choose-image {
    order: 1;
  }

  .why-choose-content {
    order: 2;
    padding: 0;
  }

  .why-choose-image img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .why-choose-navigation {
    margin-top: 35px;
    flex-direction: column;
    gap: 15px;
  }

  .why-choose-navigation a {
    width: 100%;
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .why-choose-buttons .action-button {
    width: 170px;
  }

  .why-choose-navigation a {
    min-width: 80px;
    height: 38px;
    font-size: 11px;
  }
}

/* =========================================================
   WHAT WE DO SECTION
========================================================= */

.what-we-do-section {
  width: 100%;
  margin: 0;
  padding: 10px 0 15px;
  background: #ffffff;
}

.what-we-do-container {
  width: min(1140px, 92%);
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 1fr;

  column-gap: 45px;

  align-items: start;
}

/* =========================================================
   LEFT IMAGE
========================================================= */

.what-we-do-image {
  width: 100%;
}

.what-we-do-image img {
  display: block;

  width: 100%;
  max-width: 550px;
  height: 340px;

  margin: 0 auto;

  object-fit: cover;
  object-position: center;

  border: 4px solid #333333;
  border-radius: 16px;
}

/* =========================================================
   RIGHT CONTENT
========================================================= */

.what-we-do-content {
  width: 100%;
  padding-top: 0;
}

.what-we-do-content h2 {
  margin: 0 0 20px;

  color: #222222;

  font-family: "Roboto", sans-serif;

  font-size: 38px;
  font-weight: 700;

  line-height: 1.1;

  text-align: left;
}

.what-we-do-content p {
  margin: 0;

  color: #222222;

  font-family: "Roboto", sans-serif;

  font-size: 14px;
  font-weight: 600;

  line-height: 1.8;

  text-align: left;

  max-width: 520px;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {
  .what-we-do-container {
    column-gap: 25px;
  }

  .what-we-do-image img {
    height: 315px;
  }

  .what-we-do-content h2 {
    font-size: 32px;
  }

  .what-we-do-content p {
    font-size: 13px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {
  .what-we-do-section {
    padding: 25px 0 30px;
  }

  .what-we-do-container {
    grid-template-columns: 1fr;
    row-gap: 25px;
  }

  .what-we-do-image {
    order: 1;
  }

  .what-we-do-content {
    order: 2;
  }

  .what-we-do-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .what-we-do-content h2 {
    font-size: 26px;
    text-align: center;
  }

  .what-we-do-content p {
    max-width: none;
    font-size: 13px;
    line-height: 1.7;
    text-align: center;
  }
}

/* =========================================================
   SMALL PHONE
========================================================= */

@media (max-width: 480px) {
  .what-we-do-content h2 {
    font-size: 22px;
  }

  .what-we-do-content p {
    font-size: 12px;
  }
}

  .what-we-do-content p {
    font-size: 12px;
  }

  .what-we-do-image img {
    border-width: 3px;
    border-radius: 12px;
  }
}
