body{
    padding-top: 0;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    display: block;
    overflow-x: hidden;
    width: 100%;
    height: auto;
}


nav{
    top: 0;
    border-radius: none;
    margin-bottom: 0;
    padding-bottom: 0;
    height: auto;
 
}


.navbar-nav.navbar-center{

    font-size: 17px;
      justify-content: center;
}

.navbar.navbar-inverse{
    margin-bottom: 0px;
      justify-content: center;
}


.navbar li a:hover{
    transition: .5s;
}

.navbar-brand{
    color: #337ab7;
    font-weight: bold;
}

.panel-heading span img{
    height: 130px;
    width: 130px;
    border-radius: 50%;
}

#mainphoto{
  position: relative;
  width: 100%;
  min-height: 500px;                /* keeps desktop look */
  background-image: url('https://mywoodlandsestates.org/img/we1.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  align-items: center;              /* vertically centers content */
}

/* text block that always stays inside margins */
#main-content{
  width: min(650px, 100%);          /* never wider than 650px */
  margin-left: clamp(16px, 6vw, 150px);
  padding: clamp(16px, 3vw, 32px);
  text-align: left;
  color: black;
  position: relative;
  z-index: 2;
}

/* optional: subtle readability overlay behind text 
#main-content::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  border-radius: 12px;
  z-index: -1;
}*/

/* auto-scaling headings */
#mainphoto h1{
  margin: 0 0 12px 0;
  font-size: clamp(32px, 4.5vw, 60px);
  line-height: 1.05;
  word-break: break-word;           /* prevents overflow on long titles */
}

#mainphoto h3{
  margin: 0;
  font-size: clamp(14px, 1.4vw, 18px);
  line-height: 1.5;
  max-width: 60ch;                  /* nice readable measure */
}

/* mobile: remove image if you want, or keep it */
@media (max-width: 900px){
  #mainphoto{
    min-height: 320px;
    background: #fff;               /* keep your current behavior */
  }

  #main-content{
    color: black;
    margin: 0 auto;
    text-align: center;
  }

  #main-content::before{
    background: transparent;
  }

  #mainphoto h3{
    max-width: 90%;
    margin: 0 auto;
  }
}
#mainphoto1{
  position: relative;
  min-height: 200px;
  width: 100%;
  background-image: url('https://mywoodlandsestates.org/img/we1.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-bottom: 2px solid #337ab7;
  display: flex;
  align-items: center;
}

#mainphoto1 h1{
  margin: 0;
  padding-left: clamp(16px, 4vw, 50px);
  font-size: clamp(34px, 5vw, 70px);
  line-height: 1.05;
}

#mainphoto1 h5{
  padding-left: clamp(16px, 4vw, 50px);
}

@media (max-width: 750px){
  #mainphoto1{
    background: #fff;
  }
  #mainphoto1 h1, #mainphoto1 h5{
    padding-left: 0;
    text-align: center;
    width: 100%;
  }
}

.section{
    height: auto;
    background: white;
    text-align: center;
}

.section1{
    height: auto;
    background: #131f1f;
    text-align: center;
    color: white;

}

.section img, .section1 img{
    height: auto;
    width: 80%;
    display: block;
    margin: auto;
    border-radius: 20px 20px 0 0;
}

.section h3, .section1 h3{
    width: 80%;
    height: 100px;
    display: block;
    margin: auto;
    margin-bottom: 30px;
}

.section a, .section1 a{
    margin-top: 30px;
}



.btn-primary{
    font-size: 20px;
    margin-bottom: 20px;
    border-style: solid;
    border-width: 2px;
    border-color: #337ab7;
    background: none;
    color: #337ab7;
}

.btn-primary:hover{
    background-color: #337ab7;
    color: white;
    transition: .4s;
    border-color: #337ab7;
}


.section2{
    text-align: center;
    margin-top: 50px;
    align-content: center;
}

.section2 h1{
    height: 75px;
    margin-bottom: 25px;
}

.section2 h3{
    color: grey;
}

.panel-heading span{
    text-align: center;
}

#accordion{
    margin-top: 50px;
    text-align: center;
}

#accordion a{
    text-decoration: none;
}

.panel-body{
    height: auto;
}



#text-primary-dark{
    color: #131f1f;
}

#management-logo{
    height: 300px;
    width: 300px;
    border-radius: 50%;
    display: block;
    margin: auto;
}

#management-info {
    text-align: center;
}

}

#management-info a{
    display: block;
    width: auto;
    margin: auto;
}

#management-info i{
    margin-right: 20px;
}

/* footer content */

#copyright{
    text-align: center;
}

footer{
    margin-top: 100px;
}