I am facing a problem with the mobile view on bootstrap where my text is overlapping the next section. https://i.sstatic.net/gqpDP.png
The smallest media query I am using is for 768px and I am testing this on an iPhone XS Max screen.
@media screen and (min-width: 768px){
.services .carousel-inner p{
margin-top: 110px;
}
@media screen and (min-width: 960px){
.services .carousel-item p{
text-align: center;
margin-top: 120px;
}
@media screen and (min-width: 992px){
.services .carousel-item p{
width: 60%;
}
@media (-webkit-min-device-pixel-ratio: 2),(min-resolution: 192dpi){
.services .carousel-item p{
margin-top: 105px;
font-size: 1.1em;
}
@media (-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi), (max-resolution: 125dpi){
.services .carousel-item p{
width: 100%;
font-size: 1.1rem;
}
What steps should I take to resolve this issue?