/* =========================================
   World Class Testimonials UI
   ========================================= */

.pro-testi-wrap {
    /* Upar wale section ke sath seamless blend hone ke liye same background aur padding */
    padding: 20px 0 80px;
    background: #f4f7fe; /* 🚀 Matches the Affiliation section background! */
    font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.p-header { 
    text-align: center; 
    margin-bottom: 50px; 
    padding: 0 20px;
}

.p-title { 
    font-size: 38px; 
    font-weight: 900; 
    color: #1e293b; 
    text-transform: uppercase; 
    margin-bottom: 8px; 
    letter-spacing: -1px;
}

.p-title span { color: #ef4444; } 

.p-sub { 
    font-size: 16px; 
    color: #64748b; 
    max-width: 600px; 
    margin: 0 auto; 
    font-weight: 500;
}

/* 🎯 SLIDER CONTAINER 🎯 */
.testi-slider-container {
    max-width: 1000px; 
    margin: 0 auto;
    overflow: hidden; 
    padding: 30px 15px; /* Shadow ke liye extra jagah di hai */
    position: relative;
    border-radius: 30px;
}

.testi-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1); 
}

/* 💎 THE PREMIUM SPLIT CARD DESIGN 💎 */
.premium-testi-card {
    flex: 0 0 100%; 
    min-width: 100%;
    background: #ffffff;
    border-radius: 30px;
    display: flex;
    box-shadow: 0 15px 35px rgba(30, 58, 138, 0.08); /* Soft Premium Shadow */
    border: 1px solid rgba(255,255,255,0.8);
    overflow: hidden;
    box-sizing: border-box;
    transform: translateY(0);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* 🚀 Hover Effect Par Card Upar Uthega */
.premium-testi-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(30, 58, 138, 0.15);
}

/* 🔵 LEFT SIDE: DEEP BLUE & PHOTO 🔵 */
.pt-left {
    width: 40%;
    /* Gradient matching your theme */
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 30px;
    position: relative;
    overflow: hidden;
}

/* Background Design Circle */
.pt-left::after {
    content: ''; position: absolute; top: -30px; left: -30px;
    width: 200px; height: 200px; border-radius: 50%;
    background: rgba(255,255,255,0.03);
    z-index: 1;
}

/* 🌟 Glowing Image Ring (Animated) */
.pt-image-ring {
    width: 220px; height: 220px;
    border-radius: 50%;
    border: 2px dashed rgba(255,255,255,0.4);
    display: flex; align-items: center; justify-content: center;
    padding: 10px;
    position: relative;
    z-index: 2;
    animation: pulse-ring 3s infinite alternate; /* Soft glowing pulse */
}

@keyframes pulse-ring {
    0% { transform: scale(0.98); border-color: rgba(255,255,255,0.2); }
    100% { transform: scale(1.02); border-color: rgba(255,255,255,0.6); }
}

.pt-img {
    width: 100%; height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #ffffff;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    transition: transform 0.5s ease;
}

/* Image Zooms slightly on card hover */
.premium-testi-card:hover .pt-img {
    transform: scale(1.05);
}

.pt-auto-avatar {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    background: #ffffff; color: #1e3a8a; font-size: 70px; font-weight: 900;
    border-radius: 50%; border: 5px solid #ffffff;
}

/* ⚪ RIGHT SIDE: WHITE & TEXT ⚪ */
.pt-right {
    width: 60%;
    padding: 60px 50px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
}

/* 🚀 Floating Quote Icon */
.pt-quote-icon {
    position: absolute; top: 40px; right: 50px;
    font-size: 100px; color: rgba(239, 68, 68, 0.05);
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* ⭐ Stars */
.pt-stars { 
    color: #f59e0b; 
    font-size: 20px; 
    margin-bottom: 20px; 
    position: relative; 
    z-index: 2;
}

/* 📝 Feedback Text */
.pt-feedback {
    font-size: 17px; 
    color: #475569; 
    line-height: 1.8;
    font-style: italic; 
    margin-bottom: 30px; 
    position: relative; 
    z-index: 2;
}

/* 🔴 HOT RED NAME 🔴 */
.pt-name {
    font-size: 26px; 
    font-weight: 900; 
    color: #ef4444; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    margin-bottom: 8px;
    position: relative; 
    z-index: 2;
}

/* 🔵 BLUE COURSE BADGE 🔵 */
.pt-course {
    font-size: 13px; 
    font-weight: 800; 
    color: #4361ee;
    background: #eff6ff; 
    display: inline-block; 
    padding: 8px 20px; 
    border-radius: 50px;
    text-transform: uppercase; 
    letter-spacing: 1px;
    position: relative; 
    z-index: 2;
    width: fit-content;
}

/* 🎯 SLIDER NAVIGATION BUTTONS 🎯 */
.pt-nav-wrap {
    text-align: center; margin-top: 10px;
    display: flex; justify-content: center; gap: 15px;
}

.pt-nav-btn {
    width: 50px; height: 50px; border-radius: 50%;
    background: #ffffff; color: #1e3a8a; font-size: 18px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: 0.3s; 
    border: 1px solid #e2e8f0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.pt-nav-btn:hover { 
    background: #4361ee; 
    color: #fff; 
    border-color: #4361ee; 
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.3);
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .premium-testi-card { flex-direction: column; border-radius: 20px; }
    .pt-left { width: 100%; padding: 40px 20px; }
    .pt-image-ring { width: 170px; height: 170px; }
    .pt-right { width: 100%; padding: 40px 25px; text-align: center; }
    .pt-quote-icon { font-size: 70px; top: 15px; right: 20px; left: 0; margin: 0 auto;}
    .pt-name { font-size: 22px; }
    .pt-course { margin: 0 auto; } /* Center badge on mobile */
}