/* Import & Global Reset */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:  "Open Sans", sans-serif;
  transition: background 0.3s, color 0.3s;
}

:root {
    --mahirut-color: #68C082;
    --mahirut-color-rgb:rgb(104, 192, 130);
    /* Orginal */
    /* --mahirut-color: #61be7d; */
    --dark-text-secondary: #B3B3B3;
    --dark-text-primary: #d6d6dbd4;
}



/* Theme Variables */
body[data-theme="light"] {
    --heading-color: #172030;
    --paragraph-color: #333;
    --paragraph-color-grey: #666;
    /* --body-bg: #f2f3f4; */
    --body-bg: linear-gradient(43deg, #e8f5e924 0, #f0f0f1 30%, #f0f0f1 65%, #e8f5e924 100%);;
    --text-primary: #333;
    --text-seconday: #172030;
    color: var(--text-primary);
}

body[data-theme="dark"] {
    --heading-color: var(--mahirut-color);
    --paragraph-color: #f2f3f4;
    --paragraph-color-grey: #d6d6dbd4;
    --body-bg: #172030;
    --dark-card: #182132;
    --text-primary: #B3B3B3;
    --text-seconday: #d6d6dbd4;
    --dark-background:#161c2c;
    
    background-color: var(--body-bg);
    color: var(--text-primary);
}

/* Basic Components */
.bg-light, .bg-dark {
  background-color: var(--body-bg) !important;
}

.mahirut-logo {
  background-color: white;
  border-radius: 10px;
  margin: 5px;
  padding: 10px;
}

.ts-heading,
.ts-heading-secondary,.mt-heading {
  color: var(--heading-color);
  font-weight: 600;
}

.ts-paragraph {
  color: var(--paragraph-color-grey);
  line-height: 26px;
}

/* Navbar & Dropdowns */
.navbar-nav .nav-link,
.dropdown-menu .dropdown-item,
.list-group-item {
  color: var(--text-primary);
  border: none;
  padding: 5px;
}

.nav-item {
  padding: 0 10px;
}

.nav-item a {
  text-decoration: none;
}

.navbar-brand {
  font-size: 40px;
  font-weight: 700;
  color: var(--heading-color);
}

.dropdown-menu, .list-group-item {
  background-color: rgba(26, 26, 26, 0.13) !important;
  backdrop-filter: blur(15px) !important;
  border-bottom: 1px solid #ffffff2e !important;
}


/* Theme Toggle Switch */
.theme-toggle-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toggle-switch {
  position: relative;
  width: 52px;
  height: 26px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #468a74;
  transition: 0.4s;
  border-radius: 26px;
  transform: rotate(180deg);
}

.slider::before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  top: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

.toggle-switch input:checked + .slider::before {
  transform: translateX(26px);
}

.bi-theme {
  font-size: 16px;
}


/* Responsive Views */
@media (max-width: 767px) {
  #desktop {
    display: none;
  }
  #mobile-view {
    display: block;
  }
}

@media (min-width: 768px) {
  #desktop {
    display: block;
  }
  #mobile-view {
    display: none;
  }
}

/* List Group & Dropdown Items Hover Effects */
#remove-bg, .dropdown-item {
  background-color: transparent !important;
  backdrop-filter: none !important;
  padding: 10px 0px;
  border-radius: 0px;
}

#list-heading {
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 22px;
}

.list-group {
  padding: 5px 15px 5px 0px;
}

.list-group-item:hover, .dropdown-item:hover {
  color: var(--heading-color);
  font-size: 17.5px;
  font-weight: 500;
  transition: 0.2s;
  padding-right: 30px;
}

.list-group-item:hover::after, .dropdown-item:hover::after {
  content: ' \f061';
  font-family: 'Font Awesome 5 Free';
  font-weight: 600;
  font-size: 14px;
  color: #61be7d;
}

body[data-theme="light"] #list-heading, .list-group-item, #remove-bg, .dropdown-item {
  color: white !important;
}

body[data-theme="dark"] .solution-content .text .title,
body[data-theme="dark"] .solution-content h6 {
  color: var(--mahirut-color);
}


body[data-theme="dark"] .button-tab .main-tab:hover{
  color: var(--paragraph-color) !important;
}




/* Buttons & Footer */
.btn-mahirut {
  margin-top: -5px;
  background: var(--mahirut-color);
  color: #ffffff !important;
  border-radius: 10px;
  padding: 10px 36px !important;
  width: fit-content;
  border: 1px solid var(--mahirut-color);
}

.btn-mahirut:hover {
  background: #ffffff;
  color: var(--mahirut-color) !important;
  border-radius: 10px;
  width: fit-content;
  padding: 10px 35px !important;
  text-decoration: none;
  border: 1px solid var(--mahirut-color);
}


#footer-social-icons {
  color: var(--paragraph-color);
  text-decoration: none;
}

