@font-face {
  font-family: 'poppins-bold';
  src: url(../fonts/Poppins-Bold.ttf) format('woff2');
}

@font-face {
  font-family: 'poppins-regular';
  src: url(../fonts/Poppins-Regular.ttf) format('woff2');
}

@font-face {
  font-family: 'poppins-semiBold';
  src: url(../fonts/Poppins-SemiBold.ttf) format('woff2');
}

:root {
  --regular: 'poppins-regular', 'sans-serif';
  --semiBold: 'poppins-semiBold', 'sans-serif';
  --bold: 'poppins-bold', 'sans-serif';
  --main-color: #0e82fd;
  --orange-color: #e04f16;
  --heading-color: #012047;
  --purple-color: #3538cd;
  --green-color: #04bd6c;
  --pink-color: #dd2590;
  --bg1: #ffffff;
  --bg2: #e5f1fe;
  --text-color1: #2e3842;
  --heading: #012047;
  --transition: all 0.4s linear;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none !important;
  transition: all 0.3s;
}

::selection {
  background: var(--main-color);
  color: #fff;
}
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--main-color);
  border-radius: 3px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--regular);
}

body.active {
  --bg1: #0d0d0d;
  --bg2: #1b1b1b;
  --text-color1: #fafcff;
  --heading: #fff;
}

/* Global Class */
.container {
  width: 85%;
  margin: auto;
}

.sec-title {
  text-align: center;
  padding: 0px 10px;
}

.sec-title p {
  background: var(--main-color);
  position: relative;
  padding: 5px 50px;
  border-radius: 15px;
  color: #fff;
  width: max-content;
  margin: 0px auto 15px;
  text-transform: capitalize;
}

.sec-title p:hover {
  animation: shock 0.2s linear 4 alternate;
}

@keyframes shock {
  0% {
    transform: rotate(10deg);
  }

  50% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(-10deg);
  }
}

.sec-title p::after,
.sec-title p::before {
  position: absolute;
  content: '';
  width: 10px;
  height: 10px;
  background-color: var(--bg2);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.sec-title p::after {
  right: 15px;
}

.sec-title p::before {
  left: 15px;
}

.sec-title h2 {
  font-family: var(--semiBold);
  font-size: 40px;
  color: var(--heading);
}

@media (max-width: 576px) {
  .sec-title h2 {
    font-size: 30px;
  }
}
/* ======================  Start Header   =======================*/
header {
  background: var(--bg1);
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  z-index: 99;
}

.landing {
  padding-top: 50px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-content a.logo img {
  max-width: 180px;
}

header nav ul li {
  padding: 20px 0px;
}

.header-content nav a.active {
  color: var(--main-color);
}

.header-content nav a {
  color: var(--text-color1);
}

.header-content nav li:hover a {
  color: var(--main-color);
}

header .nav-icons > div {
  width: 30px;
  height: 30px;
  background: var(--heading);
  display: grid;
  place-items: center;
  border-radius: 50%;
  cursor: pointer;
}

header .nav-icons > div i {
  color: var(--bg1);
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  display: block;
  border-radius: 50%;
  line-height: 30px;
  overflow: hidden;
}

header .nav-icons > div i::after {
  content: '';
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  height: 35px;
  width: 35px;
  border-radius: 50%;
  transition: var(--transition);
  background: var(--main-color);
  z-index: -1;
}

header .nav-icons > div i:hover::after {
  bottom: 0px;
}

header .nav-icons > div:hover i {
  color: #fff;
}

body.active header .nav-icons > div:hover i {
  color: #222;
}

/* palette menu color */
.palette {
  position: relative;
}
.palette-menu {
  position: absolute;
  top: 50px;
  width: 150px;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  background: var(--bg2);
  backdrop-filter: blur(5px);
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
  transform: scaleY(0);
  opacity: 0;
  transform-origin: top center;
}

.palette-menu span {
  width: 30px;
  height: 30px;
  border-radius: 3px;
  cursor: pointer;
  opacity: 0.4;
}

.palette-menu span.active {
  opacity: 1;
  outline: 2px solid var(--main-color);
  outline-offset: 2px;
}

.palette-menu.active,
.user-menu.active {
  transform: scaleY(1);
  opacity: 1;
}

/* Start User menu */
.user {
  position: relative;
}
.user-menu {
  position: absolute;
  padding: 10px;
  background: var(--bg1);
  top: 48px;
  transform: scaleY(0);
  opacity: 0;
  transform-origin: top center;
  padding: 10px 20px;
  width: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.user-menu a,
.user-menu button {
  display: block;
  width: 100%;
  text-align: center;
  color: var(--text-color1);
  background: var(--bg2);
  padding: 10px 0px;
  color: var(--main-color);
  font-weight: 500;
  font-size: 17px;
}

.user-menu button {
  border: 0px;
  outline: 0px;
}
/* user Name  */

.header-content .user-icon {
  display: none;
}

.user-icon span {
  color: #fff;
  font-size: 17px;
  font-weight: 700;
}

body.active .user-icon span {
  color: var(--main-color);
}

/* Mobile menu */
header .nav-icons .bars {
  display: none;
}

@media (max-width: 768px) {
  header {
    padding-block: 20px;
  }
  header nav ul {
    position: fixed;
    right: 0px;
    top: 72px;
    background: var(--bg2);
    width: 250px;
    padding: 20px;
    flex-direction: column;
    transform: scaleY(0);
    opacity: 0;
    transform-origin: top center;
    gap: 5px;
  }

  header nav ul.active {
    transform: scaleY(1);
    opacity: 1;
  }

  header nav ul li {
    padding: 0;
  }

  header nav ul li a {
    display: block;
    background-color: var(--bg1);
    color: var(--main-color);
    text-align: center;
    padding: 10px;
  }

  header nav ul li a:hover {
    letter-spacing: 1px;
  }

  header .nav-icons .bars {
    display: block;
  }

  .landing {
    padding-top: 100px;
  }
}

@media (max-width: 576px) {
  .landing {
    padding-top: 20px;
  }

  .header-content a.logo img {
    max-width: 100px;
  }
}
/* =====================   End Header     ======================*/

/* ====================   Start Landing   ====================== */
.landing {
  background: var(--bg2);
  min-height: 100vh;
}

.landing-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  min-height: 100vh;
  align-items: center;
}

.landing-content .left h1 {
  color: var(--heading);
  font-family: var(--semiBold);
  font-size: 40px;
}

.landing-content .left h1 span {
  color: var(--main-color);
}

.landing-content .left p {
  color: var(--text-color1);
}

.landing-content .left button {
  margin-top: 20px;
  padding: 8px 30px;
  border: 2px solid var(--text-color1);
  background: transparent;
  color: var(--main-color);
  font-size: 18px;
  font-weight: 500;
  border-radius: 5px;
  cursor: pointer;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.landing-content .left button::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 100%;
  border-radius: 50%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--main-color);
  z-index: -1;
  top: 100%;
  transition: top 0.3s, width 0.3s 1s, border-radius 0.3s 1s;
  opacity: 0;
}

.landing-content .left button:hover::after {
  top: 0px;
  width: 100%;
  border-radius: 0px;
  opacity: 1;
}

.landing-content .left button:hover {
  color: var(--bg1);
  transition-delay: 1s;
}

.landing-content .right {
  text-align: center;
}

.landing-content .right img {
  max-width: 90%;
}

@media (max-width: 576px) {
  .landing {
    padding-top: 70px;
  }

  .landing-content .left h1 {
    font-size: 30px;
  }
}
/* ====================   End Landing   ====================== */

/* ==================   Start specialist     ======================*/
.specialist {
  background: var(--bg1);
}

.specialist .slick-slide {
  margin: 30px 10px 0px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--main-color);
}

.specialist .card-img {
  position: relative;
  overflow: hidden;
}

.specialist .card-img::after,
.specialist .card-img::before {
  content: '';
  position: absolute;
  height: 100%;
  width: 0px;
  background: rgba(255, 255, 255, 0.2);
  top: 0px;
  transition: all 0.3s, opacity 1s 0.3s;
  opacity: 1;
}

.specialist .card-img::after {
  right: -20px;
  border-top-left-radius: 50%;
  border-bottom-left-radius: 50%;
}

.specialist .card-img::before {
  left: -20px;
  border-top-right-radius: 50%;
  border-bottom-right-radius: 50%;
}

.specialist .card-img:hover::after,
.specialist .card-img:hover::before {
  width: 100%;
  border-radius: 0px;
  opacity: 0;
}

.specialist .card-img:hover::after {
  right: 0;
}

.specialist .card-img:hover::before {
  left: 0;
}

.specialist .card-img:hover img {
  transform: scale(1.1);
}

.specialist .card-img .rating {
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.specialist .card-img .rating .badge {
  background: var(--orange-color);
}

.specialist .card-img img {
  width: 100%;
}

.specialist .card-img .heart {
  width: 30px;
  height: 30px;
  background: var(--main-color);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.specialist .card-desc > div {
  margin-block: 15px;
}

.specialist-card .card-desc > div span:nth-child(1) {
  display: inline-block;
  padding-left: 15px;
}

.specialist-card .card-desc div span:nth-child(1) {
  color: var(--orange-color);
  border-left: 2px solid var(--orange-color);
}

.specialist .card-desc:nth-child(even) > div span:nth-child(2) {
  color: var(--green-color);
  background: #04bd6d0e;
  text-align: center;
  padding: 2px 12px;
  display: inline-block;
  border-radius: 5px;
}

.specialist-card h3 {
  color: var(--main-color);
  padding-left: 10px;
}

.specialist-card .book {
  padding-inline: 10px;
}

.specialist-card .book p {
  color: var(--text-color1);
}

.specialist-card .book div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.specialist-card .book div span {
  font-size: 20px;
  color: var(--orange-color);
}

.specialist-card .book button {
  border: 0px;
  outline: 0px;
  padding: 5px 10px;
  font-size: 17px;
  color: var(--bg2);
  text-transform: capitalize;
  background: var(--text-color1);
  border-radius: 3px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

body.active .specialist-card .book button:hover {
  color: #fff;
}

.specialist-card .book button::after,
.specialist-card .book button::before {
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  z-index: -1;
  top: 0px;
  transition: var(--transition);
}

.specialist-card .book button::after {
  left: -230px;
  background: var(--orange-color);
}
.specialist-card .book button::before {
  background: var(--green-color);
  left: -120px;
}

.specialist-card .book button:hover::before {
  left: 110px;
}

.specialist-card .book button:hover::after {
  left: 0px;
}
/* ==================   End specialist     ======================*/
/* ==================   Start  Services     ======================*/
.services {
  background: var(--bg2);
}

.service-content {
  background: var(--bg1);
  box-shadow: 0px 0px 5px var(--bg1);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.service-content::after {
  position: absolute;
  content: '';
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--pink-color);
  box-shadow: 2px 2px 30px var(--pink-color);
  right: -35px;
  top: 10px;
  z-index: -2;
}

.service-content::before {
  position: absolute;
  inset: 0;
  content: '';
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  z-index: -1;
}

.service-content h3 {
  font-size: 22px;
  font-family: var(--semiBold);
  color: var(--main-color);
}

.service-content p {
  color: var(--text-color1);
}
/* ==================   End Services     ======================*/
/* ==================   Start Testimonials     ======================*/
.testmonials {
  background: var(--bg1);
}

.test-card {
  background: var(--bg2);
}

.testmonials .slick-slide {
  margin: 0px 10px;
}

@media (max-width: 576px) {
  .testmonials .slick-slide {
    margin: 0px;
  }
}

.testmonials .stars i {
  color: gold;
}

.testmonials .rate > i {
  font-size: 30px;
  color: var(--orange-color);
}

.test-card span {
  color: var(--main-color);
  font-size: 17px;
}

.test-card > p {
  color: var(--text-color1);
  font-size: 15px;
  margin-block: 20px;
}

.testmonials .profile img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.testmonials .profile h4 {
  color: var(--main-color);
  font-size: 17px;
  margin-bottom: 0;
}

.testmonials .profile p {
  color: var(--text-color1);
}

.testmonials .slide-btn {
  border: 0;
  outline: 0;
  padding: 5px 10px;
  margin: 10px 10px 0px;
  border-radius: 3px;
  background: var(--pink-color);
  color: #fff;
}

.testmonials .slide-btn:active {
  transform: scale(0.9);
  background: var(--heading-color);
}
/* ==================   End Testimonials     ======================*/
/* ==================   Start Footer     ======================*/
footer {
  padding: 15px 2%;
  text-align: center;
  background: var(--bg2);
  font-family: var(--semiBold);
  font-size: 17px;
  color: var(--text-color1);
}

footer span {
  color: var(--main-color);
}
/* ==================   End Footer     ======================*/

form {
  min-width: 800px;
  background: var(--bg2);
  padding: 20px 40px;
}

.register-btn,
.register-btn:hover {
  background: var(--main-color);
  color: #fff;
}

.login-error {
  margin: 10px 0px;
  color: red;
}

.login-error.success {
  color: green;
}
