/* public/css/app.css অথবা আপনার কাস্টম CSS ফাইল */

@font-face {
    font-family: 'SolaimanLipi';
    src: url('fonts/SolaimanLipi.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
.note-editable {
    font-family: 'SolaimanLipi', Arial, sans-serif !important;
}
.bnFont{
    font-family: 'SolaimanLipi', Arial, sans-serif !important;
}
.bnFontSize{
    font-family: 'SolaimanLipi', Arial, sans-serif !important;
    font-size: 20px !important;
}
.bnFontSize24{
    font-family: 'SolaimanLipi', Arial, sans-serif !important;
    font-size: 24px !important;
}
.bnFontSize32{
    font-family: 'SolaimanLipi', Arial, sans-serif !important;
    font-size: 32px !important;
}


/* -----------------------------
   Blog thumbnail hover and premium layout overrides
   Placed here so core `style.css` remains untouched and
   custom rules can be updated without overwriting vendor file.
   ----------------------------- */

/* Card hover and compact alignment structure */
.blogpost, .blogbox {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important; /* Let optimized compact contents define the height naturally */
    margin-top: 15px !important;
    margin-bottom: 15px !important;
    position: relative !important;
    overflow: hidden !important;
    background: #ffffff !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.blogpost:hover, .blogbox:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12) !important;
}

/* Consistent Aspect Ratio & Quality cropping on blog images */
.blogpost .image, .blogbox .image {
    height: 200px !important; /* Compact premium image height */
    width: 100% !important;
    overflow: hidden !important;
    position: relative !important;
    z-index: 1 !important;
}

.blogpost .image img, .blogbox .image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Ultra-smooth slow image zoom transition */
.image img {
    -webkit-transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
    -webkit-transform-origin: center center !important;
    transform-origin: center center !important;
    -webkit-backface-visibility: hidden !important;
    backface-visibility: hidden !important;
    will-change: transform !important;
    -webkit-transform: translateZ(0) scale(1) !important;
    transform: translateZ(0) scale(1) !important;
}

/* Hover scale states for elements */
.blogpost:hover .image > img,
.blogbox:hover .image > img,
.cbp-item:hover img {
    -webkit-transform: translateZ(0) scale(1.08) !important;
    -ms-transform: translateZ(0) scale(1.08) !important;
    transform: translateZ(0) scale(1.08) !important;
}

/* Premium Card text area, padding reduction, and custom gap sizing */
.blogpost-text {
    padding: 1.15rem 1rem !important; /* Compact padding for snug look */
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    background: #ffffff !important;
    position: relative !important;
    z-index: 2 !important;
}

.blogpost .blogpost-text, .blogbox .blogpost-text {
    padding: 1.15rem 1rem !important;
}

/* Title Font, Line Clamping, and Reduced Bottom Margin */
.blogpost .blogpost-text h3, .blogbox .blogpost-text h3 {
    font-size: 1.05rem !important;
    line-height: 1.35 !important;
    margin-top: 0 !important;
    margin-bottom: 8px !important; /* Extremely tight title-to-text gap */
    font-weight: 600 !important;
}

.blogpost .blogpost-text h3 a, .blogbox .blogpost-text h3 a {
    color: #222222 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important; /* Clamping title to 2 lines max */
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    height: 2.85rem !important; /* Locked title block height for alignment */
}

.blogpost .blogpost-text h3 a:hover, .blogbox .blogpost-text h3 a:hover {
    color: #ff0000 !important;
}

/* Excerpt Font, Line Clamping, and Reduced Bottom Margin */
.blogpost .blogpost-text .excerpt-text, .blogbox .blogpost-text .excerpt-text {
    font-size: 0.85rem !important;
    color: #666666 !important;
    line-height: 1.45 !important;
    margin-top: 0 !important;
    margin-bottom: 12px !important; /* Compact gap below text */
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important; /* Clamping paragraph to 3 lines max */
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    height: 3.75rem !important; /* Snug height for 3 lines of plain text */
}

/* Viewmore Button Positioning and Styling */
.blogpost-text .viewmore {
    margin-top: auto !important; /* Aligned nicely at the very bottom */
    display: inline-block !important;
    color: #ff0000 !important;
    font-weight: 600 !important;
    font-size: 0.82rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: color 0.3s ease, padding-left 0.3s ease !important;
    padding-top: 2px !important;
}

.blogpost-text .viewmore:hover {
    color: #000000 !important;
    padding-left: 5px !important;
}



.pt10{padding-top: 10px !important;}
.pt20{padding-top: 20px !important;}
.nav-phone {
    margin-left: 20px;
}
.nav-phone a{
    font-size: 28px !important;
}
.phone-link {
    color: #fff;
    font-size: 28px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.phone-link i {
    font-size: 22px;
    color: #ffcc00;
}

.phone-link:hover {
    color: #ffcc00;
    text-decoration: none !important;
}
.customFontSizeForFaPhone{
    font-size: 28px !important;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .nav-phone {
        text-align: center;
        margin: 10px 0;
    }
    .phone-link {
        justify-content: center;
        font-size: 18px;
    }
}

.contact-phone {
    text-align: center;
    margin: 0 auto;
    color: white;
    padding-bottom: 10px;
}

.contact-phone a {
    font-size: 65px;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.contact-address {
    width: 45%;
    text-align: center;
    margin: 0 auto;
    color: white;
    padding-top: 10px;
}

/* Responsive design */
@media (max-width: 1024px) {
    .contact-phone a {
        font-size: 48px;
    }
    .contact-address {
        width: 60%;
    }
}

@media (max-width: 768px) {
    .contact-phone a {
        font-size: 36px;
    }
    .contact-address {
        width: 80%;
        padding-top: 5px;
    }
}

@media (max-width: 480px) {
    .contact-phone a {
        font-size: 40px;
    }
    .contact-address {
        width: 95%;
    }
}
.section-header {text-align: center;margin-bottom: 50px;}.section-title {font-size: 42px;color: #2c3e50;margin-bottom: 15px;font-weight: 700;}.section-subtitle {font-size: 18px;color: #7f8c8d;max-width: 600px;margin: 0 auto;}
.count_numsBn{font-size: 6.25rem !important;}

/* Counter number styling - responsive for mobile */
/* Counter mobile center alignment */
.floated-counter {
    text-align: center;
}

.floated-counter .counters {
    display: table;
    margin: 0 auto;
}

.floated-counter .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.floated-counter .col-md-auto,
.floated-counter .col-md {
    flex-basis: auto;
}

@media screen and (max-width: 768px) {
    .floated-counter .row {
        flex-direction: column;
        text-align: center;
    }

    .floated-counter .col-md-auto,
    .floated-counter .col-md {
        width: 100%;
        margin: 0 auto;
    }

    .floated-counter h3,
    .floated-counter p {
        text-align: center;
    }
}

/* Navbar menu text + underline customization */
#fixed-collapse-navbar .navbar-nav > li > a {
    color: #000;
    text-decoration: none;
}

#fixed-collapse-navbar.navbar-collapse .navbar-nav > li > a::before,
.navbar-default #fixed-collapse-navbar .navbar-nav > li > a::before {
    background: #ff0000;
}

/* Navbar brand width - normal state */
.navbar-brand {
    width: 160px;
}

/* Navbar brand width - fixed state */
#navigation.fixed .navbar-brand {
    width: 160px;
}

@media screen and (max-width: 990px) {
    #navigation {
        background: none;
        padding: 0;
    }
}

/* Slider button responsive sizing */
@media (max-width: 768px) {
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 16px;
    }

    .swiper-button-prev {
        left: 10px;
    }

    .swiper-button-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .swiper-button-next,
    .swiper-button-prev {
        width: 35px;
        height: 35px;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 14px;
    }

    .swiper-button-prev {
        left: 5px;
    }

    .swiper-button-next {
        right: 5px;
    }
}
