/* ============= 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: 2.5rem; 
    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;
    }
}



/* Default: Hide mobile hero, show desktop */
.mobile-hero-container {
  display: none;
}

.desktop-hero-container {
  display: block;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
  .mobile-hero-container {
    display: block;
  }

  .desktop-hero-container {
    display: none;
  }

  .mobile-hero-background-container {
    height: 200px;
  }

  .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;
    margin-top: -15px;
  }

  .afcs-mobile-title {
    font-size: 22px !important;
  }

  .mobile-hero-background-container {
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 20px;
  }
}

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

}

.afcs-inner {
    max-width: 95%;
    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: 400 !important; 
    line-height: 26px; 

}

@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: 22px; 
    font-weight: 400 !important; 
    line-height: 26px; 

}

@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: 400 !important; 
    line-height: 24px; 
}

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


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

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

/* Paragraph White */
.afcs-paragraph-white {
    color: #ffffff !important; 
   font-size: 1.4em !important;
    font-weight: normal; 
    line-height: 33px; 
    margin-bottom: 40px;
    letter-spacing: 0.04em;
}

@media (max-width: 768px) {
    .afcs-paragraph-white {
        font-size: 16px !important; 
        line-height:28px;
        margin-bottom: 30px;
    }
  
}


/* 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-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;
    }
}

/* === Grid Layout: Two and Three Columns === */
.afcs-two-columns,
.afcs-three-columns {
  display: grid;
  gap: 20px;
  padding: 10px 0 0;
}

.afcs-two-columns {
  grid-template-columns: repeat(2, 1fr);
}

.afcs-three-columns {
  grid-template-columns: repeat(3, 1fr);
}

/* === Flex Layout Containers === */
.afcs-two-column-container,
.afcs-three-column-container {
  display: flex;
  flex-wrap: nowrap;
  gap: 120px;
  box-sizing: border-box;
  padding-bottom: 20px;
  width: 100%;
}

/* Flex widths for specific 3-column layout */
.afcs-three-column-container .afcs-three-column-list-container:nth-child(1) { flex: 1.1; }
.afcs-three-column-container .afcs-three-column-list-container:nth-child(2) { flex: 1.4; }
.afcs-three-column-container .afcs-three-column-list-container:nth-child(3) { flex: 1.5; }

/* === Base List Styling (All Lists) === */
ul.afcs-two-column-list,
ul.afcs-three-column-list {
  margin: 0;
  padding: 0;
}

/* === Column Layout Lists + White Text (DESKTOP) === */
ul.afcs-two-column-list.afcs-paragraph-white,
ul.afcs-three-column-list.afcs-paragraph-white {
  list-style: none !important;
  text-align: center;
}

ul.afcs-two-column-list.afcs-paragraph-white li,
ul.afcs-three-column-list.afcs-paragraph-white li {
  list-style: none !important;
  text-align: center;
 color: #ffffff !important;
    font-size: 19px !important;
    font-weight: normal;
    line-height: 22px;
    margin-bottom: 10px;
    letter-spacing: 0.04em;
 
}

/* === Color Variants === */
ul.afcs-two-column-list.blue-lists {
  color: #005295;
}

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

/* === Section Headings === */
.white-list-heading {
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 10px;
}

/* === Default Unordered Lists in Colored Containers === */
.afcs-container-blue ul,
.afcs-container-darkblue ul {
  list-style-type: disc !important;
  padding-left: 20px;
  margin-left: 0;
  font-weight: 400 !important;
}

.afcs-container-blue ul li,
.afcs-container-darkblue ul li {
   color: #ffffff !important; 
   font-size: 1.4em !important;
    font-weight: normal; 
    line-height: 30px; 
    margin-bottom: 10px;
    letter-spacing: 0.04em;
  list-style-type: disc !important;
  
}

/* === MOBILE STYLES (≤768px) === */
@media (max-width: 768px) {
  /* Grid stacks */
  .afcs-two-columns,
  .afcs-three-columns {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px 0 20px;
  }

  /* Flex stacks with no gap between columns */
  .afcs-two-column-container,
  .afcs-three-column-container {
    flex-direction: column;
    gap: 0 !important;
    margin: 0 auto;
    padding: 0 20px 10px;
    box-sizing: border-box;
    width: 100%;
    align-items: stretch;
  }

  .afcs-two-column-list-container,
  .afcs-three-column-list-container {
    width: 100%;
  }

  /* Column layout lists + white text (MOBILE) */
  ul.afcs-two-column-list.afcs-paragraph-white,
  ul.afcs-three-column-list.afcs-paragraph-white {
    list-style: disc !important;
    text-align: left !important;
    padding-left: 20px;
    margin: 0;
  }

  ul.afcs-two-column-list.afcs-paragraph-white li,
  ul.afcs-three-column-list.afcs-paragraph-white li {
    list-style: disc !important;
    text-align: left !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: normal;
    line-height: 22px;
    margin-bottom: 10px;
    letter-spacing: 0.04em;
  }

  /* Default list items inside blue/darkblue containers */
  .afcs-container-blue ul li,
  .afcs-container-darkblue ul li {
     color: #ffffff !important;
    font-size: 16px !important;
    font-weight: normal;
    line-height: 22px;
    margin-bottom: 10px;
    letter-spacing: 0.04em;
  }

  /* Optional override */
  .mobile-column-two {
    margin-top: 0;
  }
}










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

@media (max-width: 768px) {
    #mobile-only {
        display: block; 
        list-style: none !important;
    }
}

/* 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: bold; 

}
.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; 
}
/* Mobile Styles */
@media (max-width: 768px) {
  .bluebutton3-radius a {
    font-size: 16px !important;
  }

.bluebutton2-radius a {
    font-size: 16px !important;
  }


.whitebutton2-radius a {
    font-size: 16px !important;
  }


 .whitebutton-radius a { 
   font-size: 16px !important;
  }
}
  

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

/** 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;
  }
}


/* Spacer Utility Classes */
.spacer-10 {
  height: 10px;
  width: 100%;
  display: block;
}

.spacer-20 {
  height: 20px;
  width: 100%;
  display: block;
}
/* === SINGLE FULL TEXTURE BLOCK === */
.afcs-texture-wrapper {
  position: relative;
  z-index: 1;
}

.afcs-texture-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/wp-content/uploads/2025/07/afintern_careerpage_background2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.16; 
  z-index: 0;
  pointer-events: none;
}

.afcs-texture-wrapper .afcs-inner {
  position: relative;
  z-index: 1;
}
/* === DOUBLE TEXTURE BLOCK (TOP + BOTTOM ONLY) === */
.afcs-double-texture-wrapper {
  position: relative;
  z-index: 0;
  overflow: hidden;
}

/* Top texture */
.afcs-double-texture-wrapper::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 400px;
  background-image: url('/wp-content/uploads/2025/07/afintern_careerpage_background2.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  opacity: 0.3; /* Top opacity */
  pointer-events: none;
  z-index: 1;
  top: -60px;
/* Fade-out at the bottom */
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

 
/* Bottom texture */
.afcs-double-texture-wrapper::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 400px;
  background-image: url('/wp-content/uploads/2025/07/afintern_careerpage_background2.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom center;
  opacity: 0.08; /* Bottom opacity */
  pointer-events: none;
  z-index: 1;
  bottom: -60px;
  transform: scaleY(-1);

  /* Fade-out at the top */
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

/* Inner content stays above textures */
.afcs-double-texture-wrapper .afcs-inner {
  position: relative;
  z-index: 2;
}
@media (max-width: 768px) {
  /* === SINGLE TEXTURE BLOCK === */
  .afcs-texture-wrapper::before {
    background-size: auto;
    background-position: center center;
    background-repeat: repeat;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*height: 100%; 
    width: 100%; */
    opacity: 0.16;
  }

  /* === DOUBLE TEXTURE BLOCK === */
  .afcs-double-texture-wrapper::before,
  .afcs-double-texture-wrapper::after {
    width: 100vw; /* Force full screen width */
    background-size: cover !important;
    background-repeat: no-repeat;
    left: 0;
    right: 0;
  }

  .afcs-double-texture-wrapper::before {
    /*top: -40px;
   height: 160px;*/
    opacity: 0.2;
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  }

  .afcs-double-texture-wrapper::after {
   /* bottom: -40px;
    height: 160px; */
    opacity: 0.1;
    -webkit-mask-image: linear-gradient(to top, black 60%, transparent 100%);
    mask-image: linear-gradient(to top, black 60%, transparent 100%);
  }


}
