:root {
   --text1: #fcfcf5;
   --text2: #a5a9ad;
   --text3: #575a67;

   --borderlight: #cbcbcb;
   --accent-gold: #ff9d00;
   --gold-highlight: #ffb923;

   --header-navy: #163262;

   --dark-bg: #171921;
   --darker-bg: #151720;
   --darkest-bg: #131314;

   --flag-white:  #f9fafc;
   --flag-red: #a92424;
}

html, body {
   margin: 0;
   padding: 0;
   width: 100%;
   height: 100vh;
   font-family: 'Google Sans Flex';
   scroll-behavior: smooth;
}
body{
   background-color: #171921;
}


/* Update .navbar to stick to the top */
.navbar {
   position: fixed;
   top: 0;
   left: 0;
   right: 0;
   width: auto;
   height: 74px;

   display: flex;
   justify-content: space-between; /* Pushes logo to the left, links to the right */
   align-items: center;
   padding: 0 2vw;

   z-index: 1300;
}

.trenchanttitle {
   display: flex;
   align-items: center;
   justify-content: flex-start; /* Forces the items inside to align left */
   position: static; /* Removes the absolute positioning */
   margin: 0; /* Kills the 'margin: 0 auto' that was forcing it to the center */
}
.trenchantlogo{
   height:30px;
   margin-left: 10px;
   width: auto;
}
.toplink{   
   font-size: 15px;
   padding: 30px;
   height: 14px;


   text-decoration: none;
   justify-content: center;
   align-content: center;


   color: var(--text1);
   background-color: none;
   transition: color 0.3s ease, background-color 0.3s ease; 
}
.toplink:hover{
   color: #fff;
}

.slide-sub-header{
   font-size: 28px;
   font-weight: 600;
   margin: auto 0;
   color: #f0f5f7;
}




.mini-div{
    height: 3px;
    background-color: #8b8d921e;
}
.divider-dark{
   background-color: var(--darker-bg);
   height: 90px;
   width: 100vw;
}

.SPACER{
  display: none;  
  height: 140px;
  width: 100vw;
  background-image: linear-gradient(rgba(31, 31, 32, 0.221), rgba(19, 19, 19, 0.232)), url('flag-bottom3.png');
  background-size: cover;
  background-position: center;
}
.contactblock {
   background-color:var(--darkest-bg);
   color:  #8b8b8d;
   padding: 30px;

   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 15px;

   border-top: 10px solid #13141b;

}
.contactblock p:hover{
   color:  #b4b6b8;

}
.contactGRID {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 4rem;  
}
.contactGRID p {
  margin: 0;
  text-align: center;
}



/* ==========================================================================
   SUBPAGE LAYOUT STYLES (Solutions / Engineering / Projects)
   ========================================================================== */


.page-intro-sec img{
   width: 100vw;
}

.page-title {
   font-size: 50px;
   font-weight: 700;
   color: #edece2;
   margin: 0 0 20px 0;
   display: flex;
   justify-content: center;
   text-decoration: underline;
   text-decoration-color: var(--accent-gold) ;
}



.subpage-services-sec {
   padding: 40px 0 80px 0;
}

.service-container {
   width: 80%;
   margin: 0 auto;
}

.service-card-list {
   display: flex;
   flex-direction: column;
   gap: 30px;
}

.service-card {
   background-color: #20253191;
   border: 1px solid #3a41492f;
   padding: 30px;
   border-radius: 10px;
   transition: background-color 0.4s ease;

   box-shadow: 0px 10px 25px #0a0a0a41;
}
.service-card p{
   border-left: 4px solid #83b1ffb3;
   padding-left: 30px;
   margin-left: 18px;
}

.service-card-title {
   font-size: 34px;
   font-weight: 700;
   color: #edece2;
   margin: 0 0 16px 0;
   display: flex;
   align-items: center;
   gap: 12px;
}

.service-icon {
   color: var(--accent-gold);
   flex-shrink: 0;
}

.service-card-body {
   font-size: 18px;
   line-height: 36px;
   color: #babfc4;
   margin: 0;
}
.nav-links {
   display: flex;
   align-items: center;
}

.hamburger {
   display: none;
   cursor: pointer;
   flex-direction: column;
   gap: 4px;
   z-index: 1400; /* Keeps it above the dropdown menu */
}
.hamburger .bar {
   width: 22px;
   height: 2px;
   background-color: var(--text1);
   transition: all 0.3s ease;
   border-radius: 2px;
}


/* ==========================================================================
   SUBPAGE INTRO HERO BANNER (BASE)
   ========================================================================== */

.page-intro-sec {
   position: relative;
   padding: 160px 11% 80px 11%; /* Padding clears fixed glass navbar */
   text-align: center;
   overflow: hidden;
   background-size: cover;
   background-position: center;
}

/* Page-Specific Background Images */
.hero-bg-solutions {
   background-image: url('hypersonicweapon.jpeg'); /* Swap with your Solutions image file */
}

.hero-bg-engineering {
   background-image: url('US_NAV~1.JPG'); /* Swap with your Engineering image file */
}

.hero-bg-architecture {
   background-image: url('darkroom.png'); /* Swap with your Architecture/Projects image file */
}

/* Blueish Fade / Gradient Tint Overlay (Shared across all headers) */
.page-intro-sec::before {
   content: "";
   position: absolute;
   inset: 0;
   /* Deep dark navy/blue blend matching the main page tint */
   background: 
      linear-gradient(to top, #030303c2 25%, #15161b33 90%, rgba(19, 19, 20, 0.95) 100%),
      linear-gradient(135deg, rgba(18, 55, 113, 0.5) 0%, rgba(103, 30, 30, 0.2) 100%);
   
   backdrop-filter: blur(2px);
   -webkit-backdrop-filter: blur(2px);
   z-index: 1;
}

/* Elevate content above overlay */
.page-intro-sec > * {
   position: relative;
   z-index: 2;
}

.page-lead-text {
   max-width: 1000px;
   margin: 0 auto;
   font-size: 30px;
   line-height: 46px;
   font-weight: 500;
   color: #d3d6d8;
}


/* ==========================================================================
   DEFENSE SECTION LOGO PUNCTUATION
   ========================================================================== */

.defense-punctuator-wrap {
   display: flex;
   justify-content: left;
   align-items: center;
   margin-top: 14px;
   margin-left: 6px; /* Space between "To Defense" text and the logo */
   width: 100%;
}

.defense-mark-logo {
   width: 300px;        /* Adjust size as needed to fit the visual weight */
   height: auto;
   opacity: 0;         /* Handled by GSAP */
   transform: translateY(30px); /* Pre-positioned for slide-up effect */
   filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.276));
}


