:root {
  --default-color: #35211f;
  --heading-color: #200f0d;
  --default-font-size: 14px;
  --default-font-weight: normal;
  --default-font-family: "Noto Sans", Arial, sans-serif;
  --fancy-font-family: "Joseph";
  --default-bg-primary-color: #e5e8b6;
  --default-bg-secondary-color: #add2c2;
  --default-box-shadow: 0 2px 5px hsl(0deg 0% 0% / 54%);
}

@font-face {
  font-family: "Joseph";
  src: url(./../fonts/Josefin_Sans/static/JosefinSans-Regular.ttf);
  font-weight: normal;
}
@font-face {
  font-family: "Joseph";
  src: url(./../fonts/Josefin_Sans/static/JosefinSans-SemiBold.ttf);
  font-weight: 500;
}

img {
  max-width: 100%;
}

ul {
  padding: 0;
  margin: 0;
}
ul li {
  list-style: none;
}
a {
  text-decoration: none;
  color: var(--default-color);
}
a:hover {
  color: var(--default-color);
}

html {
  font-size: var(--default-font-size);
  color: var(--default-color);
  font-weight: var(--default-font-weight);
  font-family: var(--default-font-family);
}

/* Top header */

.top-header {
  background-color: var(--default-bg-primary-color);
  padding: 10px 0;
}
.top-header .social-links {
}

.top-header .social-links li {
  display: inline-block;
  margin-right: 7px;
}

.top-header .social-links li a {
  padding: 5px;
}

.top-header .social-links li i {
}

.top-header .contact-details {
}

.top-header .contact-details li {
  display: inline-block;
  margin-left: 5px;
}

.top-header .contact-details li a {
  font-weight: 500;
}

/* Header */
header {
  padding: 10px 0;
  background-color: #fff;
  box-shadow: 0 5px 5px hsl(0deg 0% 0% / 9%);
  position: relative;
}
header .site-logo a {
  font-family: var(--fancy-font-family);
  font-size: 16px;
  font-weight: 600;
}
header .site-logo {
  width: 220px;
}
header .main-nav {
}
header .main-nav ul {
}

header .main-nav ul li {
  display: inline-block;
  margin-left: 5px;
}

header .main-nav ul li a {
  padding: 10px 20px;
  display: block;
  font-family: var(--fancy-font-family);
  font-weight: 500;
  transition: all 0.3s;
}
header .main-nav ul li a:hover {
  transform: scale(1.2);
}
header .main-nav ul li:last-child a {
  padding-right: 0;
}
/* Banner */
.banner {
  width: 100%;
  max-width: 100%;
  height: 500px;
  background-image: url(./../images/mastercode-banner-v2.png);
  background-size: cover;
  background-position: left top;
}
.banner:hover .banner-content {
  transform: scale(1.1) translate(40px, -40px);
}
.banner .banner-content {
  margin-top: 26%;
  transition: all 0.3s ease;
}
.banner .banner-content h1 {
  font-family: var(--fancy-font-family);
  margin-bottom: 20px;
}
.banner .banner-content h2 {
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 1px;
}

.service-offerings {
  padding-bottom: 50px;
  border-bottom: solid 2px var(--default-bg-secondary-color);
}
.service-offerings .card-box {
  height: 220px;
  padding: 20px;
  background-color: #f1f1f1;
  position: relative;
  border-radius: 3px;
  margin-top: -50px;
  transition: all ease 0.3s;
}

.service-offerings .card-box:hover {
  background-color: #2295da;
  transform: translate(0, -15px);
  box-shadow: var(--default-box-shadow);
  color: #fff;
}
.service-offerings .card-box:hover a {
  color: #fff;
}
.service-offerings .card-box i.hero {
  font-size: 38px;
  vertical-align: baseline;
  margin-right: 12px;
}

.service-offerings .card-box h2 {
  font-family: var(--fancy-font-family);
  font-size: 22px;
  display: inline-block;
}

.service-offerings .card-box .desc {
  margin-top: 10px;
}
.service-offerings .card-box .learn-more-link {
  font-family: var(--fancy-font-family);
  position: absolute;
  bottom: 15px;
  right: 15px;
  font-weight: bold;
}

.service-offerings .about-wrp {
  margin-top: 50px;
}

.service-offerings .about-wrp .content-wrp {
  margin-top: 60px;
  margin-right: 30px;
}

.service-offerings .about-wrp .content-wrp h2 {
  font-family: var(--fancy-font-family);
  font-size: 24px;
}

.service-offerings .about-wrp .content-wrp p {
  font-size: 16px;
  letter-spacing: 1px;
}

.service-offerings .about-wrp .hero-img-wrp {
  width: 100%;
  height: 300px;
  overflow: hidden;
}
.service-offerings .about-wrp .hero-img-wrp img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
/* Course offerings */

.course-offerings {
  padding: 50px 0;
}
.course-offerings h2 {
  font-family: var(--fancy-font-family);
  font-size: 20px;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}
.course-offerings h2:after {
  content: "";
  width: 70px;
  height: 3px;
  position: absolute;
  background-color: #52a27f;
  bottom: -10px;
  left: calc(50% - 33px);
}

.course-offerings .card-box {
  background-color: #f1f1f1;
  padding: 15px;
  height: 240px;
  border-radius: 3px;
  margin-bottom: 15px;
  position: relative;
  transition: all 0.3s ease;
}
.course-offerings .card-box:hover {
  transform: translate(0px, -10px);
  box-shadow: var(--default-box-shadow);;
  color: #fff;
  background-color: #2295da;
}
.course-offerings .card-box:hover a {
  color: #fff;
}
.course-offerings .card-box .read-more {
  position: absolute;
  bottom: 15px;
  right: 15px;
  font-family: var(--fancy-font-family);
  font-weight: 600;
}
.course-offerings .card-box h3 {
  font-family: var(--fancy-font-family);
  font-size: 18px;
  margin-bottom: 10px;
}

.course-offerings .card-box .tech-list {
  margin-bottom: 15px;
}
.course-offerings .card-box .tech-list li {
  display: inline-block;
  margin-right: 5px;
}
.course-offerings .card-box .tech-list li img {
  width: 22px;
}
/* Why us */
.why-us {
  padding: 50px 0;
  background-color: #f5f5f5;
}
.why-us h2 {
  text-align: center;
  font-family: var(--fancy-font-family);
  font-size: 20px;
  text-transform: capitalize;
  margin-bottom: 38px;
  position: relative;
}
.why-us h2::after {
  content: "";
  width: 70px;
  height: 3px;
  position: absolute;
  background-color: #52a27f;
  bottom: -10px;
  left: calc(50% - 33px);
}

.why-us .icon-wrp {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-us .icon-wrp {
  font-size: 160px;
  color: var(--default-bg-secondary-color);
}
.why-us ul li {
  margin-bottom: 25px;
}
.why-us ul li i {
  font-size: 28px;
  margin-right: 10px;
}
.why-us ul li h3 {
  display: inline-block;
  font-size: 18px;
  font-family: var(--fancy-font-family);
}
.why-us ul li .desc {
  margin-top: 5px;
}
/* Inquiry */
.inquiry {
}
.inquiry h2 {
  font-family: var(--fancy-font-family);
  font-size: 20px;
  font-weight: 600;
  margin: 20px 0;
}
.inquiry .banner-bg {
  background-image: url(./../images/mastercode-banner-v1.jpg);
  background-image: url(./../images/mastercode-banner-v1.jpg);
  height: 500px;
  background-position: center center;
  background-size: cover;
}
.inquiry .form-bg {
  background-color: var(--default-bg-primary-color);
}
.inquiry .form-wrapper {
  margin-top: 8%;
  width: 500px;
  max-width: 100%;
  padding: 15px;
}
.inquiry .form-wrapper input,
.inquiry .form-wrapper select {
  border: none;
  width: 100%;
  padding: 10px;
  border-radius: 3px;
}
.inquiry .form-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.inquiry .form-wrapper .submit-btn {
  border: none;
  padding: 10px 20px;
  border-radius: 3px;
  font-family: var(--fancy-font-family);
  background-color: var(--default-bg-secondary-color);
}
.tech-stack {
  padding: 30px;
}
.tech-stack img {
  background-color: #f5f5f5;
  padding: 10px;
  height: 110px;
  width: 110px !important;
  border-radius: 5px;
  object-fit: contain;
}
/* Testimonials */
.testimonials {
  padding: 50px 0;
}
.testimonials .wrapper {
  text-align: center;
}
.testimonials .wrapper img {
  width: 100px;
  margin: auto;
  border-radius: 4pc;
  margin-bottom: 15px;
  border: solid 2px #efefef;
}
.testimonials .wrapper h4 {
  font-family: var(--fancy-font-family);
  font-size: 16px;
}
.testimonials .wrapper .feedback {
  font-size: 16px;
  letter-spacing: 1px;
}
.testimonials .owl-nav {
  text-align: center;
}
.testimonials .owl-nav button {
  font-size: 28px !important;
  margin: 0 10px;
}
footer {
  padding: 50px 0;
  background-image: url(./../images/footer-bg.jpg);
  color: #fff;
}
footer h2 {
  font-family: var(--fancy-font-family);
  font-size: 20px;
  margin-bottom: 20px;
}
footer .contact-details {
}

footer .contact-details li {
  margin-bottom: 10px;
}
footer .contact-details li a {
  color: #fff;
}
footer .contact-details li a i {
  margin-right: 5px;
}
footer .copyright {
  margin-top: 40px;
  border-top: solid 1px #dedede;
  padding-top: 20px;
}
footer .copyright i {
  color: #d11111;
  transform: rotate(-18deg);
}
.default-list li {
  margin-bottom: 10px;
}
.default-list li i {
  margin-right: 5px;
}

@media (max-width: 1025px) {
  .service-offerings .card-box h2 {
    font-size: 18px;
  }
  .service-offerings .card-box i.hero {
    vertical-align: middle;
  }
  .service-offerings .card-box {
    height: 310px;
  }
  header .main-nav ul li a {
    padding: 10px;
  }
}

@media (max-width: 768px) {
  .banner {
    height: 280px;
    margin-bottom: 15px;
  }
  .banner .banner-content {
    margin-top: 5%;
  }
  .service-offerings .card-box {
    margin-top: 0;
  }
  .service-offerings .card-box {
    height: 180px;
  }
  .service-offerings .about-wrp {
    margin-top: 10px;
  }
  .inquiry .form-wrapper {
    margin: auto;
    margin-top: 0;
    width: 80%;
    text-align: center;
  }
  header,
  footer,
  .top-header,
  .top-header .contact-details {
    text-align: center;
  }
  .banner-bg {
    display: none;
  }
  header .main-nav {
    text-align: center !important;
  }
  .banner:hover .banner-content {
    transform: scale(1) translate(0, 0);
  }
}

@media (max-width: 576px) {
  * {
    text-align: center;
  }
  .mb-sm-2 {
    margin-bottom: 15px;
  }
  .d-sm-none {
    display: none;
  }
  header .main-nav ul li a {
    padding: 10px 15px;
  }
}
