/* New Sections Styles */
#revolutionize, #magical, #impact, #applications {
    padding: 80px 30px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    margin-top: 50px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 255, 204, 0.3);
    transition: all 0.4s ease-in-out;
}

/* Gradient Backgrounds */
#revolutionize {
    background: linear-gradient(135deg, #1a3c51, #203a43);
}

#magical {
    background: linear-gradient(135deg, #00ffcc, #2a3b4c);
}

#impact {
    background: linear-gradient(135deg, #0f2027, #333f47);
}

#applications {
    background: linear-gradient(135deg, #263d48, #2c5364);
}

/* Section Headings */
#revolutionize h2, #magical h2, #impact h2, #applications h2 {
    color: #f0f0f0;
    font-size: 3rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-family: 'Avenir Next', sans-serif;
    letter-spacing: 2px;
    text-shadow: 0 5px 20px rgba(0, 255, 204, 0.5);
    animation: glow 1.5s infinite alternate, bounce 2s ease-in-out infinite;
}

/* Content inside Sections */
#revolutionize p, #magical p, #impact p, #applications p {
    color: #dcdcdc;
    font-size: 1.4rem;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-family: 'Helvetica Neue', sans-serif;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

/* Make Paragraphs Super Creative */
#revolutionize p::before, #magical p::before, #impact p::before, #applications p::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 255, 204, 0.2);
    transform: scale(1.1);
    filter: blur(10px);
    z-index: -1;
    transition: all 0.4s ease-in-out;
}

#revolutionize p:hover::before, #magical p:hover::before, #impact p:hover::before, #applications p:hover::before {
    transform: scale(1.5);
    filter: blur(15px);
}

/* Hover Effects for Sections */
#revolutionize:hover, #magical:hover, #impact:hover, #applications:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 45px rgba(0, 255, 204, 0.6);
    background: rgba(0, 0, 0, 0.8);
}

/* Section Item Styling */
#revolutionize .feature-item, #magical .feature-item, #impact .feature-item, #applications .feature-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px;
    border-radius: 20px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    backdrop-filter: blur(8px);
    margin-bottom: 30px;
    box-sizing: border-box;
}

#revolutionize .feature-item:hover, #magical .feature-item:hover, #impact .feature-item:hover, #applications .feature-item:hover {
    transform: translateY(-18px);
    box-shadow: 0 15px 35px rgba(0, 255, 204, 0.4);
    background: rgba(0, 255, 204, 0.2);
}

/* Feature Item Headings */
#revolutionize .feature-item h3, #magical .feature-item h3, #impact .feature-item h3, #applications .feature-item h3 {
    color: #00ffcc;
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-family: 'Avenir Next', sans-serif;
    text-transform: capitalize;
    letter-spacing: 1px;
}

/* Feature Item Hover Heading Color */
#revolutionize .feature-item:hover h3, #magical .feature-item:hover h3, #impact .feature-item:hover h3, #applications .feature-item:hover h3 {
    color: #ffffff;
}

/* List Styling */
#revolutionize ul, #magical ul, #impact ul, #applications ul {
    padding: 0;
    margin: 20px 0;
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px; /* Add gap between list items */
}

#revolutionize ul li, #magical ul li, #impact ul li, #applications ul li {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 20px rgba(0, 255, 204, 0.2);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

#revolutionize ul li:hover, #magical ul li:hover, #impact ul li:hover, #applications ul li:hover {
    transform: translateY(-5px);
    background: rgba(0, 255, 204, 0.3);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 255, 204, 0.5);
    opacity: 1;
}

#revolutionize ul li strong, #magical ul li strong, #impact ul li strong, #applications ul li strong {
    color: #00ffcc;
    font-size: 1.2rem;
}

#revolutionize ul li:hover strong, #magical ul li:hover strong, #impact ul li:hover strong, #applications ul li:hover strong,  {
    color: #fff;
    font-size: 1.3rem;
}

/* Add background animation effect */
@keyframes glow {
    from {
        text-shadow: 0 5px 20px rgba(0, 255, 204, 0.0);
    }
    to {
        text-shadow: 0 5px 30px rgba(0, 255, 204, 0.0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(+1px);
    }
}

/* Mobile and Touch-Friendly Adjustments */
@media screen and (max-width: 768px) {
    #revolutionize, #magical, #impact, #applications {
        padding: 60px 20px;
    }

    /* Adjust section headings for mobile */
    #revolutionize h2, #magical h2, #impact h2, #applications h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    /* Adjust paragraph font size for readability */
    #revolutionize p, #magical p, #impact p, #applications p {
        font-size: 1.2rem;
        max-width: 90%;
    }

    /* Adjust feature item layout */
    #revolutionize .feature-item, #magical .feature-item, #impact .feature-item, #applications .feature-item {
        padding: 20px;
        margin-bottom: 20px;
    }

    /* Adjust list layout for smaller screens */
    #revolutionize ul, #magical ul, #impact ul, #applications ul {
        flex-direction: column;
        align-items: center;
    }

    #revolutionize ul li, #magical ul li, #impact ul li, #applications ul li {
        font-size: 1rem;
        padding: 12px 20px;
        margin: 10px 0;
    }
}

@media screen and (max-width: 480px) {
    /* Further adjust for very small screens */
    #revolutionize, #magical, #impact, #applications {
        padding: 50px 15px;
    }

    /* Smaller section heading font for tiny screens */
    #revolutionize h2, #magical h2, #impact h2, #applications h2 {
        font-size: 1.5rem;
    }

    /* Make paragraphs more compact */
    #revolutionize p, #magical p, #impact p, #applications p {
        font-size: 1rem;
        max-width: 85%;
    }

    /* Ensure list items are appropriately spaced */
    #revolutionize ul li, #magical ul li, #impact ul li, #applications ul li {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
}

#magical {
    padding: 80px 30px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 255, 204, 0.3);
    backdrop-filter: blur(15px);
    transition: all 0.4s ease-in-out;
    animation: fadeIn 2s ease-out;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

#magical h2 {
    font-size: 2.5rem;
    color: #00ffcc;
    text-shadow: 0 4px 15px rgba(0, 255, 204, 0.8);
    margin-bottom: 20px;
    animation: glow 1.5s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 4px 10px rgba(0, 255, 204, 0.5);
    }
    to {
        text-shadow: 0 4px 20px rgba(0, 255, 204, 1);
    }
}

#magical p {
    font-size: 1.3rem;
    color: #dcdcdc;
    margin-bottom: 30px;
}

#magical ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

#magical ul li {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 20px rgba(0, 255, 204, 0.2);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

#magical ul li:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 255, 204, 0.6);
    background: rgba(0, 255, 204, 0.1);
    transition: transform 0.3s ease, box-shadow 0.4s ease;
}

#magical ul li strong {
    color: #00ffcc;
    font-size: 1.2rem;
}

#magical ul li:hover strong {
    color: #fff;
    font-size: 1.3rem;
}

@media (max-width: 768px) {
    #magical h2 {
        font-size: 2rem;
    }

    #magical p {
        font-size: 1.1rem;
    }

    #magical ul {
        grid-template-columns: 1fr;
    }
}

