body {
    font-family: Arial, Helvetica, sans-serif;
}

.custom-banner {
    margin-top: 86px;
    background-color: #ffffff;
    padding: 0;
}

.custom-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.quiz-card {
    border-radius: 25px;
    padding: 30px 20px 60px;
    position: relative;
    color: #fff;
    height: 100%;
}

.quiz-card h5 {
    font-weight: 700;
    font-size: 1.8rem;
    color: #fff;
}

.quiz-card p {
    font-size: 1rem;
    color: #f8f9fa;
}

.quiz-card small {
    display: block;
    margin: 10px 0;
    color: #f8f9fa;
}

.quiz-btn {
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 500;
    transition: 0.3s;
}

.quiz-btn:hover {
    background-color: #fff;
    color: #000;
}

.quiz-img {
    position: absolute;
    bottom: 10px;
    right: 10px;
    max-width: 145px;
    height: auto;
    transform: translate(38px, 33px);
}

/* Card Background Colors */
.bg-card-1 {
    background-color: #d9dc6b;
    color: #000;
}

.bg-card-1 .quiz-btn {
    border-color: #4A4C34;
    color: #4A4C34;
}

.bg-card-1 .quiz-btn:hover {
    background-color: white;
    border-color: white;
    color: #000;
}

.bg-card-2 {
    background-color: #9b4d4d;
}

.bg-card-3 {
    background-color: #702d2d;
}

@media (max-width: 767px) {
    .quiz-card {
        margin-bottom: 20px;
    }

    .quiz-img {
        max-width: 115px;
        transform: translate(0, 0);
    }
    .custom-banner{
        margin-top: 22%;
        
    }
}

.highlight-text {
    background-color: #fff2a8;
    padding: 7px 5px;
    border-radius: 5px;
}

.intro-btn {
    background-color: #b75e68;
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 8px 20px;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.intro-btn:hover {
    background-color: #a14f58;
}

.balloon-img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .text-column {
        text-align: center;
    }

    .highlight-text {
        display: inline-block;
    }
}

.owl-carousel .item {
    background: #fefef5;
    border-radius: 16px;
    padding: 16px;
    margin: 10px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.owl-carousel .item img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 12px;
}

.owl-carousel .item h3 {
    font-size: 18px;
    margin: 0 0 8px;
    color: #000;
}

.owl-carousel .item p {
    font-size: 14px;
    color: #333;
}

.meta {
    font-size: 12px;
    color: #777;
    margin-top: 8px;
}

.tags span {
    display: inline-block;
    background: #eee;
    padding: 4px 8px;
    margin-right: 5px;
    margin-bottom: 5px;
    border-radius: 6px;
    font-size: 10px;
    color: #555;
}

.owl-nav {
    position: absolute;
    right: 0;
    top: -50px;
}

.owl-nav button {
    background: #fff;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    border: 1px solid #ccc;
    margin-left: 10px;
    color: #4b1c39;
}

.owl-dots {
    text-align: center;
    margin-top: 10px;
}

.owl-dot span {
    background: #ccc;
}

.owl-dot.active span {
    background: #4b1c39;
}

.owl-carousel-wrapper {
    position: relative;
    max-width: 1400px;
    margin: auto;
    padding-top: 40px;
}

.cst-bg {
    background-image: url('Union.png');
    /* Replace with your actual image path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 112px 0;
}

.category-tabs-section {
    background-color: #f8edef;
}

.nav-pills .nav-link {
    background-color: #f1f1f1;
    color: #333;
    font-weight: 500;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
        border: transparent;
}

.nav-pills .nav-link.active {
    background-color: #802f3e;
    /* maroon */
    color: white;
        border: transparent;
}

.btn-maroon {
    background-color: #802f3e;
    color: white;
    font-weight: 600;
}

.btn-maroon:hover {
    background-color: #6a2733;
}

.nav-pills .nav-item {
    font-size: 12px;
}

.nav-pills::-webkit-scrollbar {
    height: 6px;
}

.nav-pills::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

/* Hide scrollbar but allow scroll */
.category-tabs-section .nav-pills {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    overflow-x: auto;
  }
  .category-tabs-section .nav-pills::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }


  .tag {
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 12px;
    margin-right: 4px;
    margin-bottom: 4px;
    display: inline-block;
}

.tag-separation { background-color: #d8eacc; }
.tag-mental { background-color: #fff3b0; }
.tag-anxiety { background-color: #cbd5ff; }
.tag-love { background-color: #fddde6; }
.tag-relationship { background-color: #dcfce7; }
.tag-romance { background-color: #f3d0ff; }

.category-button {
    background-color: #8c3c47;
    color: white;
    border-radius: 25px;
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-weight: 500;
    border: none;
}

.category-button:hover {
    background-color: #a14450;
}

.read-more {
    color: #8c3c47;
    font-weight: 500;
    text-decoration: none;
}

.blog-card {
    border-radius: 15px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.blog-img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
}


@media (max-width: 768px) {
   .blog-img {
    width: 100%;
}
}

 /* Set a max-width for the section */
    .subscribe-section {
        max-width: 1080px;
        margin: 0 auto;
            background: #f8edef;
    padding: 25px 0 25px 0;
    border-radius: 35px;
    }

    /* Add some padding for smaller screens */
    .subscribe-title, .subscribe-text {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Ensure responsiveness */
    .subscribe-img {
        width: 100%;
        max-width: 200px;
    }

    .subscribe-input {
        width: 100%;
    }

    @media (max-width: 768px) {
        .subscribe-section {
            padding-left: 20px;
            padding-right: 20px;
        }

        .subscribe-title, .subscribe-text {
            text-align: center;
        }
    }
    
    /*category style*/
    
    
.category-section {
  background: url('image 26.png') no-repeat center;
  background-size: contain;
  text-align: center;
  padding: 60px 20px;
}

.category-header .subheading {
  display: inline-block;
  background: #fceaa2;
  color: #222;
  padding: 4px 12px;
  font-weight: 600;
  font-size: 13px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.category-header h2 {
  font-size: 32px;
  font-weight: bold;
  color: #432c3f;
  margin-bottom: 40px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: auto;
}

.category-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  text-decoration: none;
  color: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 14px;
  border: 1px solid #e79cae;
}

.category-card:hover {
  border: 1px solid #e79cae;
  box-shadow: 0 6px 15px rgba(231, 156, 174, 0.2);
  background: #fff0f5;
  cursor: pointer;
}