* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  width: 100%;
  height: auto;
  font-family: 'Alexandria', sans-serif;
  overflow-x: hidden;
}

@font-face {
  font-family: 'Paytone One';
  src: url('./Alexandria-VariableFont_wght.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

h1,
h2,
h3,
p,
div {
  font-family: 'Alexandria', sans-serif;
}


#particles-js {
  position: relative;
  background-color: green;
  width: 100%;
  max-height: 45vh;
}

@media(max-width:768px) {
  #particles-js {
    height: 80vh;
  }
}

.particles {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  height: auto;
  width: 80%;
  z-index: 2;
  /* Ensure it is above the particles */
}

.div-text {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}


/* slider */

#notification {
  width: 100vw;
  height: 75vh;
  overflow: hidden;
}

.swiper-container {
  width: 100%;
  max-width: 800px;
  height: 500px;

  .swiper-slide-active {
    border: 2px solid green;
    background-color: rgba(126, 174, 136, 0.5);
    height: 90%;
    transition: all 1s ease-in-out;
  }

  .swiper-slide-active .slide-text-custom {
    color: green;
  }
}

.swiper-slide-custom {
  background-position: center;
  background-size: cover;
  width: 300px;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 30px;
}

.slide-img-custom {
  width: 70%;
  height: 70%;
  position: absolute;
  object-fit: cover;
  left: 50%;
  transform: translateX(-50%);
}

.slide-text-custom {
  color: black;
  padding: 10px;
  width: 100%;
  height: auto;
  text-align: center;
  font-size: 16px;
  position: absolute;
  bottom: 0;
  left: 0;
}


@media (max-width: 768px) {
  .swiper-container {
    height: 700px;
  }
}

/* vertical swiper */


#news {
  width: 100vw;
  padding: 10px;
  /* background: linear-gradient(to top right, rgba(0, 128, 0, 0.3) 30%, white 70%); */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media(max-width:768px) {
  #news {
    background-size: cover;
  }

  .slide-text-custom2 {
    font-size: 0.7rem !important;
  }

  .slide-img-custom2 {
    object-fit: cover !important;
  }
}

.swiper {
  width: 100%;
  max-width: 800px;
  height: 800px;
  float: left;
  overflow: hidden;

  .swiper-slide-active {
    background-color: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(10px);

    .slide-text-custom2 {
      display: block;
      color: white;
    }
  }
}

.swiper-slide-custom2 {
  padding: 10px;
  width: 100%;
  height: auto;
  text-align: center;
  font-size: 16px;
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: transparent !important;
  box-shadow: none !important;
  border-radius: 30px;
  overflow: hidden;
}

.slide-img-custom2 {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  transform: translateX(-50%);
  top: 0;
}


.slide-text-custom2 {
  color: black;
  padding: 10px;
  width: 50%;
  height: auto;
  text-align: center;
  font-size: 1rem;
  position: absolute;
  left: 50%;
  display: none;

}


.custom-pagination2 {
  position: absolute;
  left: 50%;
}


/* icons section */

#section-icons {
  height: 100%;
  width: 100%;
}

.icons {
  box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.5);
  border-radius: 30px;
  width: 200px;
  height: 150px;
  padding: 10px;
  flex-direction: column;
  color: black;
  margin: 10px;
}

link {
  text-decoration: none;
  color: black;
}

.icons:hover {
  .text-center {
    color: green;
  }

  background-color: rgba(161, 255, 141, 0.5);
}


footer {
  color: white;
  width: 100%;
  height: auto;
  /* min-height: 45vh; */
  background-image: url("../../images/footer_image.png");
  background-size: contain;
  background-position: center;
  overflow: hidden;
  background-repeat: no-repeat;
}

.flag {
  height: 25px;
  width: 50px;
  object-fit: fill;
}

.visitors {
  width: 100%;
  flex-direction: column;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  backdrop-filter: blur(10px);
  color: white;
}


#effect {
  background-color: #22222280;
  height: 100%;
}

@media (max-width: 768px) {
  footer {
    background-size: cover;
    /* better for mobile */
    padding: 20px 10px;
  }

  .visitors {
    margin: 10px 0;
    padding: 10px;
  }

  .calendar {
    width: 100%;
  }

  .clocks {
    margin-top: 20px;
  }
}

/* header */
.navbar {
  background-color: #1a6d1b;
  /* background-color: transparent; */
  /* University Green */
}

.navbar-brand {
  display: flex;
  align-items: center;
  color: white;
  font-weight: bold;
}

.navbar-brand span {
  font-size: 18px;
  text-wrap: wrap;
}

/* Responsive navbar brand */
@media (max-width: 1400px) {
  .navbar-brand span {
    font-size: 17px;
  }
}

@media (max-width: 1200px) {
  .navbar-brand span {
    font-size: 16px;
  }
}

@media (max-width: 992px) {
  .navbar-brand span {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .navbar-brand span {
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .navbar-brand span {
    font-size: 12px;
  }
}

.navbar-brand img {
  height: 100px;
  margin-right: 10px;
}

#navtext {
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

#navtext.hidden {
  opacity: 0;
  transform: translateY(-10px);
}

.company-logos {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 5px 0;
  flex-wrap: wrap;
}

.company-logos img {
  height: 40px;
}

.navbar-nav {
  margin: auto;
}

.nav-item a {
  color: white;
}

.right-logo img {
  height: 100px;
}

.dropdown-menu a {
  color: black;
}

.dropdown-menu {
  background-color: rgba(255, 255, 255, 0.5);
}


.dropdown-menu a:hover {
  color: white;
  background-color: #1a6d1b;
}



/* clock */
.clocks {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#clock {
  font-size: 18px;
  margin-bottom: 5px;
}

.calendar {
  background: white;
  color: black;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  text-align: center;
  width: 200px;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin-bottom: 5px;
}

.calendar-header button {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
}

.days-of-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  font-weight: bold;
  color: orange;
  font-size: 12px;
}

.days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  font-size: 12px;
}

.day {
  padding: 6px;
  border-radius: 4px;
}

.day.current {
  background: lightblue;
  font-weight: bold;
}

.day.inactive {
  color: lightgray;
}


/* start of bilim edarasy */
.header-text {
  color: white;
  font-size: 5vw;
  font-weight: 100;
  bottom: 10px;
}

.header-views {
  color: white;
  font-size: 2vw;
  font-weight: 100;
  bottom: 10px;
  right: 10px;
}


#main-information {
  padding: 10px;
  width: 100%;
  height: 100%;

  ul,
  h1,
  li,
  p {
    color: #3F4E70;
  }
}

.filter-buttons {
  position: absolute;
  right: 20px;
  top: 0;
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}

.card-footer {
  background-color: #000;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.heart-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  padding: 8px;
}

/* uniwergurlusy */
.flex-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 40vw;
  margin-bottom: 10px;

  img {
    height: 400px;
    object-fit: cover;
    border-radius: 30px;
    margin-bottom: 10px;
    box-shadow: 0px 0px 0px 0px black;
    transition: all 0.5s ease-in-out;
  }

  img:hover {
    box-shadow: 8px 8px 0px 0px rgba(0, 0, 0, 0.5);
    transition: all 0.5s ease-in-out;
  }

}

.text-button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;

  label {
    font-size: 1.5vw;
    background-image: linear-gradient(45deg, black, #005499);
    text-decoration: underline;
    background-clip: text;
  }
}

.btn-primary {
  border-radius: 30px;
  background-color: #fff;
  color: black;
  font-size: 1.5vw;
  transition: all 0.5s ease-in-out;
}

.btn-primary:hover {
  background-image: linear-gradient(45deg, #018BFD, #005499);
  color: white;
  transition: all 0.5s ease-in-out;
}

.carousel-item {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

.carousel-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.carousel-caption-custom {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  z-index: 2;
  text-align: left;
  max-width: 600px;
  background-color: transparent;
  backdrop-filter: blur(1px);
  padding: 0px 10px;
}

.carousel-caption-custom h2,
.carousel-caption-custom p {
  color: #fff;

}

.carousel-control-prev,
.carousel-control-next {
  width: auto;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #034a20;
  color: black;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
  background-size: 60% 60%;
}

#tazelikler {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background: linear-gradient(to bottom, #f4fafa, #d1ecf7);
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
}

.carousel-slide1 {
  text-align: center;
  position: relative;
}

.carousel-title1 {
  font-size: 2.5rem;
  color: #1e5b2a;
  margin-bottom: 20px;
}

.carousel-container1 {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.carousel-image-wrapper1 {
  position: relative;
  width: 500px;
  border-radius: 30px;
  overflow: hidden;
}

.carousel-image1 {
  width: 100%;
  display: block;
  border-radius: 30px;
}

.gradient-overlay1 {
  position: absolute;
  bottom: 0;
  height: 60%;
  width: 100%;
  background: linear-gradient(to top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.carousel-content1 {
  position: absolute;
  bottom: 20px;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.desc1-1 {
  font-weight: bold;
  font-size: 1.2rem;
}

.desc2-1 {
  font-weight: bold;
  font-size: 1.1rem;
  margin: 5px 0 15px 0;
}

.read-more1 {
  background-color: #2b2b84;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 10px;
  font-size: 0.8rem;
  cursor: pointer;
}

.nav-btn1 {
  background-color: rgba(0, 0, 0, 0.4);
  border: none;
  color: white;
  font-size: 24px;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  margin: 0 10px;
  transition: background 0.3s;
}

.nav-btn1:hover {
  background-color: rgba(0, 0, 0, 0.6);
}

.paginator1 {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: flex;
  gap: 8px;
}

.dot1 {
  height: 10px;
  width: 10px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.dot1.active1 {
  background-color: #333;
}


#header {
  width: 100%;
  height: 40vh;
  background-image: url("../../images/bilim_header_img.jpeg");
  background-position: center;
  position: relative;
}

.overlay {
  width: 100%;
  height: 40vh;
  position: absolute;
  background-color: rgba(0, 3, 63, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;

  h1 {
    font-size: 4vw;
    color: #fff;
  }
}

/* Tazelikler - News Page ucin stylelar has dogrusy card containerlar */

.card-img-container {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card:hover .card-img {
  transform: scale(1.05);
}

/* Custom Pagination Styles - Project Green Theme */
.pagination-custom {
  --bs-pagination-color: #04602a;
  --bs-pagination-bg: #ffffff;
  --bs-pagination-border-color: #dee2e6;
  --bs-pagination-hover-color: #ffffff;
  --bs-pagination-hover-bg: #04602a;
  --bs-pagination-hover-border-color: #04602a;
  --bs-pagination-focus-color: #ffffff;
  --bs-pagination-focus-bg: #04602a;
  --bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(4, 96, 42, 0.25);
  --bs-pagination-active-color: #ffffff;
  --bs-pagination-active-bg: #04602a;
  --bs-pagination-active-border-color: #04602a;
  --bs-pagination-disabled-color: #6c757d;
  --bs-pagination-disabled-bg: #ffffff;
  --bs-pagination-disabled-border-color: #dee2e6;
}

.pagination-custom .page-link {
  color: #04602a;
  background-color: #ffffff;
  border-color: #dee2e6;
  transition: all 0.3s ease;
}

.pagination-custom .page-link:hover {
  color: #ffffff;
  background-color: #04602a;
  border-color: #04602a;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(4, 96, 42, 0.2);
}

.pagination-custom .page-item.active .page-link {
  background-color: #04602a;
  border-color: #04602a;
  color: #ffffff;
  box-shadow: 0 0 0 0.25rem rgba(4, 96, 42, 0.25);
}

.pagination-custom .page-item.disabled .page-link {
  color: #6c757d;
  background-color: #f8f9fa;
  border-color: #dee2e6;
}

.pagination-custom .page-item:first-child .page-link {
  border-top-left-radius: 0.375rem;
  border-bottom-left-radius: 0.375rem;
}

.pagination-custom .page-item:last-child .page-link {
  border-top-right-radius: 0.375rem;
  border-bottom-right-radius: 0.375rem;
}