
/* =========================================
   MAS AVIATION - CORPORATE AVIATION THEME
========================================= */

:root {
  --navy: #061632;
  --navy-light: #17365d;
  --red: #c71930;
  --silver: #bcc3ce;
  --white: #ffffff;
  --light: #f4f5f7;
  --text: #49566a;
  --border: #e2e7ee;
  --shadow: 0 18px 50px rgba(6, 22, 50, 0.07);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--white);
  color: var(--navy);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(1180px, 90%);
  margin-inline: auto;
}

.section {
  padding: 110px 0;
}

::selection {
  color: white;
  background: var(--red);
}


/* =========================================
   HEADER
========================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 88px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 8px 30px rgba(6, 22, 50, 0.07);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  width: 155px;
  max-height: 67px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 38px;
}

.nav-link,
.nav-pending {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.nav-link {
  position: relative;
  transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--red);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -9px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-pending {
  color: #8590a0;
  cursor: default;
}

.menu-toggle {
  display: none;
}


/* =========================================
   HERO
========================================= */

.hero {
  position: relative;
  min-height: min(720px, 85vh);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #f5f7fa;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.97) 0%,
    rgba(255,255,255,0.90) 27%,
    rgba(255,255,255,0.38) 53%,
    rgba(255,255,255,0.02) 84%
  );
}

.hero-content {
  position: relative;
  padding: 110px 0;
}

.hero-text {
  max-width: 650px;
}

.eyebrow {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 28px;
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(44px, 5.7vw, 82px);
  line-height: 1.07;
  letter-spacing: -2.8px;
  font-weight: 800;
  color: var(--navy);
}

.hero h1 span {
  display: block;
  color: var(--red);
}

.hero-button {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  margin-top: 38px;
  padding: 16px 24px;
  color: white;
  background: var(--navy);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.hero-button span {
  font-size: 21px;
}

.hero-button:hover {
  background: var(--red);
  transform: translateY(-3px);
}

.hero-bottom-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--navy),
    var(--red),
    transparent
  );
}


/* =========================================
   SECTION HEADINGS
========================================= */

.section-label {
  display: block;
  font-size: 11px;
  letter-spacing: 2.7px;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 17px;
}

.section-heading h2,
.purpose-card h2 {
  font-size: clamp(35px, 4vw, 53px);
  letter-spacing: -1.8px;
  line-height: 1.15;
  font-weight: 800;
}

.section-heading h2 span,
.purpose-card h2 span {
  color: var(--red);
}

.red-line {
  width: 55px;
  height: 3px;
  background: var(--red);
  margin-top: 23px;
}

.centered {
  text-align: center;
  margin-bottom: 60px;
}

.centered .red-line {
  margin-inline: auto;
}


/* =========================================
   ABOUT US
========================================= */

.about-section {
  background: var(--white);
}

.about-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}

.about-content {
  max-width: 800px;
}

.about-content p {
  font-size: 16px;
  line-height: 1.95;
  color: var(--text);
  margin-bottom: 24px;
}

.about-content p strong {
  color: var(--navy);
  font-weight: 750;
}

.about-content .about-highlight {
  border-left: 4px solid var(--red);
  padding: 22px 26px;
  background: var(--light);
  border-radius: 0 8px 8px 0;
  color: var(--navy);
  font-weight: 700;
  margin-top: 34px;
  margin-bottom: 0;
}


/* =========================================
   OUR PORTFOLIO
========================================= */

.portfolio-section {
  background: var(--light);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.portfolio-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.portfolio-card:hover {
  transform: translateY(-9px);
  box-shadow: 0 28px 60px rgba(6, 22, 50, 0.12);
  border-color: rgba(199, 25, 48, 0.25);
}

.portfolio-logo {
  height: 230px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 35px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.portfolio-logo img {
  width: 100%;
  max-width: 270px;
  max-height: 165px;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-logo img {
  transform: scale(1.06);
}

.portfolio-content {
  padding: 35px;
}

.portfolio-content h3 {
  font-size: 24px;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: -0.5px;
}

.card-line {
  width: 42px;
  height: 3px;
  background: var(--red);
  margin: 21px 0;
}

.portfolio-content p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.9;
}

.portfolio-content p strong {
  color: var(--navy);
}


/* =========================================
   OUR MISSION AND VISION
========================================= */

.mission-section {
  background: var(--white);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.purpose-card {
  position: relative;
  padding: 55px 45px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.purpose-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--navy);
}

.purpose-card:nth-child(2)::before {
  background: var(--red);
}

.purpose-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.purpose-number {
  position: absolute;
  top: 25px;
  right: 30px;
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  color: #f0f2f6;
  pointer-events: none;
}

.purpose-card .section-label,
.purpose-card h2,
.purpose-card .red-line,
.purpose-card p {
  position: relative;
  z-index: 1;
}

.purpose-card p {
  margin-top: 30px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.95;
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
  background: var(--light);
  border-top: 1px solid var(--border);
  padding: 38px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.footer-inner img {
  width: 130px;
  max-height: 60px;
  object-fit: contain;
}

.footer-inner p {
  color: var(--text);
  font-size: 12px;
}


/* =========================================
   SCROLL REVEAL ANIMATIONS
========================================= */

.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}

.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* =========================================
   TABLET AND MOBILE
========================================= */

@media (max-width: 900px) {

  .about-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .section {
    padding: 80px 0;
  }

  .portfolio-content {
    padding: 28px;
  }

  .purpose-card {
    padding: 45px 32px;
  }
}

@media (max-width: 700px) {

  .site-header {
    height: 75px;
  }

  .brand img {
    width: 125px;
    max-height: 55px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border: 0;
    background: none;
    padding: 10px;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    transition: transform 0.3s ease;
  }

  .nav {
    display: none;
    position: absolute;
    top: 75px;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 28px 5%;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .hero {
    min-height: 650px;
  }

  .hero-background {
    object-position: 65% center;
  }

  .hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(255,255,255,0.97),
      rgba(255,255,255,0.78)
    );
  }

  .hero-content {
    padding: 90px 0;
  }

  .hero h1 {
    font-size: clamp(43px, 10vw, 62px);
    letter-spacing: -1.7px;
  }

  .eyebrow {
    letter-spacing: 2px;
    font-size: 10px;
  }

  .portfolio-grid,
  .mission-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-logo {
    height: 200px;
  }

  .section-heading h2,
  .purpose-card h2 {
    font-size: 38px;
  }

  .about-content p,
  .purpose-card p {
    font-size: 15px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* =========================================
   FULL-WIDTH HEADER AND HERO ALIGNMENT
========================================= */

/* Move logo and navigation toward screen edges */
.site-header .header-inner {
  width: auto;
  max-width: none;
  margin-left: clamp(20px, 2vw, 36px);
  margin-right: clamp(20px, 2vw, 36px);
}

/* Move hero heading and button toward left edge */
.hero .hero-content {
  width: auto;
  max-width: none;
  margin-left: clamp(20px, 2vw, 36px);
  margin-right: clamp(20px, 2vw, 36px);
}

/* Keep navigation aligned to extreme right */
.site-header .nav {
  margin-left: auto;
  justify-content: flex-end;
}

/* Maintain clean spacing on mobile */
@media (max-width: 700px) {
  .site-header .header-inner,
  .hero .hero-content {
    margin-left: 20px;
    margin-right: 20px;
  }
}

/* =========================================
   MAS HERO - ANIMATED AVIATION BORDER
========================================= */

.hero-animated-border {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  overflow: hidden;
  border: 1px solid rgba(6, 22, 50, 0.15);
}

.hero-animated-border span {
  position: absolute;
  display: block;
  overflow: hidden;
}

/* Top and bottom tracks */
.border-top,
.border-bottom {
  left: 0;
  width: 100%;
  height: 3px;
}

.border-top {
  top: 0;
}

.border-bottom {
  bottom: 0;
}

/* Left and right tracks */
.border-left,
.border-right {
  top: 0;
  height: 100%;
  width: 3px;
}

.border-left {
  left: 0;
}

.border-right {
  right: 0;
}

/* Moving red highlights */
.hero-animated-border span::after {
  content: "";
  position: absolute;
  display: block;
  opacity: 0;
  background: linear-gradient(
    90deg,
    transparent,
    #c71930,
    #ff5268,
    #c71930,
    transparent
  );
}

/* Horizontal highlight */
.border-top::after,
.border-bottom::after {
  width: 25%;
  height: 100%;
}

/* Vertical highlight */
.border-left::after,
.border-right::after {
  width: 100%;
  height: 25%;
  background: linear-gradient(
    180deg,
    transparent,
    #c71930,
    #ff5268,
    #c71930,
    transparent
  );
}

/* Animate clockwise around hero */
.border-top::after {
  animation: mas-top 12s linear infinite;
}

.border-right::after {
  animation: mas-right 12s linear 3s infinite;
}

.border-bottom::after {
  animation: mas-bottom 12s linear 6s infinite;
}

.border-left::after {
  animation: mas-left 12s linear 9s infinite;
}

/* Top: left to right */
@keyframes mas-top {
  0% {
    transform: translateX(-100%);
    opacity: 1;
  }
  24.9% {
    transform: translateX(400%);
    opacity: 1;
  }
  25%, 100% {
    transform: translateX(400%);
    opacity: 0;
  }
}

/* Right: top to bottom */
@keyframes mas-right {
  0% {
    transform: translateY(-100%);
    opacity: 1;
  }
  24.9% {
    transform: translateY(400%);
    opacity: 1;
  }
  25%, 100% {
    transform: translateY(400%);
    opacity: 0;
  }
}

/* Bottom: right to left */
@keyframes mas-bottom {
  0% {
    transform: translateX(400%);
    opacity: 1;
  }
  24.9% {
    transform: translateX(-100%);
    opacity: 1;
  }
  25%, 100% {
    transform: translateX(-100%);
    opacity: 0;
  }
}

/* Left: bottom to top */
@keyframes mas-left {
  0% {
    transform: translateY(400%);
    opacity: 1;
  }
  24.9% {
    transform: translateY(-100%);
    opacity: 1;
  }
  25%, 100% {
    transform: translateY(-100%);
    opacity: 0;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .hero-animated-border span::after {
    animation: none;
  }
}

/* =========================================
   MAS AVIATION - OUR VALUED CLIENTS
========================================= */

.clients-section {
  padding: 100px 0 110px;
  background: #f4f5f7;
  border-top: 1px solid #e2e7ee;
}

/* SECTION HEADING */

.clients-heading {
  text-align: center;
  margin-bottom: 65px;
}

.clients-heading h2 {
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 800;
  color: #061632;
  letter-spacing: -1.5px;
  line-height: 1.2;
}

.clients-heading h2 span {
  color: #c71930;
}

.clients-heading .red-line {
  margin: 23px auto 0;
}

/* CLIENT LOGOS GRID */

.clients-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 30px 24px;
  align-items: center;
}

/* First row: four logos */

.client-logo {
  grid-column: span 3;
  min-width: 0;
  min-height: 135px;

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

  padding: 20px;
  border-radius: 12px;

  transition:
    transform 0.35s ease,
    background 0.35s ease;
}

/* Second row: three logos */

.client-logo:nth-child(n+5) {
  grid-column: span 4;
}

/* LOGO IMAGE */

.client-logo img {
  width: 100%;
  max-width: 245px;
  height: 90px;
  object-fit: contain;

  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

/* SUBTLE HOVER EFFECT */

.client-logo:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: translateY(-4px);
}

.client-logo:hover img {
  transform: scale(1.06);
}

/* TABLETS */

@media (max-width: 900px) {

  .clients-section {
    padding: 80px 0;
  }

  .clients-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .client-logo,
  .client-logo:nth-child(n+5) {
    grid-column: auto;
  }

  .client-logo:last-child {
    grid-column: 1 / -1;
  }
}

/* MOBILE */

@media (max-width: 600px) {

  .clients-section {
    padding: 65px 0;
  }

  .clients-heading {
    margin-bottom: 40px;
  }

  .clients-heading h2 {
    font-size: 35px;
  }

  .clients-grid {
    gap: 12px;
  }

  .client-logo {
    min-height: 105px;
    padding: 12px;
  }

  .client-logo img {
    height: 70px;
    max-width: 170px;
  }

  .client-logo:last-child {
    grid-column: 1 / -1;
  }
}

/* =========================================
   MAS AVIATION - NEW CORPORATE FOOTER
========================================= */

.site-footer {
  background: #061632;
  border-top: 3px solid #c71930;
  padding: 45px 20px;
}

.site-footer .footer-inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.site-footer .footer-brand {
  display: inline-flex;
  justify-content: center;
  align-items: center;

  background: #ffffff;
  padding: 14px 24px;
  border-radius: 10px;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.site-footer .footer-brand img {
  width: 150px;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.site-footer .footer-brand:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(199, 25, 48, 0.2);
}

@media (max-width: 600px) {
  .site-footer {
    padding: 35px 15px;
  }

  .site-footer .footer-brand img {
    width: 125px;
  }
}

/* =========================================
   MAS AVIATION - HOMEPAGE SOCIAL FOOTER
========================================= */

/* Center logo and social icons vertically */
.home-footer .footer-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 22px;
}

/* Social links container */
.home-social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

/* Individual social icons */
.home-social-links .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 46px;
  height: 46px;

  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);

  color: #ffffff;
  background: rgba(255,255,255,0.06);

  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* Hover effect */
.home-social-links .social-icon:hover {
  background: #c71930;
  border-color: #c71930;

  transform: translateY(-5px);

  box-shadow:
    0 8px 25px rgba(199,25,48,0.3);
}

.home-social-links .social-icon:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

/* Responsive mobile styling */
@media (max-width: 600px) {

  .home-footer .footer-inner {
    gap: 18px;
  }

  .home-social-links {
    gap: 15px;
  }

  .home-social-links .social-icon {
    width: 43px;
    height: 43px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-social-links .social-icon {
    transition: none;
  }
}

/* =========================================
   MAS AVIATION - HOMEPAGE SERVICES OVERVIEW
========================================= */

.home-services-section {
  padding: 110px 0;
  background: #f4f5f7;
  border-top: 1px solid #e2e7ee;
}

/* SECTION HEADING */

.home-services-heading {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 55px;
}

.home-services-heading h2 {
  font-size: clamp(38px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.8px;
  color: #061632;
}

.home-services-heading h2 span {
  color: #c71930;
}

.home-services-heading p {
  max-width: 610px;
  margin: 22px auto 0;
  font-size: 16px;
  line-height: 1.8;
  color: #586579;
}

.home-services-heading .red-line {
  margin: 25px auto 0;
}

/* THREE-COLUMN SERVICE GRID */

.home-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

/* INDIVIDUAL SERVICE CARD */

.home-service-card {
  position: relative;
  display: flex;
  flex-direction: column;

  min-width: 0;
  min-height: 240px;
  padding: 34px 30px 30px;

  background: #ffffff;
  border: 1px solid #e2e7ee;
  border-radius: 13px;

  color: #061632;
  text-decoration: none;
  overflow: hidden;

  box-shadow: 0 8px 30px rgba(6, 22, 50, 0.035);

  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

/* RED TOP BORDER ON HOVER */

.home-service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 3px;
  background: #c71930;

  transform: scaleX(0);
  transform-origin: left;

  transition: transform 0.4s ease;
}

.home-service-card:hover::before,
.home-service-card:focus-visible::before {
  transform: scaleX(1);
}

.home-service-card:hover {
  border-color: rgba(199, 25, 48, 0.3);

  box-shadow:
    0 18px 45px rgba(6, 22, 50, 0.09);

  background: #ffffff;
}

/* SERVICE NUMBER */

.home-service-number {
  display: block;
  margin-bottom: 24px;

  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 800;
  color: #c71930;
}

/* SERVICE TITLE */

.home-service-card h3,
.home-service-card h4 {
  max-width: 300px;

  font-size: 21px;
  line-height: 1.35;
  font-weight: 750;
  letter-spacing: -0.5px;

  color: #061632;

  transition: color 0.3s ease;
}

.home-service-card:hover h3,
.home-service-card:hover h4 {
  color: #c71930;
}

/* SERVICE DESCRIPTION */

.home-service-card p {
  margin-top: 14px;
  margin-bottom: 28px;

  font-size: 14px;
  line-height: 1.75;

  color: #647084;
}

/* ARROW */

.home-service-arrow {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 37px;
  height: 37px;

  margin-top: auto;
  margin-left: auto;

  border: 1px solid #e2e7ee;
  border-radius: 50%;

  background: #f4f5f7;
  color: #c71930;

  font-size: 20px;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.home-service-card:hover .home-service-arrow {
  background: #c71930;
  color: #ffffff;

  transform: rotate(45deg);
}

/* KEYBOARD ACCESSIBILITY */

.home-service-card:focus-visible,
.home-services-button:focus-visible {
  outline: 3px solid #c71930;
  outline-offset: 4px;
}

/* BOTTOM BUTTON */

.home-services-bottom {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.home-services-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;

  padding: 17px 28px;

  background: #061632;
  color: #ffffff;

  border-radius: 7px;

  font-size: 14px;
  font-weight: 750;
  text-decoration: none;

  transition:
    background 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.home-services-button:hover {
  background: #c71930;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(199, 25, 48, 0.2);
}

/* TABLET */

@media (max-width: 950px) {

  .home-services-section {
    padding: 80px 0;
  }

  .home-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .home-service-card {
    min-height: 225px;
    padding: 28px 25px;
  }
}

/* MOBILE */

@media (max-width: 600px) {

  .home-services-section {
    padding: 65px 0;
  }

  .home-services-heading {
    margin-bottom: 35px;
  }

  .home-services-heading h2 {
    font-size: 38px;
  }

  .home-services-heading p {
    font-size: 14px;
  }

  .home-services-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-service-card {
    min-height: 0;
    padding: 26px 23px;
  }

  .home-service-number {
    margin-bottom: 17px;
  }

  .home-service-card h3,
  .home-service-card h4 {
    font-size: 20px;
  }

  .home-service-card p {
    margin-bottom: 20px;
  }

  .home-services-bottom {
    margin-top: 35px;
  }

  .home-services-button {
    width: 100%;
    max-width: 320px;
  }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {

  .home-service-card,
  .home-service-card::before,
  .home-service-card h3,
  .home-service-card h4,
  .home-service-arrow,
  .home-services-button {
    transition: none;
  }
}


/* =========================================
   HOMEPAGE SERVICES - CATEGORY ORGANIZATION
   Shared cards retain existing design/hover styles
========================================= */

.home-service-category {
  min-width: 0;
  margin-bottom: 53px;
}

.home-service-category-heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px 22px;
  padding: 0 0 20px;
  margin-bottom: 22px;
  border-bottom: 1px solid #dce2eb;
}

.home-service-category-index {
  color: #c71930;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.9px;
  white-space: nowrap;
}

.home-service-category-heading h3 {
  margin: 0;
  color: #061632;
  font-size: clamp(23px, 2.5vw, 31px);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.8px;
}

.home-service-category-heading h3 span {
  color: #c71930;
}

/* Four operations cards use a balanced two-by-two layout */
.home-services-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Keep the final two single-service categories side by side */
.home-service-small-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.home-service-small-groups .home-service-category {
  margin-bottom: 0;
}

.home-service-small-groups .home-services-grid {
  grid-template-columns: minmax(0, 1fr);
}

.home-service-small-groups .home-service-card {
  height: 100%;
}

@media (max-width: 950px) {
  .home-service-category {
    margin-bottom: 42px;
  }
  .home-services-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .home-service-small-groups {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .home-service-small-groups .home-service-category-heading {
    margin-bottom: 16px;
  }
}

@media (max-width: 600px) {
  .home-service-category {
    margin-bottom: 38px;
  }
  .home-service-category-heading {
    gap: 5px;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 15px;
    margin-bottom: 16px;
  }
  .home-service-category-heading h3 {
    font-size: 25px;
  }
  .home-services-grid-two {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   MAS AVIATION - COMPACT CORPORATE FOOTER
========================================= */

.site-footer.footer-redesign {
  background: #061632;
  border-top: 3px solid #c71930;
  padding: 0 !important;
  margin: 0;
  min-height: 0;
  height: auto;
  color: #ffffff;
  box-sizing: border-box;
}

/* MAIN FOOTER ROW */

.footer-redesign .footer-redesign-inner {
  width: min(1200px, calc(100% - 48px));
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 0 14px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;

  min-height: 0;
  box-sizing: border-box;
}

/* LOGO + TAGLINE */

.footer-redesign .footer-brand-block {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.footer-redesign .footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  min-width: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.footer-redesign .footer-brand img {
  display: block;
  width: 125px;
  height: auto;
  max-width: 100%;
  padding: 5px;
  box-sizing: border-box;

  background: #ffffff;
  border-radius: 9px;
  object-fit: contain;
}

/* TAGLINE */

.footer-redesign .footer-tagline-block {
  border-left: 1px solid rgba(255,255,255,0.25);
  padding-left: 19px;
}

.footer-redesign .footer-tagline-block h3 {
  margin: 0;
  padding: 0;
  color: #ffffff;

  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.3px;
}

.footer-redesign .footer-tagline-block p {
  margin: 2px 0 0;
  padding: 0;

  color: #e31937;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.3;
}

/* RIGHT SIDE */

.footer-redesign .footer-right-block {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 23px;
  min-width: 0;
}

/* NAVIGATION */

.footer-redesign .footer-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.footer-redesign .footer-nav a {
  display: inline-flex;
  align-items: center;

  padding: 0 13px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;

  text-decoration: none;
  white-space: nowrap;

  border-right: 1px solid rgba(255,255,255,0.25);

  transition: color 0.25s ease;
}

.footer-redesign .footer-nav a:first-child {
  padding-left: 0;
}

.footer-redesign .footer-nav a:last-child {
  border-right: none;
  padding-right: 0;
}

.footer-redesign .footer-nav a:hover {
  color: #e31937;
}

/* SOCIAL ICONS */

.footer-redesign .footer-social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  padding-left: 20px;
  border-left: 1px solid rgba(255,255,255,0.25);
}

/* EQUAL-SIZED SOCIAL CIRCLES */

.footer-redesign .footer-social-links .social-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 36px !important;
  height: 36px !important;

  min-width: 36px !important;
  max-width: 36px !important;

  min-height: 36px !important;
  max-height: 36px !important;

  flex: 0 0 36px !important;

  margin: 0 !important;
  padding: 0 !important;

  box-sizing: border-box !important;

  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50% !important;

  background: rgba(255,255,255,0.04);
  color: #ffffff;

  text-decoration: none;
  box-shadow: none;

  transform: none;
  transition:
    background 0.25s ease,
    border-color 0.25s ease;
}

.footer-redesign .footer-social-links .social-icon:hover {
  background: #c71930;
  border-color: #c71930;
}

.footer-redesign .footer-social-links .social-icon svg {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 0;
  background: transparent;
}

/* DIVIDER LINE */

.footer-redesign .footer-bottom-line {
  width: min(1200px, calc(100% - 48px));
  height: 1px;
  margin: 0 auto;
  background: rgba(255,255,255,0.22);
}

/* COPYRIGHT */

.footer-redesign .footer-copyright {
  padding: 10px 20px 12px;
  text-align: center;
}

.footer-redesign .footer-copyright p {
  margin: 0;
  color: rgba(255,255,255,0.78);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
}

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

@media (max-width: 1050px) {

  .footer-redesign .footer-redesign-inner {
    flex-direction: column;
    gap: 19px;
    padding: 22px 0 18px;
  }

  .footer-redesign .footer-right-block {
    justify-content: center;
  }
}

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

@media (max-width: 600px) {

  .footer-redesign .footer-redesign-inner {
    width: calc(100% - 32px);
    gap: 22px;
    padding: 24px 0 18px;
  }

  .footer-redesign .footer-brand-block {
    gap: 13px;
  }

  .footer-redesign .footer-brand img {
    width: 110px;
  }

  .footer-redesign .footer-tagline-block {
    padding-left: 13px;
  }

  .footer-redesign .footer-tagline-block h3 {
    font-size: 13px;
  }

  .footer-redesign .footer-tagline-block p {
    font-size: 12px;
  }

  .footer-redesign .footer-right-block {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }

  .footer-redesign .footer-nav {
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 12px;
  }

  .footer-redesign .footer-nav a {
    padding: 0 10px;
    font-size: 12px;
  }

  .footer-redesign .footer-social-links {
    padding-left: 0;
    border-left: none;
    gap: 12px;
  }

  .footer-redesign .footer-bottom-line {
    width: calc(100% - 32px);
  }

  .footer-redesign .footer-copyright p {
    font-size: 10px;
  }
}

/* KEYBOARD ACCESSIBILITY */

.footer-redesign a:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
  .footer-redesign a {
    transition: none !important;
  }
}

/* =========================================
   MAS AVIATION - COMPANY PROFILE SECTION
========================================= */

.company-profile-card {
  display: grid;
  grid-template-columns: 45% 55%;
  max-width: 1180px;
  min-height: 440px;
  margin: 45px auto 0;

  background: #ffffff;
  border: 1px solid #e2e7ee;
  border-radius: 18px;
  overflow: hidden;

  box-shadow: 0 20px 60px rgba(6, 22, 50, 0.08);
}

/* LEFT SIDE - CORPORATE VISUAL */

.company-profile-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 45px;
  overflow: hidden;

  background: linear-gradient(
    145deg,
    #061632 0%,
    #102b52 100%
  );
}

/* DECORATIVE CIRCLE */

.profile-visual-decoration {
  position: absolute;
  width: 420px;
  height: 420px;

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;

  top: -170px;
  right: -170px;
}

.profile-visual-decoration::after {
  content: "";
  position: absolute;

  width: 300px;
  height: 300px;
  top: 60px;
  left: 60px;

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

/* DOCUMENT PREVIEW */

.profile-document {
  position: relative;
  z-index: 1;

  width: min(100%, 290px);
  min-height: 350px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  padding: 28px;

  background: #ffffff;
  border-radius: 8px;

  box-shadow: 18px 22px 45px rgba(0, 0, 0, 0.25);

  transform: rotate(-3deg);

  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease;
}

.company-profile-card:hover .profile-document {
  transform: rotate(0deg) translateY(-7px);

  box-shadow: 20px 30px 55px rgba(0, 0, 0, 0.3);
}

/* DOCUMENT LOGO */

.profile-logo {
  display: block;
  width: 160px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin-bottom: 38px;
}

/* DOCUMENT LABEL */

.profile-document-label {
  color: #c71930;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

/* DOCUMENT HEADING */

.profile-document h3 {
  margin: 0;
  color: #061632;

  font-size: 27px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
}

.profile-document h3 span {
  display: block;
  color: #c71930;
}

/* DOCUMENT FOOTER */

.profile-document-footer {
  width: 100%;
  margin-top: auto;
  padding-top: 16px;

  border-top: 2px solid #c71930;

  color: #061632;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}

/* =========================================
   RIGHT SIDE - PROFILE INFORMATION
========================================= */

.company-profile-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;

  min-width: 0;
  padding: 55px 55px;
}

/* EYEBROW */

.profile-eyebrow {
  margin-bottom: 17px;

  color: #c71930;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}

/* HEADING */

.company-profile-content h3 {
  margin: 0;
  max-width: 520px;

  color: #061632;

  font-size: clamp(28px, 3vw, 39px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
}

.company-profile-content h3 span {
  display: block;
  color: #c71930;
}

/* DESCRIPTION */

.company-profile-content > p {
  margin: 22px 0 25px;

  max-width: 500px;

  color: #586579;
  font-size: 15px;
  line-height: 1.85;
}

/* PDF FILE INFORMATION */

.profile-file-info {
  display: flex;
  align-items: center;
  gap: 13px;

  margin-bottom: 30px;
}

.profile-file-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 47px;
  height: 47px;

  border-radius: 10px;
  background: #fff0f2;

  color: #c71930;
  font-size: 13px;
  font-weight: 800;
}

.profile-file-info strong {
  display: block;
  color: #061632;
  font-size: 14px;
  font-weight: 700;
}

.profile-file-info small {
  display: block;
  margin-top: 4px;

  color: #8995a5;
  font-size: 12px;
}

/* =========================================
   DOWNLOAD BUTTON
========================================= */

.profile-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;

  padding: 16px 25px;

  border-radius: 9px;
  background: #c71930;
  color: #ffffff;

  font-size: 14px;
  font-weight: 700;
  text-decoration: none;

  transition:
    background 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.profile-download-btn:hover {
  background: #061632;
  color: #ffffff;

  transform: translateY(-3px);

  box-shadow: 0 12px 28px rgba(6, 22, 50, 0.2);
}

.profile-download-btn svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.profile-download-btn:hover svg {
  transform: translateY(3px);
}

.profile-download-btn:focus-visible {
  outline: 3px solid #061632;
  outline-offset: 4px;
}

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

@media (max-width: 950px) {

  .company-profile-card {
    grid-template-columns: 42% 58%;
    min-height: 0;
  }

  .company-profile-visual {
    padding: 35px 20px;
  }

  .company-profile-content {
    padding: 40px 30px;
  }

  .profile-document {
    min-height: 320px;
    padding: 23px;
  }

  .profile-logo {
    width: 135px;
  }

  .profile-document h3 {
    font-size: 24px;
  }
}

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

@media (max-width: 650px) {

  .company-profile-card {
    grid-template-columns: 1fr;
    margin-top: 30px;
    border-radius: 14px;
  }

  .company-profile-visual {
    min-height: 330px;
    padding: 28px 22px;
  }

  .profile-document {
    width: 215px;
    min-height: 275px;
    padding: 20px;
    transform: rotate(-2deg);
  }

  .profile-logo {
    width: 120px;
    margin-bottom: 26px;
  }

  .profile-document h3 {
    font-size: 21px;
  }

  .company-profile-content {
    padding: 32px 24px 36px;
  }

  .company-profile-content h3 {
    font-size: 29px;
  }

  .company-profile-content > p {
    font-size: 14px;
    margin: 18px 0 23px;
  }

  .profile-download-btn {
    width: 100%;
    padding: 17px 16px;
    font-size: 13px;
  }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
  .profile-document,
  .profile-download-btn,
  .profile-download-btn svg {
    transition: none;
  }
}

/* =========================================
   MAS AVIATION - CLIENT LOGO GRID FIX
========================================= */

/* FOUR LOGOS PER ROW ON DESKTOP */

@media (min-width: 951px) {

  #clients .clients-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px 24px;
    align-items: center;
  }

  /* REMOVE ANY SPECIAL POSITIONING */
  #clients .clients-grid > .client-logo {
    grid-column: auto !important;
    grid-row: auto !important;
    min-width: 0;
  }

}

/* ENLARGE MALAYSIA AIRLINES LOGO */

#clients .clients-grid > .client-logo:nth-child(8) {
  overflow: visible;
}

#clients .clients-grid > .client-logo:nth-child(8) img {
  transform: scale(2.6);
  transform-origin: center;
}

/* KEEP THE LOGO CENTERED */

#clients .clients-grid > .client-logo:nth-child(8) {
  display: flex;
  align-items: center;
  justify-content: center;
}


/* =========================================
   MAS AVIATION - FLOATING CLIENT LOGOS
========================================= */

/* GENTLE CONTINUOUS FLOATING */

#clients .client-logo {
  animation: masClientFloat 5.5s ease-in-out infinite;
}

/* DIFFERENT TIMING FOR EACH LOGO */

#clients .client-logo:nth-child(1) {
  animation-delay: 0s;
}

#clients .client-logo:nth-child(2) {
  animation-delay: -1.1s;
}

#clients .client-logo:nth-child(3) {
  animation-delay: -2.3s;
}

#clients .client-logo:nth-child(4) {
  animation-delay: -3.5s;
}

#clients .client-logo:nth-child(5) {
  animation-delay: -4.7s;
}

#clients .client-logo:nth-child(6) {
  animation-delay: -1.8s;
}

#clients .client-logo:nth-child(7) {
  animation-delay: -3.1s;
}

#clients .client-logo:nth-child(8) {
  animation-delay: -4.2s;
}

/* FLOATING MOVEMENT */

@keyframes masClientFloat {

  0%, 100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -9px;
  }

}

/* PAUSE FLOATING ON HOVER */

#clients .client-logo:hover {
  animation-play-state: paused;
}

/* SMOOTH LOGO HOVER ENLARGEMENT */

#clients .client-logo img {
  transition: scale 0.35s ease;
}

#clients .client-logo:hover img {
  scale: 1.07;
}

/* SMALLER MOVEMENT ON MOBILE */

@media (max-width: 600px) {

  @keyframes masClientFloat {

    0%, 100% {
      translate: 0 0;
    }

    50% {
      translate: 0 -5px;
    }

  }

}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {

  #clients .client-logo {
    animation: none;
    translate: none;
  }

  #clients .client-logo img {
    transition: none;
  }

}

/* =========================================
   MAS AVIATION - MOBILE CLIENT GRID FIX
========================================= */

@media (max-width: 950px) {

  #clients .clients-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row;
    align-items: center;
    gap: 35px 20px;
  }

  /* RESET OLD SEVENTH-LOGO POSITIONING */

  #clients .clients-grid > .client-logo:nth-child(7),
  #clients .clients-grid > .client-logo:nth-child(8) {
    grid-column: auto !important;
    grid-row: auto !important;
    justify-self: center;
  }

}

/* =========================================
   MAS AVIATION - FLOATING CONTACT MENU
========================================= */

/* FLOATING CONTAINER */

.mas-contact-fab {
  position: fixed;
  bottom: 26px;
  right: 26px;

  width: 60px;
  height: 60px;

  z-index: 9999;
  overflow: visible;
}

/* MAIN CONTACT BUTTON */

.mas-fab-toggle {
  position: relative;
  z-index: 2;

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

  width: 60px;
  height: 60px;

  padding: 0;
  border: none;
  border-radius: 50%;

  background: #c71930;
  color: #ffffff;

  cursor: pointer;

  box-shadow: 0 8px 26px rgba(6, 22, 50, 0.25);

  transition:
    background 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.mas-fab-toggle:hover {
  background: #061632;
  transform: scale(1.06);
  box-shadow: 0 12px 30px rgba(6, 22, 50, 0.3);
}

.mas-fab-toggle svg {
  width: 25px;
  height: 25px;
}

/* CONTACT OPTIONS CONTAINER */

.mas-fab-options {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* SMALL CIRCULAR BUTTONS */

.mas-fab-option {
  position: absolute;
  right: 5px;
  bottom: 5px;

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

  width: 50px;
  height: 50px;

  border-radius: 50%;
  text-decoration: none;

  opacity: 0;
  visibility: hidden;

  transform: translate(0, 0) scale(0.35);

  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s ease,
    visibility 0.3s ease,
    background 0.3s ease;

  box-shadow: 0 6px 22px rgba(6, 22, 50, 0.2);
}

.mas-fab-option svg {
  width: 23px;
  height: 23px;
}

/* WHATSAPP */

.mas-fab-whatsapp {
  background: #25d366;
  color: #ffffff;

  --fab-x: 0px;
  --fab-y: -78px;
}

.mas-fab-whatsapp:hover {
  background: #1ca856;
}

/* EMAIL */

.mas-fab-email {
  background: #ffffff;
  color: #061632;

  border: 1px solid #dce2eb;

  --fab-x: -70px;
  --fab-y: -54px;
}

.mas-fab-email:hover {
  background: #edf1f7;
}

/* OPENED STATE */

.mas-contact-fab.is-open .mas-fab-options {
  pointer-events: auto;
}

.mas-contact-fab.is-open .mas-fab-option {
  opacity: 1;
  visibility: visible;

  transform:
    translate(var(--fab-x), var(--fab-y))
    scale(1);
}

/* STAGGERED OPENING */

.mas-fab-whatsapp {
  transition-delay: 0s;
}

.mas-contact-fab.is-open .mas-fab-whatsapp {
  transition-delay: 0.04s;
}

.mas-contact-fab.is-open .mas-fab-email {
  transition-delay: 0.12s;
}

/* HOVER ENLARGEMENT */

.mas-contact-fab.is-open .mas-fab-option:hover {
  transform:
    translate(var(--fab-x), var(--fab-y))
    scale(1.1);
}

/* ACCESSIBILITY */

.mas-contact-fab a:focus-visible,
.mas-contact-fab button:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

/* MOBILE */

@media (max-width: 600px) {

  .mas-contact-fab {
    right: 18px;
    bottom: calc(18px + env(safe-area-inset-bottom));
  }

  .mas-fab-toggle {
    width: 56px;
    height: 56px;
  }

  .mas-fab-option {
    width: 46px;
    height: 46px;
  }

}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
  .mas-fab-toggle,
  .mas-fab-option {
    transition: none;
  }
}

/* =========================================
   MAS AVIATION — AUTOMATIC DESTINATIONS RUNWAY
========================================= */

.mas-destinations {
  position: relative;
  padding: 105px 0 90px;
  background: #f4f5f7;
  overflow: hidden;
}

/* SECTION HEADING */

.mas-destinations-heading {
  text-align: center;
  margin-bottom: 55px;
}

.mas-destinations-heading h2 {
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.2;
  color: #061632;
}

.mas-destinations-heading h2 span {
  color: #c71930;
}

.mas-destinations-heading p {
  max-width: 600px;
  margin: 19px auto 0;
  color: #49566a;
  font-size: 15px;
  line-height: 1.8;
}

.mas-destinations-heading .red-line {
  margin: 24px auto 0;
}

/* SLIDING AREA */

.mas-destinations-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 22px 0 30px;

  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    black 8%,
    black 92%,
    transparent
  );

  mask-image: linear-gradient(
    90deg,
    transparent,
    black 8%,
    black 92%,
    transparent
  );
}

/* MOVING TRACK */

.mas-destinations-track {
  display: flex;
  width: max-content;
  align-items: stretch;
  will-change: transform;
}

.mas-destinations-group {
  display: flex;
  align-items: stretch;
  gap: 22px;
  padding-right: 22px;
  flex: 0 0 auto;
}

/* DESTINATION CARD */

.mas-destination-card {
  position: relative;
  flex: 0 0 250px;

  min-height: 188px;
  padding: 28px 25px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 22px;

  background: #ffffff;
  border: 1px solid #e2e7ee;
  border-radius: 15px;

  box-shadow: 0 10px 30px rgba(6,22,50,0.045);

  overflow: hidden;

  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

/* RED HOVER ACCENT */

.mas-destination-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #c71930;

  transform: scaleX(0);
  transform-origin: left;

  transition: transform 0.4s ease;
}

.mas-destination-card:hover::before {
  transform: scaleX(1);
}

/* COUNTRY FLAG */

.mas-destination-card img {
  width: 72px;
  height: 50px;
  object-fit: contain;

  filter: drop-shadow(
    0 5px 8px rgba(6,22,50,0.12)
  );

  transition: transform 0.4s ease;
}

/* COUNTRY NAME */

.mas-destination-card h3 {
  margin: 0;
  color: #061632;

  font-size: 19px;
  font-weight: 750;
  line-height: 1.3;
  text-align: center;
}

/* CARD HOVER EFFECT */

.mas-destination-card:hover {
  transform: translateY(-8px);
  border-color: rgba(199,25,48,0.35);

  box-shadow:
    0 20px 42px rgba(6,22,50,0.12);
}

.mas-destination-card:hover img {
  transform: scale(1.12);
}

/* AUTOMATIC SCROLL ANIMATION */
/* Activated after the track is duplicated */

.mas-destinations-marquee.is-ready
.mas-destinations-track {
  animation: masDestinationsMove 46s linear infinite;
}

@keyframes masDestinationsMove {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* PAUSE WHEN HOVERING */

.mas-destinations-marquee:hover
.mas-destinations-track {
  animation-play-state: paused;
}

/* RUNWAY ACCENT */

.mas-destinations-runway {
  position: relative;
  width: min(1120px, 88%);
  height: 2px;
  margin: 24px auto 0;

  background: #d9dfe8;
  overflow: hidden;
}

.mas-destinations-runway span {
  position: absolute;
  top: 0;
  left: 0;

  width: 110px;
  height: 100%;

  background: #c71930;

  animation: masRunwayPulse 5s linear infinite;
}

@keyframes masRunwayPulse {
  from {
    transform: translateX(-120px);
  }

  to {
    transform: translateX(1150px);
  }
}

/* TABLET */

@media (max-width: 900px) {
  .mas-destinations {
    padding: 80px 0 70px;
  }

  .mas-destinations-group {
    gap: 16px;
    padding-right: 16px;
  }

  .mas-destination-card {
    flex-basis: 220px;
    min-height: 165px;
  }
}

/* MOBILE */

@media (max-width: 600px) {
  .mas-destinations {
    padding: 70px 0 60px;
  }

  .mas-destinations-heading {
    margin-bottom: 35px;
  }

  .mas-destinations-heading h2 {
    font-size: 35px;
  }

  .mas-destinations-heading p {
    font-size: 14px;
  }

  .mas-destination-card {
    flex-basis: 185px;
    min-height: 150px;
    padding: 20px;
    gap: 15px;
  }

  .mas-destination-card img {
    width: 62px;
    height: 43px;
  }

  .mas-destination-card h3 {
    font-size: 16px;
  }

  .mas-destinations-marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
  .mas-destinations-track,
  .mas-destinations-runway span {
    animation: none !important;
  }

  .mas-destination-card,
  .mas-destination-card img {
    transition: none;
  }

  .mas-destinations-marquee {
    overflow-x: auto;
  }
}

/* =========================================
   MAS AVIATION — CORPORATE CAPABILITIES
========================================= */

.mas-capabilities-section {
  padding: 105px 0 115px;
  background: #f4f5f7;
}

/* SECTION HEADING */

.mas-capabilities-heading {
  max-width: 760px;
  margin: 0 auto 55px;
  text-align: center;
}

.mas-capabilities-heading h2 {
  margin: 0;
  color: #061632;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1.5px;
}

.mas-capabilities-heading h2 span {
  color: #c71930;
}

.mas-capabilities-heading p {
  max-width: 620px;
  margin: 20px auto 0;
  color: #49566a;
  font-size: 16px;
  line-height: 1.85;
}

.mas-capabilities-heading .red-line {
  margin: 24px auto 0;
}

/* CORPORATE PROFILE CARD */

.mas-capabilities-card {
  display: grid;
  grid-template-columns: 36% minmax(0, 1fr);

  overflow: hidden;
  border: 1px solid #e2e7ee;
  border-radius: 18px;
  background: #ffffff;

  box-shadow: 0 18px 55px rgba(6, 22, 50, 0.07);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.mas-capabilities-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 65px rgba(6, 22, 50, 0.11);
}

/* LEFT DOCUMENT PANEL */

.mas-capabilities-visual {
  position: relative;
  min-height: 375px;
  padding: 40px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;

  overflow: hidden;
  background: #061632;
}

/* SUBTLE TECHNICAL GRID */

.mas-capabilities-visual::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(
      rgba(255,255,255,0.035) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255,255,255,0.035) 1px,
      transparent 1px
    );

  background-size: 35px 35px;
  pointer-events: none;
}

/* RED VERTICAL ACCENT */

.mas-capabilities-visual::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #c71930;
}

/* DOCUMENT SYMBOL */

.mas-profile-document-icon {
  position: relative;
  z-index: 1;

  width: 155px;
  height: 195px;

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

  background: #ffffff;
  border-radius: 10px 28px 10px 10px;

  box-shadow: 0 20px 45px rgba(0,0,0,0.18);

  transform: rotate(-3deg);

  transition: transform 0.45s ease;
}

.mas-capabilities-card:hover
.mas-profile-document-icon {
  transform: rotate(0deg) translateY(-7px);
}

.mas-pdf-symbol {
  color: #061632;
  font-size: 45px;
  font-weight: 800;
  letter-spacing: -2px;
}

.mas-document-accent {
  position: absolute;
  bottom: 23px;
  width: 65px;
  height: 4px;
  background: #c71930;
}

.mas-document-type {
  position: relative;
  z-index: 1;

  color: rgba(255,255,255,0.8);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-align: center;
}

/* RIGHT CONTENT AREA */

.mas-capabilities-content {
  min-width: 0;
  padding: 55px 60px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.mas-capabilities-eyebrow {
  margin-bottom: 17px;
  color: #c71930;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.3px;
}

.mas-capabilities-content h3 {
  margin: 0;
  color: #061632;
  font-size: clamp(30px, 3vw, 43px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1.2px;
}

.mas-capabilities-content h3 span {
  display: block;
  color: #c71930;
}

.mas-capabilities-content > p {
  max-width: 570px;
  margin: 22px 0 28px;
  color: #49566a;
  font-size: 15px;
  line-height: 1.9;
}

/* FILE INFORMATION */

.mas-profile-file-details {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;

  width: 100%;
  padding: 17px 0;

  border-top: 1px solid #e2e7ee;
  border-bottom: 1px solid #e2e7ee;

  color: #49566a;
  font-size: 12px;
  font-weight: 600;
}

.mas-file-indicator {
  width: 9px;
  height: 9px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #c71930;
}

.mas-file-format {
  margin-left: auto;
  padding: 5px 9px;

  border-radius: 5px;
  background: #f4f5f7;

  color: #c71930;
  font-size: 10px;
  font-weight: 800;
}

/* ACTION BUTTONS */

.mas-capabilities-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;

  margin-top: 30px;
}

.mas-profile-view-btn,
.mas-profile-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;

  min-height: 53px;
  padding: 15px 21px;

  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

/* VIEW BUTTON */

.mas-profile-view-btn {
  border: 1px solid #061632;
  background: #061632;
  color: #ffffff;
}

.mas-profile-view-btn:hover {
  background: #c71930;
  border-color: #c71930;
  transform: translateY(-3px);
}

/* DOWNLOAD BUTTON */

.mas-profile-download-btn {
  border: 1px solid #e2e7ee;
  background: #ffffff;
  color: #061632;
}

.mas-profile-download-btn:hover {
  border-color: #c71930;
  color: #c71930;
  transform: translateY(-3px);
}

/* =========================================
   CORPORATE PROFILE PDF MODAL
========================================= */

.mas-profile-dialog {
  width: min(1050px, calc(100% - 32px));
  max-width: 1050px;
  max-height: calc(100dvh - 32px);

  margin: auto;
  padding: 0;

  border: none;
  border-radius: 16px;

  background: #ffffff;
  color: #061632;

  box-shadow: 0 30px 90px rgba(0,0,0,0.3);
  overflow: hidden;
}

.mas-profile-dialog::backdrop {
  background: rgba(3, 12, 28, 0.82);
  backdrop-filter: blur(7px);
}

.mas-profile-modal {
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 32px);
}

/* MODAL HEADER */

.mas-profile-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  padding: 23px 30px;
  background: #061632;
  color: #ffffff;
}

.mas-modal-eyebrow {
  display: block;
  margin-bottom: 6px;
  color: #e68c98;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}

.mas-profile-modal-header h2 {
  margin: 0;
  color: #ffffff;
  font-size: 23px;
  font-weight: 750;
}

.mas-profile-close {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

  width: 42px;
  height: 42px;

  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;

  background: rgba(255,255,255,0.08);
  color: #ffffff;

  font-size: 29px;
  cursor: pointer;

  transition: background 0.25s ease;
}

.mas-profile-close:hover {
  background: #c71930;
}

/* PDF DISPLAY AREA */

.mas-profile-preview-area {
  flex: 1;
  min-height: 0;
  height: 65dvh;

  background: #e9edf2;
}

.mas-profile-preview-area iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
}

/* MODAL FOOTER */

.mas-profile-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  padding: 17px 30px;
  background: #ffffff;
  border-top: 1px solid #e2e7ee;

  color: #49566a;
  font-size: 12px;
  font-weight: 600;
}

.mas-profile-modal-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.mas-profile-modal-actions a {
  color: #061632;
  font-weight: 750;
  transition: color 0.25s ease;
}

.mas-profile-modal-actions a:hover {
  color: #c71930;
}

/* ACCESSIBILITY */

.mas-profile-view-btn:focus-visible,
.mas-profile-download-btn:focus-visible,
.mas-profile-close:focus-visible,
.mas-profile-modal-actions a:focus-visible {
  outline: 3px solid #c71930;
  outline-offset: 4px;
}

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

@media (max-width: 900px) {

  .mas-capabilities-card {
    grid-template-columns: 34% minmax(0, 1fr);
  }

  .mas-capabilities-content {
    padding: 38px;
  }

  .mas-capabilities-visual {
    padding: 25px;
  }
}

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

@media (max-width: 650px) {

  .mas-capabilities-section {
    padding: 70px 0 75px;
  }

  .mas-capabilities-heading {
    margin-bottom: 35px;
  }

  .mas-capabilities-heading h2 {
    font-size: 35px;
  }

  .mas-capabilities-heading p {
    font-size: 14px;
  }

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

  .mas-capabilities-visual {
    min-height: 240px;
    padding: 30px;
    gap: 20px;
  }

  .mas-profile-document-icon {
    width: 105px;
    height: 135px;
    border-radius: 8px 23px 8px 8px;
  }

  .mas-pdf-symbol {
    font-size: 33px;
  }

  .mas-document-accent {
    bottom: 15px;
    width: 45px;
  }

  .mas-capabilities-content {
    padding: 32px 24px;
  }

  .mas-capabilities-content h3 {
    font-size: 32px;
  }

  .mas-capabilities-content > p {
    font-size: 14px;
  }

  .mas-capabilities-actions {
    width: 100%;
  }

  .mas-profile-view-btn,
  .mas-profile-download-btn {
    width: 100%;
    justify-content: space-between;
  }

  .mas-profile-modal-header {
    padding: 17px 18px;
  }

  .mas-profile-modal-header h2 {
    font-size: 19px;
  }

  .mas-modal-eyebrow {
    font-size: 9px;
    letter-spacing: 1px;
  }

  .mas-profile-preview-area {
    height: 60dvh;
    min-height: 0;
  }

  .mas-profile-modal-footer {
    padding: 15px 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {

  .mas-capabilities-card,
  .mas-profile-document-icon,
  .mas-profile-view-btn,
  .mas-profile-download-btn {
    transition: none;
  }
}

/* =========================================
   MAS AVIATION — LARGE PDF PREVIEW FIX
========================================= */

/* Make the popup occupy most of the screen */

.mas-profile-dialog {
  width: min(1300px, calc(100% - 32px));
  max-width: 1300px;

  height: 92vh;
  height: 92dvh;

  max-height: 92dvh;
}

/* Stretch the modal to the full popup height */

.mas-profile-modal {
  display: flex;
  flex-direction: column;

  height: 100%;
  max-height: none;
}

/* Keep header and footer at their natural heights */

.mas-profile-modal-header,
.mas-profile-modal-footer {
  flex: 0 0 auto;
}

/* Give all remaining space to the PDF viewer */

.mas-profile-preview-area {
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
  overflow: hidden;
}

/* PDF fills the entire viewing area */

.mas-profile-preview-area iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
}

/* MOBILE FULL-SCREEN PREVIEW */

@media (max-width: 650px) {

  .mas-profile-dialog {
    width: calc(100% - 12px);
    max-width: none;

    height: 96dvh;
    max-height: 96dvh;

    border-radius: 12px;
  }

  .mas-profile-modal {
    height: 100%;
    max-height: none;
  }

  .mas-profile-preview-area {
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
  }
}

/* =========================================
   MAS AVIATION — COMPACT PDF VIEWER
========================================= */

.mas-profile-dialog {
  width: min(900px, calc(100vw - 32px));
  max-width: 900px;

  height: 90dvh;
  max-height: 90dvh;

  margin: auto;
  border-radius: 14px;
}

.mas-profile-modal {
  height: 100%;
  max-height: none;
  display: flex;
  flex-direction: column;
}

.mas-profile-modal-header,
.mas-profile-modal-footer {
  flex-shrink: 0;
}

.mas-profile-preview-area {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  overflow: hidden;
  background: #333333;
}

.mas-profile-preview-area iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* MOBILE */

@media (max-width: 650px) {
  .mas-profile-dialog {
    width: calc(100vw - 12px);
    max-width: none;
    height: 95dvh;
    max-height: 95dvh;
  }
}

/* =========================================
   MAS AVIATION — ABOUT US BENTO GRID
========================================= */

.about-content .mas-about-bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin-top: 35px;
}

/* BENTO CARD */

.mas-about-bento-card {
  position: relative;
  grid-column: span 3;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  min-width: 0;
  min-height: 215px;
  padding: 30px;

  background: #ffffff;
  border: 1px solid #e2e7ee;
  border-radius: 14px;
  overflow: hidden;

  box-shadow: 0 10px 30px rgba(6, 22, 50, 0.045);

  transition:
    transform 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

/* ASYMMETRIC SECOND ROW */

.mas-about-bento-card:nth-child(3) {
  grid-column: span 2;
}

.mas-about-bento-card:nth-child(4) {
  grid-column: span 4;
}

/* RED TOP ACCENT */

.mas-about-bento-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 3px;

  background: #c71930;

  transform: scaleX(0);
  transform-origin: left;

  transition: transform 0.35s ease;
}

.mas-about-bento-card:hover::before {
  transform: scaleX(1);
}

/* CAPABILITY NUMBER */

.mas-bento-number {
  display: block;
  margin-bottom: 25px;

  color: #c71930;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

/* CARD HEADING */

.mas-about-bento-card h3 {
  margin: 0 0 12px;

  color: #061632;
  font-size: 20px;
  font-weight: 750;
  line-height: 1.35;

  transition: color 0.3s ease;
}

/* DESCRIPTION */

.about-content .mas-about-bento-card p {
  margin: 0;

  color: #49566a;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.75;

  transition: color 0.3s ease;
}

/* FIRST CARD — FEATURED NAVY */

.mas-about-bento-card:first-child {
  background: #061632;
  border-color: #061632;
}

.mas-about-bento-card:first-child h3 {
  color: #ffffff;
}

.about-content .mas-about-bento-card:first-child p {
  color: #dce5ee;
}

/* HOVER ANIMATION */

.mas-about-bento-card:hover {
  transform: translateY(-6px);
  background: #061632;
  border-color: #061632;

  box-shadow: 0 20px 45px rgba(6, 22, 50, 0.15);
}

.mas-about-bento-card:hover h3 {
  color: #ffffff;
}

.about-content .mas-about-bento-card:hover p {
  color: #dce5ee;
}

/* TABLET */

@media (max-width: 1100px) {
  .mas-about-bento-card,
  .mas-about-bento-card:nth-child(3),
  .mas-about-bento-card:nth-child(4) {
    grid-column: span 3;
  }
}

/* MOBILE */

@media (max-width: 650px) {
  .about-content .mas-about-bento {
    grid-template-columns: 1fr;
    gap: 13px;
    margin-top: 28px;
  }

  .mas-about-bento-card,
  .mas-about-bento-card:nth-child(3),
  .mas-about-bento-card:nth-child(4) {
    grid-column: 1;
    min-height: 175px;
    padding: 24px;
  }

  .mas-bento-number {
    margin-bottom: 20px;
  }

  .mas-about-bento-card h3 {
    font-size: 19px;
  }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
  .mas-about-bento-card,
  .mas-about-bento-card::before,
  .mas-about-bento-card h3,
  .mas-about-bento-card p {
    transition: none;
  }
}

/* =========================================
   MAS AVIATION — LEGAL FOOTER NAVIGATION
========================================= */

/* Allow legal navigation to occupy its own row */

.footer-redesign .footer-right-block {
  flex-wrap: wrap;
}

/* LEGAL LINKS CONTAINER */

.footer-legal-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;

  flex: 0 0 100%;
  width: 100%;

  gap: 12px 22px;
  margin-top: 14px;
  padding-top: 18px;

  border-top: 1px solid rgba(255,255,255,0.14);
}

/* INDIVIDUAL LINKS */

.footer-legal-links a {
  color: #bcc3ce;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.2px;

  text-decoration: none;

  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

/* HOVER */

.footer-legal-links a:hover {
  color: #c71930;
  transform: translateY(-2px);
}

/* KEYBOARD ACCESSIBILITY */

.footer-legal-links a:focus-visible {
  color: #ffffff;
  outline: 2px solid #c71930;
  outline-offset: 5px;
  border-radius: 2px;
}

/* TABLET AND MOBILE */

@media (max-width: 900px) {

  .footer-legal-links {
    justify-content: center;
    text-align: center;
    gap: 12px 18px;
  }

}

@media (max-width: 600px) {

  .footer-legal-links {
    margin-top: 10px;
    padding-top: 18px;
    gap: 12px 16px;
  }

  .footer-legal-links a {
    font-size: 10px;
  }

}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {

  .footer-legal-links a {
    transition: none;
  }

}

/* =========================================
   MAS AVIATION — CORPORATE FOOTER DETAILS
========================================= */

.site-footer.footer-redesign .footer-copyright {
  width: 100%;
  padding: 28px 20px 10px;
  text-align: center;
}

.site-footer.footer-redesign .footer-copyright p {
  max-width: 850px;
  margin: 0 auto 9px;

  color: #bcc3ce;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.85;

  overflow-wrap: break-word;
}

/* COMPANY NAME */

.site-footer.footer-redesign .footer-copyright p:first-child {
  margin-bottom: 11px;

  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* CORPORATE IDENTIFICATION NUMBER */

.site-footer.footer-redesign .footer-copyright p:nth-child(2) {
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* REGISTERED OFFICE */

.site-footer.footer-redesign .footer-copyright p:nth-child(3) {
  max-width: 720px;
  color: #cbd3df;
}

/* COPYRIGHT */

.site-footer.footer-redesign .footer-copyright p:last-child {
  margin-top: 22px;
  margin-bottom: 0;
  padding-top: 18px;

  border-top: 1px solid rgba(255,255,255,0.12);

  color: #98a6bc;
  font-size: 11px;
}

/* MOBILE */

@media (max-width: 650px) {

  .site-footer.footer-redesign .footer-copyright {
    padding: 25px 12px 8px;
  }

  .site-footer.footer-redesign .footer-copyright p {
    font-size: 11px;
    line-height: 1.8;
  }

  .site-footer.footer-redesign
  .footer-copyright p:first-child {
    font-size: 13px;
  }

  .site-footer.footer-redesign
  .footer-copyright p:nth-child(2) {
    font-size: 11px;
    letter-spacing: 0;
  }

}

/* ==========================================
   MAS AVIATION — THREE AIRLINE CLIENT LOGOS
========================================== */

/* Center the three-logo grid */

div:has(> .client-logo) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  justify-items: center;

  max-width: 1200px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;

  gap: 35px;
}

/* Center individual logos */

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  min-width: 0;
  min-height: 150px;
  overflow: visible;
}

.client-logo img {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: contain;
}

/* FLYNAS */

.client-logo img[src$="flynas.png"] {
  max-width: 245px;
}

/* ETHIOPIAN AIRLINES */

.client-logo img[src$="ethiopian-airlines.png"] {
  max-width: 265px;
}

/* MALAYSIA AIRLINES */

.client-logo img[src$="malaysia-airlines.png"] {
  max-width: 280px;
  transform: scale(1.55);
  transform-origin: center;
}

/* MOBILE */

@media (max-width: 700px) {

}

/* ==========================================
   MAS AVIATION — FINAL CLIENTS SECTION
========================================== */

.clients-section {
  height: auto;
  min-height: 0;
  padding: 55px 0 65px;
}

/* CENTER THE MAIN CONTAINER */

.clients-section > .container {
  display: block;
  box-sizing: border-box;

  width: 94%;
  max-width: 1360px;

  margin-left: auto;
  margin-right: auto;
}

/* SECTION HEADING */

.clients-section .clients-heading {
  width: 100%;
  margin: 0 auto 25px;
  text-align: center;
}

/* THREE-COLUMN LOGO GRID */

.clients-section .clients-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  width: 100%;
  max-width: none;

  margin: 0 auto;
  padding: 0;

  gap: 25px;
  align-items: center;
  justify-items: center;
}

/* LOGO CONTAINERS */

.clients-section .client-logo {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  min-height: 110px;
  padding: 0;
}

/* TABLET */

@media (max-width: 900px) {
  .clients-section .clients-grid {
    gap: 15px;
  }
}

/* MOBILE */

@media (max-width: 600px) {
  .clients-section {
    padding: 45px 0 55px;
  }

  .clients-section > .container {
    width: 90%;
  }

  .clients-section .clients-heading {
    margin-bottom: 22px;
  }

  .clients-section .clients-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .clients-section .client-logo {
    min-height: 100px;
  }
}
