@media(min-width: 768px) {
     .contact-info {
        border-radius: 10px 0 0 10px;

    }

    .contact-form {
        border-radius: 0 10px 10px 0;

    }
}
@media(max-width: 768px) {
    .top-bar {
        width: 100%;
        padding: 20px;

        flex-wrap: wrap;

        display: flex;
        justify-content: flex-start;
        align-items: center;



    }

    .top-bar-right {
        padding-left: 0;
        margin: 0 auto;

    }

    .nav-list-main {

        margin: 0 auto;
        padding: 0;

    }

    .nav-list-main .nav-item {

        margin-left: -5px;


    }

    .hero-content h1 {

        font-size: 3rem;
    }
    
    .hero-content p {

        font-size: 20px;
    }


    #about-intro {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .text-side {

        width: 100%;
        padding: 60px 30px 30px 30px;
    }
    .intro-photo{
        display: flex;
        justify-content: center;
        align-items: center;
        align-content: center;
        
    }

    .intro-photo img{
        margin-left: 75px;
    }

    #partner-container {
        align-items: center;
        flex-direction: column;

    }


    .partners {
        margin-bottom: 20px;
        max-width: 50%;
    }

    #volunteer {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .volunteer-text-side {
        width: 100%;
        padding: 0 30px 30px 30px;

    }

    .volunteer-text-side p {
        padding: 0 0 30px 0px;

    }

    .volunteer-photo {
        width: 100%;
    }

    .donate-box {
        display: flex;
        flex-direction: column;


    }

    .donate-container {
        border-radius: 0 0 20px 20px;
    }

    .dropdown-container {

        position: absolute;
    }

    .footer-container {
        padding-left: 50px;
        padding-right: 50px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-template-areas:
            'socials socials'
            'footer-about-us donate-volunteer';
    }


    .socials {
        grid-area: socials;
        width: 100%;
        margin-bottom: 50px;
    }

    .footer-about-us {
        grid-area: footer-about-us;
        /*        background: RED;*/
        width: 100%;

    }

    .donate-volunteer {
        grid-area: donate-volunteer;
        /*         background: BLUE;*/
    }

    .prof-about-container {
        
        flex-direction: column-reverse;
    }



    
      .contact-container {

       
        margin: 20px ;
        background: transparent;


     
          padding: 10px;
        display: flex;
        flex-direction: column;
        
    }

    .contact-form::before {
        display: none;
    }

    .contact-info {
        flex-basis: 50%;
     border-radius:  10px 10px 0 0 ;
  
}
     .contact-form{
         flex-basis: 50%;
        border-radius: 0 0 10px 10px ;
    }
    
    .prof-about-container {
   
    padding: 0 10px;
}
    
    .prof-education {

    max-width: 650px;
}
    
#prof-education1:checked ~ .prof-education {

  height: 250%;
/*    background: blue;*/
    text-wrap: no-wrap;
    max-width: 650px;
    transition: 0.3s all ease-in-out;
}
    
    
    .prof-early-career{
         max-width: 650px;
    }
    
    
    
    #prof-career1:checked ~ .prof-early-career {
    text-wrap: no-wrap;
    max-width: 650px;
    transition: 0.3s all ease-in-out;
          height: 210%;
/*    background: blue;*/
}
    
    
    .prof-achievement{
        max-width: 650px;
    }
    
    #prof-achievement1:checked ~ .prof-achievement {
     text-wrap: no-wrap;
    max-width: 650px;
    transition: 0.3s all ease-in-out;
          height: 210%;
/*    background: blue;*/
}
    
    .hero h1{
        font-size: 32px;
    }
    .prof-continuation h3{
        font-size: 16px;
        text-align: left;
    }
     .prof-intro-para h2{
    font-size: 16px;
        text-align: left;
}
   .prof-other-text {
      margin: 250px auto 0 auto;
    width: 100%;
    padding: 50px 0  50px 0;
}
}


@media(max-width: 425px) {
    .nav-main {
        display: none;
    }

    .nav-Mobile {
        display: contents;
    }

    .hero-content h1 {

        font-size: 2rem;
    }

    .hero-content p {
        font-size: 16px;
        width: 80%;
    }





    .stat-text h3 {

        font-size: 1.2rem;
        font-weight: 700;
    }

    .stat-text p {
        font-size: 14px;
        text-wrap: wrap;
        color: white;
        text-align: center;
    }

    .text-side {
        flex-basis: 50%;
        padding: 10px;
        margin-top: 10px;
    }

    .text-side h3 {
        color: var(--color-primary);
        font-size: 18px;
        text-transform: uppercase;
        line-height: 32px;
    }

    .text-side p {
        color: var(--color-secondary);
        font-size: 14px;
        line-height: 24px;

    }




    p,
    ol,
    .partnership-content p,
    .donate-header p {
        font-size: 14px;
        line-height: 24px;
    }

    .program-subheader {
        width: 100%
    }


    .volunteer-text-side {

        width: 100%;
        padding: 0 20px 30px 20px;

    }

    .volunteer-text-side p,
    .volunteer-text-side ol {

        font-size: 14px;
        line-height: 24px;

    }

    .volunteer-text-side .button-v a {
        font-size: 14px;
    }




    #partner-container {
        padding-left: 30px;
    }

    .partners {

        max-width: 80%;
    }

    .partnership-content h1 {
        font-size: 24px;
    }

    .Partner-head-text {
        width: 80%;

    }

    .donate-header h1 {
        font-size: 24px;
    }


    .volunteer-text-side h3 {
        font-size: 20px;
    }


    .copy-right p {
        font-size: 10px;
    }

    .contact-container {

       
        margin: 20px auto;
        background: transparent;


        width: 100%;
        display: flex;
        flex-direction: column;
        
    }

    .contact-form::before {
        display: none;
    }

    .contact-info {
        flex-basis: 50%;
     border-radius:  10px 10px 0 0 ;
  
}
     .contact-form{
         flex-basis: 50%;
        border-radius: 0 0 10px 10px ;
    }
    
   #donate {
   
    padding: 15px;
    
}
    
    .payment-method label{
        
       font-size: 14px;
    }
    .prof-about-container {
    margin: 0 auto 180px auto ;
}
    .prof-intro-para h2, .prof-continuation h3{
        font-size: 16px;
        text-align: left;
    }
    
    
   .prof-text-side p, .prof-continuation p {
        font-size: 14px;
        line-height: 24px;
       text-align: justify;
    }
.prof-education {

    max-width: 325px;
}
    
#prof-education1:checked ~ .prof-education {

  
    text-wrap: no-wrap;
    max-width: 325px;
    transition: 0.3s all ease-in-out;
}
    
    
    .prof-early-career{
         max-width: 325px;
    }
    
    
    
    #prof-career1:checked ~ .prof-early-career {
    text-wrap: no-wrap;
    max-width: 325px;
    transition: 0.3s all ease-in-out;
}
    
    
    .prof-achievement{
        max-width: 325px;
    }
    
    #prof-achievement1:checked ~ .prof-achievement {
     text-wrap: no-wrap;
    max-width: 325px;
    transition: 0.3s all ease-in-out;
}
    
  .prof-other-text {
      margin: 50px auto 0 auto;
    width: 100%;
    padding: 50px 0 0 0;
}  
    
   .prof-continuation {
    padding: 0 30px;
    
} 
 
    
}

@media(max-width: 375px) {
    .text-side{
        margin: o auto;
    }
    
    .prof-career-label, .prof-education-label, .prof-achievement-label{
        margin-left: -4px;
        
    }
    
    .stat-text {
max-height: 90%;
    max-width: 50%;
    text-align: center;
    color: white;
        /*border: 1px solid blue;*/
    margin: 10px auto;
    overflow: visible;
}
    .stats{
        height: inherit;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }
    
    .text-side .button a{
        font-size: 12px;
    }
    .hero-content h1{
        
        font-size: 24px;
    }
    .hero-content p {
        
        font-size: 16px;
    }
    
    #programs h1, .partnership-heading h1{
          font-size: 24px;
    }
    #programs p {
          font-size: 14px;
        width: 80%;
            padding-bottom: 20px;
    }

    
    .prof-education {

    max-width: 280px;
        
}
    
#prof-education1:checked ~ .prof-education {

  
    text-wrap: no-wrap;
    max-width: 280px;
    transition: 0.3s all ease-in-out;
    
}
    
    
    .prof-early-career{
         max-width: 280px;
    }
    
    
    
    #prof-career1:checked ~ .prof-early-career {
    text-wrap: no-wrap;
    max-width: 280px;
    transition: 0.3s all ease-in-out;
}
    
    
    .prof-achievement{
        max-width: 280px;
    }
    
    #prof-achievement1:checked ~ .prof-achievement {
     text-wrap: no-wrap;
    max-width: 280px;
    transition: 0.3s all ease-in-out;
}

    .prof-intro-para h2, .prof-continuation h3{
        font-size: 15px;
        
        line-height: 20px;
        text-align: justify;
        text-align: left;
    }
    .prof-other-text{
        margin-top: 100px auto 0 auto;
    }
        .prof-option1 label, .prof-option2 label, .prof-option3 label, .prof-option4 label{
        font-size: 13px;
        
       
    }
}

@media(max-width: 320px) {
    .sub-prg-1-1,
.sub-prg-2-1,
.sub-prg-2-2,
.sub-prg-3-1,
.sub-prg-4-1 {

    font-size: 14px;
 
}
    
     #programs h1{
          font-size: 20px;
    }
    .text-side .button a{
        font-size: 10px;
    }


     .prof-education {

    max-width: 220px;
        
}
    
#prof-education1:checked ~ .prof-education {

  
    text-wrap: no-wrap;
    max-width: 220px;
    transition: 0.3s all ease-in-out;
   
}
    
    
    .prof-early-career{
         max-width: 220px;
        margin-left: -80px;
        
    }
    
    
    
    #prof-career1:checked ~ .prof-early-career {
    text-wrap: no-wrap;
    max-width: 220px;
    transition: 0.3s all ease-in-out;
        margin-left: -80px;
}
    
    
    .prof-achievement{
        max-width: 220px;
        margin-left: -130px;
    }
    
    #prof-achievement1:checked ~ .prof-achievement {
     text-wrap: no-wrap;
    max-width: 220px;
        margin-left: -130px;
    transition: 0.3s all ease-in-out;
}
    
    
    .prof-text-side h2 , .prof-continuation h3 {
        font-size: 13px;
        line-height: 20px;
       text-align: justify;
    }
    
   .prof-text-side p, .prof-continuation p {
        font-size: 12px;
        line-height: 20px;
       text-align: justify;
    }
    
     .prof-other-text {
      margin: 100px 0 0 0;
    width: 100%;
    padding: 0px 0 0 0;
}  
    .prof-career-label, .prof-education-label, .prof-achievement-label{
        margin-left: -15px;
        
    }
    .prof-option1 label, .prof-option2 label, .prof-option3 label, .prof-option4 label{
        font-size: 8px;
        
       
    }
   
    #prof-education1,
#prof-career1,
#prof-achievement1 {
    position: absolute;
    opacity: 0;
    height: 30px;
    width: 50px;
    z-index: 10;
}
    
    
    #Get-involved p {
        font-size: 12px;
        line-height: 20px;
    
    }
    
    
}
