/* Enhanced Animated Courses Listing Page Styles */

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --warning-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --purple-gradient: linear-gradient(135deg, #a855f7 0%, #e879f9 100%);
    --blue-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --green-gradient: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    --orange-gradient: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --rainbow-gradient: linear-gradient(45deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3);
}

.courses-listing {
    padding: 120px 0 90px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
}

/* Animated Background Elements */
.courses-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.floating-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 60px;
    height: 60px;
    background: var(--purple-gradient);
    top: 10%;
    left: 10%;
    animation-delay: -0.5s;
    opacity: 0.7;
}

.shape-2 {
    width: 80px;
    height: 80px;
    background: var(--blue-gradient);
    top: 20%;
    right: 15%;
    animation-delay: -2s;
    opacity: 0.5;
}

.shape-3 {
    width: 40px;
    height: 40px;
    background: var(--green-gradient);
    bottom: 30%;
    left: 20%;
    animation-delay: -3.5s;
    opacity: 0.6;
}

.shape-4 {
    width: 70px;
    height: 70px;
    background: var(--orange-gradient);
    bottom: 40%;
    right: 25%;
    animation-delay: -1s;
    opacity: 0.4;
}

.shape-5 {
    width: 50px;
    height: 50px;
    background: var(--secondary-gradient);
    top: 60%;
    left: 80%;
    animation-delay: -4s;
    opacity: 0.7;
}

.shape-6 {
    width: 90px;
    height: 90px;
    background: var(--success-gradient);
    top: 80%;
    left: 5%;
    animation-delay: -2.5s;
    opacity: 0.3;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(20px) rotate(240deg);
    }
}

/* Enhanced Section Title */
.courses-listing .section-title {
    margin-bottom: 70px;
    position: relative;
    z-index: 2;
}

.animated-title {
    animation: titleSlideIn 1s ease-out;
}

@keyframes titleSlideIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.gradient-text {
    background: var(--rainbow-gradient);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    font-weight: 700;
    font-size: 18px;
    padding: 10px 20px;
    border-radius: 25px;
    position: relative;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.rainbow-title {
    animation: colorShift 4s ease-in-out infinite;
}

.rainbow-title span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.typing-animation {
    border-right: 2px solid #667eea;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% {
        border-color: transparent;
    }
    51%, 100% {
        border-color: #667eea;
    }
}

.fade-in-text {
    animation: fadeInUp 1s ease-out 0.5s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.title-decorations {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    gap: 20px;
}

.decoration-line {
    height: 2px;
    width: 50px;
    background: var(--primary-gradient);
    border-radius: 1px;
}

.left-line {
    animation: slideInLeft 1s ease-out 1s both;
}

.right-line {
    animation: slideInRight 1s ease-out 1s both;
}

@keyframes slideInLeft {
    from {
        width: 0;
        transform: translateX(25px);
    }
    to {
        width: 50px;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        width: 0;
        transform: translateX(-25px);
    }
    to {
        width: 50px;
        transform: translateX(0);
    }
}

.decoration-star {
    font-size: 24px;
    animation: starTwinkle 2s ease-in-out infinite;
}

@keyframes starTwinkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 0.8;
    }
}

/* Enhanced Course Cards */
.courses-grid {
    position: relative;
    z-index: 2;
}

.magical-card {
    position: relative;
    margin-bottom: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.magical-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 15px;
    background: var(--primary-gradient);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.magical-card:hover::before {
    opacity: 1;
    animation: borderGlow 2s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% {
        background: var(--primary-gradient);
    }
    25% {
        background: var(--secondary-gradient);
    }
    50% {
        background: var(--success-gradient);
    }
    75% {
        background: var(--warning-gradient);
    }
}

.magical-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.card-purple {
    border-left: 5px solid #a855f7;
}

.card-blue {
    border-left: 5px solid #3b82f6;
}

.card-green {
    border-left: 5px solid #10b981;
}

/* Course Badges */
.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--orange-gradient);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 3;
    animation: badgeBounce 2s ease-in-out infinite;
}

@keyframes badgeBounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.courses-one__img-box {
    position: relative;
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.courses-one__img {
    position: relative;
    overflow: hidden;
}

.courses-one__img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.magical-card:hover .courses-one__img img {
    transform: scale(1.1) rotate(2deg);
}

/* Image Overlay */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.magical-card:hover .image-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.magical-card:hover .overlay-content {
    transform: translateY(0);
}

.overlay-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 10px;
    animation: iconSpin 2s linear infinite;
}

@keyframes iconSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.overlay-content p {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

/* Enhanced Content */
.courses-one__content {
    padding: 30px 25px;
    position: relative;
}

.courses-one__content-bottom {
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
    margin-top: 20px;
}

.courses-one__author-and-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 15px;
}

.courses-one__btn-and-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

/* Animated Stars */
.animated-stars {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.animated-stars .icon-star {
    color: #ffa500;
    font-size: 16px;
    margin-right: 3px;
    transition: all 0.3s ease;
}

.star-1 { animation-delay: 0.1s; }
.star-2 { animation-delay: 0.2s; }
.star-3 { animation-delay: 0.3s; }
.star-4 { animation-delay: 0.4s; }
.star-5 { animation-delay: 0.5s; }

.magical-card:hover .animated-stars .icon-star {
    animation: starPulse 0.6s ease-in-out;
    transform: scale(1.2);
}

@keyframes starPulse {
    0%, 100% {
        transform: scale(1.2);
    }
    50% {
        transform: scale(1.4);
    }
}

.rating-number {
    font-size: 14px;
    color: #666666;
    margin: 0;
    font-weight: 600;
    animation: numberGlow 2s ease-in-out infinite;
}

@keyframes numberGlow {
    0%, 100% {
        color: #666666;
    }
    50% {
        color: #ffa500;
    }
}

/* Glowing Titles */
.glowing-title a {
    color: #2c3e50;
    transition: all 0.3s ease;
    position: relative;
}

.glowing-title a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.magical-card:hover .glowing-title a::after {
    width: 100%;
}

.magical-card:hover .glowing-title a {
    color: #667eea;
    text-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

/* Course Tags */
.course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.tag {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    animation: tagFloat 3s ease-in-out infinite;
}

.tag-purple { background: var(--purple-gradient); }
.tag-blue { background: var(--blue-gradient); }
.tag-green { background: var(--green-gradient); }
.tag-orange { background: var(--orange-gradient); }
.tag-pink { background: var(--secondary-gradient); }
.tag-yellow { background: var(--warning-gradient); }

@keyframes tagFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

/* Animated Author */
.animated-author {
    display: flex;
    align-items: center;
    position: relative;
    flex: 1;
    min-width: 0; /* Allow text to shrink */
}

.courses-one__author-info {
    flex: 1;
    min-width: 0; /* Allow text to shrink */
}

.courses-one__author-name {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.courses-one__author-title {
    font-size: 12px;
    color: #666666;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.courses-one__author-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 12px;
    position: relative;
    border: 3px solid transparent;
    background: var(--primary-gradient);
    padding: 2px;
}

.courses-one__author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.online-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #22c55e;
    border-radius: 50%;
    border: 2px solid white;
    animation: onlinePulse 2s ease-in-out infinite;
}

@keyframes onlinePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    }
}

/* Colorful Meta */
.colorful-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
    min-width: 120px;
}

.courses-one__meta-single {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(102, 126, 234, 0.1);
    padding: 6px 12px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.courses-one__meta-single:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: translateX(-5px);
}

.colorful-meta .icon {
    color: #667eea;
    font-size: 14px;
    animation: iconBounce 2s ease-in-out infinite;
}

.courses-one__meta-title {
    font-size: 12px;
    color: #2c3e50;
    margin: 0;
    font-weight: 600;
    white-space: nowrap;
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

/* Animated Price */
.animated-price {
    flex: 1;
}

.animated-price p {
    font-size: 13px;
    font-weight: 600;
    background: var(--success-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    animation: priceShine 2s ease-in-out infinite;
    white-space: nowrap;
}

.courses-one__btn-box {
    flex-shrink: 0;
}

@keyframes priceShine {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* Magical Buttons */
.magical-btn {
    background: var(--primary-gradient);
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    border: none;
}

.magical-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;
}

.magical-btn:hover::before {
    left: 100%;
}

.magical-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
    color: #ffffff;
    background: var(--secondary-gradient);
}

/* Enhanced Features Section */
.magical-features {
    margin-top: 80px;
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.magical-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="25" cy="25" r="2" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="2" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="1" fill="white" opacity="0.1"/></svg>');
    animation: backgroundMove 20s linear infinite;
}

@keyframes backgroundMove {
    0% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(-10px) translateY(-10px);
    }
    50% {
        transform: translateX(10px) translateY(-5px);
    }
    75% {
        transform: translateX(-5px) translateY(10px);
    }
    100% {
        transform: translateX(0) translateY(0);
    }
}

.magical-features .courses-features__inner {
    text-align: center;
    position: relative;
    z-index: 2;
}

.magical-features .courses-features__title h3 {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.sparkle-line {
    width: 100px;
    height: 3px;
    background: var(--rainbow-gradient);
    background-size: 400% 400%;
    margin: 20px auto 50px;
    border-radius: 2px;
    animation: gradientShift 3s ease infinite;
}

/* Feature Cards with Different Colors */
.feature-card-purple {
    background: linear-gradient(135deg, #a855f7 0%, #e879f9 20%, #ffffff 20%);
}

.feature-card-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 20%, #ffffff 20%);
}

.feature-card-green {
    background: linear-gradient(135deg, #10b981 0%, #34d399 20%, #ffffff 20%);
}

.feature-card-orange {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 20%, #ffffff 20%);
}

.courses-features__single {
    text-align: center;
    padding: 40px 25px;
    border-radius: 20px;
    margin-bottom: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.courses-features__single:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Magical Icons */
.magical-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.magical-icon span {
    font-size: 40px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: iconRotate 4s linear infinite;
}

@keyframes iconRotate {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(90deg) scale(1.1);
    }
    50% {
        transform: rotate(180deg) scale(1);
    }
    75% {
        transform: rotate(270deg) scale(1.1);
    }
}

/* Icon Particles */
.icon-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 50%;
    animation: particleFloat 3s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: -40px;
    left: -20px;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: -30px;
    right: -25px;
    animation-delay: 1s;
}

.particle:nth-child(3) {
    bottom: -35px;
    left: 0;
    animation-delay: 2s;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0px) scale(0.8);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-10px) scale(1.2);
        opacity: 1;
    }
}

/* Enhanced CTA Section */
.magical-cta {
    margin-top: 80px;
    position: relative;
    padding: 100px 0;
    border-radius: 20px;
    overflow: hidden;
    background: var(--primary-gradient);
}

.magical-cta .courses-cta__bg::before {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.8), rgba(52, 152, 219, 0.9));
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.float-element {
    position: absolute;
    font-size: 24px;
    animation: elementFloat 6s ease-in-out infinite;
    opacity: 0.7;
}

.element-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    top: 20%;
    right: 20%;
    animation-delay: 1s;
}

.element-3 {
    bottom: 30%;
    left: 15%;
    animation-delay: 2s;
}

.element-4 {
    bottom: 20%;
    right: 15%;
    animation-delay: 3s;
}

.element-5 {
    top: 50%;
    left: 5%;
    animation-delay: 4s;
}

.element-6 {
    top: 60%;
    right: 10%;
    animation-delay: 5s;
}

@keyframes elementFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(10px) rotate(240deg);
    }
}

.glow-text {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    }
    to {
        text-shadow: 0 0 30px rgba(255, 255, 255, 1), 0 0 40px rgba(255, 255, 255, 0.8);
    }
}

.pulse-text {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
    color: #ffffff;
    animation: textPulse 3s ease-in-out infinite;
}

@keyframes textPulse {
    0%, 100% {
        opacity: 0.95;
    }
    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

/* Rainbow and Neon Buttons */
.rainbow-btn {
    background: var(--rainbow-gradient);
    background-size: 400% 400%;
    animation: gradientShift 3s ease infinite;
    color: #ffffff;
    padding: 18px 35px;
    border-radius: 30px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.rainbow-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.neon-btn {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 18px 35px;
    border-radius: 30px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.neon-btn:hover {
    background: #ffffff;
    color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.8), 0 15px 35px rgba(255, 255, 255, 0.3);
}

.courses-cta__btn {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1199px) {
    .courses-one__author-and-meta {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .colorful-meta {
        flex-direction: row;
        justify-content: flex-end;
        gap: 10px;
    }
    
    .courses-one__meta-single {
        min-width: auto;
    }
}

@media (max-width: 991px) {
    .courses-listing {
        padding: 80px 0 60px;
    }
    
    .shape {
        display: none;
    }
    
    .magical-card:hover {
        transform: translateY(-10px);
    }
    
    .glow-text {
        font-size: 36px;
    }
    
    .magical-features .courses-features__title h3 {
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    .courses-one__author-and-meta {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .colorful-meta {
        flex-direction: row;
        justify-content: space-between;
        gap: 8px;
    }
    
    .courses-one__btn-and-price {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .animated-price {
        text-align: center;
    }
    
    .courses-one__btn-box {
        text-align: center;
    }
    
    .magical-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .glow-text {
        font-size: 28px;
    }
    
    .pulse-text {
        font-size: 16px;
    }
    
    .magical-features {
        margin-top: 60px;
        padding: 60px 0;
    }
    
    .magical-cta {
        margin-top: 60px;
        padding: 80px 0;
    }
    
    .courses-cta__btn {
        flex-direction: column;
        align-items: center;
    }
    
    .rainbow-btn,
    .neon-btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .floating-elements {
        display: none;
    }
}

@media (max-width: 575px) {
    .courses-one__content {
        padding: 25px 20px;
    }
    
    .courses-one__author-name {
        font-size: 13px;
    }
    
    .courses-one__author-title {
        font-size: 11px;
    }
    
    .courses-one__meta-title {
        font-size: 11px;
    }
    
    .animated-price p {
        font-size: 12px;
    }
    
    .magical-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .glow-text {
        font-size: 24px;
    }
    
    .magical-features .courses-features__title h3 {
        font-size: 24px;
    }
    
    .courses-features__single {
        padding: 30px 20px;
    }
    
    .magical-icon {
        width: 70px;
        height: 70px;
    }
    
    .magical-icon span {
        font-size: 30px;
    }
}
