/* Boğaziçi Campus Core - CSS */
body{
  font-family: 'Euclid Circular A', sans-serif;
}
.acf-icon-title-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.acf-icon-title-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.acf-icon {
  font-size: 20px;
  color: rgba(255, 255, 255, 1);
  margin-right: 12px;
}
.acf-title {
  font-family: 'Euclid Circular A', sans-serif;
  font-size: 14px;
  line-height: 17px;
  color: rgba(255, 255, 255, 0.6);
}
.neler-var-icon-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.neler-var-icon-column {
  width: 48%;
}
.neler-var-icon-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.neler-var-icon-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.neler-var-icon {
  font-size: 20px;
  color: rgba(255, 255, 255, 1);
  margin-right: 12px;
}
.neler-var-title {
  font-family: 'Euclid Circular A', sans-serif;
  font-size: 14px;
  line-height: 17px;
  color: rgba(255, 255, 255, 1);
}

.egitim-kategori-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 10px;
}

.egitim-kategori-item-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-radius: 16px;
  background-color: rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: #fff;
  transition: background-color 0.3s ease;
  font-family: 'Euclid Circular A', sans-serif;
  font-size: 16px;
  font-weight: 500;
}

.egitim-kategori-item-grid span {
  color: #fff;
}

.egitim-kategori-item-grid:hover {
  background-color: rgba(212, 24, 29, 1);
  color: #fff;
}

.egitim-kategori-item:hover {
  background-color: rgba(212, 24, 29, 1);
  color: #fff;
}

.egitim-kategori-item.active {
  background-color: rgba(212, 24, 29, 1);
  color: #fff;
}

.category-name {
  text-align: left;
}

.category-icon {
  text-align: right;
  font-size: 20px;
}

@media (max-width: 768px) {
  .egitim-kategori-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.egitim-kategori-container {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
  padding: 0 10px;
  overflow-x: hidden;
}

.egitim-kategori-container a {
  color: #fff !important;
}

.egitim-kategori-item {
  width: 100%;
  height: 56px;
  padding: 16px 12px;
  border-radius: 16px;
  background-color: rgba(255, 255, 255, 0.1);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  text-decoration: none;
  color: #fff;
  font-family: 'Euclid Circular A', sans-serif;
  font-size: 16px;
  font-weight: 500;
}

.egitim-kategori-item:hover {
  background-color: rgba(212, 24, 29, 1);
  color: #fff;
}

.egitim-kategori-item.active {
  background-color: rgba(212, 24, 29, 1);
  color: #fff;
}

@media (max-width: 768px) {
  .egitim-kategori-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 12px;
    padding: 10px;	  
  }

  .egitim-kategori-container::-webkit-scrollbar {
    height: 6px;
  }

  .egitim-kategori-container::-webkit-scrollbar-thumb {
    background-color: rgba(212, 24, 29, 1);
    border-radius: 3px;
  }

  .egitim-kategori-container::-webkit-scrollbar-track {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
  }

  .egitim-kategori-item {
    flex: 0 0 calc(100% / 8);
    min-width: 146px;
  }
}

/* Kursiyer Video Popup */

.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 1088px;
  height: 604px;
  transform: translate(-50%, -50%) scale(0.8);
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  overflow: hidden;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.popup.open {
  display: flex;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.popup.close {
  opacity: 0;
  transform: translate(-50%, calc(50% + 20px)) scale(0.8);
}

.open-popup,
.play-button {
  width: 72px;
  height: 72px;
  border-radius: 56px;
  background: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  outline: none;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.3s ease;
  user-select: none;
}

.open-popup:hover,
.play-button:hover {
  background: rgba(255, 255, 255, 0.6);
}

.open-popup svg,
.play-button svg {
  width: 30px;
  height: 30px;
  fill: white;
  display: block;
}

.popup-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.close-popup {
  position: absolute;
  top: 10px;
  right: 20px;
  color: white;
  font-size: 30px;
  cursor: pointer;
  z-index: 10;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.popup-video {
  width: 100%;
  height: 100%;
  display: none;
  border-radius: 24px;
}


@media (max-width: 768px) {
  .popup {
    width: 360px;
    height: 220px;
  }
.open-popup svg,
.play-button svg {
  width: 24px;
  height: 24px;
}
	.open-popup,
	.play-button{
		width: 50px;
		height: 50px;
	}
}
/* 3 lu kart */
.card-stack {
  position: relative;
  width: 100%;
  height: 500px;
}

.card {
  position: absolute;
  width: 296px;
  height: 420px;
  top: var(--top);
  left: var(--left);
  background-size: cover;
  background-position: center;
  border-radius: 24px;
  transform: rotate(var(--rotate));
  transition: transform 0.4s ease, top 0.4s ease, left 0.4s ease, z-index 0.4s ease, opacity 0.4s ease;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  z-index: var(--z-index);
  opacity: 1;
}

.card.active {
  top: 0px;
  left: 0px;
  z-index: 10;
  transform: rotate(0deg) translateY(0);
}

.card .overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card.active .overlay {
  opacity: 1;
}

.card .tag {
  position: absolute;
  top: 14px;
  left: 16px;
  width: 187px;
  height: 34px;
  padding: 8px 12px;
  gap: 10px;
  border-radius: 12px ;
  background-color: rgba(212, 24, 29, 1);
  opacity: 1;
  font-family: 'Euclid Circular A', Arial, sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 17.75px;
  text-align: center;
  color: white;
}

.card b {
  font-family: 'Euclid Circular A', Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 17.75px;
  text-align: center;
}

.card h3 {
  margin: 0;
  font-family: 'Euclid Circular A', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 20.29px;
  text-align: center;
}

.card p {
  font-size: 14px;
  padding-bottom: 34px;
  margin: 0;
  font-family: 'Euclid Circular A', Arial, sans-serif;
  font-size: 40px;
  font-weight: 300;
  line-height: 48.36px;
  text-align: center;
}

.egitim b {
  padding-bottom: 34px;
  margin: 0;
  font-family: 'Euclid Circular A', Arial, sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 48.84px;
  text-align: center;
  color: rgba(212, 24, 29, 1);
}


@media (max-width: 768px) {
  .card-stack{
    align-content: center;
    width: 100%;

  }
  .card {
    width: 70%;
    height: 65%;
    top: calc(var(--top) * 0.7);
    left: calc(var(--left) * 0.7);
  }
  .card .tag {
    font-size: 12px;
    padding: 5px;
    width: 80%;
  }
  .card h3 {
    font-size: 14px;
  }
  .card p, .egitim b {
    font-size: 28px;
    line-height: 36px;
  }
}

/* giris banner */
.banner-container {
    overflow: hidden;
    width: 100%;
    background: black;
}

.banner-track {
    display: flex;
    width: max-content;
    animation: scrollBanner 20s linear infinite;
    will-change: transform;
}

.banner {
    display: flex;
}

.banner-item {
    position: relative;
    display: block;
    text-decoration: none;
}

.banner-image {
    width: calc(100vw / 3.8);
    height: 250px;
    background-size: cover;
    background-position: center;
    margin-right: 12px;
    border-radius: 16px;
}

@media (max-width: 768px) {
    .banner-image {
        width: calc(100vw / 1.5);
        height: 180px;
    }
}

@keyframes scrollBanner {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

