.elementor-1571 .elementor-element.elementor-element-116b1a3{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:40px;--padding-bottom:40px;--padding-left:10px;--padding-right:10px;}.elementor-1571 .elementor-element.elementor-element-116b1a3:not(.elementor-motion-effects-element-type-background), .elementor-1571 .elementor-element.elementor-element-116b1a3 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#F8F9FA;}@media(max-width:767px){.elementor-1571 .elementor-element.elementor-element-116b1a3{--padding-top:10px;--padding-bottom:10px;--padding-left:10px;--padding-right:10px;}}/* Start custom CSS for html, class: .elementor-element-9bc173a *//* Reset for internal elements to prevent theme conflict */
.astro-profile-container div, .astro-profile-container span, .astro-profile-container header, .astro-profile-container aside, .astro-profile-container section, .astro-profile-container h1, .astro-profile-container h2, .astro-profile-container h3, .astro-profile-container p, .astro-profile-container a, .astro-profile-container img, .astro-profile-container strong, .astro-profile-container table, .astro-profile-container tr, .astro-profile-container td, .astro-profile-container button, .astro-profile-container label, .astro-profile-container input, .astro-profile-container textarea { 
    margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; background: transparent; text-decoration: none; color: inherit; line-height: 1.2; text-align: left; font-weight: normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; 
}

.astro-profile-container *, .astro-profile-container *::before, .astro-profile-container *::after { 
    box-sizing: border-box; 
}

.astro-profile-container table { border-collapse: collapse; border-spacing: 0; }
.astro-profile-container button, .astro-profile-container input { -webkit-appearance: none; -moz-appearance: none; appearance: none; }

.astro-profile-container { 
    --primary-gradient: linear-gradient(284deg, #ff6a00 0%, #ff2e2e 100%); 
    --secondary-gradient: linear-gradient(284deg, #4361ee 0%, #3a0ca3 100%); 
    --primary-color: #ff6a00; 
    --secondary-color: #4361ee; 
    --text-color: #3c3d3d; 
    --light-text: #6c757d; 
    --border-color: #e9ecef; 
    --bg-color: #ffffff; 
    --font-family: 'Space Grotesk', sans-serif; 
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.07); 
    --border-radius: 12px; 
    
    font-family: var(--font-family); 
    color: var(--text-color); 
    margin-bottom: 50px; 
    
    /* FIX: Strict width adherence */
    width: 100%; 
    max-width: 100%;
    overflow-x: hidden; 
    word-wrap: break-word; 
    overflow-wrap: break-word;
}

.astro-profile-container .astro-profile-grid { 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 30px; 
    /* FIX: Remove fixed pixels, use 100% */
    width: 100%;
    max-width: 100%; 
    margin: auto; 
}

.astro-profile-container .astro-main-content {
    /* FIX: Critical for Grid items to shrink correctly */
    min-width: 0;
    width: 100%;
}

.astro-profile-container .astro-card { 
    background: var(--bg-color); 
    border-radius: var(--border-radius); 
    box-shadow: var(--card-shadow); 
    padding: 30px; 
    border: 1px solid var(--border-color); 
    position: relative; 
    /* FIX: Ensure card stays within bounds */
    width: 100%;
    max-width: 100%;
}

.astro-profile-container .astro-profile-header { position: relative; display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 20px; padding-bottom: 20px; }

.astro-profile-container .astro-profile-header__img-wrapper { position: relative; flex-shrink: 0; width: 100%; text-align: left; }

.astro-profile-container .astro-profile-header__img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; border: 5px solid var(--bg-color); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); }

.astro-profile-container .astro-profile-header__info { flex-grow: 1; width: 100%; min-width: 0; }

.astro-profile-container .astro-profile-header__info h1 { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-start; font-size: 2.2rem; font-weight: 700; margin: 0 0 10px; word-break: break-word; overflow-wrap: break-word; }

.astro-profile-container .astro-profile-header__meta { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 10px 20px; font-size: 0.95rem; color: var(--light-text); margin-bottom: 15px; }

.astro-profile-container .astro-profile-header__meta-item { display: flex; align-items: center; gap: 8px; word-break: break-word; overflow-wrap: break-word; }

.astro-profile-container .astro-rating { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.astro-profile-container .astro-rating__stars { color: #ffc107; }
.astro-profile-container .astro-rating__stars .fa-regular { color: #d4d4d4; }
.astro-profile-container .astro-rating__avg { font-weight: 700; font-size: 1.1rem; }
.astro-profile-container .astro-rating__count { font-size: 0.9rem; color: var(--light-text); }

.astro-profile-container .badge-container-absolute { position: absolute; top: 25px; right: 30px; display: flex; }
.astro-profile-container .badge { padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; color: white; box-shadow: 0 2px 5px rgba(0,0,0,0.2); display: flex; align-items: center; gap: 5px; }
.astro-profile-container .badge--inline { background: var(--secondary-gradient); margin-left: 15px; font-size: 0.75rem; padding: 3px 10px; }
.astro-profile-container .badge--verified { background: var(--primary-gradient); }

.astro-profile-container .astro-section { margin-bottom: 40px; width: 100%; }
.astro-profile-container .astro-section:last-child { margin-bottom: 0; }
.astro-profile-container .astro-section h2 { font-size: 1.5rem; font-weight: 600; margin: 0 0 20px; padding-left: 15px; position: relative; display: inline-block; }
.astro-profile-container .astro-section h2::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 4px; height: 70%; background: var(--primary-color); border-radius: 2px; }

.astro-profile-container .astro-section--classic-bio p { line-height: 1.8; color: var(--light-text); margin-bottom: 20px; }

.astro-profile-container .astro-header-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-top: 20px; width: 100%; }

.astro-profile-container .astro-contact-card__btn { display: flex; align-items: center; justify-content: center; padding: 10px 25px; border-radius: 8px; text-decoration: none; font-size: 0.95rem; font-weight: 600; transition: all 0.3s ease; border: 2px solid transparent; gap: 10px; }
.astro-profile-container .astro-contact-card__btn i { font-size: 1.1rem; }
.astro-profile-container .astro-contact-card__btn--primary { background: var(--primary-gradient); color: white; border: none; }
.astro-profile-container .astro-contact-card__btn--primary:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(255, 106, 0, 0.3); }
.astro-profile-container .astro-contact-card__btn--whatsapp { background: #e9f9ee; color: #25D366; border-color: #25D366; }
.astro-profile-container .astro-contact-card__btn--whatsapp:hover { background: #25D366; color: white; }
.astro-profile-container .astro-contact-card__btn--email { background: #f8f9fa; color: #495057; border-color: #dee2e6; }
.astro-profile-container .astro-contact-card__btn--email:hover { background: #e9ecef; }

.astro-profile-container hr.section-separator { border: none; height: 1px; background-color: var(--border-color); margin: 30px 0; width: 100%; }

.astro-profile-container .astro-tags-list { display: flex; flex-wrap: wrap; gap: 10px; }
.astro-profile-container .astro-tags-list__item { background-color: #f8f9fa; padding: 8px 15px; border-radius: 20px; border: 1px solid var(--border-color); font-weight: 500; font-size: 0.9rem; }

.astro-profile-container .astro-details-table-wrapper { background: #f8f9fa; border: 1px solid var(--border-color); border-radius: var(--border-radius); padding: 15px 25px; width: 100%; overflow: hidden; }

/* FIX: Force table to respect container width */
.astro-profile-container .astro-details-table { width: 100%; table-layout: fixed; }
.astro-profile-container .astro-details-table tr td { padding: 15px 0; border-bottom: 1px solid var(--border-color); font-weight: 600; word-break: break-word; }
.astro-profile-container .astro-details-table tr td:first-child { width: 40%; }
.astro-profile-container .astro-details-table tr:last-child td { border-bottom: none; }

.astro-profile-container .astro-availability { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; justify-content: flex-start; }
.astro-profile-container .astro-availability .day-box { display: flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: 600; background-color: #f1f3f5; color: #adb5bd; border: 2px solid #e9ecef; flex: 1 0 35px; max-width: 40px; height: 40px; }
.astro-profile-container .astro-availability .day-box.active { background: var(--primary-color); color: white; border-color: var(--primary-color); }

.astro-profile-container .astro-social-links-main { display: flex; flex-wrap: wrap; gap: 15px; }
.astro-profile-container .astro-social-links-main a { display: flex; align-items: center; justify-content: center; width: 45px; height: 45px; border-radius: 50%; background: #f1f3f5; color: var(--light-text); font-size: 1.2rem; transition: all 0.3s ease; }
.astro-profile-container .astro-social-links-main a:hover { background: var(--primary-color); color: white; transform: translateY(-3px); }

.astro-share-wrapper { margin-top: 25px; }
#astro-share-btn { cursor: pointer; background: var(--primary-gradient); color: white; border: none; border-radius: 8px; padding: 10px 25px; font-weight: 600; display: inline-flex; align-items: center; gap: 10px; transition: all 0.3s ease; }
#astro-share-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(255, 106, 0, 0.3); }
#astro-share-btn.copied { background: #28a745; transform: translateY(0); box-shadow: none; color: white; }

.astro-profile-container .reviews-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
.astro-profile-container .add-review-btn { background: var(--primary-gradient); color: white; border: none; padding: 10px 20px; border-radius: 8px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }

.astro-profile-container #add-review-form { background-color: #f8f9fa; border: 1px solid var(--border-color); border-radius: var(--border-radius); padding: 20px; margin-top: 20px; display: none; width: 100%; }
.astro-profile-container #add-review-form input[type="text"], .astro-profile-container #add-review-form textarea { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 6px; }

.astro-profile-container .star-rating-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; }
.astro-profile-container .star-rating-input input { display: none; }
.astro-profile-container .star-rating-input label { font-size: 1.5rem; color: #ccc; cursor: pointer; }
.astro-profile-container .star-rating-input input:checked ~ label, .astro-profile-container .star-rating-input label:hover, .astro-profile-container .star-rating-input label:hover ~ label { color: #ffc107; }

.astro-profile-container .thank-you-message { text-align: center; padding: 30px; background-color: #f8f9fa; border: 1px solid var(--border-color); border-radius: var(--border-radius); margin-top: 20px; display: none; }

/* Carousel Fixes */
.astro-profile-container .reviews-carousel { position: relative; overflow: hidden; margin-top: 25px; width: 100%; }
.astro-profile-container .reviews-carousel-track { display: flex; gap: 20px; transition: transform 0.5s ease; width: 100%; }

/* Ensure review cards respect width */
.astro-profile-container .review-card { flex: 0 0 100%; width: 100%; padding: 20px; background: #f8f9fa; border-radius: var(--border-radius); border: 1px solid var(--border-color); box-sizing: border-box; }

.astro-profile-container .review-card__header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.review-card__avatar-initials { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-weight: 600; font-size: 1.2rem; flex-shrink: 0; }
.review-card__author { font-weight: 600; }
.review-card__date { font-size: 0.8rem; color: var(--light-text); }
.astro-profile-container .carousel-nav { text-align: center; margin-top: 20px; }

/* =========================================== */
/* KEY RESPONSIVE FIXES FOR TABLET AND MOBILE  */
/* =========================================== */

@media (min-width: 768px) { 
    .astro-profile-container .astro-profile-header { flex-direction: row; } 
    .astro-profile-container .astro-profile-header__img-wrapper { width: auto; }
    .astro-profile-container .astro-header-actions { display: flex; width: auto; grid-template-columns: none; }
    
    /* Carousel logic fix for desktop */
    .astro-profile-container .review-card { flex: 0 0 calc(50% - 10px); width: calc(50% - 10px); }
}

@media (max-width: 767px) {
    .astro-profile-container .astro-card {
        padding: 20px;
    }
     .astro-profile-container .badge-container-absolute {
        top: 20px; right: 20px;
    }
    .astro-profile-container .astro-profile-header__img-wrapper {
        text-align: center;
    }
    .astro-profile-container .astro-profile-header__info {
        text-align: center;
    }
     .astro-profile-container .astro-profile-header__info h1,
     .astro-profile-container .astro-profile-header__meta {
        justify-content: center;
    }
    .astro-profile-container .astro-header-actions {
         grid-template-columns: 1fr; /* Stack buttons on mobile */
    }

    /* THIS IS THE CRITICAL FIX FOR THE TABLE */
    .astro-profile-container .astro-details-table,
    .astro-profile-container .astro-details-table tbody,
    .astro-profile-container .astro-details-table tr,
    .astro-profile-container .astro-details-table td {
        display: block;
        width: 100%;
        text-align: left;
    }
    .astro-profile-container .astro-details-table tr {
        padding: 10px 0;
        border-bottom: 1px solid var(--border-color);
    }
     .astro-profile-container .astro-details-table tr:last-child {
        border-bottom: none;
     }
    .astro-profile-container .astro-details-table td {
        padding: 4px 0;
        border-bottom: none;
    }
    .astro-profile-container .astro-details-table td:first-child {
        font-weight: 500;
        color: var(--light-text);
        width: 100%;
    }
}

@media (max-width: 480px) {
    .astro-profile-container .astro-profile-header__info h1 {
        font-size: 1.8rem; /* Further reduced title size */
    }
     .astro-profile-container .astro-section h2 {
        font-size: 1.3rem; /* Reduced section title size */
    }
     .astro-profile-container .astro-card {
        padding: 15px;
    }
     .astro-profile-container .badge-container-absolute {
        top: 15px; right: 15px;
    }
}

.astro-profile-container .astro-contact-card__btn--whatsapp {
    background: #25D366!important;
    color: #ffffff!important;
    border-color: #25D366;
}


.astro-profile-container .astro-profile-header__img

 {
   
    border-radius: 13%!important;
    
}/* End custom CSS */