/* Turkish Defense Exports — Website styles
   Quick changes: edit the CSS variables in :root for colors.
   Major page styles are grouped by section class names.
*/

:root {
  --ink: #122837;
  --ink2: #1a3546;
  --paper: #f4f3ef;
  --line: #d7dcd9;
  --muted: #62737b;
  --light: #d5e1e4;
  --accent: #b7cfce;
  --white: #fff
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', Arial, sans-serif;
  -webkit-font-smoothing: antialiased
}

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

button {
  font: inherit
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #63a5ba;
  outline-offset: 4px
}

::selection {
  background: #aed6d6;
  color: #102536
}

.wrap {
  max-width: 1320px;
  padding: 0 56px;
  margin: auto
}

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase
}

.nav {
  position: relative;
  z-index: 5;
  background: var(--ink);
  color: var(--white);
  border-bottom: 0px solid #ffffff29
}

.nav-inner {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0
}

.mark {
  width: 43px;
  height: 43px;
  border: 1px solid #94abb8;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -.08em
}

.brand-name {
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1.45
}

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

.nav-links a:not(.nav-cta) {
  font-size: 12px;
  color: #d7e0e6
}

.nav-links a:hover {
  color: #fff
}

.nav-cta {
  font-size: 12px;
  font-weight: 700;
  padding: 13px 18px;
  border: 1px solid #93a9b5;
  white-space: nowrap;
  transition: background .2s
}

.nav-cta:hover {
  background: #ffffff1b
}

.menu {
  display: none;
  border: 1px solid #67808c;
  background: none;
  color: white;
  padding: 10px;
  cursor: pointer
}


.hero {
  /* CHANGE THE IMAGE HERE */
  background-image:
    linear-gradient(90deg,
      rgba(12, 31, 46, 0.94) 0%,
      rgba(12, 31, 46, 0.78) 50%,
      rgba(12, 31, 46, 0.38) 100%),
    url("../assets/images/hero2.jpg");

  background-color: var(--ink);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 660px;
  display: flex;
  align-items: center;
}


.hero:before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(#ffffff08 1px, transparent 1px), linear-gradient(90deg, #ffffff08 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(to right, transparent 25%, black 100%);
  pointer-events: none
}

.hero:after {
  content: '';
  width: 650px;
  height: 650px;
  border: 1px solid #95c1ca40;
  border-radius: 50%;
  position: absolute;
  right: -180px;
  top: 52%;
  transform: translateY(-50%);
  box-shadow: 0 0 0 100px #87b8c010, 0 0 0 200px #87b8c00a;
  pointer-events: none
}

.hero-inner {
  padding-top: 104px;
  padding-bottom: 115px;
  position: relative;
  z-index: 1;
  width: 100%
}

.hero .eyebrow {
  color: #b1ccd3;
  display: flex;
  align-items: center;
  gap: 12px
}

.hero .eyebrow:before {
  content: '';
  height: 1px;
  width: 33px;
  background: #b1ccd3
}

.hero h1 {
  font: 600 clamp(43px, 5.6vw, 84px)/1.12 Manrope, sans-serif;
  letter-spacing: -.053em;
  max-width: 960px;
  margin: 29px 0
}

.hero h1 span {
  color: #a9c6ce
}

.hero p {
  color: #b9cbd2;
  font-size: 17px;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 0 36px
}

.actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 18px 23px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .025em;
  transition: transform .2s, background .2s
}

.btn:hover {
  transform: translateY(-2px)
}

.btn-light {
  background: #edf3f2;
  color: #172e3c
}

.btn-outline {
  border: 1px solid #728f9c;
  color: #edf3f2
}

.arrow {
  font-size: 18px;
  line-height: 1
}

.hero-bottom {
  position: absolute;
  bottom: 29px;
  left: 0;
  right: 0;
  z-index: 2;
  color: #8faab5;
  font-size: 11px;
  letter-spacing: .08em
}

.hero-bottom .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px
}

.section {
  padding: 120px 0
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 2.1fr;
  gap: 50px
}

.section-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #5d747c
}

.section-label:before {
  content: '';
  display: block;
  width: 23px;
  height: 1px;
  background: #78949c;
  margin-top: 7px
}

.section h2 {
  font: 600 clamp(29px, 3.1vw, 50px)/1.27 Manrope, sans-serif;
  letter-spacing: -.041em;
  margin: 0;
  max-width: 820px
}

.lead {
  font-size: 18px;
  line-height: 1.86;
  color: #455965;
  max-width: 760px;
  margin: 28px 0 0
}

.minor {
  font-size: 15px;
  line-height: 1.85;
  color: #526672;
  max-width: 770px
}

.about-note {
  border-top: 1px solid var(--line);
  margin-top: 55px;
  padding-top: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px
}

.about-note strong {
  font-family: Manrope;
  font-weight: 700;
  font-size: 14px
}

.about-note p {
  font-size: 14px;
  color: #66777d;
  line-height: 1.8;
  margin: 7px 0
}

.capabilities {
  background: #e9ece8
}

.caps-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 38px
}

.caps-title p {
  max-width: 390px;
  margin: 0;
  color: #5e7178;
  font-size: 14px;
  line-height: 1.7
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid #cad3d1;
  border-top: 1px solid #cad3d1
}

.cap {
  min-height: 258px;
  padding: 29px;
  border-right: 1px solid #cad3d1;
  border-bottom: 1px solid #cad3d1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background .2s
}

.cap:hover {
  background: #f1f3f0
}

.cap .number {
  font-size: 11px;
  color: #87989b;
  font-weight: 700;
  letter-spacing: .09em
}

.cap h3 {
  font: 650 23px/1.2 Manrope;
  margin: 0 0 11px;
  letter-spacing: -.03em
}

.cap p {
  font-size: 13px;
  line-height: 1.65;
  color: #5c6e76;
  margin: 0;
  max-width: 320px
}

.cap-symbol {
  font-size: 25px;
  font-weight: 400;
  color: #8ca3a5
}

.cap:last-child {
  background: var(--ink);
  color: white
}

.cap:last-child p {
  color: #b7cbd2
}

.cap:last-child .number,
.cap:last-child .cap-symbol {
  color: #a8c7d0
}

.network {
  background: #102837;
  color: white
}

.network .section-label {
  color: #aec6ce
}

.network h2 {
  max-width: 730px
}

.network .lead {
  color: #bdd0d6
}

.network .minor {
  color: #acc1c9
}

.region-line {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 46px
}

.region-line span {
  border: 1px solid #506c79;
  color: #c7d9df;
  padding: 13px 19px;
  font-size: 12px;
  letter-spacing: .025em
}

.network-note {
  margin-top: 52px;
  border-top: 1px solid #405967;
  padding-top: 24px;
  color: #a9bdc5;
  font-size: 13px;
  line-height: 1.8;
  max-width: 750px
}

.resources {
  background: var(--paper)
}

.resources-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 45px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 43px 0
}

.resources p {
  font-size: 14px;
  line-height: 1.7;
  color: #60737a;
  max-width: 500px;
  margin: 12px 0 0
}

.catalog-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.catalog {
  padding: 17px 20px;
  border: 1px solid #b7c4c5;
  min-width: 170px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px
}

.catalog:hover {
  background: #e7eeee
}

.contact {
  background: #dce5e2;
  padding: 110px 0
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px
}

.contact h2 {
  margin-top: 25px
}

.contact p {
  font-size: 16px;
  line-height: 1.8;
  color: #4e656b;
  max-width: 560px
}

.contact-panel {
  border-top: 1px solid #9aadae;
  padding-top: 23px;
  align-self: end
}

.contact-panel .eyebrow {
  color: #61777d
}

.contact-email {
  font: 650 clamp(17px, 2vw, 26px)/1.5 Manrope;
  overflow-wrap: anywhere;
  letter-spacing: -.025em;
  display: block;
  margin: 16px 0 32px
}

.contact-panel .btn {
  background: var(--ink);
  color: white
}

.disclaimer {
  font-size: 11px !important;
  max-width: 380px !important;
  color: #6b7f83 !important;
  margin-top: 24px !important
}

footer {
  background: #102536;
  color: #aec1c7;
  padding: 35px 0
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
  font-size: 11px
}

.footer-brand {
  font-weight: 800;
  color: white;
  letter-spacing: .14em
}

.footer-links {
  display: flex;
  gap: 25px
}

@media(max-width:1000px) {
  .wrap {
    padding: 0 30px
  }

  .nav-links {
    gap: 18px
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 25px
  }

  .cap-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .contact-layout {
    gap: 45px
  }

  .hero {
    min-height: 630px
  }
}

@media(max-width:680px) {
  .wrap {
    padding: 0 22px
  }

  .nav-inner {
    height: 72px
  }

  .brand-name {
    font-size: 10px
  }

  .mark {
    width: 37px;
    height: 37px;
    font-size: 16px
  }

  .menu {
    display: block
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #102536;
    padding: 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid #ffffff32
  }

  .nav-links.open {
    display: flex
  }

  .nav-links a {
    padding: 14px 0
  }

  .nav-cta {
    text-align: center;
    margin-top: 12px
  }

  .hero {
    min-height: 600px
  }

  .hero-inner {
    padding-top: 70px;
    padding-bottom: 94px
  }

  .hero h1 {
    font-size: clamp(39px, 10vw, 58px)
  }

  .hero p {
    font-size: 15px
  }

  .hero:after {
    right: -540px
  }

  .hero-bottom .wrap span:last-child {
    display: none
  }

  .section {
    padding: 78px 0
  }

  .section h2 {
    font-size: 32px
  }

  .lead {
    font-size: 16px
  }

  .about-note {
    grid-template-columns: 1fr;
    gap: 12px
  }

  .caps-title {
    align-items: start;
    flex-direction: column
  }

  .cap-grid {
    grid-template-columns: 1fr
  }

  .cap {
    min-height: 205px
  }

  .region-line span {
    padding: 11px 13px
  }

  .resources-inner {
    flex-direction: column;
    align-items: start
  }

  .catalog-links,
  .catalog {
    width: 100%
  }

  .contact {
    padding: 75px 0
  }

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

  .footer-inner {
    align-items: start;
    flex-direction: column
  }
}

/* Product media gallery: swap assets in the assets folder. */
.media-section {
  background: #f4f3ef
}

.media-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 35px;
  margin-bottom: 32px
}

.media-intro p {
  color: #526672;
  font-size: 14px;
  line-height: 1.8;
  max-width: 440px;
  margin: 0
}

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

.media-card {
  margin: 0;
  min-width: 0
}

.media-frame {
  position: relative;
  aspect-ratio: 4/3;
  background: #dce3e1;
  overflow: hidden
}

.media-frame img,
.media-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.media-card.featured {
  grid-column: span 2;
  grid-row: span 2
}

.media-card.featured .media-frame {
  aspect-ratio: auto;
  height: 100%;
  min-height: 480px
}

.media-caption {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
  padding: 14px 2px 0
}

.media-card.featured .media-caption {
  padding-bottom: 18px
}

.media-caption strong {
  font: 700 14px/1.5 Manrope, sans-serif
}

.media-caption span {
  font-size: 11px;
  color: #65777d;
  text-transform: uppercase;
  letter-spacing: .08em
}

.media-card.featured .media-frame {
  height: calc(100% - 50px)
}

.media-video {
  cursor: pointer;
  background: #152d3d
}

.media-video video {
  background: #152d3d
}

.video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none
}

.video-play span {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f4f3efed;
  color: #102536;
  font-size: 24px;
  padding-left: 3px;
  box-shadow: 0 3px 25px #0002
}

.media-video.playing .video-play {
  display: none
}

.media-note {
  margin: 24px 0 0;
  color: #61757c;
  font-size: 12px;
  line-height: 1.7
}

@media(max-width:1000px) {
  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .media-card.featured {
    grid-column: span 2;
    grid-row: auto
  }

  .media-card.featured .media-frame {
    height: auto;
    aspect-ratio: 16/9;
    min-height: 0
  }
}

@media(max-width:680px) {
  .media-intro {
    display: block
  }

  .media-intro p {
    margin-top: 16px
  }

  .media-grid {
    grid-template-columns: 1fr
  }

  .media-card.featured {
    grid-column: auto
  }

  .media-card.featured .media-frame,
  .media-card.featured .media-frame {
    aspect-ratio: 4/3
  }

  .media-frame {
    aspect-ratio: 4/3
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  * {
    transition: none !important
  }
}

/* PRODUCT CATALOGS — edit visual styles here */
.catalog-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  margin: 18px 0 35px
}

.catalog-heading h2 {
  margin: 0;
  max-width: 600px
}

.catalog-heading p {
  margin: 0;
  max-width: 450px;
  color: #587078;
  font-size: 14px;
  line-height: 1.7
}

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

.catalog-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1px solid #c8d3d1;
  padding: 25px;
  min-height: 120px;
  transition: background .18s ease, border-color .18s ease
}

.catalog-card:hover,
.catalog-card:focus-visible {
  background: #eaf0ee;
  border-color: #7c9699
}

.catalog-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 53px;
  height: 63px;
  border: 1px solid #96a8a9;
  color: #425c67;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .08em
}

.catalog-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0
}

.catalog-copy strong {
  font-size: 16px;
  font-weight: 650
}

.catalog-copy small {
  font-size: 12px;
  color: #61777d
}

.catalog-arrow {
  margin-left: auto;
  font-size: 23px;
  font-weight: 300
}

@media(max-width:800px) {
  .catalog-heading {
    display: block
  }

  .catalog-heading p {
    margin-top: 14px
  }

  .catalog-grid {
    grid-template-columns: 1fr
  }
}



.product-list {
  list-style-type: disc;
  list-style-position: outside;
  padding-left: 24px;
  margin: 12px 0 28px;
}

.product-list li {
  display: list-item;
  padding-left: 2px;
  margin-bottom: 8px;
  line-height: 1.6;
}

.product-list li::marker {
  color: #09263b;
}


/* Product catalog bullet list */
.catalog-heading .product-list {
  list-style: disc;
  padding-left: 24px;
  margin: 12px 0 28px;
}

.catalog-heading .product-list li {
  display: list-item;
  margin-bottom: 8px;
  line-height: 1.6;
  color: #52677a;
}

.catalog-heading .product-list li::marker {
  color: #09263b;
}



.catalog-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.catalog-heading .product-list {
  list-style-type: disc;
  padding-left: 24px;
  margin: 16px 0 28px;
}

.catalog-heading .product-list li {
  display: list-item;
  margin-bottom: 8px;
  line-height: 1.6;
}

.catalog-heading p {
  line-height: 1.7;
  margin-bottom: 20px;
}


/* =========================================
   PRODUCT CATALOGS — LAYOUT FIX
   ========================================= */

/* Keep heading content in one vertical column */
.catalog-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 760px;
  width: 100%;
  margin-bottom: 36px;
}

/* Main heading */
.catalog-heading h2 {
  width: 100%;
  margin: 0 0 24px;
}

/* Paragraphs */
.catalog-heading p {
  width: 100%;
  max-width: 700px;
  margin: 0 0 20px;
  line-height: 1.7;
}

/* Product bullet list */
.catalog-heading .product-list {
  display: block;
  width: 100%;
  list-style-type: disc;
  padding-left: 24px;
  margin: 0 0 28px;
}

.catalog-heading .product-list li {
  display: list-item;
  margin-bottom: 8px;
  line-height: 1.6;
}

/* PDF catalog cards */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

/* Mobile */
@media (max-width: 700px) {
  .catalog-heading {
    max-width: 100%;
  }

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


/* PRODUCT CATALOGS — COMPACT SPACING */

.catalog-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  max-width: 850px;
  margin-bottom: 28px;
}

.catalog-heading h2 {
  margin: 0 0 24px;
}

.catalog-heading p {
  margin: 0 0 16px;
  line-height: 1.65;
}

.catalog-heading .product-list {
  display: block;
  list-style-type: disc;
  padding-left: 24px;
  margin: 0 0 20px;
}

.catalog-heading .product-list li {
  display: list-item;
  margin: 0 0 6px;
  line-height: 1.6;
}

.catalog-heading .product-list li:last-child {
  margin-bottom: 0;
}


/* CONTACT FORM FILE ATTACHMENT */

#contactAttachment {
  background: transparent;
  border: 1px dashed #b8c3c9;
  padding: 14px;
  cursor: pointer;
}

#contactAttachment::file-selector-button {
  background: #e5e9eb;
  border: none;
  padding: 8px 12px;
  margin-right: 12px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}


/* FLOATING CONTACT BUTTON */

.floating-contact {
  position: fixed !important;
  bottom: 30px;
  right: 30px;
  z-index: 9999;

  display: flex;
  align-items: center;
  gap: 12px;

  background-color: #102536;
  color: #ffffff;

  padding: 16px 24px;
  border: none;
  border-radius: 4px;

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

  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.floating-contact:hover {
  background-color: #244c62;
}


.floating-contact {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #102536;
  color: #fff;
  padding: 15px 22px;
  border: none;
  border-radius: 4px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}

.contact-overlay[hidden] {
  display: none;
}


/* ==========================================
   FLOATING CONTACT POPUP — POSITION FIX
   ========================================== */

/* Dark transparent background */
.contact-overlay {
  position: fixed !important;
  inset: 0;
  width: 100%;
  height: 100dvh;
  z-index: 10000;

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

  background: rgba(10, 25, 38, 0.55);
  padding: 20px;
  box-sizing: border-box;
}

/* Hide popup until button is clicked */
.contact-overlay[hidden] {
  display: none !important;
}

/* Contact form window */
.contact-popup {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  box-sizing: border-box;

  background: #f5f4f0;
  padding: 36px;
  border-radius: 6px;

  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.25);
}

/* Close button */
.contact-close {
  position: absolute;
  top: 14px;
  right: 18px;

  background: transparent;
  border: none;
  color: #102536;

  font-size: 28px;
  cursor: pointer;
}

/* Mobile */
@media (max-width: 600px) {
  .contact-popup {
    padding: 28px 22px;
  }
}


/* =====================================
   CONTACT POPUP — REFINED DESIGN
   ===================================== */

.contact-popup {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: 36px;
  box-sizing: border-box;

  background: #f5f4f0;
  border-radius: 6px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.20);
}

/* Heading */
.contact-popup h2 {
  font-family: "Manrope", sans-serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 12px;
  color: #102536;
}

/* Introduction */
.contact-popup>p {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #52677a;
  margin: 0 0 24px;
}

/* Form layout — stack all fields */
.contact-popup #contactForm {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  width: 100%;
}

/* Labels */
.contact-popup #contactForm label {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #102536;
  margin: 0 0 7px;
}

/* Inputs */
.contact-popup #contactForm input,
.contact-popup #contactForm textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;

  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  color: #102536;

  background: #fff;
  border: 1px solid #cbd2d5;
  border-radius: 3px;

  padding: 12px 14px;
  margin: 0 0 18px;
}

/* Text area */
.contact-popup #contactForm textarea {
  min-height: 110px;
  resize: vertical;
}

/* Focus effect */
.contact-popup #contactForm input:focus,
.contact-popup #contactForm textarea:focus {
  outline: none;
  border-color: #527a91;
  box-shadow: 0 0 0 2px rgba(82, 122, 145, 0.12);
}

/* Attachment */
.contact-popup #contactAttachment {
  padding: 12px;
  background: transparent;
  border: 1px dashed #b8c3c9;
  cursor: pointer;
}

.contact-popup #contactAttachment::file-selector-button {
  padding: 8px 12px;
  margin-right: 12px;
  border: 0;
  background: #e5e9eb;
  color: #102536;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
}

/* Submit button */
.contact-popup .contact-submit {
  display: block;
  width: 100%;

  background: #102536;
  color: #ffffff;
  border: none;
  border-radius: 3px;

  padding: 15px 18px;
  margin-top: 4px;

  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.contact-popup .contact-submit:hover {
  background: #244c62;
}

/* Close button */
.contact-popup .contact-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  border: none;
  color: #102536;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .contact-popup {
    padding: 28px 22px;
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
  }

  .contact-popup h2 {
    font-size: 26px;
  }
}


/* ==========================================
   CAPABILITIES — BACKGROUND IMAGES
   ========================================== */

.cap {
  position: relative;
  overflow: hidden;
  isolation: isolate;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: #ffffff;
  transition: background-size 0.4s ease;
}

/* Individual background images */

.cap-defense {
  background-image: url("../assets/images/defense.jpg");
}

.cap-aviation {
  background-image: url("../assets/images/aviation.jpg");
}

.cap-energy {
  background-image: url("../assets/images/energy.jpg");
}

.cap-infrastructure {
  background-image: url("../assets/images/infrastructure.jpg");
}

.cap-services {
  background-image: url("../assets/images/services.jpg");
}

/* Dark overlay to keep text readable */

.cap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(8, 20, 33, 0.88) 0%,
      rgba(8, 20, 33, 0.48) 55%,
      rgba(8, 20, 33, 0.20) 100%);
  z-index: 0;
  pointer-events: none;
}

/* Keep text above the overlay */

.cap>* {
  position: relative;
  z-index: 1;
}

.cap h3,
.cap p,
.cap .number,
.cap .cap-symbol {
  color: #ffffff;
}

/* Subtle hover effect */

.cap:hover::before {
  background: linear-gradient(to top,
      rgba(8, 20, 33, 0.78) 0%,
      rgba(8, 20, 33, 0.35) 100%);
}

.hero h1 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 5.6vw, 84px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 960px;
  margin: 29px 0;
}

/* ==========================================
   ABOUT SECTION — LEFT PHOTO + RIGHT CONTENT
   Edit photo in: assets/images/about.jpg
   ========================================== */

#about .section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 2.1fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
}

#about .section-label-wrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

#about .section-label {
  white-space: nowrap;
}

#about .about-visual {
  width: 100%;
  margin-top: 46px;
  overflow: hidden;
  background: #e5e9e7;
}

#about .about-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1000px) {
  #about .section-head {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  #about .about-visual {
    margin-top: 24px;
    max-width: 580px;
  }

  #about .about-visual img {
    aspect-ratio: 16 / 9;
  }
}


/* ============================================================
   RESPONSIVE EDITORIAL LAYOUTS — ABOUT & I2I
   Image paths: assets/images/about.jpg and global-gateway.jpg
   ============================================================ */
.about-layout,
.network-layout {
  display: grid;
  grid-template-columns: minmax(0, .91fr) minmax(0, 2.09fr);
  column-gap: clamp(28px, 4.1vw, 66px);
  align-items: start;
}
.about-layout {
  grid-template-areas: "label title" "image copy";
  row-gap: 28px;
}
.about-label { grid-area: label; white-space: nowrap; }
.about-title { grid-area: title; }
.about-visual { grid-area: image; }
.about-copy { grid-area: copy; min-width: 0; }
.about-layout .about-title,
.network-layout .network-title { margin: 0; }
.about-layout .about-visual,
.network-layout .network-visual {
  margin: 0;
  min-width: 0;
  overflow: hidden;
}
.about-layout .about-visual {
  height: 100%;
  min-height: 490px;
  background: #dee4e2;
}
.about-layout .about-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 490px;
  object-fit: cover;
  object-position: center;
}
.about-copy .lead { margin-top: 0; }
.about-copy .about-note { margin-top: clamp(30px,4vw,54px); }

.network-layout {
  grid-template-areas: "label title" "image copy";
  row-gap: 28px;
}
.network-label { grid-area: label; white-space: nowrap; }
.network-title { grid-area: title; min-width: 0; }
.network-visual {
  grid-area: image;
  position: relative;
  background: #1e4356;
  border: 1px solid rgba(198, 225, 233, .22);
  height: 100%;
  min-height: 455px;
}
.network-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 455px;
  object-fit: cover;
  object-position: center;
}
.network-visual figcaption {
  position: absolute;
  inset: auto 18px 18px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.5;
  color: #fff;
  padding: 13px 15px;
  background: rgba(15,36,50,.75);
  backdrop-filter: blur(5px);
}
.network-copy { grid-area: copy; min-width: 0; }
.network-copy .lead { margin-top: 0; }
.network-copy .region-line { margin-top: 34px; }
.network-copy .network-note { margin-top: 38px; }

/* Capability photos: don't erase the image on hover */
.cap { background-color: #1c394b; }
.cap:not(.cap-contact):hover { background-color: #24485a; }
.cap-contact::before { display: none; }
.cap-contact { background-color: var(--ink); }
.cap-contact h3, .cap-contact p { color: #f5f8f8; }
.cap-contact .cap-contact-link { display: inline-block; color: #fff; border-bottom: 1px solid #a8c7d0; padding-bottom: 3px; }

/* Tap targets, flexible text, and overflow safety */
body { overflow-x: clip; }
img, video { max-width: 100%; }
.section, .network, .capabilities { min-width: 0; }
.section-head > *, .contact-layout > * { min-width: 0; }
.contact-email { overflow-wrap: anywhere; }
.catalog-card { min-width: 0; }
.form-status { margin: 15px 0 0; color: #425c67; font-size: 12px; line-height: 1.6; }

/* Tablet: use a mobile navigation before the full header becomes crowded */
@media (max-width: 1100px) {
  .menu { display: block; min-width: 44px; min-height: 44px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    padding: 14px clamp(22px, 4vw, 56px) 24px;
    background: #ffffff;
    border-top: 1px solid rgba(255,255,255,.15);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    box-shadow: 0 16px 30px rgba(0,0,0,.15);
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: flex; align-items: center; min-height: 48px; padding: 12px 2px; }
  .nav-links .nav-cta { margin-top: 10px; justify-content: center; padding: 12px 18px; }
  .nav-inner { height: 76px; }
  .caps-title { align-items: flex-start; }
  .caps-title p { max-width: 340px; }
}
@media (max-width: 900px) {
  .about-layout, .network-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "label" "title" "image" "copy";
    row-gap: 24px;
  }
  .about-title, .network-title { max-width: 750px; }
  .about-layout .about-visual,
  .network-layout .network-visual { width: 100%; height: auto; min-height: 0; }
  .about-layout .about-visual img,
  .network-layout .network-visual img { height: auto; min-height: 0; aspect-ratio: 16/9; object-fit: cover; }
  .about-copy .about-note { margin-top: 30px; }
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .contact-panel { max-width: 580px; }
  .caps-title { flex-direction: column; gap: 18px; }
  .caps-title p { max-width: 650px; }
}
@media (max-width: 680px) {
  .nav-inner { height: 72px; }
  .hero { min-height: 0; }
  .hero-inner { padding-top: 70px; padding-bottom: 112px; }
  .hero h1 { font-size: clamp(35px, 9vw, 54px); line-height: 1.12; overflow-wrap: break-word; }
  .hero p { font-size: 15px; line-height: 1.65; }
  .actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .actions .btn { width: 100%; min-height: 52px; }
  .section { padding: 76px 0; }
  .section h2 { font-size: clamp(29px, 7.5vw, 37px); line-height: 1.19; }
  .about-layout, .network-layout { row-gap: 20px; }
  .about-layout .about-visual img,
  .network-layout .network-visual img { aspect-ratio: 5/4; }
  .about-copy .lead, .network-copy .lead { font-size: 16px; line-height: 1.65; }
  .about-copy .minor, .network-copy .minor { font-size: 14px; line-height: 1.74; }
  .about-note { gap: 18px; }
  .about-note > div { padding: 0 0 6px; }
  .cap-grid { grid-template-columns: 1fr; }
  .cap { min-height: 220px; padding: 24px; }
  .cap h3 { font-size: 22px; }
  .cap p { font-size: 13px; }
  .network-copy .region-line { margin-top: 26px; gap: 8px; }
  .network-copy .region-line span { padding: 10px 12px; }
  .network-copy .network-note { margin-top: 30px; }
  .media-grid { grid-template-columns: minmax(0, 1fr); }
  .media-card.featured { grid-column: auto; grid-row: auto; }
  .media-card.featured .media-frame { height: auto; min-height: 0; aspect-ratio: 4/3; }
  .media-frame video { object-fit: contain; }
  .catalog-grid { grid-template-columns: 1fr; }
  .catalog-card { padding: 16px; }
  .footer-inner { gap: 16px; }
  .floating-contact { bottom: 14px; right: 14px; padding: 12px 16px; min-height: 44px; }
  footer { padding-bottom: 85px; }
  .contact-popup { padding: 28px 22px; }
}
@media (max-width: 380px) {
  .wrap { padding-left: 18px; padding-right: 18px; }
  .hero h1 { font-size: 34px; letter-spacing: -.04em; }
  .brand-name { letter-spacing: .08em; }
  .network-visual figcaption { font-size: 9px; inset: auto 10px 10px 10px; }
}

/* Prevent the page underneath the inquiry dialog from scrolling. */
body.modal-open { overflow: hidden; }

/* Compact, accessible floating action control on small screens.
   Keeps the inquiry form available without obscuring body text. */
@media (max-width: 680px) {
  .floating-contact {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    min-height: 48px;
    padding: 0;
    font-size: 0;
    border-radius: 50%;
  }
  .floating-contact::after {
    content: "✉";
    font-size: 23px;
    font-weight: 400;
    line-height: 1;
    color: #fff;
  }
}
/* Use guaranteed sans-serif fallbacks when a remote font is blocked. */
.about-note strong { font-family: Manrope, 'DM Sans', Arial, sans-serif; }


/* ============================================================
   ABOUT US — FULL PHOTO / EDITORIAL COMPOSITION
   To replace: assets/images/about.jpg
   Preserve the original photograph without awkward crop or gray filler.
   ============================================================ */
@media (min-width: 901px) {
  #about .about-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr);
    column-gap: clamp(32px, 4vw, 72px);
    row-gap: 25px;
  }
}
#about .about-visual {
  align-self: start;
  height: auto;
  min-height: 0;
  background: transparent;
  overflow: visible;
}
#about .about-visual img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center top;
}
@media (max-width: 900px) {
  #about .about-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "label" "title" "image" "copy";
    row-gap: 22px;
  }
  #about .about-visual {
    width: min(100%, 560px);
    margin-inline: auto;
  }
  #about .about-visual img {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
  }
}




/* ============================================================
   ABOUT (TEXT ONLY) + I2I (FULL BLEED PHOTO BACKGROUND)
   Edit the JPEG at assets/images/i2i-meeting-background.jpg
   ============================================================ */
#about .about-layout {
  display: grid;
  grid-template-columns: minmax(155px, .48fr) minmax(0, 2fr);
  grid-template-areas: "label title" ". copy" ". notes";
  column-gap: clamp(32px, 5vw, 80px);
  row-gap: 28px;
  align-items: start;
}
#about .about-label { grid-area: label; }
#about .about-title { grid-area: title; max-width: 950px; }
#about .about-copy { grid-area: copy; max-width: 900px; }
#about .about-copy .lead { margin: 0 0 18px; }
#about .about-copy .minor { margin: 0; }
#about .about-strengths {
  grid-area: notes;
  margin-top: 24px;
  padding-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 26px 34px;
}

#global.network {
  position: relative;
  isolation: isolate;
  color: #fff;
  background-color: #102837;
  background-image:
    linear-gradient(90deg, rgba(9,27,40,.96) 0%, rgba(9,27,40,.89) 42%, rgba(9,27,40,.66) 100%),
    url("../assets/images/i2i-meeting-background.jpg");
  background-size: cover;
  background-position: center 54%;
  background-repeat: no-repeat;
}
#global .network-layout {
  display: grid;
  grid-template-columns: minmax(155px, .48fr) minmax(0, 2fr);
  grid-template-areas: "label title" ". copy";
  gap: 30px clamp(32px, 5vw, 80px);
  align-items: start;
}
#global .network-label { grid-area: label; }
#global .network-title { grid-area: title; max-width: 900px; }
#global .network-copy { grid-area: copy; max-width: 850px; }
#global .network-copy .lead { margin: 0 0 16px; color: #e4ecef; }
#global .network-copy .minor { color: #d1e0e5; }
#global .region-line { margin-top: 28px; }
#global .region-line span { background: rgba(13,37,51,.32); }
#global .network-note { margin-top: 36px; }

@media (max-width: 900px) {
  #about .about-layout {
    grid-template-columns: minmax(0,1fr);
    grid-template-areas: "label" "title" "copy" "notes";
    row-gap: 22px;
  }
  #about .about-strengths { margin-top: 6px; }
  #global.network {
    background-image:
      linear-gradient(180deg, rgba(9,27,40,.94) 0%, rgba(9,27,40,.87) 55%, rgba(9,27,40,.86) 100%),
      url("../assets/images/i2i-meeting-background.jpg");
    background-position: 52% center;
  }
  #global .network-layout {
    grid-template-columns: minmax(0,1fr);
    grid-template-areas: "label" "title" "copy";
    row-gap: 23px;
  }
}
@media (max-width: 600px) {
  #about .about-layout { row-gap: 19px; }
  #about .about-strengths { grid-template-columns: 1fr; gap: 23px; }
  #global.network { background-position: 52% center; }
  #global .network-title { font-size: clamp(28px, 8vw, 39px); overflow-wrap: break-word; }
  #global .network-copy .lead { font-size: 16px; line-height: 1.75; }
  #global .network-copy .minor, #global .network-note { line-height: 1.8; }
}


/* ========================================================
   HEADER IDENTITY — EDIT YOUR LOGO & COMPANY NAME HERE
   ========================================================
   Logo: replace assets/images/tde-logo.svg (or update HTML img src).
   Name: edit the text in index.html within .brand-name.
   Font: change --brand-font below. Other site fonts stay unchanged.
*/
:root {
  --brand-font: Arial, sans-serif;
  --brand-weight: 700;
  --brand-size: 12px;
  --brand-letter-spacing: 0.14em;
  --brand-line-height: 1.20;
  --brand-logo-width: 100px;
  --brand-logo-height: 90px;
  --brand-logo-fit: contain;
  --brand-logo-gap: 13px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: var(--brand-logo-gap);
  flex-shrink: 0;
  min-width: 0;
}
.brand-logo {
  display: block;
  width: var(--brand-logo-width);
  height: var(--brand-logo-height);
  object-fit: var(--brand-logo-fit);
  flex: 0 0 auto;
}
.brand-name {
  display: block;
  color: #000000;
  font-family: var(--brand-font);
  font-size: var(--brand-size);
  font-weight: var(--brand-weight);
  letter-spacing: var(--brand-letter-spacing);
  line-height: var(--brand-line-height);
  text-transform: uppercase;
  white-space: nowrap;
}
@media (max-width: 680px) {
  :root {
    --brand-logo-width: 38px;
    --brand-logo-height: 38px;
    --brand-size: 10px;
    --brand-logo-gap: 10px;
  }
}


/* ==========================================
   LIGHT NAVIGATION — DESKTOP & MOBILE
   ========================================== */

/* Main navigation banner */
.nav {
  background: #f4f3ef;
  color: #122837;
  border-bottom: 0px solid #d7dcd9;
}

/* Logo and company name */
.brand-name {
  color: #122837;
}

/* Navigation links */
.nav-links a:not(.nav-cta) {
  color: #122837;
}

.nav-links a:hover {
  color: #005474;
}

/* Contact button */
.nav-cta {
  color: #122837;
  border: 1px solid #122837;
}

.nav-cta:hover {
  background: #e5ebee;
}

/* Mobile hamburger button */
.menu {
  color: #122837;
  border: 1px solid #9aadb4;
  background: transparent;
}

/* Mobile dropdown */
@media (max-width: 680px) {
  .nav-links {
    background: #f4f3ef;
    border-top: 1px solid #d7dcd9;
    box-shadow: 0 12px 24px rgba(18, 40, 55, 0.08);
  }

  .nav-links a:not(.nav-cta) {
    color: #122837;
    border-bottom: 1px solid #d7dcd9;
  }

  .nav-cta {
    color: #122837;
    border-color: #122837;
  }
}


/* ====================================================
   EDITABLE VERTICALS: SHORT PARAGRAPH + BULLET LIST
   Append-only overrides, built against uploaded styles(3).css.
   ==================================================== */
.capabilities .cap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: #cad3d1;
  border: 1px solid #cad3d1;
}
.capabilities .cap {
  min-height: 415px;
  padding: clamp(28px, 3.3vw, 44px);
  border: 0;
  gap: 34px;
  justify-content: space-between;
  background-color: #102536;
}
.capabilities .cap::before {
  background: linear-gradient(90deg, rgba(8, 20, 33, .95), rgba(8, 20, 33, .72));
}
.capabilities .cap:hover::before {
  background: linear-gradient(90deg, rgba(8, 20, 33, .93), rgba(8, 20, 33, .66));
}
.capabilities .cap h3 {font-size: clamp(23px, 2.4vw, 30px); margin: 0 0 14px;}
.capabilities .cap .cap-description {
  max-width: 480px;
  font-size: 14px;
  line-height: 1.75;
  color: #d6e2e5;
  margin: 0 0 23px;
}
.capabilities .cap-bullets {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  max-width: 480px;
}
.capabilities .cap-bullets li {
  position: relative;
  color: #f0f4f5;
  font-size: 13.5px;
  line-height: 1.65;
  padding-left: 18px;
}
.capabilities .cap-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: #b7cfce;
}
.capabilities .cap-contact {background-image:none; background-color:#102536;}
.capabilities .cap-contact::before {display:none;}
.capabilities .cap-contact p {font-size:14px; max-width:370px;}
@media (max-width: 820px) {
  .capabilities .cap-grid {grid-template-columns: 1fr;}
  .capabilities .cap {min-height: 0; padding: 32px 28px; gap: 32px;}
}
@media (max-width: 480px) {
  .capabilities .cap {padding: 28px 24px;}
  .capabilities .cap .cap-description {font-size: 13px;}
  .capabilities .cap-bullets li {font-size: 13px;}
}

/* ==============================================
   CORE VERTICAL PHOTO + READABILITY GRADIENT
   Replace defense.jpg, aviation.jpg, energy.jpg,
   infrastructure.jpg, services.jpg in assets/images.
   The gradient is above the photo but below the text.
   ============================================== */
.capabilities .cap:not(.cap-contact)::before {
  background:linear-gradient(90deg,rgba(8,23,35,.96) 0%,rgba(8,23,35,.88) 45%,rgba(8,23,35,.47) 100%);
}
.capabilities .cap:not(.cap-contact):hover::before {
  background:linear-gradient(90deg,rgba(8,23,35,.94) 0%,rgba(8,23,35,.84) 45%,rgba(8,23,35,.42) 100%);
}
