@media screen and (max-width: 1024px) {
 #header .header-content {
 width: 90%;
 padding: 40px 0;
}
 #header.fixed a {
 color: #353535;
}
 .nav-toggle {
 display: block;
}
 .navigation {
 position: fixed;
 background-color: #313131;
 width: 100%;
 height: 100%;
 top: 0;
 left: 0;
 z-index: 99999;
 visibility: hidden;
 opacity: 0;
 -webkit-transition: opacity 0.5s, visibility 0s 0.5s;
 transition: opacity 0.5s, visibility 0s 0.5s;
}
 .navigation .primary-nav {
 position: relative;
 top: 45%;
 -moz-transform: translateY(-45%);
 -ms-transform: translateY(-45%);
 -webkit-transform: translateY(-45%);
 transform: translateY(-45%);
}
 .navigation li {
 display: block;
 margin-bottom: 1px;
}
 .navigation a {
 display: block;
 font-size: 18px;
 margin: 0;
 text-align: center;
 padding: 17px 0;
 color: #fff;
}
 .person {
 margin: 0 auto 50px;
}
 .person-content {
 text-align: center;
}
 .person .social-icons li {
 display: inline-block;
 float: none;
 margin-bottom: 5px;
}
 .testimonials blockquote {
 padding: 20px 5% 0;
}
 .testimonials p {
 font-size: 12px;
}
 .flex-control-nav {
 bottom: 20px;
}
}
@media screen and (max-width: 768px) {
    /* Header */
    #header .header-content {
        padding: 20px 5%;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    #header .logo {
        float: none;
        font-size: 18px;
        display: inline-block;
        color: #fff;
    }

    #header.fixed {
        background-color: #DB4766;
    }

        #header.fixed a {
            color: #fff;
        }

            #header.fixed a.logo {
                color: #000;
            }

    .nav-toggle {
        display: block;
        position: absolute; /* »ò fixed */
        top: 20px;
        right: 20px;
        z-index: 10000;
    }

    .navigation {
        visibility: hidden;
        opacity: 0;
        position: fixed;
        top: 0;
        left: 0;
        background-color: #222;
        width: 100%;
        height: 100vh;
        z-index: 9999;
        transition: opacity 0.3s ease;
        text-align: center;
    }

        .navigation.open {
            visibility: visible;
            opacity: 1;
        }
            .navigation.open a {
                font-size: 15px;
                padding: 14px 0;
            }
        .navigation .primary-nav {
            display: flex;
            flex-direction: column;
            margin-top: 10%;
            transform: translateY(-50%);
        }

        .navigation li {
            margin: 5px 0;
        }

        .navigation a {
            color: #fff;
            font-size: 20px;
        }

    /* Banner */
    #first-slider .carousel .item {
        min-height: 350px;
        height: auto;
        padding: 60px 20px;
    }

    #first-slider .slide1,
    #first-slider .slide2,
    #first-slider .slide3 {
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;
    }

        #first-slider .slide1 h3,
        #first-slider .slide2 h3,
        #first-slider .slide3 h3 {
            font-size: 28px;
            text-align: center;
        }

        #first-slider .slide1 h4,
        #first-slider .slide2 h4,
        #first-slider .slide3 h4 {
            font-size: 16px;
            line-height: 24px;
            text-align: center;
        }

    #first-slider .text-left {
        padding-left: 0 !important;
        text-align: center !important;
    }

    .carousel-control .fa-angle-left,
    .carousel-control .fa-angle-right {
        width: 30px;
        height: 30px;
        font-size: 20px;
        margin-top: -10px;
    }

    /* Flexslider & Footer spacing */
    .flexslider {
        padding-bottom: 80px;
    }

    .flex-control-nav {
        width: 100%;
        bottom: 20px;
    }

    .footer .footer-col {
        margin-bottom: 50px;
    }

    /* Optional: if you're using .banner-text */
    .banner-text {
        padding-top: 30%;
    }

        .banner-text h1 {
            font-size: 42px;
        }

        .banner-text p {
            font-size: 18px;
        }


    h1 {
        font-size: 28px;
        line-height: 1.3;
    }

    h2 {
        font-size: 20px;
        line-height: 1.3;
    }
      
        h3 {
            font-size: 20px;
            line-height: 1.4;
        }

    h4 {
        font-size: 18px;
        line-height: 1.4;
    }

    h5 {
        font-size: 16px;
        line-height: 1.4;
    }

    h6 {
        font-size: 14px;
        line-height: 1.4;
    }
}


@media screen and (max-width: 640px) {
 .banner-text {
 padding-top: 57%;
}
 .testimonials p {
 font-size: 12px;
}
@media screen and (max-width: 480px) {
 .banner-text {
 padding-top: 45%;
}
 .banner-text h1 {
 font-size: 32px;
}
 .testimonials p {
 font-size: 12px;
}
@media screen and (max-width: 320px) {
 .banner-text {
 padding-top: 55%;
}
 .testimonials blockquote {
 padding: 20px 5% 0;
}
 .testimonials p {
 font-size: 12px;
}
}
