body{
  scroll-behavior: smooth;
}
/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 8%;
  background: aliceblue;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: relative;
}

.logo {
  font-size: 22px;
  font-weight: bold;
  color: #1e3a8a;
}
.carticon::after{
    content: attr(data-count);
    position: relative;
    background-color: rgb(106, 160, 181);
    color: black;
    right: 15px;
    top: -12px;
    padding: 1px 2px;
    border-radius: 50px;
}
.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-icons a{
  color: black;
  text-decoration: none;
  list-style: none;
}

.nav-icons input {
  padding: 5px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

/* Hamburger (hidden on desktop) */
.menu-icon {
  display: none;
  font-size: 22px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 4%;
  background: #fff;
  flex-wrap: wrap;

}

.hero-text {
  max-width: 50%;
}

.hero-text h1 {
  font-size: 3em;
  font-weight: bold;
  margin-bottom: 15px;
}

.hero-text p {
  margin-bottom: 20px;
  color: #666;
}

.btn-group {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.btn {
  padding: 10px 20px;
  background: skyblue;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.btn-outline {
  padding: 10px 20px;
  border: 1px solid skyblue;
  color: #1e3a8a;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
}

.price-rating {
  margin: 10px 0;
  font-size: 14px;
}

.active-users {
  display: flex;
  align-items: center;
  gap: 8px;
}

.active-users img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #fff;
}

.hero-image img {
  width: 500px;
  max-width: 100%;
}

/* Features Section */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 40px 8%;
  background: #f1f5f9;
}

.feature {
  background: #fff;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.feature i {
  font-size: 30px;
  color: skyblue;
  margin-bottom: 10px;
}


/*==================================================Hero section===============================
.slide1 {
  position: relative;
  min-height: 25em;
  border-radius: 2em;
  width: 95%;
  overflow: hidden;
  margin-left: 2em;
  margin-right: 2em;
  margin-top: 4em;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  border-radius: 2em;
}

.slide-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  padding-top: 5em;
}

.slide1 h1 {
  font-size: 3.5em;
}

.slide1 button {
  margin: 2em auto;
  padding: 1em 3em;
  border: none;
  background-color: skyblue;
  border-radius: 20px;
  color: black;
  font-size: 1em;
  cursor: pointer;
}

.slide1 button:hover {
  background-color: rgb(69, 69, 241);
  color: white;
}
*/
/* Base section styling */
.slide1 {
  position: relative;
  min-height: 25em;
  border-radius: 2em;
  width: 95%;
  overflow: hidden;
  margin: 4em auto; /* centers section */
}

/* Background video */
.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  border-radius: 2em;
}

/* Content on top of video */
.slide-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  min-height: 20em;
  padding: 2em;
}

.slide1 h1 {
  font-size: 3.5em;
  line-height: 1.2;
  max-width: 70%;
}

/* Buttons */
.slide1 button {
  margin: 1em;
  padding: 1em 2.5em;
  border: none;
  background-color: skyblue;
  border-radius: 20px;
  color: black;
  font-size: 1em;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.slide1 button:hover {
  background-color: rgb(69, 69, 241);
  color: white;
}

/* =================== RESPONSIVE DESIGN =================== */

/* Tablets */
@media (max-width: 1024px) {
  .slide1 {
    min-height: 20em;
  }

  .slide1 h1 {
    font-size: 2.5em;
  }

  .slide1 button {
    padding: 0.8em 2em;
    font-size: 0.95em;
  }
}

/* Mobile phones */
@media (max-width: 768px) {
  .slide1 {
    min-height: 18em;
    border-radius: 1em;
  }

  .slide1 h1 {
    font-size: 2em;
  }

  .slide-content {
    padding: 1.5em;
  }

  .slide1 button {
    padding: 0.7em 1.5em;
    font-size: 0.9em;
  }
}

/* Small mobile (extra small screens) */
@media (max-width: 480px) {
  .slide1 {
    min-height: 15em;
  }

  .slide1 h1 {
    font-size: 1.5em;
  }

  .slide1 button {
    padding: 0.6em 1.2em;
    font-size: 0.85em;
  }
}




/* ==================== Responsive ==================== */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }
  .hero-text {
    max-width: 100%;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 15px;
    background: black;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }
  .nav-links.show {
    display: flex;
  }
  .menu-icon {
    display: block;
  }
  .nav-icons input {
    display: none; /* hide search bar on mobile */
  }
  .features {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .features {
    grid-template-columns: 1fr;
  }
  .hero-text h1 {
    font-size: 26px;
  }
}
/* Default Light Mode */
body {
  background: #f9f9f9;
  color: #222;
  transition: background 0.3s, color 0.3s;
}

/* Dark Mode Styles */
body.dark {
  background: #1e293b;
  color: #e2e8f0;
}

body.dark .navbar {
  background: #0f172a;
}

body.dark .nav-links a {
  color: #e2e8f0;
}
body.dark .nav-icons a{
  color: #e2e8f0;
}
body.dark .feature {
  background: #0f172a;
  color: #e2e8f0;
}

body.dark .hero {
  background: #1e293b;
}

body.dark .btn {
  background: #e2e8f0;
  color: #1e293b;
}

body.dark .btn-outline {
  border: 1px solid #e2e8f0;
  color: #e2e8f0;
}
body.dark .footer{
  background: #0f172a;
}
body.dark .content-footer h4{
  color: #1e3a8a;
}
body.dark .content-footer p{
  color: white;
}
body.dark .content-footer ul a{
  color: white;
}
#dark-toggle {
  font-size: 20px;
  cursor: pointer;
  transition: color 0.3s;
}

body.dark #dark-toggle {
  color: yellow;
}



/*================================shop section===========================
.shop{
    padding: 2em;
}
.shop h3{
    text-align: center;
    font-size: 2em;
    margin-bottom: 1.2em;
}
.shop-cards{
    display: flex;
    justify-content: center;
}
.card-content{
    display: inline-block;
    text-align: center;
    box-shadow: 1px 1px 5px rgb(186, 184, 184);
    margin: 1em;
    padding: 1em;
    border-radius: 20px;
}
.card-content img{
    border-radius: 10px;
    margin-bottom: 4em;
}
.card-content data{
    color: skyblue;
}
.card-content button{
    margin: auto;
    display: block;
    background-color: skyblue;
    padding: 0.5em 2em;
    border: none;
    border-radius: 10px;
}*/
.shop {
  padding: 2em;
}

.shop h3 {
  text-align: center;
  font-size: 2em;
  margin-bottom: 1.5em;
}

/* Card container */
.shop-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* allow wrapping on small screens */
  gap: 2em;
  margin-bottom: 2em;
}

/* Individual card */
.card-content {
  flex: 1 1 300px; /* makes cards flexible */
  max-width: 320px;
  text-align: center;
  box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.1);
  margin: 0.5em;
  padding: 1.5em 1em;
  border-radius: 20px;
  background: #fff;
  transition: transform 0.3s ease;
}

.card-content:hover {
  transform: translateY(-5px);
}

.card-content img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 1.5em;
}

.card-content h4 {
  color: #1e3a8a;
  font-size: 1.2em;
  margin-bottom: 0.5em;
}

.card-content data {
  color: skyblue;
  font-size: 1em;
  font-weight: bold;
  display: block;
  margin: 0.3em 0;
}

.card-content del {
  font-size: 0.9em;
  color: #777;
}

.card-content button {
  margin-top: 1em;
  display: inline-block;
  background-color: skyblue;
  padding: 0.7em 2em;
  border: none;
  border-radius: 10px;
  font-size: 0.9em;
  cursor: pointer;
  transition: background 0.3s ease;
}

.card-content button:hover {
  background-color: rgb(69, 69, 241);
  color: white;
}

/* ================= RESPONSIVE ================= */

/* Tablets */
@media (max-width: 1024px) {
  .shop h3 {
    font-size: 1.8em;
  }

  .card-content {
    flex: 1 1 45%; /* 2 cards per row */
    max-width: 45%;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .shop h3 {
    font-size: 1.6em;
  }

  .card-content {
    flex: 1 1 100%; /* full width */
    max-width: 100%;
  }

  .card-content img {
    margin-bottom: 1em;
  }

  .card-content h4 {
    font-size: 1.1em;
  }

  .card-content button {
    padding: 0.6em 1.5em;
    font-size: 0.85em;
  }
}

/* Extra small phones */
@media (max-width: 480px) {
  .shop {
    padding: 1.5em 1em;
  }

  .shop h3 {
    font-size: 1.4em;
  }

  .card-content {
    padding: 1em;
  }

  .card-content h4 {
    font-size: 1em;
  }

  .card-content data {
    font-size: 0.9em;
  }

  .card-content button {
    font-size: 0.8em;
    padding: 0.5em 1.2em;
  }
}



/*==========================================management section=============================
.management{
    display: flex;
    padding: 2em;
}
.management-content{
    display: inline-block;
}
.content-management{
    display: flex;
}
.content-management img{
    margin: 0.2em;
    border-radius: 10px;
}
.management-par{
    display: inline-block;
    padding: 0.2em;
}
.management-par h3{
    text-align: center;
    font-size: 2em;
}
.management-par p{
    font-size: 1em;
    margin-bottom: 1em;
    padding: 0.2em;
}
.management-par button{
    padding: 1em 3em;
    border: none;
    background-color: skyblue;
    border-radius: 20px;
    color: black;
    font-size: 0.8em;
    margin-top: 1.2em;
}
.management-par button:hover{
     background-color: rgb(69, 69, 241);
    color: white;
}
*/
.management {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2em;
  padding: 2em;
  flex-wrap: wrap; /* allows stacking on smaller screens */
}

/* Left text section */
.management-par {
  flex: 1 1 50%;
  padding: 1em;
}

.management-par h3 {
  text-align: center;
  font-size: 2em;
  margin-bottom: 0.5em;
}

.management-par p {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 1em;
}

/* Button */
.management-par button {
  padding: 1em 3em;
  border: none;
  background-color: skyblue;
  border-radius: 20px;
  color: black;
  font-size: 0.9em;
  margin-top: 1.2em;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.management-par button:hover {
  background-color: rgb(69, 69, 241);
  color: white;
}

/* Right image section */
.content-management {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.content-management img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

/* ================= RESPONSIVE BREAKPOINTS ================= */

/* Tablets */
@media (max-width: 1024px) {
  .management {
    gap: 1.5em;
  }

  .management-par h3 {
    font-size: 1.8em;
  }

  .management-par p {
    font-size: 0.95em;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .management {
    flex-direction: column;
    text-align: center;
    padding: 1.5em;
  }

  .management-par {
    flex: 1 1 100%;
    padding: 0.5em;
  }

  .management-par h3 {
    font-size: 1.6em;
  }

  .management-par p {
    font-size: 0.9em;
  }

  .content-management {
    flex: 1 1 100%;
    margin-top: 1.5em;
  }

  .management-par button {
    padding: 0.8em 2em;
    font-size: 0.85em;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .management-par h3 {
    font-size: 1.4em;
  }

  .management-par p {
    font-size: 0.85em;
  }

  .management-par button {
    padding: 0.7em 1.5em;
    font-size: 0.8em;
  }
}



/*==========================================================sect==================================*/
.blog-section {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  display: block;
  width: 60%;
  height: 4px;
  background-color: skyblue;
  margin: 10px auto 0;
  border-radius: 2px;
}

.blog-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.blog-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  max-width: 330px;
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
}

.blog-card img {
  width: 100%;
  height: auto;
  display: block;
}

.tag {
  display: block;
  color: skyblue;
  text-align: left;
  font-weight: bold;
  margin: 12px 16px 0;
}

.blog-title {
  font-size: 1.2rem;
  font-weight: bold;
  text-align: left;
  margin: 8px 16px;
  color: #222;
}

.blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  color: #777;
  font-size: 0.95rem;
}
.blog-meta img{
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-right: 8px;
}



/*==================================cart section========================*/
.cart-container{
  max-width: 800px;
  margin-top: 80px;
  margin: auto;
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
.cart-item { 
      display: flex;
      justify-content: space-between; 
      margin: 10px 0;
      padding: 10px;
      border-bottom: 1px solid #ccc; 
}
.cart-item-details {
        flex: 1;
        min-width: 150px;
}
.cart-item button{
    background: skyblue;
    border: none;
    padding: 0.25em 1em;
    border-radius: 10px;
    color: white;
}
.cart-item img {
      width: 100px;
      height: 100px;
      object-fit: cover;
      margin-right: 15px; 
}
.cart-total{
      font-size: 20px;
      margin-top: 20px;
      text-align: right;
      font-weight: bold;
}
.submitBtn{
      padding: 1em 8em; 
      background: skyblue;
      color: #fff;
      border: none;
      cursor: pointer;
      margin-top: 20px;
      border-radius: 10px;
      margin: auto;
      display: block;
    
}


.cart-container h1{
  margin-bottom: 20px;
  text-align: center;
  color: skyblue;
  
}
.cartItems{
    display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
  padding: 10px 0;
}

/*===========================================payment section=======================================*/

#paymentPage{
  background: white;
  padding: 2.5rem;
  margin: auto;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  margin-top: 100px;
  width: 100%;
}

#paymentPage h2{
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
}
.payment-content label{
  font-size: 1.2rem;
  font-weight: 500;
}
.payment-content input{
  padding: 10px;
  display: block;
  width: 80%;
  margin: 10px 0;
  
}
.payBtn{
    text-align: center;
    padding: 0.8rem;
    font-size: 1.4rem;
    font-weight: 500;
    background-color: #00c79c;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 50%;
    margin: auto;
    display: block;
    margin-bottom: 1rem;
    gap: 10px;
}
.payBtn:hover {
    background-color: #009e7c;
    transform: translateY(-2px);
}
.divider{
  text-align: center;
  color: #555;
  font-size: 0.9rem;
  margin-bottom: 1.5rem 0;
  position: relative;
}
.divider::before,
.divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: #ddd;
}
  
.divider::before {
    left: 0;
}
  
.divider::after {
    right: 0;
}
.courtesy-content{
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}
.paystackBtn{
    background-color: rgb(79, 171, 247);
    padding: 0.7rem;
    font-size: 0.9rem;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.safaricomBtn{
    background-color: #9ef1b2;
    padding: 0.7rem;
    font-size: 0.9rem;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
#proceedDeliveryBtn{
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 1rem;
    border: none;
    width: 50%;
    margin: auto;
    display: block;
    margin-bottom: 1rem;
    gap: 10px;
    color: white;
}
#deliverySection{
  margin: auto;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0px 5px 15px rgba(7, 7, 7, 0.05);
  padding: 1.5rem;
  background: white;
  margin-top: 50px;
}
#deliverySection h2{
  text-align: center;
  font-size: 2rem;
}
#deliveryForm label{
   font-size: 1.2rem;
   font-weight: 500;
  
}
#deliveryForm input{
  padding: 5px;
  display: block;
  width: 80%;
  margin: 10px 0;
}
#deliveryForm button{
      text-align: center;
    padding: 0.8rem;
    font-size: 0.8rem;
    font-weight: 500;
    background: linear-gradient(to right, #c471f5, #fa71cd);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 50%;
    margin: auto;
    display: block;
    margin-bottom: 1rem;
    gap: 10px;
}
/*============================ORDER FORM=========================*/
#orderForm{
  display: none;
  text-align: center;
    max-width: 800px;
  margin-top: 80px;
  margin: auto;
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  
}
#orderForm h3{
  font-size: 3em;
  color: skyblue;
}
#orderForm input{
  padding: 0.2em 5em;
}
#orderForm input, #orderForm textarea {
      width: 100%;
      margin-top: 10px;
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 5px;
}
#orderForm button {
    padding: 1em 2em;
    background: linear-gradient(to right, #c471f5, #fa71cd);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    margin: 0 auto;
    display: block;
    margin-top: 40px;
}
#orderForm button:hover {
     background-color: rgb(39, 229, 39);
    color: white;
    cursor: pointer;
}
#toast {
  visibility: hidden;
  min-width: 250px;
  background-color: #28a745;
  color: white;
  text-align: center;
  border-radius: 8px;
  padding: 12px;
  position: fixed;
  z-index: 1;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
#toast.show {
  visibility: visible;
  opacity: 1;
}


/*===================================footer section=================================
.footer{
    background-color: aliceblue;
    text-align: center;
    display: inline-block;
    width: 100%;
}
.footer-content{
    display: flex;
    padding: 4rem 8rem;
    margin-left: 2rem;
    gap: 12em;
}
.content-footer{
    display: inline-block;
}
.content-footer h3{
    margin: 0.5em;
    font-size: 1.5em;
}
.content-footer p{
    color: skyblue;
}
.content-footer ul{
    list-style: none;
}
.content-footer ul li a{
    text-decoration: none;
    color: skyblue;     
}
.content-footer ul li a:hover{
    color: black;
}
    */
  .footer {
  background-color: aliceblue;
  text-align: center;
  width: 100%;
  padding: 2rem 1rem;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 6em;
  flex-wrap: wrap; /* allows wrapping on smaller screens */
  padding: 2rem 4rem;
}

.content-footer {
  flex: 1 1 200px; /* flexible, min width for stacking */
  margin-bottom: 1.5em;
}

.content-footer h4 {
  margin-bottom: 0.5em;
  font-size: 1.3em;
  color: black;
}

.content-footer p {
  color: skyblue;
  font-size: 0.95em;
}

.content-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.content-footer ul li {
  margin: 0.5em 0;
}

.content-footer ul li a {
  text-decoration: none;
  color: skyblue;
  font-size: 0.95em;
  transition: color 0.3s ease-in-out;
}

.content-footer ul li a:hover {
  color: black;
}

.footer hr {
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em auto;
  width: 90%;
}

.footer p {
  font-size: 0.9em;
  margin-top: 0.5em;
  color: #444;
}

/* ================= RESPONSIVE ================= */

/* Tablets */
@media (max-width: 1024px) {
  .footer-content {
    gap: 3em;
    padding: 2rem;
  }
  .content-footer h4 {
    font-size: 1.2em;
  }
  .content-footer p,
  .content-footer ul li a {
    font-size: 0.9em;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 2em;
    padding: 1.5rem;
  }

  .content-footer {
    text-align: center;
  }

  .content-footer h4 {
    font-size: 1.1em;
  }

  .content-footer p,
  .content-footer ul li a {
    font-size: 0.85em;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .footer-content {
    padding: 1rem;
    gap: 1.5em;
  }

  .content-footer h4 {
    font-size: 1em;
  }

  .content-footer p,
  .content-footer ul li a {
    font-size: 0.8em;
  }

  .footer p {
    font-size: 0.75em;
  }
}



/*==========================================popup style==============================*/
/* Overlay background */
#customAlert {
  display: none; /* hidden by default */
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Alert box */
#customAlert .alert-box {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  text-align: center;
  max-width: 300px;
  animation: fadeIn 0.3s ease-in-out;
}

#customAlert .alert-box h4 {
  margin-bottom: 10px;
  font-size: 18px;
  color: #333;
}

#customAlert .alert-box button {
  margin-top: 15px;
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  background: #007BFF;
  color: #fff;
  cursor: pointer;
}

#customAlert .alert-box button:hover {
  background: #0056b3;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}