.popup-notification {
  position: fixed;
  top: 5%;
  left: 5%;
  width: 90%;
  height: 90%;
  background: linear-gradient(145deg, #e3f2fd, #bbdefb);
  color: #333;
  font-family: 'Segoe UI', sans-serif;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.popup-content {
  text-align: center;
  max-width: 500px;
  padding: 20px;
}

.popup-content img {
  width: 90%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 10px;
}

.popup-content h2 {
  margin-bottom: 10px;
  font-size: 24px;
  color: #0d47a1;
}

.popup-content p {
  font-size: 16px;
  margin-bottom: 20px;
}

.popup-content button {
  background: #0d47a1;
  color: #fff;
  border: none;
  padding: 12px 25px;
  font-size: 15px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.popup-content button:hover {
  background: #1565c0;
}

/* Desktop-specific enhancements */
@media (min-width: 768px) {
  .popup-notification {
    width: 600px;
    height: auto;
    top: 10%;
    left: calc(50% - 300px);
  }
}


/* Global Styling */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
    color: #333;
    text-align: center;
}

* {
    user-select: none;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none;     /* Internet Explorer/Edge */
}

.navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px;
            background-color: #333;
            color: white;
    width:95%;
        }
        .menu {
            display: none;
            flex-direction: column;
            gap: 10px;
        }
/* Hide the menu by default */
.menu {
    display: none;
}

/* Show the menu when the 'active' class is added */
.menu.active {
    display: flex;
    flex-direction: column;
}
        .menu a {
            text-decoration: none;
            color: white;
            padding: 10px;
            background-color: #444;
            border-radius: 5px;
        }
        .hamburger {
            cursor: pointer;
            font-size: 24px;
        }
        @media (min-width: 768px) {
            .menu {
                display: flex;
                flex-direction: row;
            }
            .hamburger {
                display: none;
            }
}
/* Header */
header {
    background: linear-gradient(to right, #002147, #003366);
    color: white;
    padding: 20px 20px;
    text-align: center;
}

.header-content h1 {
    font-size: 1.8rem;
    margin: 10px 0;
}

.header-content p {
    font-size: 0.9rem;
}


/* Logo */
.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.logo-container img {
    width: 100px;
    height: auto;
}

/* Gallery Section */
.gallery {
    padding: 20px;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    justify-items: center;
}

.gallery-item {
    max-width: 200px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* "Show More" Button */
#showMoreBtn {
    margin-top: 20px;
    padding: 10px 20px;
    background: linear-gradient(to right, #ff9966, #ff5e62);
    color: white;
    border: none;
    font-size: 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

#showMoreBtn:hover {
    background: linear-gradient(to right, #ff5e62, #ff9966);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    height: auto;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
/* Filter Feature Styles */
#filter {
    margin: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
}

#filter select, #filter button {
    margin: 10px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
}

#filter button {
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#filter button:hover {
    background-color: #45a049;
    }
/* Navigation Menu */
.menu {
    display: flex;
    flex-wrap: wrap;  /* Allows breaking into new lines */
    justify-content: center;
    gap: 10px;
    background: linear-gradient(to right, #001f3f, #003366);
    padding: 15px;
    border-bottom: 4px solid #ff5e62;
}

.menu button {
    background: rgb(244, 187, 68);
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    flex: 1;
    min-width: 120px;  /* Ensures buttons are evenly sized */
    max-width: 180px;
}

/* Hover Effect */
.menu button:hover {
    background: linear-gradient(to right, #ff5e62, #ff9966);
    transform: scale(1.05);
}

/* Mobile Optimization */
@media (max-width: 600px) {
    .menu {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .menu button {
        flex-grow: 1;  /* Ensures buttons take full width on small screens */
        text-align: center;
    }
}

/* Menu Container (Initially Hidden) */
.menu-container {
    position: fixed;
    top: 0;
    left: -260px; /* Starts off-screen */
    width: 250px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: 0.5s ease-in-out;
    border-radius: 0 20px 20px 0;
    z-index: 1000;
}

/* Menu Open State */
.menu-container.menu-open {
    left: 0;
}

/* Hamburger Button */
.menu-button {
    position: fixed;
    top: 20px;
    left: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Hamburger Lines */
.menu-button div {
    width: 35px;
    height: 4px;
    background: white;
    transition: 0.4s;
}

/* Menu Open Animation */
.menu-button.open div:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-button.open div:nth-child(2) {
    opacity: 0;
}

.menu-button.open div:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Menu Buttons */
.menu-container button {
    width: 180px;
    padding: 10px;
    font-size: 18px;
    border: none;
    background: linear-gradient(45deg, #ff5733, #ffcc00);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s;
}

.menu-container button:hover {
    transform: scale(1.1);
    background: linear-gradient(45deg, #ffcc00, #ff5733);
}


/* Image Slider */
.carousel-container {
            width: 100vw;
            overflow: hidden;
            position: relative;
            background: white;
        }

        .carousel-track {
            display: flex;
            width: max-content; /* Ensures the track expands based on images */
            animation: scroll 10s linear infinite;
        }

        .carousel-track img {
            width: 100vw; /* Each image takes full screen width */
            height: 300px;
            object-fit: cover;
            flex-shrink: 0; /* Prevents shrinking */
        }

        @keyframes scroll {
            from {
                transform: translateX(0);
            }
            to {
                transform: translateX(-50%);
            }
        }
    

/* News Section */
.news {
    background: white;
    padding: 50px 20px;
    position: relative;
}

.news-container {
    position: relative;
    width: 100%;
    height: 250px;
}

.news-item {
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.news-item.active {
    opacity: 1;
}

.news-item img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

/* Features Section */
.features {
    background: #002147;
    color: white;
    padding: 50px 20px;
    overflow-x: auto;
}

.grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    overflow-x: auto;
}

.grid img {
    width: 250px;
    height: 150px;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.grid img:hover {
    transform: scale(1.1);
}

/* About Author */
.about-author {
    background: white;
    padding: 50px 20px;
    text-align: center;
}

.author-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.author-container img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #002147;
}

.author-container p {
    font-size: 1.2rem;
    color: #333;
    text-align: left;
}

/* Keyframe Animation for
 Slider */
@keyframes slide {
    0%, 100% { transform: translateX(0); }
    33% { transform: translateX(-100%); }
    66% { transform: translateX(-200%); }
}

/* Footer Section */
footer {
    background: #002147;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin: 10px;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin: 8px 0;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.footer-section ul li a:hover {
    color: #ff9966;
}

/* Social Media Icons */
.social-icons a {
    display: inline-block;
    color: white;
    text-decoration: none;
    margin: 5px 10px;
    transition: color 0.3s ease-in-out;
}

.social-icons a:hover {
    color: #ff9966;
}

/* Footer Bottom */
.footer-bottom {
 
   margin-top: 20px;
    font-size: 1rem;
    opacity: 0.8;
}




main {
    padding: 1rem;
}

.blog-post {
    background-color: #fff;
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.article-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.article-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
}



h2, h3 {
    text-align: center;
}


.article-content p {
    text-align: justify;
}
/* Custom styles for <li> elements */
    .article-content li {
            font-size: 18px;
            color: blue;
            background-color: #f5f5f5;
            padding: 10px;
            margin: 5px 0;
            border-radius: 5px;
        text-align: justify;
            list-style-type: square; /* Example of changing the bullet style */
}


button#prevBtn {
    background-color: #6c757d; /* Gray */
    color: white;
      padding: 10px 20px;
    margin: 10px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

button#nextBtn {
    background-color: #007bff; /* Blue */
    color: white;
      padding: 10px 20px;
    margin: 10px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

button:hover {
    background-color: #0056b3; /* Darker blue */
    color: white;
}

button:disabled {
    background-color: #d6d6d6;
    color: #8c8c8c;
    cursor: not-allowed;
    }
/* Add this to your styles1.css file */

/* Styling for the article meta info */
.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9em;
    color: #555; /* Gray color */
    margin-bottom: 10px;
    background-color: #f4f4f4;
    padding: 5px 10px;
    border-radius: 5px;
}

/* Styling for the date and time */
.article-date, .article-time {
    font-weight: bold;
    color: #007bff; /* Blue color */
}

/* Styling for the article author */
.article-author {
    text-align: right;
    font-size: 0.9em;
    color: #555; /* Gray color */
    margin-top: 10px;
    background-color: #f4f4f4;
    padding: 5px 10px;
    border-radius: 5px;
    border-top: 1px solid #ddd;
}

/* Additional styling for articles */
.blog-post {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 10px;
    background-color: #fff;
}
.blog-post h2 {
            font-family: 'Arial', sans-serif;
            font-size: 1.5em;
            color: #4CAF50; /* Radiant green color */
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3); /* Subtle shadow for a 3D effect */
            background: linear-gradient(45deg, #FFC107, #FF5722); /* Gradient background */
            -webkit-background-clip: text;
    margin-bottom: 10px;
            -webkit-text-fill-color: transparent;
        }

/* Styling for article headers */
.blog-post h {
    font-size: 1.5em;
    color: #333; /* Dark gray color */
    margin-bottom: 10px;
}

/* Styling for article content */
.article-content {
    font-size: 1em;
    color: #333; /* Dark gray color */
    line-height: 1.6;
}

/* Styling for images in articles */
.article-image {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 10px 0;
}
/* Styling for the share buttons */
.article-share {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.article-share button,
.article-share a {
    color: white;
    border: none;
    padding: 10px;
    font-size: 1.2rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.article-share button:hover,
.article-share a:hover {
    transform: scale(1.1);
}

/* Unique colors for each share button */
.article-share .share-copy {
    background-color: #ff9966;
}

.article-share .share-whatsapp {
    background-color: #25D366;
}

.article-share .share-facebook {
    background-color: #3b5998;
}

.article-share .share-instagram {
    background-color: #E1306C;
}

.article-share .share-telegram {
    background-color: #0088cc;
}
        /* Grid Container */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    margin: 0 auto;
    max-width: 1200px;
}

/* Grid Item */
.grid-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.grid-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.grid-item img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #ddd;
}

.grid-item a {
    text-decoration: none;
    color: inherit;
    display: block;
    padding: 20px;
    text-align: center;
}

.grid-item h2 {
    margin: 10px 0;
    font-size: 1.5em;
    color: #333;
}

.grid-item p {
    font-size: 1em;
    color: #666;
    margin: 10px 0 0;
}
