/* Premium Team Showcase Stylesheet */

.pts-team-container {
    width: 100%;
    box-sizing: border-box;
}

.pts-team-grid {
    display: grid;
    gap: 30px;
    width: 100%;
    margin: 0 auto;
    padding: 20px 0;
    box-sizing: border-box;
    justify-content: center;
}

/* Default responsive column layouts */
.pts-team-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
}

/* Specific column override options if passed in shortcode, with responsive fallbacks */
@media (min-width: 768px) {
    .pts-cols-2 { grid-template-columns: repeat(2, minmax(280px, 360px)); }
    .pts-cols-3 { grid-template-columns: repeat(3, minmax(280px, 360px)); }
    .pts-cols-4 { grid-template-columns: repeat(4, minmax(280px, 360px)); }
}

@media (max-width: 767px) {
    .pts-team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 360px));
        gap: 20px;
    }
}

/* Team Card Design */
.pts-member-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), 
                box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), 
                border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.pts-member-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(224, 169, 59, 0.2); /* Match site golden/yellow accent on hover */
}

/* Image Wrapper with Squircle (Rounded Square) shape */
.pts-image-wrapper {
    width: 170px;
    height: 170px;
    margin: 0 auto 24px auto;
    border-radius: 40px; /* Squircle design like iOS icons */
    overflow: hidden;
    border: 4px solid #fcfcfc;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    position: relative;
    box-sizing: border-box;
}

.pts-member-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.pts-member-card:hover .pts-member-img {
    transform: scale(1.06);
}

/* Text & Details Styling */
.pts-member-name {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: #1a1e21;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.pts-member-designation {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #c59b27; /* Golden-yellow accent to match header theme */
    display: block;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Social media links styling */
.pts-member-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
}

.pts-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f5f6f8;
    transition: all 0.25s ease;
    color: #5c636a;
}

.pts-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: fill 0.25s ease;
}

/* Social link hover colors */
.pts-social-link:hover {
    color: #ffffff;
}

.pts-linkedin:hover {
    background-color: #0a66c2;
}

.pts-facebook:hover {
    background-color: #1877f2;
}

.pts-twitter:hover {
    background-color: #000000;
}

.pts-no-members {
    text-align: center;
    font-size: 1.1rem;
    color: #6c757d;
    padding: 30px 0;
}

/* About CDA Premium Layout */
.pts-about-section {
    width: 100%;
    background: #f6f6f8; /* Match theme background color */
    border: 1px solid rgba(0, 137, 228, 0.1);
    border-radius: 24px;
    padding: 60px 45px;
    margin: 30px 0;
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.01);
}

.pts-about-container {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.pts-about-left {
    flex: 0 0 32%;
    box-sizing: border-box;
}

.pts-about-right {
    flex: 1;
    box-sizing: border-box;
}

.pts-about-subtitle {
    display: block;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #0089e4; /* Match theme primary blue */
    letter-spacing: 2.5px;
    margin-bottom: 12px;
}

.pts-about-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #192730; /* Match theme secondary dark blue */
    margin: 0;
    line-height: 1.25;
}

.pts-accent-text {
    color: #0089e4; /* Match theme primary blue */
}

.pts-about-divider {
    width: 65px;
    height: 4px;
    background-color: #0089e4; /* Match theme primary blue */
    border-radius: 2px;
    margin-top: 20px;
}

.pts-about-description {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 1.1rem;
    line-height: 1.75;
    color: #192730; /* Match theme body color */
    margin: 0 0 32px 0;
    opacity: 0.9;
}

.pts-about-expertise-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #6c757d;
    letter-spacing: 1.2px;
    margin-bottom: 18px;
}

.pts-about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pts-tag {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 500;
    color: #192730; /* Match theme dark text */
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.01);
    cursor: default;
}

.pts-tag:hover {
    background-color: #0089e4; /* Match theme primary blue */
    color: #ffffff;
    border-color: #0089e4;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 137, 228, 0.25); /* Blue glow */
}

/* Responsive Styles */
@media (max-width: 991px) {
    .pts-about-container {
        gap: 35px;
    }
    .pts-about-title {
        font-size: 2.3rem;
    }
}

@media (max-width: 767px) {
    .pts-about-section {
        padding: 40px 25px;
    }
    .pts-about-container {
        flex-direction: column;
        gap: 25px;
    }
    .pts-about-left {
        flex: 1 1 auto;
        width: 100%;
    }
    .pts-about-title {
        font-size: 2.1rem;
    }
    .pts-about-divider {
        margin-top: 15px;
    }
    .pts-about-description {
        font-size: 1.05rem;
    }
}

/* === QUICK CONTACT ACTION BAR (CALL & WHATSAPP) === */

/* Mobile view: Full width bottom bar */
@media (max-width: 921px) {
    .pts-mobile-action-bar {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 60px !important;
        background: rgba(25, 39, 48, 0.96) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        border-top: 2px solid #c59b27 !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.18) !important;
        display: flex !important;
        z-index: 99998 !important;
        box-sizing: border-box !important;
    }

    .pts-action-item {
        flex: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-decoration: none !important;
        color: #ffffff !important;
        font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        gap: 8px !important;
        transition: background 0.25s ease !important;
    }

    .pts-action-item:not(:last-child) {
        border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .pts-action-item.pts-call-btn {
        background: linear-gradient(135deg, #0089e4 0%, #006eb7 100%) !important;
    }

    .pts-action-item.pts-wa-btn {
        background: linear-gradient(135deg, #25D366 0%, #1ebd5b 100%) !important;
    }
    
    .pts-action-item svg {
        width: 18px !important;
        height: 18px !important;
        fill: currentColor !important;
    }

    body {
        padding-bottom: 60px !important;
    }
}

/* Desktop view: Premium circular floating buttons stacked vertically at bottom-right */
@media (min-width: 922px) {
    .pts-mobile-action-bar {
        position: fixed !important;
        bottom: 100px !important; /* Shifted up from 30px to clear the Scroll to Top button */
        right: 30px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        z-index: 99998 !important;
        box-sizing: border-box !important;
    }

    /* Ensure Astra's scroll to top button is layered correctly */
    #ast-scroll-top {
        z-index: 99999 !important;
    }

    .pts-action-item {
        width: 55px !important;
        height: 55px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-decoration: none !important;
        color: #ffffff !important;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25) !important;
        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
        position: relative !important;
    }

    .pts-action-item.pts-call-btn {
        background: linear-gradient(135deg, #0089e4 0%, #006eb7 100%) !important;
    }

    .pts-action-item.pts-wa-btn {
        background: linear-gradient(135deg, #25D366 0%, #1ebd5b 100%) !important;
    }

    .pts-action-item svg {
        width: 22px !important;
        height: 22px !important;
        fill: currentColor !important;
    }

    .pts-mobile-action-bar .pts-btn-text {
        display: none !important;
    }

    /* Hover effect for buttons */
    .pts-action-item:hover {
        transform: scale(1.12) translateY(-2px) !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35) !important;
    }

    /* Elegant CSS Tooltip on Hover */
    .pts-action-item::after {
        content: attr(title) !important;
        position: absolute !important;
        right: 70px !important;
        background: rgba(25, 39, 48, 0.96) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(197, 155, 39, 0.25) !important; /* Gold highlight border */
        color: #ffffff !important;
        padding: 6px 12px !important;
        border-radius: 6px !important;
        font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif !important;
        font-size: 12px !important;
        font-weight: 500 !important;
        white-space: nowrap !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all 0.25s ease !important;
        pointer-events: none !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
    }

    .pts-action-item:hover::after {
        opacity: 1 !important;
        visibility: visible !important;
        right: 65px !important;
    }
}
