body {
  font-family: 'Mukta', sans-serif;
  font-size: 18px;
  background: url('../img/bg.jpg') repeat !important;
  background-size: 300px !important;
  background-attachment: scroll;
  background-position: top left;
  background-color: transparent !important;
  color: #333;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.logo-img {
  max-height: 80px;
  width: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

header {
  padding: 8px 0 !important;
}

.social-top-bar {
  background-color: #f7f3e9;
  border-bottom: 1px solid #ddd;
}

.social-icon {
  color: #997553;
  font-size: 1.2rem;
  margin-left: 15px;
  transition: color 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  color: #c0a97a;
}

.social-top-bar {
  background-color: #fdf6e3;
  border-bottom: 1px solid #ddd;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
}

.khadi-circle {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #f7f3e9;
  border: 2px solid #997553;
  color: #997553;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.khadi-circle {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #f7f3e9;
  border: 1.5px solid #997553;
  color: #997553;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  margin-right: 1px; /* reduced from default spacing */
  margin-left: 1px;
}

.khadi-circle:last-child {
  margin-right: 0;
}

.khadi-circle:hover {
  background-color: #fffacd;
  color: #000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.khadi-circle[title]:hover::after {
  content: attr(title);
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #997553;
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 100;
}


.site-title {
  font-size: 1.8rem;
  color: #997753;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 0;
}

.text-brown {
  color: #997753;
}

.text-brown-light {
  color: #c0a97a;
}

.custom-navbar {
  background-color: #997553;
}

.custom-navbar .navbar-nav .nav-item:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.5) !important;
  margin-right: 10px !important;
  padding-right: 10px !important;
}

.custom-navbar .nav-link {
  color: #fff !important;
  transition: color 0.3s ease;
}

.custom-navbar .nav-link:hover {
  color: #fffacd !important; /* Light yellow */
}

.section-icon {
  font-size: 2rem;
  color: #997553;
}

.section-block {
  background-color: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid #ddd;
  border-left: 4px solid #997553;
  padding: 15px;
  border-radius: 8px;
  transition: 0.3s ease-in-out;
}

.section-block:hover {
  background: #fef4da;
  transform: translateY(-3px);
}

.section-icon-wrapper {
  text-align: center;
  padding: 10px;
}

.rounded-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #fdf6e3;
  border: 2px solid #997553;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.rounded-icon i {
  font-size: 2rem;
  color: #997553;
}

.section-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #997753;
  margin-top: 10px;
  transition: color 0.3s;
}

.section-link {
  text-decoration: none;
  transition: transform 0.3s ease-in-out;
  display: block;
}

.section-link:hover {
  transform: translateY(-5px);
}

.section-link:hover .rounded-icon {
  background-color: #fffacd;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.section-link:hover .section-title {
  color: #c0a97a;
}

.carousel {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.carousel-inner img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0;
}

.carousel-item img {
  object-fit: cover;
  height: 60vh; /* adjust as needed */
}

.carousel-caption {
  backdrop-filter: blur(6px);
  background-color: rgba(153, 119, 83, 0.65); /* Khadi theme */
  border-radius: 10px;
  padding: 20px;
  padding: 15px;
  animation: fadeSlideUp 1s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

.carousel-item.active .carousel-caption {
  animation-name: fadeSlideUp;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}

@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.carousel,
.carousel-inner,
.carousel-item,
.carousel-item img {
  width: 100%;
  height: auto;
  max-height: 100vh;
  overflow: hidden;
}

/* Ensure background shows through */
.container,
.main,
.wrapper,
.content,
section {
  background-color: transparent !important;
}

/* Optional overlay for enhanced readability */
.overlay-content {
  background-color: rgba(255, 255, 255, 0.85);
  padding: 20px;
  border-radius: 10px;
}

.breadcrumb-wrapper {
  width: 100%;
  background-color: #fdf6e3;
  padding: 10px 15px;
  box-sizing: border-box;
}

.breadcrumb {
  max-width: 1140px;  /* or your container width */
  margin: 0 auto;
  padding: 0;
  background: transparent;
  color: #997553;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  font-weight: 500;
  font-size: 1.2rem;
  justify-content: center; /* Center horizontally */
}

.breadcrumb li + li::before {
  content: "›";
  padding: 0 8px;
  color: #997553;
}

.breadcrumb a {
  color: #997553;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #c0a97a;
  text-decoration: underline;
}

.custom-index-list {
  list-style-type: decimal;
  padding-left: 1.5rem;
  margin: 0;
  font-size: 1.25rem;
}

.custom-index-list li {
  margin: 0.7rem 0;
}

.custom-index-list li a {
  color: #997553;
  text-decoration: none;
  display: block;
  padding: 10px 15px;
  background-color: transparent;
}

.custom-index-list li a:hover {
  background-color: #fffacd; /* Light yellow */
  color: #997753;

}

.overlay-content {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(153, 117, 83, 0.2);
}

.text-brown-light a {
  color: #c0a97a;
  text-decoration: none;
}

.text-brown-light a:hover {
  color: #997553;
  text-decoration: underline;
}

.btn-outline-secondary {
  border-color: #997553;
  color: #997553;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-outline-secondary:hover {
  background-color: #997553;
  color: #fff;
}

.bg-khadi {
  background-color: #fdf6e3; /* same light khadi background */
}

.custom-sidebar-olist {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
  counter-reset: section-counter;
  font-size: 1.2rem;
  font-weight: 500;
}

.custom-sidebar-olist li {
  counter-increment: section-counter;
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  text-align: left;
}

.custom-sidebar-olist li::before {
  content: counter(section-counter) ".";
  flex: 0 0 1em; /* fixed width for numbers */
  font-weight: 600;
  color: #997753;
}

.custom-sidebar-olist li a {
  flex: 1;
  color: #997753;
  text-decoration: none;
  padding-left: 0.5em;
  display: inline-block;
}

.custom-sidebar-olist li a:hover {
  background-color: #fffacd;
  color: #997753;
  text-decoration: none;
}
.overlay-content {
  font-size: 1.25rem; /* Slightly larger than default */
  line-height: 1.5;  /* Improves readability */
  text-align: justify;
}
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 45px;
  height: 45px;
  font-size: 1.2rem;
  background-color: #997553;
  color: white;
  border: none;
  outline: none;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  display: none;
  cursor: pointer;
  transition: background-color 0.3s;
  text-align: center;
  line-height: 45px; /* vertically centers the icon */
  padding: 0; /* remove default padding */
}

#scrollTopBtn:hover {
  background-color: #c0a97a;
}

.styled-quote-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.styled-quote-list li {
  margin-bottom: 20px;
  padding: 12px 18px;
  background-color: rgba(255, 255, 255, 0.95);
  border-left: 4px solid #997553;
  border-radius: 6px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}

.quote-line {
  font-size: 1.2rem;
  margin: 0;
  color: #333;
  line-height: 1.6;
}

.quote-mark {
  font-size: 1.6rem;
  color: #c0a97a;
  margin-right: 8px;
  vertical-align: top;
}

.quote-source {
  margin-top: 6px;
  color: #997553;
  font-size: 0.95rem;
  font-weight: 500;
}

.title-bar {
  background-color: #997553;
  background-image: url('../img/khadi-texture.png'); /* Adjust path as needed */
  background-repeat: repeat;
  background-size: contain;
  padding: 30px 0;
  text-align: center;
}


.title-bar .page-title {
  color: #fffacd; /* Light yellow */
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.title-bar .page-subtitle {
  color: #ffffff;
  font-size: 1.35rem;
  margin-bottom: 0;
}

.khadi-highlight {
  background-color: #997553;
  color: #fffacd;
}

.copyBtn {
  font-size: 0.85rem;
  padding: 5px 10px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.copyBtn:active {
  background-color: #fffacd;
  color: #997553;
}

.quote-day-wrapper {
  background-color: #c0a97a !important;  /* e.g. a lighter khadi tone */
  color: #fffacd;
  padding: 25px;
  border-radius: 10px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  line-height: 1.25rem;
}

.quote-day-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ffffff;
  background-color: #c0a97a;
  display: inline-block;
  padding: 8px 16px;
  border-radius: 50px;
}

.quote-day-content .quote-line {
  font-style: italic;
  font-size: 1.2rem;
  color: #fffacd;
}

.quote-day-content .quote-source {
  margin-top: 10px;
  color: #ffffff;
  font-size: 1rem;
}

.styled-quote-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.styled-quote-list li {
  margin-bottom: 20px;
  padding: 15px 20px;
  background-color: rgba(255, 255, 255, 0.95);
  border-left: 4px solid #997553;
  border-radius: 6px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}

.quote-line {
  font-size: 1.2rem;
  margin: 0;
  color: #333;
  line-height: 1.6;
}

.quote-mark {
  font-size: 1.6rem;
  color: #c0a97a;
  margin-right: 8px;
  vertical-align: top;
}

.quote-source {
  margin-top: 6px;
  color: #997553;
  font-size: 0.95rem;
  font-weight: 500;
}