/* Basic Reset & Typography */
body {
  padding: 0;
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #fdfdfd;
  color: #000000;
  line-height: 1.6;
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
}


* {
  box-sizing: border-box;
  margin: 0;
}

body {
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 24px;
  background-color: #ffffff;
}

@media (max-width: 600px) {
  .container {
    padding: 20px 16px;
  }
}


@media (max-width: 600px) {
  .container {
    padding: 20px 16px; 
  }
}


.container h1 {
  text-align: center;
  margin-bottom: 20px;
}

.container p {
  margin-bottom: 8px;
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #000;
}

.numerlogy-container ul , .numerlogy-container ol {
  font-size: 16px;
  padding-left: 2rem;
  margin-bottom: 10px;
}
.note {
  margin-bottom: 10px;

}
.numerlogy-container ul li {
  list-style: disc;
}
.numerlogy-container ol li {
  list-style: disc;
}

@media (min-width: 1200px) {
  .h3, h3 {
      font-size: 1.5rem;
  }
}
/* Grid for cards */
.numerology-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* Link wraps full card */
.card-link {
  text-decoration: none;
  color: inherit;
  width: calc(33.333% - 14px);
  display: block;
}

@media (max-width: 768px) {
  .card-link {
    width: 100% !important;
  }
}

/* Card style */
.card {
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

/* Card layout */
.card-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Card text */
.card-text {
  flex: 1;
}

.card-text h2 {
  font-size: 1.05rem;
  color: #e4002b;
  font-weight: 600;
  margin: 0 0 6px;
}

.card-text p {
  font-size: 16px;
  color: #000000; /* Ensure full black */
  font-weight: 400; 
  margin: 0 0 8px;
  line-height: 1.6; /* Improved line spacing */
}

.card-text .know-more {
  font-size: 0.9rem;
  color: #e4002b;
  text-decoration: underline;
  font-weight: 500;
}

/* Image style */
.card img {
  width: 50px;
  height: auto;
  object-fit: contain;
  margin-left: 10px;
}

.faq-container {
  max-width: 1200px;
  margin: 30px auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.faq-container h2 {
  font-size: 28px;
  color: #4b0000;
  font-weight: bold;
  margin-bottom: 20px;
}

.faq-item {
  background-color: #e6e6e6;
  border-radius: 20px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.faq-item.active {
  border-color: #000;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 600;
  padding: 16px 20px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: #2b0000;
}

.faq-question .icon {
  font-size: 22px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question .icon {
  transform: rotate(2deg); /* + becomes - */
}

/* Answer box style */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

.faq-item.active .faq-answer {
  padding: 16px 20px;
  margin-top: 10px;
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 17px;
  max-height: 400px;
}

.faq-answer p {
  font-size: 16px;
  color: #000;
  margin: 0;
  line-height: 1.6;
}
/* Responsive */
@media (max-width: 768px) {
  .card-link {
    width: 100%;
  }
}
