﻿/*=========================================================
    FIFTH PILLAR CRM
    Responsive CSS
=========================================================*/

/*=========================================
        Large Desktop
==========================================*/

@media (min-width:1400px) {

    .container {
        max-width: 1320px;
    }

    .hero h1 {
        font-size: 68px;
    }

    .hero p {
        font-size: 22px;
    }
}


/*=========================================
            Laptop
==========================================*/

@media(max-width:1200px) {

    .hero h1 {
        font-size: 52px;
    }

    .navbar-brand {
        font-size: 24px;
    }

    .section-title h2 {
        font-size: 38px;
    }
}


/*=========================================
            Tablet
==========================================*/

@media(max-width:992px) {

    .hero {
        text-align: center;
        padding-top: 120px;
    }

    .hero-image {
        margin-top: 50px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 18px;
    }

    .kpi-card {
        display: none;
    }

    .navbar {
        padding: 15px 0;
    }

    .navbar-collapse {
        background: #fff;
        padding: 20px;
        border-radius: 15px;
        margin-top: 15px;
        box-shadow: 0 15px 40px rgba(0,0,0,.08);
    }

    .navbar-nav {
        text-align: center;
    }

    .nav-link {
        padding: 12px;
        margin: 0;
    }

    .footer {
        text-align: center;
    }

        .footer .social-icons {
            justify-content: center;
            margin-top: 20px;
            display: flex;
        }
}


/*=========================================
            Mobile
==========================================*/

@media(max-width:768px) {

    .top-bar {
        display: none;
    }

    section {
        padding: 70px 0;
    }

    .hero {
        padding-top: 100px;
    }

        .hero h1 {
            font-size: 34px;
            line-height: 1.3;
        }

        .hero p {
            font-size: 16px;
        }

        .hero .btn {
            width: 100%;
            margin-bottom: 15px;
        }

    .section-title h2 {
        font-size: 30px;
    }

    .section-title p {
        font-size: 15px;
    }

    .feature-card {
        padding: 25px;
    }

    .crm-card {
        padding: 25px;
    }

    .price-card {
        margin-bottom: 30px;
    }

    .dashboard-card {
        margin-bottom: 20px;
    }

    .counter-box {
        margin-bottom: 25px;
    }

    .testimonial {
        margin-bottom: 30px;
    }

    .footer {
        padding: 60px 0 25px;
    }

        .footer h5 {
            margin-top: 30px;
        }

    .whatsapp-btn {
        width: 55px;
        height: 55px;
        font-size: 28px;
        right: 15px;
        bottom: 85px;
    }

    #topBtn {
        width: 50px;
        height: 50px;
        right: 15px;
        bottom: 15px;
    }
}


/*=========================================
            Small Mobile
==========================================*/

@media(max-width:576px) {

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 15px;
    }

    .btn-lg {
        padding: 12px 20px;
        font-size: 15px;
    }

    .navbar-brand img {
        height: 45px;
    }

    .navbar-brand span {
        font-size: 18px;
    }

    .section-title h2 {
        font-size: 26px;
    }

    .feature-card h4 {
        font-size: 20px;
    }

    .dashboard-card h2 {
        font-size: 28px;
    }

    .price-card h1 {
        font-size: 38px;
    }
}


/*=========================================
        Ultra Small Devices
==========================================*/

@media(max-width:380px) {

    .hero h1 {
        font-size: 24px;
    }

    .hero p {
        font-size: 14px;
    }

    .navbar-brand span {
        display: none;
    }

    .btn {
        font-size: 14px;
    }

    .section-title h2 {
        font-size: 22px;
    }
}
@media (max-width:991px) {

    .navbar-collapse {
        background: #ffffff;
        margin-top: 15px;
        border-radius: 15px;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,.08);
    }

    .navbar-nav {
        text-align: left;
    }

        .navbar-nav .nav-link {
            padding: 12px 15px;
            border-bottom: 1px solid #f2f2f2;
        }

    .ms-4 {
        margin-left: 0 !important;
        margin-top: 15px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

        .ms-4 .btn {
            width: 100%;
        }
}