/*
Theme Name: Savanna
Theme URI: 
Author: Mr. Savanna
Description: Just a theme for wordpress
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: savanna
*/

:root {
  --background-main: #1e2026;
  --background-header: #4b5267;
  --background-footer: #4b5267;
  --color-text: #ffffff;
  --color-btn-login: black;
  --color-btn-signup: #10b981;
  --color-text-muted: rgba(255, 255, 255, 0.5);
  --color-main-button: #dc2626;

  --spacing-unit: 0.25rem;

  --header-padding: calc(var(--spacing-unit) * 4);

  --footer-padding: calc(var(--spacing-unit) * 6);
  --footer-margin-top: calc(var(--spacing-unit) * 8);
}

.container {
  width: 100%;
  max-width: 75rem; /* 75 × 16px = 1200px */
  margin-inline: auto;
  padding-inline: 1rem;
}

.body {
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  min-height: 100svh;
  overflow-x: hidden;
  font-family: Poppins, Arial, sans-serif;
}

/*---header starts---*/
body.admin-bar .header { top: 32px; }
.header {
  position: sticky;
  color: var(--color-text);
  padding-block: var(--header-padding);
  margin-bottom: calc(var(--spacing-unit) * 8);
  top: 0;
  z-index: 999;
  transition: transform .25s ease, box-shadow .25s ease;
}

.header._shown{
    box-shadow: 0 6px 16px rgba(0,0,0,.22);
    opacity: 0.94;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.header__logo {
  display: block;
  line-height: 0;
}
.header__logo-img {
  max-width: 9rem;
  height: auto;
}

.header__nav,
.header__auth {
  display: none;
}

.header__menu {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__menu-link {
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}

#language-select {
  outline: 0;
  border: none;
}

.header__auth {
  display: none;
  align-items: center;
  gap: 1rem;
}

.header__auth-btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 0.125rem;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s;
}

.header__mobile {
  display: block;
}

.header__burger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 2rem;
  height: 2rem;
}

.header__mobile-menu {
  position: absolute;
  left: 0;
  right: 0;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.5rem);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}

.header__mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header__mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.header__mobile-menu-link {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.125rem;
  transition: opacity 0.2s;
}
.header__mobile-menu-link:hover {
  opacity: 0.8;
}

.header__mobile-auth {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.hidden {
  display: none !important;
}
/*---header ends---*/

/*---main starts---*/
.main {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}
.main__header {
  text-align: center;
  margin-bottom: var(--spacing-unit);
}

.main__title {
  font-size: 3.2rem;
  margin: 0;
}

.main__hero {
  position: relative;
  min-height: 420px;
  margin: 2rem 0;
  border-radius: 0.5rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.main__hero-picture {
  display: block;
}

.main__hero-img {
  border-radius: 0.5rem;
  display: block;

  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main__hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0.3)
  );
  z-index: 0;
  border-radius: 0.5rem;
}

.main__cta {
  display: block;
  padding: 1rem 1.2rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.375rem;
  transition: opacity 0.2s;
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0;
  box-shadow: 0px 0px 31px -6px rgba(0, 0, 0, 0.21);
}

.main__content {
  margin: 2rem 0;
}

.main__content p {
  line-height: 1.6;
  margin: 0;
}

.main__content-text img {
  max-width: 100%;
  height: auto;
}

.main__content img {
    max-width: 100%;
    height: auto;
    display: block;
}

.main__content .alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1em;
    max-width: 100%;
}

.main__content .alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1em;
    max-width: 100%;
}

.main__content .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1em;
    max-width: 100%;
}

.main__table-header {
  text-align: center;
  margin: 3rem 0 1.5rem;
}

.main__content h2 {
  font-size: 2.6rem;
  text-align: center;
  margin: 3rem 0 1.5rem;
}

.main__content h3:not(.faq-question-title) {
  font-size: 2rem;
  margin: 3rem 0 1.5rem;
}

.main__content h4 {
  font-size: 1.4rem;
  margin: 3rem 0 1.5rem;
}

.table-responsive-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1rem 0;
}

.main__content table {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.9375rem;
  min-width: 100%;
  color: oklch(0.278 0.033 256.848);
}

/*radius*/
.main__content table tr:first-child td:first-child {
  border-top-left-radius: 0.5rem;
}
.main__content table tr:first-child td:last-child {
  border-top-right-radius: 0.5rem;
}
.main__content table tr:last-child td:first-child {
  border-bottom-left-radius: 0.5rem;
}
.main__content table tr:last-child td:last-child {
  border-bottom-right-radius: 0.5rem;
}


.main__content table td {
  padding: 0.75rem 1rem;
}

.main__content table tr:nth-child(odd) {
  background-color: oklch(0.967 0.003 264.542);
}

.main__content table tr:nth-child(even) {
  background-color: var(--color-text);
}

.main__content table td:first-child {
  font-weight: 600;
  width: 40%;
}


/*---main ends---*/

/*---footer starts---*/
.footer {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  padding-block: var(--footer-padding);
  margin-top: var(--footer-margin-top);
}
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-bottom: calc(var(--spacing-unit) * 6);
}

.footer__logo {
  max-width: calc(var(--spacing-unit) * 48);
  height: auto;
}

.footer__socials {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: calc(var(--spacing-unit) * 8);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  transition: opacity 0.2s;
}
.footer__social-link:hover {
  opacity: 0.8;
}

.footer__social-icon {
  display: block;
  width: 1rem;
  height: 1rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.footer__nav-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-items: center;
  gap: 2rem;
  width: 100%;
  max-width: 32rem;
}

.footer__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__menu-link {
  text-decoration: none;
  font-size: 0.875rem;
  transition: opacity 0.2s;
}

.footer__copyright {
  text-align: center;
  font-size: 0.875rem;
}

/*---footer ends---*/

@media (width >= 48rem) {
  .header__nav,
  .header__auth {
    display: flex;
  }

  .header__mobile {
    display: none;
  }
  .main__content table td {
    font-size: 1rem;
  }

  .footer__top {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    justify-items: start;
    gap: 3rem;
  }

  .footer__brand {
    justify-self: start;
    text-align: left;
  }

  .footer__nav-grid {
    justify-self: end;
    max-width: none;
    gap: 2.5rem;
  }
}

@media (width >= 64rem) {
  /* 1024px+ */
  .container {
    padding-inline: 1.5rem; /* 24px */
  }
}

@media (width >= 75rem) {
  /* 1200px+ */
  .container {
    padding-inline: 2rem; /* 32px */
  }
}

@media (width >= 90rem) {
  /* 1440px+ */
  .container {
    padding-inline: clamp(2rem, 4vw, 3rem); 
  }
}
