/* Custom Body Class */
.custom-body {
    margin: 0;
    padding: 0;
    background-color: #fff; /* Light blue background */
    /* display: flex; */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Centering the sub-title and sec-title */
.text-center {
    text-align: center;
}

/* Title Style */
.sub-title {
    font-size: 24px;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Subtitle Style */
.sec-title {
    color: #1b6baa; /* Match with section background color */
    font-size: 25px;
}

/* Custom Counter Section */
.custom-counter-section {
    width: 100%;
    height: auto; 
    padding: 50px 5%;
    text-align: center;
    background-color: #3e9fd8    ; /* Blue background for the section */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

/* Custom Counter Container */
.custom-counter-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

/* Custom Counter Box */
.custom-counter-box {
    display: flex;
    flex-direction: column; /* Arrange icon, counter, and text vertically */
    justify-content: center;
    align-items: center;
    width: 180px;
    height: 180px;
    background: #fff;
    border: 2px solid transparent;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out;
    overflow: hidden;
}

.custom-counter-box:hover {
    transform: translateY(-5px);
}

.custom-counter-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid #1b6baa;
    border-radius: 15px;
    clip-path: polygon(0 0, 85% 0, 85% 85%, 0% 85%);
    z-index: -1;
}

/* Counter Number */
.custom-counter-box .custom-counter {
    font-size: 36px;
    font-weight: bold;
    color: #1b6baa;
    margin: 10px 0;
}

/* Counter Text */
.custom-counter-box p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

/* Icons */
.custom-counter-box i {
    font-size: 40px;
    color: #1b6baa;
    margin-bottom: 10px;
}

/* ----------------------------------- */
/* 📱 Mobile Responsive Fixes */
/* ----------------------------------- */

/* 📌 Tablet (Max-width: 768px) */
@media (max-width: 768px) {
    .custom-counter-section {
        padding: 30px 5%;
    }

    .custom-counter-container {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .custom-counter-box {
        width: 100%; /* Two items per row */
        height: 140px;
        padding: 70px;
    }

    .custom-counter-box i {
        font-size: 28px;
    }

    .custom-counter-box .custom-counter {
        font-size: 26px;
    }

    .custom-counter-box p {
        font-size: 11px;
    }
}

/* 📌 Small Mobile (Max-width: 480px) */
@media (max-width: 480px) {
    .custom-counter-container {
        flex-direction: column; /* Stack items in one column */
        align-items: center;
        gap: 15px;
    }

    .custom-counter-box {
        width: 100%;
        max-width: 300px;
        height: 130px;
        padding: 70px;
    }

    .custom-counter-box i {
        font-size: 26px;
    }

    .custom-counter-box .custom-counter {
        font-size: 24px;
    }

    .custom-counter-box p {
        font-size: 10px;
    }
}
