/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  --main-color: #23373a;
  --secondary-color: #eb811a;
  --gray-color: #d9d9d9;
  --main-font: "Montserrat", sans-serif;
}
body {
  font-family: "Open Sans", sans-serif;
  color: #444444;
}

a {
  color: var(--secondary-color);
  text-decoration: none;
}

a:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--main-font);
}

#main {
  margin-top: 70px;
  z-index: 3;
  position: relative;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: var(--secondary-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: var(--main-color);
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable AOS delay on mobile
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  height: 70px;
  z-index: 997;
  transition: all 0.5s ease-in-out;
  background: var(--main-color);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

#header .logo h1 {
  font-size: 28px;
  margin: 0;
  line-height: 0;
  font-weight: 600;
  letter-spacing: 1px;
}

#header .logo h1 a,
#header .logo h1 a:hover {
  color: #3c4133;
  text-decoration: none;
}

#header .logo img {
  padding: 0;
  margin: 0;
  max-height: 40px;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-family: "Raleway", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  transition: 0.3s;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
  color: var(--secondary-color);
}

.navbar .getstarted,
.navbar .getstarted:focus {
  background: var(--secondary-color);
  padding: 8px 25px;
  margin-left: 30px;
  border-radius: 50px;
  color: #fff;
}

.navbar .getstarted:hover,
.navbar .getstarted:focus:hover {
  color: #fff;
  background: var(--secondary-color);
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
  color: #fff;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(34, 36, 29, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #3c4133;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover > a {
  color: #94c045;
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover > a {
  color: #94c045;
}

.navbar-mobile .dropdown > .dropdown-active {
  display: block;
}
/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/

.hero {
  background-image: url("/assets/img/hero-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 60px;
  height: 70vh;
}

.hero .row {
  justify-content: space-between;
}

.hero h2 {
  color: #000;
  font-size: 42px;
  font-weight: 700;
}

.hero p {
  font-family: var(--main-font);
}

.hero .btn {
  margin-top: 1rem;
  padding-left: 0px;
}

.hero .btn a {
  background-color: var(--main-color);
  font-size: 18px;
  color: #fff;
  padding: 0.5rem 2rem;
}
.hero .img {
  display: flex;
  justify-content: end;
}

@media (min-width: 1300px) {
  .hero {
    height: 50vh;
  }
}

@media (max-width: 560px) {
  .hero {
    height: 90vh;
  }
  .hero h2 {
    font-size: 28px;
  }
  .hero .img {
    margin-top: 2rem;
  }
}
/*--------------------------------------------------------------
# Client
--------------------------------------------------------------*/
.client {
  background-color: #000;
  margin-top: 3rem;
  padding: 2rem 0rem;
}

@media (max-width: 560px) {
  .client img {
    padding: 3rem;
  }
}
/*--------------------------------------------------------------
# Courses
--------------------------------------------------------------*/
.courses {
  padding: 60px 0px;
}
.courses h2 {
  font-weight: 700;
  color: #000;
}
.courses .card {
  border: none;
  border-radius: 0px;
}

.courses .card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 1rem;
}
.courses .card a {
  font-size: 20px;
  background-color: var(--main-color);
  color: #fff;
  padding: 0.5rem;
  transition: 0.5s all;
}
.courses .card a:hover {
  background-color: var(--secondary-color);
}

.courses .read-all {
  margin-top: 1rem;
  color: #000;
  font-weight: 600;
  text-decoration: underline 1px dotted;
  transition: 0.3s all;
}
.courses .read-all:hover {
  color: var(--secondary-color);
}

.courses .body {
  padding: 2rem;
}

.courses .body a {
  padding: 0.5rem 3rem;
}
.pagination {
  display: flex;
  justify-content: center;
}
.pagination ul {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 1rem;
}
.pagination ul a {
  color: var(--main-color);
  font-weight: 500;
  transition: 0.6s all;
}
.pagination ul a:hover,
.pagination ul .active {
  background-color: var(--main-color);
  padding: 0px 6px;
  color: #fff;
}
.dark {
  background-color: var(--gray-color);
}
.search-bar form {
  display: flex;
}
.search-bar form input {
  width: 80%;
  border: 1px solid var(--main-color);
  border-radius: 0px;
  padding: 0.5rem;
  transition: 0.4s all;
  outline: none;
}

.search-bar form input:focus {
  border: 1px solid var(--secondary-color);
}
.search-bar form button {
  width: 20%;
  background-color: var(--main-color);
  border-radius: 0px;
  border: none;
  color: #fff;
  transition: 0.4s all;
}
.search-bar form button:hover {
  background-color: var(--secondary-color);
}

.search-bar form button:hover input {
  border-color: var(--secondary-color);
}
/*--------------------------------------------------------------
# Courses
--------------------------------------------------------------*/

.details {
  padding: 60px 0px;
}

.details h2 {
  font-weight: 700;
  font-size: 42px;
}
.details a {
  background-color: var(--main-color);
  color: #fff;
  padding: 0.5rem 2rem;
}

@media (max-width: 560px) {
  .details img {
    padding: 1rem 0rem;
  }
}
/*--------------------------------------------------------------
# inner hero
--------------------------------------------------------------*/
.inner-hero {
  background-image: url("/assets/img/hero-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 60px;
  height: 30vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.inner-hero h2 {
  font-weight: 700;
  font-size: 42px;
}
/*--------------------------------------------------------------
# CTA
--------------------------------------------------------------*/
.cta {
  background: linear-gradient(to bottom, #fff 50%, var(--gray-color) 50%);
  padding: 3rem 0rem;
}
.cta .cta-container {
  background-color: var(--main-color);
  padding: 3rem;
  border-radius: 24px;
}

.cta h2 {
  font-family: var(--main-font);
  font-weight: 700;
  font-size: 42px;
  color: #fff;
}
.cta .btn {
  margin-top: 2rem;
}
.cta .btn a {
  background-color: #fff;
  color: var(--main-color);
  padding: 1rem 4rem;
  transition: all 0.4s;
}
.cta .btn a:hover {
  background-color: var(--secondary-color);
  color: #fff;
}
@media (max-width: 560px) {
  .cta h2 {
    font-size: 24px;
  }
}
/*--------------------------------------------------------------
# contact
--------------------------------------------------------------*/

.contact {
  padding: 60px 0px;
}

.contact input {
  width: 100%;
  padding: 0.5rem;
  margin-top: 1rem;
  border-radius: 0px;
  border: var(--main-color) 1px solid;
  outline: none;
}

.contact input:focus {
  border: var(--secondary-color) 1px solid;
}

.contact textarea {
  width: 100%;
  padding: 0.5rem;
  margin-top: 1rem;
  border-radius: 0px;
  border: var(--main-color) 1px solid;
  outline: none;
}

.contact button {
  padding: 0.5rem 2rem;
  border: none;
  background-color: var(--main-color);
  color: #fff;
  transition: 0.3s all;
}

.contact button:hover {
  background-color: var(--secondary-color);
}

/*--------------------------------------------------------------
# Blog
--------------------------------------------------------------*/
.blog h1,
.blog h2,
.blog h3 {
  font-weight: 700;
  color: #000;
  margin-top: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.blog h4,
.blog h5,
.blog h6 {
  font-weight: 600;
  margin-top: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.blog h1 {
  font-size: 32px;
}

.blog h2 {
  font-size: 28px;
}

.blog h3 {
  font-size: 26px;
}

.blog h4 {
  font-size: 22px;
}

.blog h5 {
  font-size: 18px;
}
.blog h6 {
  font-size: 16px;
}
.blog p {
  color: rgb(90, 90, 90);
  line-height: 160%;
  letter-spacing: 0.5px;
}

.blog img {
  max-width: 100%;
}

.table-content .card {
  padding: 1rem;
  background-color: #ececec;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: none;
  position: -webkit-sticky !important; /* For Safari */
  position: sticky !important;
  top: 100px;
  z-index: 1000;
}
.blog .table-content .card ul {
  list-style: none;
  padding: 0px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog .table-content .card ul a {
  color: #000;
  font-weight: 600;
}
.blog .table-content .card ul li ul {
  margin-top: 1rem;
  padding-left: 1rem;
  gap: 0.5rem;
}
.blog .table-content .card ul li ul a {
  font-size: 16px;
  color: #444;
  font-weight: 400 !important;
}
.pagination {
  margin-top: 2rem;
}
.pagination a {
  padding: 3px 9px;
  font-size: 16px;
  border: none;
  color: var(--main-color);
  font-weight: 600;
}
.page-item:first-child .page-link {
  border-radius: 0px;
}
.page-item:last-child .page-link {
  border-radius: 0px;
}
.pagination .active a {
  background-color: var(--main-color);
  font-weight: 600;
  border: none;
  border-radius: 0px;
}
/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: var(--gray-color);
  padding: 0 0 30px 0;
  color: #000;
  font-size: 14px;
}

#footer .copyright {
  text-align: center;
  padding-top: 30px;
  padding-bottom: 40px;
}
