@import url('https://wppluginbox.com/ICONS/icons.css');

/*------------------------------------------------------------------------------*/
    .card-box{
        box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.09);
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
    padding: 12px;
    border-radius:12px;
    }
    
    .nav-card{
    box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.2);
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
position: sticky;
top:0;
    }
    
    .footer-logo{width:250px;}
    [site-logo="1"]{width:220px;}
    
/*---------------------------- categories section --------------------------------------------------*/

.category-section {
  text-align: center;
  padding: 50px 20px;
  background: #fff;
}

.category-section h2 {
  font-size: 28px;
  margin-bottom: 10px;
  font-weight: bold;
  color: black;
}

.category-section p {
  font-size: 16px;
  color: #555;
  margin-bottom: 40px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Make links behave like blocks */
.category-grid a {
  text-decoration: none;
  display: block;
}

/* Card styles */
.category-card {
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
  text-align: left;
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-5px);
}

.category-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.category-card-content {
  padding: 15px 20px;
}

.category-card-content h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: black;
  font-weight: bold;
}

.category-card-content p {
  font-size: 14px;
  color: #555;
}


/*------------------------------- Take Quiz Section  -----------------------------------------------*/
.bam-quiz-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  
  background: #fff;
  gap: 40px;
}

.bam-quiz-left {
  flex: 1 1 500px;
}

.bam-quiz-left h2 {
  font-size: 36px;
  font-weight: bold;
  color: #000;
  margin-bottom: 15px;
}

.bam-quiz-left p {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Button */
.bam-quiz-btn {
  display: inline-block;
  padding: 16px 36px;
  font-size: 18px;
  font-weight: bold;
  background: var( --e-global-color-5608108 );
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s ease;
}
.bam-quiz-btn:hover {
/*  background: #000;*/
transition: 0.2s;
transform: scale(1.1);
color: white;
}

/* Reviews */
.bam-reviews {
  margin-top: 40px;
  position: relative;
  max-width: 500px;
}

.bam-review {
  display: none;
  background: #fff;
  padding: 20px 25px;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  font-size: 15px;
  color: #333;
  line-height: 1.5;
}

.bam-review.active {
  display: block;
}

.bam-review strong {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  color: #000;
}

/* Dots */
.bam-dots {
  margin-top: 12px;
  text-align: center;
}
.bam-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 4px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
}
.bam-dot.active {
  background: var( --e-global-color-5608108 );
}

/* Right image */
.bam-quiz-right {
  flex: 1 1 400px;
  text-align: center;
}
.bam-quiz-right img {
    width: 100%;
  max-width: 200px;
  height: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .bam-quiz-section {
    flex-direction: column;
    text-align: center;
  }
  .bam-quiz-left, .bam-quiz-right {
    flex: 1 1 100%;
  }
}


/*------------------------------- Take Quiz Section  -----------------------------------------------*/

/*------------------------------- Brand section  -----------------------------------------------*/
.top-brands-section {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
}

.top-brands-section h2 {
  font-size: 32px;
  font-weight: bold;
  color: black;
  margin-bottom: 10px;
}

.top-brands-section p {
  font-size: 16px;
  color: #555;
  margin-bottom: 40px;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

/* Brand card */
.brand-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px 10px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
}

.brand-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.brand-card img {
  max-height: 40px;
  max-width: 100%;
  object-fit: contain;
}

/*------------------------------- Brand section  -----------------------------------------------*/


.loader {
  border: 5px solid #f3f3f3;
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
    border-top: 5px solid var(--inj-primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
  
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
