/* ==========================================================================
   Panchakarma Custom Styles - Todkar Sanjeevani
   ========================================================================== */

/* Hero / Page-Title Section (Matches Services Section Dimensions) */
.panchkarma-hero-row {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    background-color: #f7faf4;
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.panchkarma-hero-overlay {
    width: 100%;
    height: 100%;
    padding: 75px 0 80px;
    background: linear-gradient(90deg, 
        rgba(252, 254, 250, 0.96) 0%, 
        rgba(252, 254, 250, 0.90) 38%, 
        rgba(252, 254, 250, 0.50) 65%, 
        rgba(252, 254, 250, 0.15) 100%
    );
    display: flex;
    align-items: center;
}

.panchkarma-hero-content {
    position: relative;
    z-index: 2;
}

.panchkarma-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(31, 99, 6, 0.08);
    color: #1f6306;
    border: 1px solid rgba(31, 99, 6, 0.22);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 20px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.panchkarma-hero-title {
    font-size: 54px;
    font-weight: 800;
    color: #1a3814;
    margin-bottom: 14px;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.panchkarma-hero-subtitle {
    font-size: 17px;
    color: #445940;
    line-height: 1.7;
    max-width: 620px;
    margin-bottom: 22px;
}

.panchkarma-hero-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    padding: 7px 18px;
    border-radius: 30px;
    border: 1px solid rgba(31, 99, 6, 0.12);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.panchkarma-hero-breadcrumb a {
    color: #1f6306;
    text-decoration: none;
    transition: color 0.2s ease;
}

.panchkarma-hero-breadcrumb a:hover {
    color: #0c3300;
}

.panchkarma-hero-breadcrumb .sep {
    color: #a4b89f;
}

.panchkarma-hero-breadcrumb .current {
    color: #273822;
}

.panchakarma-section {
    padding: 70px 0 90px;
    background: linear-gradient(180deg, #fbfdf9 0%, #f4f8f1 100%);
    position: relative;
}

.panchakarma-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 55px;
}

.panchakarma-subtitle-pill {
    display: inline-block;
    background: rgba(31, 99, 6, 0.08);
    color: #1f6306;
    border: 1px solid rgba(31, 99, 6, 0.2);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 7px 22px;
    border-radius: 50px;
    margin-bottom: 15px;
}

.panchakarma-main-title {
    font-size: 38px;
    font-weight: 800;
    color: #1b3815;
    margin-bottom: 14px;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.panchakarma-desc {
    font-size: 16px;
    color: #556852;
    line-height: 1.7;
    margin: 0 auto;
}

/* Treatment Grid & Circular Cards */
.panchakarma-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 -12px;
}

.pk-treatment-card {
    text-align: center;
    margin-bottom: 38px;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none !important;
    position: relative;
}

.pk-circle-wrap {
    position: relative;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    margin: 0 auto 16px;
    padding: 6px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(27, 56, 21, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
    border: 2px solid rgba(31, 99, 6, 0.18);
    transition: all 0.35s ease;
    cursor: pointer;
}

.pk-circle-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    background: #eef4eb;
}

.pk-circle-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
    transition: transform 0.45s ease;
}

/* Hover Effects */
.pk-treatment-card:hover .pk-circle-wrap {
    transform: translateY(-8px);
    border-color: #1f6306;
    box-shadow: 0 18px 36px rgba(31, 99, 6, 0.22), 0 4px 10px rgba(0, 0, 0, 0.08);
}

.pk-treatment-card:hover .pk-circle-inner img {
    transform: scale(1.1);
}

.pk-treatment-card:hover .pk-title {
    color: #1f6306;
}

/* Treatment Title Label */
.pk-title-wrap {
    text-align: center;
    width: 100%;
    padding: 0 6px;
}

.pk-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e2e1a;
    margin: 0;
    line-height: 1.35;
    transition: color 0.3s ease;
    display: block;
}

.pk-en-title {
    font-size: 12.5px;
    font-weight: 700;
    color: #1f6306;
    display: block;
    margin-top: 2px;
    margin-bottom: 7px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Treatment Information Card Box */
.pk-info-card {
    width: 100%;
    background: #ffffff;
    border: 1px solid #d4e5ce;
    border-radius: 14px;
    padding: 13px 14px 12px;
    margin-top: 10px;
    box-shadow: 0 4px 14px rgba(27, 56, 21, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
    text-align: center;
    transition: all 0.32s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.pk-treatment-card:hover .pk-info-card {
    border-color: #5ea036;
    background: #fbfdf9;
    box-shadow: 0 8px 24px rgba(31, 99, 6, 0.12);
    transform: translateY(-2px);
}

.pk-desc-mr {
    font-size: 13px;
    color: #1c2f18;
    line-height: 1.5;
    margin-bottom: 0;
    font-weight: 600;
    transition: color 0.25s ease;
}

.pk-card-divider {
    width: 36px;
    height: 1.5px;
    background: #95c181;
    margin: 8px auto;
    border-radius: 2px;
    opacity: 0.65;
    transition: all 0.3s ease;
}

.pk-treatment-card:hover .pk-card-divider {
    width: 56px;
    background: #1f6306;
    opacity: 1;
}

.pk-desc-en {
    font-size: 12px;
    color: #4b6247;
    line-height: 1.45;
    margin-bottom: 0;
    transition: color 0.25s ease;
}

.pk-treatment-card:hover .pk-desc-mr {
    color: #12200f;
}

.pk-treatment-card:hover .pk-desc-en {
    color: #274024;
}

.pk-card-number {
    position: absolute;
    top: 6px;
    right: 12px;
    background: #1f6306;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    width: 26px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 991px) {
    .panchakarma-main-title {
        font-size: 30px;
    }
    .pk-circle-wrap {
        width: 165px;
        height: 165px;
    }
    .pk-title {
        font-size: 16.5px;
    }
    .pk-en-title {
        font-size: 12px;
    }
    .pk-desc-mr {
        font-size: 12.5px;
    }
    .pk-desc-en {
        font-size: 11.5px;
    }
}

@media (max-width: 575px) {
    .panchakarma-section {
        padding: 45px 0 60px;
    }
    .panchakarma-main-title {
        font-size: 25px;
    }
    .pk-circle-wrap {
        width: 135px;
        height: 135px;
        padding: 4px;
        margin-bottom: 10px;
    }
    .pk-card-number {
        width: 22px;
        height: 22px;
        line-height: 22px;
        font-size: 10px;
        right: 4px;
        top: 4px;
    }
    .pk-title {
        font-size: 15px;
    }
    .pk-en-title {
        font-size: 11px;
        margin-bottom: 5px;
    }
    .pk-info-card {
        padding: 9px 8px 8px;
        margin-top: 7px;
        border-radius: 10px;
    }
    .pk-card-divider {
        width: 24px;
        margin: 5px auto;
    }
    .pk-treatment-card:hover .pk-card-divider {
        width: 36px;
    }
    .pk-desc-mr {
        font-size: 11px;
        line-height: 1.35;
        margin-bottom: 0;
    }
    .pk-desc-en {
        font-size: 10.5px;
        line-height: 1.3;
        margin-bottom: 0;
    }
    .pk-treatment-card {
        margin-bottom: 24px;
    }
}
