/* role play css */
.page-role-play .header {
    background: linear-gradient(135deg, #1442ea, #6e8cff);
    color: white;
    padding: 8rem 0 6rem;
    margin-bottom: 3rem;
    position: relative;
    height: unset !important;
    overflow: hidden;
}

.page-role-play .header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-1.2.1&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.page-role-play .header::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: #f8f9fa;
    clip-path: ellipse(50% 50% at 50% 100%);
}

.page-role-play .header-content {
    position: relative;
    z-index: 1;
}

.page-role-play .header h1 {
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-role-play .header .highlight {
    color: #ffd166;
}

.page-role-play .subheader {
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.2rem;
    line-height: 1.6;
}

.page-role-play .btn-header {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s;
    font-weight: 600;
    margin: 0 0.5rem 1rem;
}

.page-role-play .btn-header:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-role-play .btn-primary-header {
    background: white;
    color: #1442ea;
}

.page-role-play .btn-secondary-header {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.page-role-play .btn-secondary-header:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

/* Animated Header Elements */
.floating-shape {
    position: absolute;
    z-index: 0;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.page-role-play .shape-1 {
    top: 10%;
    left: 10%;
    width: 120px;
    height: 120px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background-color: rgba(255, 255, 255, 0.1);
    animation-delay: 0s;
}

.page-role-play .shape-2 {
    bottom: 20%;
    right: 15%;
    width: 150px;
    height: 150px;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    background-color: rgba(255, 255, 255, 0.1);
    animation-delay: 1s;
}

.page-role-play .shape-3 {
    top: 20%;
    right: 10%;
    width: 80px;
    height: 80px;
    border-radius: 50% 50% 20% 80% / 25% 80% 20% 75%;
    background-color: rgba(255, 255, 255, 0.1);
    animation-delay: 2s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(15px, 15px) rotate(10deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

/* Stats Counter */
.page-role-play .stats-section {
    background: white;
    border-radius: 15px;
    padding: 3rem 2rem;
    margin-top: -70px;
    position: relative;
    z-index: 2;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.stat-item {
    text-align: center;
    padding: 1rem;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 50px;
    width: 1px;
    background-color: #e9ecef;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1442ea;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-text {
    color: #6c757d;
    font-size: 1rem;
    font-weight: 500;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s;
    height: 100%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(20, 66, 234, 0.15);
}

.card-img-top {
    height: 220px;
    object-fit: cover;
    transition: transform 0.8s;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-img-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    transition: all 0.3s;
}

.card:hover .card-img-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 70%);
}

.card-overlay-title {
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card-overlay-text {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.page-role-play .card-title {
    color: #1442ea;
    font-weight: 700;
    font-size: 1.3rem;
}

.page-role-play .card-body {
    padding: 1.75rem;
}

.card-text {
    color: #6c757d;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.page-role-play .card-footer {
    background-color: white;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 1.75rem;
}

.page-role-play .btn-play {
    background: #1442ea;
    color: white;
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 12px rgba(20, 66, 234, 0.2);
    transition: all 0.3s;
}

.page-role-play .btn-play:hover {
    background: var(--main-color-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(20, 66, 234, 0.3);
    color: white;
}

.page-role-play .btn-play i {
    margin-right: 0.5rem;
}

/* Category Badge */
.page-role-play .category-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #ff6b6b;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.8rem;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.3);
}

/* Features Section */
.features-section {
    padding: 5rem 0;
}

.page-role-play .icon-feature {
    font-size: 2.5rem;
    color: white;
    background: linear-gradient(135deg, #1442ea, #3c5bff);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(20, 66, 234, 0.2);
    transition: all 0.3s;
}

.page-role-play .feature-card {
    padding: 2.5rem;
    border-radius: 15px;
    background: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s;
}

.page-role-play .feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.page-role-play .feature-card:hover .icon-feature {
    transform: rotateY(180deg);
}

.page-role-play .feature-title {
    font-weight: 700;
    color: #343a40 !important;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Filter Section */
.filter-section {
    background-color: white;
    border-radius: 15px;
    padding: 1.8rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.filter-title {
    color: #343a40;
    font-weight: 700;
    margin-bottom: 1rem;
}

.badge {
    background-color: rgba(20, 66, 234, 0.1);
    color: #1442ea;
    font-weight: 600;
    padding: 0.6em 1em;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.badge:hover,
.badge.active {
    background-color: #1442ea;
    color: white;
    border: 2px solid #1442ea;
    box-shadow: 0 4px 10px rgba(20, 66, 234, 0.2);
}

/* Testimonials */
.testimonials {
    padding: 4rem 0;
    background: linear-gradient(to right, #f8f9fa 0%, white 100%);
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    margin-bottom: 4rem;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -30px;
    left: 20px;
    font-size: 8rem;
    color: #1442ea;
    opacity: 0.1;
    font-family: 'Georgia', serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 3px solid #1442ea;
}

.testimonial-name {
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: #343a40;
}

.testimonial-position {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Section Title */
.page-role-play .section-title {
    position: relative;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    color: #343a40;
    font-weight: 800;
    font-size: 2.2rem;
    text-align: center;
}

.page-role-play .section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #1442ea;
    border-radius: 2px;
}

.page-role-play .section-subtitle {
    text-align: center;
    color: #6c757d;
    max-width: 700px;
    margin: -2rem auto 3rem;
    font-size: 1.1rem;
}

/* Call to Action */
.page-role-play .cta-section {
    background: linear-gradient(135deg, #1442ea, #6e8cff);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    margin-top: 5rem;
    border-radius: 15px;
}

.page-role-play .cta-shape {
    position: absolute;
    opacity: 0.1;
    background: white;
}

.page-role-play .cta-shape-1 {
    width: 300px;
    height: 300px;
    border-radius: 30% 70% 50% 50% / 30% 30% 70% 70%;
    top: -100px;
    right: -50px;
}

.page-role-play .cta-shape-2 {
    width: 200px;
    height: 200px;
    border-radius: 80% 20% 50% 50% / 50% 80% 20% 50%;
    bottom: -80px;
    left: -50px;
}

.page-role-play .cta-content {
    position: relative;
    z-index: 1;
}

.page-role-play .cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.page-role-play .cta-text {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
}

.page-role-play .header .highlight {
    color: #ffd166;
}

/* Animation Classes */
@media (max-width: 991px) {
    .page-role-play .header {
        padding: 6rem 0 4rem;
    }

    .page-role-play .header h1 {
        font-size: 2.8rem;
    }

    .stat-item:not(:last-child)::after {
        display: none;
    }

    .page-role-play .stats-section {
        margin-top: -40px;
    }
}

@media (max-width: 767px) {
    .page-role-play .header {
        padding: 5rem 0 3rem;
    }

    .page-role-play .header h1 {
        font-size: 2.3rem;
    }

    .page-role-play .stats-section {
        padding: 2rem 1rem;
        margin-top: -30px;
    }

    .page-role-play .stat-number {
        font-size: 2rem;
    }

    .page-role-play .stat-item {
        margin-bottom: 1.5rem;
    }

    .page-role-play .section-title {
        font-size: 1.8rem;
    }

    .page-role-play .cta-title {
        font-size: 2rem;
    }
}