 
/* Container */
.page-wrapper {
  max-width: 1222px;
  margin: 0 auto;
  background-color: var(--bg-white);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border-radius: 4px;
  font-family: "Montserrat", Sans-serif;
}  



.top_home_wrapper .hero-content{
    background: url('../home/hero_bg.png');
        background-size: cover;
    
}
.top_home_wrapper .school-leavers-hero{
    padding:0px
}
.top_home_wrapper .stats{ 
    grid-template-columns: repeat(7, 1fr);     
    background: #0b1218; 
    padding: 15px 5px;  
    font-size: 25px;  
    min-height: 172px;
    margin:-66px 0px 0px 0px;
   border: 1px solid #0b1218;
}

.top_home_wrapper .stat b:after{
       content: "";
    position: absolute;
    border-bottom: 3px solid #b47932;
    width: 50px;
    height: 13px;
    text-align: center;
    margin: 0 auto;
    display: block;
}

.top_home_wrapper .stat strong, .top_home_wrapper .stat b, .top_home_wrapper .stat p{
    color: #fff;
}
.top_home_wrapper .stat b{
    font-size: 12px;
}
.top_home_wrapper .stat p{
    font-size: 11px;
    padding:0px 2px;
    margin-top: 29px;
}
.top_home_wrapper .stat strong{
 font-size: 20px;
 text-transform: uppercase;
 vertical-align: top;
}
.top_home_wrapper .stat {
    padding: 0px 10px;
    gap: 6px;
    border-right: 1px solid #696965;
}
.top_home_wrapper .hero-text{
    width: 38%;
    padding-left:15px;
        padding-top: 15px;
}
.top_home_wrapper .hero-image{
    width: 62%;
}
.top_home_wrapper .feature{
    padding: 0px 2px;
}
.top_home_wrapper .hero-text h1{
    font-weight: 700;
    font-size: 45px;
}
.top_home_wrapper .hero-buttons{
    gap: 6px;
}
.top_home_wrapper p.sixth_class{
    margin-top: 25px;
}

 
.top_home_wrapper .features{
    margin-top: 34px;

}
/* Hidden background overlay covering the full screen */
.popup-overlay {
  display: none; 
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Dimmed background */
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* The actual popup box */
.popup-box {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  width: 400px;
  max-width: 90%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  text-align: center;
}

/* Close icon 'X' */
.close-btn {
    position: absolute;
    top: 5px;
    right: 2px;
    font-size: 25px;
    cursor: pointer;
    color: #fff;
    background: #f25200;
    height: 29px;
    width: 29px;
    line-height: 29px;
    border-radius: 100%;
    font-weight: 600;
}

/* Class applied by JS to reveal the popup */
.popup-overlay.open {
  display: flex;
}


 .school-leavers-hero {
    position: relative;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 0px 30px 30px;
    background: #fff;
    font-family: "Montserrat", Sans-serif;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: stretch;
    min-height: 400px;
}

.hero-text {
    width: 50%;
    padding: 35px 10px 20px 5px;
    position: relative;
    z-index: 2;
 
}

.eyebrow_text {
    display: block;    
    color: #247348;
    font-size: 24px;
    font-weight: 600;    
  font-family: 'FreeStyle Script', cursive;
 letter-spacing: 3px;
 
}

.hero-text h1 {
    margin: 0;
    color: #000;
    font-size: 48px;
    line-height: 1.05;
    font-weight: bolder;
    font-family: 'Anton', sans-serif;
        text-transform: uppercase;
}

.hood_less_jumpers_wrapper .hero-text h1 {
    font-size: 44px !important;
}

.hero-text h1 strong {
    color: #04ab31;
        font-weight: bolder;
    font-family: 'Anton', sans-serif;
    font-size:35px;
}
.polycotton_wrapper .hero-text h1 strong{
     
}

.hero-text p {
    margin: 1px 0;
    color: #183c2d;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 600;
}

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 11px;
}

.feature {
    min-height: 75px;
    padding: 0 10px;
    text-align: center;
    border-right: 1px solid #ddd;
    color: #124c32;
}

.feature:last-child {
    border-right: 0;
}

.feature .icon {
    display: block;
    font-size: 26px;
    margin-bottom: 0px;
}

.feature strong,
.feature small {
    display: block;
    font-weight: 600;
}

.feature strong {
    font-size: 12px;
}

.feature small {   
    font-size: 11px;
    line-height: 1.3;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-top: 13px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;     
    padding: 0 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    min-height: 42px;
}

.btn-orange {
    color: #fff;
    background: #ff6b0b;
}

.btn-orange span {
    margin-left: 10px;
    font-size: 20px;
   font-family: monospace;
    line-height: inherit;
}

.btn-outline {
    color: #164c34;
    border: 2px solid #164c34;
    background: #fff;
    font-weight: 700;
}

.hero-image {    
    position: relative;
    overflow: hidden;
        width: 62%;
}

 


.hero-image img {
    width: 100%; 
    display: block;
    object-fit: cover;
    object-position: center;
}

/* Bottom statistics */

.stats {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: -2px;
    padding: 25px;
    background: #f7fcf8;
    border: 1px solid #e4e9e5;
    border-radius: 15px;
    box-shadow: 0 3px 8px rgba(0,0,0,.12);
    margin-right: 30px;
    margin-top: -15px;
    font-family: "Montserrat", Sans-serif;
}

.stat {
    display: flex;
    align-items: flex-start;
    gap: 19px;
    padding: 0 22px;
    border-right: 1px solid #d7ded9;
    position: relative;
    padding-bottom: 60px;
}

.stat:last-child {
    border-right: 0;
    padding-right: 32px;     
}
.stat:nth-child(3) {   
     
}
.third_item{
    padding-top: 49px !important;

}
.fourth_item{
     padding-top: 46px !important;
}


.stat-icon {
    flex-shrink: 0;
    color: #064c2e;
    font-size: 34px;
    line-height: 1;
}

.stat strong {
    display: inline-block;
    margin-right: 5px;
    color: #ff6b0b;
    font-size: 41px;
    font-weight: 600;
    line-height: 37px;
   
}

.stat b {
    display: block;
    color: #064c2e;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 600;
    
}

.stat p {
    margin: 10px 0 0;
    color: #305344;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 600;
       position: absolute;
    width: 100%;
    left: 0;
    margin: 10px auto;
    text-align: center;
    padding: 10px 15px 0px 15px;
}

/* Tablet */

@media (max-width: 900px) {
    .school-leavers-hero {
        padding: 0 10px 0px 10px;
    }

    .hero-content {
        min-height: 350px;
    }

    .hero-text h1 {
        font-size: 34px;
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .feature {
        border-right: 0;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat:nth-child(2) {
        border-right: 0;
    }
}

/* Mobile */

@media (max-width: 600px) {
    .hood_less_jumpers_wrapper .hero-text h1 {
        font-size: 30px !important;
    }
     .hero-text h1 strong{
      font-size:inherit;
     }
    .fourth_item, .third_item{
    padding-top:15px !important;
    }
    .eyebrow_text {    
        font-size: 19px;    
        font-family: 'Montserrat';
        letter-spacing: 0px;
    }
    .stats{
        margin-right: 0px;

    }
    .hero-content {
        display: flex;
        flex-direction: column;
    }

    .hero-text,
    .hero-image {
        width: 100%;
    }
    .top_home_wrapper .hero-text, .top_home_wrapper .hero-image {
    width: 100%;
    }
    .top_home_wrapper .stats {
    grid-template-columns: repeat(1, 1fr);
    }
    .top_home_wrapper .stat {
    padding: revert-rule;   
            min-height: 117px; 
    border-right: none;
    }
    .top_home_wrapper .hero-text h1{
        font-size: 32px;
    }
    .top_home_wrapper .hero-text{
        padding-left: 0px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-image {
        height: 300px;
    }

    .hero-buttons {
        flex-wrap: wrap;
    }
     .hero-buttons a{
        width: 100%;
     }
    .stats {
        grid-template-columns: 1fr;
        padding: 20px 15px;

    }

    .stat {
        border-right: 0;
        border-bottom: 1px solid #ddd;
        padding-bottom: 75px;
         
    }

    .stat:last-child {
        border-bottom: 0;
    }
}