/* ====== theme color variable ======== */

:root {

  /* --primary-color: #972dc6; */
  --primary-color: #245bcd;
  /* --secondary-color: #245bcd; */
  --light-color: #f2f4f7;
  --dark-color: #444444;
  --text-color: #7c8087;
  --white-color: #ffffff;
  --black-color: #11161d;
  --border-color: #e1e4e8;

}

/* ====== theme color variable ======== */


* {
  padding: 0;
  margin: 0;
}

body {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  color: var(--black-color);
  background: var(--light-color);
  overflow-x: hidden;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.5;
  color: #222222;
}

ul {
  padding-left: 0;
  list-style: none;
}

a {
  text-decoration: none;
}

a:hover {
  color: var(--primary-color);
}

/* Title */
.second-title {
  font-size: 24px;
  text-transform: capitalize;
  padding-bottom: 20px;
  color: #245bcd;
  font-weight: 700;
}

/* Buttons */
.gradient-btn {
  background: linear-gradient(93.58deg, #7F58FE 0%, #8b74d3 100%);
}

/* Navbar */
.navbar-tabs {
  padding: 8px;
  width: 100%;
  z-index: 10;
  top: 0;
  position: sticky;
  gap: 16px;
  border-radius: 100px;
}

.navbar-tabs .nav-item {
  width: 100%;
}

.navbar-tabs .nav-item .nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--black-color);
  padding: 10px 16px;
  transition: all 0.3s linear;
  border-radius: 100px;
  line-height: 1.5;
  width: 100%;
  text-align: center;
}

.navbar-tabs .nav-item .nav-link:hover,
.navbar-tabs .nav-item .nav-link.active {
  color: var(--primary-color);
  background-color: color-mix(in srgb, var(--primary-color) 10%, transparent);
}

.search-bar {
  max-width: 400px;
  width: 100%;
}

.search-bar input {
  padding-left: 45px;
}

@media(max-width: 768px) {
  .navbar-tabs {
    border-radius: 10px;
    gap: 8px;
  }
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
}

.overlay.show {
  display: block;
}

.menu-bar {
  border: 1px solid var(--border-color);
  background: none;
  cursor: pointer;
  color: var(--black-color);
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.sidebar-toggle {
  padding: 10px 16px;
  border: 0;
  background-color: var(--primary-color);
  color: var(--white-color);
  line-height: 1;
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: hover 0.3s ease;
}

.sidebar-toggle:hover {
  background-color: var(--black-color);
}

.navbar>.container,
.navbar>.container-fluid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  /* justify-content: flex-start; */
  gap: 18px;
}

@media only screen and (max-width: 991px) {

  .navbar>.container,
  .navbar>.container-fluid {
    gap: 10px;
  }
}

.navbar-brand {
  display: inline-block;
  font-size: 1.25rem;
  padding: 20px 0 0 20px;
}

.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.nav-logo img {
  max-width: 100%;
  max-height: 42px;
}

/* Sidebar */
.left-menu {
  position: fixed;
  left: 0;
  /* top: 62px; */
  top: 0;
  background-color: var(--white-color);
  width: 270px;
  height: 100vh;
  /* overflow-y: auto; */
  transition: all 0.4s linear;
  /* padding-bottom: 30px; */
  z-index: 1000;
}

.left-menu .left-menu-body {
  width: 100%;
  height: calc(100vh - 100px);
  overflow-y: auto;
}

.left-menu .nav-logo {
  padding: 20px;
  display: inline-block;
  width: 100%;
}

.left-menu ul {
  list-style: none;
}

.left-menu ul li>a {
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 30px 10px 14px;
  color: var(--black-color);
  border-left: 4px solid transparent;
  transition: all 0.3s linear;
}

.left-menu ul li:hover>a,
.left-menu ul li.active>a {
  color: var(--primary-color);
  background-color: color-mix(in srgb, var(--primary-color) 10%, var(--white-color));
  border-left-color: var(--primary-color);
}

.left-menu .left-menu-title h6 a {
  font-size: 16px;
  color: var(--primary-color);
  padding: 24px 20px 8px 20px;
  font-weight: 700;
  display: block;
  text-decoration: none;
}

/* Main Content */
.main-content-area {
  padding-left: 270px;
  /* padding-top: 60px; */
}

.main-content {
  padding: 30px;
}

.first-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--black-color);
}

.main-content p {
  font-size: 18px;
  line-height: 28px;
  color: var(--text-color);
  font-weight: 400;
}

.main-content .second-title {
  font-size: 24px;
  color: var(--primary-color);
  font-weight: 700;
  padding-bottom: 20px;
  padding-top: 40px;
}

.main-content a {
  color: var(--primary-color);
}

.main-content code {
  background-color: #eee;
  padding: 0 5px;
}

.main-content ul li {
    font-size: 18px;
    line-height: 36px;
    color: var(--text-color);
    font-weight: 400;
    /* margin-bottom: 16px; */
    /* line-height: 1.2; */
}

.main-content img {
  max-width: 100%;
  border-radius: 8px;
}

/* Intro block */
.intro1 {
  margin-top: 22px;
  margin-bottom: 22px;
  padding: 30px 15px;
  background-color: var(--white-color);
  border-radius: 10px;
  box-shadow: 0 0.2rem 0.25rem rgba(0, 0, 0, 0.075);
  overflow: hidden;
}

.intro1 ul li{
  margin-bottom: 16px;
  line-height: 1.4;
}

/* =======================
   Responsive YouTube Videos
======================== */
.video-area {
  position: relative;
  width: 100%;
  margin: 20px auto;
  max-width: 900px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* .video-area::before {
  content: "";
  display: block;
  padding-top: 56.25%;
} */

.video-area iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}

/* Larger screen */
@media (min-width: 1200px) {
  .video-area {
    max-width: 1000px;
  }
}

/* Tablet */
@media (max-width: 992px) {
  .video-area {
    max-width: 700px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .video-area {
    max-width: 100%;
    margin: 10px 0;
  }

  .video-area::before {
    padding-top: 62%;
  }
}

.video-area p {
  font-weight: 600;
  color: #005981;
  margin-bottom: 8px;
  margin-top: 15px;
}

/* Responsive Layout */
@media (max-width: 991.98px) {
  .main-content-area {
    padding-left: 0;
  }

  .left-menu {
    transform: translateX(-105%);
  }

  .left-menu.active {
    transform: translateX(0);
  }
}

.content-wrapper ul img.img-trumbnail {
  border: 1px solid #ddd;
}

/* Misc spacing utilities */
.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-40 {
  margin-bottom: 40px;
}

.mt-40 {
  margin-top: 40px;
}

.mt-70 {
  margin-top: 70px;
}

.pb-40 {
  padding-bottom: 40px;
}

.pt-40 {
  padding-top: 40px;
}

/* Utility */
.section-box {
  background-color: rgb(255 255 255 / 44%);
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 0.2rem 0.25rem rgba(0, 0, 0, 0.075);
  padding: 30px;
}

.header-img {
  width: 100px;
  position: absolute;
  right: 0;
  top: 0;
  border-top-right-radius: 10px;
}

.hrm-footer-img {
  width: 100px;
  position: absolute;
  left: 0;
  bottom: 0;
  transform: rotate(180deg);
  border-top-right-radius: 10px;
}

blockquote {
  background: #f9f9f9;
  border-left: 10px solid #ccc;
  margin: 1.5em 10px;
  padding: 0.5em 10px;
}

blockquote p {
  display: inline;
}

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