@import url("https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-size: 18px;
  overflow-x: hidden !important;
  text-transform: capitalize;
}

a {
  text-decoration: none !important;
}

li {
  list-style-type: none;
}

ul {
  padding: 0 !important;
  margin: 0 !important;
}

body img {
  max-width: 100%;
}

/* old bg color:#496989 */
:root {
  --bg-color: #2d4966;
  --font-family1: "jost", sans-serif;
  --font-family: "Poppins", sans-serif;
}

p {
  margin-bottom: 0 !important;
}

/* 496989 */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 0 !important;
}

/* -------------------------------------------------

                        LOADER
-----------------------------------------------------*/

#pre_loader {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loaded {
  visibility: hidden;
  opacity: 0;
}

.loader {
  width: 50px;
  height: 50px;
  border: 7px double;
  border-color: var(--bg-color) transparent;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: spin13213 2s linear infinite;
}

.loader div {
  width: 50%;
  height: 50%;
  background-color: var(--bg-color);
  border-radius: 50%;
}

@keyframes spin13213 {
  to {
    transform: rotate(360deg);
  }
}

/* ---------------------------------------------
                      Header
  ------------------------------------------------*/
header {
  z-index: 99;
  padding: 10px 0;
  width: 100%;
  background-color: var(--bg-color);
}

.sticky {
  top: 0px;
  position: fixed !important;
  width: 100%;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .logo img {
  width: 200px;
}

nav .menu_part ul {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav .menu_part ul li a {
  font-family: var(--font-family1);
  color: #fff;
  font-size: 16px;
  font-weight: 400;
}

.humberger {
  display: none;
  color: #fff;
  font-size: 25px;
  cursor: pointer;
}

nav .menu_item {
  position: relative;
}

.drop_down {
  gap: 10px !important;
  flex-direction: column;
  align-items: start !important;
  padding: 15px !important;
  width: 250px;
  background-color: #fff;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  position: absolute;
  top: 50px;
  opacity: 0;
  visibility: hidden;
  transition: 0.5s all;
  z-index: 9;
}

nav .menu_item:hover .drop_down {
  opacity: 1;
  visibility: visible;
  transform: translateY(-5px);
}

nav .menu_item ul li a {
  color: black !important;
}

.close_icon {
  display: none;
}

.close_icon i {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: var(--bg-color);
  color: #fff;
}

/* ---------------------------------------------
                      footer
  ------------------------------------------------*/
.same_section {
  margin-top: 100px;
}

.footer_part {
  background-color: var(--bg-color);
  padding: 50px 0px 20px 0;
}

.footer_part .links h3 {
  font-family: var(--font-family1);
  margin-bottom: 20px !important;
}

.footer_logo a img {
  width: 200px;
}

.footer_part p {
  color: #fff;
  font-family: var(--font-family);
  font-size: 14px;
}

.footer_contact .connect {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #fff;
  font-weight: 500;
  padding: 8px 0;
  font-size: 14px;
}

.footer_contact .connect i {
  font-size: 20px;
}

.footer_contact .connect h6 {
  margin-bottom: 0;
  font-family: var(--font-family1);
  text-transform: lowercase !important;
}

.links h3 {
  font-family: var(--font-family1);
  color: #fff;
  font-size: 24px;
}

.links ul li {
  padding: 6px 0;
  color: #fff;
}

.links ul li a {
  font-family: var(--font-family1);
  color: #fff;
  font-size: 16px;
  transition: 0.3s;
}

.links .social {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.links .social i {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: #fff;
  color: var(--bg-color);
  font-size: 20px;
  transition: 0.4s;
}

.footer_part .sec_padding {
  padding-left: 40px;
}

.footer_top {
  margin-bottom: 20px !important;
}

.footer_bottom {
  padding-top: 20px;
  border-top: 1px solid #fff;
  text-align: center;
}

/* ........................................
        Brif Introduction
.........................................*/

/* .left_image_part img {
  width: 70%;
} */

.left_image_part img {
  width: 100%;
  border-radius: 10px;
}

.title h2 {
  font-family: var(--font-family);
  margin-bottom: 20px !important;
}

.right_text_part p {
  font-size: 18px;
  font-family: 600;
  font-family: var(--font-family1);
  color: gray;
  margin-bottom: 15px !important;
}

.right_text_part span {
  font-weight: bold;
  color: black !important;
}

.right_text_part h4 {
  margin: 20px 0 20px 0 !important;
  text-align: center;
  font-weight: bold;
  font-family: var(--font-family);
}

/* ........................................
                 E-book
.........................................*/

.activity_img1 {
  width: 100%;
  /* height: 490px; */
  height: 370px;
  object-fit: cover;
  object-position: top center;
}

.ebook_box .btn_ebook a {
  color: #008dda;
  display: flex;
  gap: 15px;
  align-items: center;
  width: 160px;
  text-transform: uppercase;
  font-family: var(--font-family1);
  font-size: 13px;
  font-weight: 500;
  transition: 0.4s;
}

.ebook_box .btn_ebook a:hover {
  gap: 18px;
}

.ebook_box .btn_ebook a i {
  font-size: 12px;
}

.ebook_box {
  border: 1px solid #dadada;
  height: 100%;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.ebook_box .title h2 {
  font-family: var(--font-family);
  font-size: 20px;
  font-weight: bold;
}

.kavita .title h2 {
  margin-bottom: 0 !important;
}

.text_part_ebook {
  padding: 10px 15px;
}

/* ........................................
                 About
.........................................*/

.about_right .image_part img {
  width: 100%;
  height: 100%;
}

.about_right {
  box-shadow: 10px 10px var(--bg-color);
}

.about_left p {
  font-size: 18px;
  font-family: var(--font-family1);
  color: gray;
  margin-bottom: 15px !important;
}

.about_left span {
  font-size: 16px;

  font-family: var(--font-family);
  font-weight: bold;
  margin-bottom: 15px !important;
}

.about_left ul {
  margin-top: 15px !important;
  column-count: 3;
}

.about_left ul li {
  padding: 15px 0;
}

.about_left ul li a {
  font-size: 16px;
  font-weight: 500;
  color: #7aa2e3;
  border-bottom: 1px solid;
}

/* ........................................
                 Bio
.........................................*/

.bio_box {
  border-radius: 5px;
  background-color: #fff;
  padding: 20px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.bio_box .title {
  margin-bottom: 25px;
  border-bottom: 1px solid #dadada;
}

.bio_box .title h2 {
  text-align: center;
}

.bio_box h5 {
  font-size: 18px;
  font-family: var(--font-family);
  font-weight: bold;
}

.personal_div,
.address,
.family_info {
  margin: 25px 0;
}

.table span {
  font-size: 16px;
  font-family: var(--font-family1);
  font-weight: 600;
}

.table p {
  font-size: 16px;
  font-family: var(--font-family1);
  color: gray;
  font-weight: 500;
}

.personal_left {
  display: flex;
  align-items: center;
  gap: 30px;
}

.email_p {
  text-transform: lowercase !important;
}

/* ........................................
                 Contribution
.........................................*/

.contribution_box {
  border-radius: 5px;
  background-color: #fff;
  padding: 20px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.contribution_box .titles h2 {
  text-align: center;
  font-family: var(--font-family);
  margin-bottom: 25px !important;
  padding-bottom: 10px;
  border-bottom: 1px solid #dadada;
}

.contribution_box p {
  font-size: 16px;
  font-family: var(--font-family1);
  font-weight: 400;
  margin-bottom: 15px !important;
  color: gray;
}

.contribution_box strong {
  color: #000;
  font-weight: 600 !important;
}

.contribution_box h5 {
  margin: 40px 0 !important;
  font-size: 20px;
  font-weight: bold;
  font-family: var(--font-family);
}

.contribution_box span {
  font-weight: 600;
  color: #000;
}

.contribution_box ul {
  column-count: 2;
}

.contribution_box h6 {
  font-size: 18px;
  font-family: var(--font-family1);
  margin: 40px 0 !important;
}

/* ........................................
                 Achievements
.........................................*/

.achievement_right img {
  border-radius: 10px;
}

.achievement_left p,
.achieve_other p {
  font-size: 18px;
  font-family: var(--font-family1);
  color: gray;
  margin-bottom: 15px !important;
}

.achieve_other {
  margin-top: 30px;
}

.achieve_other h2 {
  font-family: var(--font-family);
  margin-bottom: 20px !important;
}

.achievement_right .image_part img {
  width: 100%;
  height: 100%;
}

/* ........................................
                 Gallery
.........................................*/

.gallery_box {
  text-align: center;
  border: 2px solid #dadada;
  padding: 5px;
  height: 100%;
}

.gallery_box .image_part img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: top center;
}

.gallery_box .image_part {
  margin-bottom: 10px;
}

.gallery_box p {
  color: black;
  font-family: var(--font-family);
  font-weight: bold;
}

.sub_image {
  border: none;
  padding: none;
}

/* home page */

/* home about */
.home_text_part p {
  font-size: 18px;
  font-family: var(--font-family1);
  color: gray;
  margin-bottom: 15px !important;
}

.btn_color {
  background-color: var(--bg-color) !important;
  border-color: var(--bg-color) !important;
  font-family: var(--font-family);
  font-weight: bold;
}

.home_video_part video {
  width: 100%;
}

/* home book part */
.titles h2 {
  font-family: var(--font-family);
  font-weight: 600;
  text-align: center;
}

.home_up_margin {
  margin-top: 50px !important;
}

.home_book_box {
  height: 100%;
  border-radius: 10px;
  border: 1px solid #dadada;
}

.home_book_box .image_part img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: top center;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.home_book_box p {
  padding: 10px 15px;
  font-family: var(--font-family1);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

/* home video */

.video_section iframe {
  width: 100%;
  height: 400px;
}

.video_section1 .image_part img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center;
}

.video_section1 .image_part {
  position: relative;
}

.video_section1 .y_icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video_box {
  display: none;
  margin-bottom: 20px;
}

.video_section1 .y_icon i {
  width: 60px;
  height: 60px;
  background-color: #fff;
  font-size: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #000;
}

.modal-header {
  border: 0 !important;
}

.modal-body {
  padding-top: 0 !important;
}

.modal-body iframe {
  width: 100%;
  height: 500px;
}

/* last section */

.last_section .bottom_box {
  border-radius: 10px;
  padding: 20px;
  background-color: #fff;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  text-align: center;
  margin-bottom: 20px;
}

.last_section .bottom_box .image_part {
  margin-bottom: 15px;
}

.last_section .bottom_box h4 {
  font-family: var(--font-family);
  /* color: rgb(173, 173, 173); */
  color: black;
  font-weight: 400;
}

/* home page */

/* breadcrumb */
.top_div {
  margin-top: 40px;
}

.breadcrumb_outer {
  border-bottom: 1px solid #dadada;
}

.breadcrumb li {
  font-size: 25px;
  font-family: var(--font-family1);
  font-weight: 600;
}

.breadcrumb li a {
  color: black;
}

.breadcrumb-item.active {
  color: gray !important;
}

/* muje bhi kuchh hehna hai */

.sub_videos iframe {
  width: 100%;
  height: 250px;
}

.subscribe {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #dadada;
  text-align: center;
}

.subscribe a {
  color: #7aa2e3;
  border-bottom: 1px solid #7aa2e3;
  font-weight: 600;
}

/* contribution */

.contribution_div .contribution_box1 {
  text-align: center;
  height: 100%;
  border-radius: 5px;
  background-color: #fff;
  padding: 20px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.contribution_div .contribution_box1 h4 {
  font-family: var(--font-family);
}

.contribution_div .contribution_box1 p {
  font-family: var(--font-family1);
  margin: 15px 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 3;
  color: gray;
}

.contribution_box1 a {
  margin-top: 20px;
}

.sub_video_div .image_part img {
  width: 100%;
}

.herlo_slider {
  margin-top: 50px;
}

.titles {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.sub_images{
  display: none;
  margin-bottom: 20px;
}

/* animated */
.title_bdr {
  position: relative;
  width: 150px;
  margin-bottom: 40px;
}

.left_bdr,
.right_bdr {
  height: 6px;
  width: 60px;
  background-color: #e1e7f7;

  border-radius: 10px;
  position: absolute;
}

.left_bdr {
  left: 0px;
  animation: left 2s infinite;
  background-color: #79a1c9;
  /* background-color: #dbdbdb; */
}

.right_bdr {
  right: 0px;
  animation: right 2s infinite;
}

@keyframes left {

  0%,
  100%,
  50% {
    width: 60px;
  }

  25% {
    width: 120px;
  }

  75% {
    width: 10px;
  }
}

@keyframes right {

  0%,
  100%,
  50% {
    width: 60px;
  }

  25% {
    width: 10px;
  }

  75% {
    width: 120px;
  }
}

/* change language */

.switch {
  position: relative;
  display: inline-block;
  width: 85px;
  height: 34px;
}

.switch input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: var(--bg-color);
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked+.slider {
  background-color: #fff;
}

input:focus+.slider {
  box-shadow: 0 0 1px #fff;
}

input:checked+.slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(50px);
}

.slider:after {
  content: "ગુજ";
  color: var(--bg-color);
  display: block;
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  right: 10px;
  font-size: 13px;
  font-family: var(--font-family);
  font-weight: 600;
}

input:checked+.slider:after {
  content: "Eng";
  left: 40px;
  transition: 0.4s;
  -webkit-transition: 0.4s;
}

.hindi {
  display: none;
}

input:checked~.hindi {
  display: block;
}

.last_head_div {
  display: flex;
  align-items: center;
  gap: 20px;
}

.toggle_btn select {
  padding: 3px 5px;
  font-family: var(--font-family1);
  font-weight: 500;
}

.toggle_btn select:focus {
  box-shadow: none !important;
  border: none !important;
  outline: none !important;
}

.toggle_btn h5 {
  font-size: 16px;
  color: #fff;
  font-family: var(--font-family1);
}

.toggle_btn h5 span {
  cursor: pointer;
}

/* ----- pagination ------------ */
/* Custom Pagination Styles */
.custom_pagination {
  margin-top: 40px;
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pagination_wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.page_numbers {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Pagination Buttons */
.page_btn,
.page_num {
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #e0e0e0;
  background: #ffffff;
  color: #333333;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
  padding: 0 12px;
  outline: none;
}

.page_btn:hover,
.page_num:hover {
  border-color: #007bff;
  background: #f0f7ff;
  color: #007bff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.page_btn:active,
.page_num:active {
  transform: translateY(0);
}

/* Active Page */
.page_num.active {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: #ffffff;
  border-color: #007bff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.25);
}

.page_num.active:hover {
  background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
  transform: translateY(-2px);
}

/* Previous/Next Buttons */
.prev_btn,
.next_btn {
  font-weight: 600;
  padding: 0 10px;
}

.prev_btn svg,
.next_btn svg {
  display: block;
}

/* Dots */
.page_dots {
  color: #999999;
  font-size: 18px;
  font-weight: 600;
  padding: 0 5px;
  display: flex;
  align-items: center;
}

/* Loading Spinner */
.loading_spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
  width: 100%;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Video View Styling with Lazy Loading */
.video_view {
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #000000;
  position: relative;
  aspect-ratio: 16 / 9;
}

.video_view:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Video Thumbnail Container */
.video_thumbnail {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
  overflow: hidden;
  background: #000;
}

.thumbnail_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.video_thumbnail:hover .thumbnail_img {
  transform: scale(1.05);
}

/* Play Button */
.play_button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  transition: all 0.3s ease;
  pointer-events: none;
}

.video_thumbnail:hover .play_button {
  transform: translate(-50%, -50%) scale(1.1);
}

.play_button svg {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  transition: all 0.3s ease;
}

.video_thumbnail:hover .play_button svg {
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.5));
}

/* Video Iframe Container */
.video_iframe_container {
  position: relative;
  width: 100%;
  height: 100%;
}

.video_iframe_container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* No Video Message */
.no_video_message {
  color: #666666;
  font-size: 18px;
  padding: 40px 20px;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {

  .page_btn,
  .page_num {
    min-width: 36px;
    height: 36px;
    font-size: 14px;
    padding: 0 10px;
  }

  .custom_pagination {
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .pagination_wrapper {
    gap: 6px;
  }

  .page_numbers {
    gap: 6px;
  }

  .video_view {
    margin-bottom: 15px;
  }

  .play_button svg {
    width: 56px;
    height: 40px;
  }
}

@media (max-width: 480px) {

  .page_btn,
  .page_num {
    min-width: 32px;
    height: 32px;
    font-size: 13px;
    padding: 0 8px;
  }

  .pagination_wrapper {
    gap: 4px;
  }

  .page_numbers {
    gap: 4px;
  }

  .video_view {
    margin-bottom: 12px;
  }

  .play_button svg {
    width: 48px;
    height: 34px;
  }
}

/* Skeleton Loading Effect (Optional) */
.video_view.loading {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}


/* Custom Pagination Styles for Reels */
.custom_pagination_reels {
  margin-top: 40px;
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.custom_pagination_reels .pagination_wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.custom_pagination_reels .page_numbers {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Pagination Buttons for Reels */
.page_btn_reels,
.page_num_reels {
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #e0e0e0;
  background: #ffffff;
  color: #333333;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
  padding: 0 12px;
  outline: none;
}

.page_btn_reels:hover,
.page_num_reels:hover {
  border-color: #007bff;
  background: #f0f7ff;
  color: #007bff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.page_btn_reels:active,
.page_num_reels:active {
  transform: translateY(0);
}

/* Active Page for Reels */
.page_num_reels.active {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: #ffffff;
  border-color: #007bff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.25);
}

.page_num_reels.active:hover {
  background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
  transform: translateY(-2px);
}

/* Previous/Next Buttons for Reels */
.prev_btn_reels,
.next_btn_reels {
  font-weight: 600;
  padding: 0 10px;
}

.prev_btn_reels svg,
.next_btn_reels svg {
  display: block;
}

/* Reels View Styling with Lazy Loading */
.muje_reels {
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #000000;
  position: relative;
  aspect-ratio: 9 / 16;
  /* Vertical aspect ratio for reels */
}

.muje_reels:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Reel Thumbnail Container */
.reel_thumbnail {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
  overflow: hidden;
  background: #000;
}

.reel_thumbnail .thumbnail_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.reel_thumbnail:hover .thumbnail_img {
  transform: scale(1.05);
}

/* Play Button for Reels */
.reel_thumbnail .play_button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  transition: all 0.3s ease;
  pointer-events: none;
}

.reel_thumbnail:hover .play_button {
  transform: translate(-50%, -50%) scale(1.1);
}

.reel_thumbnail .play_button svg {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  transition: all 0.3s ease;
}

.reel_thumbnail:hover .play_button svg {
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.5));
}

/* Reel Iframe Container */
.reel_iframe_container {
  position: relative;
  width: 100%;
  height: 100%;
}

.reel_iframe_container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* No Reel Message */
.no_reel_message {
  color: #666666;
  font-size: 18px;
  padding: 40px 20px;
  text-align: center;
}

/* Responsive Design for Reels */
@media (max-width: 768px) {

  .page_btn_reels,
  .page_num_reels {
    min-width: 36px;
    height: 36px;
    font-size: 14px;
    padding: 0 10px;
  }

  .custom_pagination_reels {
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .custom_pagination_reels .pagination_wrapper {
    gap: 6px;
  }

  .custom_pagination_reels .page_numbers {
    gap: 6px;
  }

  .muje_reels {
    margin-bottom: 15px;
  }

  .reel_thumbnail .play_button svg {
    width: 56px;
    height: 40px;
  }
}

@media (max-width: 480px) {

  .page_btn_reels,
  .page_num_reels {
    min-width: 32px;
    height: 32px;
    font-size: 13px;
    padding: 0 8px;
  }

  .custom_pagination_reels .pagination_wrapper {
    gap: 4px;
  }

  .custom_pagination_reels .page_numbers {
    gap: 4px;
  }

  .muje_reels {
    margin-bottom: 12px;
  }

  .reel_thumbnail .play_button svg {
    width: 48px;
    height: 34px;
  }
}

/* Skeleton Loading Effect for Reels */
.muje_reels.loading {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}