.network-animation-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.rad-home-fieldse {
    background-image: url('../img/wavebg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 10px;
    padding: 0;
}

.rz-fieldset-legend {
    color: white;
    font-weight: 800;
    font-size: 0.81rem;
    background-color: darkred;
    padding: 2px 8px;
    border-radius: 5px;
}

.network-word {
    position: absolute;
    top: 400px;
    left: 50%;
    font-size: 2.2rem;
    font-weight: bolder;
    white-space: nowrap;
    color: #fff;
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
    text-shadow: 0 0 10px #00f, 0 0 20px #0ff;
    animation: wordInOut 10s infinite ease-in-out;
    z-index: 1;
}

    .network-word span {
        font-family: Impact;
        padding: 5px;
        display: inline-block;
        animation: glowPulse 2s infinite alternate;
    }

@keyframes wordInOut {
    0% {
        transform: translate(-150%, -50%) scale(1);
        opacity: 0;
    }

    15% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }

    50% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    85% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }

    100% {
        transform: translate(150%, -50%) scale(1);
        opacity: 0;
    }
}

@keyframes glowPulse {
    0%, 100% {
        text-shadow: 0 0 10px #00f, 0 0 20px #0ff, 0 0 30px #00f;
        transform: scale(1);
    }

    50% {
        text-shadow: 0 0 20px #0ff, 0 0 40px #00f, 0 0 60px #0ff;
        transform: scale(1.05);
    }
}

/* --- Inline Menu Custom Styles --- */
.cust-menu-descr {
    font-size: 0.95rem;
    padding: 10px;
}

#inline-menu {
    background: #e3eaf2 url('../img/logo1.png') no-repeat center center;
    background-size: contain;
    background-blend-mode: lighten;
    position: relative;
    padding: 40px 0;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}

    #inline-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('../img/logo1.png') repeat center center;
        background-size: initial;
        opacity: 0.02;
        z-index: 0;
    }

    #inline-menu .margin {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 32px 16px;
        position: relative;
        z-index: 1;
    }

.s-12.m-6.l-3 {
    flex: 0 1 260px;
    margin: 0 8px 24px 8px;
    display: flex;
    align-items: stretch;
    position: relative;
    transition: transform 0.2s;
}

    .s-12.m-6.l-3:hover {
        z-index: 2;
        transform: scale(1.04) translateY(-6px);
    }

.image-with-hover-overlay {
    position: relative;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(30,40,90,0.13), 0 1.5px 6px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s, filter 0.3s;
}

    .image-with-hover-overlay img {
        width: auto;
        max-width: min(90vw, 500px);
        height: auto;
        object-fit: cover;
        border-radius: 10px;
        transition: filter 0.4s, transform 0.5s cubic-bezier(.4,2,.6,.9);
        box-shadow: 0 2px 16px rgba(30,40,90,0.13);
        vertical-align: baseline;
    }

.s-12.m-6.l-3:hover .image-with-hover-overlay img {
    filter: brightness(1.08) saturate(1.2) blur(0.5px) drop-shadow(0 0 16px #7ecbff);
    transform: scale(1.08) rotate(-2deg);
    box-shadow: 0 0 32px 8px #7ecbff, 0 4px 24px rgba(30,40,90,0.13);
}

.image-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30,40,90,0.08);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    border-radius: 16px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.s-12.m-6.l-3:hover .image-hover-overlay {
    opacity: 1;
    pointer-events: auto;
    background: rgba(0,3,3,0.80);
}

.image-hover-overlay-content {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    text-shadow: 0 2px 8px #0008;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s, transform 0.3s;
}

.s-12.m-6.l-3:hover .image-hover-overlay-content {
    opacity: 1;
    transform: translateY(0);
}

.bold-statement {
    letter-spacing: 1.1px;
    font-size: 1.1rem;
    font-family: Candara;
    text-align: justify;
}
/* --- Unjust World Section Animation & Styling --- */
#unjust-world {
    background: linear-gradient(120deg, #e3eaf2 60%, #f7fafc 100%);
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    margin: 32px 0.1vw;
    position: relative;
    overflow: hidden;
    padding: 32px 0 32px 0;
    z-index: 1;
}

.unjust-world-img-anim {
    display: inline-block;
    animation: floatY 3.5s ease-in-out infinite;
    box-shadow: 0 6px 32px 0 rgba(30,40,90,0.13), 0 1.5px 6px rgba(0,0,0,0.08);
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    padding: 10px;
    transition: box-shadow 0.3s;
}

    .unjust-world-img-anim:hover {
        box-shadow: 0 0 32px 8px #7ecbff, 0 6px 32px 0 rgba(30,40,90,0.13);
        background: rgba(126,203,255,0.12);
    }

.unjust-world-img {
    border-radius: 50%;
    box-shadow: 0 2px 16px rgba(30,40,90,0.13);
    transition: box-shadow 0.4s, filter 0.4s, transform 0.5s cubic-bezier(.4,2,.6,.9);
}

.unjust-world-img-anim:hover .unjust-world-img {
    filter: brightness(1.12) saturate(1.2) drop-shadow(0 0 16px #7ecbff);
    box-shadow: 0 0 32px 8px #7ecbff, 0 2px 16px rgba(30,40,90,0.13);
    transform: scale(1.07) rotate(-2deg);
}

@keyframes floatY {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-18px);
    }
}
/* --- End Unjust World Section Animation & Styling --- */

/* --- Order Now Button Styling --- */
.order-now-btn {
    display: inline-block;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: transparent;
    color: aqua;
    border: 3px solid aqua;
    border-radius: 15px;
    padding: 10px 28px;
    margin-top: 18px;
    font-size: 1.08rem;
    box-shadow: 0 2px 12px rgba(30,40,90,0.10);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, border-color 0.2s, transform 0.15s;
    cursor: pointer;
    outline: none;
    text-decoration: none;
}

    .order-now-btn:hover, .order-now-btn:focus {
        background: rgba(126,203,255,0.18);
        color: #7ecbff;
        border-color: #7ecbff;
        box-shadow: 0 0 16px 2px #7ecbff, 0 2px 12px rgba(30,40,90,0.10);
        transform: translateY(-2px) scale(1.04);
    }

    .order-now-btn:active {
        background: rgba(30,40,90,0.22);
        color: #fff;
        border-color: #fff;
        box-shadow: 0 1px 4px rgba(30,40,90,0.18);
        transform: scale(0.98);
    }
/* --- End Order Now Button Styling --- */

/* --- Section Title Divider Styling --- */
.section-title-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto 5px auto;
}

    .section-title-divider .divider-line {
        flex: 1 1 0;
        height: 4px;
        border-radius: 4px;
        background: linear-gradient(90deg, transparent, #7ecbff 75%, transparent);
        opacity: 0.85;
        margin: 0 1px;
    }

@media (max-width: 700px) {
    .section-title-divider .divider-line {
        height: 4px;
    }
}
/* --- End Section Title Divider Styling --- */

@media (max-width: 1330px) {
    #inline-menu .margin {
        gap: 20px 8px;
    }
}
