/* font */
@font-face {
  font-family: Vazirmatn;
  src: url("../assets/fonts/Vazirmatn-Thin.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url("../assets/fonts/Vazirmatn-ExtraLight.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url("../assets/fonts/Vazirmatn-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url("../assets/fonts/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url("../assets/fonts/Vazirmatn-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url("../assets/fonts/Vazirmatn-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url("../assets/fonts/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url("../assets/fonts/Vazirmatn-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url("../assets/fonts/Vazirmatn-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
body {
  font-family: vazirmatn, sans-serif;
}

/* Normalize */
* {
  direction: rtl;
  text-align: right;
}
a:hover {
  color: #000;
}
a {
  text-decoration: none;
  font-size: 15px;
  color: #000;
}
p {
  margin: 0;
}

/* UTILITIES */
.line_hover:after {
  content: "";
  width: 0;
  height: 2px;
  background-color: #000;
  border-radius: 4px;
  display: inline-block;
  position: absolute;
  bottom: -3px;
  right: 0;
  transition: 1s;
}
.line_hover:hover:after {
  width: 100%;
}
.line_hover_white:after {
  content: "";
  width: 0;
  height: 2px;
  background-color: #fff;
  border-radius: 4px;
  display: inline-block;
  position: absolute;
  bottom: -3px;
  right: 0;
  transition: 1s;
}
.line_hover_white:hover:after {
  width: 90%;
}
body {
  background-color: #f5f5f5;
}
.container {
  width: 75%;
  margin: auto;
}
@media (max-width: 767.98px){
  #news_container{
    justify-content: center;
  }
}
.footer_container {
  width: 85%;
  margin: auto;
  height: 80px;
  align-content: center;
}

/* NAVBAR */
.navbar_background_image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 0;
}
nav .navbar_wrapper .navbar_right {
  position: relative;
}
nav .navbar_wrapper .navbar_right .nav {
  padding-top: 25px;
}
nav .navbar_wrapper .navbar_right .nav a {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  position: relative;
  cursor: pointer;
}
@media (max-width: 991.98px) {
  nav .navbar_wrapper .navbar_right .nav {
    display: none;
  }
}
nav .navbar_wrapper .navbar_right .ofcanvas_top {
  display: none;
  margin: 30px 30px 0 0;
}
.offcanvas,
.offcanvas-lg,
.offcanvas-md,
.offcanvas-sm,
.offcanvas-xl,
.offcanvas-xxl {
  --bs-offcanvas-height: 80vh;
}
.offcanvas .offcanvas-header .offcanvas-title button {
  border: none;
  background-color: #fff;
  font-size: 30px;
}
.offcanvas .offcanvas-header .offcanvas_home_logo img {
  width: 70px;
}
.offcanvas .offcanvas-body {
  margin-top: 20px;
}
.offcanvas .offcanvas-body .offcanvas_body_list {
  display: flex;
  flex-direction: column;
  list-style: none;
  align-items: center;
  gap: 30px;
}
.offcanvas .offcanvas-body .offcanvas_body_list li a {
  font-size: 28px;
  cursor: pointer;
}
nav .navbar_wrapper .navbar_right .ofcanvas_top .ofcanvas_top_button {
  border: none;
  padding: 0;
  background-color: initial;
}
nav .navbar_wrapper .navbar_right .ofcanvas_top .ofcanvas_top_button i {
  font-size: 25px;
}
@media (max-width: 991.98px) {
  nav .navbar_wrapper .navbar_right .ofcanvas_top {
    display: block;
  }
}
nav .navbar_wrapper .navbar_left {
  position: relative;
  padding: 10px 0 10px 60px;
}
nav .navbar_wrapper .navbar_left .home_logo img {
  width: 80px;
}
@media (max-width: 991.98px) {
  nav .navbar_wrapper .navbar_left {
    padding: 10px 0 10px 25px;
  }
}
@media (max-width: 767.98px) {
  nav .navbar_wrapper .navbar_left {
    padding: 10px 0 10px 25px;
  }
}
@media (max-width: 575.98px) {
  nav .navbar_wrapper .navbar_left {
    padding: 10px 0 10px 15px;
  }
}
@media (max-width: 991.98px) {
  nav .navbar_wrapper .navbar_left .home_logo img {
    width: 60px;
  }
}

/* Title Styling */
.news_title_wrapper .news_title {
  margin-top: 90px;
  font-size: 43px;
  font-weight: 750;
  color: #161048;
}
@media (max-width: 991.98px) {
  .news_title_wrapper .news_title {
    font-size: 36px;
  }
}
.news_paragraph {
  margin: 10px 0 30px 0;
  color: #767676;
  text-align: center;
}

/* News Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Default: 4 columns */
  gap: 20px;
  justify-content: center;
}

@media (max-width: 1199.98px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 columns for medium screens */
  }
}

@media (max-width: 767.98px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for small screens */
  }
}

@media (max-width: 575.98px) {
  .news-grid {
    grid-template-columns: 1fr; /* 1 column for extra small screens */
  }
}

.news_box_col {
  width: 100%;
}

.news_box {
  display: flex;
  flex-direction: column;
  height: 300px;
}

.news_box .news_box_paragraph_wrapper {
  background-color: #fff;
  height: 50%;
  padding: 25px;
}

.news_box .news_box_paragraph_wrapper .news_box_paragraph {
  font-size: 19px;
  font-weight: 630;
  color: #161048;
}

@media (max-width: 1199.98px) {
  .news_box .news_box_paragraph_wrapper .news_box_paragraph {
    font-size: 16px;
  }
}

@media (max-width: 767.98px) {
  .news_box .news_box_paragraph_wrapper .news_box_paragraph {
    font-size: 14px;
  }
}

.news_box .news_box_image_wrapper {
  height: 50%;
  width: 100%;
  position: relative;
}

.news_box .news_box_image {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background-position: center;
  background-size: cover;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}

.prev-btn,
.next-btn {
  padding: 6px 13px;
  border: none;
  background-color: #f5f5f5;
}

.btn {
  margin: 0 5px;
  padding: 6px 13px;
  border-radius: 50%;
}

.btn.active {
  background-color: #007d7d;
  color: white;
}

/* footer section */
.blue_section {
  height: 80px;
  background-color: #161048;
}
footer {
  background-color: rgb(0, 114, 134);
}
footer #contact_us .contact_us_title_wrapper {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}
footer #contact_us .contact_us_title_wrapper .contact_us_title {
  margin-top: 20px;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}
footer #contact_us .contact_us_number_wrapper {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
footer #contact_us .contact_us_number_wrapper i {
  font-size: 25px;
  color: rgb(99, 157, 214);
}
footer #contact_us .contact_us_number_wrapper .contact_us_number {
  color: #fff;
}
footer .home_logo_img_wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 250px;
}
footer .home_logo_img_wrapper .home_logo_img {
  position: relative;
}
footer .home_logo_img_wrapper .home_logo_img img {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
@media (max-width: 767.98px) {
  footer .home_logo_img_wrapper .home_logo_img img {
    width: 260px;
  }
}
/* privacy policy */
.privacy_policy_wrapper {
  align-content: center;
  background-color: unset;
}
@media (max-width: 767.98px) {
  .privacy_policy_wrapper {
    margin-top: 30px;
  }
}
.privacy_policy_wrapper .privacy_policy_description {
  font-weight: 600;
  color: #757575;
  margin: 0;
}
.social_icon_wrapper {
  display: flex;
  justify-content: end;
}
.social_icon_wrapper .social_icon {
  display: flex;
  column-gap: 6px;
}
.social_icon_wrapper .social_icon li {
  font-size: 26px;
  align-content: center;
}
@media (max-width: 767.98px) {
  .social_icon_wrapper {
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 30px;
  }
}
