* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #ffff;
}

/* Tablets */
@media (max-width: 1200px) {
  html {
    font-size: 15px;
  }
}

/* Small tablets and large phones */
@media (max-width: 992px) {
  html {
    font-size: 14px;
  }
}

/* Phones */
@media (max-width: 768px) {
  html {
    font-size: 13px;
  }
}

/* Very small devices */
@media (max-width: 480px) {
  html {
    font-size: 12px;
  }
}

.fade-in-animation {
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  filter: blur(4px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1s cubic-bezier(0.22, 1, 0.36, 1),
    filter 1s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform, filter;
}

.fade-in-animation.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.left-slide-in-animation {
  transform: translateX(-300px);
  transition: transform 1s ease;
}

.left-slide-in-animation.show {
  transform: translateX(0px);
}

.right-slide-in-animation {
  transform: translateX(300px);
  transition: transform 1s ease;
}

.right-slide-in-animation.show {
  transform: translateX(0px);
}

/* Nav Bar  */

.nav-header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
}

.nav-header .header-strip {
  background: #183b6e;
  display: flex;
  justify-content: space-between;
  height: 2.5rem;
  align-items: center;
  padding: 0 0.75rem;
}

.nav-header .header-strip .left-side {
  display: flex;
  gap: 0.75rem;
}

.nav-header .header-strip .left-side a {
  text-decoration: none;
}

.nav-header .header-strip .right-side {
  display: flex;
  gap: 1rem;
}

.nav-header .header-strip .right-side .content {
  color: #fff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-header .header-strip .right-side button {
  height: 2.5rem;
  background-color: transparent;
  border: none;
  outline: 0;
  color: #fff;
  font-weight: 700;
  padding-left: 1rem;
  border-left: 2px solid #4f689b;
}

.nav-bar-container {
  background-color: #fff;
  color: #000000;
  box-shadow: 0px 0px 47px -34px rgb(0 0 0);
  display: flex;
  justify-content: center;
  height: 90px;
  width: 100%;
}

.nav-bar {
  display: flex;
  align-items: center;
  max-width: 1200px;
  gap: 3rem;
  width: 100%;
  padding: 1rem 4rem;
}

.nav-bar .logo-container {
  width: auto;
  height: 100%;
}

.nav-bar .logo {
  width: auto;
  height: 100%;
}

.nav-bar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 0;
  min-width: 425px;
}

.nav-bar ul li {
  position: relative;
}

.nav-bar ul li::before {
  content: "";
  position: absolute;
  width: 0%;
  height: 100%;
  border-bottom: 3px solid #183b6e;
  left: 0;
  bottom: 0;
  transition: width 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.nav-bar ul li:hover::before {
  width: 100%;
}

.nav-bar ul .active::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-bottom: 3px solid #183b6e;
  left: 0;
  bottom: 0;
}

.nav-bar ul li a {
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  color: #000000;
  padding: 18px 8px;
  display: block;
  position: relative;
  z-index: 2;
}

.nav-bar .search-container {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
}

.nav-bar .search-container button {
  position: absolute;
  background-color: transparent;
  margin-left: 0.75rem;
  width: 1.2rem;
  height: 1.2rem;
  outline: none;
  border: 0;
}

.nav-bar .search-container svg {
  fill: #00000066;
  width: 1.2rem;
  height: 1.2rem;
}

.nav-bar .search-container input {
  width: 100%;
  background-color: #f0f0f0;
  padding: 12px 8px;
  padding-left: 2.5rem;
  font-size: 1rem;
  font-weight: 400;
  outline: 0;
  border: 0;
  border-radius: 100px;
  color: #000000a3;
}

.nav-bar .search-container input::placeholder {
  color: #00000066;
}

/* nav bar small screen*/
.nav-bar-sm-container {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #00000024;
}

.nav-bar-sm {
  padding: 1rem;
  height: 100%;
  width: 200px;
  background-color: #ffffff;
  animation: nav-bar-sm 0.4s ease forwards;
}

@keyframes nav-bar-sm {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.nav-bar-sm ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
  margin: 0;
}

.nav-bar-sm ul li {
  padding: 8px 12px;
}

.nav-bar-sm ul li a {
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  color: #000000;
}

.nav-bar-sm .nav-close-btn {
  display: flex;
}

.nav-bar-sm .nav-close-btn button {
  background-color: transparent;
  border: 0;
  outline: 0;
  margin: 0 0 0 auto;
}

.nav-bar-open-btn-sm {
  display: none;
}

/* media query */
@media (min-width: 1500px) {
  .nav-bar {
    max-width: 1400px;
  }
}

@media (max-width: 800px) {
  .nav-bar ul {
    display: none;
  }

  .nav-bar-sm-container.show {
    display: block;
  }

  .nav-bar-open-btn-sm {
    display: block;
  }

  .nav-bar {
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem;
    flex-direction: column;
  }

  .nav-bar-container {
    height: 140px;
  }

  .nav-bar-container .logo-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 70px;
  }
}

@media (max-width: 550px) {
  .nav-header .header-strip {
    display: none;
  }
}

/* sec-1 */
.sec-1 {
  margin-top: calc(90px + 2.5rem);
  padding: 3rem;
}

.sec-1 h2 {
  margin-bottom: 1rem;
  color: #4d4d4d;
  font-weight: 600;
}

.sec-1 .news-image {
  width: 100%;
  height: auto;
  border-radius: 16px;
  margin-bottom: 1rem;
}

.sec-1 .details {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-bottom: 2rem;
}

.sec-1 .details span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-size: 1rem;
}

.sec-1 .details span svg {
  width: 1rem;
  height: 1rem;
}

.sec-1 .description {
  font-size: 1rem;
  line-height: 1.6rem;
  margin-bottom: 1rem;
}

@media (max-width: 800px) {
  .sec-1 {
    margin-top: calc(140px + 2.5rem);
  }
}

@media (max-width: 550px) {
  .sec-1 {
    margin-top: 140px;
  }
}

/* footer  */
.footer {
  width: 100%;
  padding: 1rem;
}

.footer-container {
  width: 100%;
  max-width: unset;
  margin: 0 auto;
  padding: 2rem 1rem;
  background-color: #f0f0f0;
  display: flex;
  border-radius: 12px;
}

.footer-container .grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  width: 100%;
  padding: 2rem 0rem;
}

.footer-container .logo {
  width: 300px;
  min-width: 300px;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-container .logo img {
  width: 200px;
  height: auto;
}

.footer-container .grid-container h6 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  color: #323232;
}

.footer-container .grid-container .list {
  width: 100%;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0.8rem;
  display: block;
  text-decoration: none;
  color: #323232;
  transform: translateX(0);
  transition: all 0.3s ease-in-out;
}

.footer-container .grid-container .list:hover {
  transform: translateX(5px);
}

.footer-container .grid-container p {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0.2rem;
  color: #323232;
}

.footer-container .grid-container .icon-container {
  display: flex;
  gap: 0.6rem;
}

.footer-container .grid-container .icon-container .icon {
  background-color: #323232;
  width: 2rem;
  height: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  text-decoration: none;
  transform: scale(1);
  transition: all 0.3s ease-in-out;
}

.footer-container .grid-container .icon-container .icon:hover {
  transform: scale(1.1);
}

.footer-container .grid-container .icon-container .icon img {
  width: 1rem;
  height: 1rem;
}

.footer .copy-right {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  text-align: center;
  color: #00000099;
  font-weight: 400;
}

@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    padding: 3rem;
  }

  .footer-container .logo {
    width: 100%;
  }

  .footer-container .grid-container {
    text-align: center;
  }

  .footer-container .grid-container .icon-container {
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 450px) {
  .footer-container .logo {
    min-width: 100%;
  }

  .footer-container .logo img {
    width: 100%;
    height: auto;
  }

  .footer-container .grid-container {
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    gap: 1.5rem;
  }
}
