/* style.css or css/base.css */
:root {
  --primary-color: #003b80;
  --secondary-color: #444;
  --accent-color: #f44336;
  --border-color: #e0e0e0;
}


/* Blur effect */
.site-content.blurred {
  filter: blur(5px);
  transition: filter 0.3s ease;
}

/* Disable background scroll */
body.no-scroll {
  overflow: hidden;
}

p {
    margin-bottom: 0em;
}


.site-header {
  background: #fff;
  border-bottom: 1px solid #ddd;
  position: sticky;
    top: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 10px 20px;
}

.site-logo a {
  
  color: #333;
  text-decoration: none;
}

.header-categories {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.header-category a {
  text-decoration: none;
  color: #444;
  font-size: 16px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.subscribe-btn {
  background: #007bff;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  text-decoration: none;
}
.search-form {
    display: flex;
}

.search-form input {
  padding: 5px;
}

.search-form button {
  padding: 5px 10px;
}

/* === Mobile Menu Slide-in === */

.mobile-toggle {
    display: none;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 70%;
  height: 100%;
  background: #fff;
  z-index: 9999;
  transition: left 0.3s ease;
  padding: 10px;
  box-shadow: 2px 0 5px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}

.mobile-menu.active {
  left: 0;
}

/* Search */
.mobile-menu-search form {
  display: flex;
  gap: 5px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.mobile-menu-search input {
  flex: 1;
  padding: 5px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.mobile-menu-search button {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
}

/* Menu Items */
.mobile-menu-items {
  flex: 1;
  overflow-y: auto;
  padding-top: 10px;
}

.mobile-menu-item {
  padding: 5px 0;
  border-bottom: 1px solid #eee;
}

.mobile-menu-item a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #333;
  text-decoration: none;
  padding: 5px;
}

.mobile-menu-item .arrow {
  font-size: 14px;
  color: #888;
}

/* Close Button */
.mobile-menu-header {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

/* Sticky Bottom Link */
.mobile-menu-bottom {
  position: sticky;
  bottom: 0;
  background: #f9f9f9;
  padding: 12px;
  border-top: 1px solid #ddd;
  text-align: center;
}

.mobile-menu-bottom a {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}


#menu-toggle,
#menu-close {
      background: var(--primary-color);
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #ffffff;
    padding: 5px 10px;
    width: 100%;

}

.site-logo {
    width: 170px;
}


/* Popup Background */
.newsletter-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Popup Box */
.newsletter-popup-box {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  max-width: 400px;
  width: 90%;
  position: relative;
  text-align: center;
}

/* Close Button */
.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
}

/* Form Style */
.newsletter-popup-box form {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-popup-box input[type="email"] {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.newsletter-popup-box button[type="submit"] {
  padding: 10px;
  background: var(--primary-color, #007bff);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.popup-loader,
.popup-success {
  padding: 20px;
}

/* 🔹 Responsive: Mobile Layout */
@media (max-width: 768px) {
 
  .header-actions {
    display: block;
  }
  
  .search-form {
      display: none;
  }
  
  
.header-categories {
   display: none;
}

  .mobile-toggle {
    display: block;
  }

  .header-inner {
    justify-content: space-between;
  }

  .mobile-menu.active {
    display: block;
    padding: 10px 20px;
    background: #f9f9f9;
  }
}
