/* Tepm CSS */
body.page-id-2779 {
    background: #FFF !important;
}

/* ======= GLOBAL STYLES ======= */
.AvatrLearnWrap {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    margin-bottom: 120px;
}

.gradient-btn {
    background: radial-gradient(95.7% 100% at 52.4% 6.3%, rgb(255, 201, 229) 0%, rgb(219 70 147 / 93%) 17.2727%, rgb(134 57 153 / 89%) 52.2522%, rgb(25 47 156) 68.3279%, rgb(70 82 179 / 98%) 87.8378%, rgb(121 130 224) 100%) !important;
}

/* ======= HERO SECTION ======= */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 90vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

/* Main Container */
.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Left Content */
.hero-content {
    flex: 1;
}

.hero-content h3 {
    font-size: 1.4rem;
    font-weight: 500;
    color: #000;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content h1 {
    font-size: 42px;
    line-height: 1.3;
    font-weight: 700;
    color: #000;
    margin-bottom: 25px;
}

/* .hero-content a.hero-btn {
    display: inline-block;
    background: #6C4BFF;
    color: #fff;
    padding: 10px 25px;
    border-radius: 40px;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    width: 180px;
    height: 32px;
} */

/* .hero-content a.hero-btn:hover {
    transform: scale(1.05);
    opacity: 0.9;
    cursor: pointer;
}


.hero-content a.hero-btn img {
    width: 17px;
} */

/* Right Image */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: contain;
}

/* ======= RESPONSIVE DESIGN ======= */

/* Tablets and small laptops */
@media (max-width: 1024px) {
    .hero-section {
        min-height: 70vh;
        padding: 60px 0;
    }

    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    /* .hero-image img {
        max-width: 400px;
    } */
}

/* Mobile devices */
@media (max-width: 600px) {
    .hero-section {
        min-height: auto;
        padding: 60px 0 80px;
    }

    .hero-container {
        padding: 0 20px;
        gap: 25px;
    }

    .hero-content h3 {
        font-size: 1.1rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content a.hero-btn {
        padding: 8px 18px;
        font-size: 1rem;
    }

    /* .hero-image img {
        max-width: 280px;
    } */
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.3rem;
    }
}

/* ======= SECTION STYLES ======= */
.avatr-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin: 30px 25px;
    padding: 6px 6px 6px 40px;
    border-radius: 8px;
    background: #fff;
    flex-wrap: wrap;
    border: 1px solid #BFBFBF;
}

.avatr-section img {
    width: 100%;
    max-width: 450px;
    border-radius: 6px;
}

.section-content {
    flex: 1;
    min-width: 280px;
    margin-top: 20px;
}

.section-number {
    background: linear-gradient(135deg, #A46CFF, #6C4BFF);
    color: #fff;
    font-weight: 600;
    font-size: 1.2rem;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.section-content h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.section-content p {
    color: #000000;
    line-height: 1.6;
    font-size: 18px;
    font-weight: 400;
    margin: 10px 0px;
}

/* ======= RESPONSIVE ======= */

@media(max-width: 992px) {
    .avatr-section {
        padding: 0px;
        gap: 30px;
    }

    .section-content {
        order: 2;
        padding: 0px 40px 30px;
    }

    .section-number {
        margin-bottom: 20px;
    }

    .section-content h2 {
        font-size: 30px;
    }

    .avatr-section img {
        max-width: 100%;
        max-height: 340px;
        object-fit: cover;
    }
}

@media(max-width: 768px) {

    .avatr-section {
        flex-direction: column !important;
    }

    .section-content h2 {
        font-size: 26px;
    }

    .section-content p {
        font-size: 16px;
    }

    .avatr-section img {
        max-width: 100%;
        height: 260px;
        object-fit: cover;
    }
}

@media(max-width: 576px) {
    .section-content h2 {
        font-size: 26px;
    }

    .section-content p {
        font-size: 16px;
    }

    .section-content {
        padding: 0px 20px 15px;
    }

    .section-number {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .section-content h2 {
        font-size: 22px;
    }

    .section-content p {
        font-size: 15px;
    }
}


/* Avatr Agent Button */
.hero-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    /* background: linear-gradient(135deg, #5205fa 0%, #d1549d 100%); */
    /* background: #5205fa; */
    /* background: #FFF; */
    background: linear-gradient(169deg, #FFF, #d6c7f5);
    /* color: white; */
    color: #5205fa;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    border: 2px solid rgb(255 255 255);
    box-shadow: 0 8px 32px rgba(124, 58, 237, 0.4), 0 4px 16px rgba(168, 85, 247, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    overflow: hidden;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: left 0.5s ease;
}

.hero-btn:hover::before {
    left: 100%;
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 12px 40px rgba(124, 58, 237, 0.5),
        0 6px 20px rgba(168, 85, 247, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-btn:active {
    transform: translateY(0);
}

.icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.star-icon {
    width: 18px;
    height: 18px;
    /* filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8)); */
    filter: drop-shadow(0 0 8px rgba(82, 5, 250, 0.8));
    animation: starGlow 2s ease-in-out infinite, starScale 3s ease-in-out infinite;
    z-index: 2;
}

.star-icon path {
    fill: #5204fa;
    stroke: #5204fa;
}

/* Glowing pulse rings */
.icon-wrapper::before,
.icon-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 0%, transparent 70%);
    animation: pulse 2s ease-out infinite;
    pointer-events: none;
}

.icon-wrapper::after {
    animation: pulse 2s ease-out infinite 1s;
}

/* @keyframes starGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 12px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 16px rgba(168, 85, 247, 0.4));
    }

    50% {
        filter: drop-shadow(0 0 12px rgba(255, 255, 255, 1)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 28px rgba(168, 85, 247, 0.6));
    }
} */

@keyframes starGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 8px rgba(82, 5, 250, 0.8)) drop-shadow(0 0 12px rgba(82, 5, 250, 0.6)) drop-shadow(0 0 16px rgba(82, 5, 250, 0.4));
    }

    50% {
        filter: drop-shadow(0 0 12px rgba(82, 5, 250, 1)) drop-shadow(0 0 20px rgba(82, 5, 250, 0.8)) drop-shadow(0 0 28px rgba(82, 5, 250, 0.6));
    }
}

@keyframes starScale {

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

    25% {
        transform: scale(1.15) rotate(5deg);
    }

    50% {
        transform: scale(1.08) rotate(0deg);
    }

    75% {
        transform: scale(1.15) rotate(-5deg);
    }
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.8;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* Alternative sparkle star SVG if you prefer */
.sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: white;
    background: #5205fa;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    animation: sparkle 3s ease-in-out infinite;
    opacity: 0;
}

.sparkle:nth-child(1) {
    top: -4px;
    left: 2px;
    animation-delay: 0s;
}

.sparkle:nth-child(2) {
    bottom: 0px;
    left: -8px;
    animation-delay: 1s;
}

.sparkle:nth-child(3) {
    top: 90%;
    right: 0px;
    animation-delay: 2s;
}

@keyframes sparkle {

    0%,
    100% {
        opacity: 0;
        transform: scale(0);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }
}