@media (max-width: 768px) {

    .update-dates {
    display: block;
 
  }
 .new-badge {
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    color: #fff;
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 0.7rem;
    margin-left: 10px;
    animation: 2s infinite pulse;
    position: absolute;
    top: 0px;
    left: 57px;
}
    
    .update-item a {
        flex-direction: column;
        align-items: flex-start;
        position: relative;
    }

    .update-date,
    .update-last-date {
        display: inline-block;
        margin: 0;
    }

    .update-date {
        order: 1;
    }

    .update-last-date {
        order: 1;
        margin-left: auto;
        position: absolute;
        right: 0;
        top: 7%;
    }

    .update-text {
        order: 3;
        margin-top: 10px; 
        width: 100%;
    }
    .container {
    padding: 0 10px !important;
   }
}

.nav-links a,
.search-box button,
.search-box input {
    padding: 12px 20px;
    transition: 0.3s;
}
.nav-links a,
.search-box,
header {
    position: relative;
}
nav {
    background: rgba(44, 62, 80, 0.9);
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: fit-content;
    margin: 0 auto;
    padding: 0 15px;
}

.nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.nav-links li {
    margin: 0 5px;
}
.nav-links a {
    color: #fff;
    border-radius: 25px;
}
.nav-links a::before,
.quick-links a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(45deg, #3498db, #2ecc71);
    transition: width 0.3s;
    z-index: -1;
}
.footer-section ul li a:hover::before,
.nav-links a:hover::before,
.quick-links a:hover::before {
    width: 100%;
}
.nav-links a:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}
.bg-animation::before,
.search-box button::before {
    position: absolute;
    left: -100%;
    width: 100%;
    content: "";
}
.latest-updates,
header,
main {
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
.footer-section ul,
.nav-links,
.quick-links {
    list-style: none;
}
.nav-links a,
.quick-links a {
    display: block;
    text-decoration: none;
    overflow: hidden;
}
footer,
main {
    padding: 2rem 0;
}
.footer-section h3,
.section-title {
    -webkit-text-fill-color: transparent;
}
.logo,
.nav-links a,
.quick-links a {
    text-decoration: none; 
}

.menu-toggle {
    display: none;
    font-size: 28px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
        justify-content: space-between;
        max-width: 100%;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        display: none;
        background: rgba(44, 62, 80, 0.95);
        margin-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links li {
        width: 100%;
        margin: 0;
    }

    .nav-links a {
        padding: 15px;
        width: 100%;
        display: block;
    }

    .nav-links.show {
        display: flex;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0, #764ba2 100%);
    background-attachment: fixed;
    line-height: 1.6;
    overflow-x: hidden;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
header {
    background: rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 1rem 0;
    width: 100%;
    z-index: 1000;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.logo {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    transition: 0.3s;
}
.logo:hover {
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.5);
    transform: scale(1.05);
    filter: drop-shadow(3px 3px 8px rgba(0, 0, 0, 0.5));
}
.logo img {
    height: 60px;
    width: auto;
    max-width: 100%;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
	display: block;
}
.search-box {
    display: flex;
    margin: 10px 0;
}
.search-box input {
    border: none;
    border-radius: 25px 0 0 25px;
    width: 300px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
}
.search-box input:focus {
    outline: 0;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    transform: scale(1.02);
}
.search-box button {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: #fff;
    border: none;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}
.search-box button:hover {
    background: linear-gradient(45deg, #ff5252, #ff7979);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}
.search-box button::before {
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}
.bg-animation,
.floating-shapes {
    top: 0;
    left: 0;
    height: 100%;
    z-index: -1;
}
.search-box button:hover::before {
    left: 100%;
}

main {
    background: #fff;
}
.bg-animation {
    position: fixed;
    width: 100%;
    overflow: hidden;
}
.bg-animation::before {
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: 3s infinite slide;
}
@keyframes slide {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}
.floating-shapes {
    position: fixed;
    width: 100%;
    pointer-events: none;
}
.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: 6s ease-in-out infinite float;
}
.shape:first-child {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}
.shape:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}
.shape:nth-child(3) {
    width: 40px;
    height: 40px;
    top: 40%;
    left: 70%;
    animation-delay: 4s;
}
.shape:nth-child(4) {
    width: 100px;
    height: 100px;
    top: 80%;
    left: 20%;
    animation-delay: 1s;
}
@keyframes float {
    0%,
    100% {
        transform: translateY(0) rotate(0);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}
.content-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
}
.latest-updates {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.footer-section h3,
.footer-section ul li a::before,
.section-title,
.section-title::after {
    background: linear-gradient(45deg, #3498db, #2ecc71);
}
.section-title {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    -webkit-background-clip: text;
    background-clip: text;
    position: relative;
}
.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    border-radius: 2px;
}
.category-card::before,
.notification-bar::before {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}
.category-card::before,
.update-item:hover {
    background: linear-gradient(45deg, rgba(52, 152, 219, 0.1), rgba(46, 204, 113, 0.1));
}
.update-item {
/*    display: flex;*/
    padding: 15px 0;
    border-bottom: 1px solid rgba(236, 240, 241, 0.5);
    cursor: pointer;
    transition: 0.3s;
    border-radius: 10px;
    margin: 5px 0;
}
.update-last-date{
    font-size:12px;
    color:#32445e;
    text-align: right;
}
.update-item a {
    display: flex;
    text-decoration: none;
    color: inherit;
}

.update-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.update-date {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: #fff;
    padding: 4px 0px;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-right: 15px;
    min-width: 60px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}
.update-text {
    flex: 1;
    color: #2c3e50;
    font-weight: 500;
}
.new-badge {
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    color: #fff;
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 0.7rem;
    margin-left: 10px;
    animation: 2s infinite pulse;
}
.category-card,
.sidebar-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: 0.3s;
}
@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.sidebar-section {
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.sidebar-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}
.quick-links li {
    margin: 10px 0;
}
.quick-links a {
    color: #3498db;
    padding: 12px 15px;
    border-radius: 15px;
    transition: 0.3s;
    position: relative;
}
.footer-section ul li a:hover,
.quick-links a:hover {
    color: #fff;
    transform: translateX(5px);
}
.categories {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}
@media (max-width: 1200px) {
    .categories {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 992px) {
    .categories {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .categories {
        grid-template-columns: repeat(2, 1fr);
    }
    .categories,
    .content-grid {
        grid-template-columns: 1fr;
    }
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    .search-box {
        margin: 15px 0;
    }
    .search-box input {
        width: 200px;
    }
    .nav-links {
        justify-content: center;
    }
    .nav-links li {
        margin: 5px;
    }
}
@media (max-width: 480px) {
    .update-date {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: #fff;
    padding: 0px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-right: 15px;
    min-width: 60px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    }
    .categories {
        grid-template-columns: 1fr;
    }
    .update-dates {
    display: block !important;
 
  }
 
.update-dates .left{
text-align:center !important;
}
 
.update-dates .right{
text-align:center !important;
}
}
.category-card {
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    gap: 12px;
    align-content: center;
    display: ruby !important;
} 

.category-card a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}


.category-card::before {
    left: 0;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
}
.category-card:hover::before {
    opacity: 1;
}
.category-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}
.category-icon {
    font-size: 1.8rem;
    margin-top: 2px;
    transition: 0.3s;
    flex-shrink: 0;
    z-index: 1;
}
.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
}
.category-card h3 {
    color: #2c3e50;
    margin: 0 0 4px;
    font-size: 1rem;
}
.category-card p {
    color: #7f8c8d;
    font-size: 0.85rem;
    margin: 0;
}
.category-text {
    margin-top: 6px;
}
footer {
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(10px);
    color: #fff; 
}
.footer-content { 
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.footer-section h3 {
    margin-bottom: 1rem;
    -webkit-background-clip: text;
    background-clip: text;
}
.footer-bottom,
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-section ul li {
    margin: 8px 0;
}
.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: 0.3s;
    position: relative;
}
.footer-section ul li a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    transition: width 0.3s;
}
.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    color: #bdc3c7;
}

/* Make footer responsive */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: left;
        padding: 1rem;
    }

    .footer-section {
        margin-bottom: 2rem;
    }

    .footer-section h3 {
        font-size: 1.2rem;
    }

    .footer-section ul li,
    .footer-section p,
    .footer-section ul li a {
        font-size: 0.95rem;
    }

    .footer-bottom {
        font-size: 0.85rem;
        padding: 1rem 0;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 0.5rem;
    }

    .footer-section h3 {
        font-size: 1rem;
    }

    .footer-bottom {
        font-size: 0.8rem;
    }
}

.notification-bar.animated {
    animation: 0.5s ease-out slideInDown;
  }
  
  .notification-bar {
    background: linear-gradient(45deg, #f39c12, #e67e22);
    color: #fff;
    padding: 12px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 40px;
  }
  .notification-bar.add-shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    left: -100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: notificationSlide 2s ease-out;
  }
  @keyframes slideInDown {
    from {
      transform: translateY(-100%);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  @keyframes notificationSlide {
    0% {
      left: -100%;
    }
    100% {
      left: 100%;
    }
  }
.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3498db;
    display: inline-block;
}
.glow {
    animation: 2s ease-in-out infinite alternate glow;
}
@keyframes glow {
    from {
        box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
    }
    to {
        box-shadow: 0 0 20px rgba(52, 152, 219, 0.8);
    }
}
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: 1s linear infinite spin;
    margin: 20px auto;
}
@keyframes spin {
    0% {
        transform: rotate(0);
    }
    100% {
        transform: rotate(360deg);
    }
}
.indicator {
    display: none !important;
}
.category-card.active {
    transform: translateY(-6px) scale(1.01) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15) !important;
    background: linear-gradient(45deg, rgba(52, 152, 219, 0.1), rgba(46, 204, 113, 0.1));
    transition: opacity 0.3s ease;
    transform: scale(1.1) rotate(5deg);
}


#google_translate_element .indicator {
  display: none !important;
}

.custom-gtranslate {
  width: 140px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-start; 
  border-radius: 4px;
}


.see-more-btn {
    padding: 10px 20px;
    background-color: #ff5722;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.see-more-btn:hover {
    background-color: #e64a19;
}
.floating-icons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.floating-icons a {
    background-color: #25D366; /* WhatsApp green */
    color: white;
    width: 50px;
    height: 50px;
    font-size: 24px;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.floating-icons a.telegram-icon {
    background-color: #0088cc; /* Telegram blue */
}

.floating-icons a:hover {
    transform: scale(1.1);
}

.search-icon-btn {
background: none;
border: none;
font-size: 22px;
cursor: pointer;
}
.search-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 20px;
    cursor: pointer;
    background: none;
    border: none;
    margin-top: -22px;
}

.search-bar-container {
display: none;
padding: 10px 20px;

}

.search-bar-container input[type="text"] {
padding: 15px;
width: 100%;
border: 1px solid gray;
border-radius: 4px;
}

.search-bar-container button {
padding: 15px 15px;
background-color: #1976d2;
color: white;
border: none;
border-radius: 4px;
margin-left: 10px;
cursor: pointer;
}

.search-bar-container button:hover {
background-color: #125aa6;
}


/* Always hide by default  04/08*/
.mobile-nav-links {
    display: none;
}

/* Show only in mobile view (width ≤ 768px) */
@media screen and (max-width: 768px) {
    .mobile-nav-links {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        background-color: #fff;
        padding: 8px 0;
        margin: 0;
        list-style: none;
        border-top: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
        overflow-x: auto;
    }

    .mobile-nav-links li {
        margin: 0 4px;
        white-space: nowrap;
    }

    .mobile-nav-links a {
        text-decoration: none;
        color: #333;
        font-weight: 500;
        font-size: 12px;
        padding: 4px 8px;
        display: inline-block;
    }

    .mobile-nav-links a.active {
        color: orange;
        border-bottom: 2px solid orange;
        font-weight: 700;
    }
}

.update-dates {
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Optional: wraps on smaller screens */
   /* width: 73%;
    margin-left: 157px;inline-flex*/
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: #fff;
    padding: 4px 0px;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-right: 15px;
    min-width: 60px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.update-dates .subtitles{
    margin:0px 12px;
}

.update-dates .left {
    text-align: left;
}

.update-dates .right {
    text-align: right;
}

/* Modal Styles */

  .ep-overlay {
    position: fixed; 
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex; 
    align-items: center; 
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(2px);
  }
  
  .ep-modal {
    position: relative;
    width: 90%; 
    max-width: 420px;
    background: #fff; 
    border-radius: 12px;
    padding: 28px 24px 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
  }
  
  .ep-close {
    position: absolute; 
    top: 12px; 
    right: 16px;
    border: none; 
    background: transparent;
    font-size: 24px; 
    font-weight: 300;
    color: #888; 
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    transition: all 0.2s ease;
  }
  
  .ep-close:hover { 
    color: #e74c3c; 
    transform: scale(1.1);
  }
  
  .ep-header {
    margin-bottom: 20px;
    text-align: center;
  }
  
  .ep-header h3 {
    color: #333;
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 6px;
  }
  
  .ep-subtitle {
    color: #666;
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
  }
  
  #epForm {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .ep-input-group {
    display: flex;
    flex-direction: column;
  }
  
  #email_address {
    flex: 1; 
    padding: 12px 16px; 
    border: 1px solid #ddd; 
    border-radius: 8px; 
    font-size: 15px;
    transition: all 0.2s ease;
  }
  
  #email_address:focus {
    outline: none;
    border-color: #f39c12;
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.2);
  }
  
  #epSubmit { 
    padding: 12px 20px; 
    border: none; 
    border-radius: 8px; 
    background: #f39c12;
    color: white; 
    font-weight: 600; 
    cursor: pointer;
    font-size: 15px;
    transition: all 0.2s ease;
  }
  
  #epSubmit:hover {
    background: #e67e22;
    transform: translateY(-1px);
  }
  
  #epSubmit:active {
    transform: translateY(0);
  }
  
  .ep-msg { 
    margin-top: 16px;
    font-size: 14px;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
  }
  
  /* Success message styling */
  .ep-msg.success {
    background-color: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
  }
  
  /* Error message styling */
  .ep-msg.error {
    background-color: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
  }
  /* End of Modal Styles */