/* === BASE TYPOGRAPHY === */
html {
  font-size: 16px;
}

html, body {
  position: relative;
  z-index: 0;
}

body {
  font-family: Arial, sans-serif;
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

tbody td {
  padding: 8px;
}

h1, h2, h3, h4, h5, h6 {
  all: unset;
  display: block;
}


.desk-std-base {
  font-size: 1.15rem;
  line-height: 1.6;
}

.desk-index-main-flex {
  display: flex;
  width: 100%;
  position: relative;
  z-index: 2;
}

.main-bleed-left,
.main-bleed-right {
  flex: 1;
  background-image: url('/assets/index-bleed-slice.png');
  background-repeat: repeat-x;
  background-size: auto;
  background-position: top center;
  margin-top: 146px;
  z-index: 1;
  position: relative;
}

.bleed-right-patch {
  position: absolute;
  top: 355px;
  height: auto;
  width: auto; /* Or set a fixed width if needed */
  z-index: 5;  /* Higher than the bleed, lower than anything interactive */
  pointer-events: none; /* Avoids interfering with clicks if it's decorative */
}

.desktop-bottom-bleed {
  height: 80px; /* Adjust as needed */
  background: linear-gradient(to bottom, #C2C2CA 0%, transparent 100%);
  margin-top: -4px;
}

.main-content-core {
  flex-shrink: 0;
  width: 1365px;
  max-width: 100%;
  /*padding: 60px 20px;*/
  z-index: 2;
  position: relative;
  background: none;
}

.desk-hero-image-wrapper {
  position: relative;
  max-width: 1365px; /* optional: constrain image width */
  min-width: 1365px;
  margin: 0 auto;
  z-index: 1;
}

.desk-hero-bg-img {
  width: 100%;
  height: auto;
  display: block;
}

.desk-hero-tagline-wrap {
  position: absolute;
  top: 15px; /* adjust vertical position */
  left: 55%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
  z-index: 2;
  background: transparent;
  opacity: 0;
  animation: fadeInTagline 1.2s ease-out 0.4s forwards;
}

@keyframes fadeInTagline {
  to {
    opacity: 1;
  }
}

.desk-hero-tagline {
  font-size: 3rem;
  line-height: 1.1;
  font-weight: 700;
  color: #ffffff;
  -webkit-text-stroke: 1.5px #2A4570;
  text-shadow:
    1px 1px 4px rgba(0, 0, 0, 0.4),
    0 0 2px rgba(0, 0, 0, 0.3);
  font-family: Arial, Helvetica, sans-serif;
  margin: 0 auto;
  max-width: 90%;
}

.desk-index-hero-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.desk-index-hero-bg {
  width: 1365px;
  height: auto;
  display: block;
}

.desk-index-services {
  position: absolute;
  top: 67%; 
  left: 34%;
  width: 100%;
  max-width: 875px;
  height: 255px;
  z-index: 2;
  /*border: 1px solid red; DEBUG*/
  padding-top: 5px;
}

.desk-index-service {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 5px;
}


.desk-index-thumb {
  width: 150px;
  height: auto;
  margin-right: 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.desk-index-text {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 0;
  min-width: 0; /* <-- This one is crucial */
  /*border: 1px solid green; DEBUG*/
  line-height: 0.7;
  padding: 20px 0 0 0;
  margin-right: 0;
}

.desk-index-text a {
  text-decoration: none;
}


.desk-index-headline {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  -webkit-text-stroke: 2.5px #2A4570;
  text-shadow:
    1px 1px 4px rgba(0, 0, 0, 0.4),
    0 0 2px rgba(0, 0, 0, 0.3);
  font-family: Arial, Helvetica, sans-serif;
  margin-bottom: -5px;
}

.desk-index-description {
  font-size: 1.6rem;
  color: #2A4570;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.desk-index-services-row {
  display: flex;
  justify-content: space-between;
  /*border: 1px solid orange; DEBUG*/
  height: 100%;

}

.desk-index-service-column {
  display: flex;
  flex-direction: column;
  flex: 0 0 79%;
}

.desk-index-cta {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  /*border: 1px solid yellow; DEBUG*/
  height: 100%;
  width: 175px;
}

.desk-index-quote-img {
  max-width: 170px;
  height: auto;
}

.plaque-heading {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #4a4a4a, #7a7a7a, #2a2a2a);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow:
    1px 1px 0 #111,
    2px 2px 4px rgba(0, 0, 0, 0.6),
    -1px -1px 0 #ccc;
  margin: 20px auto 10px auto;
}

.desk-quote-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

@keyframes subtle-background-shimmer {
  0% {
    background-position: -200%;
  }
  10% {
    background-position: 200%;
  }
  100% {
    background-position: 200%;
  }
}

.desk-quote-top-call-box {
  position: relative;
  text-align: center;
  border: 4px solid #3535f4;
  border-radius: 15px;
  padding: 25px 20px 20px 0px;
  background-color: #fdfdfd;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.05);
width: 40vw;

  background-image: linear-gradient(
    120deg,
    #fdfdfd 0%,
    #fdfdfd 40%,
    #e8f0ff 50%,
    #fdfdfd 60%,
    #fdfdfd 100%
  );
  background-size: 200% 100%;
  animation: subtle-background-shimmer 10s ease-in-out infinite;
}


.desk-quote-top-call-box h1 {
  margin-top: 0;
  font-size: 2rem;
}

.desk-quote-top-call-box h2 {
  margin: 5px 0 0 0;
  font-size: 1.8rem;
}

.desk-quote-top-call-box p {
  margin: 2px 0 10px 0;
}

.desk-quote-top-call-box ul {
  padding-left: 40px;
  margin-top: 5px;
  margin-bottom: 0;
  text-align: left;
  line-height: 1.6;
  font-size: 1.4rem;
}

.desk-quote-bottom-row {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.desk-quote-box {
  border: 1px solid #ccc;
  border-radius: 15px;
  background-color: #fdfdfd;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.05);
  padding: 10px;
  text-align: center;
  min-width: 400px;
  flex: 1 1 300px;
}

.desk-quote-box h1 {
  margin: 4px 0 10px 0;
  font-size: 1.7rem;
}

.desk-quote-box h2 {
  margin: 5px 0 12px 0;
  font-size: 1.5rem;
}

@keyframes shimmerBadge {
  0% {
    background-position: -200%;
  }
  50% {
    background-position: 200%;
  }
  100% {
    background-position: 200%;
  }
}

@keyframes shimmerBadge {
  0% {
    background-position: -200%;
  }
  15% {
    background-position: 200%;
  }
  100% {
    background-position: 200%;
  }
}

.desk-quote-top-badge {
  position: absolute;
  left: 20px;
  top: 20px;
  background-color: #007bff;
  color: #ffffff;
  font-size: 1.5em;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 10px;

  /* Shimmer setup */
  background-image: linear-gradient(
    120deg,
    #007bff 0%,
    #33a1ff 50%,
    #007bff 100%
  );
  background-size: 200% 100%;
  background-repeat: no-repeat;

  /* Animate once every 10s */
  animation: shimmerBadge 10s ease-in-out infinite;
}


.desk-about-heading {
  font-size: 2.5rem;
  font-weight: 600;
  background-color: #e0e0e0;
  color: #2c2c2c;
  padding: 16px 24px;
  border-radius: 0; /* No rounding for full-width look */
  box-shadow:
    inset 0 1px 3px rgba(255,255,255,0.6),
    inset 0 -1px 3px rgba(0,0,0,0.1),
    0 2px 5px rgba(0, 0, 0, 0.2);
  letter-spacing: 1px;
  text-align: left; /* or center if preferred */
}


.desk-about-backgroundstory {
  vertical-align: top; 
  padding-right: 10px; 
  width: 25%; 
  font-size: 1.25rem;
  line-height: 1.6;
}


.desk-past-deliv-thumb {
  width: 125px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.desk-past-deliv-thumb:hover {
  transform: scale(1.05);
}

.desk-past-deliv-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.desk-past-deliv-content {
  max-width: 90vw;
  max-height: 90vh;
  text-align: center;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
}

.desk-past-deliv-content img {
  max-width: 100%;
  max-height: 80vh;         /* ← prevents vertical overflow */
  height: auto;
  margin-bottom: 10px;
  object-fit: contain;      /* ← smooths Safari behavior */
}


.desk-past-deliv-content p {
  font-size: 1rem;
  color: #333;
}

#desk-past-deliv-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}



  .desk-pilot-directory-pilotname {
    display: block;
    padding: 6px 18px;
    width: fit-content;
    margin: 10px auto 0 auto;
    font-size: 1.4rem;
    font-weight: bold;
    color: #fff8dc; /* Light engraved text color */
    background: linear-gradient(to bottom, #8b5a2b, #5c3317); /* wood gradient */
    border-radius: 8px;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.3),
                inset 0 -2px 4px rgba(0, 0, 0, 0.4),
                0 2px 5px rgba(0, 0, 0, 0.3);
    text-align: center;
    letter-spacing: 0.5px;
  }

/* === DESKTOP PAST DELIVERIES === */
.img-wrap {
  position: relative;
  display: inline-block;
  overflow: visible;
  text-align: left;
  z-index: 1;
}

.img-wrap a {
  display: block;
  overflow: visible;
}
.thumbnail {
  width: 100%;
  max-width: 150px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  margin-bottom: 5px;
  transition: transform 0.3s ease;
  transform-origin: center center;
}
.caption {
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  padding: 6px 8px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.8rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.img-wrap:hover {
  z-index: 10;
}
.img-wrap:hover .thumbnail {
  transform: scale(2.5);
}
.img-wrap:hover .caption {
  opacity: 1;
}

.all-borders th,
.all-borders td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: center;
  vertical-align: middle;
  word-wrap: break-word;
}
.all-borders td:nth-child(11),
.all-borders th:nth-child(11) {
  text-align: left;
  padding-left: 10px;
}

/* === DESKTOP TOOLTIPS === */
.tooltip-custom {
  position: relative;
  border-bottom: 1px dashed #666;
  cursor: help;
}
.tooltip-custom::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 6px 8px;
  border-radius: 4px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  z-index: 999;
  opacity: 0;
  white-space: pre-line;
  pointer-events: none;
  transition: opacity 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.tooltip-custom:hover::after {
  opacity: 1;
}

.tooltip-parent {
  position: relative;
  cursor: help;
  border-bottom: 1px dashed #666;
}

.tooltip-box {
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  background-color: #333;
  color: #fff;
  padding: 6px 8px;
  border-radius: 4px;
  font-size: 1.2rem;
  font-family: Arial, sans-serif;
  white-space: pre-line;
  z-index: 999;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    width: max-content;         /* ✅ allow to grow */
  max-width: 300px;           /* ✅ cap if needed */
  word-break: break-word; 
}

.tooltip-parent:hover .tooltip-box {
  display: block;
}

.desk-pilot-dir-country-bar {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  margin: 0 auto 10px auto;
}

.desk-pilot-dir-pilot-license {
  width: 80px;
  height: auto;
  display: block;
  max-width: 100%;
  margin: 0 auto 10px auto;
}

.desk-pilot-dir-atp-cfi {
  width: 170px;
  height: auto;
  display: block;
  max-width: 100%;
  margin: 0 auto 10px auto;
}

.desk-pilot-dir-cfi {
  width: 80px;
  height: auto;
  display: block;
  max-width: 100%;
  margin: 0 auto 10px auto;
}

/* === DESKTOP PAGE TITLE & TAGLINE === */
.page-title-brick {
  background-color: #2c2c2c;
  color: #ffffff;
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  padding: 12px 25px;
  margin: 0 auto 20px auto;
  display: block;
  width: fit-content;
  border-radius: 6px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}


.page-tagline {
  text-align: center;
  font-size: 0.8rem;
  color: #555;
  margin: -10px 20px 10px 20px;
  font-style: italic;
  letter-spacing: 0.3px;
}

/* === DESKTOP HEADER === */
.fixed-header {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 999;
}
.fixed-header header {
  width: 1365px;
  min-width: 1365px;
  max-width: 1365px;
  z-index: 2;
}
.header-bleed-left,
.header-bleed-right {
  flex: 1;
  background-color: rgba(236, 244, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  height: auto;
  z-index: 1;
  border-bottom: 1px solid #2A4570;
}

.static-header {
  position: relative;
}

.header-link {
  position: absolute;
  display: block;
  z-index: 10;
  pointer-events: auto;
  -webkit-transform: translateZ(0); /* Safari fix */
  transform: translateZ(0);
  text-decoration: none;
}



.pilot-directory-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 50px 20px 20px 20px;
}

.pilot-tile {
  background: #ffffff;
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 16px;
  width: 280px;
  box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  box-sizing: border-box;
}

.desk-pilot-headshot {
  width: 70%;
  height: auto;
  margin: 0 auto 10px auto;
  display: block;
}

.desk-pilot-directory-pilotname {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.desk-pilot-directory-pilotbio {
  text-align: left;
  font-size: 1.15rem;
  line-height: 1.6;
  padding-left: 20px;
  margin: 0;
}

.gallery-img-cell {
  border-top: 1px solid gray;
  border-left: 1px solid gray;
  border-right: 1px solid gray;
  border-bottom: none;
  width: 50%;
  vertical-align: bottom;
}

.desk-pilot-directory-typepix {
  display: block;
  width: 200px; 
  height: auto;
}

.desk-pilot-directory-typewrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 50px;
  padding: 20px 20px 20px 20px;
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}


.desk-pilot-directory-typewrapper > div {
  display: flex;
  align-items: flex-end; /* 👈 ensures image is also bottom-aligned inside */
}

/* === DESKTOP ACCORDION === */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  font-size: 1.2rem;
  padding: 0 40px 15px 30px;
}
.accordion-header {
  background-color: #007bff;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  font-size: 1.4rem;
  cursor: pointer;
  width: 60%;
  text-align: center;
  box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
  margin: 0 auto 15px auto;
}
.accordion-header:hover {
  background-color: #0056b3;
}
.accordion-header .chevron {
  font-size: 1.2rem;
  margin-left: 10px;
  transition: transform 0.3s ease;
}
.accordion-header.active .chevron {
  transform: rotate(180deg);
}


.desk-statbox-title {
  font-size: 1.8rem;
  font-weight: 600;
  justify-content: center;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #2A4570;
  margin: 30px 0 10px 0;
}

.logbook-icon {
  width: 100px;
  height: auto;
}

/* Existing container */
.desk-statbox-logbook {
  display: table;
  border-collapse: collapse;
  margin: 20px auto;
  background-color: #BEEACF;
  border: 2px solid black;
  font-family: 'Segoe Script', 'Lucida Handwriting', cursive, Arial, sans-serif;
  font-size: 1.4rem;

  text-align: center;
}

.desk-statbox-logbook a {
    text-decoration: none;
}

/* Default rows */
.logbook-row {
  display: table-row;
}

/* Default cells */
.logbook-cell {
  display: table-cell;
  border: 2px solid black;
  padding: 12px 16px;
  font-weight: 500;
}

/* Second row values */
.stat-value {
  font-size: 1.8rem;
  font-weight: 800;
}

/* 🔥 Override the first row's font style */
.desk-statbox-logbook .logbook-row:first-child .logbook-cell {
  font-family: Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.desk-statbox-logbook .logbook-row:first-child .logbook-cell a {
  text-decoration: none;
}



/* === DESKTOP-PILOT HIRING === */
.newspaper-section {
  width: 90vw;
  margin: 0 auto;
  text-align: left;
}
.newspaper-img {
  float: right;
  width: 400px;
  max-width: 40%;
  height: auto;
  margin-left: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.15);
}
.newspaper-section ul,
.newspaper-section ol {
  padding-left: 40px;
  margin-top: 0;
  font-size: 1.2rem;
}
.newspaper-section p {
  font-size: 1.5rem;
  margin-top: 1.2em;
}

/* === DESKTOP-HIDE / MOBILE-SHOW === */
.mobile-header {
  display: none;
}
.desktop-only {
  display: block;
}

/* === MOBILE MEDIA QUERIES === */
@media screen and (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }

html, body {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  box-sizing: border-box !important;
}


  html, body {
    overflow-x: hidden !important;
  }

.mobile-services-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fdfaf5;
  padding-top: 20px;
}

.service-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 400px;
  margin: 0 auto 10px auto;
}

.mob-index-service-name {
  color: #4a6fdc;               /* Calm blue */
  text-align: center;
  font-weight: 600;
  margin: 10px auto 0 auto;
  display: block;
  width: 100%;
  font-size: 2rem;

}

.service-block a {
  text-decoration: none;
  color: inherit; /* Optional: makes sure the link text doesn't turn blue */
}


.mob-index-service-img {
  width: 75vw !important;
  height: auto;
  padding: 10px 0;
}

.shimmer-wrapper {
  text-align: center;
  margin-top: 0;
  padding-top: 0;
}

.shimmer-text {
  font-size: 2rem;
  font-weight: 800;
  position: relative;
  display: inline-block;
  background: linear-gradient(
    to right,
    #7186d6 0%,
    #aabaf2 50%,
    #7186d6 100%
  );
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: shimmer 7s linear infinite;
  margin: 0 auto;
}

@keyframes shimmer {
  0% {
    background-position: 200% center;
  }
  28.5% {
    background-position: -200% center;
  }
  100% {
    background-position: -200% center;
  }
}

.mob-quote-btn-wrapper {
  display: flex;
  justify-content: center;
  margin: 15px 0 30px 0;
}

  .mob-page-title-brick {
  background-color: #2c2c2c;
  color: #ffffff;
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  padding: 12px 25px;
  margin: 18px auto 15px auto;
  display: block;
  width: fit-content;
  border-radius: 6px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.mob-about-zoomblock,
.mob-about-figure-newspaper-left,
.img-wrap {
  overflow: visible !important;
}

#brick-toobig {
  font-size: 1.6rem;
  padding: 12px 10px 12px 10px;
}

  .img-wrap:hover .thumbnail {
    transform: none !important;
  }

  .fixed-header {
    display: none !important;
  }

  .service-block {
  display: flex;
  justify-content: center;
}

  /* === MOBILE HEADER === */
.mobile-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(222, 228, 244, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid gray;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  z-index: 9999;
}

.mobile-header-slot-left {
  flex: 1 1 0;
  min-width: 0;
  align-items: center;
  display: flex;
  justify-content: center;
}

.mobile-header-slot-right {
  flex: 1 1 0;
  min-width: 0;
  align-items: center;
  display: flex;
  justify-content: center;
}

.mobile-logo {
  flex: 0 0 160px;
  text-align: center; 
  padding-top: 5px;
}

#mobile-logo-img {
 width: 160px;
 
}

#phone-icon {
  height: 36px;
  margin: 0 auto;
  display: block;
}

#hamburger-icon {
  height: 30px;
  margin: 0 auto;
  display: block;
}

.mobile-header,
.mobile-header-slot-left,
.mobile-header-slot-right,
.mobile-logo {
  box-sizing: border-box;
}

#phone-icon,
#hamburger-icon {
  max-height: 100%;
}

/* === Mobile Menu Panel === */
  .mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(228, 239, 243, 0.90);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    padding: 20px 0;
    z-index: 9998;
    border-radius: 0 0 12px 12px;
  }

  .mobile-menu.show {
    display: flex;
    animation: slideDown 0.3s ease forwards;
  }

  .mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    align-items: center;
  }

  .mobile-menu nav a {
    color: #222;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    padding: 12px 16px;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  }

  .mobile-menu nav a:hover {
    background: rgba(0, 0, 0, 0.05);
  }

  .mobile-menu nav a:active {
    background: rgba(0, 0, 0, 0.1);
  }


/* MOBILE ABOUT NEWSPAPER*/

/* === RESTORED CSS FOR MOBILE /ABOUT IMAGE ZOOM (last known good state) === */

.mob-about-newspaper-left {
  overflow: hidden; /* contains the float */
  margin-bottom: 20px;
  width: 96%;
  margin: 0 auto;
}

.mob-about-newspaper-left p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-top: 0;
}

.mob-about-newspaper-left-img {
  float: left;
  width: 40%; /* adjust as needed */
  max-width: 150px;
  margin-right: 20px;
  margin-bottom: 7px;
  border-radius: 6px;
  transform: translateZ(0); /* FIXES SNAPPING */
}

.mob-about-figure-newspaper-left {
  overflow: hidden; /* contains the float */
  padding-bottom: 20px;
  width: 96%;
  margin: 0 auto;
}

.mob-about-figure {
  float: left;
  width: auto;
  text-align: left;
  max-width: 200px;
  margin: 0 12px 5px 0;
  border-radius: 6px;
  transform: translateZ(0); /* helps avoid snapping */
}

.mob-about-figure img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
}

.mob-about-figure figcaption {
  font-size: 1.05rem;
  line-height: 1.3;
  margin-top: 4px;
  color: #555;
  text-align: center;
}

.mob-about-figure-text {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-top: 0;
}

/* === Zoom Functionality === */

.mob-about-zoomblock {
  position: relative;
  z-index: 0;
}

.img-wrap {
  position: relative;
  float: left;
  margin-right: 12px;
  margin-bottom: 8px;
  max-width: 200px;
  z-index: 1;
}

.zoom-inner {
  transition: transform 0.3s ease;
}

.mob-about-thumb {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.img-wrap.active .zoom-inner {
  /*position: absolute;*/
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw; 
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  padding: 0;
  margin: 0;
  z-index: 100000;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  overflow: hidden;

}

.img-wrap.active .mob-about-thumb {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  /*transform: translateX(-2.7vw);*/
}

.img-wrap:not(.active) {
  z-index: auto;
  position: relative;
}

.img-wrap.active {
  position: fixed;
  z-index: 100001;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
}


.zoom-wrapper {
  position: relative;
  z-index: 1; /* base level */

}

.zoom-wrapper.promote {
  z-index: 999999 !important;

}

/* === Mobile Past Deliveries  === */

.mob-past-deliv-fltnumbrick {
 font-size: 1.25rem;
  color: white;
  margin-top: 15px;
  margin-bottom: 10px;
  padding: 6px 12px;
  background-color: #444040;
  border: 1px solid #ccc;
  border-radius: 6px;
  display: inline-block;
  font-weight: 600;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
}

.mob-tooltip {
  position: relative;
  cursor: pointer;
  border-bottom: 1px dotted #666;
  touch-action: manipulation;
}

/* Tooltip bubble */
.mob-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 0;
  background: #333;
  color: #fff;
  padding: 6px 10px;
  font-size: 1.2rem;
  border-radius: 4px;
  white-space: nowrap;
  display: none;
  z-index: 999;
}

/* Toggle visible tooltip */
.mob-tooltip.show-tooltip::after {
  display: block;
}


.mob-past-deliv-img {
  width: 100%;
  max-width: 320px;
  margin: 0 auto 12px auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.mob-past-deliv-thumb {
  width: 100%;
  max-width: 120px;
  border-radius: 6px;
  display: inline-block;
  vertical-align: top;
  margin: 0 10px 6px 0;
}

.mob-past-deliv-caption {
  font-size: 1.2rem;
  line-height: 1.5;
  color: #444;
  text-align: center;
  margin-top: 6px;
}

.mob-past-td {
  padding: 0 6px;
  text-align: center;
  font-size: 1.2rem;
}

.mob-past-deliv-testim-thumb {
  width: 90px; 
  height: 40px; 
  cursor: pointer;
}

.mob-past-deliv-sidebyside {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mob-past-deliv-tdcell {
  border: 1px solid gray;
  padding: 8px 12px;
  font-size: 1.2rem;
  line-height: 1.4;
  text-align: left;
  word-wrap: break-word;
}

.mob-past-deliv-thumb-td {
 border: 1px solid gray; 
 width: 33.33%; 
 text-align: center; 
 vertical-align: top;
}

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

.mob-pilot-directory-blue-button {
  display: inline-block;
  width: auto;
  max-width: 360px;
  margin: 15px 5px 15px 5px;
  padding: 10px 15px 10px 15px;
  background-color: #4a90e2;
  color: white;
  font-size: 1.3rem;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease;
  justify-content: center; 
  gap: 20px; 

}

.mob-pilot-directory-blue-button:active {
  background-color: #3b7dd8;
}

  .mob-std-small {
    font-size: 1.2rem;
    line-height: 1.6;
  }

  .tooltip-custom::after {
    display: none;
  }




  .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    font-size: 1.2rem;
    padding: 0 40px 15px 30px;
  }

  .accordion-header {
    background-color: #007bff;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 1.4rem;
    cursor: pointer;
    width: 80%;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.2);
    margin: 0 auto 15px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
  }

  .accordion-title {
    text-align: center;
    flex-grow: 1;
  }

  .accordion-caret {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
  }

  .img-wrap:hover .thumbnail:not(.active) {
    transform: none !important;
  }

  .mobile-form-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.mobile-form-row input[type="text"],
.mobile-form-row input[type="email"],
.mobile-form-row input[type="tel"],
.mobile-form-row input[type="number"],
.mobile-form-row input[type="date"],
.mobile-form-row select,
.mobile-form-row textarea {
  flex: 1;
  margin-left: 10px;
  max-width: 55%; /* or 70%, adjust as needed */
  padding: 6px;
  font-size: 1.2rem;
  box-sizing: border-box;
}

 .mob-quote-form-wrap {
  font-size: 1.2rem;
  line-height: 1.6;
 }

  .mob-pilot-directory-pilotname {
    display: block;
    padding: 6px 18px;
    width: fit-content;
    margin: 10px auto 0 auto;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff8dc; /* Light engraved text color */
    background: linear-gradient(to bottom, #8b5a2b, #5c3317); /* wood gradient */
    border-radius: 8px;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.3),
                inset 0 -2px 4px rgba(0, 0, 0, 0.4),
                0 2px 5px rgba(0, 0, 0, 0.3);
    text-align: center;
    letter-spacing: 0.5px;
  }



.mob-pilot-directory-headshot {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 125px;  
  height: auto;
}

  .mob-pilot-directory-tight-bullets {
    padding-left: 20px; /* standard indent for bullets */
    margin-top: 10px;
    margin-bottom: 10px;
    
  }

  .mob-pilot-directory-tight-bullets li {
    margin-bottom: 6px;
    line-height: 1.4;
    font-size: 1.2rem;
  }
  
  .mob-pilot-directory-table-descr {
    vertical-align: top;
    padding-left: 10px;
    margin-top: 0;
    border-left: 1px solid gray
  }
}

    /* === FALLBACKS & OVERRIDES === */
@media screen and (min-width: 769px) {
  .mobile-only {
    display: none !important;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media not all and (min-resolution: 0.001dpcm) {
  @supports (-webkit-appearance: none) {
    input, textarea {
      font-size: 1.25rem;
    }
  }
}

/* Hide completely on narrow screens */
@media screen and (max-width: 1825px) {
  .quote-bookend-img {
    display: none !important;
  }
}