@media (max-width:768px){
    .footdropdown span{ margin-left:0px !important; }
}

.center{text-align: center;}
.text-M-700 {
    font-weight: 700;
}
.text-blue{ color:#384479; }
.accordion-container p, .accordion-container div, .accordion-container ul li, .accordion-container ul li a { font-size: 1.1rem; }
.text-white{ color: #fff; }
.h4-font-size{ font-size: 1.5rem; margin: 0px 0 25px 0; }
.navbar-expand-md .navbar-collapse{ height: 34px; }
.adjustList{ margin-top:10px;}
.text-bold{ font-weight:bold; }
.adjustments{ padding:0 !important; }
.callout3{ margin:0em !important; }
.gallery-image{width:100%; padding:15px 0px;}
.gallery-image1 {width:100%; /*padding:15px 0px; max-height:416px;*/ }
.gallery-image4{width:100%; padding:15px 0px; max-height:220px;}
.p-text{ font-size:1.2rem; padding:1.3px; }
.wellbeing-center .p-text{ font-size:1.35rem; padding:1.3px; }
.bckgrnd-gallary4{ background-color: #0097b2; padding:26px 25px 15px 25px; }
.mobile-hide{ display:block; }
.h4-text{ font-size:1.8rem !important; text-align: center; margin: 5px 0; }
.mobile-unhide{ display:none !important; }
.wellbeing-center{
  background-color: #5663B1;
  padding:15px 15px 0px 15px; 
  border-radius: 5px; 
  font-size:1.08rem !important; 
  border:1px solid #b4aaff;
  margin: 1.3rem auto 1.6rem auto;
}
#section3{
  margin: 1.3rem 0;
}
#section3 p {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

 /*Start of Call Out Box*/
  .callout {
    padding: 1.05em 1em;
    line-height: 1.3;
    text-align: left;
    position: relative;
    border-radius: 0 10px 10px 0;
    background: rgba(224, 226, 255, 0.5);
    border-left: 4px solid #b4aaff;
    color: #242424;
    font-size:1.15em;
    margin-bottom: .4rem !important;
  }

  .callout b{ color:#384479; font-weight:550; }
  
  .callout::before {
    width: 35px !important;
    height: 35px !important;
    display: inline-flex;
    justify-content: left;
    position: absolute;
    font-size: 1.5em;
    left: -1.2rem;
    content: "";
    background: url("../images/wellbeing/head-icon.png") no-repeat 0 0;
    background-size: 100%;

    background-color: #b4aaff;
    border-radius: 50%;
    align-items: left;
    top: -0.8rem;
  }

  .callout.success::before {
    content: "";
    background: url("../images/wellbeing/plus-icon.png") no-repeat 0 0;
    background-size: 100%;
    background-color: #3cc3c3;
    border-radius: 50%;
    align-items: left;
    top: -0.8rem;
  }
  
  .callout.success {
    background-color: #E5F4F7;
    border-left: 4px solid #3cc3c3;
  }

  .callout.peer::before{
    content: "";
    background: url("../images/wellbeing/peer-icon.png") no-repeat 0 0;
    background-size: 100%;

    background-color: #3cc3c3;
    border-radius: 50%;
    align-items: left;
    top: -0.8rem;
  }

  .callout.substance::before{
    content: "";
    background: url("../images/wellbeing/substance-icon.png") no-repeat 0 0;
    background-size: 100%;

    background-color: #b4aaff;
    border-radius: 50%;
    align-items: left;
    top: -0.8rem;
  }

  .callout.sexEd::before{
    content: "";
    background: url("../images/wellbeing/sexEd-icon.png") no-repeat 0 0;
    background-size: 100%;

    background-color: #3cc3c3;
    border-radius: 50%;
    align-items: left;
    top: -0.8rem;
  }

  .callout.parent::before{
    content: "";
    background: url("../images/wellbeing/parent-icon.png") no-repeat 0 0;
    background-size: 100%;

    background-color: #b4aaff;
    border-radius: 50%;
    align-items: left;
    top: -0.8rem;
  }

  .callout.phone::before{
    content: "";
    background: url("../images/wellbeing/phone-icon.png") no-repeat 0 0;
    background-size: 100%;

    background-color: #3cc3c3;
    border-radius: 50%;
    align-items: left;
    top: -0.8rem;
  }

  .callout2 {
    padding: 0.8em 1em;
    line-height: 1.2;
    text-align: left;
    position: relative;
    clear: both;
    border-radius: 0 10px 10px 0;
  }

  .callout2 b{ color:#384479; font-weight:550; }
  
  .callout2::before {
    width: 35px !important;
    height: 35px !important;
    display: inline-flex;
    justify-content: left;
    position: absolute;
    font-size: 1.5em;
    left: -1.2rem;
    content: "";
    background-size: 100%;

    background-color: #b4aaff;
    border-radius: 50%;
    align-items: left;
    top: -0.8rem;
  }
  
  .callout2 {
    background: rgba(224, 226, 255, 0.5);
    border-left: 4px solid #b4aaff;
    color: #242424;
    margin: 1em;
  }

  .callout2.success::before {
    content: "";
    background-size: 100%;
    background-color: #3cc3c3;
    border-radius: 50%;
    align-items: left;
    top: -0.8rem;
  }
  
  .callout2.success {
    background-color: #E5F4F7;
    border-left: 4px solid #3cc3c3;
  }

  @media(max-width:768px){
    .mobile-margin{
        margin:0 !important;
    }
  }

  .callout-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    margin: 1em 0;
  }

  .callout {
    flex: 1 1 calc(48% - 20px); /* Two per row with spacing */
    margin: 0; /* Remove margin that breaks flex flow */
    box-sizing: border-box;
  }
/*End of Call out Box*/  


.follow-us {
    background-color: #3BA6BD;
    padding: 15px;
    border-radius: 5px;
    font-weight: 500;
    gap: 15px;
    overflow: hidden;
    border:1px solid #3cc3c3;
    margin: 1.3rem 0;
}

/*Styling*/
@media(max-width:768px){
  .mobile-reach{ max-width:100% !important; flex:0 0 100% !important; }
  #wellbeing-nav{ margin: 0 20px; }
  .go-top{ right:4.5% !important; }
  .go-top:after{ font-size:28px !important; padding:1px 8px !important; }
  .go-top-text{ display: none; } 
  #accordion .accordion-body { padding: 30px 10px; }
  .adjustList{ margin-left:0px !important; }
  .gallery-image1{ height:220px; }
  .mobile-hide{ display:none; }
  .p-text{ font-size:1rem; }
  .h4-text{ font-size:1.4rem !important; }
  .instagram-section .col-6{ flex: 0 0 90.666667%; max-width: 90.666667%; }
}

@media(max-width:820px){
  .gallery-image1{ height:354px; }
}
/*===============*/

/*Collage of photos*/
.bckgrnd-gallary {
  background-color: #f2f3f9;
}

.bckgrnd-gallary2 {
  /*border-bottom:solid 1px #d4d5dc;*/
  min-height:auto;
}

.bckgrnd-gallary3 {
  min-height:auto;
}

.bckgrnd-gallary >div {
 /* border:solid 1px #d4d5dc;*/
  min-height:auto;
}

.bckgrnd-gallary >div:hover {

}
/*End of Collage of photos*/

  /*Scroll to top button*/
  .go-top {
    position:fixed;
    bottom: 10%;
    right: 3%;
    padding:20px;
    display:none;
    cursor: pointer;
    -webkit-font-smoothing: antialiased;
    z-index:1001;

  }
  .go-top:after {
    font-family: FontAwesome;
    content: "\f106";
    background-color: #E5E8F0;
    padding: 10px 15px;
    color: #6a6e7c;
    position: absolute; 
    bottom:10px;
    font-size: 28px;
  }
  
  .go-top-text {
    position: absolute;
    width: 60px;
    text-align: center;
    font-family: 'Questrial';
    line-height: 1.5;
    letter-spacing: 3px;
    font-size: 12px;
    margin: 20px 0 0 -4px;
  }
  
  .go-top:hover {
    transition: all .4s linear;
    transform: scale(1.1);
  }
  /*====================*/

  .instagram {
    display: inline-block;
    width: 60px;
    height: 60px;
    text-align: center;
    border-radius: 40px;
    color: #fff;
    font-size: 40px;
    line-height: 58px;
    vertical-align: middle;
    background: #d6249f;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
    box-shadow: 0px 3px 10px rgba(0,0,0,.25);
  }

  .insta-image{ width:25%; border-radius: 5px; }

  .insta-bckrnd{ background-color: rgba(112, 175, 51,.05); border:1px solid #70af33; padding:15px 25px; border-radius: 5px; }
  .insta-bckrnd:hover{ background-color: rgba(214,36,159,.05); border:1px solid #d6249f; padding:15px 25px; border-radius: 5px; color:#400040 !important; }


  @media(max-width:768px){
    .mobile-unhide{ display:block !important; }
    .img-pink-section{
      height:unset;
    }
  }
  /*====================*/


  /* Image Collage */
  .gallery {
    --g: 6px; /* the gap */
    
    display: grid;
    width: 100%; /* the size */
    aspect-ratio: 1;
    grid: auto-flow 1fr/repeat(3,1fr);
    gap: var(--g);
  }
  .gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /*filter: grayscale();*/
    cursor: pointer;
    transition: .5s
  }
  .gallery img:hover {
    filter: grayscale(0);
  }
  .gallery img:nth-child(2) {
    grid-area: 1/2/span 2/span 2;
    clip-path: polygon(0 0,100% 0,100% 100%,calc(50% + var(--g)/4) 100%,0 calc(72% - var(--g)/4));
  }
  .gallery img:nth-child(3) {
    grid-area: 2/1/span 2/span 2;
    clip-path: polygon(0 0,calc(50% - var(--g)/4) 0,100% calc(31% + var(--g)/4),100% 100%,0 100%);
  }
  .gallery2 {
    /*display: grid;
    grid-template-columns: 1fr .0025fr .0025fr 0.0025fr;
    grid-template-rows: auto auto 0fr 1fr 1fr auto auto;
    grid-gap: 0px;*/
    margin-top: 1%;
  }
  .gallery2 img {
    width: 100%;
    /*filter: grayscale();*/
    cursor: pointer;
    transition: .5s;
    margin-bottom: 1%;
    height:360px;
    object-fit: fill;
  }
  .gallery2 img:nth-child(3) {
    grid-area: 2/1/span 2/span 2;
    clip-path: polygon(0 0,calc(50% - var(--g)/4) 0,100% calc(31% + var(--g)/4),100% 100%,0 100%);
  }
  .gallery2 img:hover {
    filter: grayscale(0);
  }  
  /*====================*/

  @media (min-width: 576px){
    .col-sm-6 {
        -ms-flex: 0 0 48.4% !important;
        flex: 0 0 48.4% !important;
        max-width: 48.4% !important;
    }
  }

  .add-left-margin{ margin-left:29px; }
  .resize-img{ width:75.5%; }
  @media(max-width:768px){
    .add-left-margin{ margin-left:0px; }
    .resize-img{ width:100%; }
    .gallery-image{width:100%; }
    .col-sm-6{ width:100%; }
  }

  @media(max-width:1023px){
    .callout{ line-height:1.1; }
  }

  .flex-container {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
}

.image-section {
  flex: 2; /* Larger portion */
}

.text-section {
  flex: 1; /* Smaller portion */
}

/* Optional: adjust image size */
.image-section img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
}

/* Responsive behavior */
@media (max-width: 768px) {
  .flex-container {
    flex-direction: column;
  }

  .image-section, .text-section {
    flex: 1 1 100%;
  }

  .image-section img {
    max-height: unset;
  }
}

#section2{
  margin-top: 1.3rem !important;
}

.image-flex-wrapper {
  display: flex;
  flex-wrap: wrap; /* allows wrapping on smaller screens */
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.image-box {
  flex: 1 1 48%; /* 2 images per row with room for gap */
  max-width: 48%;
  box-sizing: border-box;
}

.sideNavTitle2 {
  padding: 10px 0px 10px 5px !important;
  display: block !important;
}

.sideNavTitle2 a{
  text-decoration: underline !important;
}

.accordion-container .accordion-body li:not(#accordionFaq)::before {
  content: "";
}