body,
html {
    overflow-x: hidden;
}

/* Hero Section  Css Start*/

/* SVG Waves */
.wave-svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 1;
}

.wave-path {
    fill: rgba(255, 255, 255, 0.2);
    animation: waveMove 8s ease-in-out infinite alternate;
}

/* Floating Particles */
.floating-particles .particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: float 5s infinite ease-in-out alternate;
}

.floating-particles .particle:nth-child(odd) {
    width: 5px;
    height: 5px;
    animation-duration: 7s;
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0);
    }

    100% {
        transform: translateY(-20px) translateX(10px);
    }
}

/* Ripple Effect */
.ripple-effect {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: ripple 4s linear infinite;
}

.ripple-effect:nth-child(2) {
    animation-delay: 1s;
}

.ripple-effect:nth-child(3) {
    animation-delay: 2s;
}

@keyframes ripple {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Hero Text Responsiveness */
.content-overlay {
    z-index: 5;
    /* above waves */
    width: 100%;
    max-width: 100%;
    padding: 1rem;
}

@media (max-width: 768px) {


    .lead {
        font-size: 1rem;
    }

    .wave-svg {
        height: 80px;
    }

    .ripple-effect {
        width: 70px;
        height: 70px;
    }
}

/* Wave Motion */
@keyframes waveMove {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100px);
    }
}


/* Hero Section  Css end*/


/* Post  Section  Css start*/

/* Slow spin effect */
.animate-spin-slow {
    animation: spin 6s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.animate-fade-in {
    animation: fadeIn 2s ease-in forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.zoom-img {
    transition: transform 0.6s ease;
}

.zoom-img:hover {
    transform: scale(1.05);
}

.blog-section .row {
    min-height: 100%;
}

/* Full height container and internal scroll */
.main-content,
.sidebar {
    height: 100%;
    max-height: 1000px;
    /* Adjust based on your layout */
    overflow-y: auto;
}


/* Post  Section  Css end*/





/* Feature Blogs Section  Css start*/


.glass-effect {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.glow-badge {
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.7), 0 0 16px rgba(255, 0, 0, 0.4);
}

.tilt-card:hover {
    transform: perspective(1000px) rotateY(3deg) scale(1.02);
    transition: all 0.3s ease-in-out;
}

/* Feature Blogs Section  Css end*/


/* post page */
  html,
    body {
        background-color: #ffffff !important;
    }

    .sidebar-left,
    .sidebar-right {
        position: sticky;
        top: 0;
        height: 400px;
        /* Full viewport height */
        overflow-y: auto;
        padding: 20px;
        /* This ensures sidebars stop sticking when their container ends */
        align-self: flex-start;
    }

    .middle-content {
        /* Make the middle content very long */
        /* min-height: 250vh; */
        padding: 20px;
        background-color: #fff;
        border-left: 1px solid #eee;
        border-right: 1px solid #eee;
        border-bottom: 1px solid #eee;
    }

    /* Custom scrollbar for sidebars */
    .sidebar-left::-webkit-scrollbar,
    .sidebar-right::-webkit-scrollbar {
        width: 3px;
    }

    .sidebar-left::-webkit-scrollbar-track,
    .sidebar-right::-webkit-scrollbar-track {
        background: #ED1651;
    }

    .sidebar-left::-webkit-scrollbar-thumb,
    .sidebar-right::-webkit-scrollbar-thumb {
        background: #ED1651;
        border-radius: 2px;
    }