/* Google Font CDN Link */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  scroll-behavior: smooth;
}

/* Custom Scroll Bar CSS */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #125179;
  border-radius: 12px;
  transition: all 0.3s ease;

}

::-webkit-scrollbar-thumb:hover {
  background: #0E2431;
}

/* navbar styling */
nav {
  width: 100%;
  padding: 20px 0;
  z-index: 998;
  transition: all 0.3s ease;
  font-family: 'Ubuntu', sans-serif;
  background: #125179;
}

nav .navbar {
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
}

nav .navbar .logo a {
  font-weight: 500;
  font-size: 35px;
  color: white;
}

nav .navbar .menu {
  display: flex;
  position: relative;
}

nav .navbar .menu li {
  list-style: none;
  margin: 0 15px;
}

.navbar .menu a {
  font-size: 22px;
  font-weight: 500;
  color: white;
  padding: 6px 0;
  transition: all 0.4s ease;
}

.navbar .menu a:hover {
  color: #c56902;
}

.navbar .media-icons a {
  color: white;
  font-size: 18px;
  margin: 0 6px;
}

.navbar.active {
  position: fixed;
  width: 250px;
  background-color: #125179;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.navbar.active .logo {
  display: none;
}

.navbar.active .menu {
  left: 0;
  top: 0;
  max-width: 8em;
  padding-top: 60px;
}

.navbar.active .menu a {
  color: #ecf0f1;
}

.navbar.active .menu a:hover {
  color: #155365;
}

.navbar.active .media-icons {
  display: flex;
  justify-content: center;
  /*margin-top: 20px;*/
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
}

.navbar.active .media-icons a {
  color: white;
  font-size: 18px;
  margin: 0 6px;
}

/* Section Styling */
/* For elements where we have to apply the same styling
we select the 'Section' type then the specific 'Class' */

section .content {
  width: 80%;
  margin: 40px auto;
  font-family: 'Poppins', sans-serif;
}

.about .about-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

section .title {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

section .title span {
  color: #c56902;
  font-size: 30px;
  font-weight: 600;
  position: relative;
  padding-bottom: 8px;
}

section .title span::before,
section .title span::after {
  content: '';
  position: absolute;
  height: 3px;
  width: 100%;
  background: #125179;
  left: 0;
  bottom: 0;
}

section .title span::after {
  bottom: -7px;
  width: 70%;
  left: 50%;
  transform: translateX(-50%);
}

.about .about-details .left {
  width: 45%;
}

.about .left img {
  height: 400px;
  width: 400px;
  object-fit: cover;
  border-radius: 12px;
}

.about-details .right {
  width: 55%;
}

section .topic {
  color: #0E2431;
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 10px;
}

.about-details .right p {
  text-align: justify;
  color: #0E2431;
}

section .button {
  margin: 16px 0;
}

section .button button {
  outline: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 1em;
  font-weight: 400;
  background: #125179;
  color: #fff;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.4s ease;
}

section .button button:hover {
  border-color: #125179;
  background-color: #fff;
  color: #125179;
}


/* My contact CSS */
.contact .boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 100px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact .boxes .box {
  margin: 20px 0;
  width: calc(50% - 50px);
  text-align: center;
  border-radius: 12px;
  padding: 30px 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.12);
  cursor: default;
  transition: all 0.4s ease;
}

.contact .boxes .box:hover {
  background: #125179;
  color: #fff;
}

.contact .boxes .box .icon {
  height: 50px;
  width: 50px;
  background: #125179;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  font-size: 18px;
  color: #fff;
  margin: 0 auto 10px auto;
  transition: all 0.4s ease;
}

.boxes .box:hover .icon {
  background-color: #fff;
  color: #125179;
}

.contact .boxes .box p a {
  color: black;
}

.contact .boxes .box:hover .topic,
.contact .boxes .box:hover p {
  color: #0E2431;
  transition: all 0.4s ease;
}

.contact .boxes .box:hover .topic,
.contact .boxes .box:hover p {
  color: #fff;
}

.contact .boxes .box:hover .topic,
.contact .boxes .box:hover p a {
  color: #0E2431;
  transition: all 0.4s ease;
}

.contact .boxes .box:hover .topic,
.contact .boxes .box:hover p a {
  color: #fff;
}

.boxes > a {
  display: block;
}

.boxes > a:hover {
  text-decoration: none;
  color: inherit;
}


/*Footer*/

footer {
  background: #125179;
  padding: 15px 0;
  text-align: center;
  padding: 15px 0;
  text-align: center;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  font-family: 'Poppins', sans-serif;
  z-index: 999;
}

footer .footer_ul {
  font-size: 17px;
  display: flex;
  justify-content: center;
  list-style: none;
  margin: auto;
}

.footer .footer_ul li {
  margin: 0 15px;
}

footer .footer .footer_ul a {
  font-weight: 250;
  font-size: 22px;
  padding: 6px 0;
  transition: all 0.2s ease;
  color: white;
}

footer .footer_ul a:hover {
  text-decoration: underline;
}


/* Scroll TO Top Button CSS */
.scroll-button a {
  position: fixed;
  bottom: 20px;
  right: 20px;
  color: #fff;
  background: #125179;
  padding: 7px 12px;
  font-size: 18px;
  border-radius: 6px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: none;
}

/* Screen Width Media Query */
@media (max-width: 1190px) {
  section .content {
    width: 85%;
  }
}

@media (max-width: 1050px) {
  .about .about-details {
    justify-content: center;
    flex-direction: column;
  }

  .about .about-details .left {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .about-details .right {
    width: 90%;
    margin: 40px 0;
  }

  .contact .boxes .box {
    margin: 20px 0;
    width: calc(100% / 2 - 20px);
  }
}

@media (max-width: 900px) {
  .about .left img {
    height: 350px;
    width: 350px;
  }
}

@media (max-width: 750px) {
  nav .navbar {
    width: 90%;
  }

  nav .navbar .menu {
    position: fixed;
    left: -100%;
    top: 0;
    background: #125179;
    height: 100vh;
    max-width: 400px;
    width: 100%;
    padding-top: 60px;
    flex-direction: column;
    align-items: center;
    transition: all 0.5s ease;
  }

  nav .navbar .menu a {
    font-size: 23px;
    display: block;
    color: #fff;
    margin: 10px 0;
  }

  nav .navbar .media-icons {
    display: none;
  }

  nav .menu-btn,
  .navbar .menu .cancel-btn {
    display: block;
  }

  .home .text-two {
    font-size: 65px;
  }

  .home .text-three {
    font-size: 35px;
  }

  .contact .contact-details {
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .contact-details .text {
    width: 100%;
    margin-bottom: 100px;
  }

  .contact-details .boxes {
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .contact .boxes .box {
    margin: 20px 0;
    width: 100%;
  }

  .contact .text {
    width: 100%;
  }
}