* {
  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;
  background-color: #222222;
  background-size: contain;
  background-position: center;
  overflow: hidden;
  background-repeat: no-repeat;
}

.flag {
  height: 25px;
  width: 50px;
  object-fit: fill;
}

.visitors {
  width: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.07));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  backdrop-filter: blur(14px);
  color: white;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
}

.visitors-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-layout {
  row-gap: 18px;
}

.footer-panel-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-panel-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08));
  font-size: 16px;
}

.footer-panel-label,
.footer-section-label,
.footer-analytics-label {
  display: inline-block;
  margin: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.74);
}

.footer-panel-subtitle {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.86rem;
  line-height: 1.45;
}

.footer-analytics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.footer-analytics-card {
  background: rgba(7, 20, 43, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 14px;
}

.footer-analytics-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-analytics-badge {
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
}

.footer-country-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0;
  padding: 6px 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.footer-country-count {
  font-weight: 600;
  font-size: 0.86rem;
}

.popular-pages-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.popular-page-item {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.popular-page-item:hover {
  transform: translateY(-1px);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.popular-page-rank,
.popular-page-icon {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.82rem;
}

.popular-page-rank {
  background: linear-gradient(135deg, #ff9f43, #ff6b35);
  color: #fff;
}

.popular-page-icon {
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
}

.popular-page-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.popular-page-title {
  font-weight: 600;
  font-size: 0.92rem;
  color: #fff;
}

.popular-page-path {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.popular-page-count {
  white-space: nowrap;
  font-weight: 700;
  color: #ffd166;
  font-size: 0.78rem;
}

.popular-pages-empty {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.76);
  text-align: center;
  font-size: 0.85rem;
}

.popular-pages-empty i {
  font-size: 1.2rem;
}

.footer-contact {
  padding: 16px 20px 0;
}

.footer-contact-card,
.footer-time-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 16px;
  backdrop-filter: blur(12px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.footer-contact-item {
  display: grid;
  grid-template-columns: minmax(88px, auto) 1fr;
  gap: 10px;
  align-items: start;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-contact-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.footer-contact-key {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-contact-value,
.footer-contact p {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
  font-size: 0.9rem;
}


#effect {
  background-color: rgba(17, 17, 17, 0.58);
  height: 100%;
  padding: 0 0 14px;
}

.footer-bottom {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.84rem;
}

@media (max-width: 768px) {
  footer {
    background-size: cover;
    padding: 20px 10px;
  }

  .visitors {
    margin: 10px 0;
    padding: 10px;
  }

  .footer-analytics-grid {
    grid-template-columns: 1fr;
  }

  .popular-page-item {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .popular-page-count {
    grid-column: 2;
  }

   .footer-contact {
    padding: 0 12px;
  }

  .footer-contact-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .calendar {
    width: 100%;
  }

  .clocks {
    margin-top: 0;
  }
}

/* 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: stretch;
  flex-direction: column;
  padding-top: 16px;
}

#clock {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 8px 0 12px;
  color: #fff;
  text-align: center;
}

.calendar {
  background: rgba(255, 255, 255, 0.96);
  color: #111827;
  padding: 10px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
  text-align: center;
  width: 100%;
  max-width: 250px;
  margin: 0 auto;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin-bottom: 8px;
}

.calendar-header button {
  background: rgba(17, 24, 39, 0.06);
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
}

.days-of-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  font-weight: bold;
  color: #f59e0b;
  font-size: 11px;
}

.days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  font-size: 12px;
}

.day {
  padding: 5px;
  border-radius: 8px;
}

.day.current {
  background: #dbeafe;
  font-weight: bold;
}

.day.inactive {
  color: #c4c4c4;
}


/* 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;
}