@media (max-width: 375.98px) {
    #header .col-md-3.logo, #hero .main {
        display: none;
    }
    #header .col-md-9 ul li:first-child {
        margin-bottom: 15px;
    }
    #header .col-md-9.text-right {
        text-align: center !important;
    }
     #sec-1 h1 {
        color: #000;
        font-size: 22px;
        line-height: 32px;
    }
    #sec-1 h1 span {
        color: #c83132;
    }
    #sec-1 h2 {
        font-size: 18px;
        line-height: 28px;
    }
    #sec-1 h3, #sec-2 h3, #sec-3 h3 {
        font-size: 18px;
        line-height: 30px;
    }
    #sec-3 .title p {
        font-size: 14px;
    }
    #home-testimonials amp-carousel {
        height: 900px;
    }
    #home-testimonials amp-carousel .amp-carousel-slide .p-5 {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    #home-testimonials a p {
        font-size: 14px;
    }
}
@media (min-width: 375.99px) and (max-width: 575.98px) {
    #header .col-md-3.logo, #hero .main {
        display: none;
    }
    #header .col-md-9 ul li:first-child {
        margin-bottom: 15px;
    }
    #header .col-md-9.text-right {
        text-align: center !important;
    }
    #sec-1 h1 {
        color: #000;
        font-size: 22px;
        line-height: 32px;
    }
    #sec-1 h1 span {
        color: #c83132;
    }
    #sec-1 h2 {
        font-size: 18px;
        line-height: 28px;
    }
    #sec-1 h3, #sec-2 h3, #sec-3 h3 {
        font-size: 18px;
        line-height: 30px;
    }
    #sec-3 .title p {
        font-size: 14px;
    }
    #home-testimonials amp-carousel {
         height: 750px;
    }
    #home-testimonials amp-carousel .amp-carousel-button-prev {
        top: 30% !important;
    }
    #home-testimonials amp-carousel .amp-carousel-button-next {
        top: 30% !important;
    }
    #home-testimonials amp-carousel .amp-carousel-slide .p-5 {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}
@media (min-width: 575.99px) and (max-width: 767.98px) {
    #header .col-md-3.logo, #hero .main {
        display: none;
    }
    #header .col-md-9 ul li:first-child {
        margin-bottom: 15px;
    }
    #header .col-md-9.text-right {
        text-align: center !important;
    }
    #sec-1 h1 {
        color: #000;
        font-size: 36px;
        line-height: 46px;
    }
    #sec-1 h1 span {
        color: #c83132;
    }
    #sec-1 h2 {
        font-size: 18px;
        line-height: 28px;
    }
    #sec-1 h3, #sec-2 h3, #sec-3 h3 {
        font-size: 18px;
        line-height: 30px;
    }
    #sec-3 .title p {
        font-size: 18px;
    }
    #home-testimonials amp-carousel {
         height: 600px;
    }
    #home-testimonials amp-carousel .amp-carousel-button-prev {
        top: 40% !important;
    }
    #home-testimonials amp-carousel .amp-carousel-button-next {
        top: 40% !important;
    }
    #home-testimonials amp-carousel .amp-carousel-slide .p-5 {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}
@media (min-width: 767.99px) {
    #hero .mobile {
        display: none;
    }
}
@media (min-width: 767.99px) and (max-width: 991.98px) {
    
    #sec-3 .col-md-4 {
        width: 50%;
    }
    #sec-3 .content p {
        min-height: 185px;
    }
    #home-testimonials amp-carousel {
         height: 525px;
    }
    #home-testimonials amp-carousel .amp-carousel-button-prev {
        top: 40% !important;
    }
    #home-testimonials amp-carousel .amp-carousel-button-next {
        top: 40% !important;
    }
    
}
@media (min-width: 991.99px) and (max-width: 1199.98px) {
    #sec-3 .title p {
        transform: skewX(25deg);
        font-size: 12px;
    }
    #sec-3 .content p {
        min-height: 210px;
    }
    #home-testimonials amp-carousel {
         height: 475px;
    }
}
@media (min-width: 1399.99px) {
    #home-testimonials amp-carousel {
        width: 1100px;
        height: 450px;
    }
}