/*------------------------------------------
Responsive Styles
------------------------------------------*/

/* Grid System */
.container, .container-fluid {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

[class*="col-"] {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

/* Desktop Large */
@media (min-width: 1200px) {
    .col-xl-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
    .col-xl-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .d-xl-block {
        display: block;
    }
    .d-xl-none {
        display: none;
    }
}

/* Desktop */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }

    .tp-hero-title {
        font-size: 60px;
    }

    .tp-section-title {
        font-size: 40px;
    }

    .tp-testimonial-text {
        font-size: 24px;
    }

    .tp-cta-title {
        font-size: 50px;
    }

    .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Tablet */
@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }

    .tp-header-logo img {
        width: 120px;
    }

    .tp-nav-menu {
        display: none;
    }

    .tp-hero-area {
        padding: 120px 0 80px;
    }

    .tp-hero-title {
        font-size: 48px;
    }

    .tp-hero-thumb {
        position: relative;
        width: 100%;
        height: 400px;
        margin-top: 50px;
    }

    .tp-services-area,
    .tp-about-area,
    .tp-case-area,
    .tp-testimonial-area {
        padding: 80px 0;
    }

    .tp-section-title {
        font-size: 36px;
    }

    .tp-video-content {
        left: 20px;
        right: 20px;
        bottom: 20px;
        max-width: none;
    }

    .tp-cta-title {
        font-size: 36px;
    }

    .tp-footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .tp-footer-bottom-links {
        justify-content: center;
    }

    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-xl-3, .col-xl-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .d-none {
        display: none;
    }
}

/* Mobile Landscape */
@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }

    .container-fluid {
        padding: 0 20px;
    }

    .tp-hero-title {
        font-size: 36px;
    }

    .tp-hero-text {
        font-size: 16px;
    }

    .tp-service-item {
        padding: 30px;
    }

    .tp-testimonial-item {
        padding: 30px;
    }

    .tp-testimonial-text {
        font-size: 18px;
    }

    .tp-counter-number {
        font-size: 50px;
    }

    .tp-cta-title {
        font-size: 28px;
    }

    .tp-video-text {
        font-size: 16px;
    }

    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Mobile Portrait */
@media (max-width: 575px) {
    .tp-hero-buttons {
        flex-direction: column;
    }

    .tp-btn {
        text-align: center;
        justify-content: center;
        width: 100%;
    }

    .tp-section-title {
        font-size: 28px;
    }

    .tp-section-description {
        font-size: 16px;
    }

    .tp-about-number {
        font-size: 60px;
    }

    .tp-case-item img {
        height: 300px;
    }

    .tp-testimonial-text {
        font-size: 16px;
    }

    .tp-footer-bottom-links {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .tp-offcanvas-area {
        max-width: 100%;
        padding: 30px 20px;
    }

    .tp-offcanvas-menu nav ul li a {
        font-size: 20px;
    }
}