
    :root {
      --afpa-navy: #20466f;
      --afpa-navy-dark: #305992;
      --afpa-sky: #78b7e8;
      --afpa-accent-pink: #f0649c;
      --afpa-white: #ffffff;
      --afpa-grey-text: #f1f4f8;
      --tile-bg: #234068;
      --tile-bg-hover: #1f4470;
      --section-spacing: 3rem;
      --radius-lg: 18px;
      --radius-md: 12px;
      --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.18);
      --footer-soil-height: 90px; /* kept in case you want a separate soil band later */
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      font-family: inherit;
    }
    html {
        height: auto;
        overflow-y: auto;}
      
    html, body {
      font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
      font-weight: 400;
      line-height: 1.55;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    h1, h2, h3, h4, h5, h6 {
      font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
      font-weight: 700;
      line-height: 1.25;
      margin-top: 0;
    }

    h1 { font-size: 2.1rem; }
    h2 { font-size: 1.65rem; }
    h3 { font-size: 1.35rem; }
    h4 { font-size: 1.15rem; }
    h5 { font-size: 1rem; }
    h6 { font-size: 0.9rem; }

    p, li, span, div, section {
      font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
      font-weight: 400;
    }

    button,
    a.button,
    .cta-button,
    .tile,
    footer a {
      font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
      font-weight: 600;
      letter-spacing: 0.02em;
    }

    .nav-link,
    .section-title,
    .small-label,
    .uppercase-text {
      text-transform: uppercase;
      font-weight: 700;
      letter-spacing: 0.08em;
    }

    .tile-label {
      font-weight: 600;
      font-size: 0.95rem;
    }

    .footer-gov {
      font-weight: 400;
      font-size: 0.8rem;
      line-height: 1.4;
    }

    input, textarea, select {
      font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
      font-size: 1rem;
    }

    /* ---------------------------------------------------------
       Layout & Background - now using full background image
       --------------------------------------------------------- */

    body {
      background-color: var(--afpa-navy-dark);
      color: var(--afpa-grey-text);
    }


/*
.page-wrapper::before{
  content:"";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 520px; 

  background: url("../images/Layer 2 Background cloud only.png")
              center top / cover no-repeat;

  opacity: 0.9;
  z-index: 1; 
  pointer-events: none;
}
*/

/* Base wrapper */
/* ---------------------------------------------------------
   BACKGROUND LAYERS (clouds behind, plant in front)
   --------------------------------------------------------- */

.page-wrapper{
  position: relative;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 1.5rem 0 140px;
  background: #305992;
  overflow: hidden;
}


/* Clouds: background layer + fade-to-blue to remove the “line” */
.page-wrapper::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height: 520px;               /* hero sky height */
  pointer-events:none;
  z-index: 1;

  background:
    linear-gradient(to bottom,
      rgba(54,89,145,0) 50%,
      rgba(54,89,145,0.55) 78%,
      rgba(54,89,145,1) 100%
    ),
    url("../images/Layer 2 Background cloud only.png") center top / cover no-repeat;

  opacity: 0.9;
}

/* Plant: foreground layer (FULL HEIGHT) + RESPONSIVE WIDTH */
.page-wrapper::after{
  content:"";
  position:absolute;
  inset: 0 auto 0 auto;
  top: 0;
  bottom: 0;

  /* shift the whole layer right */
  right: 0;

  /* container scales with viewport */
  width: clamp(340px, 60vw, 920px);

  pointer-events:none;
  z-index: 2;

  background: url("../images/Plant Image.png") no-repeat;
  background-position: right center;

  /* Desktop behavior: full height */
  background-size: auto 100%;
}

/* Dirt: foreground layer */
.page-bottom::after{
  content:"";
  position:absolute;
  inset: 0 0 0 0;
  bottom: 0;

  /* container scales with viewport */
  width: 100vw;

  pointer-events:none;
  z-index: 3;

  background: url("../images/Layer 1 Soil.png") no-repeat;
  background-position: bottom center;

  /* Desktop behavior: full height */
  background-size: auto auto;
}

/* When screen gets smaller, stop forcing full-height */
@media (max-width: 1600px){
  .page-wrapper::after{
    /* This prevents clipping */
    /*background-size: contain; */

    /* keep it anchored so it doesn't drift */
    background-position: right top;
    
    width: 100%;
  }
}

/* Optional: on really small screens, push it further right */
@media (max-width: 768px){
  .page-wrapper::after{
    right: -220px;
   /* width: clamp(240px, 78vw, 640px);*/
  }
}


    /* removed .page::after plant image, since background now provides plant & soil */

    header,
    main {
      position: relative;
      z-index: 3;
    }

    header {
      text-align: center;
      margin-bottom: 1rem;
    }

    .teamworks-logo {
      display: inline-flex;
      flex-direction: column;
      align-items: center;
      gap: 0.6rem;
      margin-bottom: 1.25rem;
    }

    /* New logo image */
    .teamworks-logo-img {
      display: block;
      max-width: 560px;
      width: 100%;
      height: auto;
    }
    
    @media (max-width:767px) {
      .teamworks-logo-img {max-width: 260px;}
    }
    
    @media (min-width:767px) {
      .teamworks-logo-img {padding-top: 80px;}
    }

    .teamworks-tagline {
      font-size: 0.95rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      padding: 0.25rem 1.25rem;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.35);
      background: rgba(15, 26, 43, 0.45);
      backdrop-filter: blur(4px);
    } 
        
    @media (min-width:767px) {
    	.hero {
    		border-top: solid 10px #234068;
  		margin-top: 110px;    
  		margin-left: -100vw;
    		margin-right: -100vw;
    	}
    }
    
    @media (max-width:1000px) {
    	.hero { 
  		 margin-left: 0vw;
    		margin-right: 0vw;
    	}
    }  

    /* Hero info panel */
    .hero-panel {
      position: relative;
      z-index: 4;
      /*background: linear-gradient(
        135deg,
        rgba(16, 32, 61, 0.94),
        rgba(28, 67, 118, 0.96)
      );*/
      border-radius: var(--radius-lg);
      padding: 1.75rem 1.75rem 1.9rem;
      /*box-shadow: var(--shadow-soft);*/
      max-width: 920px;
      margin: 0 auto;
    }

    .hero-heading {
      font-size: 1.6rem;
      font-weight: 700;
      margin-bottom: 0.75rem;
    }

    .hero-body {
      font-size: 1rem;
      line-height: 1.5;
      margin-bottom: 0.85rem;
    }

    .hero-body strong {
      font-weight: 600;
    }

    .hero-focus {
      font-size: 0.93rem;
      margin-top: 0.5rem;
    }

    .hero-focus ul {
      list-style: disc;
      padding-left: 1.2rem;
      margin-top: 0.4rem;
    }

    .cta-wrapper {
      margin: 1.3rem 0 2rem;
      position: relative;
      z-index: 3;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .cta-button {
      display: inline-block;
      padding: 0.9rem 2.4rem;
      background: #f0649c;
      color: var(--afpa-white);
      font-weight: 700;
      font-size: 0.98rem;
      text-decoration: none;
      box-shadow: 0 9px 22px rgba(0, 0, 0, 0.25);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      border: none;
      cursor: pointer;
      transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        opacity 0.15s ease;
      border-radius: 30px;
    }

    .cta-button:hover,
    .cta-button:focus-visible {
      transform: translateY(-1px);
      box-shadow: 0 13px 30px rgba(0, 0, 0, 0.3);
      opacity: 0.95;
    }

    .cta-button:active {
      transform: translateY(0);
      box-shadow: 0 5px 12px rgba(0, 0, 0, 0.25);
    }

    .sections {
      margin-top: 0.5rem;
      position: relative;
      z-index: 3;
      padding-bottom: 2.5rem;
    }

    .section-block {
      margin-top: var(--section-spacing);
      max-width: 780px;
      margin-left: auto;
      margin-right: auto;
    }

    .section-title {
      font-size: 1.4rem;
      font-weight: 700;
      text-align: center;
      margin-bottom: 1.2rem;
      text-transform: none;
      color: var(--afpa-white);
    }

    .tiles-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1.1rem;
      max-width: 640px;
      margin: 0 auto;
    }

    .tile {
      background: var(--tile-bg);
      border-radius: 20px;
      padding: 1.1rem 0.9rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      text-decoration: none;
      color: var(--afpa-grey-text);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
      cursor: pointer;
      transition:
        background 0.18s ease,
        transform 0.18s ease,
        box-shadow 0.18s ease,
        opacity 0.18s ease;
      width: 202px;
      height: 166px;
    }

  @media (max-width:767px) {
    .tile {
      margin:0 auto;
      width:80%;
  }
}

    .tile:hover,
    .tile:focus-visible {
      background: var(--tile-bg-hover);
      transform: translateY(-2px);
      box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
    }

    .tile:active {
      transform: translateY(0);
      box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
    }

    .tile-icon {
      margin-bottom: 0.55rem;
      font-size: 1.5rem;
      opacity: 0.9;
    }

    .tile-under-plant {
      position: relative;
      z-index: 1;
      opacity: 0.88;
    }
    
    .layer1-icons {
      height:65px;
    }

    /* Footer - soil band removed because soil is in background image */
    footer {
      position: relative;
      z-index: 3;
      padding: 1.1rem 0 2rem;
      margin-top: 1.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      flex-wrap: wrap;
      font-size: 0.85rem;
      color: rgba(255, 255, 255, 0.85);
      background-color: transparent;
      overflow: hidden;
    }

    footer::before {
      content: none;
    }
    
    .footer-logos {
      display:flex;
      align-items: center;
      justify-content:center;
      width:100%;
    }

    .footer-developed {
      display: flex;
      align-items: center;
      gap: 0.55rem;
      font-weight: 600;
      justify-content: center;
      width: 100%;
    }

    .footer-logo {
      height: 26px;
      width: auto;
      display: block;
    }

    .footer-big-logo {
      height: 65px;
      width: auto;
      display: inline-flex;
      margin: 0 25px;
    }

    .footer-gov {
      font-size: 0.75rem;
      opacity: 0.9;
      width:100%;
      text-align:center;
    }
    
    @media (max-width:767px) {
    .footer-big-logo {
    	height:55px;
    }
    .footer-gov {
    	padding:0 5px;
    }
    }

    /* Responsive tweaks */
    @media (max-width: 900px) {
      .page-wrapper {
        background-position: right top;
      }
    }

    @media (max-width: 768px) {
      .hero-panel {
        max-width: 90%;
      }

      .tiles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 560px) {
      header {
        margin-bottom: 0.6rem;
      }

      .teamworks-tagline {
        font-size: 0.78rem;
        padding-inline: 0.9rem;
      }

      .tiles-grid {
        grid-template-columns: 1fr;
      }

      footer {
        flex-direction: column;
        align-items: flex-start;
      }
    }