/* Change footer background and text color */
.md-footer {
  background-color: #7FDAD2; /* Change to your desired color */
  color: #161615;           /* Footer text color */
}


/* Optional: Style links in the footer */
.md-footer a {
  color: #161615;  /* Accent color for footer links */
}

/* header color */
:root  > * {
  --md-primary-fg-color:        #0bd4c7;
  --md-primary-fg-color--light: #7FDAD2;
  --md-primary-fg-color--dark:  #7FDAD2;
}

:root > * {
  --md-code-hl-string-color: #e219ad;
}

/* Header text and tabs-text color */
.md-header {
  font-family: "Poppins";
  color: black;
}

.md-tabs {
  font-family: "Poppins";
  color: black;
}

/*Code colors */

:root > * {
  --md-code-hl-string-color: #b8b327;
}

.highlight .sb {
  color: #92a12e;
}

/* annotation tooltip width*/

:root {
  --md-tooltip-width: 400px;
}

/* content area widht */

.md-grid {
  max-width: 1440px; 
}

/* space b/w grids */

.md-typeset .grid {
  gap: 2.0rem !important; /* Default is often 1.5rem (24px) */
}

.tanla-footer {
  background-color: #f5f5f5;
  padding: 40px 0;
  margin-top: 40px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-links-wrapper {
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-link-small {
    color: var(--md-default-fg-color--light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link-small:hover {
    color: var(--md-default-fg-color);
}

.footer-section {
  flex: 1;
  min-width: 200px;
  margin: 0 20px;
}

.footer-section h4 {
  color: #333;
  margin-bottom: 20px;
  font-size: 18px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
  display: inline-block;
  position: relative;
}

.footer-section ul li a:hover {
  color: #000;
  text-decoration: none;
}

.footer-section ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #000;
  transition: width 0.3s ease;
}

.footer-section ul li a:hover::after {
  width: 100%;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
}

.footer-bottom p {
  color: #666;
  margin: 0;
}

.social-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 10px;
  padding: 10px 0;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  position: relative;
}

.social-link img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.social-link:hover {
  transform: translateY(-2px);
  opacity: 0.8;
}

.social-link:active {
  transform: translateY(0);
}

.footer-links-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: left;
  gap: 20px;
  margin-top: 40px;
  font-size: 14px;
  color: #666;
}

.footer-link-small {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;
  padding: 5px 10px;
}

.footer-link-small:hover {
  color: #000;
}

/*making whole grid as a click*/
/*
a.card-link center {
  width: fit-content;
  display: block;
  margin: 0 auto;
}

a.card-link .card-title {
  font-size: 1.5em;
}

a.card-link {
  color: initial;
  text-decoration: none;
}

/* Icon styles */
.grid.cards .octicon {
  color: #dc3545;
  font-size: 1.2em;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.5em;
}

.grid.cards .octicon:hover {
  color: #dc3545;
}

/* Font Awesome icons */
.grid.cards .fa-solid,
.grid.cards .fa-regular {
  color: #dc3545;
  font-size: 1.2em;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.5em;
}

.grid.cards .fa-solid:hover,
.grid.cards .fa-regular:hover {
  color: #dc3545;
}

/* Material icons */
.grid.cards .material-icons,
.grid.cards .material-icons-outlined {
  color: #dc3545;
  font-size: 1.2em;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.5em;
}

.grid.cards .material-icons:hover,
.grid.cards .material-icons-outlined:hover {
  color: #dc3545;
}

/* Simple icons */
.grid.cards .simple-icons {
  color: #dc3545;
  font-size: 1.2em;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.5em;
}

.grid.cards .simple-icons:hover {
  color: #dc3545;
}

/* Hover effect for all icons */
.grid.cards .octicon,
.grid.cards .fa-solid,
.grid.cards .fa-regular,
.grid.cards .material-icons,
.grid.cards .material-icons-outlined,
.grid.cards .simple-icons {
  transition: color 0.3s ease;
  display: inline-block;
}