/* navbar */
.navbar {
  min-height: 80px; 
  padding-top: 20px;
  padding-bottom: 20px;
}

.nav-item{
    margin: 0.2rem;
    border-radius: 7px;
}

.nav-shadow{
  box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px, rgb(209, 213, 219) 0px 0px 0px 1px inset;
} 

.navbar-nav .nav-item {
  margin-right: 10px; 
}


.navbar-brand img {
  width: 120px; 
}

.navbar-nav .nav-link {
  color: #333333; 
  font-weight: 480; 
  margin-right: 20px; 
  transition: color 0.3s ease; 
}
/* navbar - mega dropdown */
.dropdown-menu a {
  text-decoration: none;
  color: #000000;
}
.dropdown-menu a .d-flex {
  transition: all 0.5s;
}

.dropdown-icon {
  width: 54px; 
  height: 54px; 
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #e4edffb2;
}

.dropdown-menu a:hover {
 color: #007bff;
}

.dropdown-menu a:hover .dropdown-icon {
  background-color: #007bff; 
}

.dropdown-menu a:hover .dropdown-icon span {
  color: white; 
}

.dropdown-menu a:hover .text-secondary {
  color: #007bff !important; 
}

.material-symbols-outlined {
  color: #007bff;
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}

/* navbar links - active */
.nav-item a.active {
  color: #007bff; 
}
.nav-item a.active span {
  color: #007bff !important; 
}
.svg-icon {
  fill: #007bff;
}
.nav-item a.active .dropdown-icon {
  background-color: #007bff; 
}

.nav-item a.active .dropdown-icon svg path {
  fill: white;
}

.nav-item a:hover .dropdown-icon svg path {
  fill: white;
}

.resources-dropdown .dropdown-menu a.active {
  fill: #007bff !important; 
}
.nav-item a.active .resources-dropdown-icon {
  background-color: #007bff; 
}
.resources-dropdown .dropdown-menu a.active svg path {
  fill: white !important; 
}

@media only screen and (min-width: 992px) {
  .dropdown-menu {
    width: 66vw;
    .dropdown-menu a {
      text-decoration: none;
      color: #000000;
    }
    .dropdown-menu a .d-flex {
      transition: all 0.5s;
    }

    @media only screen and (min-width: 992px) {
      .dropdown-menu {
        width: 35vw;
      }
      .dropdown:hover .dropdown-menu {
        display: flex;
      }
      .dropdown-menu.show {
        display: flex;
      }
    }
  }
  .dropdown:hover .dropdown-menu {
    display: flex;
  }
  .dropdown-menu.show {
    display: flex;
  }
}
@media only screen and (max-width: 991px) {
  .dropdown-menu {
    max-height: 70vh; /* Adjust based on your requirement */
    overflow-y: auto;
  }
}
.resources-dropdown-icon {
  width: 54px; 
  height: 54px; 
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
}

@media only screen and (min-width: 992px) {
  .resources-dropdown .dropdown-menu {
    width: 30vw;
  }
  .dropdown-menu a {
    text-decoration: none;
    color: #000000;
  }
  .resources-dropdown .dropdown-menu a .d-flex {
    transition: all 0.5s;
  }
}
/* review card */
.review-card{
    transition: 0.3s ease;
}
.review-card:hover{
    background-color: #417bd350 !important;
}
/* footer */
.footer-item:hover{
    text-decoration: underline !important;
}

.card-h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.card-p {
    font-size: 1rem;
    line-height: 1.6;
}

.voting-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 12rem;
}

/* pricing table css  */
.pricing-table {
    margin-top: 50px;
  }

  .pricing-column {
    text-align: center;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 20px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .pricing-column h3 {
    font-size: 24px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 15px;
  }

  .pricing-column p {
    font-size: 18px;
    margin-bottom: 15px;
  }


  .btn-signup {
    background-color: #5cb85c;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }

  .btn-signup:hover {
    background-color: #4cae4c;
  }

  .ul-pricing {
    list-style: none;
  }
  .ul-pricing li{
    text-align: left;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    list-style-position: outside;
  }
  .ul-pricing li:before {
    content: '✓ ';
    /* color: #4cae4c; */
  }

  .highlight {
    color: blue;
  }

  @keyframes slide {
     from {
      transform: translateX(0);
     }
     to {
      transform: translateX(-100%);
     }
  }

  .logos {
    overflow: hidden;
    padding: 60px 0px;
    background: #edf3f3;
    white-space: nowrap;
    position: relative;
  }

  .logos::before,
  .logos::after {
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    content: "";
    z-index: 2;
  }

  .logos::before {
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), #edf3f3);
  }

  .logos::after {
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), #edf3f3);
  }

  .logos-slide {
    display: inline-block;
    animation: 35s slide infinite linear;
  }

  .logos-slide img {
    height: 20px;
    margin: 0 40px;
    filter: brightness(40%) saturate(60%) hue-rotate(0deg) brightness(100%);
  }

  /* blog card */
  .blog-card {
    position: relative;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  
  .blog-card img {
    width: 100%;
    height: auto;
  }
  
  .blog-card-content {
    padding: 20px;
    padding-bottom: 50px; 
    flex: 1; 
  }
  
  .blog-card-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  .blog-card-description {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
  }
  .blog-card-button {
    position: absolute; 
    bottom: 20px; 
    left: 20px; 
}

/* template card */
.template-img {
  height: 430px; 
  width: auto; 
  display: block; 
  margin: 20px auto;
  border-radius: 15px; 
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.pagination-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.pagination a.active {
  background-color:#007bff;
  color: white;
}


.template-card {
  width: 100%;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;
  overflow: hidden;
  margin-bottom: 20px; 
  transition: box-shadow 0.3s ease;
}
.template-card:hover {
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3);
}
.template-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.template-card-content {
  padding: 20px;
  height: 150px; 
  overflow: hidden; 
}

.template-card-title {
  font-size: 20px;
  margin-bottom: 10px;
  color: #333;
  font-weight: bold;
}

.template-card-description {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.template-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #eee;
  padding-top: 10px;
}

.template-card-author {
  font-size: 12px;
  color: #999;
}

.template-card-date {
  font-size: 12px;
  color: #999;
}

.feature-box {
  background-color: #ffffff;
  padding: 20px;
  text-align: center;
 
  margin-bottom: 30px;
  height: 250px;
}

.feature-icon-wrapper {
  background-color: #e6f4ff; 
  width: 80px; 
  height: 80px; 
  border-radius: 10px; 
  margin: 0 auto 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-icon {
  font-size: 30px;
  color: #007bff; 
  line-height: 1; 
}

.feature-title {
  margin-top: 15px;
}

.feature-description {
  margin-bottom: 0;
  height: 100px;
}

a {
  text-decoration: none !important;
}

.faq-container {
  padding: 80px 0;
}

.faq-item {
  padding: 2rem;
  cursor: pointer;
  margin-bottom: 20px;
  background-color: white;
  border-radius: 10px;
}


.faq-icon-circle .material-symbols-outlined {
  color: #ffffff;
  font-size: 18px;
  line-height: 0;
}
.faq-icon-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #007bff;
}

.faq-answer {
  display: none;
}

.faq-answer.show {
  display: block;
  margin-top: 25px;
}



/* ---------------------------------crowser wrapper yyy css ---------------------------- */

.wrapper {
  /* max-width: 1800px; */
  width: 100%;
  position: relative;
}
.wrapper i {
  top: 50%;
  height: 50px;
  width: 50px;
  cursor: pointer;
  font-size: 1.25rem;
  position: absolute;
  text-align: left;
  line-height: 50px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 3px 6px rgba(0,0,0,0.23);
  transform: translateY(-50%);
  transition: transform 0.1s linear;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #3d3d3d;
}
.wrapper i:active{
  transform: translateY(-50%) scale(0.85);
}
.wrapper i:first-child{
  left: -22px;
}
.wrapper i:last-child{
  right: -22px;
}
.wrapper .carousel{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% / 3) - 12px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 16px;
  border-radius: 8px;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar {
  display: none;
}
.carousel.no-transition {
  scroll-behavior: auto;
}
.carousel.dragging {
  scroll-snap-type: none;
  scroll-behavior: auto;
}
.carousel.dragging .card {
  cursor: grab;
  user-select: none;
}
.carousel :where(.card, .img) {
  display: flex;
   justify-content: center;

}
.carousel .card {
  scroll-snap-align: start;
  height: 342px;
  list-style: none;
  background: #fff;
  cursor: pointer;
  padding-bottom: 15px;
  flex-direction: column;
  border-radius: 8px;
}
.carousel .card .img {
  background: #8B53FF;
  height: 148px;
  width: 148px;
  border-radius: 50%;
}
.card .img img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
}
.carousel .card h2 {
  font-weight: 500;
  font-size: 1.56rem;
  margin: 30px 0 5px;
}
.carousel .card span {
  color: #6A6D78;
  font-size: 1.31rem;
}

@media screen and (max-width: 900px) {
  .wrapper .carousel {
    grid-auto-columns: calc((100% / 2) - 9px);
  }
}

@media screen and (max-width: 600px) {
  .wrapper .carousel {
    grid-auto-columns: 100%;
  }
}

/* testominal ---------------- */

/* This class is defining the styling for a grid container. */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

/* This class is defining the styling for the container element that holds each
testimonial in a testimonial grid. */
.testimonial-container {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* This class is defining the styling for the avatar image */
.testimonial-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-text {
  margin-bottom: 20px;
}

.testimonial-name {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 5px;
  color: #333333;
}

.testimonial-role {
  font-size: 16px;
  color: #666666;
}

/* This media query in CSS that targets screens with a maximum width of 600 pixels. */
@media screen and (max-width: 600px) {
  .testimonial-grid {
      grid-template-columns: 1fr;
  }
}

.footer-background {
background-color: #0d6efd;
  min-height: 200px; 
  padding: 40px 0; 
  display: flex;
  color: transparent;
  align-items: center;
}
.footer-item {
  text-decoration: none;
  color: white;
}

@media (max-width: 768px) {
  .footer-background {
      min-height: 300px;
      padding: 20px 0; 
  }
}

.categories {
  display: flex;
  gap: 8px; 
  margin: auto;
  width: 50%;
  padding: 10px;
}
.category {
  padding: 10px;
  width: 30%;
  text-align: center;
  margin: auto;
  background-color: white; 
  border: 1px solid #ccc; 
  border-radius: 15px; 
  cursor: pointer;
}

.category.active {
  background-color: #ecf2ff;

}

.card-link {
  position: relative;
  display: block;
}

.title-link {
  position: relative;
  z-index: 1;
}