@font-face {
  font-family: 'Mercury Display';
  src: url('https://go2.enrollmentfuel.com/rs/994-KED-496/images/Mercury Display Roman.otf') format('otf');
  font-weight: normal;
  font-style: normal;
}

  :root{
    --navy:#092A45;
    --gold:#fcc917;
    --gold-line:#fcc917;
    --text:#ffffff;
    --maxw: 1200px;

    --rail: 180px;   /* mobile label width */
    --line: 180px;   /* mobile vertical line position */
  }

html, body {
  font-family: 'Mercury Display', Georgia, Arial, serif;
  background-color: #002855;
  overflow-x: hidden;
   .wrap{max-width:var(--maxw); margin:0 auto; padding:24px 0 48px}

  ul{margin:.5rem 0 0 1.5rem; padding:0}
  li{margin:.35rem 0; font-size:18px; color:#fff;}
}

label {
  font-family: Arial, Helvetica, sans-serif;
}

.img-container {
  position: relative; /* so child positioning is relative to this */
  height: 500px; /* or whatever you need */


}

.img-container img {
  position: absolute;
  bottom: 0;  /* stick to bottom */
  left: 30%;  /* optional center horizontally */
  transform: translateX(-50%); /* optional center horizontally */
  width: 100%;
}

.form-select {
    color: gray; /* default gray for placeholder */
}

.form-select option {
  color: #000;
}

.journey {
    background-color: #fff;
    margin: 50px 0;
    
}

.journey h2{
    color: #002855;
    line-height: 36px;
    font-size: 28px;
    text-align: center;
    font-weight: 600;
    
}

.journey p {
    font-size: 21px;
    font-weight: 500;
    line-height: 29px;
    text-align: center;
}

.desktop-hide{
  display:none;
}

.why-point {
    padding: 30px 0 10px ;
    background-color: #fcc917;
}

.why-point h2{
    color: #002855;
    font-size: 28px;
    font-weight: 600;
    line-height: 29px;
    text-align: center;
}

.icon p {
  font-size: 21px;
  color:#002855;
  line-height: 21px;
}

.move-forward {
  background-image: url("https://go2.enrollmentfuel.com/rs/994-KED-496/images/movreforward.jpg");
  background-repeat: no-repeat;
  width:100%;
  background-size: cover;
  min-height: 555px;
}

.flexible-container {
  position: relative;
  height: 500px;
}
.flexible-container img {
position: absolute;
  top: 50%;    /* move to vertical center */
  left: 30%;   /* move to horizontal center */
  transform: translate(-50%, -50%); /* pull back by half width & height */
}

.body-text {
    background-color: #fff;
    margin: 50px 0;
    padding: 0 80px;
    
}
.body-text p{
    font-size: 21px;
    font-weight: 500;
    line-height: 29px;
    text-align: left;
}

.learn-btn{
    text-align: center;
    padding-top: 40px;
}
.learn-more{
    padding: 10px 100px;
    border-radius: 5px;
    background-color: #fcc917;
    text-decoration: none;
    color: #000;
    font-size: 18px;
    line-height: 21.6px;
    font-weight: 700;
   
}

.learn-more a:hover{
  color:#002855;
}

.degrees {
  background-color: #002855;
  padding: 50px 100px 10px;
}
.degrees h2{
    color: #fcc917;
    font-size: 28px;
    font-weight: 500;
    line-height: 36px;
    text-align: center;
}

.degrees p {
  color: #fff;
  font-size: 21px;
  font-weight: 500;
  text-align: center;
  padding: 0 60px;
}

.degrees a {
  color: #fff;
}

.degrees a:hover {
  color:#fcc917
}

.mobile-hide {
  display: block;
}
@media (min-width: 1400px) {
  .headerpos{
    min-height: 700px; /* taller for big monitors */
  }
  .move-forward {
    min-height: 700px; /* taller for big monitors */
  }

  .flexible-container {
        min-height: 700px; /* taller for big monitors */

  }
}

@media (max-width: 600px) {
  .img-container img{
    width: 378px;
  }

  .flexible-container img {

  }
}

.mobile{
    position:relative;
    padding-left:var(--rail);
  }
.mobile::before {
  content:"";
  position:absolute;
  top:-40px;    /* extend 10px above */
  bottom:-40px; /* extend 10px below */
  left:var(--line);
  width:2px;
  background:var(--gold-line);
}

  .block{ position:relative; margin:0 0 28px 0; }
  .side-label{
    position:absolute; top:0; left:0;
    transform: translateX(calc(-1 * var(--rail)));
    background:var(--gold); color:#111; font-weight:700;
    padding:.6rem 1rem; font-size:1.75rem;
    border-radius:0;
    box-sizing:border-box; width:var(--rail);
  }
  /* shift bullet points to the right so they don't touch the line */
  .mobile ul { padding-left: 1.5rem; }

  @media (max-width:420px){
    :root{ --rail:150px; --line:150px; }
    li{font-size:1.25rem}
    .side-label{font-size:1.4rem}
  }

  /* ===== DESKTOP ONLY (leave mobile untouched) ===== */
.desktop{ display:none }

@media (min-width:992px){
  .wrap{padding:64px 32px 96px}
  .mobile{display:none}
  .desktop{display:block}

  /* pill sits ON the line, centered */
  .bar{
    position:relative;
    display:flex;
    justify-content:center;   /* centers the pill */
    align-items:flex-end;      /* align pill to the line */
    margin:0 0 18px;
    padding-top:12px;          /* room above pill */
  }
  .bar::before{
    content:"";
    position:absolute;
    left:0; right:0;
    bottom:0;                  /* line at bottom of the bar */
    height:2px;
    background:var(--gold-line);
    z-index:0;                 /* behind the pill */
  }
  .pill{
    background:var(--gold);
    color:#111;
    font-weight:600;
    border-radius:6px 6px 0 0;
    padding:.55rem 1.25rem;
    font-size:1.75rem;
    position:relative;
    z-index:1;
    margin-bottom:0;        /* makes the pill touch the line */
  }

  .grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:28px 56px;
    padding:24px 22px 36px;
    border-bottom:2px solid var(--gold-line);  /* top line is provided by .bar */
  }
  .grid ul, .grid-2 ul{ margin:0 0 0 1.25rem }
  .grid li, .grid-2 li{ font-size:18px }
  .spacer{ height:34px }

  .grid-2{
        display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:28px 56px;
    padding:24px 22px 36px;
    border-bottom:2px solid var(--gold-line); 
  }

  .grid-3 {
   display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:28px 56px;
    padding:24px 22px 36px;
  }
}

.community {
  padding-top: 50px;
}

.community h3{
    color: #fcc917;
    font-size: 28px;
    font-weight: 500;
    line-height: 36px;
    text-align: center;
}

.grid-desktop-hide {
  display:none;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns on desktop */
  gap: 10px;
}

.image-grid .item {
  overflow: hidden;
}

.image-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* keeps aspect ratio cropped */
  border-radius: 8px;
}

/* Make first & last images taller */
.image-grid .tall {
  grid-row: span 2; /* spans 2 rows */
}

/* Mobile layout */
@media (max-width: 780px) {
  .image-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    
  }

  .image-grid .tall {
    grid-row: span 2; /* images 1 & 4 stay taller */
    
  }


}





.footer {
  text-align: center;
  background-color: #002855;
}

.footer-img-1{
  padding-bottom: 20px;
}


.footer-text{
  color: #fff;
  font-weight: 500;
  font-size: 28px;
  line-height: 36px;
}


.footer-address{
text-align: center;
margin-top:80px;

}

.footer-address::before,
.footer-address::after {
  content: "";
  display: block;
  width: 200px;        /* fixed line width */
  height: 1px;         /* line thickness */
  background: #fcc917;    /* line color */
  margin: 0 auto;   /* centers the line */
}

.footer-address .address {
margin: 12px 0; 
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  
}

.space {
  padding: 5px;
}
.footer-btn {
  
    padding: 8px 10px;
    border-radius: 5px;
    background-color: #002855;
    text-decoration: none;
    color: #fcc917;
    border: 2px solid #fcc917;
    font-size: 21px;
    line-height: 29px;
    font-weight: 500;
    width: 200px;
    margin: 0 auto;
    
}

.footer-icons {
  padding: 30px 0;
}


/*Phones*/
@media (max-width: 600px) {

  .headerpos {
        background-image: url("https://go2.enrollmentfuel.com/rs/994-KED-496/images/hero_m.jpg")!important;
        height: 540px;
        max-width: 100%!important;
        background-size: cover;
        background-position: center;
        background-position-y: top;
  }

  .form-group {
  padding: 20px 0 60px!important;
}
  .img-container img{
    width: 378px;
    top:60%;  /* stick to bottom */
  left: 52%;  /* optional center horizontally */
  transform: translateX(-50%); /* optional center horizontally */

  }

  .sticky-top{
    border-radius: 0!important;
  }

  .desktop-hide{
  display:block;
}

.mobile-hide{
  display:none;
}
.journey p{
  padding: 0 10px;
  text-align: left;
}

.move-forward {
  background-image: url("https://go2.enrollmentfuel.com/rs/994-KED-496/images/movreforward_m.jpg");
  background-repeat: no-repeat;
  width:100%;
  background-size: cover;
  min-height: 482px;
}

.flexible-container img {
position: absolute;
  top:15%;    /* move to vertical center */
  left: 50%;   /* move to horizontal center */
  transform: translate(-50%, -50%); /* pull back by half width & height */
  
}

.body-text {
    background-color: #fff;
    margin: 25px 0;
    padding: 0 15px;
    
}
.body-text p{
    font-size: 21px;
    font-weight: 500;
    line-height: 29px;
    text-align: left;
}

.learn-more {
  padding: 10px 130px;
}

.degrees {
  padding: 50px 0 10px;
}

.degrees h2 {
  text-align: left;
  padding: 0 20px;
}

.degrees p{
  padding: 0 20px 50px;
  text-align: left;
}

.community {
  padding: 10px;
}

.grid-desktop-hide {
  display:block;
}

.grid-mobile-hide {
  display:none;
}




}

/*Small phones*/

@media (max-width: 380px){
  .flexible-container img{
    width: 95%;
  }

  .learn-more {
  padding: 10px 105px;
}

}

/*tablets*/
@media (min-width: 600px) and (max-width: 990px) {
  /* Styles for tablets */
  .desktop-hide{
  display:block;
}

.grid-desktop-hide {
  display:none;
}

.mobile-hide{
  display:none;
}

.grid-mobile-hide{
  display:block;
}
.move-forward {
  background-image: url("https://go2.enrollmentfuel.com/rs/994-KED-496/images/movreforward_m.jpg");
  background-repeat: no-repeat;
  width:100%;
  background-size: cover;
  min-height: 555px;
}

.flexible-container img {
position: absolute;
  top:15%;    /* move to vertical center */
  left: 50%;   /* move to horizontal center */
  transform: translate(-50%, -50%); /* pull back by half width & height */
  width: 70%;
  
}

.degrees p {
  padding-bottom: 40px;
}

  .img-container img{
    
    top:60%;  /* stick to bottom */
  left: 40%;  /* optional center horizontally */
  transform: translateX(-50%); /* optional center horizontally */

  }
}