* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  
}


body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color:var(--primary-color);
  color: #333;

}
.filter-buttons button {
  padding: 0.5rem 1rem;
  border: 1px solid #2563eb;
  border-radius: 0.375rem;           /* rounded-md */
  background-color: transparent;
  color: #2563eb;
  font-weight: 500;
  transition: 
    background-color 0.2s ease, 
    color 0.2s ease, 
    box-shadow 0.2s ease;
}

.filter-buttons button:hover {
  background-color: rgba(37, 99, 235, 0.1);  /* light blue hover */
}

.filter-buttons button.active {
  background-color: #2563eb;                /* blue 600 */
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.4);
}

/* To ensure spacing between buttons */
.filter-buttons button + button {
  margin-left: 0.5rem;
}



:root{
  --primary-color:hsla(210, 40%, 96%, 0.644);
  --nav-color: rgba(255, 255, 255, 0.904);
  --text-color: 212121;
  --shodow-color:rgba(0, 0, 0, 0.863);
  --sign-color:#1d1d1d;
}

.dark-theme{
  --primary-color:hsla(223, 84%, 5%, 0.945);
  --text-color: rgba(255, 255, 255, 0.952);
  --nav-color:hsla(223, 84%, 5%, 0.973);
  --shodow-color: rgba(250, 56, 250, 0.726);
  --sign-color:#2563eb;
}


/* contant */



.container90 {
  /* max-width: 1200px; */
  width: 100%;
  margin: 0 auto;
  padding: 6rem 1rem;
  margin-top: 60px;
  background-color: var(--primary-color);
  text-align: center;
  height: auto;
  margin-top: 0;
  padding-top: 60px;

  }

.container90 h2 {
  font-size: 50.75px;
  color: var(--text-color);
  font-weight: 700;
}

.container90 p {
  font-size: 20px;
  color: #64748B;
  margin-top: 0.5rem;
}

.filter-btn-containar{
  width: 100%;
  min-height: 100px;
  height: auto;
  background-color: var(--nav-color);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 2rem;
  gap: 30px;
  padding-bottom: 40px;
}

/* .filter-buttons {



} */

.filter-buttons .btn,
.filter-buttons .active {
  padding: 12px 20px;
  font-weight: 550;
  border-radius: 8px;
  border: 1px solid #c7c5c5;
  background-color: white;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.filter-buttons .active {
  width: 10vw;
}
.filter-buttons .active:hover,
.filter-buttons .btn:hover {
  background-color: lightgray;
}

.cards
{
  
  background-color: var(--nav-color);
  display: grid;
  grid-template-columns: repeat(3,1fr);
  padding: 0px 20px;
 

}

.card{
  position: relative;
  overflow: hidden;
  border: 0.1px solid var(--primary-color);
    border-radius: 10px;

  transition: transform 0.3s ease;
  margin-top: 20px;
  /* padding-top: 30px; */
  padding-bottom: 40px;
  /* padding-left: 20px; */
  }

.card:hover {
  transform: translateY(-5px);
  transition: 0.3s;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);;
}
.card .image {
  width: 100%;
  height: 300px; 
  overflow: hidden;
  position: relative;
  border-radius: 10px 10px 0 0;
}
 .image img{
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.3 ease;
  border-radius: 10px 10px 0 0;
}
.card .image h4,
.card .image h3 {
  position: absolute;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0,3s ease;
  z-index: 1;
  margin: 45% 0;
  padding: 0 15px;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
  transition: 0.5s;
}

.card .image h4 {
  top: 40px;
  left: 0px;
  font-size: 1.1rem;

}
.card .image h3{
  border-radius: 9px;
  font-size: 14px;
  margin-left: 13px;
  padding: 5px 15px;
  background-color: #2563EB;
}
.image:hover h3,
.image:hover h4 {
  opacity: 1;
  /* transform: translateY(0); */
}


.image img:hover{
filter: brightness(0.7);
transition: 1s;
}
.para {
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;

}

.para p{
  padding-top: 15px;
  font-size: 15px;
  color: var(--text-color);
}
.para a {
  align-self: flex-end;  /* aligns the link to the right */
  text-decoration: none;
  color: blue;
  background-color: transparent;
  text-align: start;
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 16px;

  font-weight: 500;
  transition: color 0.3s ease;
}

.para a:hover {
  color:var(--text-color);
  background-color: var(--primary-color);
  transition: 0.5s;
}

@media (max-width: 992px) {
  .card {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .cards{
    grid-template-columns: 1fr;
  }
  .section-header h2 {
    font-size: 2rem;
    /* height: 40px; */
  }

  .section-header p {
    font-size: 14px
  }

  .filter-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
    gap: 10px;

  }

  .filter-buttons.btn,
  .filter-buttons .active {
    width: 100%;
    /* grid-template-columns: repeat(2,1fr); */
    max-width: 290px;
  }
}



 /* footer section */



  hr{
    height: 2px;
    background-color: var(--nav-color);
}

  .footer {
    width: 100%;
    background-color:var(--primary-color);
    padding: 30px 10px 17px;
    
    
  }
  
  .footer-container {
    width: 100%;
    padding: 0 3px; 
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    color: #444;
  }
  
  .footer-section{
    padding:20px 0;
  }
  .footer-section h3 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--text-color);
    font-family:sans-serif;
  }
  
  .footer-section p {
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
    color:rgb(63, 99, 113);
    font-family: sans-serif;
  }
  
  .footer-section ul {
    list-style: none;
    color: gray;
    /* gap: 23px; */
  }
  
  .footer-section ul li {
    margin-bottom: 8px;
    font-size: 14px;
    color: gray;
    /* gap: 3px; */
  }
  .head a{
    font-size:14px;
    /* font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif; */
   
  }
  .head {
    margin-top: 30px;
  }
  .head li {
    padding-bottom:9px;

  }
  
  .footer-section ul li a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s;
    /* gap: 38px; */
  }
  .social-icons i{
    font-style:inherit;
    /* font-size:100px; */
  }
  
  .footer-section ul li a:hover {
    color: #1d4ed8;
  }
  .contact {
   padding-top:30px;
  }
  .contact a{
    font-size:18px;
  }
  .contact-info i{
    color: #2563eb;
    font-size: 18px;
    font-style:normal;
  }
  .contact-info li {
    display: flex;
    align-items: center;
    gap: 8px;
    
  }
  .contact-info li a:hover{
    color: #2563eb;
    cursor: pointer;
  }
  .social-icons {
    margin-top: 10px;
    display: flex;
    gap: 15px;
    font-size: 20px;
  }
  
  .social-icons i {
    cursor: pointer;
    transition: transform 0.3s, color 0.3s;
  }
  
  .social-icons i:hover {
    color: #3b82f6;
    transform: scale(1.2);
  }
/* .footer-section .rating-stars i{ */
  /* border:1px  black; */
  /* background-color: #2563eb; */
 
  .rating-stars {
    display: flex;
    gap: 0.3px;
    cursor: pointer;
    
  }
   .star-icon svg{
    border:1px solid black;
  }
  .star-icon {
    width: 30px;
    height: 40px;
   color: #ddd;
    transition: fill 0.3s;
    margin-bottom: -20px;
        
  }
  .star-icon.filled {
    fill:yellow;
  }
  .star-icon.hovered {
    fill: yellow;
  }
  .rating-btn {
    margin-top: 16px;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #214CD7;
    color: white;
    width: 23vw;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    text-align: center;
    align-items: center;
  }

  
  .rating-btn:hover {
    background: linear-gradient(to right, #4338ca, #2563eb);
  }
  
  .feedback-link {
    display: inline-block;
    margin-top: 10px;
    color: #2563eb;
    font-size: 14px;
    margin-left: 120px;
    text-decoration: none;
    text-align: center;
  }
  
  .feedback-link:hover {
    text-decoration: underline;
  }
  
  .footer-bottom {
    margin-top: 2px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
  }

  .footer-bottom p{
    color: var(--text-color);
  }
  
  .footer-bottom a {
    color: #2563eb;
    margin: 0 0px;
    text-decoration: none;
  }
  
  .footer-bottom a:hover {
    text-decoration: underline;
  }
  
  @media (min-width: 768px) {
    .footer-bottom {
      flex-direction: row;
      justify-content: space-between;
    }
  }
    @media (min-width:650px) {
  .footer-section  .rating-btn {
     
  .feedback-link{
    text-align: center;
    align-items: center;
  } 
    }
}
  



/* RAKUEN SHINSHOKU: ISLAND OF THE DEAD */