/* Section container */
.section-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
    text-align: center;
}

/* Heading */
.section-heading {
    font-size: 2em;
    margin-bottom: 30px;
    display: inline-block;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 8px;
}

/* Responsive grid layout for list */
.styled-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px 20px; /* Adjust gap for spacing */
    padding: 0;
    list-style: none;
    position: relative;
}

/* List item block */
.styled-list li {
    flex: 1 1 250px;
    max-width: 300px;
    background: var(--yellow-highlight);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
}

.styled-list li:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 50%;
    right: -10px;
    width: 10px; /* Line length */
    height: 2px; /* Line thickness */
    background-color: var(--dark);
    transform: translateY(-50%);
    z-index: -1; /* Behind the arrow */
}

/* Arrowhead second (above) */
.styled-list li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -20px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 10px solid var(--dark); /* Right-pointing arrow */
    transform: translateY(-50%);
    z-index: 2; /* Above the line */
}

/* Hover effect for list item */
.styled-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px var(--primary);
}

/* Make entire block clickable */
.styled-list a {
    display: block;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    font-weight: 500;
}

.shloka-container {
  max-width: 810px;
  margin: 0 auto;
  padding: 20px;
  line-height: 1.6;
}

.shloka-header h2, .shloka-header h3 {
  text-align: center;
  margin-bottom: 10px;
}

.shloka-sanskrit {
  font-size: 1.7em;
  text-align: center;
  margin: 20px 0;
  font-weight: bold;
}

.shloka-section {
  margin-top: 30px;
}

.shloka-section h4 {
  margin-bottom: 10px;
  color: #555;
  border-bottom: 1px solid #ccc;
  padding-bottom: 5px;
}

.btn-capitalize {
  text-transform: capitalize;
}

.btn-no-border {
  border: none;
  outline: none; /* Remove outline if needed */
}

