﻿body {
    background: #f5f6fa;
}

.hd-hero-box {
    background: grey;
    /*background: linear-gradient(135deg, #1f2933, #111827);*/
    background: linear-gradient(135deg, #4a4a4a 10%, #1f2933 50%, #111827 50%);
    border-radius: 20px;
    padding: 50px 30px;
    color: #fff;
    box-shadow: 0 15px 40px rgba(0,0,0,.25);
}

.hd-hero-title {
    font-weight: 800;
    font-size: 34px;
    letter-spacing: 1px;
}

.hd-hero-sub {
    font-size: 17px;
    opacity: .85;
    margin-top: 10px;
}

.hd-service-card {
    background: #fff;
    border-radius: 18px;
    padding: 25px 15px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    transition: .3s ease;
}

    .hd-service-card:hover {
        transform: translateY(-6px);
    }

    .hd-service-card img {
        height: 80px;
        width:80px;
        margin-bottom: 12px;
    }

    .hd-service-card h6 {
        font-weight: 700;
        margin-top: 10px;
    }

.hd-cta-btn {
    background: blue;
    background: linear-gradient(135deg,#f59e0b,#f97316);
    border: none;
    color: white;
    color: #fff;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
}

    .hd-cta-btn:hover {
        opacity: .9;
    }
.hd-service-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

    .hd-service-link:hover .hd-service-card {
        transform: translateY(-5px);
        transition: 0.3s ease;
        cursor: pointer;
    }


@media (max-width: 610px) {
    .hd-container {
        /*padding-left: 0 !important;
        padding-right: 0 !important;*/
    }

    .hd-service-card1 {
        flex: 0 0 100% !important; /* take full width of row */
        max-width: 100% !important;
    /*    padding-left: 0 !important;
        padding-right: 0 !important;*/
    }
    .hd-service-card img {
        height: 150px;
        width: 60%;
        margin-bottom: 12px;
        border-radius: 15px;
    }
}

    @media (max-width: 450px) {
        .hd-container {
           /* padding-left: 0 !important;
            padding-right: 0 !important;*/
        }

        .hd-service-card1 {
            flex: 0 0 100% !important; 
            max-width: 100% !important;
/*            padding-left: 0 !important;
            padding-right: 0 !important;*/
        }
        .hd-service-card img {
            height: 150px;
            width: 60%;
            margin-bottom: 12px;
            border-radius: 15px;
        }
}

