:root {
  /* background */
  --bg_clr_white: 0 0% 100%; /* #ffffff */
  --bg_clr_primary: 330 3% 12%; /* #201e1f */

  --bg_clr_primary_dark: 0 0% 7%; /* #111111 */

  --bg_clr_primary_blue: 215 78% 62%; /* #5393EA */

  --bg_clr_secondary: 0 0% 22%; /* #383838 */

  --bg_clr_inout: 0 0% 95%; /* #F2F2F2 */

  /* text */
  --text_white: 0 0% 100%; /* #ffffff */
  --text_black: 0 0% 0%; /* #000000 */

  --text_black_02: 0 0% 5%; /* #0E0E0E */

  --text_title: 330 3% 12%; /* #201E1F */
  --para_text: 210 15% 29%; /* #3E4954 */
  --text_clr_primary: 215 78% 62%; /* #5393EA */

  --text_danger: 26 40% 50%; /* #B2794D */
  --text_correct: 133 100% 31%; /* #009E23 */

  --para_text2: 0 0% 24%; /* #3C3C3C */

  --footer_title: 0 0% 22%; /* #383838 */

  --input_placeholder: 0 0% 23%; /* #3A3A3A */

  /* border */
  --border_clr: 215 94% 94%; /* #DFECFE */

  /* font-weight */
  --font_weight_light: 300;
  --font_weight_regular: 400;
  --font_weight_medium: 500;
  --font_weight_semiBold: 600;
  --font_weight_bold: 700;
}

*,
*::after,
*::before {
  box-sizing: border-box;
}

/* Body */
html,
body {
  /* height: 100%; */
  margin: 0;
  padding: 0;
}
body {
  background: #f1f4f8;
}
:is(html, body) {
  width: 100%;
  scroll-behavior: smooth;
}

:is(button, input, select, option) {
  border-color: transparent;
  outline-color: transparent;
}
button:focus-visible {
  outline: none;
}
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

:is(h1, h2, h3, h4, h5, h6, p, a, th, td) {
  color: var(--clr_text_primary);
  margin: 0;
}

ul,
li {
  padding: 0;
  margin: 0;
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  color: hsl(var(--text_clr_primary));
  text-decoration: none;
}
button {
  outline: none !important;
  box-shadow: none !important;
}

/* width */
::-webkit-scrollbar {
  width: 4px;
  height: 4px;
  border-radius: 8px;
}

/* Track */
::-webkit-scrollbar-track {
  background: hsl(var(--bg_clr_white));
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: hsla(0, 0%, 51%, 0.464);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: hsla(0, 0%, 42%, 0.568);
}

/* font */
.manrope {
  font-family: "Manrope", serif;
}
.inter {
  font-family: "Inter", serif;
}
/* font */

/* max-width */
.max-w-500 {
  max-width: 500px !important;
}
/* width */

input {
  width: 100%;
  padding: 8px 20px;
  border-radius: 10px;
  border: none;
  outline: none;
  box-shadow: none;
  color: hsl(var(--input_placeholder));
  font-size: 14px;
  background: hsl(var(--bg_clr_white));
  min-height: 50px;
  box-shadow: 0px 3.66px 3.66px 0px #708aa70f;
  border: 0.91px solid #cbd4cd;
}

.input2,
select {
  width: 100%;
  padding: 8px 20px;
  border-radius: 10px;
  border: none;
  outline: none;
  box-shadow: none;
  color: hsl(var(--input_placeholder));
  font-size: 14px;
  background: hsl(var(--bg_clr_white));
  min-height: 50px;
  box-shadow: 0px 3.66px 3.66px 0px #708aa70f;
  border: 0.91px solid #cbd4cd;
}
.select {
  position: relative;
}
.select select {
  padding-inline-end: 40px;
  position: relative;
}

.select i {
  position: absolute;
  right: 20px;
  bottom: 14px;
  color: hsl(var(--input_placeholder));
  cursor: pointer;
  font-size: 20px;
  z-index: 1;
}

.phone_number,
.front_icon,
.both_side,
.change_side {
  position: relative;
}

.ph_code {
  position: absolute;
  left: 0px;
  bottom: 10px;
  font-size: 14px;
  color: hsl(var(--input_placeholder));
  padding-inline: 20px;
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #d0dbec;
}

.right_icon {
  position: absolute;
  left: 0px;
  bottom: 10px;
  padding-inline-start: 15px;
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.left_icon {
  position: absolute;
  right: 0px;
  bottom: 10px;
  padding-inline-end: 15px;
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  cursor: pointer;
  font-weight: var(--font_weight_semiBold);
}

.change_side input {
  padding-inline-end: 90px;
}

.phone_number input {
  padding-inline-start: 90px;
}

.front_icon input {
  padding-inline-start: 44px;
}

.both_side input {
  padding-inline: 44px;
}

input::placeholder {
  color: hsl(var(--input_placeholder));
}

.input_2 {
  position: relative;
}
.input_2 input {
  padding-inline-end: 40px;
}
.input_2 i {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: hsl(var(--input_placeholder));
  cursor: pointer;
  font-size: 20px;
}
.input_label {
  font-size: 14px;
  margin-block-end: 8px;
  font-weight: var(--font_weight_semiBold);
  color: var(--para_text);
}
.input_label span {
  font-weight: var(--font_weight_regular);
}

/* solid_btn */
.solid_btn {
  width: 100%;
  border-radius: 40px;
  min-height: 50px;
  font-weight: var(--font_weight_bold);
  font-size: 16px;
  background: hsl(var(--bg_clr_primary));
  color: hsl(var(--text_white));
  transition: cubic-bezier(0.075, 0.82, 0.165, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.solid_btn:hover {
  background: hsl(var(--bg_clr_primary_dark));
}

.solid_btn_white {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  border-radius: 40px;
  min-height: 50px;
  font-weight: var(--font_weight_semiBold);
  font-size: 18px;
  background: hsl(var(--bg_clr_white));
  padding: 6px 40px;
  color: hsl(var(--text_black));
  transition: cubic-bezier(0.075, 0.82, 0.165, 1);
}
.solid_btn_white:hover {
  background: hsl(var(--bg_clr_primary));
  color: hsl(var(--text_white));
}

.solid_btn_black {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  border-radius: 40px;
  min-height: 50px;
  font-weight: var(--font_weight_semiBold);
  font-size: 18px;
  background: hsl(var(--bg_clr_primary));
  padding: 6px 40px;
  color: hsl(var(--text_white));
  transition: cubic-bezier(0.075, 0.82, 0.165, 1);
}
.solid_btn_black:hover {
  background: hsl(var(--bg_clr_primary_dark));
  color: hsl(var(--text_white));
}

.outline_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  border-radius: 10px;
  min-height: 42px;
  font-weight: var(--font_weight_semiBold);
  font-size: 16px;
  background: transparent;
  border: 1px solid #cfd5dd;
  padding: 6px 18px;
  color: #737a87;
  transition: cubic-bezier(0.075, 0.82, 0.165, 1);
}

.outline_btn i {
  font-size: 18px;
}

.outline_btn:hover {
  background: #5393ea;
  color: hsl(var(--text_white));
}

.outline_btn_blue {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  border-radius: 10px;
  min-height: 42px;
  font-weight: var(--font_weight_semiBold);
  font-size: 16px;
  background: #5393ea;
  padding: 6px 18px;
  color: #fff;
  transition: cubic-bezier(0.075, 0.82, 0.165, 1);
}

.outline_btn_blue i {
  font-size: 18px;
}

.outline_btn_blue:hover {
  background: hsl(var(--bg_clr_primary_dark));
  color: hsl(var(--text_white));
  border: 1px solid hsl(var(--bg_clr_white));
}

.outline_btn_black {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  border-radius: 40px;
  min-height: 50px;
  font-weight: var(--font_weight_semiBold);
  font-size: 18px;
  background: transparent;
  border: 1px solid hsl(var(--text_title));
  padding: 6px 26px;
  color: hsl(var(--text_title));
  transition: cubic-bezier(0.075, 0.82, 0.165, 1);
}

.outline_btn_black:hover {
  background: hsl(var(--bg_clr_primary_dark));
  color: hsl(var(--text_white));
  border: 1px solid hsl(var(--bg_clr_white));
}

.outline_btn_danger {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  border-radius: 40px;
  min-height: 50px;
  font-weight: var(--font_weight_semiBold);
  font-size: 18px;
  background: transparent;
  border: 1px solid #de7373;
  padding: 6px 26px;
  color: #ce5555;
  transition: cubic-bezier(0.075, 0.82, 0.165, 1);
}

.outline_btn_danger:hover {
  background: #ce5555;
  color: hsl(var(--text_white));
  border: 1px solid #ce5555;
}

/* solid_btn */

.myContainer {
  max-width: min(100% - 35px, 1228px);
  margin: 0 auto;
}

/* typo */
.h1 {
  font-size: clamp(30px, 5vw, 65px);
  line-height: 1.2;
}
.h2 {
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.2;
}
/* typo */

/* header */
.header .navbar {
  padding-block: 28px;
}
.navbar_inner {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.menu {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 30px;
}
.menu_item {
  background: none;
  padding-block: 10px;
  font-weight: var(--font_weight_semiBold);
}
.menu_item.active {
  border-bottom: 1px solid #5393ea;
}

.profile_dropdown {
  background: #e6e9f4;
  padding: 6px 12px 6px 6px;
  border-radius: 40px;
}
.profile_dropdown .dropdown-toggle {
  background: none;
  padding: 0;
  margin: 0;
  gap: 12px;
  display: flex;
  align-items: center;
}
.profile_dropdown .profile_image {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0px 4px 4px 0px #7499ce24;
}

.navbar-toggler {
  border: none;
  position: relative;
  background-color: transparent;
  box-shadow: none !important;
  outline: none !important;
  min-height: 40px;
  pointer-events: none;
  opacity: 0;
}

.navbar-toggler-icon {
  display: block;
  width: 30px;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
  transition: all 0.3s;
}

/* When toggled */
.navbar-toggler .navbar-toggler-icon {
  transform: rotate(0deg);
}

.navbar-toggler .navbar-toggler-icon:before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  width: 30px;
  height: 3px;
  background-color: #333;
  /* transform: rotate(45deg); */
  transition: all 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.navbar-toggler .navbar-toggler-icon:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 30px;
  height: 3px;
  background-color: #333;
  transition: all 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
  /* transform: rotate(-45deg); */
}

/* Ensure toggler icon animates only when the navbar is not collapsed */
.navbar-toggler:not(.collapsed) .navbar-toggler-icon {
  background-color: transparent;
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon:before {
  top: 0px;
  transform: rotate(45deg);
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon:after {
  bottom: 0px;
  transform: rotate(-45deg);
}

@media (max-width: 1023px) {
  .navbar-toggler {
    display: block;
    pointer-events: all;
    opacity: 1;
  }
  .menu {
    display: none;
  }
  .navbar-collapse {
    position: fixed;
    top: 0;
    left: -400px;
    width: 320px;
    background: hsl(var(--bg_clr_white));
    height: 100svh;
    transition: all 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
  }
  .navbar-collapse.show {
    left: 0;
    z-index: 1111;
    padding: 20px;
  }
  .navbar-collapse .menu {
    display: block;
    flex-direction: column;
    flex-wrap: wrap;
  }
  .navbar-collapse .menu .menu_item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: start;
    padding-inline: 0;
  }
}
/* header */

/* footer_sec */
.footer_sec {
  width: 100%;
  background: hsl(var(--bg_clr_primary));
}
.foot_inner {
  width: 100%;
  text-align: center;
  color: hsl(var(--text_white));
  padding-block: 14px;
  font-size: 14px;
}
/* footer_sec */
