@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

* {
  font-family: "Poppins", sans-serif;
  text-decoration: none;
  list-style: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: black;
}

#hidden-img {
  visibility: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: rgb(242, 243, 245);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: auto;
}

/* navigation Bar */

nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
}

nav .info {
  background-color: #dfa975;
  width: 100%;
  display: flex;
  justify-content: center;
}

nav .info .info-section {
  display: flex;
  justify-content: space-between;
  width: 1200px;
}

nav .info p {
  padding: 10px 30px;
  display: flex;
  flex-direction: row;
  align-items: center;
}

nav .info p span {
  height: 100%;
  display: flex;
  align-items: center;
}

nav .info span p {
  padding: 10px 30px;
  display: block;
}

nav .info p i {
  font-size: 20px;
  margin: 0 7px;
  color: #17326d;
}

nav .brand {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 150px;
}

nav .brand-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 1200px;
}

nav .brand img {
  width: 350px;
}

nav .name {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  margin: 20px auto;
}

nav .name h1,
nav .name h4 {
  text-align: center;
  margin: 7px 0;
}

nav .name h1 {
  font-size: 30px;
  color: #17326d;
}

nav .brand .brand-section img {
  width: 137px;
  border-radius: 100%;
  margin: 20px;
}

nav .navigation {
  display: flex;
  justify-content: center;
  background-color: #dfa975;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 55px;
}

nav .navigation .resp-navbar {
  height: 0;
  display: flex;
  width: 100%;
  overflow: hidden;
  flex-direction: column;
  justify-content: center;
  background-color: #dfa975;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

nav .navigation .resp-navbar a {
  margin: 20px 30px;
}

nav .navigation-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #dfa975;
  width: 1200px;
  height: auto;
}

nav .navigation .navigation-section div {
  display: flex;
}

nav .navigation .navigation-section a {
  padding: 5px 20px;
  font-weight: 500;
  background-color: #17326d;
  color: #ffffff;
  border-radius: 5px;
  margin: 0 10px;
}

nav .navigation .navigation-section div a {
  background-color: #dfa975;
  padding: 5px 20px;
  font-weight: 500;
  color: black;
  transition: all 0.3s ease-in-out;
}

nav .navigation .navigation-section div a:hover {
  background-color: #17326d;
  font-weight: 500;
  color: #ffffff;
}

/* carousel section */

.swiper {
  width: 100%;
  background-color: #17326d;
}

.swiper-slide {
  display: flex;
  justify-content: center;
}

.swiper-slide img {
  height: 690px;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  color: #ffffff;
}

.prev-btn,
.next-btn {
  margin: 0 20px;
}

.swiper-pagination .swiper-pagination-bullet {
  background-color: #ffffff;
}

/* heading section */

main.course-heading {
  background: url(../img/slide-gradient.png) no-repeat center,
    url(../img/img6.jpg) no-repeat center;
  background-size: cover;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

main.gallery-heading {
  background: url(../img/slide-gradient.png) no-repeat center,
    url(../img/img9.jpg) no-repeat center;
  background-size: cover;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

main.contact-heading {
  background: url(../img/slide-gradient.png) no-repeat center,
    url(../img/img7.jpg) no-repeat center;
  background-size: cover;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

main.about-heading {
  background: url(../img/slide-gradient.png) no-repeat center,
    url(../img/img8.jpg) no-repeat center;
  background-size: cover;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

main h1 {
  font-size: 50px;
  color: #ffffff;
}

/* news section */

.news {
  width: 100%;
  margin-top: 70px;
  min-height: 400px;
  max-height: auto;
  background-color: #17326d;
  display: flex;
  justify-content: center;
  align-items: center;
}

.news .news-items {
  min-width: 1200px;
  display: grid;
  grid-template-columns: repeat(5, 250px);
  grid-row-gap: 30px;
  grid-column-gap: 30px;
  justify-content: center;
}

.news .news-items .item {
  margin: 50px 0;
  background-color: #ffffff;
  justify-content: space-evenly;
  transition: all 0.4s ease;
  flex-direction: column;
  align-items: center;
  display: flex;
  height: 350px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.news .news-items #item4 {
  grid-column: 4 / 6;
  width: 100%;
}

.news .news-items .item img {
  width: 100px;
  border-radius: 100%;
}

.news .news-items .item h3 {
  width: 250px;
  text-align: center;
  margin: 10px;
  height: 10%;
}

.news .news-items .item marquee {
  width: 80%;
  text-align: left;
  height: 90%;
}

.news .news-items .item marquee hr {
  margin: 20px 0;
}

.news .news-items .item marquee h4 {
  text-align: left;
  color: #585858;
}

.news .news-items .item marquee h4 i {
  font-size: 15px;
  color: #143d97;
}

.news .news-items .item marquee h4 img {
  width: 35px;
}

/* course section */

.course {
  margin-top: 70px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.course h1 {
  margin-bottom: 100px;
  font-size: 40px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.course h1::after {
  content: "";
  position: absolute;
  height: 4px;
  width: 80px;
  background-color: #143d97;
}

.course .course-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-row-gap: 50px;
  grid-column-gap: 50px;
  justify-content: center;
  width: 1200px;
  margin: 0;
}

.course .course-items .item {
  background-color: #dfa975;
  justify-content: space-between;
  transition: all 0.4s ease;
  flex-direction: column;
  align-items: center;
  border-radius: 7px;
  display: flex;
  height: 200px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.course .course-items .item .course-name h2 {
  width: 250px;
  text-align: center;
  margin-top: 20px;
}

.course .course-items .item .course-name h3 {
  width: 250px;
  text-align: center;
}

.course .course-items .item a {
  width: 100%;
  text-align: center;
  padding: 20px 0;
  border-top: 2px solid #17326d;
  border: 2px solid #ffffff;
  border-radius: 0 0 7px 7px;
  background-color: rgb(255, 255, 255);
  font-size: 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-in-out;
}

.course .course-items .item a:hover i {
  color: #000;
}

.course .course-items .item a:hover {
  border: 2px solid #17326d;
  color: #17326d;
}

.course .course-items .item a i {
  font-size: 30px;
  transition: all 0.3s ease;
  height: 30px;
  align-items: center;
  display: flex;
}


/* contact section */

.contact {
  margin-top: 70px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.contact .contact-section {
  width: 1200px;
  display: flex;
  background-color: #17326d;
  border-radius: 7px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.contact .contact-section form {
  width: 60%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
}

.contact .contact-section form input {
  padding: 13px;
  margin: 20px 0;
  width: 100%;
  border-radius: 7px;
  border: 0;
}

.contact .contact-section form input:focus,
.contact .contact-section form textarea:focus {
  outline: 2px solid #dfa975;
}

.contact .contact-section form textarea {
  padding: 13px;
  margin: 20px 0;
  width: 100%;
  border-radius: 7px;
  border: 0;
  resize: vertical;
}

.contact .contact-section .contact-info {
  width: 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.contact .contact-section .contact-info .phone-section {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0;
}

.contact .contact-section .contact-info .phone-section i {
  width: 20%;
  font-size: 45px;
  text-align: center;
  color: #dfa975;
}

.contact .contact-section .contact-info .phone-section .phone {
  width: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0;
}

.contact .contact-section .contact-info .phone-section .phone h2,
.contact .contact-section .contact-info .phone-section .phone h4 {
  width: 100%;
  color: #ffffff;
  font-weight: 400;
}

.contact .contact-section .contact-info .address-section {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0;
}

.contact .contact-section .contact-info .address-section i {
  width: 20%;
  font-size: 45px;
  text-align: center;
  color: #dfa975;
}

.contact .contact-section .contact-info .address-section .address {
  width: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0;
}

.contact .contact-section .contact-info .address-section .address h2,
.contact .contact-section .contact-info .address-section .address h4 {
  width: 100%;
  color: #ffffff;
  font-weight: 400;
}

.contact .contact-section .contact-info .email-section {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0;
}

.contact .contact-section .contact-info .email-section i {
  width: 20%;
  font-size: 45px;
  text-align: center;
  color: #dfa975;
}

.contact .contact-section .contact-info .email-section .email {
  width: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0;
}

.contact .contact-section .contact-info .email-section .email h2,
.contact .contact-section .contact-info .email-section .email h4 {
  width: 100%;
  color: #ffffff;
  font-weight: 400;
}

.contact .map {
  width: 1200px;
  background-color: #dfa975;
  border-radius: 7px;
  margin-top: 30px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.contact .map iframe {
  padding: 6px 6px 0px 6px;
  width: 100%;
  border-radius: 7px;
  height: 500px;
}

/* gallery section */

.gallery {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 70px;
}

.gallery .gallery-section {
  width: 1200px;
  background-color: #17326d;
  padding: 50px;
  border-radius: 7px;
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  height: auto;
  flex-wrap: wrap;
}

.gallery .gallery-section a img {
  width: 430px;
  margin: 20px;
  border: 2px solid #ffffff;
}

/* footer section */

footer {
  min-height: 250px;
  background-color: #17326d;
  width: 100%;
  margin-top: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
}

footer .footer-section {
  display: flex;
  align-items: flex-start;
  justify-content: space-evenly;
  height: 80%;
  width: 1200px;
}

footer .footer-section .links {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  height: 100%;
}

footer .footer-section .links h2 {
  color: #ffffff;
  margin: 20px 0;
}

footer .footer-section .links .links-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

footer .footer-section .links .links-section a {
  color: #ffffff;
  transition: all 0.2s ease-in;
}

footer .footer-section .links .links-section a:hover {
  color: #ffc38a;
  text-decoration: underline;
}

footer .footer-section .locate {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  height: 100%;
}

footer .footer-section .locate h2 {
  color: #ffffff;
  margin: 20px 0;
}

footer .footer-section .locate .locate-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

footer .footer-section .locate .locate-section span {
  color: #ffffff;
}

footer .copyright {
  width: 100%;
  background-color: #ffffff;
}

footer .copyright-section p {
  color: #17326d;
  text-align: center;
  margin: 10px;
}

/* Responsive section */

@media screen and (max-width: 1870px) {
  .news .news-items {
    width: 1200px;
    display: grid;
    grid-template-columns: repeat(6, 100px);
    grid-column-gap: 30px;
    justify-content: center;
  }

  .news .news-items .item {
    margin-top: 50px;
    margin-bottom: 0px;
    background-color: #ffffff;
    justify-content: space-evenly;
    transition: all 0.4s ease;
    flex-direction: column;
    align-items: center;
    display: flex;
    height: 350px;
  }

  .news .news-items #item1 {
    grid-column: 1 / 3;
    width: 100%;
  }

  .news .news-items #item2 {
    grid-column: 3 / 5;
    width: 100%;
  }

  .news .news-items #item3 {
    grid-column: 5 / 7;
    width: 100%;
  }

  .news .news-items #item4 {
    grid-area: 2 / 1 / 3 / 7;
    width: 100%;
    margin-top: 0;
    margin-bottom: 50px;
  }
}

@media screen and (max-width: 1380px) {
  .swiper-slide img {
    height: 550px;
  }
}

@media screen and (max-width: 1220px) {
  .gallery .gallery-section {
    border-radius: 0;
  }

  .contact .contact-section {
    width: 100%;
    border-radius: 0;
  }

  .contact .map {
    width: 100%;
    border-radius: 0;
  }

  nav .navigation-section {
    width: 100%;
    height: 55px;
  }

  .swiper-slide img {
    height: auto;
    width: 100%;
  }

  .prev-btn::after,
  .next-btn::after {
    display: none;
  }

  .news .news-items {
    min-width: 100%;
  }

  footer .footer-section {
    display: flex;
    align-items: flex-start;
    justify-content: space-evenly;
    height: 80%;
    width: 100%;
  }
  .course .course-items {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 150px);
    grid-column-gap: 30px;
    grid-row-gap: 30px;
    justify-content: center;
    width: 100%;
  }

  .course .course-items #item1 {
    grid-column: 1 / 3;
    width: 100%;
  }

  .course .course-items #item2 {
    grid-column: 3 / 5;
    width: 100%;
  }

  .course .course-items #item3 {
    grid-area: 2 / 1 / 3 / 3;
    width: 100%;
  }

  .course .course-items #item4 {
    grid-area: 2 / 3 / 3 / 5;
    width: 100%;
  }

  #hidden-img {
    visibility: hidden;
    display: none;
  }
}

@media screen and (max-width: 910px) {
  .gallery .gallery-section a img {
    width: 450px;
    margin: 20px;
    border: 2px solid #ffffff;
  }

  nav .name h1 {
    font-size: 24px;
  }

  nav .info p {
    padding: 10px 10px;
    text-align: center;
    flex-direction: column;
  }

  nav .info #p2 {
    padding: 10px 10px;
    text-align: center;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  nav .info span p {
    padding: 10px 10px;
    text-align: center;
  }

  nav .brand-section {
    flex-direction: column;
  }

  nav .info-section {
    flex-direction: column;
  }

  nav .navigation .navigation-section div a {
    padding: 10px 20px;
    margin: 0;
  }

  .news .news-items #item1 {
    grid-column: 2 / 6;
  }

  .news .news-items #item2 {
    grid-area: 2 / 2 / 3 / 6;
  }

  .news .news-items #item3 {
    grid-area: 3 / 2 / 4 / 6;
  }

  .news .news-items #item4 {
    grid-area: 4 / 2 / 5 / 6;
    margin-top: 50px;
  }
}
@media screen and (max-width: 725px) {
  .contact .contact-section {
    flex-direction: column;
  }

  .contact .contact-section form {
    width: 100%;
  }

  .contact .contact-section .contact-info {
    width: 100%;
  }

  nav .navigation .navigation-section .menu {
    background-color: #17326d;
    height: 35px;
    width: 35px;
    display: flex;
    margin: 0 10px;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
  }

  nav .navigation .resp-navbar {
    display: flex;
  }

  nav .navigation .resp-navbar-open {
    height: 350px;
  }

  nav .navigation .navigation-section .menu .menu-btn::before {
    content: "";
    display: block;
    background-color: #ffffff;
    height: 3px;
    margin: 0 auto;
    position: absolute;
    width: 20px;
    bottom: 7px;
    border-radius: 100px;
  }

  nav .navigation .navigation-section .menu .menu-btn {
    display: block;
    background-color: #ffffff;
    height: 3px;
    margin: 0 auto;
    position: relative;
    width: 20px;
    border-radius: 100px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }

  nav .navigation .navigation-section .menu .menu-btn::after {
    content: "";
    display: block;
    background-color: #ffffff;
    height: 3px;
    margin: 0 auto;
    position: absolute;
    width: 20px;
    top: 7px;
    border-radius: 100px;
  }

  nav .navigation .navigation-section .menu .menu-btn-open::before {
    content: "";
    background-color: #ffffff;
    height: 3px;
    margin: 0 auto;
    position: absolute;
    width: 20px;
    bottom: 0;
    border-radius: 100px;
    display: none;
  }

  nav .navigation .navigation-section .menu .menu-btn-open {
    display: block;
    background-color: #ffffff;
    height: 3px;
    margin: 0 auto;
    position: relative;
    width: 20px;
    border-radius: 100px;
    transform: rotate(45deg);
  }

  nav .navigation .navigation-section .menu .menu-btn-open::after {
    content: "";
    display: block;
    background-color: #ffffff;
    height: 3px;
    margin: 0 auto;
    position: absolute;
    width: 20px;
    top: 0;
    border-radius: 100px;
    transform: rotate(90deg);
  }

  .course .course-items #item1 {
    grid-column: 1 / 7;
  }

  .course .course-items #item2 {
    grid-area: 2 / 1 / 3 / 7;
  }

  .course .course-items #item3 {
    grid-area: 3 / 1 / 4 / 7;
  }

  .course .course-items #item4 {
    grid-area: 4 / 1 / 5 / 7;
  }

  footer .footer-section {
    align-items: flex-start;
    flex-direction: column;
  }

  footer .footer-section .links {
    margin: 30px;
  }

  footer .footer-section .locate {
    margin: 30px;
  }

  nav .navigation .navigation-section div {
    display: none;
  }

  .news .news-items {
    grid-template-columns: repeat(6, auto);
  }

  .course .course-items {
    grid-template-columns: repeat(6, 50px);
  }
}

@media screen and (max-width: 600px) {
  .gallery .gallery-section a img {
    width: 350px;
    margin: 20px;
    border: 2px solid #ffffff;
  }
  .aboutus  {
    width: 400px !important;
    margin: 20px;
    padding: 20px;
  }
}

@media screen and (max-width: 480px) {
  .gallery .gallery-section {
    padding: 50px 0;
  }
  .course .course-items #item1 {
    grid-column: 2 / 6;
  }

  .course .course-items #item2 {
    grid-area: 2 / 2 / 3 / 6;
  }

  .course .course-items #item3 {
    grid-area: 3 / 2 / 4 / 6;
  }

  .course .course-items #item4 {
    grid-area: 4 / 2 / 5 / 6;
  }

  .aboutus  {
    width: 300px !important;
    margin: 20px;
    padding: 20px;
  }
}

@media screen and (max-width: 400px) {
  .gallery .gallery-section a img {
    width: 300px;
    margin: 20px;
    border: 2px solid #ffffff;
  }
  .aboutus  {
    width: 300px !important;
    margin: 20px;
    padding: 20px;
  }
}

@media screen and (max-width: 360px) {
  nav .info #p2 {
    flex-direction: column;
  }

  .gallery .gallery-section a img {
    width: 280px;
    margin: 20px;
    border: 2px solid #ffffff;
  }
}
