/* Overlay background when menu is open */
.overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 40;
}

/* Section with relative positioning for pseudo-element */
.grid-bg {
    position: relative;
    overflow: hidden;
}

/* Background grid with fading effect */
.grid-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, #e5e7eb 1px, transparent 1px),
        linear-gradient(to bottom, #e5e7eb 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}

/* Custom gradient text */
.gradient-text1 {
    background: linear-gradient(180deg,#1e40af,#3b82f6);
    background-clip: text;                /* Standard property */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;                   /* Fallback for non-WebKit browsers */
}
.gradient-text2 {
    background: linear-gradient(180deg,#1e40af,#3b70f6,#3bb2f6);
    background-clip: text;                /* Standard property */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;                   /* Fallback for non-WebKit browsers */
}
.gradient-text {
    background: linear-gradient(180deg,#1e40af,#3b64f6,#3bb2f6);
    background-clip: text;                /* Standard property */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;                   /* Fallback for non-WebKit browsers */
}

/* Custom colorful shadow */
.shadow-colorful {
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.1), 
                0 4px 8px rgba(139, 92, 246, 0.1), 
                0 2px 4px rgba(236, 72, 153, 0.1);
}
.shadow-colorful2 {
    box-shadow: 
        0 10px 20px rgba(59, 130, 246, 0.1),  /* Blue */
        0 8px 14px rgba(139, 92, 246, 0.1),  /* Purple */
        0 5px 8px rgba(236, 72, 153, 0.1),   /* Pink */
        0 2px 4px rgba(34, 197, 94, 0.1);    /* Green */
}

/* Shadow and outline effect for emojis */
.emoji-highlight {
    text-shadow: 
        0 0 4px rgba(255, 255, 255, 0.5), /* Light outer glow */
        0 0 2px rgba(0, 0, 0, 0.8);      /* Subtle dark inner shadow */
}

.blurGradientBackground {
    filter:blur(45px);
    background-image:linear-gradient(152deg,#00a7bd,#ad97f7 50%,#95d5f8);
    background-size:cover
}

/* Custom Glowing Shadow with Exact Gradient */
.glow-wrapper {
    position: relative;
    display: inline-block;
}

.glow-wrapper::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130%; /* Slightly larger than the image */
    height: 130%;
    background: radial-gradient(circle, 
        rgba(0, 176, 255, 0.4),   /* Light Blue */
        rgba(132, 94, 247, 0.3),  /* Purple */
        rgba(0, 0, 0, 0) 70%);    /* Transparent for fade effect */
    filter: blur(40px);          /* Diffused soft shadow */
    z-index: -1;                 /* Place behind the image */
    border-radius: 20px;         /* Match image border-radius */
}

.image {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); /* Soft shadow for depth */
}

/* Custom multi-step gradient */
.gradient-border::before {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, 
        violet, indigo, blue, green, yellow);
    filter: blur(20px);
    opacity: 0.4;
}

/* Glossy Shine Effect */
.shiny-text {
    position: relative;
    display: inline-flex;
    overflow: hidden;
    white-space: nowrap;
}

.shiny-text::after {
    content: "";
    position: absolute;
    top: 0;
    left: -30%;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
    transform: skewX(-30deg);
    animation: shine 5s infinite alternate linear;
}

@keyframes shine {
    0% { left: -250%; }
    100% { left: 250%; }
}