

@keyframes fadeIn {
from {opacity: 0;} to {opacity: 1;}
}


@keyframes popIn {
to {transform: scale(1);}
}


.homeicon select {
width: 100%;
padding: 10px;
margin-top: 15px;
border-radius: 8px;
border: 1px solid #ccc;
background: var(--bg);
color: var(--text);
font-size: 1em;
transition: all 0.3s ease;
}


.homeicon button.close-btn {
background: var(--accent);
border: none;
color: #fff;
padding: 10px 20px;
border-radius: 8px;
margin-top: 15px;
cursor: pointer;
font-size: 0.9em;
transition: background 0.3s ease;
}


.homeicon button.close-btn:hover {
background: #0056b3;
}

.homeicon.grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 15px;
width: 100%;
max-width: 500px;
}


.homeicon .card {
background: var(--card-bg);
border-radius: 15px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
text-align: center;
padding: 20px 10px;
cursor: pointer;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.homeicon .card:hover {
transform: translateY(-5px);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}


.homeicon .icon {
font-size: 2.2em;
margin-bottom: 8px;
transition: color 0.3s ease;
}

.homeicon .icon i{
font-size: 40px;
}

.homeicon .serviceBox {
    text-align: center;
    box-shadow: 0 2px 4px 
 color-mix(in oklch, oklch(27.54% .1638 265.98deg) 8%, transparent), 0 4px 12px 
 color-mix(in oklch, oklch(27.54% .1638 265.98deg) 8%, transparent);
    background: oklch(100% 0 0deg) ! IMPORTANT;
    border: 0 !important;
	font-size: 9px;
}

.homeicon .card:hover .icon {
color: #ff9800;
}


/* Modal Styling */
.homeicon .modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
justify-content: center;
align-items: center;
backdrop-filter: blur(4px);
animation: fadeIn 0.3s ease;
}


.homeicon .modal-content {
background: var(--card-bg);
}


  #selmodal .modal-body {
    padding: 18px 16px 8px;
  }

  #selmodal .modal-body h2 {
    font-size: 18px;
    margin: 0 0 10px;
    font-weight: 600;
    text-align: center;
  }

  /* Book list */
  #selmodal ul#bookSelect {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 60vh;
    overflow-y: auto;
  }
  #selmodal ul#bookSelect li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 4px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }
  #selmodal ul#bookSelect li:last-child {
    border-bottom: none;
  }
  #selmodal ul#bookSelect p.description {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
  }
  #selmodal ul#bookSelect a {
    color: #203470;
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
  }

  /* Close Button */
  #selmodal .close-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    background: #203470;
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 0 0 18px 18px;
    cursor: pointer;
    font-size: 16px;
  }
  
  div#selmodal .modal-dialog .modal-content {
    border-radius: 18px !important;
}

  div#selmodal {
	top: auto;
	justify-content: center;
    align-items: flex-end;
}


/* 📱 Mobile Drawer (Hidden by default) */
@media (max-width: 767.98px) {
  #filter-hide {
    position: fixed;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 320px;
    z-index: 1050;
    transform: translateX(-100%);
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
  }
  #filter-hide.active {
    transform: translateX(0);
  }
  
  .nowshowm {
    position: fixed;
    bottom: 20px;
    right: 20px;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    line-height: 40px;
    z-index: 1060;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #00c2ab;
    color: #fff !important;
}
}

/* Backdrop Overlay */
.filter-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1040;
  transition: opacity 0.3s ease;
}
.filter-backdrop.active {
  display: block;
  opacity: 1;
}

/* Floating Filter Button */



