 .tm-portfolio-image img {
    width: 100%;
    height: 250px; /* or any height you prefer */
    object-fit: cover; /* ensures image fills the area without distortion */
    border-radius: 6px; /* optional for smooth corners */
}
.tm-blog-image img {
    width: 100%;
    height: 250px; /* or any height you prefer */
    min-height: 250px;
    object-fit: cover; /* ensures image fills the area without distortion */
    border-radius: 6px; /* optional for smooth corners */
}
.blog-description {
    min-height: 80px; /* adjust as needed */
}
.image-wrapper {
    min-height: 200px;               /* <-- change this value */
    display: flex;
    align-items: center;             /* vertical center */
    justify-content: center;         /* horizontal center */
    overflow: hidden;                /* hide any overflow */
    background: #f8f9fa;            /* optional fallback colour */
}

.image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
    object-fit: contain;            /* keeps aspect ratio, no cropping */
}
.whatsapp-icon {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-icon a {
    background: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.chat-widget {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 300px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    z-index: 1000;
    display: none; /* Hidden by default */
}

.chat-header {
    background: #075e54;
    color: #fff;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

.chat-body {
    padding: 10px;
    background: #e5ddd5;
    min-height: 100px;
}

.chat-message {
    background: #fff;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 60px;
}

.chat-footer {
    padding: 10px;
    text-align: center;
    background: #fff;
}

.whatsapp-btn {
    display: inline-block;
    background: #25d366;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-bottom: 5px;
}

.whatsapp-btn i {
    margin-right: 5px;
}
@media (max-width: 768px) {
    .custom-scroll {
        bottom: 12% !important;
        right: 2% !important;
    }
    .whatsapp-icon {
        right: 4px;
    }
    .whatsapp-icon a {
        width: 45px;
        height: 45px;
        font-size: 24px; /* Adjust font size to fit the smaller icon */
    }
}

/* Profile Card */
.profile-row {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0,0,0,.1);
    transition: all .3s ease;
    margin-bottom: 3rem;
}
.profile-row:hover {
    box-shadow: 0 16px 38px rgba(0,0,0,.15);
    transform: translateY(-4px);
}

/* Image Column - Full Height Match */
.profile-img-col {
    display: flex;
    align-items: stretch;
    padding: 0;
}
.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px 0 0 12px;
    max-height: 520px;
}

/* Content */
.profile-content {
    padding: 2rem 2.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.profile-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: .5rem;
}

/* Auto-Width Pill Badge */
.profile-role {
    display: inline-block;
    background: #0d6efd;
    color: #fff;
    font-size: .9rem;
    font-weight: 600;
    padding: .45rem 1.1rem;
    border-radius: 50px;
    margin-bottom: 1.2rem;
    white-space: nowrap;
}
.icon-badge {
    margin-right: 8px;
}

.profile-desc {
    font-size: 1rem;
    line-height: 1.85;
    color: #444;
    text-align: justify;
    text-justify: inter-word;
}
.profile-desc strong {
    color: #0d6efd;
    font-weight: 600;
}
.profile-desc em {
    font-style: italic;
    color: #2c3e50;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .profile-img {
        border-radius: 12px 12px 0 0;
        max-height: 380px;
    }
    .profile-content {
        padding: 1.8rem;
    }
    .profile-title {
        font-size: 1.5rem;
    }
}
@media (max-width: 576px) {
    .profile-content {
        padding: 1.5rem;
    }
    .profile-title {
        font-size: 1.35rem;
    }
}
        