
* {
    box-sizing: border-box;
    font-family: "Lato", sans-serif;
    font-style: normal;
    outline: 0;
}
.hero-section,
.about-section,
.map-section,
.sliding-section,
.course-section,
.yali-ng-leader {
  padding: 10px;
}
.hero-section {
  margin-top: 100px;
}
.mission-section,.project-section {
  padding: 30px 20px;
  line-height: 1.5;
}
.mission-section>div{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}
.mission-section i {
  font-size: 50px;
}
.mission-section h2 {
  text-align: center;
  margin-bottom: 10px;
  width: 100%;
}
.mission-section>div:first-child {
  padding: 10px;
  color: white;
  border-radius: 10px;
  margin-bottom: 20px;
}
.mission-section>div:last-child {
  padding: 10px;
  background: white;
  border-radius: 10px;
  padding-top: 30px;
}
.hero-details, .hero-details p, .hero-btn {
  margin-top: 15px;
}
.hero-details h1{
  color: dodgerblue;
  font-size: 24px;
}

.hero-btn button {
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}
.hero-img {
  border-radius: 50px 0 50px 0;
  overflow: hidden;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.about-section>div:not(:last-child) {
  margin-bottom: 20px;
}
.about-section h2,
.about-section h3, 
.sliding-section h2,
.course-section h2,
.yali-ng-leader h2,
.head-welcome-msg h2{
  border-left: 5px solid red;
  padding-left: 5px;
  margin-bottom: 10px;
  color: #524C42;
}
.about-section p {
  line-height: 1.5;
}
.mission-section {
  background: #050C9C;
}
.project-section {
  background: #83B4FF;
}
.sliding-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
}
.sliding-section h2 {
  width: 100%;
  margin-bottom: 20px;
}
.project-section h2 {
  font-size: 30px;
  color: white;
}
.project-card {
  width: 70%;
  border: 1px solid #d6d6d6;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 20px;
}
.image-wrapper {
  max-height: 154.68px;
  overflow: hidden;
}
.project-card>div:nth-child(2) {
  padding: 10px 20px;
  line-height: 1.5;
  max-height: 200px;
  overflow: hidden;
}
.project-card>div:nth-child(2) h4,
.course-card h4 {
  margin-bottom: 5px;
  color: dodgerblue;
}
.project-card h4 a,.course-card h4 a {
  text-decoration: none;
  color: dodgerblue;
  font-weight: 600;
}
.project-card h4 a:hover,
.course-card h4 a:hover {
  text-decoration:underline;
}
.slide {
  font-size: 30px;
}
.course-section h2 {
  margin-bottom: 20px;
}
.course-card {
  display: flex;
  justify-content: space-evenly;
  margin-bottom: 15px;
  align-items: start;
  line-height: 1.3;
}
.course-card>div {
  width: 45%;
}
.course-btn-div {
  display: flex;
  justify-content: center;
}
.course-btn-div button {
  padding: 10px 15px;
  cursor: pointer;
  background: #C40C0C;
  color: white;
  margin-right: 20px;
  border-radius: 20px;
  font-weight: 600;
  border: 0;
}
.yali-ng-leader {
  padding: 30px 0;
}
.h-btn {
  background: #C40C0C;
  color: white;
  border: 0;
  border: 1px solid #c7c6c669;
  margin-right: 20px;
  cursor: pointer;
}
.h-btn:hover {
  opacity: 0.9;
}
.p-btn {
  border: 1px solid #C40C0C;
  color: #C40C0C;
  background: none;
  cursor: pointer;
}
.p-btn:hover {
  background: #C40C0C;
  color: white;
}
footer {
  background: url("../images/holding-hands.jpg");
  background-position: center;
  background-size: cover;
}
footer p {
  padding: 20px 0;
  text-align: center;
  background: #f1f1f1;
  opacity: 0.9;
  font-size: 14px;
  border-top: 1px solid dodgerblue;
}
.main-footer {
  width: 100%;
  background: #f1f1f1;
  opacity: 0.9;
  font-size: 24px;
  padding-top: 40px;
}
.main-footer>div {
  margin-bottom: 30px;
}
.main-footer h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: dodgerblue;
}
.links ul a{
  text-decoration: none;
  color:  #524C42;
  line-height: 1.5;
}
.links ul a:hover {
  color: dodgerblue;
}
.about-section li::marker {
  color: red;
}
.links ul {
  margin-left: 20px;
  font-size: 20px;
}
.phone-email p{
  line-height: 1.5;
}
.phone-email code {
  color: #524C42;
  font-size: 18px;
  margin-left: 20px;
}

.socials i {
  margin-right: 5px;
  margin-left: 10px;
}
.socials a{
  line-height: 1.4;
  font-size: 30px;
  color: #524C42;
  text-decoration: none;
}
.head-welcome-msg h2 {
  font-weight: 600;
  border-left: 5px solid red;
  padding-left: 15px;
  margin-bottom: 10px;
}
.msg-body{
  margin: 0 150px;
  font-weight: 400;
  font-style: normal;
}
.msg-body p {
  line-height: 2;
}
.scroll-btn {
  visibility: hidden;
  background: #c40c0c; 
  color: white; 
  font-size: 30px;
  position: fixed;
  right: 10px;
  bottom: 10px;
  border-radius: 3px;
  padding: 3px 10px;
  border: 0;
  cursor: pointer;
}
.scroll-btn:hover {
  opacity: 0.9;
}
.project-label {
  text-align: center;
  padding: 5px 0;
  background: #CBDCEB;
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 13px;
  margin-top: 20px;
}
@media (min-width: 1080px) {
  .hero-section,
  .about-section,
  .mission-section,
  .project-section,
  .map-section,
  .sliding-section,
  .course-section,
  .yali-ng-leader,
  .head-welcome-msg{
    padding: 20px 40px;
  }

  .hero-section, 
  .about-section, 
  .mission-section,
  .project-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .hero-section {
    margin: 20px 0;
  }
  .hero-section>div,
  .about-section>div{
    width: 48%;
  }
  .hero-details {
    text-align: center;
    order: 1;
  }
  .hero-img {
    order: 2;
  }
  .hero-details h1{
    font-size: 4rem;
  }
  .hero-details p{
    font-size: 1.3rem;
    line-height: 1.5;
  }
  .about-section p {
    line-height: 1.5;
    font-size: 1.2rem;
  }
  .about-section ul {
    line-height: 3;
    list-style-type: square;
    /* list-style-type: none; */
  }
  .about-section i {
    color: red;
  }
  .project-img {
    width: 40%;
    padding: 30px 0;
  }
  .project-details {
    width: 55%;
    line-height: 2;
  }
  .project-img img {
    transform: scaleX(-1);
  }
  .slide.left, .slide.right {
    display: none;
  }
  .project-wrapper {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    padding: 20px 0;
    
  }
  .project-card {
    width: 18%;
  }
  .project-card>div:nth-child(2) {
    padding: 5px 10px;
  }
  .course-wrapper {
    display: flex;
    justify-content: space-evenly;
  }
  .course-wrapper>div {
    width: 30%;
  }
  .leader-gallery {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    text-align: center;
  }
  .leader-gallery>div {
    width: 30%;
    background: #f1f1f1;
    padding-bottom: 10px;
    line-height: 1.5;
  }
  .main-footer {
    display: flex;
    justify-content: space-evenly;
  }
  .main-footer {
    padding: 50px 40px 0 40px;
  }
}
@media (max-width: 800px) {
  .hero-section {
    padding: 30px 20px;
  }
  .about-section {
    margin: 10px 0;
    padding: 20px;
  }
  .about-section>div {
    padding-bottom: 20px;
  }
  .about-section ul {
    line-height: 1.5;
    list-style-type: square;
  }
  .initiative{
    padding: 0 20px;
  }
  .project-wrapper {
    display: flex;
    flex-wrap: wrap;
    padding: 20px 0;
    justify-content: center;
  }
  .project-card {
    margin-bottom: 20px;
    width: 90%;
  }
  .sliding-section {
    justify-content: center;
    margin-bottom: 30px;
  }
  .leader-gallery {
    padding: 0 20px;
  }
  .leader-gallery>div {
    margin-bottom: 40px;
    text-align: center;
  }
  .msg-body{
    margin: 0 30px;
    margin-bottom: 40px;
  }
  .main-footer {
    padding: 20px;
  }
}
