/* ============= Global Styles for the new microsite templates ============= */


/* Global Styles */
body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    height: 100%;
}
/* page wrapper */
#site-wrapper {
  background-color: #ffffff !important;
}
/* Hero Section */
.afcs-hero-section {
    position: relative;
    width: 100%;
    height: 80vh; 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center; 
    color: white;
    padding: 0 136px; 
}

.afcs-hero-text {
    position: absolute;
    z-index: 2; 
    max-width: 600px;
    font-size: 2.5rem; 
    line-height: 1.2;
    text-align: left;
}
#afcs-hero-text-bold-blue {
        color:#005295 !important;
        text-shadow:none !important;
}  

#afcs-hero-text-thin {
    font-weight: normal !important;
    position: relative;
    z-index: 2; 
    max-width:1200px;
    font-size: 2.5rem; 
    line-height: 0.8;
    text-align: left;
}
#afcs-hero-text-thin-blue {
    font-weight: normal !important;
    position: relative;
    z-index: 2; 
    max-width:1200px;
    font-size: 50px !important; 
    line-height: 0.8;
    text-align: left;
    color:#005295 !important;
     text-shadow:none !important;
}

@media (max-width: 768px) {
    .afcs-hero-section {
        flex-direction: column;
        padding: 50px 50px 22px;
        height: auto; 
    }

    .afcs-hero-text {
        position: relative;
        z-index: 1;
        margin-bottom: 20px;
        text-align: center;
    }
    #afcs-hero-text-thin {
    font-weight: normal !important;
     position: relative;
        z-index: 1;
        margin-bottom: 20px;
        text-align: center;
}

    .afcs-hero-section img {
        display: block;
        width: 100%;
        object-fit: cover;
        max-height: 400px;
    }
}



/* Container for Mobile Hero Section */
.mobile-hero-container {
    display: none; 
}

/* Container for Desktop Hero Section */
@media (max-width: 768px) {
.desktop-hero-container {
    display: none; 
  }
}

/* Mobile Hero Heading Style */
.mobile-hero-heading {
    font-size: 28px !important; 
    font-weight: 700; 
    color: #005295; 
    text-transform: uppercase; 
    margin-bottom: 20px; 
    padding-left:22px;
    text-shadow:none;
}
.mobile-hero-heading-thin {
    font-size: 24px !important; 
    font-weight: normal !important; 
    color: #005295; 
    text-transform: uppercase; 
    margin-bottom: 20px; 
    padding-left:22px;
    text-shadow:none;
}

/* Mobile Hero Background Container */
.mobile-hero-background-container {
    width: 100%; 
    height: 300px; 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
    margin-bottom: 20px; 
}

/* Mobile Styles */
@media (max-width: 768px) {

    .mobile-hero-container {
        display: block; 
    }
    .mobile-hero-background-container {
        height: 200px; 
    }
    .afcs-mobile-title{
        font-size:22px !important;
    }
}






/* Container Styles */
.afcs-container-white,
.afcs-container-blue,
.afcs-container-gray,
.afcs-container-darkblue {
    width: 100%;
     padding: 40px 0;

}

.afcs-inner {
    max-width: 90%;
    padding: 0 320px; 
    margin: 0 auto;   
    box-sizing: border-box;
}
.afcs-container-white {
    background-color: #ffffff;
}

.afcs-container-blue {
    background-color: #005295;
    color: white;
}
.afcs-container-darkblue {
    background-color: #00192D;
    color: white;
}

.afcs-container-gray {
    background-color: #CCD1D5;
}

@media (max-width: 768px) {
    .afcs-container-white, .afcs-container-blue, .afcs-container-gray, .afcs-container-darkblue {
        padding: 22px 20px; 
    }
    .afcs-container-gray {
    margin-top:-40px;
   }
     .afcs-inner {
    padding: 0 20px; /* Reduced horizontal padding for mobile */
    max-width:100%;
  }
}

/* Heading Blue*/
.afcs-heading-blue {
    color: #005295 !important; 
    font-size: 32px; 
    font-weight: 700 !important; 
    text-transform:none;
}

@media (max-width: 768px) {
    .afcs-heading-blue {
        font-size: 20px; 
    }
}

/* Paragraph Blue */
.afcs-paragraph-blue {
    color: #005295 !important; 
    font-size: 20px; 
    font-weight: normal; 
    line-height: 24px; 

}

@media (max-width: 768px) {
    .afcs-paragraph-blue {
        font-size: 16px; 
    }
}



/* Heading Dark Blue*/
.afcs-heading-darkblue {
    color: #00192D !important; 
    font-size: 32px; 
    font-weight: 700 !important; 
    text-transform:none;
}

@media (max-width: 768px) {
    .afcs-heading-darkblue {
        font-size: 20px; 
    }
}

/* Paragraph Dark Blue */
.afcs-paragraph-darkblue {
    color: #00192D !important; 
    font-size: 20px; 
    font-weight: normal;
    line-height: 24px; 

}

@media (max-width: 768px) {
    .afcs-paragraph-darkblue {
        font-size: 16px; 
    }
}


/* Heading Black*/
.afcs-heading-black {
    color: #00192D !important; 
    font-size: 32px; 
    font-weight: 700 !important; 
     text-transform:none;
}

@media (max-width: 768px) {
    .afcs-heading-black {
        font-size: 20px; 
    }
}

/* Paragraph Black */
.afcs-paragraph-black {
    color: #00192D !important; 
    font-size: 20px ; 
    font-weight: normal;
    line-height: 24px; 
}

@media (max-width: 768px) {
    .afcs-paragraph-black {
        font-size: 16px; 
    }
}


/* Heading White*/
.afcs-heading-white {
    color: #ffffff !important; 
    font-size: 30px; 
    font-weight: 700 !important; 
     text-transform:none;
}

@media (max-width: 768px) {
    .afcs-heading-white {
        font-size: 18px; 
    }
}

/* Paragraph White */
.afcs-paragraph-white {
    color: #ffffff !important; 
    font-size: 20px !important; 
    font-weight: normal;
    line-height: 24px; 
}

@media (max-width: 768px) {
    .afcs-paragraph-white {
        font-size: 16px !important; 
    }
}


/* Container with Two colors top and Bottom */
.afcs-blue-white-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative; 
    margin-bottom: 120px;
}

.afcs-darkblue-white-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative; 
    margin-bottom: 120px;
    background-color: #ffffff; 
} 
.afcs-darkblue-gray-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative; 
    padding-bottom: 120px;
    background-color:#CCD1D5;
}

/* Top Blue Container */
.afcs-blue-top-container {
    background-color: #005295; 
    width: 100%;
    height: 160px; 
    padding: 40px; 
    box-sizing: border-box;
}
.afcs-darkblue-top-container {
    background-color: #00192D; 
    width: 100%;
    height: 200px; 
    padding: 40px; 
    box-sizing: border-box;
}

/* Bottom Color Container */
.afcs-white-bottom-container {
    background-color: white;
    width: 100%;
    padding: 20px; 
    box-sizing: border-box;
    position: relative;
}
.afcs-gray-bottom-container {
    background-color: #CCD1D5;
    width: 100%;
    padding: 20px; 
    box-sizing: border-box;
    position: relative;
}





/* Image Styling */
.afcs-white-bottom-container img {
    position: absolute; 
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%); 
/*    max-width: 80%; */
    height: auto;
    max-width:890px;
}
.afcs-gray-bottom-container img {
    position: absolute; 
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%); 
/*    max-width: 80%; */
    height: auto;
    max-width:850px;
}

/* Add margin below the container to avoid pulling up content */
.afcs-white-bottom-container {
    margin-bottom: 120px; 
}
.afcs-gray-bottom-container {
    margin-bottom: 120px; 
}





/* Responsive Styles */
@media (max-width: 768px) {
    .afcs-blue-top-container, .afcs-white-bottom-container, .afcs-darkblue-top-container, .afcs-gray-bottom-container  {
        padding: 20px; 
    }

    .afcs-white-bottom-container img {
        max-width: 90%; 
        transform: translate(-50%, 0); 
    }
    
    .afcs-white-bottom-container {
        margin-bottom: 50px; 
    }
     
      .afcs-gray-bottom-container img {
        max-width: 90%; 
        transform: translate(-50%, 0); 
    }
    
    .afcs-gray-bottom-container {
        margin-bottom: -90px; 
    }
      
    .afcs-blue-white-container {
        margin-bottom:-50px;
    }
    .afcs-darkblue-gray-container {
        margin-bottom:10px;
    }
    .afcs-blue-top-container {
        height:150px ;
    }
     .afcs-darkblue-top-container {
        height:180px ;
    }
    #mobile-container-spacing {
        margin-top:-20px;
    }
}

/* Two columns */
.afcs-two-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 20px; 
  padding: 10px 0px 0px 0px;
 }

@media (max-width: 768px) {
  .afcs-two-columns {
    grid-template-columns: 1fr; 
    gap: 0px; 
    padding: 5px 0px 5px 0px;
  }
  .mobile-column-two {
    margin-top: -25px !important; 
  }

}



/* Container for Two Columns */
.afcs-two-column-container {
    display: flex; 
/*   justify-content: center; */
    gap: 120px; 
/*    padding: 40px 136px; */
    box-sizing: border-box; 
    padding-bottom:20px;
}

.afcs-two-column-container img {
    width: auto; 
    height: auto; 
/*    max-width: 100%; */
}

.afcs-two-column-list {
    list-style-type: decimal !important; 
    margin-bottom: 10px; 
    padding: 0;
}

ol.afcs-two-column-list li {
    list-style-type: decimal !important; 
     margin-bottom: 10px; 
      font-size: 20px; 
    padding: 0;
    font-weight: normal;
}
ul.afcs-two-column-list li {
    list-style-type: none !important; 
     margin-bottom: 10px; 
      font-size: 20px; 
    padding: 0;
    font-weight:normal;
}

.white-list-heading {
    font-weight: 700 !important;
    font-size: 20px !important;
}


/* Mobile Styles */
@media (max-width: 768px) {
    .afcs-two-column-container {
        flex-direction: column; 
/*        padding: 10px; */
    }

  ol.afcs-two-column-list li {
        font-size: 16px; 
    }
  ul.afcs-two-column-list li {
        font-size: 16px; 
    }
    .afcs-two-column-container {
   gap: 50px;
   }
   .white-list-heading {
    font-weight: 700 !important;
    font-size: 18px !important;
  }
  ul.afcs-two-column-list.blue-lists.center-mobile-list {
      text-align:center !important;

      }
}

/** List colors **/

ul.afcs-two-column-list.blue-lists {
   color: #005295 !important;

}

ul.afcs-two-column-list.white-lists {
   color: #ffffff !important;
   
}

/* Hide mobile-only on desktop and show on mobile */
#mobile-only {
    display: none; 
}

@media (max-width: 768px) {
    #mobile-only {
        display: block; 
    }
}

/* Hide desktop-only on mobile and show on desktop */
#desktop-only {
    display: block; 
}

@media (max-width: 768px) {
    #desktop-only {
        display: none; 
    }
}




/* Parent container */
#afcs-container {
    position: relative; 
    width: 100%; 
}

/* AFCS Now Hiring Image for Desktop */
#afcs-now-hiring {
    position: relative; 
    left: -50px; 
    top: 0; 
    max-width: none; 
    width: auto; 
}

/* Mobile Styles */
@media (max-width: 768px) {
    #afcs-now-hiring {
        position: static; 
        margin-left: 0; 
        width: 100%; 
    }
}



/*Back to top button style*/

#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 14px;
  border: none;
  outline: none;
  background-color: #2f5399;
  color: white;
  cursor: pointer;
  padding: 5px;
  border-radius: 4px;
  width:120px;
  height:50px;
}

#myBtn:hover {
  background-color: #0f1932;
}

/** buttons **/
.button-container-center {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    text-align: center;
}
.bluebutton-radius {
 background-color: #005295;
  border-radius: 6px;
  width: 275px;
  height: 52px;
  display: inline-block;
/*  margin: 10px;*/
  color: white;
  text-align: center;
  line-height: 52px; 
  font-size: 20px; 
  text-decoration: none; 
  border: none; 
  cursor: pointer; 
  font-weight: bold; 
}
.bluebutton-radius a {
  font-weight:700 !important;
}
.bluebutton-radius:hover {
  background-color: #005295; 
}
.whitebutton-radius {
 background-color: #005295;
  border-radius: 6px;
  width: 275px;
  height: 52px;
  display: inline-block;
  margin: 10px;
  color: white;
  text-align: center;
  line-height: 52px; 
  font-size: 20px; 
  text-decoration: none; 
  border: none; 
  cursor: pointer; 
  font-weight: bold; 
}
.whitebutton-radius a {
  font-weight:700 !important;
}
.whitebutton-radius:hover {
  background-color: #005295; 
}

.whitebutton2-radius {
 background-color: #ffffff;
  border-radius: 6px;
  width: 275px;
  height: 52px;
  display: inline-block;
  margin: 10px;
  color: #005295 !important;
  text-align: center;
  line-height: 52px; 
  font-size: 20px; 
  text-decoration: none; 
  border: none; 
  cursor: pointer; 
  font-weight: bold; 
}
.whitebutton2-radius a {
  font-weight:700 !important;
  color: #005295 !important;
}
.whitebutton2-radius:hover {
  background-color: #ffffff; 
}

.bluebutton2-radius {
 background-color: #0E1114;
  border-radius: 6px;
  width: 275px;
  height: 52px;
  display: inline-block;
  margin: 10px;
  color: white;
  text-align: center;
  line-height: 52px; 
  font-size: 20px; 
  text-decoration: none; 
  border: none; 
  cursor: pointer; 
  font-weight: bold; 
}

.bluebutton2-radius a {
    font-weight:700 !important;
}
.bluebutton2-radius:hover {
  background-color: #0E1114; 
}
.bluebutton3-radius {
  background-color: #005295;
  border-radius: 6px;
  width: 275px;
  height: 52px;
  display: inline-block;
  color: white;
  text-align: center;
  line-height: 52px; 
  font-size: 20px; 
  text-decoration: none; 
  border: none; 
  cursor: pointer; 
  font-weight: bold; 
  transition: all 0.3s ease-in-out; 
}


.bluebutton3-radius a {
  font-weight: 700 !important;
  color: white; 
  text-decoration: none;
  border: none !important; 
}


.bluebutton3-radius:hover {
  background-color: transparent !important; 
  color: #005295 !important;
  border: 2px solid #005295; 
  border-radius: 6px;
}


.bluebutton3-radius:hover a {
  color: #005295 !important;
  border: none !important; 
}


/** special IDs **/
#center-text {
    text-align: center !important;
}


/** Special fonts **/
.equal-opportunity-text {
    font-size: 14px;
    margin-top:10px;
}
.footer-subscribe-center {
    font-size:30px;
    color: #ffffff;
    font-weight: 700 !important;
    text-align:center;
    text-transform:none !important;
    max-width: 700px;
}

/* Mobile Styles */
@media (max-width: 768px) {
   .equal-opportunity-text {
    font-size: 12px;
    margin-top:10px;
}
.footer-subscribe-center {
    font-size: 20px;
    }
    #center-text-mobile {
     text-align: center !important; 
   }
}

/** Image within a content container **/
.content-image {
    display: flex;
    justify-content: center; 
    align-items: center; 
    text-align: center;
    margin:0 auto;
}

.content-image img {
    height: auto;
    display: block;
    max-width: 850px; 
}
/* Content Image for mobile */
@media (max-width: 768px) {
   .content-image img {
    max-width: 500px; 
    height: auto; 
    display: block; 
    margin: 0 auto; 
  }
}

/** Video Container **/
.video-container {
    position: relative;
    width: 100%;
    max-width: 850px; 
    margin: 0 auto;
    padding-bottom: 30%; 
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.video-main-container {
    margin-top:20px;
    margin-bottom:70px;
}

/* Video Container for mobile */
@media (max-width: 768px) {
    .video-container {
        padding-bottom: 20px; 
        height: auto;
        margin-bottom:-35px;
    }
    .video-container iframe {
        position: relative;
        height: auto;
        aspect-ratio: 16/9; 
    }
}


/** Popup Style **/
.afcs-popup-content-blue {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #005295;
  padding: 51px 42px;
  max-width: 500px;
  width: 90%;
  color: #ffffff;
  text-align: center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  display: none;
}

.afcs-popup-heading-blue {
  font-size: 24px !important;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff;
  background: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

.afcs-popup-paragraph-blue {
  font-size: 20px;
  font-weight: normal;
  color: #ffffff;
}

@media screen and (max-width: 600px) {
  .afcs-popup-content-blue {
    padding: 30px 42px;
  }

  .afcs-popup-heading-blue {
    font-size: 20px !important;
  }

  .afcs-popup-paragraph-blue {
    font-size: 16px;
  }
}

/* Image container styling */
.afcs-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Image styling */
.afcs-image-img {
  height: auto;
  display: block;
}

/* Mobile responsiveness */
@media screen and (max-width: 767px) {
  .afcs-image-img {
    max-width: 100%;
    height: auto;
  }
}

/* heading with border */
.afcs-heading-bordered {
  text-transform: uppercase; 
  border-top: 5px solid #ED6B2D;
  border-bottom: 5px solid #ED6B2D;
  padding: 10px 0; 
  text-align: center;
}

.afcs-list-white {
  list-style-type: disc;       
  list-style-position: outside;
  padding-left: 30px;         
  margin-top: 15px;
  margin-bottom: 20px;
  color: #ffffff;              
  font-size: 20px;
  line-height: 24px;
  font-weight: normal;
}

.afcs-list-white li {
  margin-bottom: 10px;
  color: #ffffff; 
  list-style-type: disc !important;            
}

.afcs-list-white li::marker {
  color: #ffffff;              
  font-size: 1.2em;            /
}

/* Checklist two-column layout with checkmark icons */
.afcs-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 20px 40px;                        
  list-style: none;                      
  padding: 0;
  margin-top: 20px;
}

.afcs-checklist li {
  position: relative;
  padding-left: 35px;                   
  font-size: 20px;
  font-weight: normal;
  line-height: 24px;
  color: #00192D;                       
}

.afcs-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  background-image: url('/wp-content/uploads/2025/10/Checkmark_2.png');
  background-size: contain;
  background-repeat: no-repeat;
}
  
/* Mobile: stack into one column */
@media (max-width: 768px) {
  .afcs-checklist {
    grid-template-columns: 1fr;
  }
  .afcs-checklist li {
    font-size: 16px;
  }
  .afcs-list-white li {
    font-size:16px;
  }
}


/* Education Details list with 3 columns on desktop */
.afcs-list-black {
  list-style-type: disc;
  padding-left: 20px;
  margin-top: 15px;
  margin-bottom: 20px;
  color: #00192D;
  font-size: 20px;
  line-height: 26px;
  font-weight: normal;
  
  /* New grid layout */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 40px;
}

.afcs-list-black li {
  margin-bottom: 10px;
  list-style-type: disc !important;
}

/* Mobile: collapse to 1 column */
@media (max-width: 768px) {
  .afcs-list-black {
    grid-template-columns: 1fr;
    gap: 5px 0;
  }
  .afcs-list-black li {
    font-size: 16px;
  }
}
/* Three column grid for Education Details */
.afcs-three-col-grid {
  list-style-type: disc;
  padding-left: 20px;
  margin-top: 15px;
  margin-bottom: 20px;
  color: #00192D;
  font-size: 20px;
  line-height: 26px;
  font-weight: normal;

  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
  column-gap: 40px;
  row-gap: 10px;
}

.afcs-three-col-grid li {
  margin-bottom: 10px;
}

/* Collapse to 1 column on mobile */
@media (max-width: 768px) {
  .afcs-three-col-grid {
    grid-template-columns: 1fr;
  }
  .afcs-three-col-grid li {
    font-size: 16px;
  }
}



/* Heading with orange line */
.afcs-heading-with-line {
  display: flex;
  align-items: center;
  margin: 30px 0 14px;
}
.afcs-heading-with-line h2 {
  margin: 0;
  white-space: nowrap;
}
.afcs-heading-line {
  flex-grow: 1;
  height: 4px;
  background: #ED6B2D;
  margin-left: 15px;
}

/* Bottom orange divider under the list */
.afcs-section-divider {
  height: 4px;
  background: #ED6B2D;
  margin-top: 14px;
  width: 100%;
}

/* "Do Not Include" X list */
.afcs-xlist {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 20px 40px;
  list-style: none;
  padding: 0;
  margin-top: 20px;
}
.afcs-xlist li {
  position: relative;
  padding-left: 35px;
  font-size: 20px;
  font-weight: normal;
  line-height: 24px;
  color: #00192D;
}
.afcs-xlist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .15em;
  width: 22px;
  height: 22px;
  background-image: url('/wp-content/uploads/2025/10/RedX.png'); 
  background-size: contain;
  background-repeat: no-repeat;
}

/* Mobile collapse to 1 col */
@media (max-width: 768px) {
  .afcs-xlist {
    grid-template-columns: 1fr;
  }
  .afcs-xlist li {
    font-size: 16px;
  }
}




/* =========================================
   MOBILE FIXES AND LAYOUT ADJUSTMENTS
========================================= */

#mt--80desktop {
    margin-top:80px !important;
}

@media (max-width: 767px) {
  .afcs-white-bottom-container {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
 /* Pull Education section up on mobile */
  #mt--80mobile {
    margin-top: -80px !important;
  }
}