/* ********************************************************************************************
	Design for a width of 1200px and below
*********************************************************************************************** */

@media only screen and (max-width: 1200px) {
    .h1, h1 {
        font-size: 2.5rem;
        line-height: 3.5rem;
    }
    .h2, h2 {
        font-size: 2.5rem;
        line-height: 3.75rem;
    }
    .services-box p, .services-box ul li {
        font-size: 0.875rem;
        line-height: 1.375rem;
    }
    .services-box .hover-card {
        padding: 1.5rem;
    }
    .card-body {
        padding: 1.5rem;
    }
    .card-footer {
        padding: 1.5rem 0;
        margin: 0 1.5rem;
    }
}

/* ********************************************************************************************
	Design for a width of 991px and above
*********************************************************************************************** */

@media only screen and (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }
}

/* ********************************************************************************************
	Design for a width of 991px and below
*********************************************************************************************** */

@media only screen and (max-width: 991px) {
    .h2, h2 {
        font-size: 2.125rem;
        line-height: 3.5rem;
    }
    .h3, h3 {
        font-size: 2rem;
        line-height: normal;
    }
    .navbar .nav-link {
        display: inline-block;
        padding: 0.75rem 0;
    }
    .services-box .card {
        min-height: 17rem;
    }
    footer a,
    .copy-right-text {
        font-size: 0.938rem;
    }
    .btn {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
    .connect-slider .col {
        flex: 1 1 auto;
    }
    .connect-slider .col-auto {
        flex: 1 1 auto;
        text-align: center;
    }
    .connect-slider .custom-list span::before {
        display: none;
    }
    .contact-us-section::before {
        display: none;
    }
}

/* ********************************************************************************************
	Design for a width of 767px and below
*********************************************************************************************** */

@media only screen and (max-width: 767px) {
    body {
        font-size: 1rem;
    }
    section {
        padding: 3.125rem 0;
    }
    .h1, h1 {
        font-size: 2rem;
        line-height: 2.75rem;
    }
    .h2, h2 {
        font-size: 1.75rem;
        line-height: 2.75rem;
    }
    p {
        line-height: 1.875rem;
    }
    .h3, h3 {
        font-size: 1.75rem;
        line-height: normal;
    }
    .custom-list, .connect-slider p {
        font-size: 1rem;
    }
    .contact-item {
        padding-bottom: 1.25rem;
        margin-bottom: 1.25rem;
    }
    .contact-form {
        padding: 1.75rem;
    }
}

/* ********************************************************************************************
	Design for a width of 576px and below
*********************************************************************************************** */

@media only screen and (max-width: 575px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    .navbar {
        padding: 1rem 0;
    }
    .services-box .card {
        min-height: 15rem;
    }
    .services-box .hover-card {
        padding: 1.25rem 1.25rem;
    }
    .services-box p, .services-box ul li {
        font-size: 0.813rem;
        line-height: 1.3rem;
    }
    .services-box h4 {
        font-size: 1.063rem;
    }
    .card-footer {
        padding: 1.25rem 0;
        margin: 0 1.25rem;
    }
    .why-choose-box h4 {
        font-size: 1.125rem;   
    }
    .why-choose-box p {
        font-size: 0.938rem;
    }
    .copy-right-text {
        font-size: 0.875rem;
    }
    .circle-box {
        height: 4.5rem;
        width: 4.5rem;
        line-height: 4.5rem;
    }
    .form-control-lg, .form-select-lg {
        padding: 0.75rem 1.125rem;
    }
    .subscribe-form .subscribe-btn {
        min-width: auto;
        font-size: 0.875rem;
    }
    .subscribe-form .form-control-lg {
        padding: 1.125rem 9rem 1.125rem 1.5rem;
    }
}

/* ********************************************************************************************
	Design for a width of 420px and below
*********************************************************************************************** */

@media only screen and (max-width: 420px) {
    .subscribe-form .form-control-lg {
        padding: 0.875rem 1.5rem 0.875rem 1.5rem;
    }
    .subscribe-form .subscribe-btn {
        position: relative;
        top: 1rem;
        right: 0;
        width: 100%;
        font-size: 1rem;
        padding: 0.625rem 1rem;
    }
}