body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    background-color: white;
}

/* Navbar Styles */
.navbar {
    background-color: #367EFF;
    padding: 6px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar-left, .navbar-right {
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 0 20px;
}

.navbar-logo img {
    height: 35px;
}

/* Stories Feature Styles */
.stories-container {
    padding: 10px 20px 0 20px;
    background-color: #ffffff;
    margin-top: -5px; /* Adjusted margin */
    position: relative;
    z-index: 1;
}

.stories-heading {
    font-size: 9px;
    font-family: Helvetica;
    color: #367EFF;
    display: flex;
    align-items: baseline;
    margin-bottom: 10px;
}

.stories-heading h2 {
    margin: 0;
    margin-right: 10px;
}

.stories {
    display: flex;
    overflow-x: auto;
    gap: 20px;
}

.story-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 70px;
}

.story {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #367EFF;
    cursor: pointer;
}

.story img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-title {
    margin-top: 5px;
    font-size: 12px;
    text-align: center;
    color: #000;
}

/* Latest Updates Feature Styles */
.slider-container {

    padding: 20px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: -10px;
}

.slider-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 10px;
}

.slider-header h2 {
    margin: 0;
    font-size: 12px;
    font-family: Helvetica;
    color: #367EFF;
}

.slider {
    overflow: hidden;
}

.slide {
    display: flex;
    transition: transform 0.5s ease;
}

.post-container {
    min-width: 300px;
    margin: 0 10px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.post-container img {
    width: 100%;
    height: auto;
    display: block;
}

.post-title {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
    font-size: 18px;
}

.dots {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.dot.active {
    background-color: #717171;
}

/* Story Modal Styles */
.story-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.story-content img {
    max-width: 100%;
    max-height: 90%;
}

/*Posts Vertical*/
.postb-container {
    width: 90%;
    max-width: 600px;
    padding: 15px 10px 0px 16px;
  

}

.postb-heading {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 4px;
    color:#367EFF;
    margin-left: 13px;
    font-family: Helvetica;
    font-size: 15px;
}

.postb {
   
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    margin-bottom: 12px;
    overflow: hidden;
    
}

.postb img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.postb-details {
    padding: 10px;
    flex: 1;
}

.postb-title {
    font-size: 18px;
    margin: 1;
}

.postb-date {
    font-size: 14px;
    color: #777;
    margin: 5px 0 0;
}

/* Campaign */
postc-body {
            font-family: 'Arial', sans-serif;
            background-color: #f4f4f9;
            color: #333;
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
        }

.postc-container {
            background: #ffffff;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            border-radius: 10px;
            max-width: 800px;
            width: 90%;
            margin: 10px;
            padding: 10px;
            position: relative;
        }
        .campaign-label {
            position: absolute;
            top: 10px;
            left: 10px;
            background: #1a73e8;
            color: #ffffff;
            padding: 5px 10px;
            border-radius: 5px;
            font-weight: bold;
           
        }
        .postc-title {
            font-size: 2.5em;
            margin-bottom: 20px;
            color: #1a73e8;
            text-align: center;
        }
        .postc-image {
            width: 100%;
            height: auto;
            border-radius: 20px;
            margin-bottom: 20px;
        }
        .postc-content {
            font-size: 1.2em;
            line-height: 1.6;
        }
        .read-more {
            display: inline-block;
            margin-top: 20px;
            background: #1a73e8;
            color: #ffffff;
            padding: 10px 20px;
            text-decoration: none;
            border-radius: 5px;
            position: absolute;
            bottom: 20px;
            right: 20px;
            transition: background 0.3s ease;
        }
        .read-more:hover {
            background: #0f5bb5;
        }
        
        /* Updates.html*/
        
        .postc-body-updates {
            font-family: 'Arial', sans-serif;
            background-color: #f4f4f9;
            color: #333;
            height: 0vh;
            
        }
        .postc-title-updates {
           font-family: Albra Medium;
           font-weight: bold;
            font-size: 1.5em;
            margin-bottom: 10px;
            margin-top: 30px;
            color: #3a3b3b;
            text-align: left;
}

          ,postc-content-updates {
            font-size: 1em;
            line-height: 1.2;
            font-family: Albra Medium;
          }
          
          .postc-image-updates {
            width: 100%;
            height: auto;
            border-radius: 20px;
            margin-bottom: 1px;
           
        }
        
        /* Infographics (carousel) */
        
        .info-heading {
          display: flex;
    justify-content: flex-start;
    align-items: center;
    color:#367EFF;
    margin-left: 13px;
    font-family: Helvetica;
    font-size: 15px;
        }
        
        body-info {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 40vh;
            margin: 0;
        }

        .carousel {
            position: relative;
            width: 90%;
            max-width: 600px;
            overflow-x: scroll;
            scroll-snap-type: x mandatory;
            scrollbar-width: none; /* For Firefox */
            -ms-overflow-style: none;  /* For Internet Explorer and Edge */
        }

        .carousel::-webkit-scrollbar {
            display: none;  /* For Chrome, Safari, and Opera */
        }

        .carousel-inner {
            display: flex;
            gap: 10px;
        }

        .carousel-item {
            flex: 0 0 calc(100% / 1.3);
            scroll-snap-align: start;
            border-radius: 20px;
            box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3), 0 5px 5px rgba(0, 0, 0, 0.3);
            overflow: hidden;
        }

        .carousel-item img {
            width: 100%;
            height: auto;
            border-radius: 20px;
        }

        @media (min-width: 600px) {
            .carousel-item {
                flex: 0 0 calc(100% / 1.5);
            }
        }
        
        /* Loader */
         .loader-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 9999;
    }
    .loader {
        width: 20px;
        aspect-ratio: 1;
        border-radius: 50%;
        background: #37eded;
        box-shadow: 0 0 0 0 #a6ffff;
        animation: l2 1.5s infinite linear;
        position: relative;
    }
    .loader:before,
    .loader:after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        box-shadow: 0 0 0 0 #a6ffff;
        animation: inherit;
        animation-delay: -0.5s;
    }
    .loader:after {
        animation-delay: -1s;
    }
    @keyframes l2 {
        100% {box-shadow: 0 0 0 40px #0000}
    }
        
/* Footer Menu Styles */
 .footer-menu {
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    border-top: 1px solid #e0e0e0;
    position: sticky;
    bottom: 0;
    width: 100%;
  }
  .footer-menu a {
    color: #242424;
    text-decoration: none;
    text-align: center;
    font-size: 12px;
    flex: 1;
    padding: 5px 0;
    transition: color 0.3s ease;
  }
  .footer-menu i {
    font-size: 20px;
    margin-bottom: 2px;
    transition: color 0.3s ease, transform 0.3s ease;
  }
  .footer-menu a span {
    display: block;
    font-size: 10px;
    font-weight: bold;
  }
  .footer-menu a.active {
    color: #367EFF;
  }
  .footer-menu a.active i {
    transform: scale(1.2);
  }
  /* Ensure Home is colored by default */
  .footer-menu a[data-tab="home"] {
    color: #367EFF;
  }
  .footer-menu a[data-tab="home"] i {
    transform: scale(1.2);
  }