/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: 'Nunito', sans-serif;
  color: #212529;
}

*::selection {
  background: #ef7f4d;
  color: #fff;
}

html {
  scroll-behavior: smooth;
}

a {
  color: #eb5d1e;
  text-decoration: none;
}

a:hover {
  color: #ef7f4d;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Nunito', sans-serif;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
  transition: all 0.6s ease-out;
  width: 100%;
  height: 100vh;
}

#preloader:before,
#preloader:after {
  content: '';
  position: absolute;
  border: 4px solid #eb5d1e;
  border-radius: 50%;
  -webkit-animation: animate-preloader 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
  animation: animate-preloader 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

#preloader:after {
  -webkit-animation-delay: -0.5s;
  animation-delay: -0.5s;
}

@-webkit-keyframes animate-preloader {
  0% {
    width: 10px;
    height: 10px;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
    opacity: 1;
  }
  100% {
    width: 72px;
    height: 72px;
    top: calc(50% - 36px);
    left: calc(50% - 36px);
    opacity: 0;
  }
}

@keyframes animate-preloader {
  0% {
    width: 10px;
    height: 10px;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
    opacity: 1;
  }
  100% {
    width: 72px;
    height: 72px;
    top: calc(50% - 36px);
    left: calc(50% - 36px);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  background: #fff;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.5s;
  z-index: 997;
  position: relative;
  height: 70px;
}

@media (max-width: 992px) {
  #header {
    height: 60px;
  }
}

#header.fixed-top,
#header.header-inner-pages {
  background: #fff;
}

#header.fixed-top {
  position: fixed;
}

#header .logo {
  font-size: 20px;
  margin: 0;
  padding: 0;
  line-height: 1;
}

#header .logo img {
  max-height: 40px;
}

.scrolled-offset {
  margin-top: 70px;
}

@media (max-width: 991px) {
  .scrolled-offset {
    margin-top: 60px;
  }
}

/*--------------------------------------------------------------
  # Header Social Links
  --------------------------------------------------------------*/

.header-social-links a {
  color: #464646;
  margin-left: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.header-social-links a i {
  line-height: 0;
}

.header-social-links a:hover {
  color: #eb5d1e;
}

@media (max-width: 768px) {
  .header-social-links {
    padding: 0 15px 0 0;
  }
}

/*--------------------------------------------------------------
  # 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 > ul > li {
  white-space: nowrap;
  padding: 10px 12px;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: 0.3s;
  color: #4e4039;
  position: relative;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar > ul > li > a:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -7px;
  left: 0;
  background-color: #eb5d1e;
  visibility: hidden;
  width: 0px;
  transition: all 0.3s ease-in-out 0s;
}

.navbar a:hover:before,
.navbar li:hover > a:before,
.navbar .active:before {
  visibility: visible;
  width: 100%;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
  color: #eb5d1e;
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 12px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 14px;
  text-transform: none;
  font-weight: 500;
  color: #032e54;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover > a {
  color: #eb5d1e;
}

.navbar .dropdown:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }
  .navbar .dropdown .dropdown:hover > ul {
    left: -100%;
  }
}

/**
  * Mobile Navigation 
  */
.mobile-nav-toggle {
  color: #eb5d1e;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

@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(78, 64, 57, 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;
  border-radius: 10px;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 15px 20px;
  font-size: 18px;
  color: #7a6960;
}

.navbar-mobile > ul > li {
  padding: 0;
  display: flex;
  justify-content: center;
  text-align: center;
  font-size: 20px;
}

.navbar-mobile a:hover:before,
.navbar-mobile li:hover > a:before,
.navbar-mobile .active:before {
  visibility: hidden;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover > a {
  color: #eb5d1e;
}

.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: #eb5d1e;
}

.navbar-mobile .dropdown > .dropdown-active {
  display: block;
}

/*--------------------------------------------------------------
  # Hero Section
  --------------------------------------------------------------*/
.certificate {
  width: 100%;
  height: 93vh;
  overflow: hidden;
  position: relative;
  background: url('/assets/img/certificate-bg.jpg') top center;
  background-size: cover;
  z-index: 99;
  transition: 0.3s;
  border: none;
}

/* .certificate:before {
  content: '';
  background: rgba(247, 170, 170, 0.9);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
} */

.certificate .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

.certificate h2 {
  color: #4e4039;
  margin-bottom: 30px;
  font-size: 48px;
  font-weight: 700;
}

.certificate p {
  width: 80%;
  -webkit-animation-delay: 0.4s;
  animation-delay: 0.4s;
  margin: 0 auto 30px auto;
  color: #555;
}

.certificate .input-group {
  display: flex;
  align-items: center;
  padding: 5px;
  border-radius: 5px;
  max-width: 300px;
}

.certificate .input-group .form-control {
  flex: 1;
  padding: 1rem;
  background: #ececec;
  border-radius: 12px 0 0 12px;
  box-shadow: none;
  border: none;
  outline: none;
}

.form-control::-webkit-inner-spin-button,
.form-control::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.certificate .input-group button.search-btn {
  background-color: #eb5d1e;
  border: none;
  color: #fff;
  padding: 16px;
  border-radius: 0 12px 12px 0;
  cursor: pointer;
  box-shadow: none;
}

@media (min-width: 1024px) {
  .certificate p {
    width: 60%;
  }
}

@media (max-width: 768px), (max-height: 700px) {
  .certificate h2 {
    font-size: 28px;
  }
}

/* Toast Message */
#toast {
  background: #f8d7da;
  color: #555;
  padding: 10px 18px;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

#toast.show-toast {
  opacity: 1;
}

#toast .text span,
#toast i {
  color: #555;
  font-size: 14px;
  font-weight: 700;
}

#toast .progress-bar {
  height: 5px;
  background-color: #bbb;
  position: relative;
  margin-top: 5px;
}

#toast .progress-bar-fill {
  height: 100%;
  width: 0%;
  background-color: #eb5d1e;
  transition: width 3s ease-in-out;
}

/* Inner Page Certificate */
.inner-certificate .certificate-img {
  padding-inline: 60px;
}

.inner-certificate .certificate-img img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

.inner-certificate .main-content {
  text-align: start;
}

.inner-certificate .main-content .cer-header h3 {
  font-size: 28px;
  font-weight: 700;
}

.inner-certificate .main-content .cer-header .profile {
  gap: 14px;
}

.inner-certificate .main-content .cer-header .profile-img {
  width: 60px;
  height: 60px;
  background: #efefef;
  border-radius: 50%;
}

.inner-certificate .main-content .cer-header .profile img {
  width: 30px;
  height: 30px;
}

.inner-certificate .main-content .content h2 {
  font-size: 32px;
}

.inner-certificate .main-content .content img {
  width: 30px;
  height: 30px;
}

@media (max-width: 991px) {
  .inner-certificate-page {
    padding-inline: 20px;
    min-height: 100vh;
    height: 100%;
  }

  .inner-certificate .main-content {
    margin-bottom: 60px;
    margin-top: 30px;
  }

  .inner-certificate .certificate-img {
    margin-bottom: 60px;
    padding-inline: 0;
  }

  .inner-certificate .main-content .content h2 {
    font-size: 26px;
  }

  .inner-certificate .main-content .content img {
    width: 24px;
    height: 24px;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  padding: 0 0 30px 0;
  font-size: 14px;
  background: url('../img/footer-bg.jpg') center center;
  background-size: cover;
}

#footer .footer-top {
  padding: 50px 0 30px 0;
}

#footer .footer-top .footer-info {
  margin-bottom: 15px;
  color: #fff;
  border: 2px solid transparent;
  border-radius: 8px;
  box-shadow: 20px 20px 20px rgba(0, 0, 0, 0.5);
  text-align: center;
  padding: 16px 20px;
  backdrop-filter: blur(6px);
  border-top-color: rgba(225, 225, 225, 0.5);
  border-left-color: rgba(225, 225, 225, 0.5);
  border-bottom-color: rgba(225, 225, 225, 0.1);
  border-right-color: rgba(225, 225, 225, 0.1);
}

#footer .footer-top .footer-info h3 {
  font-size: 36px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
}

#footer .footer-top .footer-info a {
  color: #f1f1f1;
}

#footer .footer-top .footer-info a:hover {
  color: #ef7f4d;
}

#footer .footer-top .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: 'Nunito', sans-serif;
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #fff;
  color: #eb5d1e;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: #eb5d1e;
  color: #fff;
  text-decoration: none;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: 600;
  color: #f1f1f1;
  font-weight: 700;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links h5 {
  color: #fff;
  font-size: 18px;
  margin-top: 20px;
  font-weight: 700;
}

#footer .footer-top .footer-links p {
  color: #eee;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 5px;
  color: #eee;
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  color: #f1f1f1;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #fff;
  padding: 2px;
  transition: 0.3s;
  display: flex;
  line-height: 1.3;
}

#footer .footer-top .footer-links ul a:hover {
  color: #eb5d1e;
}

#footer .copyright {
  border-top: 1px solid #ccc;
  text-align: center;
  color: #eee;
  padding-top: 20px;
}

#footer .credits {
  padding-top: 5px;
  text-align: center;
  font-size: 13px;
  color: #eee;
  font-weight: 700;
}

#footer .credits a {
  color: #eb5d1e;
}

#footer .credits a:hover {
  text-decoration: underline;
  color: #ef7f4d;
}

@media (max-width: 575px) {
  #footer .footer-top .footer-info {
    margin: -20px 0 30px 0;
  }
}
