@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700&family=Nunito+Sans:ital,wght@0,300;0,600;1,700&display=swap");
/**************
GLOBAL
**************/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body, button, textarea, input {
  color: #000;
  font-weight: 400;
  line-height: 1.5;
  font-family: "Montserrat", sans-serif;
  font-size: 1.6rem;
}

.container {
  width: 80%;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .container {
    width: 90%;
  }
}

h1 {
  font-size: 4.8rem;
  text-transform: uppercase;
  margin-bottom: 30px;
}

h2 {
  font-size: 3rem;
  text-transform: uppercase;
}
h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 5px;
  background-color: #233785;
  margin: 15px auto;
}

h3 {
  text-transform: uppercase;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.4s ease;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.py {
  padding: 100px 0;
}
@media (max-width: 768px) {
  .py {
    padding: 70px 0;
  }
}
.py-sm {
  padding: 30px 0;
}
.py-mm {
  padding: 70px 0;
}

.section-title {
  margin-bottom: 30px;
  text-align: center;
}
.section-title h2 {
  text-align: center;
}
.section-title h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 5px;
  background-color: #233785;
  margin: 15px auto;
}
.section-title-left {
  text-align: left;
}
.section-title-left h2 {
  text-align: left;
}
.section-title-left h2:after {
  margin: 15px 0;
}

.slideInLeft {
  animation-name: slideInLeft;
  animation-duration: 1s;
  animation-timing-function: cubic-bezier(0.17, 0.67, 0.44, 0.87);
}
@keyframes slideInLeft {
  from {
    transform: translateX(-50vw) rotateY(720deg);
  }
  to {
    transform: translateX(0vw) rotateY(0deg);
  }
}

.slideInRight {
  animation-name: slideInRight;
  animation-duration: 1s;
  animation-timing-function: cubic-bezier(0.17, 0.67, 0.44, 0.87);
}
@keyframes slideInRight {
  from {
    transform: translateX(50vw) rotateY(0);
  }
  to {
    transform: translateX(0vw) rotateY(720deg);
  }
}

.columns, .columns-four, .columns-three, .columns-two {
  gap: 30px;
  display: grid;
}
.columns-two {
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 768px) {
  .columns-two {
    grid-template-columns: 1fr;
  }
}
.columns-three {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 768px) {
  .columns-three {
    grid-template-columns: repeat(1, 1fr);
  }
}
.columns-four {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 768px) {
  .columns-four {
    grid-template-columns: repeat(1, 1fr);
  }
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  border: none;
  transition: background-color 0.4s ease;
}
.btn-sm {
  padding: 10px 20px;
}
.btn-primary {
  background-color: #233785;
  color: #ffffff;
}
.btn-primary:hover {
  background-color: #020a2a;
}
.btn-secondary {
  background-color: #ffffff;
  color: #000;
}
.btn-secondary:hover {
  background-color: #808080;
}

.card {
  border: 1px solid #808080;
  border-radius: 5px;
  overflow: hidden;
}
.card-horizontal {
  display: grid;
}
.card-body {
  padding: 10px;
}
.card .btn {
  margin-top: 20px;
}

.icon-rotate {
  display: inline-block;
  position: relative;
  font-size: 3rem;
  line-height: 1;
}
.icon-rotate i {
  position: relative;
  z-index: 2;
  color: #ffffff;
}
.icon-rotate:after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  background-color: #233785;
  height: 2em;
  width: 2em;
  border-radius: 5px;
}

.social-icon {
  color: #233785;
  font-size: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, 1em);
  justify-content: center;
  width: 100%;
  gap: 10px;
  margin: 10px auto;
}
.social-icon a {
  line-height: 1;
  transition: 0.4s ease;
}
.social-icon a:hover {
  transform: rotate(30deg);
}

.top-bar {
  background-color: #233785;
  color: #ffffff;
  font-size: 1.3rem;
  padding: 10px 0;
}
.top-bar ul {
  text-align: right;
}
@media (max-width: 768px) {
  .top-bar ul {
    text-align: center;
  }
}
.top-bar ul li {
  display: inline-block;
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid #ffffff;
}
@media (max-width: 768px) {
  .top-bar ul li {
    border-left: none;
  }
}
.top-bar ul li:first-child {
  border-left: none;
  margin-left: 0;
  padding-left: 0;
}

.nav-bar {
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.nav-bar-logo img {
  max-height: 70px;
}
@media (max-width: 768px) {
  .nav-bar-logo img {
    max-height: 40px;
  }
}
.nav-bar #menuBtn {
  display: none;
}
.nav-bar #menuBtn:checked ~ .nav-bar-menu {
  transform: scaleY(1);
}
.nav-bar-toggle {
  display: none;
}
@media (max-width: 768px) {
  .nav-bar-toggle {
    display: block;
  }
}
.nav-bar-toggle label {
  background-color: #e9e9ed;
  line-height: 1;
  font-size: 2.5rem;
  padding: 5px;
  cursor: pointer;
  outline: none;
  color: #233785;
  display: inline-block;
}
@media (max-width: 768px) {
  .nav-bar-menu {
    transform: scaleY(0);
    transform-origin: center top;
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    overflow: hidden;
    transition: 0.4s ease;
  }
}
.nav-bar-menu ul {
  display: flex;
  gap: 30px;
}
@media (max-width: 768px) {
  .nav-bar-menu ul {
    padding: 10px;
    flex-direction: column;
    background-color: #ffffff;
  }
}
.nav-bar-menu ul li {
  font-weight: 700;
  font-size: 1.8rem;
  color: #808080;
}
.nav-bar-menu ul li:hover {
  color: #233785;
}

.hero {
  min-height: 60vh;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/bg-hero.jpg");
  background-position: center;
  background-size: cover;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.hero p {
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .hero div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }
}
.hero .btn-primary {
  margin-right: 5px;
}
@media (max-width: 768px) {
  .hero .btn-primary {
    margin-right: 0px;
  }
}
.hero .btn-secondary {
  margin-left: 5px;
}
@media (max-width: 768px) {
  .hero .btn-secondary {
    margin-left: 0px;
  }
}

.about-home article .wrapper {
  position: relative;
  height: 300px;
  color: #ffffff;
  overflow: hidden;
  cursor: pointer;
}
.about-home article .wrapper:hover h3 {
  transform: translateY(100%);
}
.about-home article .wrapper:hover div {
  top: 0;
}
.about-home article .wrapper div {
  display: flex;
  flex-direction: column;
  position: absolute;
  height: 100%;
  width: 100%;
  top: 100%;
  left: 0;
  padding: 10px;
  background-color: rgba(35, 55, 133, 0.8);
  transition: 0.4s ease;
}
.about-home article .wrapper div p {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 5px;
}
.about-home article .wrapper div a {
  font-weight: 700;
}
.about-home article .wrapper div a:hover {
  color: #ff6347;
}
.about-home article .wrapper h3 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 5px 10px;
  text-transform: uppercase;
  font-weight: 700;
  background-color: rgba(35, 55, 133, 0.7);
  text-shadow: 0 0 3px #000;
  transition: 0.4s ease;
}
.about-page ul {
  margin-top: 20px;
}
.about-page ul li:before {
  content: "\f058";
  display: inline-block;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 10px;
  color: #233785;
}

.features {
  background-color: #f2f2f2;
}
.features article {
  margin-top: 8rem;
}
.features article > div {
  position: relative;
  flex: 1;
  border: 1px solid #333333;
  border-radius: 10px;
  padding: 5rem 20px 20px;
  text-align: center;
}
@media (max-width: 768px) {
  .features article > div {
    margin-top: 2rem;
  }
}
.features article .icon-rotate {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}

.courses-home article:last-child {
  text-align: center;
  margin-top: 30px;
}
.courses-home .card {
  flex: 1;
}
.courses-home .card img {
  height: 250px;
}
.courses-page .card {
  margin-bottom: 30px;
  grid-template-areas: "image body";
  grid-template-columns: minmax(200px, 300px) 1fr;
}
@media (max-width: 768px) {
  .courses-page .card {
    grid-template-areas: "image image" "body body";
  }
}
.courses-page .card img {
  grid-area: image;
}
.courses-page .card-body {
  grid-area: body;
}
.courses-page .card:nth-child(odd) {
  grid-template-columns: 1fr minmax(200px, 300px);
  grid-template-areas: "body image";
  text-align: right;
  background-color: #f2f2f2;
}
@media (max-width: 768px) {
  .courses-page .card:nth-child(odd) {
    text-align: left;
    grid-template-areas: "image image" "body body";
  }
}

.subscribe {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../img/testimonial-bg-01.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.subscribe .section-title {
  color: #ffffff;
}
.subscribe article form {
  display: grid;
  max-width: 900px;
  width: 100%;
  grid-template-columns: 1fr 1fr auto;
  gap: 5px;
  align-items: center;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .subscribe article form {
    grid-template-columns: 1fr;
  }
}
.subscribe article form input {
  outline: none;
  padding: 10px;
  background: transparent;
  border: 1px solid transparent;
  border-bottom: 1px solid #ffffff;
  transition: 0.4s ease;
  color: #ffffff;
}
.subscribe article form input::placeholder {
  color: #ffffff;
}
.subscribe article form input:focus {
  border-radius: 5px;
  border: 1px solid #ffffff;
}

.map {
  position: relative;
}
.map:after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  z-index: 1;
}
.map .icon-rotate {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.footer {
  background-color: #333333;
  color: #ffffff;
}
.footer-bottom {
  background-color: #000;
  line-height: 1;
  text-align: center;
}
.footer-top {
  display: grid;
  grid-template-columns: 3fr 1fr 2fr;
  grid-template-areas: "logo h-links h-contact" "text ul-links ul-contact";
  gap: 20px;
}
@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    grid-template-areas: "logo" "text" "h-links" "ul-links" "h-contact" "ul-contact";
  }
}
.footer-top .footer-logo {
  grid-area: logo;
}
.footer-top .h-links {
  grid-area: h-links;
}
.footer-top .h-contact {
  grid-area: h-contact;
}
.footer-top p {
  grid-area: text;
}
.footer-top ul li {
  line-height: 2;
}
.footer-top ul li i {
  margin-right: 10px;
}
.footer-top ul:first-of-type {
  grid-area: ul-links;
}
.footer-top ul:last-of-type {
  grid-area: ul-contact;
}
.footer-top img {
  width: auto;
  max-height: 50px;
  object-fit: cover;
}

.instructors img {
  height: 300px;
  object-position: center top;
}
.instructors .card {
  text-align: center;
}
.contact form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-areas: "fullName email phone" "message message message" "....... ....... submit";
  gap: 10px;
  width: 100%;
}
@media (max-width: 768px) {
  .contact form {
    grid-template-areas: "fullName fullName fullName" "email email email" "phone phone phone" "message message message" "submit submit submit";
  }
}
.contact form input, .contact form textarea {
  padding: 5px 10px;
}
.contact form [name=fullName] {
  grid-area: fullName;
}
.contact form [name=email] {
  grid-area: email;
}
.contact form [name=phone] {
  grid-area: phone;
}
.contact form [name=message] {
  grid-area: message;
}
.contact form .btn {
  grid-area: submit;
}
.contact ul {
  margin-top: 20px;
}
.contact ul li {
  line-height: 1.7;
}
.contact ul li i {
  margin-right: 10px;
  color: #233785;
}

/*# sourceMappingURL=main.css.map */
